1 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
4 Remove the mark/nomark handling, and activate shift-select-mode instead.
6 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
8 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
10 * calc/calc-units.el (math-logunits-quant): Add support for
11 non-logarithmic units.
13 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
15 * allout.el (allout-after-copy-or-kill-hook): New hook for
16 extension-specific processing of killed text.
17 (allout-mode): Include new allout-after-copy-or-kill-hook among
19 (allout-kill-line) (allout-kill-topic): Ensure that processing
20 after kill happens even if barf-if-buffer-read-only is raised.
21 Include new allout-after-copy-or-kill-hook among that subsequent
23 (allout-deannotate-hidden): Actually remove the annotation text
26 * allout.el (allout-listify-exposed): Copy text sans text properties.
28 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
30 * net/dbus.el (dbus-list-activatable-names): Add optional argument
33 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
35 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
37 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
39 * calc/calc.el (calc-logunits-field-reference) Renamed from
40 `calc-default-field-reference-level'.
41 (calc-logunits-power-reference): Renamed from
42 `calc-default-power-reference-level'
44 * calc/calc-units.el (math-logunits-quant): Renamed from
46 (math-logunits-plus): Renamed from math-logcombine.
47 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
48 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
49 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
51 (calcFunc-fieldquant): Renamed from `calcFunc-fieldlevel'.
52 (calcFunc-powerquant): Renamed from `calcFunc-powerlevel'.
53 (calc-logunits-quantity): Renamed from `calc-level'.
54 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
55 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
56 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
57 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
58 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
61 * calc/calc-help.el (calc-u-prefix-help): Removed "L" reference.
62 (calc-ul-prefix-help): Remove.
63 (calc-l-prefix-help): New function.
64 (calc-full-help): Add reference to `calc-l-prefix-help'.
66 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
68 * calc/README: Mention logarithmic units.
70 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
72 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
73 non-ASCII characters (Bug#7925).
75 2011-02-05 Glenn Morris <rgm@gnu.org>
77 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
79 * calendar/diary-lib.el (diary-font-lock-keywords):
80 Tweak diary-time-regexp match. (Bug#7891)
82 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
83 (f90-mode): Use it for mode's `find-tag-default-function' property.
85 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
87 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
89 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
91 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
94 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
96 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
97 font-lock-syntax-table remappings.
98 (sh-here-doc-markers, sh-here-doc-re): Remove.
99 (sh-font-lock-close-heredoc): Remove.
100 (sh-syntax-propertize-here-doc): New function.
101 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
102 instead of the sh-here-doc-re.
103 (sh-font-lock-paren): Don't do anything in comments or strings.
104 Handle line continuations. Accept a few more chars.
105 Don't rely on the font-lock-syntax-table remappings.
106 `esac' is not a valid pattern.
107 (sh-syntax-propertize-function): Handle here-docs differently, so we
108 don't bother syntax-propertizing the insides.
110 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
111 Handle new bashisms ";&" and ";;&" (bug#7947).
113 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
115 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
116 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
118 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
120 * net/tramp.el (tramp-postfix-method-format)
121 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
122 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
123 (tramp-postfix-user-regexp, tramp-prefix-port-format)
124 (tramp-prefix-port-regexp, tramp-postfix-host-format)
125 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
128 2011-02-04 Sam Steingold <sds@gnu.org>
130 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
132 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
134 * international/mule-util.el (with-coding-priority): Doc fix.
136 2011-02-04 Eli Zaretskii <eliz@gnu.org>
138 * arc-mode.el (archive-mode-map): Fix a typo in last change.
140 2011-02-03 Sam Steingold <sds@gnu.org>
142 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
143 Do not error out when `func' is nil.
145 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
147 * net/tramp-sh.el (tramp-remote-path): Add default settings for
148 `tramp-default-remote-path' to the docstring.
149 (tramp-get-remote-path): Suppress error message when `getconf
152 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
154 2011-02-03 Glenn Morris <rgm@gnu.org>
156 * vc/vc-hg.el (vc-hg-command): Doc fix.
158 * term/w32-win.el (libpng-version): Declare for compiler.
160 * msb.el: No need to load dired while compiling.
162 * emacs-lisp/elint.el (elint-standard-variables):
163 Remove a couple of built-ins that now have doc-strings.
165 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
166 `require' is automatically `eval-and-compile'd.
168 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
169 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
171 * strokes.el (strokes-fill-current-buffer-with-whitespace):
172 Move definition before use.
173 (strokes-report-bug): Make it obsolete.
175 2011-02-02 Sam Steingold <sds@gnu.org>
177 * apropos.el (apropos-print): Now that `apropos-mode' inherits
178 from `special-mode', entering it makes the buffer read-only, so
179 call it only when everything has been already inserted.
180 * emacs-lisp/ert.el (ert--setup-results-buffer)
181 (ert-results-pop-to-backtrace-for-test-at-point)
182 (ert-results-pop-to-messages-for-test-at-point)
183 (ert-results-pop-to-timings): Ditto.
184 * emacs-lisp/package.el (package--list-packages): Ditto.
185 * play/solitaire.el (solitaire): Ditto.
187 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
189 * progmodes/compile.el: Make all faces inherit.
190 (compilation-warning): Inherit from font-lock-variable-name-face.
191 (compilation-info): Inherit from font-lock-type-face.
192 (compilation-line-number): Reassign to font-lock-keyword-face.
193 (compilation-column-number): Reassign to font-lock-doc-face.
194 (compilation-leave-directory-face): Reassign to
195 font-lock-builtin-face.
197 2011-02-02 Eli Zaretskii <eliz@gnu.org>
199 * dired.el (dired-insert-directory): Don't invoke `ls' when
200 ls-lisp.el is used to emulate it.
202 2011-02-01 Julien Danjou <julien@danjou.info>
204 * color.el (color-gradient): Add a color-gradient function.
206 2011-02-01 Sam Steingold <sds@gnu.org>
208 * simple.el (special-mode-map): Bind "h" to `describe-mode';
209 bind "z" to `kill-this-buffer'.
210 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
211 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
212 (apropos-mode): Inherit from `special-mode'.
213 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
214 * bookmark.el (bookmark-bmenu-mode): Define using
215 `define-derived-mode' inheriting from `special-mode'.
216 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
217 * image-mode.el (image-mode-map): Ditto.
218 * replace.el (occur-mode): Define using
219 `define-derived-mode' inheriting from `special-mode'.
220 * tar-mode.el (tar-mode): Inherit from `special-mode'.
221 * calendar/diary-lib.el (diary-fancy-display-mode):
222 Inherit from `special-mode-map'.
223 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
224 Inherit from `special-mode'.
225 * emacs-lisp/package.el (package-menu-mode-map): Copy from
227 (package-menu-mode): Define using `define-derived-mode'
228 inheriting from `special-mode'.
229 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
230 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
231 (xesam-mode-map): Define separately.
232 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
233 * progmodes/compile.el (compilation-minor-mode-map)
234 (compilation-mode-map): Inherit from `special-mode-map'.
235 * vc/diff-mode.el (diff-mode-shared-map):
236 Inherit from `special-mode-map'.
237 * vc/log-view.el (log-view-mode-map): Add a comment.
239 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
241 * custom.el (load-theme): Define return value. Drop use of
242 unsafep; call custom-theme-load-confirm for non-known-safe themes.
243 (custom-theme-load-confirm): Scroll in the correct window.
244 (custom-enabled-themes): Add custom-safe-themes to :set-after.
246 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
247 checkbox if load-theme fails.
249 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
251 * progmodes/compile.el (compilation-next-error): Check there's
252 a message before using it (bug#7941).
254 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
256 * calc/calc-mtx.el (math-lud-pivot-check): New function.
257 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
260 2011-01-31 Alan Mackenzie <acm@muc.de>
262 * progmodes/cc-cmds.el (c-forward-over-illiterals):
263 Continue parsing if we encounter a naked # (Bug#7595).
264 (c-beginning-of-statement): Avoid loop in locating the beginning
267 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
269 * files.el (copy-directory): Fix arguments to recursive call.
271 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
273 * files.el (copy-directory): If destination is an existing
274 directory, copy into a subdirectory there.
276 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
278 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
281 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
283 * image-dired.el (image-dired-mouse-display-image): No-op if no
284 file is found (Bug#7817).
286 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
288 2011-01-31 Kenichi Handa <handa@m17n.org>
290 * international/quail.el (quail-keyboard-layout-alist):
291 Remove superfluous SPC for "pc105-uk" (bug#7927).
293 2011-01-31 Glenn Morris <rgm@gnu.org>
295 * msb.el (msb-menu-bar-update-buffers): Update for changed
296 argument handling of menu-bar-select-frame. (Bug#7902)
298 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
300 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
301 to the recursion depth (Bug#7722).
303 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
305 * term/ns-win.el (ns-find-file): Expand ns-input-file with
306 command-line-default-directory (Bug#7872).
308 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
310 * progmodes/compile.el (compilation--flush-directory-cache):
311 New function, extracted from compilation--remove-properties.
312 (compilation--remove-properties, compilation--parse-region): Use it.
313 (compilation--previous-directory): Handle one more case.
314 (compilation-enable-debug-messages): Remove.
315 (compilation-parse-errors, compilation--flush-parse): Just remove the
316 left over debug messages.
318 2011-01-31 Sam Steingold <sds@gnu.org>
320 * progmodes/compile.el (compilation-enable-debug-messages):
321 Add a variable to make the parsing messages introduced in
322 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
323 (compilation-parse-errors, compilation--flush-parse): Use it.
325 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
327 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
328 (rcirc-nick-completion-format): New defcustom.
329 (rcirc-complete): Use it.
331 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
333 * net/rcirc.el: Clean log filenames (Bug#7933).
334 (rcirc-log-write): Use convert-standard-filename.
335 (rcirc-log-filename-function): Documentation updates.
337 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
339 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
340 Check report-emacs-bug-can-use-osx-open and use that if t.
341 (report-emacs-bug-can-use-osx-open): New function.
342 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
343 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
345 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
347 * vc/vc-dispatcher.el (vc-set-async-update): New function for
348 updating Dired or VC-dir buffers after async command completes.
350 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
351 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
353 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
354 completions if it exists. Use vc-set-async-update.
355 (vc-git-pull): Use vc-set-async-update.
357 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
358 read-shell-command. Use vc-set-async-update.
359 (vc-hg-merge-branch): Use vc-set-async-update.
361 2011-01-29 Daiki Ueno <ueno@unixuser.org>
363 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
364 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
367 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
369 * progmodes/compile.el: Avoid an N² behavior in grep.
370 (compilation--previous-directory): New fun.
371 (compilation--previous-directory-cache): New var.
372 (compilation--remove-properties): Flush it.
373 (compilation-directory-properties, compilation-error-properties):
374 Use the new fun to speed up looking for the current directory.
376 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
378 * vc/vc-hg.el (vc-hg-history): New var.
379 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
380 (vc-hg-merge-branch): New function.
382 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
383 the other way around.
385 * vc/vc-git.el (vc-git-branches, vc-git-pull)
386 (vc-git-merge-branch): New functions.
387 (vc-git-history): New var.
389 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
391 * vc/vc-dispatcher.el (vc-do-async-command): New function.
393 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
396 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
399 2011-01-28 Leo <sdl.web@gmail.com>
401 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
402 highlighting to the "this function is advised" message.
404 * help-mode.el (help-mode-finish): Apply highlighting here, to
405 avoid clobbering by substitute-command-keys (Bug#6304).
407 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
409 * woman.el (woman0-roff-buffer): Process roff escape sequences
410 occurring prior to the first request (Bug#7843).
412 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
414 * progmodes/compile.el: Don't use font-lock any more.
415 (compilation-error-regexp-alist-alist): Change handling of makepp
416 so it preserves the warning/error distinction on subsequent files.
417 Simplify various rules.
418 (compilation-directory-properties): Use font-lock-face.
419 Add a compilation-message property.
420 (compilation-internal-error-properties): Use font-lock-face.
421 Don't set the compilation-debug property here.
422 (compilation--put-prop, compilation--remove-properties)
423 (compilation--parse-region, compilation--ensure-parse)
424 (compilation--ensure-parse): New functions.
425 (compilation-parse-errors): New function, largely inspired of
426 compilation-mode-font-lock-keywords. Set compilation-debug here.
427 (compilation--parsed): New var.
428 (compilation--flush-parse): Use compilation--ensure-parse.
429 (compilation-start): Don't call font-lock.
430 (compilation-turn-on-font-lock): Remove.
431 (compilation-setup): Don't set font-lock-extra-managed-props not change
432 other font-lock settings, other than keywords.
433 Don't activate font-lock-mode.
434 Set change-major-mode-hook and before-change-functions.
435 (compilation--unsetup): Remove properties and hooks.
436 (compilation-next-single-property-change): New function.
437 (compilation-next-error): Use it to parse when needed.
438 (compile-goto-error): Parse buffer as needed.
439 (compilation--compat-error-properties): Don't need a dummy `face'
442 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
444 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
445 (compilation-process-setup-function): Fix docstring's false promises.
446 (compilation-error-regexp-alist-alist): Catch omake's continuous
447 recompilation message and avoid reuse of old markers.
448 (compilation-parse-errors-function): Declare obsolete.
449 (compilation-buffer-modtime): Remove.
450 (compilation--make-cdrloc, compilation--loc->col)
451 (compilation--loc->line, compilation--loc->file-struct)
452 (compilation--loc->marker, compilation--loc->visited)
453 (compilation--make-file-struct, compilation--file-struct->file-spec)
454 (compilation--file-struct->formats)
455 (compilation--file-struct->loc-tree): New macros. Use them.
456 (compilation--message): New defstruct. Use them.
457 (compilation-next-error-function): Don't mess with timestamps to try
458 and guess when to reparse.
460 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
462 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
463 (tex-old-error-file-name): New function,
464 extracted from tex-compilation-parse-errors.
465 (tex-compilation-parse-errors): Remove.
466 (tex-error-regexp-alist): New var.
467 (tex-shell): Use it to avoid compilation-parse-errors-function.
469 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
470 (grep-mode-font-lock-keywords): Remove regexp that seems like
471 a left-over from before we used compile.el.
472 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
473 modifying the buffer within with-silent-modifications.
475 * progmodes/compile.el: Cleanup text-properties namespace by using
476 `compilation-message' instead of `message', `compilation-directory'
477 instead of `directory', and `compilation-debug' instead of `debug'.
478 (compilation-last-buffer, compilation-parsing-end)
479 (compilation-error-list, compilation-old-error-list): Move to the
480 compatibility part of the code.
481 (compilation-error-properties): If `file' is a function, let it return
483 (compilation-mode-font-lock-keywords): Be more conservative with the
484 omake "^ *" pattern prefix, to try and minimize the risk of
485 pathologically slow regexp matching.
486 (compilation-start): Use inhibit-read-only.
487 (compilation--unsetup): New function.
488 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
489 (compilation-filter): Minor tweaks.
490 (compilation-next-error-function): Try and avoid abusing variables.
491 (compilation--flush-file-structure): New fun.
492 (compilation-fake-loc): Use it to improve behavior when file is reused.
493 (debug-ignored-errors): Add "Moved past last ...".
494 (compilation--compat-error-properties)
495 (compilation--compat-parse-errors): Rename by doubling the "-".
497 Port features from the previous prolog.el to the new one.
498 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
499 (prolog-program-name, prolog-program-switches, prolog-consult-string)
500 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
501 variable and use a function to compute the value dynamically.
502 (prolog-prompt-regexp): Add regexp for GNU Prolog.
503 (prolog-continued-prompt-regexp): Remove, unused.
504 (prolog-find-value-by-system): Try and use the value of prolog-system
505 in the *prolog* buffer if it helps.
506 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
507 (prolog-zip-on): ..and check prolog-system and version here instead.
508 (prolog-inferior-self-insert-command): New command.
509 (prolog-inferior-mode-map): Use it.
510 (prolog-inferior-error-regexp-alist): New var.
511 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
512 (prolog-input-filter): Use derived-mode-p.
513 (prolog-inferior-guess-flavor): New function.
514 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
515 make-comint to avoid running comint-mode twice.
516 (prolog-inferior-buffer): New fun.
517 (prolog-old-process-region, prolog-old-process-file):
518 Don't call prolog-bsts here...
519 (prolog-build-prolog-command): ...do it here instead.
520 (prolog-old-process-region, prolog-old-process-file):
521 Use compilation-fake-loc and compilation-forget-errors.
522 (prolog-consult-compile-region): Use bolp.
524 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
526 * image-mode.el (image-display-size): Doc fix (Bug#7820).
528 2011-01-27 Sam Steingold <sds@gnu.org>
530 * midnight.el (clean-buffer-list-kill-never-buffer-names):
531 Remove "*server*" which is never created by emacs server.
533 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
535 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
536 there are some diff switches.
538 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
540 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
541 Copy change made to ruby-font-lock-syntactic-keywords.
543 * htmlfontify.el: Make it obey the font-lock-face text property.
544 Miscellaneous cleanup such as:
545 - Don't hide expressions after a closing paren.
546 - Move initial setq into let.
547 - Hoist common parts out of ifs.
548 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
549 (hfy-face-at): Use get-text-property instead.
550 (hfy-prop-invisible-p): Use invisible-p if available.
551 (htmlfontify-manual): Use \\[...].
552 (hfy-html-quote-regex): Use [...].
553 (hfy-combined-face-spec): Simplify.
554 (hfy-compile-face-map): Don't presume point-min==1.
555 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
557 (hfy-text-p): η-reduce.
558 (hfy-tags-for-file): Receive cache-hash directly.
559 (hfy-mark-tag-names): Adjust call.
561 2011-01-27 Glenn Morris <rgm@gnu.org>
563 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
564 (msb-after-load-hook): Remove eval-after-load wackiness.
566 2011-01-25 Sam Steingold <sds@gnu.org>
568 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
569 literal "diff" (important for windows-nt).
571 2011-01-25 Glenn Morris <rgm@gnu.org>
573 * emacs-lisp/copyright.el (copyright-at-end-flag)
574 (copyright-names-regexp): Add safety properties.
575 (copyright-year-ranges): New option.
576 (copyright-find-end): New function, split from copyright-update-year.
577 (copyright-update-year): Use copyright-find-end.
578 (copyright-fix-years): Optionally, convert years to ranges.
579 Handle years continued over comment lines.
580 Do not mess with the fill-prefix.
581 Do not call copyright-update.
582 (copyright-update-directory): Optionally, fix years rather than update.
583 Skip directories. Find files with only safe local vars.
585 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
587 * files.el (file-name-non-special): Only change buffer-file-name after
588 insert-file-contents if it's `visit'ing the file (bug#7854).
590 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
592 * dired.el (dired-revert): Doc fix (Bug#7758).
594 * simple.el (line-move-visual): Doc fix (Bug#7594).
596 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
598 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
599 here-doc which ends with an underscore.
600 (ruby-mode-set-encoding): Skip shebang line always.
601 (ruby-mode-map): Bind C-c C-c to comment-region.
602 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
603 (ruby-forward-sexp): Stop after literal hash key labels.
604 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
607 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
609 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
610 the correct buffer (Bug#7650).
612 2011-01-25 Glenn Morris <rgm@gnu.org>
614 * comint.el (comint-mode): Doc fix. (Bug#7897)
616 * simple.el (do-auto-fill): Give it a doc string.
618 * button.el (make-text-button): Doc fix. (See bug#7881)
620 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
622 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
623 Don't move backward, so as not to fall in an inf-loop (bug#7736).
625 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
626 Handle ?" and friends differently (e.g. don't use backrefs).
628 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
630 * calc/calc.el (calc-default-power-reference-level)
631 (calc-default-field-reference-level): New variables.
632 * calc/calc-units.el (math-standard-units): Add dB and Np.
633 (math-logunits): New variable.
634 (math-extract-logunits, math-logcombine, calcFunc-luplus)
635 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
636 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
638 (math-find-base-units-rec): Add entry for ln(10).
639 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
640 (calc-ul-prefix-help): New function.
641 * calc/calc-ext.el (calc-init-extensions): Autoload new units
642 functions. Add keybindings for new units functions.
644 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
646 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
647 rcirc buffers. (Bug#4940)
649 2011-01-22 Glenn Morris <rgm@gnu.org>
651 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
652 split out from copyright-update-year.
653 (copyright-update): Don't mess with the GPL version if we don't own the
654 copyright. Update license regexp, and remove no longer needed
656 (copyright-fix-years): Use copyright-find-copyright.
658 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
660 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
662 2011-01-22 Jari Aalto <jari.aalto@cante.net>
664 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
665 (lm): Rename to landmark.
666 (lm-test-run): Rename to landmark-test-run.
668 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
670 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
671 "Case sensitive" menu item.
673 2011-01-22 Roland McGrath <roland@frob.com>
675 * comint.el (comint-replace-by-expanded-history-before-point): Fix
676 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
678 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
680 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
682 2011-01-22 Jari Aalto <jari.aalto@cante.net>
684 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
685 Assume foo(bar) is a manpage reference rather than some unquoted
688 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
690 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
691 Suggested by Flo <sensorflo@gmail.com>.
693 2011-01-22 Glenn Morris <rgm@gnu.org>
695 * progmodes/compile.el (compilation-error-regexp-alist):
696 Fix custom type. (Bug#7812)
698 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
700 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
701 allout-number-siblings, in keeping with what obtained due to
702 (now-defunct) allout-keybindings-list. Ditch repeat binding to
704 (allout-before-change-handler): Better expose spots affected by
707 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
709 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
711 2011-01-22 Phil Hagelberg <phil@evri.com>
713 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
714 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
715 (pcmpl-ssh-config-hosts): New function.
716 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
717 pcmpl-ssh-known-hosts.
719 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
721 * calc/calc-undo.el (calc-undo): Autoload it.
722 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
723 and autoload for `calc-undo'.
724 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
726 * calc/calc-graph.el:
727 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
729 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
731 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
732 keybindings to `calc-undo'.
734 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
736 Don't mess with *temp*.
737 * obsolete/spell.el: Move from textmodes/spell.el.
739 * term.el (term-read-input-ring):
740 * startup.el (display-startup-echo-area-message):
741 * progmodes/antlr-mode.el (antlr-directory-dependencies):
742 * comint.el (comint-read-input-ring): Use with-temp-buffer.
743 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
746 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
748 * allout.el: (allout-institute-keymap): Use fset instead of
751 (allout-hotspot-key-handler): Check for non-control-modified
752 bindings for hotspot characters if there are no control-modified
755 * allout.el: Summary - migrate to defining allout mode using
756 define-minor-mode instead of defun. Significantly clean-up
757 internal keymap provisions, refactoring and, in the process,
758 removing a lot of accumulated cruft.
760 allout-mode-map is now a keymap by virtue of being a defalias to
761 allout-mode-map-value, which contains the actual keymap structure.
763 (allout-mode): Use define-minor-mode rather than defun.
764 Remove now-unnecessary minor-mode setup activities from the body.
765 Specify :keymap as allout-mode-map so the minor-mode-map-alist
766 entry will be '(allout-mode . allout-mode-map) - see
767 allout-mode-map-value, below. Adjust docstring to track changes.
768 (allout-minor-mode): Remove this defalias, now that we're using
770 (allout-mode-map): Set value to be 'allout-mode-map. The actual
771 keymap is allout-mode-map-value, via defalias.
772 (allout-mode-map-value): The variable holding the actual mode
773 keymap structure, by virtue of defalias from allout-mode-map.
774 (allout-compose-and-institute-keymap): Rename from
775 allout-bind-keys, and including the binding-composition
776 functionality of the former produce-allout-mode-map and
777 allout-setup-mode-map.
778 (allout-institute-keymap): Take over the "setup" part of the former
779 allout-setup-mode-map. Reassign allout-mode-map-value value and
781 (allout-command-prefix) (allout-prefixed-keybindings)
782 (allout-unprefixed-keybindings):
783 Use allout-compose-and-institute-keymap to process the bindings.
784 (allout-unprefixed-keybindings): Remove extraneous '?' question
786 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
787 user can customize if they want to use that binding.
788 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
789 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
790 elided that, previously, instead of the one for \C-h.)
791 (allout-hotspot-key-handler): Remove attempt to resolve the key
792 through the literal key-string lookup on allout-keybindings-list.
793 That probably hasn't worked for a Long Time, and removal of
794 allout-keybindings-list further simplifies the keybindings
796 (allout-pre-command-business): Use allout-mode-map-value instead
798 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
799 the bindings if they want to use a keybinding having a trailing
800 \C-h. No deprecation needed since this feature was never in a
802 (allout-keybindings-list): Remove. It's not been useful for a
803 while. (See allout-hotspot-key-handler changes, above.)
804 (produce-allout-mode-map): Remove. Consolidate into
805 allout-compose-and-institute-keymap.
806 (allout-mode-map-adjustments): Remove. No longer necessary with
807 removal of allout-preempt-trailing-ctrl-h.
808 (allout-setup-mode-map): Remove. Consolidate into
809 allout-compose-and-institute-keymap and allout-institute-keymap.
811 2011-01-20 Glenn Morris <rgm@gnu.org>
813 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
815 * simple.el (read-expression-history): Remove, it's in minibuf.c.
817 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
819 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
821 * files.el (find-alternate-file, basic-save-buffer)
822 (basic-save-buffer-2, revert-buffer, recover-file)
823 (kill-buffer-ask, abort-if-file-too-large)
824 (set-visited-file-name, write-file, backup-buffer)
825 (basic-save-buffer, save-some-buffers):
826 * dired-aux.el (dired-compress-file): Callers changed.
828 2011-01-19 Glenn Morris <rgm@gnu.org>
830 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
831 Also check the property status. (Bug#7861)
833 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
835 * net/tramp.el (tramp-debug-message): Extend function exclude
836 list. Use `regexp-opt'.
838 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
840 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
841 highlighting doesn't spill over subsequent lines.
843 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
844 keymap expression. Improve docstring.
846 * electric.el (electric-indent-post-self-insert-function):
847 Don't auto-indent for indent-to-left-margin, it's too often
850 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
852 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
853 spaces if the frame was resized, so that the full visible buffer
854 serves as canvas for strokes.
856 2011-01-16 Glenn Morris <rgm@gnu.org>
858 * info-xref.el (info-xref-docstrings): Replace cl function.
859 Also skip directories.
861 2011-01-16 Kevin Ryde <user42@zip.com.au>
863 * info-xref.el: Version 3.
864 (info-xref-check, info-xref-check-all): Move commentary details
865 into docstrings for better visibility.
866 Use compilation-mode for the results buffer.
867 (info-xref-output, info-xref-output-error, info-xref-with-output)
868 (info-xref-filename, info-xref-in-progress):
869 New internals for this.
870 (info-xref-check-list, info-xref-check-buffer)
871 (info-xref-check-all-custom): Use those.
872 (info-xref-output-buffer): Rename from info-xref-results-buffer.
873 (info-xref-output-heading): Rename from info-xref-filename-heading.
874 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
875 (info-xref-filename-heading): Move to output managing section.
876 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
877 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
878 (info-xref-subfile-p): Move to generic section with those two.
879 (info-xref-check-node): New function split from
880 info-xref-check-buffer, shared by info-xref-docstrings.
881 (info-xref-goto-node-p): Move to a checking section with that func.
882 (info-xref-unavail): New counter.
883 (info-xref-check-node): Use it.
884 (info-xref-with-output): Show count of unavailables at end of output.
885 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
886 symlinks. Exclude .texi files. Exclude Emacs backup files.
887 (info-xref-check-all-custom): Fix quietening viper-mode and
888 gnus-registry-install -- use setq not let so as not to unbind
891 2011-01-16 Juri Linkov <juri@jurta.org>
893 * isearch.el (isearch-abort): Don't quit if search has
894 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
896 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
898 * files.el (backup-buffer): Make last-resort backup file in
901 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
902 make it with permission 700.
904 2011-01-15 Kenichi Handa <handa@m17n.org>
906 * mail/rmailmm.el (rmail-mime-insert-header):
907 Set rmail-mime-coding-system to a cons whose car is the last coding
908 system used to decode the header.
909 (rmail-mime-find-header-encoding): New function.
910 (rmail-mime-insert-decoded-text):
911 Override rmail-mime-coding-system if it is a cons.
912 (rmail-show-mime): If only a header part was decoded, find the
913 coding system while ignoring mm-charset-override-alist.
915 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
917 * subr.el (event-start, event-end): Doc fix (Bug#7826).
919 2011-01-15 Kenichi Handa <handa@m17n.org>
921 * mail/rmailmm.el (rmail-mime-next-item)
922 (rmail-mime-previous-item): Delete them.
923 (rmail-mime-shown-mode): Recursively call for children.
924 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
926 (rmail-mime-raw-mode): Recursively call for children.
927 (rmail-mode-map): Change mapping of tab and backtab to
928 forward-button and backward-button respectively.
929 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
931 (rmail-mime-update-tagline): New function.
932 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
933 body display is changed.
934 (rmail-mime-toggle-button): Rename from rmail-mime-image.
935 (rmail-mime-image): Delete this button type.
936 (rmail-mime-toggle): New button type.
937 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
938 body display is changed. Change the save button label to "Save".
939 Don't process show/hide button here.
940 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
941 the body display is changed. Unconditionally call
942 rmail-mime-insert for children.
943 (rmail-mime-handle): Update `display' vector of the just inserted
945 (rmail-mime-process): If mail-header-parse-content-type returns
946 nil, use "text/plain" as the fallback type.
947 (rmail-mime-insert): For raw-mode, recursively call
948 rmail-mim-insert for children.
949 (rmail-mime): Handle the case that the current buffer is not rmail
950 buffer (e.g. in summary buffer).
952 2011-01-15 Kenichi Handa <handa@m17n.org>
954 * mail/rmailmm.el (rmail-mime-next-item)
955 (rmail-mime-previous-item): Skip the body of a non-multipart
956 entity if a tagline is shown.
958 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
960 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
961 (tmm-prompt): Simplify.
962 (tmm-add-prompt): Remove unused var `win'.
964 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
965 to minor mode which used nil accidentally to mean "turn off".
967 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
969 * net/tramp-sh.el (tramp-find-inline-compress)
970 (tramp-get-inline-coding): Quote command after pipe symbol for
971 local calls under W32. (Bug#6784)
973 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
975 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
976 only when running under W32.
978 2011-01-15 Eli Zaretskii <eliz@gnu.org>
980 * progmodes/grep.el (grep-compute-defaults): Quote the program
981 file name after the pipe symbol in Grep templates. (Bug#6784)
982 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
984 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
986 * buff-menu.el (Buffer-menu-buffer-list): New var.
987 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
988 restricted buffer list is not lost on revert (Bug#7749).
990 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
992 * net/ldap.el (ldap-search-internal): Discard stderr output.
994 2011-01-15 Eli Zaretskii <eliz@gnu.org>
996 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
998 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1000 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1002 2011-01-15 Kenichi Handa <handa@m17n.org>
1004 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1005 part as a plain text.
1006 (rmail-mime-process-multipart): Set the default content-type to
1007 nil for unknown multipart subtypes (bug#7651).
1009 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1011 * hexl.el (hexl-mode-old-*): Remove.
1012 (hexl-mode--old-var-vals): New var to replace them.
1013 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1014 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1015 Use them to set local vars (bug#7846).
1016 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1017 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1018 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1020 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1021 (smerge-resolve--normalize-re): New var.
1022 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1023 (smerge-resolve): Use them.
1024 * newcomment.el (comment-only-p): New function.
1025 (comment-or-uncomment-region): Use it.
1027 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1029 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1030 table, get the value before switching to the output buffer. (Bug#7733)
1032 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1034 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1036 2011-01-14 Kim F. Storm <storm@cua.dk>
1038 * emulation/cua-base.el (cua--init-keymaps):
1039 Remap exchange-point-and-mark in cua-global-keymap.
1041 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1043 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1046 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1048 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1050 (easy-menu-create-menu, easy-menu-convert-item-1):
1051 Use :label rather than nil for labels. Use `case'.
1052 Add :enable as alias for :active.
1053 (easy-menu-binding): Obey :label.
1055 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1057 Use run-mode-hooks for major mode hooks (bug#513).
1058 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1059 Rename from reftex-toc-map.
1060 (reftex-toc-mode): Use define-derived-mode.
1061 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1062 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1063 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1064 (reftex-select-label-mode, reftex-select-bib-mode):
1065 Use define-derived-mode.
1066 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1067 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1068 Move init into delcaration.
1069 (reftex-index-mode, reftex-index-phrases-mode):
1070 Use define-derived-mode.
1071 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1072 speedbar-syntax-table. Move init into declaration.
1073 (speedbar-mode-map): Rename from speedbar-key-map.
1074 Move init into declaration.
1075 (speedbar-file-key-map): Move init into declaration.
1076 (speedbar-mode): Use define-derived-mode.
1077 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1078 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1079 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1080 (chart-face-list): Move initialization into declaration.
1081 (chart-mode): Use define-derived-mode.
1082 * calculator.el (calculator-mode-map): Move init into declaration.
1083 (calculator-mode): Use define-derived-mode.
1085 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1086 work for nested comments.
1088 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1089 (prolog-use-prolog-tokenizer-flag): Change default when
1090 syntax-propertize can be used.
1091 (prolog-syntax-propertize-function): New var.
1092 (prolog-mode-variables): Move make-local-variable into `set'.
1093 Don't make comment-column local since we don't set it.
1094 Set comment-add (as it was in previous prolog.el). Use dolist.
1095 Set syntax-propertize-function.
1096 (prolog-mode, prolog-inferior-mode):
1097 Call prolog(-inferior)-menu directly, not through the mode-hook.
1098 (prolog-buffer-module, prolog-indent-level)
1099 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1100 (prolog-comment-limits, prolog-goto-comment-column):
1101 Use line-(end|beginning)-position.
1102 (prolog-build-prolog-command): Tighten up regexp.
1103 (prolog-consult-compile): Move make-local-variable into `set'.
1104 (prolog-consult-compile-filter, prolog-goto-next-paren)
1105 (prolog-help-on-predicate, prolog-clause-info)
1106 (prolog-mark-predicate): Don't let+setq.
1107 (prolog-indent-line): Use indent-line-to.
1108 Only call prolog-goto-comment-column if necessary.
1109 (prolog-indent-level): Use bobp.
1110 (prolog-first-pos-on-line): Remove, not used any more.
1111 (prolog-in-string-or-comment): Use syntax-ppss if available.
1112 (prolog-help-on-predicate): Use read-string.
1113 (prolog-goto-predicate-info): Simplify.
1114 (prolog-read-predicate): Use `default' rather than `initial'.
1115 (prolog-temporary-file): Use make-temp-file to close a security hole.
1116 (prolog-toggle-sicstus-sd): New command.
1117 (prolog-electric-underscore, prolog-variables-to-anonymous):
1118 Use dynamic-scoping as it was meant.
1119 (prolog-menu): Move menu definitions to top-level.
1120 Use a toggle-button for Sicstus's source debugger.
1121 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1123 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1124 Move other menu definition to top-level.
1126 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1128 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1129 name. Keep original document's directory as default-directory
1131 (doc-view-initiate-display): Fall back to normal mode when
1132 doc-view-mode cannot be enabled, also when extracting the document
1133 text into a separate buffer (bug#6446).
1135 * simple.el (shell-command): Don't error out if shell command
1136 buffer contains text with non-nil read-only property when erasing
1139 2011-01-13 Kim F. Storm <storm@cua.dk>
1141 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1142 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1143 items when cycling through the matches.
1145 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1147 * dired-x.el (dired-omit-verbose): New defcustom that allows
1148 disabling the omit messages.
1149 (dired-omit-expunge): Use it.
1151 2011-01-13 Christian Ohler <ohler@gnu.org>
1153 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1155 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1157 * font-lock.el (font-lock-verbose): Default to nil.
1159 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1161 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1162 (compose-mail): New arg RETURN-ACTION.
1163 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1165 * mail/sendmail.el (mail-return-action): New var.
1166 (mail-mode): Make it buffer-local.
1167 (mail-bury): Obey it. Move special Rmail window handling to
1169 (mail, mail-setup): New arg RETURN-ACTION.
1170 (sendmail-user-agent-compose): Move from simple.el.
1172 * mail/rmail.el (rmail-mail-return): New function.
1173 (rmail-start-mail): Pass it to compose-mail.
1175 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1177 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1178 menus. Add menu item for customize-themes.
1180 * cus-theme.el (customize-themes):
1181 * emacs-lisp/package.el (package--list-packages):
1182 Use switch-to-buffer.
1184 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1186 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1188 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1190 * progmodes/prolog.el: Fix up coding convention and such.
1191 (prolog-indent-width): Use the same default as in
1192 previous prolog.el rather than tab-width which depends on which buffer
1193 is current when the file is loaded.
1194 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1196 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1197 (prolog-known-systems): Remove.
1198 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1199 Move initialization into declaration.
1200 (prolog-mode-map): Move initialization into declaration.
1201 Remove system-specific mode-map vars, since they referred to the same
1203 (prolog-mode-variables): Obey the user's preference w.r.t
1204 adaptive-fill-mode. Prefer symbol-value to `eval'.
1205 (prolog-mode-keybindings-edit): Add compatibility bindings.
1206 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1207 (mercury-mode-map): New var.
1208 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1209 (prolog-ensure-process, prolog-process-insert-string)
1210 (prolog-consult-compile): Use with-current-buffer.
1211 (prolog-guess-fill-prefix): Simplify data flow.
1212 (prolog-replace-in-string): New function to use instead of
1214 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1215 (prolog-uncomment-region): Use `uncomment-region' when available.
1216 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1217 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1218 of int-to-char and char-to-int.
1219 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1221 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1223 * progmodes/prolog.el: Replace by a whole new file.
1225 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1227 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1228 (declare-function, undefined, insert-for-yank)
1229 (replace-regexp-in-string): Follow checkdoc's recommendations.
1231 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1233 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1234 refreshing the diary buffer.
1236 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1238 * allout.el: Add 2011 to the file copyright.
1239 (allout-encrypt-string): Prevent encryption from adding an extra
1240 newline at the end of the topic body.
1241 (allout-version): Increment to 2.3.
1243 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1245 * net/dbus.el (dbus-unregister-service): Complete doc.
1246 Fix call of dbus-error signal.
1247 (dbus-register-property): Use `dont-register' keyword.
1249 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1251 * net/dbus.el (dbus-unregister-service): Translate returned
1252 integer into a symbol.
1253 (dbus-register-property): Use `dbus-register-service' to do the
1256 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1258 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1259 Suggested by Joakim Verona.
1261 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1263 * wid-edit.el (visibility): Replace :on-image and :off-image
1264 widget properties with :on-glyph and :off-glyph, for consistency
1265 with the `visibility' widget.
1266 (widget-toggle-value-create, widget-visibility-value-create):
1267 Merge into a single function `widget-toggle-value-create'.
1269 * cus-edit.el (custom-variable-value-create, custom-visibility)
1270 (custom-face-edit-value-create, custom-face-value-create):
1271 Replace :on-image and :off-image widget properties with :on-glyph and
1272 :off-glyph, for consistency with the `visibility' widget.
1274 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1276 * net/ldap.el (ldap-search-internal): Don't use eval.
1278 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1280 * subr.el (read-char-choice): Use read-key.
1282 * custom.el (custom-safe-themes): Rename from
1283 custom-safe-theme-files. Add :risky tag.
1284 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1285 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1287 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1289 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1290 from Search and add a label to Undo.
1292 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1293 inappropriate buttons and adding :vert-only tags.
1295 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1296 removal of Help tool-bar button. Remove Undo button for space.
1298 * info.el (info-tool-bar-map): Add :vert-only tags.
1300 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1302 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1303 image backend support. Either of them is fine.
1305 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1307 * subr.el (y-or-n-p): Doc fix.
1309 * custom.el (custom-safe-theme-files): New defcustom.
1310 (custom-theme-load-confirm): New function.
1311 (load-theme): Load theme using `load', confirming with
1312 custom-theme-load-confirm if necessary.
1314 * subr.el (read-char-choice): New function, factored out from
1315 dired-query and hack-local-variables-confirm.
1317 * dired-aux.el (dired-query):
1318 * files.el (hack-local-variables-confirm): Use it.
1320 * dired-aux.el (dired-compress-file):
1321 * files.el (abort-if-file-too-large, find-alternate-file)
1322 (set-visited-file-name, write-file, backup-buffer)
1323 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1324 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1325 Use new format string args for y-or-n-p and yes-or-no-p.
1327 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1329 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1330 [gcc-include]: Tighten file name match, add match for column
1332 [gnu]: Remove unused group.
1334 2011-01-08 Glenn Morris <rgm@gnu.org>
1336 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1338 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1340 2011-01-07 Sam Steingold <sds@gnu.org>
1342 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1343 the `explicit-shell-file-name' because that is the
1344 non-interactive shell.
1346 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1348 * subr.el (y-or-n-p): Accept format string args.
1350 2011-01-07 Glenn Morris <rgm@gnu.org>
1352 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1354 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1356 * allout.el (allout-back-to-current-heading): Ensure return to
1357 the visible containing topic, rather than a collapsed one.
1358 (allout-view-change-hook): Remove hook that was deprecated long ago.
1359 (allout-exposure-change-hook): Remove documentation remarks
1360 concerning removed allout-view-change-hook.
1361 (allout-flag-region): Remove invocation of and documentation
1362 remarks concerning allout-view-change-hook.
1364 2011-01-06 Glenn Morris <rgm@gnu.org>
1366 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1367 (vc-bzr-annotate-extract-revision-at-line):
1368 Handle authors with embedded spaces. (Bug#7792)
1370 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1372 * doc-view.el (doc-view-image-width): New variable.
1373 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1374 backend for PNG images, and do dynamic rescaling instead of
1375 reconverting the whole doc.
1377 2011-01-05 Glenn Morris <rgm@gnu.org>
1379 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1381 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1383 * allout.el: Reconcile with changes in line movement behavior for
1384 long text lines that cross more than a single physical window
1385 line, ie when truncate-lines is nil.
1386 (allout-next-visible-heading): Provide for change in line-move
1387 behavior on long lines when truncate-lines is nil. In that case,
1388 line-move can wind up on the same textual line when it moves to
1389 the next window line, and moving to the bullet position after the
1390 move yields zero advancement. Add logic to detect and compensate
1391 for the lack of progress.
1392 (allout-current-topic-collapsed-p): move-end-of-line respect for
1393 field boundaries is different when operating with body lines
1394 shorter than window width versus ones greater than window width,
1395 which can yield false negatives in this function. Avoid
1396 difference by applying move-end-of-line while field-text-motion is
1399 2011-01-04 Glenn Morris <rgm@gnu.org>
1401 * textmodes/rst.el (rst-compile-toolsets):
1402 Add pdf and s5 to option alist.
1404 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1406 * net/dbus.el (dbus-register-property): Add optional parameter
1407 dont-register-service. Updated docstring accordingly.
1409 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1411 * textmodes/rst.el (rst-compile-pdf-preview)
1412 (rst-compile-slides-preview): Remove extra line.
1414 2011-01-04 Glenn Morris <rgm@gnu.org>
1416 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1417 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1418 default to `prog' without a .py extension.
1419 (rst-compile-pdf-preview, rst-compile-slides-preview):
1420 Use program names from rst-compile-toolsets, rather than hard-coding.
1421 (rst-portable-mark-active-p): Fix presumed typo.
1423 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1425 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1426 libpng versions both before and after 1.4.0. (Bug#7716)
1428 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1430 * time.el (display-time-mode): Mention display-time-interval in
1431 the doc string. (Bug#7713)
1433 2011-01-02 Kenichi Handa <handa@m17n.org>
1435 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1436 condition-case and return an error message string if something
1438 (rmail-show-mime): Adjust for the above change. Insert the
1439 header by rmail-mime-insert-header.
1441 2011-01-02 Kenichi Handa <handa@m17n.org>
1443 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1444 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1445 (rmail-mime-mbox-buffer)
1446 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1447 (rmail-mime-entity): Argument changed. All codes handling an
1448 entity object are changed.
1449 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1451 (rmail-mime-entity-children, rmail-mime-entity-handler)
1452 (rmail-mime-entity-tagline): New functions.
1453 (rmail-mime-message-p): New function.
1454 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1455 (rmail-mime-entity-segment, rmail-mime-next-item)
1456 (rmail-mime-previous-item, rmail-mime-shown-mode)
1457 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1458 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1459 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1461 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1462 (rmail-mime-insert-decoded-text): New function.
1463 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1464 (rmail-mime-insert-image): Argument changed. Caller changed.
1465 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1466 (rmail-mime-set-bulk-data): New funciton.
1467 (rmail-mime-insert-bulk): Argument changed.
1468 (rmail-mime-multipart-handler): Return t.
1469 (rmail-mime-process-multipart): Argument changed.
1470 Handle "multipart/alternative" here.
1471 (rmail-mime-process): Argument changed.
1472 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1473 (rmail-mime-insert): Argument changed. Handle raw display mode.
1474 (rmail-mime): Argument changed. Handle toggling of raw display
1476 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1477 rmail-mime-view-buffer.
1478 (rmail-insert-mime-forwarded-message): Likewise.
1479 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1481 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1482 non-nil, handle the header in rmail-show-mime-function.
1484 2011-01-02 Leo <sdl.web@gmail.com>
1486 * help-fns.el (describe-variable): Fix previous change.
1488 2011-01-02 Juri Linkov <juri@jurta.org>
1490 * isearch.el (isearch-lazy-highlight-error): New variable.
1491 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1492 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1493 to the current value of `isearch-error' (Bug#7468).
1495 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1497 * help-fns.el (describe-variable): Don't emit trailing whitespace
1500 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1502 * textmodes/rst.el (rst-compile-pdf-preview)
1503 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1505 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1507 * emulation/edt-mapper.el: Override mapping of function keys so
1508 that the later call to read-key-sequence works.
1510 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1512 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1513 Unix EOLs. (Bug#7589)
1515 2011-01-02 Leo <sdl.web@gmail.com>
1517 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1518 if point is not behind eshell-last-output-end (Bug#7585).
1520 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1522 * files.el (file-local-variables-alist):
1523 Make permanent-local (bug#7767).
1525 2011-01-02 Glenn Morris <rgm@gnu.org>
1527 * version.el (emacs-copyright): Set short copyright year to 2011.
1529 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1531 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1532 an existing temp buffer. (Bug#7746)
1534 2011-01-02 Glenn Morris <rgm@gnu.org>
1536 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1537 multiple addresses. (Bug#7760)
1539 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1541 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1542 do-auto-fill if everything points back to allout-auto-fill.
1543 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1544 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1546 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1548 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1551 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1553 * doc-view.el (doc-view-set-doc-type): New function refactored
1555 (doc-view-fallback-mode): New function.
1556 (doc-view-mode): Use it.
1557 (doc-view-mode-maybe): New function that checks if doc-view-mode
1558 can be used and falls back to the next best mode otherwise.
1560 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1561 DVI, OpenDocument, and MS Office files.
1563 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1565 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1567 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1569 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1570 on a copy of auto-mode-alist, because that deletes with side
1573 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1575 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1576 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1577 fallback instead of hard coding fundamental mode.
1579 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1581 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1582 Office) files also for searching.
1584 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1586 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1587 Office) files. Not yet enabled via auto-mode-list.
1588 (doc-view-unoconv-program): New custom variable.
1589 (doc-view-mode-p): Handle new odf document type.
1590 (doc-view-odf->pdf): New conversion function.
1591 (doc-view-convert-current-doc): Call it for odf files.
1592 (doc-view-mode): Recognize newly supported file extensions.
1594 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1596 * net/tramp.el (tramp-default-method-alist)
1597 (tramp-default-user-alist)
1598 (tramp-local-host-regexp, tramp-prefix-domain-format)
1599 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1602 * net/tramp-gvfs.el:
1604 * net/tramp-imap.el:
1606 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1607 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1609 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1611 * saveplace.el (save-place-alist-to-file): Save list sorted and
1612 pretty-printed, so that it is mergeable by line-based text merging,
1613 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1615 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1617 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1618 (allout-mode): Argument "toggle" => "force".
1619 Refine the docstring.
1620 Remove special provisions for reactivation, besides the 'force'
1622 Consolidate layout provisions coce directly into the activation
1623 condition branch, now that we've removed those provisions.
1624 (allout-unload-function): Explicitly activate the mode before
1625 deactivating, if it's initially deactivated.
1626 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1627 warnings for version of function used only where
1628 set-buffer-multibyte is unavailable.
1630 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1632 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1633 are handled by the menu-bar entries. As before, don't use
1634 :visibile to avoid changing the tool-bar.
1636 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1638 * net/secrets.el (secrets-delete-alias): New defun.
1640 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1642 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1643 methods, otherwise ~/.ssh/config would be ignored.
1645 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1647 * emacs-lisp/rx.el: Make it a superset of sregex.
1648 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1649 of args, add `regex' alias.
1650 (rx-info): Add arg to distinguish head and standalone forms.
1651 (rx-check, rx-form): Pass the corresponding arg.
1653 (rx-repeat): Make it work for any number of args.
1654 (rx-syntax): Make it accept syntax chars as is.
1655 * obsolete/sregex.el: Move from emacs-lisp/.
1656 * emacs-lisp/re-builder.el: Remove sregex support.
1657 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1659 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1661 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1662 PRIMARY first, then the clipboard. (Bug#7699)
1664 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1666 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1669 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1671 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1672 .emacs.elc (Bug#7530).
1674 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1675 image spec (Bug#7480).
1677 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1679 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1680 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1683 2010-12-20 Leo <sdl.web@gmail.com>
1685 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1686 always be performed (Bug#7680).
1688 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1690 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1691 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1694 * color.el: Move from gnus/.
1696 * vc/diff.el (diff-better-file-name): Function deleted.
1697 abbreviating file names causes problems with shell-quote-argument.
1698 (diff-no-select): Just use expand-file-name.
1700 * tool-bar.el (tool-bar--image-expression): New function.
1701 (tool-bar-local-item, tool-bar--image-exp): Use it.
1702 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1703 Use :enable instead of :visible to avoid changing the tool-bar
1704 configuration unnecessarily.
1706 * info.el (info-tool-bar-map): Add separators.
1708 2010-12-17 Ken Brown <kbrown@cornell.edu>
1710 * loadup.el: Use version numbers in Cygwin build.
1712 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1714 * ido.el (ido-file-internal): Ask for confirmation before
1715 overwriting an existing file (Bug#1238).
1717 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1719 * tool-bar.el (tool-bar-setup): Add separators.
1721 * menu-bar.el (featurep): Use menu-bar-separator.
1723 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1725 Migrate allout encryption provisions from pgg to epg.
1727 * allout.el (allout-toggle-current-subtree-encryption)
1728 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1729 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1730 for simpler universal argument interpretation.
1731 (allout-toggle-subtree-encryption): Adjust docstring to describe
1732 changed encryption provisions. Change fetch-pass to keymode-cue, for
1733 simpler universal argument interpretation. Remove provisions for
1734 handling key type and identity - they'll all be within
1735 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1736 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1737 for keypair recipients (universal argument > 1) and, in addition,
1738 associating the specified recipients with the outline (universal
1739 argument > 4) using a file local variable setting for
1740 'epa-file-encrypt-to'.
1741 Require epa, for recipients handling.
1742 Change how regexp filtering elements are named.
1743 Describe the problem with caching of incorrect symmetric-decryption
1745 Use the epa-passphrase-callback-function, in case the user is using
1747 Support saving of the selected keypair recipients when invoked with a
1749 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1751 Establish epg-context with armoring and default epg-protocol.
1752 Remove all passphrase cache, verification, and hinting code.
1753 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1754 No longer used, delete.
1755 (allout-mode): Adjust docstring to describe changed encryption
1756 provisions. Describe the problem with caching of incorrect
1757 symmetric-decryption keys.
1758 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1759 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1760 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1761 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1764 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1766 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1767 key selection prompt; make 'silent as default (Bug#7487).
1769 2010-12-16 Leo <sdl.web@gmail.com>
1771 * eshell/eshell.el (eshell-directory-name):
1772 Use locate-user-emacs-file (Bug#7578).
1774 2010-12-15 Glenn Morris <rgm@gnu.org>
1776 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1778 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1779 Scott Evans <gse@antisleep.com>
1781 * rect.el (rectange--default-line-number-format)
1782 (rectangle-number-line-callback): New functions.
1783 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1785 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1787 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1788 Delete unused variables.
1789 (move-to-column-force): Remove function obsolete since 21.2.
1791 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1793 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1794 (tramp-handle-insert-file-contents): Do not set permanent-local
1797 * net/tramp-cache.el (tramp-persistency-file-name):
1798 Use `locate-user-emacs-file' if fboundp.
1800 * net/tramp-sh.el (tramp-methods): Add "ksu".
1801 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1804 2010-12-14 Glenn Morris <rgm@gnu.org>
1806 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1807 (find-tag-marker-ring): Declare.
1808 (js-find-symbol): Require etags.
1810 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1812 (mail-alias-file): Don't autoload. Doc fix.
1813 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1814 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1815 Mark as obsolete, and risky.
1816 (mail-setup): Simplify.
1818 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1819 * mail/sendmail.el (build-mail-aliases): Update autoload.
1821 * dired.el (dired-trivial-filenames, dired-chown-program)
1822 (dired-auto-revert-buffer): Remove autoload cookies.
1823 * mail/sendmail.el (mail-recover-1): Require 'dired.
1825 * dired.el (dired-subdir-switches, dired-chown-program)
1826 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1827 Make into defcustoms.
1828 (dired-chown-program): Simplify initialization.
1830 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1832 2010-12-13 Romain Francoise <romain@orebokech.com>
1834 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1836 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1838 * net/netrc.el (netrc-point-at-eol): Remove the unused
1839 netrc-point-at-old and netrc-bound-and-true-p bindings.
1840 (netrc-parse): Cache the netrc contents.
1842 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1844 * subr.el (posn-col-row): Evaluate header-line-format in the
1845 context of the POSITION window's buffer.
1847 2010-12-13 Glenn Morris <rgm@gnu.org>
1849 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1850 (with-silent-modifications): Doc fixes.
1852 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1854 * net/tramp.el (tramp-action-password, tramp-process-actions):
1855 Revert previous from. Use `save-restriction'.
1857 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1859 * calendar/diary-lib.el (diary-list-sexp-entries):
1860 Handle case of no newline at end of file. (Bug#7536)
1862 2010-12-13 Glenn Morris <rgm@gnu.org>
1864 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1866 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1868 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1869 (tramp-process-actions): Do not widen.
1871 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1872 Protect buffer-modified value. (Bug#7557)
1874 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1876 * log-edit.el (log-edit-changelog-entries):
1877 Regexp quote filename. (Bug#7505)
1879 2010-12-13 Tom Breton <tehom@panix.com>
1881 * cus-edit.el (custom-save-all):
1882 Bind print-length and print-level to nil. (Bug#7581)
1884 2010-12-13 Glenn Morris <rgm@gnu.org>
1886 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1887 Run hooks to update menu contents. (Bug#7586)
1889 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1890 file names, for the sake of MS Windows. (Bug#7588)
1892 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1894 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1895 empty lines without a leading space.
1897 2010-12-13 Leo <sdl.web@gmail.com>
1899 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1900 while mapping over marks (Bug#6810).
1902 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1904 * image-dired.el (image-dired-db-file)
1905 (image-dired-temp-image-file, image-dired-gallery-dir)
1906 (image-dired-temp-rotate-image-file): Set default values relative
1907 to image-dired-dir (Bug#7518).
1909 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1911 * format.el (format-decode-run-method): Pass args FROM and TO, not
1912 point-min and point-max, to shell-command-on-region (Bug#7488).
1914 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1916 * frame.el (blink-cursor-mode): Make default t for ns.
1918 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1920 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1922 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1924 * comint.el (comint-dynamic-list-input-ring)
1925 (comint-dynamic-complete-filename)
1926 (comint-replace-by-expanded-filename)
1927 (comint-dynamic-simple-complete)
1928 (comint-dynamic-list-filename-completions)
1929 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1931 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1934 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1936 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1939 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1941 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1944 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1946 * files.el (file-relative-name): Handle UNC file names on
1947 DOS/Windows. (Bug#4674)
1949 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1951 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1952 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1953 (epg-context-set-passphrase-callback): Mention that the callback
1954 is not called when used with GnuPG 2.x.
1956 2010-12-13 Glenn Morris <rgm@gnu.org>
1958 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1959 Ensure ps-footer-font-size-internal is initialized.
1960 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1962 2010-12-13 Kenichi Handa <handa@m17n.org>
1964 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1965 within condition-case.
1966 (rmail-show-mime): Don't use condition-case.
1967 (rmail-search-mime-message): New function.
1968 (rmail-search-mime-message-function): Set to
1969 rmail-search-mime-message.
1971 2010-12-13 Leo <sdl.web@gmail.com>
1973 * ido.el (ido-common-initialization): New function. (bug#3274)
1975 (ido-completing-read): Call it.
1977 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1979 * bookmark.el (bookmark-name-from-full-record): Rename back to
1980 this original name from `bookmark-name-from-record' reverting part
1981 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1982 As Drew Adams pointed out, there was no reason to cause churn for
1983 third-party callers.
1985 2010-12-12 Alan Mackenzie <acm@muc.de>
1987 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1988 template arglist, check that the current language supports this.
1990 2010-12-11 Glenn Morris <rgm@gnu.org>
1992 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1993 state of the file matches. (Bug#7544)
1994 (vc-bzr-register, vc-bzr-checkin)
1995 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1996 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1998 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2000 2010-12-11 Karel Klíč <kklic@redhat.com>
2002 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2004 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2006 Derive from prog-mode, use derived-mode-p, and fix up various
2007 minor style issues in lisp/progmodes.
2009 * progmodes/vhdl-mode.el (vhdl-mode):
2010 * progmodes/verilog-mode.el (verilog-mode):
2011 * progmodes/vera-mode.el (vera-mode):
2012 * progmodes/sql.el (sql-mode):
2013 * progmodes/scheme.el (scheme-mode):
2014 * progmodes/perl-mode.el (perl-mode):
2015 * progmodes/octave-inf.el (inferior-octave-mode):
2016 * progmodes/autoconf.el (autoconf-mode):
2017 * progmodes/m4-mode.el (m4-mode):
2018 * progmodes/inf-lisp.el (inferior-lisp-mode):
2019 * progmodes/idlwave.el (idlwave-mode):
2020 * progmodes/icon.el (icon-mode):
2021 * progmodes/idlw-help.el (idlwave-help-mode):
2022 * progmodes/dcl-mode.el (dcl-mode):
2023 * progmodes/idlw-shell.el (idlwave-shell-mode):
2024 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2025 (ebrowse-member-mode, ebrowse-electric-position-mode):
2026 Use define-derived-mode.
2028 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2029 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2030 (xscheme-debugger-mode-p, xscheme-send-string-1):
2031 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2032 (tcl-load-file, tcl-restart-with-file):
2033 * progmodes/ps-mode.el (ps-run-running):
2034 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2035 * progmodes/js.el (js--get-all-known-symbols):
2036 * progmodes/inf-lisp.el (inferior-lisp-proc):
2037 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2038 (idlwave-template, idlwave-update-buffer-routine-info)
2039 (idlwave-update-current-buffer-info)
2040 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2041 (idlwave-scan-class-info, idlwave-fix-keywords)
2042 (idlwave-list-buffer-load-path-shadows):
2043 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2044 (idlwave-toolbar-remove):
2045 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2046 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2047 (idlwave-shell-menu-def):
2048 * progmodes/idlw-complete-structtag.el
2049 (idlwave-prepare-structure-tag-completion):
2050 * progmodes/gud.el (gud-set-buffer):
2051 * progmodes/f90.el (f90-backslash-not-special):
2052 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2054 * progmodes/xscheme.el (xscheme-start)
2055 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2056 * progmodes/which-func.el (which-function):
2057 * progmodes/vhdl-mode.el (vhdl-set-style):
2058 * progmodes/verilog-mode.el (verilog-set-compile-command)
2059 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2060 (verilog-set-define, verilog-auto-reeval-locals):
2061 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2062 * progmodes/simula.el (simula-mode):
2063 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2064 * progmodes/python.el (python-check, python-mode):
2065 * progmodes/prolog.el (prolog-mode-variables):
2066 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2067 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2068 * progmodes/delphi.el (delphi-mode):
2069 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2070 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2071 (c-font-lock-init): Move make-local-variable to their setq.
2073 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2074 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2076 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2077 (sh-set-shell): Don't set require-final-newline since it's already done
2079 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2080 since we never set it.
2081 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2082 Use read-string and standard prompt.
2083 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2084 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2085 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2086 (meta-common-mode-map): Rename from meta-mode-map.
2087 Remove C-m binding, which is a user preference, not mode specific.
2088 (meta-common-mode): New major mode; replace meta-common-initialization.
2089 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2090 around with font-lock.
2091 * progmodes/etags.el (select-tags-table-mode):
2092 Derive from special-mode.
2093 * progmodes/octave-mod.el (octave-mode):
2094 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2095 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2096 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2097 Let define-derived-mode do its job.
2098 * progmodes/cpp.el (cpp-edit-mode-map):
2099 Move initialization into declaration.
2100 (cpp-edit-mode): Use define-derived-mode.
2101 (cpp-edit-load): Use derived-mode-p.
2102 * progmodes/mixal-mode.el (mixal-mode):
2103 * progmodes/f90.el (f90-mode):
2104 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2105 require-final-newline since prog-mode does it already.
2106 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2107 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2108 * progmodes/antlr-mode.el: Require cc-mode upfront.
2109 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2111 (antlr-directory-dependencies, antlr-show-makefile-rules):
2113 (antlr-language-option): Don't assume point-min==1.
2114 (antlr-mode): Use define-derived-mode.
2115 * progmodes/ada-mode.el: Use derived-mode-p.
2116 (ada-mode): Use define-derived-mode.
2117 Use hack-local-variables-hook.
2119 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2121 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2122 (texinfo-mode): Don't disable adaptive-fill-mode.
2123 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2124 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2125 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2126 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2127 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2128 (texinfo-insert-@quotation, texinfo-insert-@samp)
2129 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2130 (texinfo-insert-@uref): Use define-skeleton.
2131 (texinfo-insert-@-with-arg): Delete.
2133 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2135 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2136 nil, do quote archive member names. (Bug#6144)
2138 2010-12-10 Glenn Morris <rgm@gnu.org>
2140 * files.el (diff-no-select): Declare.
2142 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2143 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2145 * comint.el (comint-input-ring-file-name): Doc fix.
2147 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2149 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2151 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2152 Use them instead of `nil' and `>', respectively.
2153 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2155 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2156 and menu-bar-positive-p instead of `nil' and `>', respectively.
2159 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2161 * whitespace.el (whitespace-newline-mode): Code fix.
2163 2010-12-09 Glenn Morris <rgm@gnu.org>
2165 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2166 Rename functions without commas, update callers.
2168 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2170 * whitespace.el (whitespace-cleanup-region):
2171 Clean up spaces before tabs. (Bug#7582)
2173 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2175 * bookmark.el: Adjust parameter names and doc strings to resolve
2176 confusion over whether "bookmark" meant a bookmark name or a
2177 bookmark record. Along the way, shorten one function's name for
2178 similar reasons. (Issue #7548)
2179 (bookmark-name-from-record): New name for
2180 `bookmark-name-from-full-record'. All callers changed.
2181 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2182 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2183 (bookmark-get-annotation, bookmark-set-annotation)
2184 (bookmark-get-filename, bookmark-set-filename)
2185 (bookmark-get-position, bookmark-set-position)
2186 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2187 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2188 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2189 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2190 Rename `bookmark' parameter to `bookmark-name-or-record', to
2191 clearly show its role, and shorten or adjust doc strings accordingly.
2192 (bookmark-set-name): Same, and pass the parameter directly to
2193 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2194 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2195 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2196 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2197 and in some cases shorten doc string accordingly.
2198 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2199 and `new-name', and adjust an internal variable to avoid confusion.
2200 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2201 parameter in doc string.
2203 2010-12-08 Glenn Morris <rgm@gnu.org>
2205 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2206 from gdb's history file. (Bug#7575)
2208 * mail/emacsbug.el (report-emacs-bug):
2209 Try to handle some other mail clients.
2211 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2213 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2214 Use string-prefix-p.
2215 (file-name-version-regexp): New var.
2216 (file-name-sans-versions):
2217 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2218 (jka-compr-get-compression-info): Use dolist.
2219 (jka-compr-compression-info-list): Don't bother specifying
2220 version/backup regexps.
2222 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2224 * simple.el (just-one-space): Make argument n default to 1 if
2227 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2229 * electric.el (electric-indent-post-self-insert-function):
2230 Delete trailing newlines even if we don't reindent.
2232 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2234 * minibuffer.el (completion-at-point): Remove the `arg'.
2235 * bindings.el (complete-symbol): Move back from minibuffer.el.
2237 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2239 * simple.el (just-one-space): Delete newlines for negative arg.
2241 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2243 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2244 (ansi-color-filter-apply): Simplify.
2245 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2247 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2249 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2251 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2253 * dired.el (dired-use-ls-dired): Set default to a special
2254 "unspecified" value.
2255 (dired-insert-directory): When called the first time, check
2256 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2258 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2260 * replace.el: Add "collect" feature to occur.
2261 (occur-collect-regexp-history): New var.
2262 (occur-read-primary-args): Return a replace string for nlines,
2264 (occur): Extend the meaning of nlines.
2266 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2268 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2269 (which-func-update-1): Distinguish symbols from strings.
2270 (which-function): Stay within 80 columns.
2272 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2274 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2276 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2278 (comment-style): Use comment-styles's docs to describe values.
2280 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2282 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2283 and ns-show-prefs (Bug#7535).
2285 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2286 bindings (Bug#7535).
2288 2010-12-03 Glenn Morris <rgm@gnu.org>
2290 * nxml/nxml-mode.el: Require rng-nxml.
2291 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2292 Remove declarations.
2294 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2295 * nxml/rng-nxml.el, nxml/rng-valid.el:
2296 Remove leading `*' from defcustom docs.
2298 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2299 (normal-top-level-add-to-load-path, tty-handle-args):
2300 Convert comments to basic doc-strings.
2302 * net/browse-url.el (browse-url-url-at-point)
2303 (browse-url-default-browser): Remove autoload cookies.
2305 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2306 Remove more undefined cl functions.
2308 * vc/diff.el (diff-sentinel): Make new arguments optional.
2309 * ibuf-ext.el (diff-sentinel): Update declaration.
2311 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2313 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2314 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2315 (epg-context-set-passphrase-callback): Mention that the callback
2316 is not called when used with GnuPG 2.x.
2318 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2320 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2321 (tramp-file-name-port): Check also for `tramp-default-port'.
2322 (tramp-get-connection-name): New defun.
2323 (tramp-get-connection-process): Use it.
2324 (tramp-debug-message): Extend function exclude list.
2325 (tramp-drop-volume-letter): Fix doc string.
2327 * net/tramp-cmds.el: Remove solved todo item.
2331 * net/tramp-gvfs.el:
2333 * net/tramp-imap.el:
2334 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2335 and `tramp-default-user-alist', respectively.
2337 * net/tramp-gw.el (tramp-gw-open-connection):
2338 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2340 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2341 `tramp-file-name-port'.
2343 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2344 and "psftp". Exchange "%k" marker with options.
2345 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2346 Compute size of link target.
2347 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2348 `tramp-current-*' up due to gateway methods. Optimze computing of
2349 copy arguments. Use `tramp-get-connection-name' and
2350 `tramp-get-connection-buffer'. Improve debug messages.
2351 (tramp-compute-multi-hops): Remove port determination.
2352 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2354 * net/trampver.el: Update release number.
2356 2010-12-02 Glenn Morris <rgm@gnu.org>
2358 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2359 Avoid infinite loop over windows. (Bug#7492)
2361 * progmodes/flymake.el (flymake-check-file-limit):
2362 Allow nil to mean "no limit".
2363 (flymake-check-patch-master-file-buffer): Update for above change.
2364 Allow a .tex file-name extension to be optional.
2365 (flymake-master-tex-init): Also match \include statements.
2367 2010-11-30 Sam Steingold <sds@gnu.org>
2369 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2370 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2371 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2372 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2373 define-derived-mode').
2374 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2375 users who want to call `nxml-parent-document-set'.
2377 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2379 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2380 stand-alone lines, since that is handled by log-edit-match-to-eoh
2383 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2385 * dired.el (dired-get-filename): Replace backslashes with slashes
2386 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2387 * locate.el (locate-default-make-command-line): Don't consider
2388 drive letter and root directory part of
2389 `directory-listing-before-filename-regexp'. (Bug#7308)
2390 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2392 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2394 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2395 of :smie-open/close-alist.
2396 (smie-next-sexp): Make it accept a "start token" as argument.
2397 (smie-indent-keyword): Be careful not to misidentify tokens that span
2398 more than one line, as empty lines. Add argument `token'.
2400 2010-11-27 Kenichi Handa <handa@m17n.org>
2402 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2403 multipart subtypes, insert all as usual.
2405 * mail/rmail.el: Require rfc2047.
2407 2010-11-27 Kenichi Handa <handa@m17n.org>
2409 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2410 (rmail-mime-entity-disposition)
2411 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2412 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2413 (rmail-mime-save): Handle the case that the button's `data' is a
2415 (rmail-mime-insert-text): New function.
2416 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2417 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2418 (rmail-mime-insert-bulk): New function mostly copied from the old
2419 rmail-mime-bulk-handler.
2420 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2421 (rmail-mime-process-multipart): New function mostly copied from
2422 the old rmail-mime-multipart-handler.
2423 (rmail-mime-show): Just call rmail-mime-process.
2424 (rmail-mime-process): New function mostly copied from the old
2426 (rmail-mime-insert-multipart, rmail-mime-parse)
2427 (rmail-mime-insert, rmail-show-mime)
2428 (rmail-insert-mime-forwarded-message)
2429 (rmail-insert-mime-resent-message): New functions.
2430 (rmail-insert-mime-forwarded-message-function): Set to
2431 rmail-insert-mime-forwarded-message.
2432 (rmail-insert-mime-resent-message-function): Set to
2433 rmail-insert-mime-resent-message.
2435 * mail/rmailsum.el: Require rfc2047.
2436 (rmail-header-summary): Handle multiline Subject: field.
2437 (rmail-summary-line-decoder): Change the default to
2438 rfc2047-decode-string.
2440 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2441 (rmail-mime-feature): Change the default to `rmailmm'.
2442 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2443 (rmail-display-labels): Likewise.
2444 (rmail-show-message-1): Check rmail-enable-mime, and use
2445 rmail-show-mime-function for a MIME message. Decode the headers
2446 according to RFC2047.
2448 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2450 * progmodes/which-func.el (which-func-imenu-joiner-function):
2451 Return a string, as expected.
2452 (which-function-mode): Make sure we stop any previous timer before
2455 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2457 * net/tramp.el (tramp-default-method-alist)
2458 (tramp-default-user-alist, tramp-default-proxies-alist):
2459 Adapt custom options type. (Bug#7445)
2461 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2463 * progmodes/python.el: Add Ipython support (Bug#5390).
2464 (python-shell-prompt-alist)
2465 (python-shell-continuation-prompt-alist): New options.
2466 (python--set-prompt-regexp): New function.
2467 (inferior-python-mode, run-python, python-shell):
2468 Require ansi-color. Use python--set-prompt-regexp to set the comint
2469 prompt based on the Python interpreter.
2470 (python--prompt-regexp): New var.
2471 (python-check-comint-prompt)
2472 (python-comint-output-filter-function): Use it.
2473 (run-python): Use a pipe (Bug#5694).
2475 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2477 * progmodes/python.el (run-python): Doc fix.
2478 (python-keep-current-directory-in-path): New var (Bug#7454).
2480 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2482 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2483 Prompt user before actually printing.
2485 2010-11-27 Glenn Morris <rgm@gnu.org>
2487 * startup.el (package-enable-at-startup, package-initialize):
2488 Remove unnecessary declarations.
2490 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2492 * international/characters.el (glyphless-char-display-control):
2493 Exclude newline and TAB from the c0-control group.
2495 2010-11-27 Glenn Morris <rgm@gnu.org>
2497 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2498 (expand-mail-aliases): Remove unnecessary autoload.
2500 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2502 * shell.el (shell-dir-cookie-re): Move definition before use.
2504 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2505 Replace undefined CL functions.
2507 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2509 * simple.el (prog-mode): Set bidi-paragraph-direction to
2512 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2514 2010-11-26 Glenn Morris <rgm@gnu.org>
2516 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2517 diary-outlook-formats can be sensitive to calendar-date-style.
2518 (diary-outlook-formats): Simplify the default setting.
2519 (diary-from-outlook-internal): Pass subject and body as arguments.
2520 Use dolist rather than dotimes. Don't save the diary buffer.
2521 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2522 Pass subject and body as explicit arguments to the -internal function.
2524 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2526 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2527 parsing them. This makes mailto:...?subject=foo\nbar work.
2529 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2531 * vc/diff.el (diff): Fix last change.
2533 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2535 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2536 (pcase--dontcare-upats): New var.
2537 (pcase-let, pcase-let*): Generate better code.
2538 Accept the same bodies as `let'.
2539 (pcase-dolist): New macro.
2540 (pcase--trivial-upat-p): New helper function.
2541 (pcase--expand): Strip leading "(let nil" if any.
2543 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2545 * mail/mailclient.el (browse-url): Require.
2546 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2547 use the external browser function to send the mail (bug#7469).
2549 * net/browse-url.el (browse-url-browser-function): Revert the
2550 default back to the previous value, since the new value broke
2552 (browse-url-mailto-function): New variable for mailto: URLs.
2553 (browse-url): Use the new variable for mailto: URLs.
2555 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2557 * eshell/esh-cmd.el (eshell-parse-command):
2558 * eshell/esh-arg.el (eshell-parse-arguments):
2559 * eshell/em-script.el (eshell-source-file):
2560 Use with-silent-modifications.
2562 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2564 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2565 for a merge location.
2567 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2568 (vc-bzr-merge-branch): Always prompt.
2569 (vc-bzr-async-command): Use the full branch filename.
2571 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2573 * shell.el (shell): Use current-buffer by default if it's already
2574 a shell mode buffer and its process is dead.
2575 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2577 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2579 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2580 Mention that the keywords should be comma separated.
2582 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2584 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2585 Accept optional prefix arg meaning to prompt for a command.
2586 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2587 prefix arg meaning to prompt for a command.
2588 (vc-pull): Alias for vc-update.
2590 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2591 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2592 (vc-bzr-merge-branch): New functions, implementing merge-branch
2593 and pull operations.
2595 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2597 * Makefile.in: Fix up last merge.
2599 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2600 (diff-sentinel): Get them as arguments instead.
2601 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2602 (diff-file-local-copy, diff-better-file-name): New funs.
2603 (diff-no-select): Rename from diff-into-buffer.
2604 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2605 Prefer closures to buffer-local variables.
2606 (diff): Adjust accordingly.
2607 (diff-buffer-with-file): Move from files.el.
2608 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2609 (diff-buffer-internal): Remove.
2610 (diff-buffer-buffer): Remove.
2611 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2612 the buffer name used, and so as not to mess up windows and frames.
2614 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2616 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2617 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2618 (diff-buffer-with-file): Use it.
2619 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2622 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2624 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2625 \ref's or \pageref's value as default instead of initial input.
2627 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2629 * files.el (backup-by-copying-when-mismatch): The default value is
2632 * startup.el (normal-top-level):
2633 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2634 `backup-by-copying-when-mismatch'.
2636 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2638 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2640 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2642 * progmodes/python.el (python-font-lock-keywords):
2643 Highlight top-level augmented assignments (Bug#6445).
2645 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2647 * term/ns-win.el (ns-right-control-modifier)
2648 (ns-right-command-modifier): Defvar them.
2650 * cus-start.el (all): Add ns-right-control-modifier and
2651 ns-right-command-modifier (Bug#7458).
2653 2010-11-20 Glenn Morris <rgm@gnu.org>
2655 * emacs-lisp/authors.el (authors-ignored-files)
2656 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2658 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2660 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2661 (report-emacs-bug-parse-query-results)
2662 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2663 keywords used for querying the bug database to show them in the
2664 existing bugs buffer.
2666 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2668 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2670 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2672 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2674 * international/characters.el (glyphless-char-display-control):
2675 Make it a defcustom, with update-glyphless-char-display as its
2677 (top level): Don't call update-glyphless-char-display.
2679 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2681 Sync with Tramp 2.2.0.
2683 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2684 `file-remote-p' (due to compatibility).
2686 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2687 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2689 * net/trampver.el: Update release number.
2691 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2693 * faces.el (glyphless-char): Define value for `pc'.
2695 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2697 Implemented a bug querying mechanism.
2698 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2699 (report-emacs-bug-create-existing-bugs-buffer)
2700 (report-emacs-bug-parse-query-results)
2701 (report-emacs-bug-query-existing-bugs): New functions.
2703 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2705 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2706 a \ref{} or \pageref{} macro, then use its value as initial input.
2708 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2710 * calc/calc-units.el (math-build-units-table-buffer):
2711 calc/README: Mention that the TeX specific units won't use the
2712 `tex' prefix in TeX mode.
2713 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2714 prefix for units in TeX mode.
2716 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2718 * simple.el (kill-new, kill-append, kill-region):
2719 * comint.el (comint-kill-region): Make the yank-handler argument
2722 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2724 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2725 that are both openers (resp. closers) and something else.
2726 (smie-grammar): Loosen definition of valid values.
2727 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2728 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2729 (smie-indent-after-keyword): Adjust users.
2730 (smie-indent-keyword): Don't indent empty lines.
2732 * vc-hg.el (vc-hg-program): New var.
2733 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2734 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2736 2010-11-18 Glenn Morris <rgm@gnu.org>
2738 * emacs-lisp/autoload.el (autoload-find-destination): The function
2739 coding-system-eol-type may return non-numeric values. (Bug#7414)
2741 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2743 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2745 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2747 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2749 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2751 * textmodes/picture.el (picture-mouse-set-point): Don't use
2752 posn-col-row; explicitly compute the motion based on the posn at
2753 the window-start (Bug#7390).
2755 2010-11-18 Glenn Morris <rgm@gnu.org>
2757 * novice.el (disabled-command-function):
2758 Fix 2009-11-15 change. (Bug#7384)
2760 2010-11-18 Glenn Morris <rgm@gnu.org>
2762 * calendar/calendar.el (diary-iso-date-forms): Make elements
2763 mutually exclusive. (Bug#7377)
2765 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2767 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2768 when filling the remaining "unconstrained" values.
2770 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2772 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2775 * files.el (safe-local-variable-p): Gracefully handle errors.
2777 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2778 Use smie-indent-virtual when indenting relative to an opener.
2779 (smie-rule-separator): Use smie-rule-parent.
2780 (smie-indent-keyword): Consult rules, even for openers at bol.
2781 (smie-indent-comment-close): Try to align closer's content.
2783 2010-11-18 Glenn Morris <rgm@gnu.org>
2785 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2787 2010-11-18 Glenn Morris <rgm@gnu.org>
2789 * printing.el (pr-menu-bind): Doc fix.
2791 * speedbar.el (speedbar-toggle-images): Doc fix.
2793 * progmodes/python.el (python-shell): Doc fix.
2795 * wid-edit.el (widget-field-use-before-change)
2796 (widget-use-overlay-change): Doc fixes.
2798 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2800 Minor cleanup to improve style.
2801 * textmodes/rst.el (rst-update-section): Use point-marker.
2802 (rst-get-decoration): Eliminate unneeded assignment.
2803 (rst-promote-region, rst-straighten-decorations)
2804 (rst-section-tree, rst-adjust): Use point-marker.
2805 (rst-toc-mode-mouse-goto): Avoid setq.
2806 (rst-shift-region-guts, rst-shift-region-left)
2807 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2808 (rst-convert-bullets-to-enumeration): Use copy-marker.
2810 * minibuffer.el (completion-fail-discreetly): New var.
2811 (completion--do-completion): Use it.
2813 * electric.el (electric-pair-pairs): New var.
2814 (electric-pair-post-self-insert-function): Use it.
2815 (electric-layout-post-self-insert-function): Don't insert a before
2816 newline unless it's actually needed.
2818 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2820 * progmodes/python.el (run-python): Explain why we remove the current
2821 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2823 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2825 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2827 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2828 (octave-mode-map): Don't bind ;, SPC, and LF.
2829 (octave-auto-indent, octave-auto-newline): Remove.
2830 (electric-layout-rules): Declare.
2831 (octave-mode): Set electric-layout-rules.
2832 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2833 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2834 (octave-electric-space): Remove.
2836 * electric.el (electric-layout-mode): New minor mode.
2837 (electric--after-char-pos): New function.
2838 (electric-indent-post-self-insert-function): Use it.
2839 (electric-layout-rules): New var.
2840 (electric-layout-post-self-insert-function): New function.
2841 (electric-indent-mode): Make them interact better.
2843 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2845 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2846 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2847 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2849 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2851 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2852 Make sure to check inside the word (Bug#6761).
2854 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2856 * startup.el (command-line): If the cursorColor resource is set,
2857 change the cursor face-spec (Bug#7392).
2859 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2861 The main features of the following allout.el changes are:
2862 - implement user customization for the allout key bindings
2863 - add a customization control by which the user can inhibit use of
2864 a trailing Ctrl-H, so by default it's reserved for use with
2865 describe-prefix-bindings
2866 - adapt to new version of called-interactively-p, while
2867 maintaining backwards compatibility with old version
2868 - fix hotspot navigation so i works properly with meta-modified keys
2870 * allout.el (allout-keybindings, allout-bind-keys)
2871 (allout-keybindings-binding, allout-prefixed-keybindings)
2872 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2873 (allout-keybindings-list, allout-mode-map-adjustments)
2874 (allout-setup-mode-map): Establish allout-mode keymaps as user
2875 customizable settings, and also establish a customizable setting which
2876 regulates whether or not a trailing control-h is reserved for use with
2877 describe-prefix-bindings - and inhibit it by default, so that control-h
2878 *is* reserved for describe-prefix-bindings unless the user changes it.
2880 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2881 and accurately between modified and unmodified events, and handle
2882 modified events more comprehensively.
2884 * allout.el (allout-substring-no-properties):
2885 Alias to use or provide version of `substring-no-properties'.
2886 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2888 * allout.el (allout-next-single-char-property-change):
2889 Alias to use or provide version of `next-single-char-property-change'.
2890 (allout-annotate-hidden, allout-hide-by-annotation):
2891 Use `allout-next-single-char-property-change'.
2893 * allout.el (allout-select-safe-coding-system):
2894 Alias to use or provide version of `select-safe-coding-system'.
2895 (allout-toggle-subtree-encryption):
2896 Use `allout-select-safe-coding-system'.
2898 * allout.el (allout-set-buffer-multibyte):
2899 Alias to use or provide version of `set-buffer-multibyte'.
2900 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2902 * allout.el (allout-called-interactively-p): Macro for using the
2903 different versions of called-interactively-p identically, depending on
2904 the subroutine's argument signature.
2905 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2906 Use `(interactive "p")' instead of `(called-interactively-p)'.
2908 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2909 (allout-previous-visible-heading, allout-forward-current-level)
2910 (allout-backward-current-level, allout-show-children):
2911 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2913 * allout.el (allout-before-change-handler):
2914 Exempt edits to the (overlaid) character after the allout outline
2915 bullet from edit confirmation prompt.
2917 * allout.el (allout-add-resumptions):
2918 Ensure that it respects correct buffer for keybindings.
2920 * allout.el (allout-beginning-of-line):
2921 Use `allout-previous-single-char-property-change' alias for the sake of
2922 diverse compatibility.
2924 * allout.el (allout-end-of-line):
2925 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2927 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2929 * frame.el (frame-notice-user-settings): Don't clobber other
2930 user-set parameters when calling face-set-after-frame-default in
2931 response to background-color parameter (Bug#7373).
2933 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2935 * international/characters.el (glyphless-char-display-control):
2936 Rename from glyphless-char-control; all users changed. Doc fix.
2937 Signal an error if display method is not one of the recognized
2940 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2942 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2943 (tramp-compat-line-end-position): Remove them.
2945 * net/tramp.el (tramp-parse-rhosts-group)
2946 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2947 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2948 (tramp-parse-netrc-group, tramp-parse-putty-group)
2949 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2950 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2951 (tramp-sh-handle-file-selinux-context)
2952 (tramp-sh-handle-file-name-all-completions)
2953 (tramp-sh-handle-insert-directory)
2954 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2955 (tramp-wait-for-output, tramp-send-command-and-read)
2956 * net/tramp-smb.el (tramp-smb-read-file-entry)
2957 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2959 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2961 (tramp-remote-coding-commands): Add an alternative using "base64
2962 -d -i". This is needed for older base64 versions from GNU
2963 coreutils. Reported by Klaus Reichl
2964 <Klaus.Reichl@thalesgroup.com>.
2966 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2968 * simple.el (count-words-region): New function.
2970 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2972 * shell.el (shell-dir-cookie-re): New custom variable.
2973 (shell-dir-cookie-watcher): New function.
2975 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2976 and compilation-mode (bug#7350).
2978 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2979 highlight when one of them is empty.
2981 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2983 (skeleton-newline): New function.
2984 (skeleton-internal-1): Use it.
2986 * simple.el (open-line): `newline' may strip trailing space.
2988 2010-11-12 Kevin Ryde <user42@zip.com.au>
2990 * international/mule-cmds.el (princ-list): Use mapc.
2992 2010-11-12 Glenn Morris <rgm@gnu.org>
2994 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2995 Use it to replace all instances of "*Compile-Log*"
2997 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2999 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3002 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3004 * progmodes/modula2.el: Use SMIE and skeleton.
3005 (m2-mode-syntax-table): (*..*) can be nested.
3006 Add //...\n. Fix paren syntax.
3007 (m2-mode-map): Remove LF and TAB bindings.
3008 (m2-indent): Add safety property.
3009 (m2-smie-grammar): New var.
3010 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3011 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3012 (m2-mode): Use define-derived-mode.
3013 (m2-newline, m2-tab): Remove.
3014 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3015 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3016 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3017 (m2-import): Use define-skeleton.
3019 2010-11-11 Glenn Morris <rgm@gnu.org>
3021 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3023 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3024 (ls-lisp-verbosity): Add custom :set-after property.
3025 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3026 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3027 (ls-lisp-insert-directory): Update caller.
3028 (ls-lisp-set-options): New function.
3029 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3032 * play/landmark.el (lm-prompt-for-move):
3033 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3035 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3037 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3038 (idlwave-study-twins): Prefix dynamic local variable `name'.
3039 (idlwave-routine-twin-compare): Update for above change.
3041 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3042 Prefix dynamic local variables `name', `kwd', and `link'.
3043 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3044 * progmodes/idlw-complete-structtag.el
3045 (idlwave-complete-structure-tag-help):
3046 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3047 (idlwave-complete-sysvar-tag-help)
3048 (idlwave-complete-class-structure-tag-help):
3049 Update for above name changes.
3051 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3053 * net/browse-url.el (browse-url-browser-function): Change the
3054 default to use `browse-url-mail' on mailto: URLs.
3056 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3058 * emacs-lisp/package.el (package-read-all-archive-contents):
3059 Reset package-archive-contents to nil before re-reading.
3061 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3063 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3064 already found as misspellings by (flyspell-large-region), just
3065 do highlighting (bug#7322).
3067 2010-11-10 Glenn Morris <rgm@gnu.org>
3069 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3071 * emulation/edt.el (edt-with-position): New macro.
3072 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3073 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3074 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3076 * emulation/tpu-extras.el (tpu-with-position): New macro.
3077 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3079 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3081 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3082 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3083 (texinfo-master-menu, texinfo-insert-node-lines)
3084 (texinfo-multiple-files-update):
3085 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3086 Use line-beginning-position.
3088 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3089 No recent Emacs supports system-type `emx'.
3091 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3092 (ada-command-separator, ada-default-prj-properties)
3093 (ada-find-any-references): Update for above name change.
3095 * dirtrack.el (dirtrack-directory-function)
3096 (dirtrack-canonicalize-function):
3097 * filecache.el (file-cache-completion-ignore-case)
3098 (file-cache-case-fold-search, file-cache-ignore-case):
3099 * term.el (serial-port-is-file-p): Cosmetic change.
3101 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3102 Remove non-existent `windows-95' system-type.
3103 * dired.el (dired-chown-program): Remove non-existent `linux'
3106 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3107 (ping-program-options): Remove non-existent `linux' system-type.
3109 * startup.el (package-initialize): Update declaration.
3111 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3112 (ls-lisp-handle-switches): Use time-less-p.
3113 (ls-lisp-format-time): Use float-time.
3115 * textmodes/remember.el (remember-time-to-seconds): Remove.
3116 (remember-store-in-mailbox): Use float-time.
3118 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3120 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3121 never a real function.
3122 (with-no-warnings): Remove compat stub, now unused.
3123 (time-less-p): Doc fix.
3124 (time-to-number-of-days): Simplify.
3126 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3128 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3129 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3130 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3131 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3132 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3134 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3135 (eshell-shuffle-files, eshell-shorthand-tar-command)
3136 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3137 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3138 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3139 Prefix dynamic local variable `matches'.
3141 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3142 Prefix dynamic local variable `skeleton'.
3144 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3146 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3147 in mail buffer; make yank-action always a command that yanks original
3150 2010-11-09 Glenn Morris <rgm@gnu.org>
3152 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3154 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3156 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3157 completion field (bug#7211).
3159 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3160 Fix handling of backslash escapes.
3161 (python-quote-syntax): Adjust accordingly.
3163 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3165 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3166 (vc-mtn-workfile-branch): Adjust to new output format.
3168 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3170 * international/mule-cmds.el (princ-list): Mark as obsolete.
3172 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3174 * emacs-lisp/smie.el: New package.
3176 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3178 * files.el (backup-by-copying-when-mismatch):
3179 Set `permanent-local' property.
3181 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3182 `permanent-local' property for `backup-by-copying-when-mismatch'.
3184 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3186 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3188 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3190 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3191 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3192 AUTOINOUT for SV style multidimensional arrays, bug294.
3193 Reported by Eric Mastromarchi.
3194 (verilog-preprocess): Use with-current-buffer and
3195 font-lock-fontify-buffer to cleanup style issues.
3197 2010-11-09 Glenn Morris <rgm@gnu.org>
3199 * locate.el (locate, locate-mode): Doc fixes.
3201 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3203 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3204 user for confirmation.
3205 (server-force-stop): Use it.
3206 (server-start): Use server-force-stop for kill-emacs-hook, to
3207 avoid user interaction while killing Emacs.
3209 2010-11-09 Glenn Morris <rgm@gnu.org>
3211 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3212 (meta-indent-line): Simplify.
3214 * vc/emerge.el (emerge-line-number-in-buf):
3215 * textmodes/ispell.el (ispell-region):
3216 * textmodes/fill.el (current-fill-column):
3217 * progmodes/xscheme.el (xscheme-send-current-line):
3218 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3219 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3220 * progmodes/sh-script.el (sh-handle-prev-do):
3221 * progmodes/meta-mode.el (meta-indent-line):
3222 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3224 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3225 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3226 * progmodes/fortran.el (fortran-looking-at-if-then):
3227 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3228 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3229 (cperl-find-pods-heres):
3230 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3231 * net/quickurl.el (quickurl-list-insert):
3232 * net/ldap.el (ldap-search-internal):
3233 * net/eudc.el (eudc-expand-inline):
3234 * mail/sendmail.el (sendmail-send-it):
3235 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3236 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3237 (viper-brac-function):
3238 * calc/calc-yank.el (calc-do-grab-region):
3239 * calc/calc-keypd.el (calc-keypad-press):
3240 * term.el (term-move-columns, term-insert-spaces):
3241 * speedbar.el (speedbar-highlight-one-tag-line):
3242 * simple.el (current-word):
3243 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3244 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3246 * hippie-exp.el (he-line-beg):
3247 * epa.el (epa--marked-keys):
3248 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3249 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3250 (dired-relist-entry):
3251 * buff-menu.el (Buffer-menu-buffer):
3252 * array.el (current-line):
3253 * allout.el (allout-resolve-xref)
3254 (allout-latex-verbatim-quote-curr-line):
3255 Replace yet more uses of end-of-line etc with line-end-position, etc.
3257 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3259 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3260 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3261 (checkdoc-syntax-table): Initialize in the declaration.
3262 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3263 the mode on unconditionally.
3265 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3266 (extent-end-position, extent-start-position): Remove setf method for
3267 non-existing functions (bug#7319).
3269 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3271 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3272 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3273 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3274 (smie-prec2->grammar): Rename from smie-prec2-levels.
3275 (smie-grammar): Rename from smie-op-levels.
3276 (smie-indent--hanging-p): Rename from smie-hanging-p.
3277 (smie-rule-hanging-p): New alias.
3278 (smie-indent--bolp): Rename from smie-bolp.
3279 (smie-indent--hanging-p): New alias.
3280 (smie--token): New dynamically bound variable.
3281 (smie-indent--parent): New function.
3282 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3283 (smie-rule-next-p): Rename from smie-next-p.
3284 (smie-rule-prev-p): Rename from smie-prev-p.
3285 (smie-rule-sibling-p, smie-rule-parent)
3286 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3287 (smie-rule-separator-outdent): New var.
3288 (smie-indent--rule): Merge with smie-indent--column.
3289 (smie-indent-forward-token, smie-indent-backward-token):
3290 Also recognize close parens.
3291 (smie-indent-keyword): Don't use smie-indent--column any more.
3292 (smie-indent-after-keyword): Ignore closers by default.
3293 (smie-indent-line): Use with-demoted-errors.
3294 * progmodes/octave-mod.el (octave-smie-grammar):
3295 Rename from octave-smie-op-levels.
3296 (octave-smie-rules): Adjust to new behavior.
3297 * progmodes/prolog.el (prolog-smie-grammar):
3298 Rename from prolog-smie-op-levels.
3300 2010-11-07 Glenn Morris <rgm@gnu.org>
3302 * eshell/esh-util.el (subst-char-in-string)
3303 (directory-files-and-attributes): These compatibility definitions are
3304 not needed on any version of Emacs since at least 21.4.
3306 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3307 (verilog-get-end-of-line): Remove.
3308 (verilog-within-string, verilog-re-search-forward-substr)
3309 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3310 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3311 Use point-at-bol, point-at-eol.
3312 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3314 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3315 (electric-pascal-terminate-line, pascal-set-auto-comments)
3316 (pascal-indent-paramlist, pascal-indent-declaration)
3317 (pascal-get-lineup-indent, pascal-func-completion)
3318 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3319 Use point-at-bol, point-at-eol.
3320 * progmodes/flymake.el (flymake-line-beginning-position)
3321 (flymake-line-end-position): Remove.
3322 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3323 * eshell/esh-util.el (line-end-position, line-beginning-position):
3324 Remove compat definitions.
3326 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3328 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3329 Use line-end-position.
3331 * emacs-lisp/chart.el (chart-zap-chars):
3332 * play/decipher.el (decipher-set-map):
3333 * progmodes/ada-mode.el (ada-get-current-indent)
3334 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3335 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3336 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3337 (ada-get-all-references):
3338 * progmodes/cperl-mode.el (cperl-electric-paren)
3339 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3340 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3341 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3342 (cperl-word-at-point-hard):
3343 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3344 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3345 (idlwave-shell-display-line):
3346 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3347 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3348 * progmodes/js.el (js--re-search-forward-inner)
3349 (js--re-search-backward-inner):
3350 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3351 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3352 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3353 * textmodes/flyspell.el (flyspell-process-localwords):
3354 * textmodes/ispell.el (ispell-buffer-local-parsing)
3355 (ispell-buffer-local-dict, ispell-buffer-local-words):
3356 Use point-at-bol and point-at-eol.
3358 * speedbar.el (speedbar-generic-item-info)
3359 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3360 (speedbar-add-indicator, speedbar-check-vc-this-line)
3361 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3362 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3363 Replace more uses of end-of-line etc with line-end-position.
3365 2010-11-06 Glenn Morris <rgm@gnu.org>
3367 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3368 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3369 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3370 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3371 (texinfo-multiple-files-update):
3372 * textmodes/table.el (table--probe-cell-left-up)
3373 (table--probe-cell-right-bottom):
3374 * textmodes/picture.el (picture-tab-search):
3375 * textmodes/page-ext.el (pages-copy-header-and-position)
3376 (pages-directory-for-addresses):
3377 * progmodes/vera-mode.el (vera-get-offset):
3378 * progmodes/simula.el (simula-calculate-indent):
3379 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3380 * progmodes/prolog.el (end-of-prolog-clause):
3381 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3382 * progmodes/icon.el (indent-icon-exp):
3383 * progmodes/etags.el (tag-re-match-p):
3384 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3385 * progmodes/ebnf2ps.el (ebnf-begin-file):
3386 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3387 (dcl-save-local-variable):
3388 * play/life.el (life-setup):
3389 * play/gametree.el (gametree-looking-at-ply):
3390 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3391 * mail/sendmail.el (mail-mode-auto-fill):
3392 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3393 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3394 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3395 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3396 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3397 * type-break.el (type-break-file-keystroke-count):
3398 * term.el (term-replace-by-expanded-history-before-point)
3399 (term-skip-prompt, term-extract-string):
3400 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3401 (speedbar-contract-line, speedbar-toggle-line-expansion)
3402 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3403 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3404 * sort.el (sort-skip-fields):
3405 * skeleton.el (skeleton-internal-list):
3406 * simple.el (line-move-finish, line-move-to-column):
3407 * shell.el (shell-forward-command):
3408 * misc.el (copy-from-above-command):
3409 * makesum.el (double-column):
3410 * ebuff-menu.el (electric-buffer-update-highlight):
3411 * dired.el (dired-move-to-end-of-filename):
3412 * dframe.el (dframe-popup-kludge):
3413 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3414 * arc-mode.el (archive-get-lineno):
3415 Use line-end-position and line-beginning-position.
3417 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3418 (idlwave-study-twins): Prefix dynamic local `class'.
3419 (idlwave-routine-twin-compare): Update for above name change.
3421 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3422 Use boundp tests to silence compiler. Update for changed name of
3423 bytecomp-filename variable.
3425 * emulation/viper-cmd.el (viper-read-string-with-history):
3426 Prefix dynamic local `initial'.
3427 (viper-minibuffer-standard-hook): Update for above name change.
3429 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3430 (elint-init-form): Update for above name change.
3432 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3433 local variables `cbeg' and `cend' a prefix.
3434 (mail-extr-voodoo): Update for above name change.
3436 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3437 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3438 (reftex-toc-promote-action): Doc fix.
3440 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3441 `prompt', `data' a prefix.
3442 (reftex-select-post-command-hook, reftex-select-callback)
3443 (reftex-select-mouse-accept, reftex-select-read-cite):
3444 Update for above name changes.
3446 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3447 `refstyle' to reftex-refstyle.
3448 (reftex-offer-label-menu): Update for above name change.
3449 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3450 `refstyle' name change.
3452 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3453 with with-current-buffer.
3454 (diff, template): Give dynamic local variables a prefix.
3455 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3456 (emerge-line-number-in-buf): Update for above name change.
3457 (emerge-combine-versions-internal): Rename local `template' to
3458 emerge-combine-template.
3459 (emerge-combine-versions-edit): Update for above name change.
3461 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3463 * textmodes/reftex-cite.el
3464 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3465 entries with whitespace after \bibitem.
3466 (reftex-create-bibtex-file): Match entries containing numbers and
3467 symbol constituents. Make sure that entries with whitespace at
3468 various places are found.
3470 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3472 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3474 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3476 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3478 2010-11-05 Glenn Morris <rgm@gnu.org>
3480 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3481 (woman2-roff-buffer): Give local variable `request' a prefix.
3482 (woman0-macro): Rename argument `request' in the same way.
3483 (woman-request): New name for `request' dynamic variable.
3484 (woman-unquote, woman-forward-arg): Update for above name change.
3485 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3486 (woman1-unquote): New name for `unquote' dynamic variable.
3487 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3488 (woman-translations): Rename from `translations'. No longer global.
3489 (woman2-tr, woman-translate): Update for above name change.
3490 (woman-translate): Check for bound variable.
3491 (woman2-roff-buffer): Give local variable `translations' a prefix.
3493 * play/doctor.el: Give all local variables a prefix. Update callers.
3494 (doc$, doctor-put-meaning): Use backquote.
3496 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3497 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3499 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3500 variables bytes, ptr, op a prefix.
3501 (disassemble-offset): Update for above change.
3503 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3505 * emacs-lisp/package.el (package-unpack): Remove no-op.
3506 (package--builtins, package--dir): Doc fix.
3507 (package-activate-1, package-activate, package-install)
3508 (package-compute-transaction): Fix error message.
3509 (package-delete): Use delete-directory. Omit system packages.
3510 (package-initialize): Set package-alist to nil first.
3511 (package-menu-mark-delete, package-menu-mark-install): Don't add
3512 symbols that are inconsistent with the package state.
3513 (package-menu-execute): Perform deletions and installations as
3514 single batch operations.
3516 2010-11-03 Glenn Morris <rgm@gnu.org>
3518 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3519 (props): Remove unnecessary declaration.
3521 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3522 set-process-query-on-exit-flag.
3524 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3525 (reftex-toc-do-promote): Remove unused local `mpos'.
3526 (reftex-toc-restore-region): Make `mpos' local to this function.
3528 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3530 * play/landmark.el (lm-losing-threshold): Correct spelling.
3531 (lm-human-plays): Use new name.
3533 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3534 (gomoku-human-plays): Use new name.
3536 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3537 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3538 (gomoku-score-trans-table, gomoku-winning-threshold)
3539 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3541 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3543 * emacs-lisp/package.el: Don't put built-in packages in
3544 package-alist, to avoid loading inefficiencies.
3545 (package-built-in-p): Make VERSION optional, and treat it as a
3546 minimum acceptable version.
3547 (package-activate): Search separately for built-in packages.
3548 Emit a warning if a dependency fails.
3549 (define-package): Handle most common case, where there is no
3550 obsolete package, first.
3551 (package-compute-transaction): Print required version in error.
3552 (package--initialized): New variable.
3553 (list-packages): Use it.
3554 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3555 built-in packages in packages-alist; keep it separate.
3556 Set package--initialized.
3557 (describe-package): Avoid activating packages as a side-effect.
3558 Search separately for built-in packages.
3559 (describe-package-1): Handle the case where an elpa package is
3560 simultaneously built-in and available/installed.
3561 (package-installed-p, package--generate-package-list):
3562 Search separately for built-in packages.
3563 (package-load-descriptor): Doc fix.
3565 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3567 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3568 Handle __DATA__ and __END__.
3570 2010-11-02 Noah Friedman <friedman@splode.com>
3572 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3573 nil, do not ask to recompile files that are not already compiled,
3574 and do not recompile them.
3576 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3578 * emacs-lisp/package.el (package-initialize): Ensure that
3579 obsoleted built-in packages are not in package-activated-list
3581 (describe-package-1): Make the "installed" status override
3584 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3586 * subr.el (version-separator, version-regexp-alist): Remove '*'
3588 (version-list-<=, version<=, version=): Doc fix.
3590 2010-11-01 Kenichi Handa <handa@m17n.org>
3592 * faces.el (glyphless-char): Inherit underline for tty.
3594 2010-11-01 Kenichi Handa <handa@m17n.org>
3596 Implement various display methods for glyphless characters.
3598 * international/characters.el (char-acronym-table): New variable.
3599 (glyphless-char-control): New variable.
3600 (update-glyphless-char-display): New funciton.
3602 * faces.el (glyphless-char): New face.
3604 2010-11-01 Glenn Morris <rgm@gnu.org>
3606 * calendar/holidays.el (general-holidays, oriental-holidays)
3607 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3608 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3609 the definitions of their targets.
3611 * emacs-lisp/smie.el (smie): New custom group.
3612 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3614 * faces.el (xw-defined-colors, x-setup-function-keys):
3615 * mouse-sel.el (x-select-text):
3616 * term/w32console.el (x-setup-function-keys): Update declarations.
3618 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3620 * textmodes/ispell.el (comment-add): Declare.
3622 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3625 * info.el (finder-keywords-hash, package-alist): Declare.
3627 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3629 * finder.el (finder-compile-keywords): Don't use intern-soft,
3630 since package names may not yet exist in the obarray.
3632 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3634 * vc/vc-arch.el (vc-arch-checkin):
3635 * vc/vc-cvs.el (vc-cvs-checkin):
3636 * vc/vc-mtn.el (vc-mtn-checkin):
3637 * vc/vc-rcs.el (vc-rcs-checkin):
3638 * vc/vc-sccs.el (vc-sccs-checkin):
3639 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3640 since 2010-04-21 commit by Stefan Monnier.
3642 2010-11-01 Glenn Morris <rgm@gnu.org>
3644 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3646 * startup.el (package-enable-at-startup, package-initialize):
3649 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3652 2010-10-31 Julien Danjou <julien@danjou.info>
3654 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3655 (byte-recompile-directory):
3656 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3657 Use `byte-recompile-file'.
3659 2010-10-31 Glenn Morris <rgm@gnu.org>
3661 * cus-start.el: Handle standard values via a keyword.
3662 Only set version property if specified.
3663 (cursor-in-non-selected-windows, menu-bar-mode)
3664 (tool-bar-mode, show-trailing-whitespace):
3665 Do not specify standard values.
3666 (transient-mark-mode, temporary-file-directory): Use :standard.
3668 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3670 * term/x-win.el (x-get-selection-value): New function that gets
3671 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3673 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3675 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3676 preserve owner and group when editing files. (Bug#7289)
3678 2010-10-31 Glenn Morris <rgm@gnu.org>
3680 * speedbar.el (speedbar-mode):
3681 * play/fortune.el (fortune-in-buffer, fortune):
3682 * play/gomoku.el (gomoku-mode):
3683 * play/landmark.el (lm-mode):
3684 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3685 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3687 * select.el (x-selection): Mark it as an obsolete alias.
3689 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3691 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3692 major-mode (bug#7284).
3694 2010-10-31 Glenn Morris <rgm@gnu.org>
3696 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3697 rather than just an unused variable that inherits from the real one.
3699 2010-10-31 Alan Mackenzie <acm@muc.de>
3701 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3702 This fixes bug #7185.
3704 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3706 * startup.el (command-line): Search for package directories, and
3707 don't load package.el if none are found.
3709 * emacs-lisp/package.el (describe-package, list-packages):
3710 Call package-initialize if it has not been called yet.
3712 2010-10-30 Alan Mackenzie <acm@muc.de>
3714 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3715 which fontifies the tail of an enum.
3716 (c-basic-matchers-after): Insert a call to the above new function.
3717 This fixes bug #7264.
3719 2010-10-30 Glenn Morris <rgm@gnu.org>
3721 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3722 tool-bar-mode, transient-mark-mode. (Bug#7306)
3723 Include the :set property in the dumped Emacs.
3725 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3727 SMIE: change indent rules format, improve smie-setup.
3728 * emacs-lisp/smie.el (smie-precs-precedence-table)
3729 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3730 Mark them pure so the tables gets built at compile time.
3731 (smie-bnf-precedence-table): Store the closer-alist in the table.
3732 (smie-prec2-levels): Preserve the closer-alist.
3733 (smie-blink-matching-open): Be more forgiving in case of indentation.
3734 (smie-hanging-p): Rename from smie-indent--hanging-p.
3735 (smie-bolp): Rename from smie-indent--bolp.
3736 (smie--parent, smie--after): New dynamic vars.
3737 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3738 (smie-indent-rules): Remove.
3739 (smie-indent--offset-rule): Remove fun.
3740 (smie-rules-function): New var.
3741 (smie-indent--rule): New fun.
3742 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3743 (smie-indent-exps): Use it.
3744 (smie-setup): Setup paren blinking; add keyword args for token
3745 functions; extract closer-alist from op-levels.
3746 (smie-indent-debug-log): Remove var.
3747 (smie-indent-debug): Remove fun.
3748 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3749 (prolog-smie-rules): New fun to replace it.
3750 (prolog-mode-variables): Simplify.
3751 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3752 it's setup automatically.
3753 (octave-smie-indent-rules): Remove.
3754 (octave-smie-rules): New fun to replace it.
3755 (octave-mode): Simplify.
3757 2010-10-29 Glenn Morris <rgm@gnu.org>
3759 * files.el (temporary-file-directory): Remove (already defined in C).
3760 * cus-start.el: Add temporary-file-directory.
3762 * abbrev.el (abbrev-mode):
3763 * composite.el (auto-composition-mode):
3764 * menu-bar.el (menu-bar-mode):
3765 * simple.el (transient-mark-mode):
3766 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3767 that they do not define the associated variables twice.
3768 * simple.el (transient-mark-mode): Remove defvar.
3769 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3770 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3771 Handle multiple groups, and also custom-delayed-init-variables.
3772 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3774 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3776 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3777 (pcase-if): Add one minor optimization.
3778 (pcase-split-equal): Rename from pcase-split-eq.
3779 (pcase-split-member): Rename from pcase-split-memq.
3780 (pcase-u1): Add strings to the member optimization.
3781 Add `guard' variant of predicates.
3782 (pcase-q1): Add string patterns.
3784 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3786 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3788 2010-10-28 Glenn Morris <rgm@gnu.org>
3790 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3791 Move menu-bar related settings to ../menu-bar.el.
3792 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3793 Move ns-specific settings here from term/ns-win.el.
3795 * simple.el (x-selection-owner-p): Remove unused declaration.
3797 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3799 * minibuffer.el (completion-cycling): New var (bug#7266).
3800 (minibuffer-complete, completion--do-completion):
3801 Use completion--flush-all-sorted-completions.
3802 (minibuffer-complete): Only cycle if completion-cycling is set.
3803 (completion--flush-all-sorted-completions): Unset completion-cycling.
3804 (minibuffer-force-complete): Set completion-cycling.
3805 (completion-all-sorted-completions): Move declaration before first use.
3807 2010-10-28 Leo <sdl.web@gmail.com>
3809 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3810 which changes the order of matches seen by users (bug#7231).
3812 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3814 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3815 Don't confuse -omega as "-o mega".
3817 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3819 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3820 (log-edit-author): New dynamic var.
3821 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3822 to return the author if different from committer.
3823 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3825 * play/landmark.el: Adjust commenting convention.
3826 (lm-nil-score): Rename from nil-score.
3827 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3828 (OOOOscore): Move into a let in lm-score-trans-table.
3829 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3831 * electric.el (electric-indent-chars): Autoload.
3832 * progmodes/octave-mod.el (octave-mode):
3833 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3834 (ruby-mode-abbrev-table): Merge initialization and declaration.
3836 2010-10-27 Glenn Morris <rgm@gnu.org>
3838 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3841 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3843 * term/ns-win.el: Restore require of cl when compiling.
3844 (menu-bar-final-items): Remove non-existent `windows' menu.
3845 (ns-handle-nxopen): Optionally handle the temp-case.
3846 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3847 (ns-insert-file, ns-find-file): Use `pop'.
3849 2010-10-26 Glenn Morris <rgm@gnu.org>
3851 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3853 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3855 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3857 * term/common-win.el (x-setup-function-keys): Remove most of the
3858 keymappings. Comment on the remaining ones.
3860 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3862 * server.el (server-port): New option. (Bug#854)
3863 (server-start): Use server-port.
3865 2010-10-26 Glenn Morris <rgm@gnu.org>
3867 * term/ns-win.el (ns-version-string): Remove unused declaration.
3868 (ns-invocation-args): Change to x-invocation-args.
3869 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3870 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3871 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3872 Use x-invocation-args instead of ns-invocation-args.
3873 (ns-initialize-window-system, handle-args-function-alist):
3874 Use x-handle-args instead of ns-handle-args.
3875 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3876 * startup.el (command-line-ns-option-alist): Replace
3877 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3878 ns-handle-iconic with the x- equivalents.
3880 * term/common-win.el (x-select-enable-clipboard):
3881 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3883 * term/ns-win.el: No need to require cl when compiling.
3884 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3885 (xw-defined-colors): Use the common-win definitions.
3886 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3887 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3888 * term/common-win.el (x-select-text, x-alternatives-map)
3889 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3890 * loadup.el [ns]: Load common-win.
3892 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3894 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3895 recipients; expand mail aliases (Bug#7280).
3897 2010-10-25 Glenn Morris <rgm@gnu.org>
3899 * term/common-win.el (x-handle-switch): Simplify with pop.
3900 Optionally handle numeric switches.
3901 (x-handle-numeric-switch): Just call x-handle-switch.
3902 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3903 (x-handle-name-switch, x-handle-display, x-handle-args):
3906 * term/ns-win.el: Do not require easymenu.
3907 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3908 <spell>: Move adjustments to menu-bar.el.
3909 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3910 <separator-undo, spell>: Move ns-win's adjustments here.
3911 * loadup.el [ns]: Do not load easymenu.
3913 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3915 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3918 * startup.el (fancy-startup-tail): Instead of using inline images,
3919 refer to image files from etc/.
3921 * wid-edit.el (checkbox): Likewise.
3922 (widget-image-find): Center image specs.
3924 2010-10-24 Glenn Morris <rgm@gnu.org>
3926 * term/ns-win.el (x-select-text): Doc fix.
3927 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3928 (x-select-text): Move to term/common-win.
3929 * term/w32-win.el (xw-defined-colors): Move to common-win.
3930 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3931 (x-setup-function-keys, x-select-text): Move to common-win.
3932 * term/common-win.el (x-select-text, x-alternatives-map)
3933 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3936 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3938 * net/mairix.el (mairix-searches-mode-map):
3939 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3941 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3943 * verilog-mode.el (verilog-directive-re): Make this variable
3944 auto-built for efficiency of execution and updating.
3945 (verilog-extended-complete-re): Support 'pure' fucntion & task
3946 declarations (these have no bodies).
3947 (verilog-beg-of-statement): General cleanup to enable support of
3948 'pure' fucntion & task declarations (these have no bodies).
3949 These efforts together fix Verilog bug210 from veripool; which was also
3950 noticed by Steve Pearlmutter.
3951 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3952 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3953 Support `elsif. Reported by Shankar Giri.
3954 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3955 attribute handling for lining up declarations and assignments.
3956 (verilog-beg-of-statement-1): Fix issue where continued declaration
3957 is indented differently if it is after a begin..end clock.
3958 (verilog-in-attribute-p, verilog-skip-backward-comments)
3959 (verilog-skip-forward-comment-p): Support proper treatment of
3960 attributes by indent code. Reported by Jeff Steele.
3961 (verilog-in-directive-p): Fix comment to correctly describe function.
3962 (verilog-backward-up-list, verilog-in-struct-region-p)
3963 (verilog-backward-token, verilog-in-struct-p)
3964 (verilog-in-coverage-p, verilog-do-indent)
3965 (verilog-pretty-declarations): Use verilog-backward-up-list as
3966 wrapper around backward-up-list inorder to properly skip comments.
3967 Reported by David Rogoff.
3968 (verilog-property-re, verilog-endcomment-reason-re)
3969 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3970 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3971 of if). Reported by Max Bjurling and
3972 (verilog-calc-1): Fix for clocking block in modport
3973 declaration. Reported by Brian Hunter.
3975 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3977 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3978 (verilog-gate-keywords, verilog-read-sub-decls)
3979 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3980 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3981 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3982 (verilog-read-decls): Fix spaces in V2K module parameters causing
3983 mis-identification as interfaces, bug287.
3984 (verilog-read-decls): Fix not treating "parameter string" as a
3985 parameter in AUTOINSTPARAM.
3986 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3987 treating `elsif similar to `endif inside AUTOSENSE.
3988 (verilog-do-indent): Implement correct automatic or static task or
3989 function end comment highlight. Reported by Steve Pearlmutter.
3990 (verilog-font-lock-keywords-2): Fix highlighting of single
3991 character pins, bug264. Reported by Michael Laajanen.
3992 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3993 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3994 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3995 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3996 (verilog-pretty-expr): Fix interactive arguments, bug272.
3997 Reported by Mark Johnson.
3998 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3999 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4000 bug269. Suggested by Gary Delp.
4001 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4002 (verilog-preprocessor, verilog-set-compile-command):
4003 Create verilog-preprocess and verilog-preprocessor to show
4004 preprocessed output.
4005 (verilog-get-beg-of-line, verilog-get-end-of-line)
4006 (verilog-modi-file-or-buffer, verilog-modi-name)
4007 (verilog-modi-point, verilog-within-string): Move defmacro's
4008 before first use to avoid warning. Reported by Steve Pearlmutter.
4009 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4010 (verilog-colorize-region, verilog-highlight-buffer)
4011 (verilog-highlight-includes, verilog-highlight-modules)
4012 (verilog-highlight-region, verilog-mode): Rename colorize to
4013 highlight to match other packages. Disable module highlighting,
4014 as received speed complaints, reenable for experimentation only
4015 using new verilog-highlight-modules.
4016 (verilog-read-decls): Fix regexp stack overflow in very large
4017 AUTO_TEMPLATEs, bug250.
4018 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4019 (verilog-scan): Create verilog-save-buffer-state to standardize
4020 making insignificant changes that shouldn't call hooks.
4021 (verilog-save-no-change-functions, verilog-save-scan-cache)
4022 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4023 Create verilog-save-no-change-functions to wrap verilog-scan
4024 preservation, and fix to work with nested preserved calls.
4025 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4026 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4027 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4028 (verilog-submit-bug-report): Update variable list to be complete.
4029 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4030 breaking on-the-fly font-locking.
4031 (verilog-colorize-buffer, verilog-colorize-include-files)
4032 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4033 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4034 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4035 AUTOINST cell instance name, middle mouse button now finds-file on
4036 it. Suggested by Brad Dobbie.
4037 (verilog-alw-get-temps, verilog-auto-reset)
4038 (verilog-auto-sense-sigs, verilog-read-always-signals)
4039 (verilog-read-always-signals-recurse): Fix loop indexes being
4040 AUTORESET. AUTORESET now assumes any variables in the
4041 initialization section of a for() should be ignored.
4042 Reported by Dan Dever.
4043 (verilog-error-font-lock-keywords)
4044 (verilog-error-regexp-emacs-alist)
4045 (verilog-error-regexp-xemacs-alist): Fix error detection of
4046 Cadence HAL, reported by David Asher. Repair drift between the
4047 three similar error variables.
4048 (verilog-modi-lookup, verilog-modi-lookup-cache)
4049 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4050 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4051 Fix slow verilog-auto expansion on very large files.
4052 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4053 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4054 "{1*2{...". Broke in last revision.
4055 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4056 submodule connections with replications "{#{a},#{b}}".
4058 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4060 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4061 Fix typo in docstring.
4063 2010-10-24 Kenichi Handa <handa@m17n.org>
4065 * face-remap.el (text-scale-adjust): Call read-event with a proper
4068 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4070 * emacs-lisp/unsafep.el: Don't mark functions that display
4071 messages as safe. Suggested by Johan Bockgård.
4073 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4075 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4076 Turn comments into docstrings.
4078 * minibuffer.el (completion--replace): Move point where it belongs
4079 when there's a common suffix (bug#7215).
4081 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4083 Merge read-color and facemenu-read-color (Bug#7242).
4085 * faces.el (read-color): Use the completion code from
4086 facemenu-read-color. Require match in completion. Doc fix.
4088 * facemenu.el (facemenu-read-color): Alias for read-color.
4089 (facemenu-set-foreground, facemenu-set-background):
4092 * frame.el (set-background-color, set-foreground-color)
4093 (set-cursor-color, set-mouse-color, set-border-color):
4096 2010-10-24 Leo <sdl.web@gmail.com>
4098 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4099 argument of delete-file and delete-directory (Bug#7011).
4101 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4103 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4106 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4108 * emacs-lisp/package.el (package--generate-package-list): Make the
4109 *Packages* buffer read-only.
4111 2010-10-24 Alan Mackenzie <acm@muc.de>
4113 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4114 result of `c-beginning-of-decl-1' between invocations of a lambda
4115 function (Bug #7265).
4117 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4119 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4120 executable is not available on the system (Bug#7268).
4122 2010-10-24 Glenn Morris <rgm@gnu.org>
4124 * select.el (selection-coding-system, next-selection-coding-system):
4125 Sync doc with C versions.
4127 * w32-vars.el (x-select-enable-clipboard):
4128 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4129 * term/common-win.el (x-select-enable-clipboard): Move here.
4131 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4132 definition of C variable.
4134 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4135 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4136 Don't redefine things that are defined in C.
4137 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4138 (show-trailing-whitespace, auto-hscroll-mode)
4139 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4140 Set up the appropriate custom properties.
4142 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4145 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4146 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4147 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4148 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4150 2010-10-23 Glenn Morris <rgm@gnu.org>
4152 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4155 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4156 Sync docs with C version.
4158 * term/ns-win.el (xw-defined-colors):
4159 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4161 * term/pc-win.el (x-select-enable-clipboard):
4162 * term/x-win.el (x-select-enable-clipboard):
4163 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4165 * comint.el (comint-password-prompt-regexp): Make it less vague.
4168 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4170 * help.el (finder-by-keyword): Remove unnecessary autoload.
4172 2010-10-22 Glenn Morris <rgm@gnu.org>
4174 * loadup.el: Unconditionally load float-sup.
4175 * paren.el (show-paren-delay):
4176 * emacs-lisp/float-sup.el:
4177 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4178 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4179 (lazy-lock-stealth-verbose): Assume float support.
4180 * ps-print.el: Assume float support on Emacs.
4181 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4182 Remove non-float branch.
4184 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4185 src/Makefile no longer being pre-processed.
4187 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4189 * emacs-lisp/find-func.el (find-library): Use test-completion.
4191 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4193 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4195 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4197 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4198 space in stat format string.
4199 (tramp-send-command): Unset $PS1 when using here documents, in
4200 order not to get several prompts.
4201 (tramp-get-inline-coding): Return `nil' in case of errors.
4203 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4205 * hexl.el (hexl-mode, hexl-mode-exit):
4206 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4207 (hexl-revert-buffer-function): New function.
4208 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4210 2010-10-19 Alan Mackenzie <acm@muc.de>
4212 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4213 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4214 that these keywords aren't wrongly matched as identifiers.
4216 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4217 setting of c-new-BEG and c-new-END from c-before-change to
4218 c-after-change. (Bug#7181)
4220 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4222 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4225 * custom.el (custom-theme-set-variables): Likewise.
4226 (load-theme): Add custom-theme-set-faces and
4227 custom-theme-set-variables to safe-functions while loading.
4228 (custom-enabled-themes): Mark as risky.
4230 2010-10-18 Julien Danjou <julien@danjou.info>
4232 * bindings.el: Remove end dashes in default mode-line-format.
4234 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4236 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4237 to delete-forward-char.
4239 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4240 deletechar, and hence delete-forward-char.
4242 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4244 * repeat.el (repeat): Use read-key (bug#6256).
4246 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4248 * emacs-lisp/unsafep.el: Don't mark functions that display
4249 messages as safe. Suggested by Johan Bockgård.
4251 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4253 * minibuffer.el (completion--replace): Move point where it belongs
4254 when there's a common suffix (bug#7215).
4256 2010-10-19 Kenichi Handa <handa@m17n.org>
4258 * international/characters.el: Add category '|' (word breakable)
4259 to fullwidth characters.
4261 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4263 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4264 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4265 order to make stat results a float. Patch by Andreas Schwab
4266 <schwab@linux-m68k.org>.
4268 2010-10-18 Julien Danjou <julien@danjou.info>
4270 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4271 hidden by `make-pointer-invisible'.
4273 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4275 * files.el (locate-file-completion-table): Strip non-matching elements
4276 before checking length of list (bug#7238).
4278 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4280 * custom.el (custom-theme-set-variables): Mark as a safe function.
4281 (load-theme): Check forms using unsafep.
4283 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4285 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4287 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4288 Fix aspell data file searching (bug#7230).
4290 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4292 * cus-theme.el (custom-theme--migrate-settings): New var.
4293 (customize-create-theme): Allow editing the `user' theme.
4294 (custom-theme-add-variable, custom-theme-add-var-1)
4295 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4296 to the front of each variable or face widget.
4297 (custom-theme-write): Save theme settings in the correct order.
4298 Optionally, remove saved settings from user customizations.
4299 (custom-theme-write-variables, custom-theme-write-faces):
4300 Save only the checked widgets.
4301 (customize-themes): Add a link for migrating custom settings.
4303 * custom.el (custom-declare-theme, provide-theme):
4304 Use custom-theme-name-valid-p.
4305 (custom-theme-name-valid-p): Remove checks that are now
4306 unnecessary since themes no longer obey load-path.
4308 * cus-edit.el (custom-variable-value-create): For the simple
4309 style, hide documentation string when hidden.
4311 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4313 * cus-edit.el (custom-variable, custom-face): Combine the
4314 :inhibit-magic and :display-style properties into a single
4315 :custom-style property.
4316 (custom-toggle-hide-variable, custom-toggle-hide-face):
4317 New functions. If hiding an edited value, save it to :shown-value.
4318 (custom-variable-value-create, custom-face-value-create): Use them.
4319 (custom-magic-reset): Allow magic property to be unset.
4321 * custom.el: Custom themes no longer use load-path.
4322 (custom-theme-load-path): New option. Change built-in theme
4324 (custom-enabled-themes): Add custom-theme-load-path dependency.
4325 (custom-theme--load-path): New function.
4326 (load-theme, custom-available-themes): Use it.
4328 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4329 (customize-themes): Link to custom-theme-load-path variable.
4330 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4331 :custom-style property.
4333 * themes/*.el: Moved to etc/.
4335 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4337 * textmodes/reftex-cite.el
4338 (reftex-extract-bib-entries-from-thebibliography): Do not move
4339 point when searching for \bibitem entries. Match entries with
4340 spaces or tabs in front of arguments.
4342 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4344 * cus-theme.el (customize-create-theme): Delete overlays after
4345 erasing. If given a THEME arg, display only the faces of that arg
4346 instead of custom-theme--listed-faces.
4347 (custom-theme-variable-menu, custom-theme-variable-action)
4348 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4349 (custom-theme-add-variable, custom-theme-add-face): Apply value
4350 from the theme settings, instead of the current value.
4351 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4352 (custom-theme-visit-theme): Allow calling outside theme buffers.
4353 (custom-theme-merge-theme): Don't enable the theme when merging.
4354 (custom-theme-write-variables, custom-theme-write-faces): Use the
4355 :shown-value properties to save buffer values, not global ones.
4356 (customize-themes): Display a warning about user customizations.
4358 * cus-edit.el (custom-variable-value-create)
4359 (custom-face-value-create): Obey new special properties
4360 :shown-value and :inhibit-magic.
4362 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4364 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4365 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4368 2010-10-14 Kenichi Handa <handa@m17n.org>
4370 * mail/rmail.el (rmail-show-message-1): Catch an error of
4371 base64-decode-region and just show an error message (bug#7165).
4373 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4374 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4375 a font-spec (bug#7197).
4377 2010-10-14 Glenn Morris <rgm@gnu.org>
4379 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4381 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4383 * international/mule.el (define-coding-system):
4384 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4385 * composite.el (compose-region): Fix typo in docstring.
4387 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4389 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4390 only after checking the theme-face property.
4392 * faces.el (face-spec-reset-face): Reset all attributes in one
4393 single call to set-face-attribute.
4394 (face-spec-match-p): Make it a defsubst.
4395 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4396 (x-create-frame-with-faces, tty-create-frame-with-faces)
4397 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4398 frame-set-background-mode, since they are recomputed immediately
4399 afterwards in face-set-after-frame-default.
4400 (face-set-after-frame-default): Minor optimization.
4401 (cursor): Provide non-trivial defface spec.
4403 * custom.el (custom-theme-recalc-face): Simplify.
4405 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4407 * calc/calc-alg.el (math-var): Rename from `var'.
4408 (math-is-polynomial, math-is-poly-rec): Replace `var'
4411 * calc/calcalg2.el (math-var): Rename from `var'.
4412 (calcFunc-table, math-scan-for-limits): Replace `var'
4415 2010-10-13 Glenn Morris <rgm@gnu.org>
4417 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4419 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4421 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4423 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4425 * net/tls.el (tls-program): Remove spurious %s from openssl.
4426 (tls-starttls-switches): Remove starttls hack.
4427 (open-tls-stream): Ditto.
4428 (tls-find-starttls-argument): Ditto.
4430 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4432 * image.el (image-library-alist): Declare as obsolete alias.
4433 (image-type-available-p): Use `dynamic-library-alist'.
4435 * term/w32-win.el (dynamic-library-alist):
4436 Use instead of `image-library-alist'.
4438 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4440 * subr.el (last): Make it faster. (Bug#7174)
4442 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4444 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4446 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4448 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4449 (describe-theme-1): Extract doc from unloaded themes.
4451 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4453 * themes/tango-theme.el:
4454 * themes/tango-dark-theme.el:
4455 * themes/wheatgrass-theme.el: New files.
4457 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4459 * cus-theme.el (describe-theme, customize-themes)
4460 (custom-theme-save): New commands.
4461 (custom-new-theme-mode-map): Bind C-x C-s.
4462 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4463 (customize-create-theme): New optional arg THEME.
4464 (custom-theme-revert): Use it.
4465 (custom-theme-visit-theme): Remove dead code.
4466 (custom-theme-merge-theme): Use custom-available-themes.
4467 (custom-theme-write): Make interactive.
4468 (custom-theme-write): Use custom-theme-name-valid-p.
4469 (describe-theme-1, custom-theme-choose-revert)
4470 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4472 (custom-theme-allow-multiple-selections): New option.
4473 (custom-theme-choose-mode): New major mode.
4475 * custom.el (custom-theme-set-variables): Remove dead code.
4476 Obey custom--inhibit-theme-enable.
4477 (custom--inhibit-theme-enable): New var.
4478 (provide-theme): Obey it.
4479 (load-theme): Replace load with manual read/eval, in order to
4480 check for correctness. Use custom-theme-name-valid-p.
4481 (custom-theme-name-valid-p): New function.
4482 (custom-available-themes): Use it.
4484 * cus-edit.el (custom--initialize-widget-variables): New function.
4485 (Custom-mode): Use it.
4487 * cus-face.el (custom-theme-set-faces): Remove dead code.
4488 Obey custom--inhibit-theme-enable.
4490 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4492 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4494 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4496 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4498 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4499 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4500 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4502 * cus-start.el (all): ns-right-alternate-modifier is new.
4504 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4506 * emacs-lisp/lisp.el (lisp-completion-at-point):
4507 Use emacs-lisp-mode-syntax-table for the whole function.
4509 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4511 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4512 instead of font-lock-mode before adding keywords.
4513 Remove hi-lock-mode off code. Remove inhibit hack.
4514 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4515 non-nil; removed hook inhibit hack.
4517 2010-10-12 Glenn Morris <rgm@gnu.org>
4519 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4520 (load-path-shadows-find): ... to this.
4521 (list-load-path-shadows): Update for above change.
4523 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4525 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4527 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4528 Fix comment for declare-function.
4530 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4532 * custom.el (custom-fix-face-spec): New function; code moved from
4533 custom-face-edit-fix-value.
4534 (custom-push-theme): Use it when checking if a face has been
4535 changed outside customize.
4536 (custom-available-themes): New function.
4537 (load-theme): Use it.
4539 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4541 * custom.el (custom-push-theme): Cleanup (use cond).
4542 (disable-theme): Recompute the saved-face property.
4543 (custom-theme-recalc-face): Follow face alias before setting prop.
4545 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4546 New variables, containing checkbox images.
4548 * startup.el (fancy-startup-tail):
4549 * wid-edit.el (checkbox): Use them.
4551 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4553 * shell.el (shell-mode-map):
4554 * progmodes/modula2.el (m2-mode-map):
4555 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4556 * play/mpuz.el (mpuz-mode-map):
4557 * play/landmark.el (lm-mode-map):
4558 * play/decipher.el (decipher-mode-map):
4559 * play/5x5.el (5x5-mode-map):
4560 * net/telnet.el (telnet-mode-map):
4561 * net/quickurl.el (quickurl-list-mode-map):
4562 * net/mairix.el (mairix-searches-mode-map):
4563 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4564 * net/dig.el (dig-mode-map):
4565 * mail/mspools.el (mspools-mode-map):
4566 * hexl.el (hexl-mode-map):
4567 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4568 (wordstar-C-o-map, wordstar-C-q-map):
4569 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4570 * emacs-lisp/chart.el (chart-map):
4571 * edmacro.el (edmacro-mode-map):
4572 * erc/erc-list.el (erc-list-menu-mode-map):
4573 * array.el (array-mode-map): Declare and define in one step.
4575 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4577 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4579 * epa.el (epa-passphrase-callback-function): Display filename
4580 passed as the 3rd arg.
4581 * epa-file.el (epa-file-passphrase-callback-function):
4582 Pass filename to epa-passphrase-callback-function.
4584 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4586 * cus-edit.el (custom-face-widget-to-spec)
4587 (custom-face-get-current-spec, custom-face-state): New functions.
4588 (custom-face-set, custom-face-mark-to-save)
4589 (custom-face-value-create, custom-face-state-set): Use them.
4591 * cus-theme.el (custom-theme--listed-faces): New var.
4592 (customize-create-theme): Use *Custom Theme* as the buffer name.
4593 Set revert-buffer-function. Optional arg BUFFER. Insert all
4594 faces listed in custom-theme--listed-faces.
4595 (custom-theme-revert): New function.
4596 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4598 (custom-theme-write): Prompt for theme name if empty.
4599 (custom-theme-write-variables): Use dolist.
4600 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4602 2010-10-09 Alan Mackenzie <acm@muc.de>
4604 Enhance fontification of declarators to take account of the
4605 presence/absence of "typedef".
4607 * cc-engine.el (c-forward-type): New &optional param
4609 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4610 presence of either or both of a "struct"-like keyword and "typedef".
4612 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4613 fontification of declarators which follow a "}".
4614 (c-font-lock-declarations): Fontify declarators according to the
4615 presence/absence of "typedef".
4617 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4619 (c-typedef-decl-key): New lang variable built from
4620 c-typedef-decl-kwds.
4622 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4624 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4625 since that's too annoying. Move the filter groups commands to
4628 * epa.el (epa-passphrase-callback-function): Say what we're
4629 querying the password for.
4631 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4632 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4634 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4636 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4637 (custom-magic-value-create): Pad button tags with spaces.
4638 (custom-face-edit): New variable.
4639 (custom-face-value-create): Determine whether to use the usual
4640 face editor here, instead of using custom-face-selected.
4641 Pass face defaults to custom-face-edit widget.
4642 (custom-face-selected, custom-display-unselected): Delete widgets.
4643 (custom-display-unselected-match): Function removed.
4644 (custom-face-set, custom-face-mark-to-save):
4645 Accept custom-face-edit widgets as the direct widget child.
4647 * wid-edit.el (widget--completing-widget): New var.
4648 (widget-default-complete): Bind it when doing completion.
4649 (widget-string-complete, widget-file-complete): Use it.
4651 2010-10-09 Glenn Morris <rgm@gnu.org>
4653 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4654 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4655 (holiday-hebrew-misc): Small simplifications.
4657 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4659 * net/browse-url.el: Don't require thingatpt, term, dired,
4660 executable, or w3-auto when compiling.
4661 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4663 (browse-url-text-emacs): Require term.
4665 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4667 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4669 2010-10-08 Glenn Morris <rgm@gnu.org>
4671 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4673 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4674 (shadows-compare-text-p): Make it an obsolete alias for...
4675 (load-path-shadows-compare-text): ... new name.
4676 (find-emacs-lisp-shadows): Update for above name change.
4677 (load-path-shadows-same-file-or-nonexistent): New name for the old
4678 shadow-same-file-or-nonexistent.
4680 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4682 * minibuffer.el (completion--some, completion--do-completion)
4683 (minibuffer-complete-and-exit, minibuffer-completion-help)
4684 (completion-basic-try-completion)
4685 (completion-basic-all-completions)
4686 (completion-pcm--find-all-completions): Use lexical-let to
4687 avoid some false matches in variable completion (Bug#7056)
4689 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4691 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4693 2010-10-08 Leo <sdl.web@gmail.com>
4695 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4696 return non-nil if the file exists (Bug#7090).
4698 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4700 * minibuffer.el (completion--replace):
4701 Better preserve markers (bug#7138).
4703 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4705 * server.el (server-process-filter): Doc fix.
4707 2010-10-08 Drew Adams <drew.adams@oracle.com>
4709 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4711 2010-10-08 Glenn Morris <rgm@gnu.org>
4713 * vc/ediff-wind.el (ediff-setup-control-frame):
4714 * vc/ediff-ptch.el (ediff-default-backup-extension):
4715 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4716 (ediff-exec-process): Remove system-types emx, windows-95.
4718 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4720 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4722 * cus-edit.el (custom-variable, custom-face): Doc fix.
4723 (custom-face-edit): Add value-create attribute.
4724 (custom-face-edit-value-create)
4725 (custom-face-edit-value-visibility-action): New functions.
4726 Hide unused face attributes by default, and add a visibility toggle.
4727 (custom-face-edit-deactivate): Show empty values with shadow face.
4728 (custom-face-selected): Only use this for face specs with default
4730 (custom-face-value-create): Cleanup.
4732 * wid-edit.el (widget-checklist-value-create): Use dolist.
4733 (widget-checklist-match-find): Make second arg optional.
4735 2010-10-07 Glenn Morris <rgm@gnu.org>
4737 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4740 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4741 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4742 load-path-shadows-mode, update references.
4743 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4744 Rename variable and button.
4745 (list-load-path-shadows): Update button caller.
4747 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4749 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4750 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4751 (smie-merge-prec2s): Handle those new entries.
4752 (smie-prec2-levels): Only set precedence to nil for actual
4754 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4755 that is now unnecessary.
4757 2010-10-07 Miles Bader <miles@gnu.org>
4759 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4761 2010-10-07 Glenn Morris <rgm@gnu.org>
4763 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4764 (mail-position-on-field): Remove declarations.
4765 (mail-position-on-field): Autoload it.
4766 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4767 and mail-header-end. Don't require sendmail.
4769 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4770 (shadow-mode): New mode.
4771 (shadow-find-file): New button.
4772 (list-load-path-shadows): Use shadow-mode and buttons.
4774 * iimage.el (iimage-version): Remove.
4775 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4776 Turn into defcustoms.
4777 (iimage-mode-map): Give it a doc string.
4779 * calendar/appt.el (appt-activate): Give a warning rather than an error
4780 if there is no diary-file.
4782 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4784 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4785 Use `tramp-handle-find-backup-file-name'.
4787 2010-10-06 Glenn Morris <rgm@gnu.org>
4789 * font-core.el (font-lock-defaults-alist): Remove variable.
4790 (font-lock-mode): Doc fix.
4791 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4792 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4793 (font-lock-set-defaults): Doc fix.
4794 Do not consult font-lock-defaults-alist.
4796 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4798 * emacs-lisp/cl.el: No longer provide cl-19.
4800 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4802 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4803 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4804 New defuns, taken from tramp-smb.el.
4805 (tramp-coding-system-change-eol-conversion)
4806 (tramp-set-process-query-on-exit-flag): Remove.
4808 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4809 (tramp-compat-coding-system-change-eol-conversion)
4810 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4813 * net/tramp-gvfs.el:
4814 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4815 by `tramp-compat-set-process-query-on-exit-flag'.
4817 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4818 Use `tramp-handle-directory-files-and-attributes',
4819 `tramp-handle-file-exists-p' and
4820 `tramp-handle-file-newer-than-file-p'.
4821 (tramp-imap-handle-file-exists-p)
4822 (tramp-imap-handle-file-executable-p)
4823 (tramp-imap-handle-file-readable-p)
4824 (tramp-imap-handle-directory-files-and-attributes)
4825 (tramp-imap-handle-file-newer-than-file-p): Remove.
4827 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4828 by `tramp-compat-set-process-query-on-exit-flag' and
4829 `tramp-coding-system-change-eol-conversion' by
4830 `tramp-compat-coding-system-change-eol-conversion'.
4832 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4833 Use `tramp-handle-directory-files-and-attributes',
4834 `tramp-handle-file-exists-p' and
4835 `tramp-handle-file-newer-than-file-p'.
4836 (tramp-smb-handle-directory-files-and-attributes)
4837 (tramp-smb-handle-file-exists-p)
4838 (tramp-smb-handle-file-newer-than-file-p): Remove.
4839 (tramp-smb-maybe-open-connection):
4840 Replace `tramp-set-process-query-on-exit-flag' by
4841 `tramp-compat-set-process-query-on-exit-flag'.
4843 2010-10-05 Glenn Morris <rgm@gnu.org>
4845 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4847 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4849 Continue reorganization of load dependencies. (Bug#7156)
4851 * net/tramp.el (tramp-handle-file-local-copy-hook)
4852 (tramp-delete-temp-file-function): Move down.
4853 (tramp-exists-file-name-handler): Move up.
4854 (tramp-register-file-name-handlers): Simplify autoload.
4855 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4856 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4857 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4858 (tramp-handle-file-name-completion)
4859 (tramp-handle-file-name-directory)
4860 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4861 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4862 (tramp-handle-find-backup-file-name)
4863 (tramp-handle-insert-file-contents, tramp-handle-load)
4864 (tramp-handle-substitute-in-file-name)
4865 (tramp-handle-unhandled-file-name-directory)
4866 (tramp-mode-string-to-int, tramp-local-host-p)
4867 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4869 * net/tramp-gvfs.el (top):
4870 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4872 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4873 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4875 2010-10-04 Glenn Morris <rgm@gnu.org>
4877 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4878 (appt-activate): Give status messages.
4880 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4882 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4883 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4884 `gnutls-negotiate' (formerly `starttls-negotiate').
4885 Remove trivial wrapper `starttls-open-stream'.
4887 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4889 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4890 log-outgoing commands.
4891 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4892 to create a buffer local revert-buffer-function variable.
4893 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4894 revert-buffer-function lambda.
4896 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4898 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4899 `gnutls-boot'. Make TYPE the only required parameter.
4900 Allow TRUSTFILES and KEYFILES to be lists.
4901 (open-ssl-stream): Use it.
4903 2010-10-03 Glenn Morris <rgm@gnu.org>
4905 * subr.el (directory-sep-char): Remove obsolete variable.
4906 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4909 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4910 * vc/vc.el (vc-static-header-alist): Doc fix.
4911 * vc/vc-cvs.el (vc-cvs-header):
4912 * vc/vc-rcs.el (vc-rcs-header):
4913 * vc/vc-sccs.el (vc-sccs-header):
4914 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4915 * obsolete/vc-mcvs.el (vc-mcvs-header):
4916 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4919 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4921 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4922 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4924 2010-10-03 Glenn Morris <rgm@gnu.org>
4926 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4928 * textmodes/rst.el (rst-font-lock-keywords-function):
4931 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4933 * printing.el: Drop Emacs 20 code.
4935 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4936 without having used appt.el already).
4938 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4939 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4940 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4942 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4943 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4945 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4946 (charset-width, find-charset-region, chars-in-region, forward-point)
4947 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4948 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4949 Remove compatibility cruft (none of these are used by ps*.el).
4951 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4953 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4955 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4957 * server.el (server-process-filter, server-return-error):
4958 Give emacsclient time to shut down after receiving an error string.
4960 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4962 * files.el (remote-file-name-inhibit-cache): New defcustom.
4964 * time.el (display-time-file-nonempty-p):
4965 Use `remote-file-name-inhibit-cache'.
4967 * net/tramp.el (tramp-completion-reread-directory-timeout):
4970 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4971 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4972 `remote-file-name-inhibit-cache'. Check also for an integer
4973 value. Add/increase counter when `tramp-verbose' >= 10.
4974 (tramp-set-file-property): Add/increase counter when
4975 `tramp-verbose' >= 10.
4977 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4978 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4979 (tramp-bug): Set tramp-autoload cookie. Report all interned
4980 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4981 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4982 characters only in strings.
4984 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4985 to backward compatibility.
4987 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4988 (tramp-handle-file-name-all-completions)
4989 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4990 (tramp-open-connection-setup-interactive-shell):
4991 Call `tramp-cleanup-connection' directly.
4993 2010-10-02 Glenn Morris <rgm@gnu.org>
4995 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4997 * subr.el (char-bytes): Remove obsolete function.
4999 * isearch.el (isearch-return-char): Remove obsolete function.
5001 * mouse.el: No longer provide mldrag.
5002 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5003 Remove obsolete aliases.
5005 * comint.el (comint-kill-output): Remove obsolete alias.
5007 * composite.el (decompose-composite-char): Remove obsolete function.
5008 * ps-def.el (decompose-composite-char): Remove unused function.
5010 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5012 * outline.el (outline-visible): Remove obsolete function.
5014 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5015 * faces.el (internal-find-face, internal-get-face)
5016 (frame-update-faces, frame-update-face-colors)
5017 (x-frob-font-weight, x-frob-font-slant)
5018 (internal-frob-font-weight, internal-frob-font-slant)
5019 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5020 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5021 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5023 * emulation/viper-util.el (viper-get-face):
5024 * obsolete/lucid.el (find-face, get-face): Use facep.
5025 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5026 Remove unused functions.
5027 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5029 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5030 delete tempfile if interrupted during compilation.
5032 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5034 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5036 (tls-program): Add --insecure to be consistent with the defaults from
5037 openssl s_client. Now all three commands are insecure.
5039 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5041 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5042 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5043 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5045 2010-10-01 Glenn Morris <rgm@gnu.org>
5047 * obsolete/sc.el: Remove file.
5049 * files.el (temporary-file-directory): On darwin, also try
5050 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5052 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5054 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5055 Let's not break compatibility gratuitously, shall we?
5057 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5059 * net/tls.el (tls-starttls-switches): New variable.
5060 (tls-find-starttls-argument): Use it.
5061 (open-tls-stream): Ditto.
5063 * net/netrc.el (netrc-credentials): Return the value of the "default"
5065 (netrc-machine): Ditto.
5067 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5069 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5071 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5073 * server.el (server-start): Don't write pid to the authentication file.
5074 (server-create-tty-frame): Don't send pid.
5075 (server-process-filter): Send pid at the start of every connection.
5077 2010-09-30 Glenn Morris <rgm@gnu.org>
5079 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5080 (show-all-diary-entries): Remove obsolete function aliases.
5082 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5083 Remove options, obsolete since 22.1.
5084 (appt-display-format, appt-display-message):
5085 Remove backwards-compatibility code.
5086 (appt-check): No longer check appt-issue-message.
5087 (appt-make-list): No longer autoload it. Doc fix. No longer
5088 activate the package.
5090 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5092 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5093 (starttls-negotiate): Just call boot, and let the handshake be
5094 triggered from the read loop.
5096 2010-09-29 Glenn Morris <rgm@gnu.org>
5098 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5099 not displaying the diary.
5100 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5101 * calendar/appt.el (appt-check): No longer need to kill diary.
5103 * calendar/diary-lib.el (diary-list-entries): Move the
5104 "Preparing..." message entirely here.
5105 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5106 messages to diary-list-entries.
5107 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5108 diary-display-function.
5110 * calendar/diary-lib.el (diary-include-other-diary-files):
5111 Trap some recursive includes.
5113 * calendar/appt.el (appt-activate): Check diary file.
5115 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5117 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5120 * calendar/time-date.el: No need to require cl for Emacs 21.
5122 2010-09-28 Glenn Morris <rgm@gnu.org>
5124 * calendar/appt.el (appt-check): Minor simplification.
5126 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5128 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5131 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5133 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5134 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5136 2010-09-27 Kenichi Handa <handa@m17n.org>
5138 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5141 2010-09-27 Kenichi Handa <handa@m17n.org>
5143 * international/mule.el (define-coding-system): Docstring fixed.
5145 * international/mule-diag.el (describe-character-set): Use princ
5146 with proper print-length and print-level instead of insert.
5148 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5150 * window.el (walk-windows): Doc fix (bug#7105).
5152 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5154 * emacs-lisp/float-sup.el (e): Remove.
5156 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5158 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5160 (starttls-negotiate): Use it.
5162 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5164 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5167 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5169 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5171 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5173 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5175 * net/netrc.el (netrc-store-data): New function.
5177 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5179 * net/gnutls.el: GnuTLS glue code to set up a connection.
5181 2010-09-25 Julien Danjou <julien@danjou.info>
5183 * notifications.el: Call dbus-register-signal only if it is bound.
5185 2010-09-25 Glenn Morris <rgm@gnu.org>
5187 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5188 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5189 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5190 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5191 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5192 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5193 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5194 * eshell/esh-util.el, eshell/esh-var.el:
5195 Remove leading `*' from docs of faces and defcustoms.
5197 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5199 * eshell/em-ls.el (eshell-ls-archive-regexp):
5200 * eshell/esh-util.el (eshell-tar-regexp):
5201 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5202 * info.el (Info-suffix-list):
5203 * international/mule.el (auto-coding-alist):
5204 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5205 * progmodes/etags.el (tags-compression-info-list):
5206 Support xz compression.
5208 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5210 * files.el (get-free-disk-space): Don't assume the "df" output
5211 columns line up (Bug#6995).
5213 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5215 * finder.el (finder-unknown-keywords):
5216 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5217 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5219 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5221 * server.el (server-start): Revert part of 2010-08-08 change. Using
5222 address 127.0.0.1 for local host is now done in Fmake_network_process.
5224 2010-09-24 Glenn Morris <rgm@gnu.org>
5226 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5227 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5228 * textmodes/css-mode.el, textmodes/dns-mode.el:
5229 Move autoloaded auto-mode-alist entries to files.el.
5230 * files.el (auto-mode-alist): Move entries here.
5232 2010-09-23 Glenn Morris <rgm@gnu.org>
5234 * isearch.el (isearch-lazy-highlight-cleanup)
5235 (isearch-lazy-highlight-initial-delay)
5236 (isearch-lazy-highlight-interval)
5237 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5238 * net/net-utils.el (ipconfig-program-options):
5239 Move aliases to options before the associated definitions.
5241 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5243 * newcomment.el (comment-normalize-vars): Better test validity of
5246 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5248 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5249 (float-e): New name for `e'.
5250 (degrees-to-radians, radians-to-degrees):
5251 * calendar/solar.el (solar-longitude):
5252 * calculator.el (calculator-registers, calculator-funcall):
5253 * textmodes/artist.el (artist-spray-random-points):
5254 * play/bubbles.el (bubbles--initialize-images): Use new names.
5256 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5258 Update to CEDET 1.0's version of EIEIO.
5260 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5262 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5263 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5264 (class-precedence-list): If class is nil, return nil.
5265 (eieio-generic-call): If class of first input arg is nil, don't
5266 look up static methods, and do check for primary methods.
5267 (initialize-instance): See if the default needs to be evaluated
5268 during the constructor.
5269 (eieio-perform-slot-validation-for-default): Don't do the check
5270 for values that will eventually be evaluated.
5271 (eieio-eval-default-p): New function.
5272 (eieio-default-eval-maybe): Use it.
5274 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5276 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5277 method-invocation-order.
5278 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5279 (eieio-class-precedence-dfs): Compute class precedence list using
5281 (eieio-class-precedence-bfs): Compute class precedence list using
5283 (eieio-class-precedence-c3): Compute class precedence list using
5285 (class-precedence-list): New function.
5286 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5287 (inconsistent-class-hierarchy): New error symbol.
5288 (call-next-method): Stow the replacement argument list for future
5289 call-next-method invocations.
5291 2010-09-23 Glenn Morris <rgm@gnu.org>
5293 * calendar/appt.el (appt-check): If not displaying the diary,
5294 use (diary 1) to only get the entries we need.
5295 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5296 that it is in day order. (Bug#7019)
5298 * calendar/appt.el (appt-check): Rather than showing the diary,
5299 just turn off invisible display, and only if needed.
5301 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5303 2010-09-23 Glenn Morris <rgm@gnu.org>
5305 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5306 (byte-compile-defvar, byte-compile-cl-warn):
5307 Start warnings with lower-case, like the majority.
5309 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5311 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5313 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5314 * files.el (auto-mode-alist): Move ld-script entries here, further down
5317 * vc/add-log.el: Don't require timezone when compiling.
5318 (timezone-make-date-sortable): Autoload it.
5319 (change-log-sortable-date-at): Don't require timezone.
5320 Use `ignore-errors'.
5322 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5323 Move alias before definition, so it does not need autoloading.
5325 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5326 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5327 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5328 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5329 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5330 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5331 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5332 * textmodes/tex-mode.el, textmodes/two-column.el:
5333 Remove leading `*' from docs of defcustoms etc.
5335 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5337 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5339 2010-09-22 Dan Christensen <jdc@uwo.ca>
5341 * calendar/time-date.el (date-to-time): Try using parse-time-string
5342 first before using the slower timezone-make-date-arpa-standard.
5344 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5346 * calendar/time-date.el (format-seconds): Comment fix.
5348 2010-09-22 Glenn Morris <rgm@gnu.org>
5350 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5351 is not automatically buffer-local.
5353 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5355 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5356 (smie-indent-comment): Be more careful with comment-start-skip.
5357 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5358 (smie-indent-functions): Use them.
5360 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5362 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5364 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5366 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5367 tool-bar-position. Don't modify frame parameters here.
5368 (menu-bar-options-save): Add tool-bar-position.
5370 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5372 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5374 * textmodes/reftex-parse.el (reftex-what-macro)
5375 (reftex-context-substring): Let-bind forward-sexp-function to nil
5376 since we don't need/want to treat \begin...\end as a block (bug#7053).
5378 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5380 * simple.el (blink-matching-open): Use syntax-class.
5382 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5383 Set invisibility spec for pascal's outline mode.
5384 (pascal-outline-change): Clean up calling convention.
5385 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5387 * progmodes/prolog.el (prolog-smie-forward-token)
5388 (prolog-smie-backward-token): New functions.
5389 (prolog-mode-variables): Use them to parse "!," correctly.
5390 Set up smie-blink-matching for ".".
5392 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5394 (ispell-region, ispell-process-line): Update users.
5396 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5399 * textmodes/ispell.el: Fix commenting convention.
5400 (ispell-parse-output): Simplify, use push.
5401 (ispell-region): Use match-string-no-properties.
5402 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5403 (ispell-minor-mode): Use define-minor-mode.
5404 (ispell-message): Remove unused var `skip-regexp'.
5405 (ispell-add-per-file-word-list): Use dynamic let-binding.
5406 Try and use the proper comment marker.
5408 * mail/sendmail.el: Fix commenting convention.
5409 (sendmail-send-it): Use line-beginning-position.
5411 * help-fns.el (describe-variable): Add original value, if applicable.
5413 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5415 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5417 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5419 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5421 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5422 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5423 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5424 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5425 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5426 something like "." can also be a closer.
5427 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5428 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5429 Rename internal functions to use "--". Update callers.
5431 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5433 * fringe.el (fringe-styles): New var.
5434 (fringe-mode, fringe-query-style): Use it.
5436 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5438 * progmodes/sql.el: Version 2.8
5439 (sql-login-params): Update widget structure; changes still needed.
5440 (sql-product-alist): Add :list-all and :list-table features for
5441 SQLite, Postgres and MySQL products.
5442 (sql-redirect): Handle default value.
5443 (sql-execute, sql-execute-feature): New functions.
5444 (sql-read-table-name): New function.
5445 (sql-list-all, sql-list-table): New functions. User API.
5446 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5447 for above functions.
5448 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5449 for above functions.
5450 (sql-postgres-login-params): Add user and database defaults.
5451 (sql-buffer-live-p): Bug fix.
5452 (sql-product-history): New variable.
5453 (sql-read-product): New function. Use it.
5454 (sql-set-product, sql-product-interactive): Use it.
5455 (sql-connection-history): New variable.
5456 (sql-read-connection): New function. Use it.
5457 (sql-connect): New function.
5458 (sql-for-each-login): Redesign function interface.
5459 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5460 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5461 (sql-comint): Check for program. Existing live buffer.
5462 (sql-comint-postgres): Add port parameter.
5464 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5466 * emacs-lisp/warnings.el: Fix commenting convention.
5467 (display-warning): Use special mode and make the buffer read-only.
5469 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5471 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5472 empty string when it follows a repeated or optional pattern.
5474 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5476 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5477 (indent-region): Use indent-according-to-mode.
5479 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5481 * fringe.el (fringe-mode): Doc fix.
5483 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5485 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5486 refreshing the preview buffer.
5488 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5490 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5491 (latex-syntax-propertize-rules): New consts; replace
5492 tex-font-lock-syntactic-keywords.
5493 (tex-env-mark, latex-env-before-change): New functions.
5494 (latex-electric-env-pair-mode): New minor mode.
5495 (tex-font-lock-verb): Change arguments; do move point.
5496 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5497 representation as a form of comment.
5498 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5499 (doctex-syntax-propertize-rules): New const; replaces
5500 doctex-font-lock-syntactic-keywords.
5501 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5503 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5504 (fortran-make-syntax-propertize-function): New function; replaces
5505 fortran-font-lock-syntactic-keywords.
5506 (fortran-mode): Use it.
5507 (fortran-line-length): Use it. Improve interactive spec.
5509 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5510 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5511 when adding surrounding \(..\).
5513 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5515 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5517 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5518 Use with-current-buffer.
5520 * isearch.el (isearch-face): Rename from `isearch'.
5521 (isearch-highlight): Use new name.
5523 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5525 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5526 5, for `half' width fringes. (Bug#6933)
5528 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5530 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5531 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5533 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5535 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5537 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5538 in calculating new frame position. Add more space between new and
5539 parent on the left (Bug#7048).
5541 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5543 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5546 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5548 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5550 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5551 obsolete alias for x-selection-value.
5553 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5555 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5557 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5560 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5562 * net/tramp-compat.el (tramp-compat-with-temp-message)
5563 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5564 (tramp-compat-process-put): New defuns.
5566 * net/tramp.el (top):
5567 * net/tramp-gvfs.el (top):
5568 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5570 * net/tramp.el (tramp-progress-reporter-update):
5571 Use `tramp-compat-funcall'.
5573 * net/tramp.el (tramp-process-actions):
5574 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5575 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5576 (tramp-get-remote-stat, tramp-get-remote-readlink):
5577 Use `tramp-compat-with-temp-message'.
5579 * net/tramp-sh.el (top): Require 'cl.
5580 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5581 (tramp-open-connection-setup-interactive-shell):
5582 Use `tramp-compat-process-put'.
5584 2010-09-15 Alan Mackenzie <acm@muc.de>
5586 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5588 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5590 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5592 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5593 `lexical' for warnings related to lexical scoping.
5594 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5595 global vars which don't have a prefix and could hence affect lexical
5596 scoping in unrelated files.
5598 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5600 * net/imap.el: Revert back to version
5601 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5604 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5606 * obsolete/old-whitespace.el (whitespace-unload-function):
5607 Explicitly pass `obarray' to `unintern' to avoid a warning.
5609 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5611 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5612 Add `when' argument. Update callers.
5614 * subr.el (unintern): Declare the obarray arg mandatory.
5616 2010-09-14 Glenn Morris <rgm@gnu.org>
5618 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5621 * calendar/diary-lib.el (diary-included-files): New variable.
5622 (diary-list-entries): Maybe initialize diary-included-files.
5623 (diary-include-other-diary-files): Append to diary-included-files.
5624 * calendar/appt.el (appt-update-list): Also check the members of
5625 diary-included-files. (Bug#6999)
5626 (appt-check): Doc fix.
5628 2010-09-14 David Reitter <david.reitter@gmail.com>
5630 * simple.el (line-move-visual): Do not truncate goal column to
5631 integer size. (Bug#7020)
5633 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5635 * repeat.el (repeat): Allow repeating when the last event is a click.
5636 Suggested by Drew Adams (bug#6256).
5638 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5640 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5641 Replace setting HGRCPATH to "" by some less invasive --config options.
5643 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5645 * font-lock.el (font-lock-beginning-of-syntax-function):
5648 2010-09-14 Glenn Morris <rgm@gnu.org>
5650 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5651 and tool-bar modes. (Bug#6211)
5652 (menu-bar-mode): Move setting of standard-value after the
5653 minor-mode definition, otherwise it seems to have no effect.
5655 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5657 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5658 Fix typo. (Bug#6976)
5660 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5662 * whitespace.el: Allow cleaning up blanks without blank
5663 visualization (Bug#6651). Adjust help window for
5664 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5665 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5666 (whitespace-style): Add new value 'face. Adjust docstring.
5667 (whitespace-space, whitespace-hspace, whitespace-tab):
5668 Adjust foreground property face.
5669 (whitespace-line-column): Adjust docstring and type declaration.
5670 (whitespace-style-value-list, whitespace-toggle-option-alist)
5671 (whitespace-help-text): Adjust const initialization.
5672 (whitespace-toggle-options, global-whitespace-toggle-options):
5674 (whitespace-display-window, whitespace-interactive-char)
5675 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5676 (whitespace-help-scroll): New fun.
5678 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5680 * calendar/time-date.el (format-seconds): Comment fix.
5682 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5684 * progmodes/sql.el: Version 2.7.
5685 (sql-buffer-live-p): Improve detection.
5686 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5687 (sql-set-sqli-buffer): Use it.
5688 (sql-product-interactive): Run `sql-set-sqli-hook'.
5689 (sql-rename-buffer): Code cleanup.
5690 (sql-redirect, sql-redirect-value): New functions. More to come.
5692 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5694 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.
5695 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5696 (TRAMP_SRC): New macro.
5697 ($(lisp)/net/tramp-loaddefs.el): New target.
5699 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5701 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5703 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5705 * net/tramp.el (top): Don't show loading message. Require just
5706 'tramp-compat, everything else is required there.
5707 Use `ignore-errors' where appropriate.
5708 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5709 (tramp-terminal-type, tramp-end-of-output)
5710 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5711 (tramp-completion-function-alist-ssh)
5712 (tramp-completion-function-alist-telnet)
5713 (tramp-completion-function-alist-su)
5714 (tramp-completion-function-alist-putty, tramp-remote-path)
5715 (tramp-remote-process-environment, tramp-sh-extra-args)
5716 (tramp-actions-before-shell, tramp-uudecode)
5717 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5718 (tramp-perl-file-attributes)
5719 (tramp-perl-directory-files-and-attributes)
5720 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5721 (tramp-perl-encode, tramp-perl-decode)
5722 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5723 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5724 (tramp-handle-make-symbolic-link, tramp-handle-load)
5725 (tramp-handle-file-name-as-directory)
5726 (tramp-handle-file-name-directory)
5727 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5728 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5729 (tramp-do-file-attributes-with-ls)
5730 (tramp-do-file-attributes-with-perl)
5731 (tramp-do-file-attributes-with-stat)
5732 (tramp-handle-set-visited-file-modtime)
5733 (tramp-handle-verify-visited-file-modtime)
5734 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5735 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5736 (tramp-handle-file-selinux-context)
5737 (tramp-handle-set-file-selinux-context)
5738 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5739 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5740 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5741 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5742 (tramp-handle-file-ownership-preserved-p)
5743 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5744 (tramp-handle-directory-files-and-attributes)
5745 (tramp-do-directory-files-and-attributes-with-perl)
5746 (tramp-do-directory-files-and-attributes-with-stat)
5747 (tramp-handle-file-name-all-completions)
5748 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5749 (tramp-handle-copy-file, tramp-handle-copy-directory)
5750 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5751 (tramp-do-copy-or-rename-file-via-buffer)
5752 (tramp-do-copy-or-rename-file-directly)
5753 (tramp-do-copy-or-rename-file-out-of-band)
5754 (tramp-handle-make-directory, tramp-handle-delete-directory)
5755 (tramp-handle-delete-file)
5756 (tramp-handle-dired-recursive-delete-directory)
5757 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5758 (tramp-handle-insert-directory)
5759 (tramp-handle-unhandled-file-name-directory)
5760 (tramp-handle-expand-file-name)
5761 (tramp-handle-substitute-in-file-name)
5762 (tramp-handle-executable-find, tramp-process-sentinel)
5763 (tramp-handle-start-file-process, tramp-handle-process-file)
5764 (tramp-handle-call-process-region, tramp-handle-shell-command)
5765 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5766 (tramp-handle-insert-file-contents)
5767 (tramp-handle-insert-file-contents-literally)
5768 (tramp-handle-find-backup-file-name)
5769 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5770 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5771 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5772 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5773 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5774 (tramp-find-file-exists-command, tramp-open-shell)
5775 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5776 (tramp-open-connection-setup-interactive-shell)
5777 (tramp-local-coding-commands, tramp-remote-coding-commands)
5778 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5779 (tramp-inline-compress-commands, tramp-find-inline-compress)
5780 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5781 (tramp-send-command, tramp-wait-for-output)
5782 (tramp-send-command-and-check, tramp-barf-unless-okay)
5783 (tramp-send-command-and-read, tramp-mode-string-to-int)
5784 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5785 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5786 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5787 (tramp-method-out-of-band-p, tramp-local-host-p)
5788 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5789 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5790 (tramp-get-test-command, tramp-get-test-nt-command)
5791 (tramp-get-file-exists-command, tramp-get-remote-ln)
5792 (tramp-get-remote-perl, tramp-get-remote-stat)
5793 (tramp-get-remote-readlink, tramp-get-remote-trash)
5794 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5795 (tramp-get-local-uid, tramp-get-local-gid)
5796 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5798 (tramp-methods, tramp-default-method-alist)
5799 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5800 Move initialization to tramp-sh.el.
5801 (tramp-temp-name-prefix): Make it a defconst.
5802 (tramp-dissect-file-name): Don't check anymore for multi-hop
5804 (tramp-debug-outline-regexp): Add a docstring.
5805 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5806 (tramp-get-debug-buffer): Use it.
5808 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5809 initialization forms.
5810 (tramp-set-connection-property): Don't protect `tramp-message'
5811 call, it isn't necessary any longer.
5812 (tramp-dump-connection-properties): Use `ignore-errors'.
5814 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5815 'password-cache and 'auth-source.
5817 * net/tramp-gvfs.el (top):
5818 * net/tramp-smb.el (top): Require 'tramp-sh.
5820 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5822 * net/tramp-sh.el: New file, derived from tramp.el.
5823 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5824 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5825 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5826 Use `ignore-errors' where appropriate.
5827 (tramp-sh-file-name-handler-alist): Rename from
5828 `tramp-file-name-handler-alist'.
5829 (tramp-send-command-and-check): Return t or nil. Remove all
5830 `zerop' checks, where called.
5831 (tramp-handle-set-file-modes)
5832 (tramp-do-copy-or-rename-file-directly)
5833 (tramp-handle-delete-directory, tramp-handle-delete-file)
5834 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5835 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5836 (tramp-get-remote-ln): Set tramp-autoload cookie.
5838 * net/tramp-fish.el: Remove file.
5840 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5842 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5843 buffer-file-name to avoid file-locking. (Bug#7026)
5845 2010-09-13 Julien Danjou <julien@danjou.info>
5847 * notifications.el (notifications-notify): Add support for
5848 image-path and sound-name.
5849 (notifications-specification-version): Add this variable.
5851 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5853 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5855 2010-09-12 Leo <sdl.web@gmail.com>
5857 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5858 (rcirc-completion-start): New variables.
5859 (rcirc-nick-completions): Rename to rcirc-completions.
5860 (rcirc-nick-completion-start-offset): Delete.
5861 (rcirc-completion-at-point): New function for constructing
5862 completion data for both nicks and irc commands. Add to
5863 completion-at-point-functions in rcirc mode.
5864 (rcirc-complete): Rename from rcirc-nick-complete; use
5865 rcirc-completion-at-point.
5866 (defun-rcirc-command): Update rcirc-client-commands.
5868 2010-09-11 Glenn Morris <rgm@gnu.org>
5870 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5871 atomically, to avoid parallel build errors. (Bug#4196)
5873 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5875 * progmodes/sql.el: Version 2.6
5876 (sql-dialect): Synonym for "sql-product".
5877 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5878 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5879 Set "sql-buffer" to buffer name not buffer object so multiple sql
5880 interactive buffers work properly. Reverts misguided changes in
5882 (sql-comint): Make sure different buffer name is used if "*SQL*"
5883 buffer is for a different product.
5884 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5886 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5887 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5888 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5889 Accept new buffer name or prompt for one.
5890 (sql-port): Default to zero.
5891 (sql-comint-mysql): Handle "sql-port" as a numeric.
5892 (sql-port-history): Delete unused variable.
5893 (sql-get-login): Default "sql-port" to a number.
5894 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5895 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5896 "sqlite3" executables.
5897 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5898 (sql-buffer-live-p): New function.
5899 (sql-mode-menu, sql-send-string): Use it.
5900 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5902 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5903 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5905 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5907 * net/netrc.el (netrc-credentials): New convenience function.
5909 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5911 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5912 to replace texinfo-font-lock-syntactic-keywords.
5913 (texinfo-mode): Use it.
5915 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5916 Use syntax-propertize-function.
5918 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5919 replace sgml-font-lock-syntactic-keywords.
5920 (sgml-mode): Use it.
5922 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5923 since we don't use it.
5925 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5927 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5929 (vhdl-fontify-buffer): Adjust.
5931 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5932 replace tcl-font-lock-syntactic-keywords.
5935 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5936 replace simula-font-lock-syntactic-keywords.
5937 (simula-mode): Use it.
5939 * progmodes/sh-script.el (sh-st-symbol): Remove.
5940 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5941 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5942 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5943 (sh-font-lock-paren): Set syntax-multiline.
5944 (sh-font-lock-syntactic-keywords): Remove.
5945 (sh-syntax-propertize-function): New function to replace it.
5948 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5949 Define while compiling.
5950 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5951 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5952 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5953 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5954 (ruby-here-doc-end-syntax): Only define when
5955 syntax-propertize is not available.
5956 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5958 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5959 (electric-indent-chars): Silence bytecompiler.
5960 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5961 electric-indent-chars.
5963 * progmodes/python.el (python-syntax-propertize-function): New var to
5964 replace python-font-lock-syntactic-keywords.
5965 (python-mode): Use it.
5966 (python-quote-syntax): Simplify and adjust to new use.
5968 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5969 replace perl-font-lock-syntactic-keywords.
5970 (perl-syntax-propertize-special-constructs): New fun to replace
5971 perl-font-lock-special-syntactic-constructs.
5972 (perl-font-lock-syntactic-face-function): New fun.
5973 (perl-mode): Use it.
5975 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5976 to replace octave-font-lock-close-quotes.
5977 (octave-syntax-propertize-function): New function to replace
5978 octave-font-lock-syntactic-keywords.
5979 (octave-mode): Use it.
5981 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5982 replaces mixal-font-lock-syntactic-keywords.
5983 (mixal-mode): Use it.
5985 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5986 New var; replaces makefile-font-lock-syntactic-keywords.
5987 (makefile-mode): Use it.
5988 (makefile-imake-mode): Adjust.
5990 * progmodes/js.el (js--regexp-literal): Define while compiling.
5991 (js-syntax-propertize-function): New var; replaces
5992 js-font-lock-syntactic-keywords.
5995 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5996 replaces gdb-script-font-lock-syntactic-keywords.
5997 (gdb-script-mode): Use it.
5999 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6000 (fortran--font-lock-syntactic-keywords): New var.
6001 (fortran-line-length): Update syntax-propertize-function and
6002 fortran--font-lock-syntactic-keywords.
6004 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6006 * progmodes/cfengine.el (cfengine-mode):
6007 Use syntax-propertize-function.
6008 (cfengine-font-lock-syntactic-keywords): Remove.
6010 * progmodes/autoconf.el (autoconf-mode):
6011 Use syntax-propertize-function.
6012 (autoconf-font-lock-syntactic-keywords): Remove.
6014 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6015 (ada-after-change-function, ada-initialize-syntax-table-properties)
6016 (ada-handle-syntax-table-properties): Only define when
6017 syntax-propertize is not available.
6018 (ada-mode): Use syntax-propertize-function.
6020 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6021 (font-lock-fontify-syntactic-keywords-region): Move handling of
6022 font-lock-syntactically-fontified to...
6023 (font-lock-default-fontify-region): ...here.
6024 Let syntax-propertize-function take precedence.
6025 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6027 * emacs-lisp/syntax.el (syntax-propertize-function)
6028 (syntax-propertize-chunk-size, syntax-propertize--done)
6029 (syntax-propertize-extend-region-functions): New vars.
6030 (syntax-propertize-wholelines, syntax-propertize-multiline)
6031 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6032 (syntax-propertize): New functions.
6033 (syntax-propertize-rules): New macro.
6034 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6035 (syntax-ppss): Call syntax-propertize.
6037 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6039 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6041 * textmodes/ispell.el (ispell-init-process): Improve comments.
6042 XEmacs compatibility changes regarding (add-hook) 'local option
6043 and (set-process-query-on-exit-flag).
6045 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6047 * net/tramp-cache.el (tramp-parse-connection-properties):
6048 Set tramp-autoload cookie.
6050 2010-09-09 Glenn Morris <rgm@gnu.org>
6052 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6053 (imagemagick-register-types): Doc fix.
6055 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6057 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6059 * progmodes/js.el (require): Require is already "eval-and-compile".
6060 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6061 (js--re-search-backward): Use js--re-search-forward.
6063 * progmodes/fortran.el (fortran-line-length): Don't recompute
6064 syntactic keywords redundantly a second time.
6066 * progmodes/ada-mode.el: Replace "(set '" with setq.
6067 (ada-mode): Simplify.
6068 (ada-create-case-exception, ada-adjust-case-interactive)
6069 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6070 (ada-search-ignore-string-comment, ada-move-to-start)
6071 (ada-move-to-end): Use with-syntax-table.
6073 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6074 (font-lock-unfontify-region, font-lock-default-fontify-region):
6075 Update usage correspondingly.
6076 (font-lock-fontify-syntactic-keywords-region):
6077 Set parse-sexp-lookup-properties buffer-locally here.
6078 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6080 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6082 2010-09-08 Glenn Morris <rgm@gnu.org>
6084 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6085 Error if not compiled with -DBYTE_CODE_METER.
6087 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6088 Ignore dir-locals-file.
6090 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6092 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6094 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6095 for the `gnu' messages.
6096 (compilation-set-skip-threshold): New command.
6097 (compilation-start): Use \' rather than $.
6098 (compilation-forget-errors): Use clrhash.
6100 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6102 * textmodes/ispell.el (ispell-valid-dictionary-list):
6105 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6107 Migrate to Tramp 2.2. Rearrange load dependencies.
6108 (Bug#1529, Bug#5448, Bug#5705)
6110 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6111 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6112 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6114 * net/tramp.el (top): Remove all other tramp-* loads except
6115 tramp-compat.el. Remove all changes to tramp-unload-hook for
6116 other tramp-* packages. Rearrange defun order. Change calls of
6117 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6118 `tramp-compat-octal-to-decimal' to new function names.
6119 (tramp-terminal-type, tramp-initial-end-of-output)
6120 (tramp-methods, tramp-foreign-file-name-handler-alist)
6121 (tramp-tramp-file-p, tramp-completion-mode-p)
6122 (tramp-send-command-and-check, tramp-get-remote-path)
6123 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6124 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6125 (with-file-property, with-connection-property): Move to
6127 (tramp-local-call-process, tramp-decimal-to-octal)
6128 (tramp-octal-to-decimal): Move to tramp-compat.el.
6129 (tramp-handle-shell-command): Do not require 'shell.
6130 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6132 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6134 * net/tramp-cache.el (top): Require 'tramp. Add to
6135 `tramp-unload-hook'.
6136 (tramp-cache-data, tramp-get-file-property)
6137 (tramp-set-file-property, tramp-flush-file-property)
6138 (tramp-flush-directory-property, tramp-get-connection-property)
6139 (tramp-set-connection-property, tramp-flush-connection-property)
6140 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6142 (with-file-property, with-connection-property): New defuns, moved
6144 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6147 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6148 (tramp-version): Set tramp-autoload cookie.
6150 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6151 changes to tramp-unload-hook for other tramp-* packages. Add to
6152 `tramp-unload-hook'.
6153 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6154 (tramp-compat-call-process): New defuns, moved from tramp.el.
6156 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6157 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6158 Add to `tramp-unload-hook'. Change call of
6159 `tramp-compat-decimal-to-octal' to new function name.
6160 (tramp-fish-method): Make it a defconst.
6161 (tramp-fish-file-name-p): Make it a defsubst.
6162 (tramp-fish-method, tramp-fish-file-name-handler)
6163 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6165 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6166 `tramp-foreign-file-name-handler-alist'. Add to
6167 `tramp-unload-hook'.
6168 (tramp-ftp-method): Make it a defconst.
6169 (tramp-ftp-file-name-p): Make it a defsubst.
6170 (tramp-ftp-method, tramp-ftp-file-name-handler)
6171 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6173 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6174 `tramp-foreign-file-name-handler-alist'. Add to
6175 `tramp-unload-hook'. Change checks, whether package can be
6177 (tramp-gvfs-file-name-p): Make it a defsubst.
6178 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6179 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6180 (tramp-gvfs-handle-file-directory-p): New defun.
6181 (tramp-gvfs-file-name-handler-alist): Use it.
6183 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6184 `tramp-foreign-file-name-handler-alist'. Add to
6185 `tramp-unload-hook'.
6186 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6187 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6189 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6190 (tramp-gw-open-connection): Set tramp-autoload cookie.
6192 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6193 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6194 Add to `tramp-unload-hook'. Change checks, whether package can be
6196 (tramp-imap-file-name-p): Make it a defsubst.
6197 (tramp-imap-method, tramp-imaps-method)
6198 (tramp-imap-file-name-handler)
6199 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6201 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6202 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6203 Add to `tramp-unload-hook'. Change checks, whether package can be
6204 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6206 (tramp-smb-tunnel-method): Make it a defconst.
6207 (tramp-smb-file-name-p): Make it a defsubst.
6208 (tramp-smb-method, tramp-smb-file-name-handler)
6209 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6211 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6212 (tramp-uuencode-region): Set tramp-autoload cookie.
6214 * net/trampver.el (top) Add to `tramp-unload-hook'.
6215 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6216 cookie. Update release number.
6218 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6220 * textmodes/ispell.el (ispell-start-process): Make sure original
6221 arg list is properly initialized (Bug#6993, Bug#6994).
6223 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6225 * files.el (directory-abbrev-alist): Use \` as default regexp.
6227 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6228 chars like - or ] (bug#6984).
6229 (rx-any-condense-range): Explode 2-char ranges.
6231 2010-09-06 Glenn Morris <rgm@gnu.org>
6233 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6235 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6237 * textmodes/bibtex.el:
6238 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6240 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6242 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6243 since no callers use it.
6244 (imap-message-get): Ditto.
6245 (imap-message-put): Ditto.
6246 (imap-mailbox-map): Ditto.
6247 (imap-mailbox-put): Ditto.
6248 (imap-mailbox-get): Ditto.
6249 (imap-mailbox-get): Revert last change for this function.
6251 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6253 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6254 callers to use `imap-fetch' instead. According to the comments, this
6255 should be safe, since all other IMAP clients use the 1:* syntax.
6256 (imap-enable-exchange-bug-workaround): Remove.
6257 (imap-debug): Remove -- doesn't seem very useful.
6259 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6261 * net/imap.el (imap-log): New convenience function used throughout
6262 instead of repeating the same code all over the place.
6264 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6266 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6267 when mouse-drag-copy-region is non-nil (Bug#6956).
6269 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6271 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6272 Improve regexps (Bug#6987).
6273 (dired-sort-toggle): Search more robustly for -t flag.
6275 * files.el (get-free-disk-space): Search more robustly for
6276 "available" column. Suggested by Ehud Karni
6277 <ehud@unix.mvs.co.il>.
6279 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6281 * international/uni-bidi.el:
6282 * international/uni-category.el:
6283 * international/uni-combining.el:
6284 * international/uni-decimal.el:
6285 * international/uni-mirrored.el:
6286 * international/uni-name.el: Regenerate.
6288 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6290 * electric.el (electric-indent-post-self-insert-function):
6291 Don't reindent with a sloppy indentation function.
6293 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6294 border case in change-log-mode.
6296 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6298 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6299 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6300 Recognize leading tab in gcc-include regexp. Ignore names with
6301 leading "from" or "in" in gnu regexp (Bug#6937).
6303 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6305 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6306 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6307 (ispell-start-process): Avoid setq and simplify logic.
6308 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6309 (kill-buffer-hook): Don't use it globally with code that uses
6310 expand-file-name since that may call kill-buffer via
6311 code_conversion_restore.
6313 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6315 * emacs-lisp/package.el (package-directory-list): Only call
6316 file-name-nondirectory on a string.
6318 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6320 * emacs-lisp/package.el (package--download-one-archive):
6321 Ensure that archive-contents is valid before saving it.
6322 (package-activate-1, package-mark-obsolete, define-package)
6323 (package-compute-transaction, package-list-maybe-add): Use push.
6325 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6327 Use SMIE's blink-paren for octave-mode.
6328 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6329 Backslashes do not escape single-quotes, single-quotes do.
6330 (octave-block-else-regexp, octave-block-end-regexp)
6331 (octave-block-match-alist): Remove.
6332 (octave-smie-bnf-table): New var, with old content.
6333 (octave-smie-op-levels): Use it.
6334 (octave-smie-closer-alist): New var.
6335 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6336 (octave-blink-matching-block-open): Remove.
6337 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6338 (octave-electric-space): Let self-insert-command run expand-abbrev and
6341 * electric.el (electricity): New group.
6342 (electric-indent-chars): New var.
6343 (electric-indent-post-self-insert-function): New fun.
6344 (electric-indent-mode): New minor mode.
6345 (electric-pair-skip-self): New custom.
6346 (electric-pair-post-self-insert-function): New function.
6347 (electric-pair-mode): New minor mode.
6349 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6350 calcAlg-blink-matching-open.
6351 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6352 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6353 Use the new blink-matching-check-function.
6355 Provide blink-matching support to SMIE.
6356 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6357 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6358 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6360 * simple.el (newline): Fix last change to properly remove itself from
6363 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6365 * simple.el (newline): Eliminate optimization.
6366 Use post-self-insert-hook to set hard-newline and things before
6367 running post-self-insert-hook.
6368 (blink-matching-check-mismatch): New function.
6369 (blink-matching-check-function): New variable.
6370 (blink-matching-open): Use them.
6371 Skip back forward over prefix chars skipped by forward-sexp.
6372 Don't check if the parens are backslash escaped.
6373 (blink-paren-post-self-insert-function): Check backslash escaping here.
6375 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6377 * emacs-lisp/package.el (package-menu-mode-map):
6378 Change package-menu-revert bindings to revert-buffer.
6379 (package-menu-mode): Set revert-buffer-function.
6380 (package-menu-revert): Doc fix.
6382 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6384 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6385 `default-directory' unless using Ispell per-directory personal
6386 dictionaries and not in a mini-buffer under XEmacs.
6387 (kill-buffer-hook): Do not kill ispell process on exit when
6388 `ispell-process-directory' is "~/". (Bug#6143)
6390 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6392 * simple.el (kill-new): Call interprogram-cut-function with only
6395 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6396 Remove cut buffer from error message.
6398 * term/x-win.el (x-select-text):
6399 * term/pc-win.el (x-selection-value):
6400 * term/ns-win.el (x-selection-value):
6401 * eshell/em-term.el:
6402 * w32-fns.el (x-get-selection-value):
6403 * mouse-sel.el (mouse-sel-set-selection-function):
6404 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6406 * term/x-win.el: Update documentation for x-last-selected-text-*.
6407 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6408 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6409 (x-select-text): Remove argument PUSH, update documentation.
6410 Remove cut-buffer code.
6411 (x-selection-value-internal): Was previously x-selection-value.
6412 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6413 Update documentation, remove cut-buffer code.
6414 Call x-selection-value-internal.
6415 (x-clipboard-yank): Call x-selection-value-internal.
6416 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6418 * term/pc-win.el (x-last-selected-text):
6419 x-cut-buffer-or-selection-value renamed to x-selection-value
6420 (x-select-text): Remove argument PUSH, update documentation.
6422 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6423 x-cut-buffer-or-selection-value renamed to x-selection-value
6424 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6425 (x-select-text): Remove argument PUSH, update documentation.
6427 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6429 * w32-fns.el (x-last-selected-text):
6430 x-cut-buffer-or-selection-value renamed to x-selection-value.
6431 (x-cut-buffer-max): Remove.
6432 (x-select-text): Remove argument PUSH, update documentation.
6434 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6436 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6438 * mouse-sel.el (mouse-sel-get-selection-function):
6439 x-cut-buffer-or-selection-value renamed to x-selection-value.
6440 (x-select-text): Remove optional push.
6442 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6444 * simple.el (blink-paren-function): Move from C to here.
6445 (blink-paren-post-self-insert-function): New function.
6446 (post-self-insert-hook): Use it.
6448 * emacs-lisp/pcase.el (pcase-split-memq):
6449 Fix overenthusiastic optimisation.
6450 (pcase-u1): Handle the case of a lambda pred.
6452 2010-08-31 Kenichi Handa <handa@m17n.org>
6454 * international/mule-cmds.el (standard-display-european-internal):
6455 Setup standard-display-table for 8-bit characters by storing 8-bit
6456 characters in the element vector.
6458 * disp-table.el (standard-display-8bit):
6459 Setup standard-display-table for 8-bit characters by storing 8-bit
6460 characters in the element vector.
6461 (standard-display-european): Likewise.
6463 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6465 * textmodes/nroff-mode.el (nroff-view): New command.
6466 (nroff-mode-map): Bind it to C-c C-c.
6468 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6470 * emacs-lisp/smie.el (smie-down-list): New command.
6472 Remove old indentation and navigation code on octave-mode.
6473 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6474 smie-down-list rather than add a binding for octave-down-block.
6475 (octave-mark-block, octave-blink-matching-block-open):
6476 Rely on forward-sexp-function.
6477 (octave-fill-paragraph): Don't narrow, so you can use
6478 indent-according-to-mode.
6479 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6480 (octave-in-block-p, octave-re-search-forward-kw)
6481 (octave-re-search-backward-kw, octave-indent-calculate)
6482 (octave-end-as-array-index-p, octave-block-end-offset)
6483 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6484 (octave-down-block, octave-backward-up-block, octave-up-block)
6485 (octave-before-magic-comment-p, octave-indent-line): Remove.
6487 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6489 * emacs-lisp/package.el (package--read-archive-file): Just use
6490 `read', to avoid copying an additional string.
6491 (package-menu-mode): Set header-line-format here.
6492 (package-menu-refresh, package-menu-revert): Signal an error if
6493 not in the Package Menu.
6494 (package-menu-package-list): New var.
6495 (package--generate-package-list): Operate on the current buffer;
6496 don't assume that it is *Packages*, since the user may rename it.
6497 Allow persistent package listings and sort keys using
6498 package-menu-package-list and package-menu-package-sort-key.
6499 (package-menu--version-predicate): Fix version calculation.
6500 (package-menu-sort-by-column): Don't select the window.
6501 (package--list-packages): Create the *Packages* buffer.
6502 Set package-menu-package-list-key.
6503 (list-packages): Sorting by status is now the default.
6504 (package-buffer-info): Use match-string-no-properties.
6505 (define-package): Add a &rest argument for future proofing, but
6507 (package-install-from-buffer, package-install-buffer-internal):
6508 Merge into a single function, package-install-from-buffer.
6509 (package-install-file): Change caller.
6511 * finder.el: Load finder-inf using `require'.
6512 (finder-list-matches): Sorting by status is now the default.
6513 (finder-compile-keywords): Simpify printing.
6515 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6517 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6518 (octave-mode-map): Remove special bindings for forward/backward-block
6519 and octave-backward-up-block. Use smie-close-block.
6520 (octave-continuation-marker-regexp): New var.
6521 (octave-continuation-regexp): Use it.
6522 (octave-operator-table, octave-smie-op-levels)
6523 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6524 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6525 (octave-mode): Use SMIE.
6526 (octave-close-block): Delete.
6528 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6530 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6531 CLIPBOARD, not in PRIMARY. (Bug#6944)
6533 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6535 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6537 (smie-indent-column): Allow indirection through variables.
6539 * composite.el (save-buffer-state): Delete, unused.
6540 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6541 (font-lock-default-fontify-region): Use with-syntax-table.
6542 * jit-lock.el (with-buffer-unmodified): Remove.
6543 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6545 Use `declare' in defmacros.
6546 * window.el (save-selected-window):
6547 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6548 * progmodes/python.el (def-python-skeleton):
6549 * net/dbus.el (dbus-ignore-errors):
6550 * jka-cmpr-hook.el (with-auto-compression-mode):
6551 * international/mule.el (with-category-table):
6552 * emacs-lisp/timer.el (with-timeout):
6553 * emacs-lisp/lisp-mnt.el (lm-with-file):
6554 * emacs-lisp/eieio.el (with-slots):
6555 * emacs-lisp/easymenu.el (easy-menu-define):
6556 * emacs-lisp/debug.el (debugger-env-macro):
6557 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6558 (Multiple-value-call, Multiple-value-prog1):
6559 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6560 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6561 edebug rule to definition.
6562 * emacs-lisp/lisp-mode.el (save-selected-window)
6563 (with-current-buffer, combine-after-change-calls)
6564 (with-output-to-string, with-temp-file, with-temp-buffer)
6565 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6566 (dolist, dotimes, when, unless):
6567 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6569 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6571 * finder.el: Require `package'.
6572 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6573 (finder-package-info): Var deleted.
6574 (finder-keywords-hash, finder--builtins-alist): New vars.
6575 (finder-compile-keywords): Compute package--builtins and
6576 finder-keywords-hash instead of finder-keywords-hash, respecting
6577 the "Package" header.
6578 (finder-unknown-keywords, finder-list-matches):
6579 Use finder-keywords-hash and package--list-packages.
6580 (finder-mode): Don't set font-lock-defaults.
6581 (finder-exit): We don't use "*Finder-package*" and "*Finder
6582 Category*" buffers anymore.
6584 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6585 (package--builtins): Set default value to nil.
6586 (package-initialize): Load precomputed value of package--builtins
6588 (package-alist, package-compute-transaction)
6589 (package-download-transaction): Improve docstring.
6590 (package-read-all-archive-contents): Do not change
6591 package--builtins here.
6592 (list-packages): Make package-list-packages an alias for this.
6593 Sort by status by default.
6594 (package--list-packages): Add optional PACKAGES arg.
6595 (describe-package-1): Use font-lock-face property. For built-in
6596 packages, insert file commentary.
6597 (package--generate-package-list): Rename from
6598 package-list-packages-internal; all callers changed. Add optional
6599 PACKAGES arg. Add alphabetical sort fallbacks.
6600 (package-menu--version-predicate, package-menu--status-predicate)
6601 (package-menu--description-predicate)
6602 (package-menu--name-predicate): New functions.
6604 * info.el (Info-finder-find-node): Search package-alist instead of
6605 finder-package-info.
6607 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6609 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6611 (version-to-list): Handle versions like "10.3d".
6613 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6615 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6616 (macroexp-accumulate): Use `declare'.
6618 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6620 * whitespace.el (whitespace-style): Adjust type declaration.
6622 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6624 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6625 empty argument to gvfs-copy.
6627 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6629 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6630 handle new TRASH arg of `delete-file'.
6632 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6634 * net/tramp.el (tramp-handle-insert-directory): Don't use
6635 `forward-word', its default syntax could be changed.
6637 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6638 Michael Albinus <michael.albinus@gmx.de>
6640 Implement compression for inline methods.
6642 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6643 (tramp-copy-size-limit): Allow also nil.
6644 (tramp-inline-compress-commands): New defconst.
6645 (tramp-find-inline-compress, tramp-get-inline-compress)
6646 (tramp-get-inline-coding): New defuns.
6647 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6648 replaced by `tramp-get-inline-coding'.
6649 (tramp-handle-file-local-copy, tramp-handle-write-region)
6650 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6652 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6654 Detect ssh 'ControlMaster' argument automatically in some cases.
6656 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6657 (tramp-default-method): Use it.
6659 2010-08-26 Karel Klíč <kklic@redhat.com>
6661 * net/tramp.el (tramp-file-name-for-operation):
6662 Add file-selinux-context.
6664 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6666 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6668 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6670 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6673 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6675 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6676 (js-paren-indent-offset, js-square-indent-offset)
6677 (js-curly-indent-offset): New options.
6678 (js--proper-indentation): Use them.
6680 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6682 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6683 instead of inspecting font-lock properties (Bug#6916).
6685 2010-08-26 David Reitter <david.reitter@gmail.com>
6687 * server.el (server-visit-files): Run pre-command-hook and
6688 post-command-hook for each buffer while it is current (Bug#6910).
6689 (server-execute): Do not run hooks here.
6691 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6693 Sync with Tramp 2.1.19.
6695 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6696 (tramp-reporter-dump-variable, tramp-load-report-modules)
6697 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6698 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6700 * net/tramp-compat.el (top): Do not autoload
6701 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6702 only when `start-file-process' is not bound.
6703 (byte-compile-not-obsolete-vars): Define if not bound.
6704 (tramp-compat-funcall): New defmacro.
6705 (tramp-compat-line-beginning-position)
6706 (tramp-compat-line-end-position)
6707 (tramp-compat-temporary-file-directory)
6708 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6709 (tramp-compat-copy-file, tramp-compat-copy-directory)
6710 (tramp-compat-delete-file, tramp-compat-delete-directory)
6711 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6713 (tramp-advice-file-expand-wildcards): Do not use
6714 `tramp-handle-file-remote-p'.
6715 (tramp-compat-make-temp-file): Simplify fallback implementation.
6716 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6717 (tramp-compat-copy-tree): Remove function.
6718 (tramp-compat-delete-file): New defun.
6719 (tramp-compat-delete-directory): Provide implementation for older
6721 (tramp-compat-file-attributes): Handle only
6722 `wrong-number-of-arguments' error.
6724 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6725 Add PRESERVE_SELINUX_CONTEXT.
6726 (tramp-fish-handle-delete-file): Add TRASH arg.
6727 (tramp-fish-handle-directory-files-and-attributes):
6728 Do not use `tramp-fish-handle-file-attributes.
6729 (tramp-fish-handle-file-local-copy)
6730 (tramp-fish-handle-insert-file-contents)
6731 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6733 * net/tramp-gvfs.el (top): Require url-util.
6734 (tramp-gvfs-mount-point): Remove.
6735 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6736 and `set-file-selinux-context'.
6737 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6738 (tramp-gvfs-handle-file-selinux-context)
6739 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6740 (with-tramp-dbus-call-method): Format trace message.
6741 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6742 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6743 Implement backup call, when operation on local files fails.
6744 Use progress reporter. Flush properties of changed files.
6745 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6746 Use `tramp-compat-delete-file'.
6747 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6748 (tramp-gvfs-handle-make-directory): Make more traces.
6749 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6750 (tramp-gvfs-url-file-name): Hexify file name in url.
6751 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6752 into account for the resulting file name.
6753 (tramp-gvfs-handler-askquestion): Preserve current message, in
6754 order to let progress reporter continue afterwards. (Bug#6257)
6755 Return dummy mountpoint, when the answer is "no".
6756 See `tramp-gvfs-maybe-open-connection'.
6757 (tramp-gvfs-handler-mounted-unmounted)
6758 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6759 attribute "default_location". Set "prefix" property.
6760 Handle default-location.
6761 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6762 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6763 exists. Raise an error, if not (due to a corresponding answer
6764 "no" in interactive questions, for example).
6765 Use `tramp-compat-funcall'.
6767 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6768 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6769 (tramp-imap-do-copy-or-rename-file)
6770 (tramp-imap-handle-insert-file-contents)
6771 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6772 (tramp-imap-handle-delete-file): Add TRASH arg.
6774 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6775 Add PRESERVE-SELINUX-CONTEXT.
6776 (tramp-smb-handle-copy-file)
6777 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6778 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6779 Use `with-progress-reporter'.
6780 (tramp-smb-handle-delete-file): Add TRASH arg.
6782 * net/tramp.el (tramp-methods): Move hostname to the end in all
6783 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6785 (tramp-verbose): Describe verbose level 9.
6786 (tramp-completion-function-alist)
6787 (tramp-file-name-regexp, tramp-chunksize)
6788 (tramp-local-coding-commands, tramp-remote-coding-commands)
6789 (with-connection-property, tramp-completion-mode-p)
6790 (tramp-action-process-alive, tramp-action-out-of-band)
6791 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6792 (tramp-exists-file-name-handler): Fix docstring.
6793 (tramp-remote-process-environment): Use `format' instead of
6794 `concat'. Protect version string by apostroph.
6795 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6797 (tramp-file-name-regexp-unified)
6798 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6799 not regard the volume letter as remote filename. (Bug#5447)
6800 (tramp-perl-file-attributes)
6801 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6802 (tramp-vc-registered-read-file-names): Read input as
6803 here-document, otherwise the command could exceed maximum length
6805 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6806 `set-file-selinux-context'.
6807 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6808 backtrace functions.
6809 (tramp-error-with-buffer): Don't show the connection buffer when
6810 we are in completion mode.
6811 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6812 (tramp-handle-file-selinux-context)
6813 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6814 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6816 (with-progress-reporter): New defmacro.
6817 (tramp-debug-outline-regexp): New defconst.
6818 (top, tramp-rfn-eshadow-setup-minibuffer)
6819 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6820 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6821 (tramp-completion-mode-p, tramp-check-for-regexp)
6822 (tramp-open-connection-setup-interactive-shell)
6823 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6824 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6825 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6826 Use `tramp-compat-funcall'.
6827 (tramp-handle-make-symbolic-link): Flush file properties.
6828 (tramp-handle-load, tramp-handle-file-local-copy)
6829 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6830 (tramp-handle-vc-registered, tramp-maybe-send-script)
6831 (tramp-find-shell): Use `with-progress-reporter'.
6832 (tramp-do-file-attributes-with-stat): Add space in format string,
6833 in order to work around a bug in pdksh. Reported by Gilles Pion
6835 (tramp-handle-verify-visited-file-modtime): Do not send a command
6836 when the connection is not established.
6837 (tramp-handle-set-file-times): Simplify the check for utc.
6838 (tramp-handle-directory-files-and-attributes)
6839 (tramp-get-remote-path): Use `copy-tree'.
6840 (tramp-completion-handle-file-name-all-completions): Ensure, that
6841 non remote files are still checked. Oops.
6842 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6843 Handle PRESERVE-SELINUX-CONTEXT.
6844 (tramp-do-copy-or-rename-file): Add progress reporter.
6845 (tramp-do-copy-or-rename-file-directly): Do not use
6846 `tramp-handle-file-remote-p'.
6847 (tramp-do-copy-or-rename-file-out-of-band):
6848 Use `tramp-compat-delete-directory'.
6849 (tramp-do-copy-or-rename-file-out-of-band)
6850 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6851 Use `format-spec-make'.
6852 (tramp-handle-delete-file): Add TRASH arg.
6853 (tramp-handle-dired-uncache): Flush directory cache, not only file
6855 (tramp-handle-expand-file-name)
6856 (tramp-completion-handle-file-name-all-completions)
6857 (tramp-completion-handle-file-name-completion):
6858 Use `tramp-connectable-p'.
6859 (tramp-handle-start-file-process): Set connection property "vec".
6860 Use it, in order to invalidate file caches. Check only for
6861 `remote-tty' process property.
6862 Implement tty setting. (Bug#4604, Bug#6360)
6863 (tramp-file-name-for-operation): Add `call-process-region' and
6864 `set-file-selinux-context'.
6865 (tramp-find-foreign-file-name-handler)
6866 (tramp-advice-make-auto-save-file-name)
6867 (tramp-set-auto-save-file-modes): Remove superfluous check for
6868 `stringp'. This is done inside `tramp-tramp-file-p'.
6869 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6870 operations when we are in completion mode. This gives the user
6871 the chance to correct the file name in the minibuffer.
6872 (tramp-completion-mode-p): Use `non-essential'.
6873 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6874 compatibility: Use `completion-ignore-case' if
6875 `read-file-name-completion-ignore-case' does not exist.
6876 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6877 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6879 (tramp-action-password): Hide password prompt before next run.
6880 (tramp-process-actions): Widen connection buffer for the trace.
6881 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6882 process property. Trace stty settings if `tramp-verbose' >= 9.
6883 Apply workaround for IRIX64 bug. Move argument of last
6884 `tramp-send-command' where it belongs to.
6885 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6886 front of `login-args'.
6887 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6888 on "/dev/null" instead of "/".
6889 (tramp-get-ls-command-with-dired): Make test for "--dired"
6891 (tramp-set-auto-save-file-modes): Adapt version check.
6892 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6893 (tramp-handle-process-file): Call the program in a subshell, in
6894 order to preserve working directory.
6895 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6896 `tramp-remote-sh' from `tramp-methods'.
6897 (tramp-get-ls-command): Make test for "--color=never" stronger.
6898 (tramp-check-for-regexp): Use (forward-line 1).
6900 * net/trampver.el: Update release number.
6902 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6904 * help.el (help-map): Bind `C-h P' to describe-package.
6906 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6908 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6909 when downloading archives.
6910 (describe-package-1): Add package commentary.
6911 (package-install-button-action): New function.
6912 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6913 (package-menu-view-commentary): Function removed.
6914 (package-list-packages-internal): Hide the `package' package too.
6916 2010-08-25 Kenichi Handa <handa@m17n.org>
6918 * language/misc-lang.el ("Arabic"): New language environment.
6919 Setup composition-function-table for Arabic characters.
6921 * international/fontset.el (setup-default-fontset): Fix typo for
6922 arabic OTF spec (fini->fina).
6924 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6926 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6929 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6931 * whitespace.el: Allow cleaning up blanks without blank
6932 visualization (Bug#6651). Adjust help window for
6933 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6934 instead of whitespace-line-column (from EmacsWiki). New version
6936 (whitespace-style): Add new value 'face. Adjust docstring.
6937 (whitespace-space, whitespace-hspace, whitespace-tab):
6938 Adjust foreground property face.
6939 (whitespace-line-column): Adjust docstring and type declaration.
6940 (whitespace-style-value-list, whitespace-toggle-option-alist)
6941 (whitespace-help-text): Adjust const initialization.
6942 (whitespace-toggle-options, global-whitespace-toggle-options):
6944 (whitespace-display-window, whitespace-interactive-char)
6945 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6946 (whitespace-help-scroll): New fun.
6948 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6950 * emacs-lisp/package.el (list-packages): Alias for
6951 package-list-packages.
6953 2010-08-24 Kevin Ryde <user42@zip.com.au>
6955 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6958 * progmodes/ruby-mode.el (ruby): Add defgroup.
6960 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6962 * progmodes/python.el: Add Ipython support (Bug#5390).
6963 (python-shell-prompt-alist)
6964 (python-shell-continuation-prompt-alist): New options.
6965 (python--set-prompt-regexp): New function.
6966 (inferior-python-mode, run-python, python-shell):
6967 Require ansi-color. Use python--set-prompt-regexp to set the comint
6968 prompt based on the Python interpreter.
6969 (python--prompt-regexp): New var.
6970 (python-check-comint-prompt)
6971 (python-comint-output-filter-function): Use it.
6972 (run-python): Use a pipe (Bug#5694).
6974 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6976 * progmodes/python.el (python-send-region): Send a different
6977 Python command if Ipython is in use.
6978 (python-check-version): Use a Python command to find the version.
6980 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6982 * mouse.el (mouse-yank-primary): Avoid setting primary when
6983 deactivating the mark (Bug#6872).
6985 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6987 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6988 with "else" (Bug#3991).
6990 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6992 * net/dbus.el: Accept UNIX domain sockets as bus address.
6993 (top): Don't initialize `dbus-registered-objects-table' anymore,
6994 this is done in dbusbind,c.
6995 (dbus-check-event): Adapt test for bus.
6996 (dbus-return-values-table, dbus-unregister-service)
6997 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7000 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7002 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7004 2010-08-22 Juri Linkov <juri@jurta.org>
7006 * simple.el (read-extended-command): New function with the logic
7007 for `completing-read' moved to Elisp from `execute-extended-command'.
7008 Use `function-called-at-point' in `minibuffer-default-add-function'
7009 to get a command name for M-n (bug#5364, bug#5214).
7011 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7013 * startup.el (command-line-1): Issue warning for ignored arguments
7014 --unibyte, etc (Bug#6886).
7016 2010-08-22 Leo <sdl.web@gmail.com>
7018 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7019 (ignore, bright, dim, keyword): Split list of nicknames before
7020 passing to rcirc-add-or-remove (Bug#6894).
7022 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7024 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7026 2010-08-22 Leo <sdl.web@gmail.com>
7028 Fix buffer-list rename&refresh after killing a buffer in ido.
7029 * ido.el: Revert Óscar's.
7030 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7031 Remember the buffers at head, rather than their name.
7032 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7034 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7035 Stefan Monnier <monnier@iro.umontreal.ca>
7037 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7038 extra backslash added to each line (bug#6890).
7040 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7042 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7044 2010-08-22 Glenn Morris <rgm@gnu.org>
7046 * menu-bar.el (menu-bar-games-menu): Add landmark.
7048 2010-08-22 Glenn Morris <rgm@gnu.org>
7050 * align.el (align-regexp): Make group and spacing arguments
7051 use the interactive defaults when non-interactive. (Bug#6698)
7053 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7054 expansion, so as not to need sendmail.
7055 (mail-text-start): Remove declaration.
7056 (rmail-retry-failure): Require sendmail.
7058 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7060 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7062 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7064 * progmodes/flymake.el (flymake-start-syntax-check-process):
7065 Use `start-file-process' in order to let it run also on remote hosts.
7067 2010-08-22 Kenichi Handa <handa@m17n.org>
7069 * files.el: Add `word-wrap' as safe local variable.
7071 2010-08-22 Glenn Morris <rgm@gnu.org>
7073 * woman.el (woman-translate): Case matters. (Bug#6849)
7075 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7077 * simple.el (kill-region): Doc fix (Bug#6787).
7079 2010-08-22 Glenn Morris <rgm@gnu.org>
7081 * calendar/diary-lib.el (diary-header-line-format):
7082 Fit it to the window, not the frame.
7084 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7086 * subr.el (ignore-errors): Add debug declaration.
7088 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7090 * whitespace.el (whitespace-color-off): Remove post-command-hook
7093 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7095 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7097 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7099 * cus-edit.el (custom-group-value-create): Add extra newline
7100 before end line (Bug#6876).
7102 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7104 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7105 when extending it. Before killing on the second click, check if
7106 the buffer is the correct one. Doc fix.
7107 (mouse-secondary-save-then-kill): Allow usage without first
7108 calling mouse-start-secondary, by defaulting to point. Don't save
7109 an empty secondary selection. Doc fix.
7111 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7113 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7114 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7116 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7117 Adjust initialization.
7118 (whitespace-bob-marker, whitespace-eob-marker)
7119 (whitespace-buffer-changed): New vars.
7120 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7121 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7122 (whitespace-post-command-hook, whitespace-display-char-on):
7124 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7125 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7127 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7129 * files.el (locate-file-completion-table): Only list the .el and .elc
7130 extensions if there's no other choice (bug#5955).
7132 * facemenu.el (facemenu-self-insert-data): New var.
7133 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7135 (facemenu-add-face): Use them.
7137 * simple.el (blink-matching-open): Obey forward-sexp-function.
7139 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7141 * simple.el (prog-mode-map): New var.
7142 (prog-indent-sexp): New command.
7144 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7146 * progmodes/prolog.el (smie): Require.
7148 * emacs-lisp/smie.el (smie-default-backward-token)
7149 (smie-default-forward-token): Strip properties.
7150 (smie-next-sexp): Be more careful with associative operators.
7151 (smie-forward-sexp-command): Generalize.
7152 (smie-backward-sexp-command): Simplify.
7153 (smie-closer-alist): New var.
7154 (smie-close-block): New command.
7155 (smie-indent-debug-log): New var.
7156 (smie-indent-offset-rule): Add a few more cases.
7157 (smie-indent-column): New function.
7158 (smie-indent-after-keyword): Use it.
7159 (smie-indent-keyword): Use it.
7160 Fix up the opener code's point position.
7161 (smie-indent-comment): Only applies at BOL.
7162 (smie-indent-debug): New command.
7164 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7165 declarations that are useful before running the macro.
7167 2010-08-18 Joakim Verona <joakim@verona.se>
7169 * image.el (imagemagick-types-inhibit): New variable.
7170 (imagemagick-register-types): New function.
7171 * image-mode.el (image-transform-properties): New function.
7172 (image-transform-set-scale, image-transform-fit-to-height)
7173 (image-transform-set-rotation, image-transform-set-resize)
7174 (image-transform-fit-to-width, image-transform-fit-to-height):
7176 (image-toggle-display-image): Support image transforms.
7178 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7180 * image.el (create-animated-image): Don't add heuristic mask to image
7183 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7185 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7186 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7188 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7190 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7192 Font-lock '...' strings, plus various simplifications and fixes.
7193 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7194 (octave-font-lock-close-quotes): New function.
7195 (octave-font-lock-syntactic-keywords): New var.
7196 (octave-mode): Use it. Set beginning-of-defun-function.
7197 (octave-mode-map): Don't override the <foo>-defun commands.
7198 (octave-mode-menu): Pass it directly to easy-menu-define;
7199 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7200 (octave-block-match-alist): Fix up last change so that
7201 octave-close-block uses the more specific keyword.
7202 (info-lookup-mode): Silence byte-compiler.
7203 (octave-beginning-of-defun): Not interactive any more.
7205 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7206 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7207 (octave-completion-at-point-function): Make sure point is within
7209 (octave-reindent-then-newline-and-indent):
7210 Use reindent-then-newline-and-indent.
7211 (octave-add-octave-menu): Remove.
7213 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7215 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7216 (report-emacs-bug-can-use-xdg-email): New functions.
7217 (report-emacs-bug): Set can-xdg-email to result of
7218 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7219 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7222 * net/browse-url.el (browse-url-default-browser): Add cond
7223 for browse-url-xdg-open.
7224 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7226 2010-08-17 Glenn Morris <rgm@gnu.org>
7228 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7229 (c-fontify-recorded-types-and-refs): Define for compiler.
7230 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7233 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7236 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7238 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7240 (tramp-handle-process-file): Call the program in a subshell, in
7241 order to preserve working directory.
7242 (tramp-action-password): Hide password prompt before next run.
7243 (tramp-process-actions): Widen connection buffer for the trace.
7245 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7247 * net/rcirc.el (rcirc-log-process-buffers): New option.
7248 (rcirc-print): Use it.
7249 (rcirc-generate-log-filename): New function.
7250 (rcirc-log-filename-function): Change default to
7251 rcirc-generate-log-filename (Bug#6828).
7253 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7255 * simple.el (deactivate-mark): If select-active-regions is `only',
7256 only set selection for temporarily active regions.
7258 * cus-start.el: Change defcustom for select-active-regions.
7260 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7262 * mouse.el (mouse--drag-set-mark-and-point): New function.
7263 (mouse-drag-track): Use LOCATION arg to push-mark.
7264 Use mouse--drag-set-mark-and-point to take click-count into
7265 consideration when updating point and mark (Bug#6840).
7267 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7269 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7270 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7272 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7274 * font-lock.el (lisp-font-lock-keywords-2):
7275 Add combine-after-change-calls, condition-case-no-debug,
7276 with-demoted-errors, and with-silent-modifications (Bug#6025).
7278 2010-08-14 Kevin Ryde <user42@zip.com.au>
7280 * emacs-lisp/copyright.el (copyright-update-year)
7281 (copyright-update): Temporary switch-to-buffer to ensure the
7282 buffer change being queried is visible (Bug#5394).
7284 2010-08-14 Tom Tromey <tromey@redhat.com>
7286 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7289 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7291 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7294 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7296 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7297 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7298 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7299 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7300 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7301 Call menu-bar-set-tool-bar-position.
7303 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7305 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7306 comment style (bug#6834).
7307 * progmodes/scheme.el (scheme-mode-syntax-table):
7308 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7309 "b" flag in "' 14b" syntax.
7311 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7312 for (un)commenting the region and performing completion.
7313 (octave-mode-menu): Use standard commands for help and completion.
7314 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7315 (octave-mode): Use define-derived-mode.
7316 Set completion-at-point-functions and don't set columns.
7317 Don't disable adaptive-fill-regexp.
7318 (octave-describe-major-mode, octave-comment-region)
7319 (octave-uncomment-region, octave-comment-indent)
7320 (octave-indent-for-comment): Remove.
7321 (octave-indent-calculate): Rename from calculate-octave-indent.
7322 (octave-indent-line, octave-fill-paragraph): Update caller.
7323 (octave-initialize-completions): No need to make an alist.
7324 (octave-completion-at-point-function): New function.
7325 (octave-complete-symbol): Use it.
7326 (octave-insert-defun): Use define-skeleton.
7328 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7329 (octave-mode-map): Use comment-dwim (bug#6829).
7331 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7333 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7334 indentation of inserted comment.
7336 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7338 * faces.el (region): Add type gtk that uses gtk colors.
7340 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7341 Handle theme-name change.
7343 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7345 * progmodes/sql.el: Version 2.5
7346 (sql-product-alist): Add :prompt-cont-regexp property for several
7348 (sql-prompt-cont-regexp): New variable.
7349 (sql-output-newline-count, sql-output-by-send):
7350 New variables. Record number of newlines in input text.
7351 (sql-send-string): Handle multiple filters and count newlines.
7352 (sql-send-magic-terminator): Count terminator newline.
7353 (sql-interactive-remove-continuation-prompt): Filters output to
7354 remove continuation prompts; one for each newline.
7355 (sql-interactive-mode): Set up new variables, prompt regexp and
7357 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7358 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7360 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7362 * emacs-lisp/pcase.el: New file.
7364 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7366 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7367 as here-document, otherwise the command could exceed maximum
7368 length of command line.
7369 (tramp-handle-vc-registered): Call script accordingly.
7370 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7372 2010-08-10 Kenichi Handa <handa@m17n.org>
7374 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7377 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7379 * emacs-lisp/package.el (package-version-split)
7380 (package--version-first-nonzero, package-version-compare):
7382 (package-directory-list, package-load-all-descriptors)
7383 (package--built-in, package-activate, define-package)
7384 (package-installed-p, package-compute-transaction)
7385 (package-read-all-archive-contents)
7386 (package--add-to-archive-contents, package-buffer-info)
7387 (package-tar-file-info, package-list-packages-internal):
7388 Use version-to-list and version-list-*.
7390 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7391 Use version-to-list.
7392 (package-upload-buffer-internal): Use version-list-<=.
7394 2010-08-09 Kenichi Handa <handa@m17n.org>
7396 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7399 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7401 * tutorial.el (tutorial--default-keys): C-d is now bound to
7402 delete-forward-char (Bug#6826).
7404 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7405 for `double' value of mouse-1-click-follows-link (Bug#6807).
7407 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7409 * replace.el (replace-highlight): Bind isearch-forward and
7410 isearch-error, ensuring that highlighting is updated if the user
7411 switches the search direction (Bug#6808).
7413 * isearch.el (isearch-lazy-highlight-forward): New var.
7414 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7415 (isearch-lazy-highlight-update): Use it.
7417 2010-08-08 Kenichi Handa <handa@m17n.org>
7419 * international/mule.el (define-charset): Store NAME as :base property.
7420 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7421 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7422 current priority. Force using the designation of the specific
7423 charset by adding `charset' text property. Improve the whole algorithm.
7425 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7427 * emulation/pc-select.el (pc-selection-mode-hook)
7428 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7429 (pc-selection-mode): Fix typos in docstrings.
7431 2010-08-08 Kenichi Handa <handa@m17n.org>
7433 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7434 ctext-non-standard-encodings-alist here.
7436 * international/mule.el (ctext-non-standard-encodings-alist):
7437 Add "koi8-r" and "microsoft-cp1251".
7438 (ctext-standard-encodings): New variable.
7439 (ctext-non-standard-encodings-table): List only elements for
7440 non-standard encodings.
7441 (ctext-pre-write-conversion): Adjust for the above change.
7442 Check ctext-standard-encodings.
7444 * international/mule-conf.el (compound-text): Doc fix.
7445 (ctext-no-compositions): Doc fix.
7446 (compound-text-with-extensions): Doc fix.
7448 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7450 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7452 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7454 * progmodes/which-func.el (which-func-format): Split help-echo text
7455 into lines, like other mode-line tooltips.
7457 * server.el (server-start): When using TCP sockets, force IPv4
7458 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7460 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7462 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7464 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7466 * term.el (term-delimiter-argument-list): Reflow docstring.
7467 (term-read-input-ring, term-write-input-ring, term-send-input)
7468 (term-bol, term-erase-in-display, serial-supported-or-barf):
7469 Fix typos in docstrings.
7471 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7473 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7475 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7477 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7479 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7481 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7482 Fix typo in docstring (bug#6747).
7484 2010-08-08 Leo <sdl.web@gmail.com>
7486 * eshell/esh-io.el (eshell-get-target): Better detection of
7487 read-only file (Bug#6762).
7489 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7491 * align.el (align-default-spacing): Doc fix.
7492 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7494 2010-08-08 Stephen Peters <speters@itasoftware.com>
7496 * calendar/icalendar.el
7497 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7498 (icalendar--get-weekday-numbers): New.
7499 (icalendar--convert-recurring-to-diary): Handle multiple byday
7500 values in weekly rules. (Bug#6766)
7502 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7504 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7505 (icalendar--create-uid, icalendar-export-region)
7506 (icalendar--parse-summary-and-rest): Code formatting.
7508 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7510 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7511 to italicize headers.
7512 (calc-highlight-selections-with-faces): New variable.
7513 (calc-selected-face, calc-nonselected-face): New faces.
7515 * calc/calccomp.el (math-comp-highlight-string): Use
7516 `calc-highlight-selections-with-faces' to determine how to highlight
7519 * calc/calc-sel.el (calc-show-selections): Change message to when
7520 using faces to highlight selections.
7522 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7524 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7525 Add SQLite 3 keywords, functions and datatypes.
7526 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7529 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7531 * simple.el (select-active-regions): Move to keyboard.c.
7532 (deactivate-mark): Used saved-region-selection.
7533 (select-active-region): Function removed.
7534 (activate-mark, set-mark, push-mark-command)
7535 (handle-shift-selection): Don't call it.
7536 (keyboard-quit): Avoid adding the region to the window selection.
7538 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7539 select-active-regions implementation.
7540 (mouse-yank-at-click): Doc fix.
7542 * cus-start.el: Add custom declaration for select-active-regions.
7544 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7546 * simple.el (delete-forward-char): Doc fix.
7548 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7549 after reading the tutorial.
7551 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7553 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7554 Fix for the case that a C style comment has its delimiters alone on
7555 their respective lines.
7557 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7559 * net/tramp.el (tramp-handle-start-file-process): Set connection
7561 (tramp-process-sentinel): Use it for flushing the cache.
7562 We cannot do it via the process buffer, the buffer could be deleted
7563 already when running the sentinel.
7565 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7567 * comint.el (comint-mode): Make directory tracking functions
7568 functional on remote files. (Bug#6764)
7570 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7572 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7574 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7576 * emacs-lisp/find-gc.el (find-gc-source-files):
7577 Rename unexec.c => unexcoff.c.
7579 * emacs-lisp/authors.el (authors-fixed-entries):
7580 Rename unexec.c => unexcoff.c.
7582 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7584 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7585 cache, not only file cache.
7586 (tramp-process-sentinel): New defun.
7587 (tramp-handle-start-file-process): Use it, in order to invalidate
7590 2010-08-03 Leo <sdl.web@gmail.com>
7592 * server.el (server-start): Simplify loop.
7594 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7596 * frame.el (screen-height, screen-width, set-screen-width)
7597 (set-screen-height): Remove ancient compatibility aliases.
7599 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7600 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7602 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7603 that change current buffer.
7605 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7607 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7608 beginning of the string. Use `string-match-p'. (Bug#6765)
7610 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7612 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7614 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7616 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7617 (package--builtins): Tweak descriptions.
7618 (package-print-package): Upcase descriptions if necessary.
7619 Show all built-in packages in font-lock-builtin-face.
7620 (package-list-packages-internal): Omit "emacs" package.
7621 Show status of built-in packages as "built-in".
7623 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7625 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7626 before killing to preserve the primary selection (Bug#6701).
7628 * term/x-win.el (x-select-text): Doc fix.
7630 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7632 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7633 (objc-font-lock-extra-types):
7634 * progmodes/cc-mode.el (c-basic-common-init):
7635 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7636 (c++-make-template-syntax-table)
7637 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7638 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7639 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7640 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7641 * progmodes/cc-fonts.el (c-make-inverse-face)
7642 (c-basic-matchers-after):
7643 * progmodes/cc-engine.el (c-forward-keyword-clause)
7644 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7645 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7646 (c-guess-continued-construct, c-guess-basic-syntax):
7647 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7648 The above functions were modified or created.
7650 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7652 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7654 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7656 * files.el (bidi-paragraph-direction): Define safe local values.
7658 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7659 language-info-alist. Remove outdated FIXME in a comment.
7661 2010-07-31 Alan Mackenzie <acm@muc.de>
7663 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7664 Auto-fill broken in C/C++ modes.
7666 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7668 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7669 (menu-bar-showhide-tool-bar-menu-customize-disable)
7670 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7671 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7672 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7673 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7674 make a menu for Options => toolbar that can move it.
7676 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7678 * emacs-lisp/package-x.el (package--make-rss-entry):
7679 (package-maint-add-news-item, package--update-news)
7680 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7682 * emacs-lisp/package.el (package-archive-url): Rename from
7684 (package-install): Doc fix.
7685 (package-download-single, package-download-tar, package-install)
7686 (package-menu-view-commentary): Callers changed.
7688 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7690 * net/tramp.el (tramp-handle-start-file-process): Check only for
7691 `remote-tty' process property.
7692 (tramp-open-shell): Don't check for tty.
7693 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7696 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7699 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7701 * emacs-lisp/package.el (package-load-list, package-archives)
7702 (package-archive-contents, package-user-dir)
7703 (package-directory-list, package--builtins, package-alist)
7704 (package-activated-list, package-obsolete-alist): Mark as risky.
7706 2010-07-28 Phil Hagelberg <phil@evri.com>
7708 Add support for non-default package repositories.
7709 * emacs-lisp/package.el (package-archive-base): Var deleted.
7710 (package-archives): New variable.
7711 (package-archive-contents): Doc fix.
7712 (package-load-descriptor): Do nothing if descriptor file is missing.
7713 (package--write-file-no-coding): New function.
7714 (package-unpack-single): Use it.
7715 (package-archive-id): New function.
7716 (package-download-single, package-download-tar)
7717 (package-menu-view-commentary): Use it.
7718 (package-installed-p): Make second argument optional.
7719 (package-read-all-archive-contents): New function.
7720 (package-initialize): Use it.
7721 (package-read-archive-contents): Add ARCHIVE argument.
7722 (package--add-to-archive-contents): New function.
7723 (package-install): Don't call package-read-archive-contents.
7724 (package--download-one-archive): Store archive file in a
7725 subdirectory of package-user-dir.
7726 (package-menu-execute): Remove spurious line movement.
7728 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7730 * cus-start.el (tool-bar-style): Add text-image-horiz.
7732 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7734 * progmodes/gud.el (gud-common-init): Check for remoteness of
7735 `file', and not of `default-directory'.
7737 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7739 * net/tramp.el (tramp-methods): Move hostname to the end in all
7740 ssh `tramp-login-args'.
7741 (tramp-verbose): Describe verbose level 9.
7742 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7743 (tramp-open-connection-setup-interactive-shell): Trace stty
7744 settings if `tramp-verbose' >= 9.
7745 (tramp-handle-start-file-process): Implement tty setting.
7746 (Bug#4604, Bug#6360)
7748 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7749 `tramp-verbose' to 9.
7751 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7753 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7754 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7755 Remove references to package `lisp-re' (bug#4369).
7757 2010-07-27 Tom Tromey <tromey@redhat.com>
7759 * progmodes/js.el (js-mode):
7760 * progmodes/make-mode.el (makefile-mode):
7761 * progmodes/simula.el (simula-mode):
7762 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7764 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7766 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7768 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7769 (display-time-world-buffer-name, display-time-world-mode-map):
7770 Fix typos in docstrings.
7772 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7774 * image-mode.el (image-display-size): New function.
7775 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7776 (image-mode-fit-frame): Use it (Bug#6639).
7778 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7780 * dired.el (dired-buffers-for-dir): Handle list values of
7781 dired-directory (Bug#6636).
7783 2010-07-26 Sam Steingold <sds@gnu.org>
7785 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7786 Do not call `x-get-selection' the second time, reuse the value.
7788 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7790 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7791 which consist of control chars only. Suggested by Richard Stallman.
7793 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7795 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7796 exists before passing an error to find-file-not-found-functions
7799 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7801 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7802 Remove leading nil element, adjust values.
7803 (tetris-shapes, tetris-shape-scores):
7804 Change representation of shapes and remove some redundancy.
7805 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7806 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7807 Adjust for working with new representation of shapes.
7808 (tetris-shape-rotations): New function.
7809 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7810 (tetris-rotate-prev, tetris-rotate-next):
7811 Adjust for working with the new version of tetris-test-shape.
7813 2010-07-23 Markus Triska <markus.triska@gmx.at>
7815 * progmodes/ps-mode.el: Use comint (bug#5954).
7816 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7817 (ps-mode-other-newline): Simplify.
7818 (ps-run-mode): Derive from comint-mode instead of
7819 fundamental-mode, yielding input history etc.
7820 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7821 (ps-run-send-string): Adapt for comint-mode.
7822 (ps-run-newline): Remove now unneeded function.
7824 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7826 * net/tramp.el (tramp-methods): Move hostname to the end in all
7827 plink `tramp-login-args'.
7829 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7831 * net/tramp.el (tramp-open-shell): New defun.
7832 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7835 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7837 * net/tramp.el (tramp-file-name-regexp-unified)
7838 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7839 not regard the volume letter as remote filename. (Bug#5447)
7841 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7843 * custom.el (custom-declare-variable): Give a clearer error message
7844 when the docstring is missing (bug#6476).
7846 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7848 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7849 (sql-login-params): New widget definition.
7850 (sql-oracle-login-params, sql-mysql-login-params)
7851 (sql-solid-login-params, sql-sybase-login-params)
7852 (sql-informix-login-params, sql-ingres-login-params)
7853 (sql-ms-login-params, sql-postgres-login-params)
7854 (sql-interbase-login-params, sql-db2-login-params)
7855 (sql-linter-login-params): Use it.
7856 (sql-sqlite-login-params): Use it; Define "database" parameter as
7858 (sql-sqlite-program): Change to "sqlite3".
7859 (sql-comint-sqlite): Make sure database name is complete.
7860 (sql-for-each-login): New function.
7861 (sql-connect, sql-save-connection): Use it.
7862 (sql-get-login-ext): New function.
7863 (sql-get-login): Use it.
7864 (sql-make-alternate-buffer-name): Handle :file parameters.
7866 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7868 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7869 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7871 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7873 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7875 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7877 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7879 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7881 * net/tramp.el (tramp-get-ls-command)
7882 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7885 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7887 * progmodes/sql.el: Version 2.3.
7888 (sql-connection-alist): Change keys from symbols to strings;
7889 enhanced the widget definition.
7890 (sql-mode-menu): Add submenu to select connections.
7891 (sql-interactive-mode-menu): Add "Save Connection" item.
7892 (sql-add-product): Fix menu item.
7893 (sql-get-product-feature): Improved error handling.
7894 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7895 (sql-make-alternate-buffer-name): Simplified.
7896 (sql-product-interactive): Handle missing product.
7897 (sql-connect): Support string keys, minor improvements.
7898 (sql-save-connection): New function.
7899 (sql-connection-menu-filter): New function.
7901 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7903 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7904 (tramp-open-connection-setup-interactive-shell):
7905 Apply workaround for IRIX64 bug. Move argument of last
7906 `tramp-send-command' where it belongs to.
7908 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7910 * net/tramp.el (tramp-perl-file-attributes)
7911 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7912 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7913 front of `login-args'.
7915 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7917 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7918 Set `show-trailing-whitespace' to nil.
7919 (display-time-world-display): Simplify.
7921 2010-07-18 Alan Mackenzie <acm@muc.de>
7923 Enhance `c-file-style' in file/directory local variables.
7924 * progmodes/cc-mode.el (c-count-cfss): New function.
7925 (c-before-hack-hook): Call `c-set-style' differently according to
7926 whether c-file-style was set in file or directory local
7929 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7931 * progmodes/sql.el: Version 2.2.
7932 (sql-product, sql-user, sql-database, sql-server, sql-port):
7933 Use defcustom :safe keyword rather than putting safe-local-variable
7935 (sql-password): Use defcustom :risky keyword rather than putting
7936 risky-local-variable property.
7937 (sql-oracle-login-params, sql-sqlite-login-params)
7938 (sql-solid-login-params, sql-sybase-login-params)
7939 (sql-informix-login-params, sql-ingres-login-params)
7940 (sql-ms-login-params, sql-postgres-login-params)
7941 (sql-interbase-login-params, sql-db2-login-params)
7942 (sql-linter-login-params): Add `port' option.
7943 (sql-get-product-feature): Add NO-INDIRECT parameter.
7944 (sql-comint-oracle, sql-comint-sybase)
7945 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7946 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7947 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7948 (sql-comint-linter): Rename sql-connect-* functions to
7950 (sql-product-alist, sql-mode-menu): Rename as above and
7951 :sqli-connect-func to :sqli-comint-func.
7952 (sql-connection): New variable.
7953 (sql-interactive-mode): Set it.
7954 (sql-connection-alist): New variable.
7955 (sql-connect): New function.
7956 (sql--alt-buffer-part, sql--alt-if-not-empty)
7957 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7959 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7961 * image-mode.el (image-bookmark-make-record): Do not set context
7962 in an image (Bug#6650).
7964 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7966 * simple.el (select-active-region): New function.
7967 (push-mark-command, set-mark, activate-mark)
7968 (handle-shift-selection): Use it.
7969 (deactivate-mark): Don't check for size of region.
7971 * mouse.el (mouse-drag-track): Use select-active-region.
7973 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7975 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7978 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7980 * term/x-win.el (x-select-enable-primary): Change default to nil.
7981 (x-select-enable-clipboard): Add :version keyword.
7983 * mouse.el (mouse-drag-copy-region):
7984 * simple.el (select-active-regions): Likewise.
7986 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7988 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7989 (vc-coding-system-for-diff): Use it to decide whether to inherit
7990 from the file the EOL format for reading the diffs of that file.
7993 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7995 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7996 unibyte, so compressed attachments are not compressed again.
7998 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8000 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8001 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8002 (tramp-find-shell): Simplify setting connection property.
8003 (tramp-get-ls-command): Make test for "--color=never" stronger.
8005 2010-07-15 Simon South <ssouth@member.fsf.org>
8007 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8008 blocks within record declarations (i.e. variant parts) correctly.
8010 2010-07-15 Simon South <ssouth@member.fsf.org>
8012 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8013 over literal tokens when parsing so newlines aren't "absorbed" by
8014 single-line comments. Corrects the indentation of case blocks
8015 that have a comment on the first line.
8017 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8019 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8020 by Drew Adams (Bug#5504).
8022 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8024 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8025 now that Unicode is used (Bug#6594).
8027 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8029 * term/x-win.el (x-select-enable-clipboard): Default to t.
8030 (x-initialize-window-system): Don't overwrite Paste menu item.
8032 * simple.el (select-active-regions): Default to t.
8033 (push-mark-command): Don't overwrite primary with empty string.
8035 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8036 (mouse-drag-copy-region): Default to nil.
8038 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8039 Cut/Copy/Paste menu bar items.
8041 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8043 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8044 Patch applied by Karl Fogel.
8046 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8047 and `bookmark-current-buffer' if they have been already set in
8048 another buffer (e.g gnus-art).
8050 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8051 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8053 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8055 * bookmark.el (bookmark-make-record-default): Allow unneeded
8056 information to be omitted from the record.
8058 Adjust declarations and calls:
8060 * info.el (bookmark-make-record-default): Adjust declaration.
8061 (Info-bookmark-make-record): Adjust call.
8063 * woman.el (bookmark-make-record-default): Adjust declaration.
8064 (woman-bookmark-make-record): Adjust call.
8066 * man.el (bookmark-make-record-default): Adjust declaration.
8067 (Man-bookmark-make-record): Adjust call.
8069 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8071 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8073 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8075 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8076 This is also from Thierry Volpiatto's patch in bug #6444. However,
8077 because it was extraneous to the functional change in that patch,
8078 and causes a re-indendation, I am committing it separately.
8080 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8082 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8083 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8084 Patch applied by Karl Fogel (Bug#6444).
8086 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8088 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8090 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8092 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8093 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8094 (ns-alternatives-map): Change S-tab binding to backtab
8097 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8100 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8102 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8105 * language/tv-util.el (tai-viet-re): Remove format.
8107 2010-07-12 Kenichi Handa <handa@m17n.org>
8109 * language/hebrew.el: Remove no-byte-compile declaration.
8110 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8111 composition-function-table for 3-character looking back.
8112 (hebrew-font-get-precomposed): New function.
8113 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8115 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8117 * mouse.el (mouse-drag-track): Handle select-active-regions
8120 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8122 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8123 empty argument to gvfs-copy.
8125 2010-07-10 Glenn Morris <rgm@gnu.org>
8127 * calendar/calendar.el (calendar-week-end-day): New function.
8128 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8129 Respect calendar-week-start-day. (Bug#6606)
8130 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8131 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8132 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8133 respect calendar-week-start-day.
8135 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8137 * simple.el (use-region-p): Doc fix (Bug#6607).
8139 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8141 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8142 Add regexps for cucumber and ruby.
8144 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8146 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8147 (epa-file-insert-file-contents): Hack to prevent
8148 find-file from opening empty buffer when decryption failed
8151 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8153 * textmodes/ispell.el (ispell-alternate-dictionary):
8154 Use file-readable-p.
8155 Return nil if no word-list is found at default locations.
8156 (ispell-complete-word-dict): Default to nil.
8157 (ispell-command-loop): Use 'word-list' when using lookup-words.
8158 (lookup-words): Use ispell-complete-word-dict or
8159 ispell-alternate-dictionary. Check for word-list availability
8160 and handle errors if needed with better messages (Bug#6539).
8161 (ispell-complete-word): Use ispell-complete-word-dict or
8162 ispell-alternate-dictionary.
8164 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8166 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8167 builtins (BufferError, BytesWarning, WindowsError; callables
8168 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8170 2010-07-07 Glenn Morris <rgm@gnu.org>
8172 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8173 (zone-shift-left): Ignore intangibility, and any errors from
8175 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8176 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8177 deleting, and copying text properties.
8178 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8179 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8180 to point-max is hard.
8181 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8182 (zone-fill-out-screen): Ignore intangibility.
8184 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8186 * menu-bar.el (menu-bar-mode):
8187 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8190 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8191 word/line selection (Bug#6565).
8193 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8195 * net/dbus.el (dbus-send-signal): Declare function.
8197 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8199 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8200 (dbus-register-property): New optional argument EMITS-SIGNAL.
8201 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8203 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8205 * mouse.el (mouse-drag-overlay): Variable deleted.
8206 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8207 (mouse--remap-link-click-p): New function.
8208 (mouse-drag-track): Handle dragging by using temporary Transient
8209 Mark mode, instead of a special overlay.
8210 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8213 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8216 2010-07-02 Juri Linkov <juri@jurta.org>
8218 * autoinsert.el (auto-insert-alist): Fix readability
8219 by using dotted pair notation for lambda.
8221 2010-07-02 Juri Linkov <juri@jurta.org>
8223 * faces.el (read-face-name): Rename arg `string-describing-default'
8224 to `default'. Doc fix. Display the default value in quotes
8225 in the prompt. With empty input, return the `default' arg,
8226 unless the default value is a string (in which case return nil).
8227 (describe-face): Replace the string `default' arg of `read-face-name'
8228 with the symbol `default'.
8230 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8232 * emulation/viper-cmd.el (viper-delete-backward-char)
8233 (viper-del-backward-char-in-insert)
8234 (viper-del-backward-char-in-replace, viper-change)
8235 (viper-backward-indent): Replace delete-backward-char with
8236 delete-char (Bug#6552).
8238 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8240 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8242 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8244 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8245 argument passed to frame-creation-function (Bug#5378).
8247 * faces.el (x-handle-named-frame-geometry)
8248 (x-handle-reverse-video, x-create-frame-with-faces)
8249 (face-set-after-frame-default, tty-create-frame-with-faces):
8250 Don't separately consult default-frame-alist. It is now passed as the
8253 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8255 * startup.el (command-line): Don't call tool-bar-setup in a
8258 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8260 * ruler-mode.el (ruler--save-header-line-format): New fun.
8261 (ruler-mode): Use it as a setter function, so as not to overwrite
8262 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8264 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8266 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8267 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8268 (vc-log-outgoing): Use it.
8269 (vc-diff-internal): Set diff-vc-backend.
8271 * vc/diff-mode.el (diff-vc-backend): New var.
8273 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8275 * dynamic-setting.el (font-setting-change-default-font):
8276 Remove call to message.
8278 2010-06-28 Kenichi Handa <handa@m17n.org>
8280 * international/quail.el (quail-insert-kbd-layout): Fix the
8281 showing of untranslated characters.
8283 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8285 * simple.el (delete-active-region): New option.
8286 (delete-backward-char): Implement in Lisp.
8287 (delete-forward-char): New command.
8289 * mouse.el (mouse-region-delete-keys): Deleted.
8290 (mouse-show-mark): Simplify.
8292 * bindings.el (global-map): Bind delete and DEL, the former to
8293 delete-forward-char.
8295 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8297 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8298 (ruby-mode): Bind indent-line-function (Bug#5119).
8300 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8302 * startup.el (command-line): Recognize "0" X resource value.
8304 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8306 * startup.el (command-line): Use X resources to set the value of
8307 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8309 * menu-bar.el (menu-bar-mode):
8310 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8311 Set init-value to t.
8313 * frame.el (frame-notice-user-settings): Don't change
8314 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8315 vice versa (Bug#2249).
8317 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8319 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8321 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8323 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8324 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8326 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8327 default directories are expanded (Bug#6143).
8329 2010-06-24 Juri Linkov <juri@jurta.org>
8331 * minibuffer.el (completions-format): Change default from nil to
8332 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8334 2010-06-24 Juri Linkov <juri@jurta.org>
8336 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8337 buffer-locally to lambda that re-runs the vc diff command.
8340 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8342 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8343 echo area is in use (Bug#3412).
8345 2010-06-22 Glenn Morris <rgm@gnu.org>
8347 * textmodes/texinfmt.el (texinfo-format-region)
8348 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8349 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8350 (texinfo-format-option, texinfo-noindent):
8351 Use line-beginning-position and line-end-position.
8353 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8354 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8355 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8358 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8360 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8361 forward-line fallout.
8363 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8365 * mouse.el (mouse-appearance-menu): Add docstring.
8367 * help.el (describe-key): Print up-event using key-description.
8369 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8371 * net/zeroconf.el (zeroconf-resolve-service)
8372 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8373 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8375 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8377 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8379 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8381 Avoid displaying files with a nil state in vc-dir.
8382 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8383 cases that cause insertion.
8384 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8387 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8389 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8391 2010-06-29 Leo <sdl.web@gmail.com>
8393 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8395 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8397 * generic-x.el (bat-generic-mode): Fix regexp for command line
8398 switches (Bug#5719).
8400 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8402 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8403 of nconc to avoid pure storage error (Bug#6239).
8405 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8407 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8408 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8409 bindings of bookmark-automatically-show-annotations (Bug#6515).
8411 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8413 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8414 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8416 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8418 * comint.el (make-comint, make-comint-in-buffer): Mention return
8419 value in the docstrings. (Bug#6498)
8421 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8423 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8424 since it is not present when using some non-default switches.
8426 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8428 * simple.el (compose-mail): Fix doc string to refer to
8429 `compose-mail-user-agent-warnings', instead of to the
8430 nonexistent `compose-mail-check-user-agent'.
8432 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8434 Fix an indentation bug:
8436 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8437 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8440 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8441 (c-clear->-pair-props-if-match-before): now return t when they've
8442 cleared properties, nil otherwise.
8443 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8444 by taking account of the existing value.
8446 * progmodes/cc-defs.el
8447 (c-clear-char-property-with-value-function): Fix this to clear the
8448 property rather than overwriting it with nil.
8450 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8452 * emacs-lisp/package.el (package-print-package): Add link to
8453 package description via describe-package.
8454 (describe-package-1): List package requirements. Add button to
8455 perform installation.
8456 (package-menu-describe-package): New command.
8458 * help-mode.el (help-package): New button type.
8460 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8462 * emacs-lisp/package.el: Move package-list-packages binding to
8464 (describe-package, describe-package-1, package--dir): New funs.
8465 (package-activate-1): Use package--dir.
8467 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8469 * help-mode.el (help-package-def): New button type.
8471 * menu-bar.el: Move package-list-packages binding here from
8474 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8476 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8478 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8480 * emacs-lisp/edebug.el (edebug-read-list):
8481 Phase out old-style backquotes.
8483 2010-06-17 Juri Linkov <juri@jurta.org>
8485 * help-mode.el (help-mode): Set buffer-local variable
8486 revert-buffer-function to help-mode-revert-buffer.
8487 (help-mode-revert-buffer): New function.
8489 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8490 before popping to "*info*" (like in other Info functions).
8491 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8492 old-history-forward. Pop to old-buffer-name or "*info*" to
8493 recreate the killed buffer. Set Info-history-forward from
8494 old-history-forward.
8495 (Info-breadcrumbs-depth): Add :group and :version.
8497 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8499 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8501 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8503 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8504 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8506 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8508 * emacs-lisp/package.el (package-menu-mode-map):
8509 Move initialization into declaration.
8511 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8513 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8515 * emacs-lisp/package.el (package-archive-base): Point to
8517 (package-enable, package-load-list): New defcustoms.
8518 (package-user-dir, package-directory-list): Turn into defcustoms.
8519 Don't include package-user-dir in package-directory-list.
8520 (package--builtins-base): Don't include Emacs as a "package".
8521 (package-subdirectory-regexp): New var.
8522 (package-load-all-descriptors, package-compute-transaction)
8523 (package-download-transaction): Obey package-load-list.
8524 (package-activate-1): Rename from package-do-activate.
8525 (package-list-packages-internal): Check package-load-list.
8526 (package-load-descriptor, package-generate-autoloads)
8527 (package-unpack, package-unpack-single)
8528 (package--read-archive-file, package-delete):
8529 Use expand-file-name.
8531 * emacs-lisp/package-x.el: New file. Package uploading
8532 functionality split out from package.el.
8534 * startup.el (command-line): Load packages after reading init file.
8536 2010-06-17 Tom Tromey <tromey@redhat.com>
8538 * emacs-lisp/package.el: New file.
8540 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8542 Fix vc-annotate for renamed files when using Git.
8543 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8544 ls-files. Doe not pass the object as a file name to cat-file, it
8546 (vc-git-annotate-command): Pass the file name using -- to avoid
8547 ambiguity with the revision.
8548 (vc-git-previous-revision): Pass a relative file name.
8550 2010-06-22 Glenn Morris <rgm@gnu.org>
8552 * progmodes/js.el (js-mode-map): Use standard capitalization and
8553 ellipses for menu entries.
8555 * wid-edit.el (widget-complete): Doc fix.
8557 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8559 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8561 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8563 Fix annotating other revisions for renamed files in vc-annotate.
8564 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8565 VC backend. Use it when non-nil.
8566 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8569 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8570 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8571 Do not pass the file name to the 'previous-revision call when we
8572 don't want a file diff. (Bug#6489)
8574 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8576 Fix finding revisions for renamed files in vc-annotate.
8577 * vc/vc.el (vc-find-revision): Add an optional argument for
8578 the VC backend. Use it when non-nil.
8579 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8580 backend to vc-find-revision. (Bug#6487)
8582 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8584 Fix reading file names in Git annotate buffers.
8585 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8586 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8588 2010-06-20 Alan Mackenzie <acm@muc.de>
8590 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8591 in file local variables, set it first.
8593 2010-06-19 Glenn Morris <rgm@gnu.org>
8595 * descr-text.el (describe-char-unicode-data): Insert separating
8596 space when needed. (Bug#6422)
8598 * progmodes/idlwave.el (idlwave-action-and-binding):
8599 Fix typo in 2009-12-03 change. (Bug#6450)
8601 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8603 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8604 handling for `lambda' (misunderstanding).
8606 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8608 * calc/calc-poly.el (math-accum-factors): Make sure that
8609 constants aren't distributed after they are factored out.
8611 2010-06-16 Juri Linkov <juri@jurta.org>
8613 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8614 `list-colors-print'. (Bug#6332)
8616 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8618 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8620 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8621 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8623 * font-lock.el (font-lock-major-mode): Rename from
8624 font-lock-mode-major-mode to distinguish it from
8625 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8626 (font-lock-set-defaults):
8627 * font-core.el (font-lock-default-function): Adjust users.
8628 (font-lock-mode): Don't set it at all.
8630 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8632 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8634 2010-06-16 Glenn Morris <rgm@gnu.org>
8636 * calendar/appt.el (appt-time-msg-list): Doc fix.
8637 (appt-check): Let-bind appt-warn-time.
8638 (appt-add): Make the 3rd argument optional.
8639 Simplify argument names. Doc fix. Check for integer WARNTIME.
8640 Only add WARNTIME to the output list if non-nil.
8642 2010-06-16 Ivan Kanis <apple@kanis.eu>
8644 * calendar/appt.el (appt-check): Let the 3rd element of
8645 appt-time-msg-list specify the warning time.
8646 (appt-add): Add new argument with the warning time. (Bug#5176)
8648 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8650 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8651 older than version 1.6. (Bug#6361)
8653 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8655 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8656 used by cl-do-arglist. (Bug#6408)
8658 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8660 * textmodes/ispell.el (ispell-dictionary-base-alist):
8661 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8662 Suggested by Rolando Pereira (bug#6434).
8664 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8666 * facemenu.el (list-colors-sort): Doc fix.
8668 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8670 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8672 2010-06-14 Juri Linkov <juri@jurta.org>
8674 Add sort option `list-colors-sort'. (Bug#6332)
8675 * facemenu.el (color-rgb-to-hsv): New function.
8676 (list-colors-sort): New defcustom.
8677 (list-colors-sort-key): New function.
8678 (list-colors-display): Doc fix. Sort list according to the option
8680 (list-colors-print): Add HSV values to `help-echo' property of
8683 2010-06-14 Juri Linkov <juri@jurta.org>
8685 * compare-w.el: Move to the "vc" subdirectory.
8687 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8689 * image-mode.el (image-mode-map): Remap left-char and right-char.
8691 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8693 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8695 * term/common-win.el (x-colors): Add all the color names defined
8696 in rgb.txt (Bug#6332).
8698 * facemenu.el (list-colors-print): Don't print extra names if it
8699 will overflow the window width.
8701 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8704 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8706 * files.el (make-directory): Doc fix (bug#6396).
8708 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8710 * net/tramp.el (tramp-remote-process-environment): Protect version
8711 string by apostroph.
8712 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8714 (tramp-file-name-for-operation): Add `call-process-region'.
8715 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8717 * net/tramp-compat.el (top): Do not autoload
8718 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8719 only when `start-file-process' is not bound.
8720 (tramp-advice-file-expand-wildcards): Do not use
8721 `tramp-handle-file-remote-p'.
8722 (tramp-compat-make-temp-file): Handle the case, that
8723 `make-temp-file' has no third argument EXTENSION.
8725 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8727 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8729 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8731 2010-06-11 Juri Linkov <juri@jurta.org>
8733 * finder.el (finder-known-keywords): Add keyword "vc"
8734 for version control.
8736 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8737 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8738 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8739 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8741 2010-06-11 Juri Linkov <juri@jurta.org>
8743 Move version control related files to the "vc" subdirectory.
8744 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8745 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8746 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8747 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8748 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8749 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8750 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8751 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8752 Move files to the "vc" subdirectory.
8754 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8756 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8759 2010-06-11 Stephen Eglen <stephen@gnu.org>
8761 * shell.el: Bind `shell-resync-dirs' to M-RET.
8763 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8765 * notifications.el: Move file from lisp/net, because it is
8766 supposed to talk locally to the user.
8768 2010-06-10 Julien Danjou <julien@danjou.info>
8770 * net/notifications.el (notifications-on-action-signal)
8771 (notifications-on-closed-signal): Pass notification id as first
8772 argument to the callback functions. Add docstrings.
8773 (notifications-notify): Fix docstring.
8775 2010-06-10 Glenn Morris <rgm@gnu.org>
8777 * emacs-lisp/authors.el (authors-ignored-files)
8778 (authors-valid-file-names): Add some files.
8780 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8782 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8783 merge conflict, giving preference to the emacs-23 version of the code.
8785 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8787 * emacs-lisp/advice.el (ad-compile-function):
8788 Define warning-suppress-types before we let-bind it (bug#6275).
8790 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8791 declare it, make it buffer-local and permanent-local (bug#6324).
8792 (vc-resynch-window): Adjust name.
8793 * vc-hooks.el (vc-find-file-hook): Adjust name.
8795 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8797 * net/notifications.el (notifications-notify): Fix docstring.
8799 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8801 Update to Unicode 6.0.0 beta.
8802 * international/charprop.el: Update copyright.
8803 * international/mule-cmds.el (ucs-names): Update character ranges.
8804 * international/uni-bidi.el:
8805 * international/uni-category.el:
8806 * international/uni-combining.el:
8807 * international/uni-comment.el:
8808 * international/uni-decimal.el:
8809 * international/uni-decomposition.el:
8810 * international/uni-digit.el:
8811 * international/uni-lowercase.el:
8812 * international/uni-mirrored.el:
8813 * international/uni-name.el:
8814 * international/uni-numeric.el:
8815 * international/uni-old-name.el:
8816 * international/uni-titlecase.el:
8817 * international/uni-uppercase.el: Regenerate.
8819 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8821 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8822 (smie-precs-precedence-table): Fix typo in docstring.
8824 * vc-mtn.el (log-edit-extract-headers): Declare function.
8826 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8828 * net/notifications.el (dbus-register-signal): Declare function.
8829 (notifications-notify): Fix typos and reflow docstring.
8831 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8833 Improve VC create/retrieve tag/branch.
8834 * vc.el (vc-create-tag): Do not read the directory name for VCs
8835 with repository revision granularity. Adjust the tag/branch
8836 prompt. Reset VC properties.
8837 (vc-retrieve-tag): Do not read the directory name for VCs
8838 with repository revision granularity. Reset VC properties.
8840 2010-06-09 Julien Danjou <julien@danjou.info>
8842 * net/notifications.el: New file.
8844 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8846 Add optional support for resetting VC properties.
8847 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8848 call vc-file-clearprops when true.
8849 (vc-resynch-buffer): Add new optional argument, pass it down.
8850 (vc-resynch-buffers-in-directory): Likewise.
8852 Improve support for special markup in the VC commit message.
8853 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8854 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8855 * vc-git.el (vc-git-checkin):
8856 * vc-bzr.el (vc-bzr-checkin): Likewise.
8858 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8860 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8861 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8863 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8865 * iimage.el: Remove images as soon as the underlying text is modified.
8866 (iimage-modification-hook): New function.
8867 (iimage-mode-buffer): Use it.
8869 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8871 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8872 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8873 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8874 (smie-indent-keyword): Add handling of open-paren keywords.
8875 (smie-indent-comment-continue): Don't assume comment-continue.
8877 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8879 * window.el (pop-to-buffer): Remove the conditional that
8880 compares new-window and old-window, so it will reselect
8881 the selected window unconditionally.
8882 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8884 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8886 * emacs-lisp/smie.el (smie-indent-offset-after)
8887 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8888 (smie-indent-after-keyword): Use them.
8889 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8890 (smie-indent-keyword): Tweak the black magic.
8891 (smie-indent-comment-continue): Strip comment-continue before use.
8892 (smie-indent-functions): Indent comments before keywords.
8894 2010-06-06 Juri Linkov <juri@jurta.org>
8896 * isearch.el (isearch-lazy-highlight-search): Fix looping
8897 by checking for empty match. This syncs this loop with the
8898 similar loop in `isearch-search'. (Bug#6362)
8900 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8902 * net/dbus.el (dbus-register-method): Declare function.
8903 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8904 (dbus-introspect): Doc fix.
8905 (dbus-event-bus-name, dbus-introspect-get-interface)
8906 (dbus-introspect-get-argument): Reflow docstrings.
8908 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8910 vc-log-incoming/vc-log-outgoing fixes for Git.
8911 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8912 incoming/outgoing logs.
8913 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8914 instead of vc-git-compute-remote.
8915 (vc-git-compute-remote): Remove.
8917 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8919 * term/common-win.el (x-colors): Add "dark green" and "dark
8920 turquoise" (Bug#6332).
8922 2010-06-04 Juri Linkov <juri@jurta.org>
8924 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8925 Instead of setting `replace' to t and replacing the same string
8926 with itself, don't do certain actions when
8927 kill-do-not-save-duplicates is non-nil and string is equal to car
8928 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8929 interprogram-paste strings to kill-ring, and don't push the input
8930 argument `string' to kill-ring.
8931 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8933 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8935 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8937 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8939 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8940 (tramp-gvfs-handler-mounted-unmounted)
8941 (tramp-gvfs-connection-mounted-p): Handle default-location.
8943 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8944 move files to trash.
8946 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8948 * international/mule-cmds.el (nonascii-insert-offset)
8949 (nonascii-translation-table): Add obsolescence information.
8951 * international/mule.el (make-translation-table-from-vector): Doc fix.
8953 2010-06-03 Glenn Morris <rgm@gnu.org>
8955 * desktop.el (desktop-clear-preserve-buffers):
8956 Add "*Warnings*" buffer. (Bug#6336)
8958 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8960 vc-log-incoming/vc-log-outgoing improvements for Git.
8961 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8963 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8965 Add bindings for vc-log-incoming and vc-log-outgoing.
8966 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8967 and vc-log-outgoing.
8968 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8969 and vc-log-outgoing.
8971 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8973 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8974 (rcirc-handler-366): Always sort nicknames.
8976 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8978 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8980 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8982 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8984 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8986 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8987 (rcirc-sort-nicknames-join): Avoid setq.
8989 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8991 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8992 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8993 (rcirc-handler-366): Use them.
8995 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8997 Split smie-indent-calculate into more manageable chunks.
8998 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8999 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9000 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9001 (smie-indent-exps): Extract from smie-indent-calculate.
9002 (smie-indent-functions): New var.
9003 (smie-indent-functions): Use them.
9005 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9007 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9008 (smie-indent-calculate): Simplify and cleanup.
9010 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9012 * net/tramp-gvfs.el (top): Require url-util.
9013 (tramp-gvfs-mount-point): Remove.
9014 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9016 (with-tramp-dbus-call-method): Format trace message.
9017 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9018 Implement backup call, when operation on local files fails.
9019 Use progress reporter. Flush properties of changed files.
9020 (tramp-gvfs-handle-make-directory): Make more traces.
9021 (tramp-gvfs-url-file-name): Hexify file name in url.
9022 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9023 into account for the resulting file name.
9024 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9025 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9026 (tramp-gvfs-handler-mounted-unmounted)
9027 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9028 attribute "default_location". Set "prefix" property.
9029 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9030 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9031 exists. Raise an error, if not (due to a corresponding answer
9032 "no" in interactive questions, for example).
9034 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9036 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9038 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9040 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9043 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9045 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9046 * vc-git.el (vc-git-compute-remote): New function.
9047 (vc-git-log-outgoing): Use it instead of hard coding a value.
9048 (vc-git-log-incoming): New function.
9050 Improve state updating for VC tag commands.
9051 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9052 to update the state of all buffers in the directory.
9054 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9056 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9058 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9059 `file-directory-p' to the filename part rather than to the whole text.
9061 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9063 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9065 2010-05-31 Drew Adams <drew.adams@oracle.com>
9067 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9069 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9071 * subr.el (momentary-string-display): Just use read-event to read
9072 the exit event (Bug#6238).
9074 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9076 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9078 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9080 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9081 Suggested by Eli Zaretskii <eliz@gnu.org>.
9083 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9085 * minibuffer.el (completion-file-name-table): Don't return a boundary
9086 past the end of `string' (bug#6299).
9087 (completion--file-name-table): Delegate to completion-file-name-table
9088 for the `boundaries' case.
9090 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9092 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9095 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9096 `path-separator', but maintain compatibility with Emacs 20.2.
9098 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9100 * server.el (server-process-filter): Receive parent-id argument
9102 (server-create-window-system-frame): New arg. Pass parent-id as
9105 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9107 Bidi-sensitive word movement with arrow keys.
9108 * subr.el (right-arrow-command, left-arrow-command): Move to
9111 * bindings.el (right-char, left-char): Move from subr.el and
9112 rename from right-arrow-command and left-arrow-command.
9113 (right-word, left-word): New functions.
9114 (global-map) <right>: Bind to right-char.
9115 (global-map) <left>: Bind to left-char.
9116 (global-map) <C-right>: Bind to right-word.
9117 (global-map) <C-left>: Bind to left-word.
9119 * ls-lisp.el (ls-lisp-classify-file): New function.
9120 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9121 (ls-lisp-classify): Call ls-lisp-classify-file.
9122 (insert-directory): Remove blanks from switches.
9124 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9126 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9127 (ansi-color-drop-regexp): New constant.
9128 (ansi-color-apply, ansi-color-filter-region)
9129 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9130 (ansi-color-apply): Build string list before calling concat.
9132 2010-05-28 Juri Linkov <juri@jurta.org>
9134 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9135 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9138 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9140 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9141 to ignored backtrace functions.
9142 (with-progress-reporter): Expand docstring.
9143 (tramp-handle-delete-file): Implement TRASH argument.
9144 (tramp-get-remote-trash): New defun.
9146 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9148 * net/tramp-compat.el (tramp-compat-delete-file):
9149 Use `symbol-value' for backward compatibility.
9151 * net/tramp.el (tramp-handle-make-symbolic-link)
9153 (tramp-do-copy-or-rename-file-via-buffer)
9154 (tramp-do-copy-or-rename-file-directly)
9155 (tramp-do-copy-or-rename-file-out-of-band)
9156 (tramp-handle-process-file, tramp-handle-call-process-region)
9157 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9158 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9159 (tramp-delete-temp-file-function): Use `delete-file' instead
9160 of `tramp-compat-delete-file'.
9162 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9163 (tramp-fish-handle-make-symbolic-link)
9164 (tramp-fish-handle-process-file): Use `delete-file' instead
9165 of `tramp-compat-delete-file'.
9167 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9168 Use `delete-file' instead of `tramp-compat-delete-file'.
9170 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9171 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9172 `tramp-compat-delete-file'.
9174 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9175 Use `delete-file' instead of `tramp-compat-delete-file'.
9177 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9178 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9179 (tramp-smb-handle-write-region): Use `delete-file' instead of
9180 `tramp-compat-delete-file'.
9181 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9183 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9185 * dired.el (dired-delete-file): New arg TRASH.
9186 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9187 (dired-do-flagged-delete, dired-do-delete): Use trash.
9189 * speedbar.el (speedbar-item-delete): Allow trashing.
9191 * files.el (delete-directory): New arg TRASH.
9193 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9194 (ange-ftp-rename-remote-to-remote)
9195 (ange-ftp-rename-local-to-remote)
9196 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9197 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9199 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9202 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9203 handle new TRASH arg of `delete-file'.
9205 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9206 (tramp-handle-make-symbolic-link, tramp-handle-load)
9207 (tramp-do-copy-or-rename-file-via-buffer)
9208 (tramp-do-copy-or-rename-file-directly)
9209 (tramp-do-copy-or-rename-file-out-of-band)
9210 (tramp-handle-process-file, tramp-handle-call-process-region)
9211 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9212 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9213 (tramp-delete-temp-file-function): Use null TRASH arg in
9214 tramp-compat-delete-file call.
9216 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9217 (tramp-fish-handle-delete-file)
9218 (tramp-fish-handle-make-symbolic-link)
9219 (tramp-fish-handle-process-file): Use null TRASH arg in
9220 `tramp-compat-delete-file' call.
9222 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9223 arg in `tramp-compat-delete-file' call.
9225 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9226 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9227 `tramp-compat-delete-file' call.
9229 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9230 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9231 `tramp-compat-delete-file' call.
9233 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9234 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9235 (tramp-smb-handle-write-region): Use null TRASH arg in
9236 tramp-compat-delete-file call.
9237 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9238 (tramp-smb-handle-delete-file): Rename arg.
9240 * diff.el (diff-sentinel):
9241 * epg.el (epg--make-temp-file, epg-decrypt-string)
9242 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9243 * jka-compr.el (jka-compr-partial-uncompress)
9244 (jka-compr-call-process, jka-compr-write-region):
9245 * server.el (server-sentinel): Remove optional arg from
9246 delete-file, reverting 2010-05-03 change.
9248 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9250 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9251 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9253 2010-05-27 Kenichi Handa <handa@m17n.org>
9255 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9256 element of GSTRING is nil.
9258 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9260 * emacs-lisp/smie.el (smie-forward-token-function)
9261 (smie-backward-token-function): New vars.
9262 (smie-backward-sexp, smie-forward-sexp)
9263 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9264 (smie-default-backward-token): Rename from smie-backward-token and
9266 (smie-default-forward-token): Rename from smie-forward-token and
9268 (smie-next-sexp): Handle nil results from next-token.
9269 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9271 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9273 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9274 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9276 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9278 * htmlfontify.el (hfy-face-resolve-face): New function.
9279 (hfy-face-to-style): Use it (Bug#6279).
9281 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9283 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9284 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9286 2010-05-26 Glenn Morris <rgm@gnu.org>
9288 * emulation/edt.el (edt-load-keys): Use locate-library.
9290 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9292 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9293 (log-edit-changelog-entries): Doc fix.
9294 (log-edit-changelog-insert-entries): Args changed.
9295 Rename relative filenames in ChangeLog entries. Delete tabs.
9296 (log-edit-insert-changelog-entries): Reorganize return value of
9297 `log-edit-changelog-entries' to pass filenames to
9298 log-edit-changelog-insert-entries.
9300 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9302 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9303 `image-dired-dired-insert-marked-thumbs' to
9304 `image-dired-dired-toggle-marked-thumbs'.
9306 * image-dired.el: Require cl when compiling.
9307 (image-dired-dired-toggle-marked-thumbs): Rename from
9308 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9309 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9310 to 'no-dir. Skip files whose names don't match
9311 `image-file-name-regexp'. When file has a thumbnail overlay,
9312 delete it. (Bug#5270)
9314 2010-05-25 Juri Linkov <juri@jurta.org>
9316 * image-mode.el (image-mode): Add image-after-revert-hook to
9318 (image-after-revert-hook): New function. (Bug#5669)
9320 2010-05-25 Juri Linkov <juri@jurta.org>
9322 * image.el (image-animated-p): When delay between animated images
9323 is 0, set it to 10 (0.1 sec). (Bug#6258)
9325 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9327 * net/tramp.el (tramp-handle-insert-directory): Don't use
9328 `forward-word', its default syntax could be changed.
9330 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9332 * net/tramp.el (tramp-progress-reporter-update): New defun.
9333 (with-progress-reporter): Use it.
9334 (tramp-process-actions):
9335 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9336 Preserve current message, in order to let progress reporter continue
9337 afterwards. (Bug#6257)
9339 2010-05-25 Glenn Morris <rgm@gnu.org>
9341 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9344 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9346 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9347 (rcirc-default-full-name): Change to "unknown".
9348 (rcirc-user-name-history): Add variable.
9350 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9351 Jonathan Rockway <jon@jrock.us>
9353 * net/rcirc.el (rcirc-server-alist): Add :pass.
9354 (rcirc): When prompting for connection parameters, also prompt for
9355 username and password.
9356 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9357 value to server when connecting.
9359 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9361 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9362 (smie-merge-prec2s): Pass the tables as separate args.
9363 (smie-bnf-precedence-table): Adjust call accordingly.
9364 (smie-prec2-levels): Set levels at the end.
9366 Replace Lisp calls to delete-backward-char by delete-char.
9367 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9368 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9369 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9370 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9371 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9372 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9373 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9374 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9375 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9376 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9377 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9378 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9379 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9380 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9381 delete-backward-char by calls to delete-char.
9383 2010-05-25 Kenichi Handa <handa@m17n.org>
9385 * language/hebrew.el (hebrew-shape-gstring): New function.
9386 Register it in composition-function-table for all Hebrew combining
9389 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9391 * epa.el (epa--select-keys): Don't explicitly delete the window since
9392 that can fail (e.g. sole window in frame). Use dedication instead.
9394 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9396 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9398 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9400 * image.el (image-refresh): Define as an alias for image-flush.
9402 * image-mode.el (image-toggle-display-image): Caller changed.
9404 2010-05-21 Juri Linkov <juri@jurta.org>
9406 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9407 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9408 whitespace, call wildcard-to-regexp on substrings and concat them
9409 with "\\|". (Bug#6114)
9411 2010-05-21 Alan Mackenzie <acm@muc.de>
9413 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9414 Replace parameter `here' with `here-' and `here-plus', which sandwich
9415 any pertinent CPP construct.
9416 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9417 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9418 CPP construct from taking part in the scanning.
9420 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9422 * net/tramp.el (tramp-do-copy-or-rename-file)
9423 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9424 Tune `with-progress-reporter' messages.
9425 (tramp-handle-vc-registered):
9426 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9427 (tramp-fish-handle-insert-file-contents)
9428 (tramp-fish-maybe-open-connection):
9429 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9430 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9431 (tramp-imap-handle-insert-file-contents)
9432 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9434 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9436 * add-log.el (change-log-font-lock-keywords):
9437 Highlight all authors in multi-author entries.
9439 * smerge-mode.el (smerge-refine-ignore-whitespace)
9440 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9441 Fix typos in docstrings.
9442 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9444 2010-05-21 Glenn Morris <rgm@gnu.org>
9446 * progmodes/fortran.el (fortran-mode):
9447 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9449 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9450 having a relative path in src/Makefile.in.
9452 2010-05-20 Kevin Ryde <user42@zip.com.au>
9454 * help-mode.el (help-make-xrefs): For Info node links turn
9455 newlines into spaces. Link node names with newlines are matched
9456 by help-xref-info-regexp and buttonized, this change ensures they
9457 can be followed successfully with RET. (Bug#6206)
9459 2010-05-20 Juri Linkov <juri@jurta.org>
9461 * locate.el (locate): Use pop-to-buffer instead of
9462 switch-to-buffer-other-window. (Bug#6204)
9464 2010-05-20 Juri Linkov <juri@jurta.org>
9466 * replace.el (replace-highlight): Fix lazy-highlighting
9467 for `M-s w str M-% str RET'.
9469 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9471 * isearch.el (isearch-yank-word-or-char): Pull next subword
9472 when `subword-mode' is activated. (Bug#6220)
9474 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9476 * isearch.el (isearch-update-post-hook): New hook.
9477 (isearch-update): Use the new hook. (Bug#6225)
9479 2010-05-20 Juri Linkov <juri@jurta.org>
9481 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9482 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9485 2010-05-20 Juri Linkov <juri@jurta.org>
9487 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9490 2010-05-20 Juri Linkov <juri@jurta.org>
9492 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9493 FILE-NAME to read from the minibuffer when called interactively
9494 with prefix argument instead of using buffer-file-name.
9495 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9497 * dired.el: Update autoloads.
9499 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9501 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9502 nxml-finish-element, for consistency with SGML mode.
9504 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9507 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9509 * composite.el: Require cl when compiling.
9510 (reference-point-alist, compose-gstring-for-graphic)
9511 (compose-gstring-for-terminal): Fix typos in docstrings.
9513 2010-05-19 Juri Linkov <juri@jurta.org>
9515 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9516 set-window-parameter.
9518 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9520 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9522 (tramp-maybe-open-connection): Use it.
9524 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9526 * simple.el (move-end-of-line): Make sure we are at line beginning
9527 before backing up to end of previous line.
9529 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9531 * password-cache.el (password-cache-remove): Fix docstring.
9533 * net/secrets.el: Autoload the widget functions.
9534 (secrets-search-items, secrets-create-item)
9535 (secrets-get-attributes, secrets-expand-item): Attributes will be
9536 stored on the password database without leading ":", as all other
9538 (secrets-mode): Fix docstring.
9539 (secrets-show-secrets): Provide it as autoloaded command only when
9540 D-Bus support is available. Check existence of Secret Service API.
9542 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9544 * indent.el (indent-region): Deactivate region (bug#6200).
9546 2010-05-19 Glenn Morris <rgm@gnu.org>
9548 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9550 2010-05-19 Kenichi Handa <handa@m17n.org>
9552 * composite.el: Register compose-gstring-for-graphic in
9553 composition-function-table only for combining characters (Mn, Mc, Me).
9555 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9557 * calc/calc-trail.el (calc-trail-isearch-forward)
9558 (calc-trail-isearch-backward): Ensure that the new window
9559 point is set correctly.
9561 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9563 * subr.el (read-quoted-char): Resolve modifiers after key
9564 remapping (bug#6212).
9566 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9568 Add visualization code for secrets.
9569 * net/secrets.el (secrets-mode): New major mode.
9570 (secrets-show-secrets, secrets-show-collections)
9571 (secrets-expand-collection, secrets-expand-item)
9572 (secrets-tree-widget-after-toggle-function)
9573 (secrets-tree-widget-show-password): New defuns.
9575 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9577 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9578 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9579 handled in smie-next-sexp.
9580 (smie-indent-calculate): Provide a starting indentation (so the
9581 recursion is well-founded ;-).
9583 Fix handling of non-associative equal levels.
9584 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9585 when it's not needed.
9586 (smie-op-left, smie-op-right): New functions.
9587 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9588 Better handle equal levels to distinguish the associative case from
9589 the "multi-keyword construct" case.
9590 (smie-backward-sexp, smie-forward-sexp): Use it.
9592 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9594 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9596 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9597 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9599 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9601 Provide a simple generic indentation engine and use it for Prolog.
9602 * emacs-lisp/smie.el: New file.
9603 * progmodes/prolog.el (prolog-smie-op-levels)
9604 (prolog-smie-indent-rules): New var.
9605 (prolog-mode-variables): Use them to configure SMIE.
9606 (prolog-indent-line, prolog-indent-level): Remove.
9608 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9610 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9611 order before computing the averages.
9613 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9615 * calc/calc-vec.el (calc-histogram):
9616 (calcFunc-histogram): Allow vectors as inputs.
9617 (math-vector-avg): New function.
9619 * calc/calc-ext.el (math-group-float): Have the number of digits
9620 being grouped depend on the radix (Bug#6189).
9622 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9624 * version.el (emacs-copyright, emacs-version): Don't define here,
9625 now that emacs.c defines it.
9627 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9629 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9630 "Describe Language Environment" menu item.
9632 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9634 Bidi-sensitive movement with arrow keys.
9635 * subr.el (right-arrow-command, left-arrow-command): New functions.
9637 * bindings.el (global-map): Bind them to right and left arrow keys.
9639 Don't override standard definition of convert-standard-filename.
9640 * files.el (convert-standard-filename):
9641 Call w32-convert-standard-filename and dos-convert-standard-filename on
9642 the corresponding systems.
9644 * w32-fns.el (w32-convert-standard-filename): Rename from
9645 convert-standard-filename. Doc fix.
9647 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9648 (convert-standard-filename): Don't defalias.
9649 (register-name-alist, make-register, register-value)
9650 (set-register-value, intdos): Obsolete aliases for the
9651 corresponding dos-* functions and variables.
9652 (dos-intdos): Add a doc string.
9654 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9656 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9657 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9658 (math-compose-tex-func):
9659 * calc/calccomp.el (math-compose-expr):
9660 * calc/calc-ext.el (math-format-flat-expr-fancy):
9661 * calc/calc-store.el (calc-read-var-name):
9662 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9664 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9665 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9666 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9667 (math-standard-units): Add units.
9669 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9671 * progmodes/asm-mode.el (asm-mode):
9672 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9674 * pcomplete.el (pcomplete-completions-at-point): New function,
9675 extracted from pcomplete-std-complete.
9676 (pcomplete-std-complete): Use it.
9678 2010-05-15 Glenn Morris <rgm@gnu.org>
9680 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9681 Remove references to CVS, RCS and Old directories.
9683 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9685 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9688 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9690 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9691 (sh-mode-syntax-table): Give it a default value instead.
9692 (sh-header-marker): Make buffer-local.
9693 (sh-mode): Move make-local-variable to the corresponding setq.
9694 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9695 Use complete-with-action.
9697 * simple.el (prog-mode): New (abstract) major mode.
9698 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9699 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9701 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9703 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9704 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9705 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9706 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9707 (sql-escape-newlines-filter, sql-input-sender)
9708 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9710 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9712 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9714 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9715 latex-open-block and C-c / to latex-close-block.
9717 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9718 and C-c C-e to sgml-close-tag.
9720 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9722 * net/tramp.el (with-progress-reporter): Create reporter object
9723 only when the message would be displayed. Handle nested calls.
9724 (tramp-handle-load, tramp-handle-file-local-copy)
9725 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9726 (tramp-maybe-send-script, tramp-find-shell):
9727 Use `with-progress-reporter'.
9728 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9731 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9732 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9733 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9734 Use `with-progress-reporter'.
9736 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9738 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9739 process everytime when spellchecking from the minibuffer (bug#6143).
9741 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9743 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9745 * dos-fns.el: Add "dos-" prefix for namespace control.
9746 (convert-standard-filename): Define as alias for
9747 dos-convert-standard-filename but only if applicable.
9749 2010-05-12 Alan Mackenzie <acm@muc.de>
9751 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9752 Push the mark at the start of these functions when appropriate.
9754 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9756 * minibuffer.el (completion-cycle-threshold): New custom var.
9757 (completion--do-completion): Use it.
9758 (minibuffer-complete): Use cycling if appropriate.
9760 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9762 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9763 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9765 2010-05-11 Juri Linkov <juri@jurta.org>
9767 * scroll-all.el (scroll-all-check-to-scroll):
9768 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9770 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9772 * iimage.el (iimage-mode-map): Move initialization into declaration.
9773 (iimage-mode-buffer): Use with-silent-modifications.
9774 Simplify calling convention. Adjust callers.
9775 (iimage-mode): Don't run hook redundantly.
9777 * minibuffer.el (completion-pcm--pattern->regex):
9778 Fix last change (bug#6160).
9780 2010-05-10 Juri Linkov <juri@jurta.org>
9782 Remove nodes visited during Isearch from the Info history.
9783 * info.el (Info-isearch-initial-history)
9784 (Info-isearch-initial-history-list): New variables.
9785 (Info-isearch-start): Record initial values of
9786 Info-isearch-initial-history and Info-isearch-initial-history-list.
9787 Add Info-isearch-end to isearch-mode-end-hook.
9788 (Info-isearch-end): New function.
9790 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9792 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9793 format string, in order to work around a bug in pdksh.
9794 Reported by Gilles Pion <gpion@lfdj.com>.
9795 (tramp-handle-verify-visited-file-modtime): Do not send a command
9796 when the connection is not established.
9797 (tramp-handle-set-file-times): Simplify the check for utc.
9799 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9801 Fix use of `filter-buffer-substring' (rework previous change).
9802 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9803 (cua-repeat-replace-region):
9804 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9805 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9806 (cua-cut-region-to-global-mark): Use it.
9808 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9810 * progmodes/sql.el: Version 2.1.
9811 (sql-product-alist): Redesign structure of product info.
9812 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9813 (sql-port, sql-port-history): New variables.
9814 (sql-interactive-product): New variable.
9815 (sql-send-terminator): New variable.
9816 (sql-imenu-generic-expression): Add "Types" imenu entry.
9817 (sql-oracle-login-params, sql-sqlite-login-params)
9818 (sql-mysql-login-params, sql-solid-login-params)
9819 (sql-sybase-login-params, sql-informix-login-params)
9820 (sql-ingres-login-params, sql-ms-login-params)
9821 (sql-postgres-login-params, sql-interbase-login-params)
9822 (sql-db2-login-params, sql-linter-login-params)
9823 (sql-oracle-scan-on): New variables.
9824 (sql-mode-map): Add C-c C-i to start interactive mode.
9825 (sql-mode-menu): Update existing menu entries.
9826 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9827 (sql-mode-oracle-font-lock-keywords)
9828 (sql-mode-postgres-font-lock-keywords)
9829 (sql-mode-ms-font-lock-keywords)
9830 (sql-mode-sybase-font-lock-keywords)
9831 (sql-mode-informix-font-lock-keywords)
9832 (sql-mode-interbase-font-lock-keywords)
9833 (sql-mode-ingres-font-lock-keywords)
9834 (sql-mode-solid-font-lock-keywords)
9835 (sql-mode-mysql-font-lock-keywords)
9836 (sql-mode-sqlite-font-lock-keywords)
9837 (sql-mode-db2-font-lock-keywords)
9838 (sql-mode-linter-font-lock-keywords): Update initialization to
9839 reduce run-time complexity.
9840 (sql-add-product, sql-del-product): New functions.
9841 (sql-set-product-feature, sql-get-product-feature): New functions.
9842 (sql-product-font-lock): Update product API.
9843 (sql-add-product-keywords): New function.
9844 (sql-highlight-product): Update product API.
9845 (sql-help-list-products): New function.
9846 (sql-help): Dynamically lists free and non-free products.
9847 (sql-get-login): Correct bug in handling history and added
9849 (sql-copy-column): Copy without properties.
9850 (sqli-input-sender): Apply filters to SQLi input.
9851 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9852 Implement as a filter.
9853 (sql-escape-newlines-filter): Implement as a filter.
9854 (sql-remove-tabs-filter): New function.
9855 (sql-send-magic-terminator): New function.
9856 (sql-send-string): Implement magic terminator.
9857 (sql-send-region): Use `sql-send-string'.
9858 (sql-interactive-mode): Use product API.
9859 (sql-product-interactive): Use product API.
9860 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9861 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9862 (sql-db2, sql-linter): Use `sql-product-interactive'.
9863 (sql-connect): New function.
9864 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9865 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9866 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9867 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9870 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9872 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9873 New custom variable.
9874 (completion-pcm--string->pattern): Use it.
9875 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9876 Make it handle any symbol as `any'.
9877 (completion-pcm--merge-completions): Extract common suffix for the new
9878 `prefix' symbol as well.
9879 (completion-substring--all-completions): Use the new `prefix' symbol.
9881 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9883 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9885 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9886 (tramp-compat-funcall): New defmacro.
9887 (tramp-compat-line-beginning-position)
9888 (tramp-compat-line-end-position)
9889 (tramp-compat-temporary-file-directory)
9890 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9891 (tramp-compat-copy-file, tramp-compat-copy-directory)
9892 (tramp-compat-delete-file, tramp-compat-delete-directory)
9893 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9894 * net/tramp.el (top, with-progress-reporter)
9895 (tramp-rfn-eshadow-setup-minibuffer)
9896 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9897 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9898 (tramp-completion-mode-p, tramp-check-for-regexp)
9899 (tramp-open-connection-setup-interactive-shell)
9900 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9901 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9902 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9903 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9904 (tramp-reporter-dump-variable, tramp-load-report-modules)
9905 (tramp-append-tramp-buffers)
9906 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9908 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9910 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9912 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9913 buffer-modtime. Adjust users.
9915 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9917 * international/mule.el (auto-coding-alist): Only purecopy
9918 car of each item, not the whole list (Bug#6083).
9920 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9922 * progmodes/js.el (js-mode): Make paragraph variables local before
9923 calling c-setup-paragraph-variables (Bug#6071).
9925 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9927 * composite.el (compose-region, reference-point-alist): Fix typos
9930 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9932 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9933 gnuplot's "set" command.
9935 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9937 * abbrev.el (last-abbrev-text): Doc fix.
9938 (abbrev-prefix-mark): Don't escape parenthesis.
9940 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9942 * composite.el (find-composition): Doc fix.
9944 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9946 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9947 (sql-oracle-program, sql-sqlite-options)
9948 (sql-query-placeholders-and-send): Doc fixes.
9949 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9950 (sql-imenu-generic-expression, sql-buffer)
9951 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9952 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9953 (sql-mode-sybase-font-lock-keywords)
9954 (sql-mode-informix-font-lock-keywords)
9955 (sql-mode-interbase-font-lock-keywords)
9956 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9957 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9958 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9959 (sql-product-feature, sql-highlight-product)
9960 (comint-line-beginning-position, sql-rename-buffer)
9961 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9962 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9963 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9964 Fix typos in docstrings.
9966 2010-05-08 Juri Linkov <juri@jurta.org>
9968 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9969 property instead of `invisible' and `after-string' (bug#5998).
9971 2010-05-08 Juri Linkov <juri@jurta.org>
9973 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9975 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9977 * filecache.el (file-cache-add-directory-list)
9978 (file-cache-add-directory-recursively): Fix typos in docstrings.
9980 2010-05-08 Kenichi Handa <handa@m17n.org>
9982 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9983 (gujarati-composable-pattern): Fix typo.
9985 2010-05-08 Kenichi Handa <handa@m17n.org>
9987 * language/indian.el (oriya-composable-pattern)
9988 (tamil-composable-pattern, malayalam-composable-pattern):
9989 Add two-part vowels to "v" (vowel sign).
9991 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9993 * files.el (copy-directory): Handle symlinks (Bug#5982).
9995 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9997 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9998 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10001 2010-05-08 Glenn Morris <rgm@gnu.org>
10003 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10005 * minibuffer.el (completion-at-point): Doc fix.
10007 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10009 * electric.el (Electric-command-loop): Minor tweak.
10011 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10012 better with dedicated windows.
10014 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10016 * Version 23.2 released.
10018 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10019 Stefan Monnier <monnier@iro.umontreal.ca>
10021 Highlight vendor specific properties.
10022 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10023 (css-proprietary-property): New face.
10024 (css-font-lock-keywords): Use them.
10026 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10028 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10030 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10032 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10033 * files.el (auto-mode-alist): Remove redundant entries.
10035 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10036 * simple.el (auto-save-mode): Move from files.el.
10037 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10039 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10041 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10043 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10045 * mail/binhex.el (binhex-decode-region-internal)
10046 * mail/uudecode.el (uudecode-decode-region-internal)
10047 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10048 (dns-read-type, dns-query)
10049 * pgg-parse.el (pgg-parse-armor)
10050 * pgg.el (pgg-verify-region)
10051 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10054 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10056 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10058 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10060 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10061 * emulation/cua-base.el (cua-repeat-replace-region):
10062 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10063 (cua-cut-region-to-global-mark):
10064 Remove text properties with `set-text-properties'.
10066 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10068 * net/tramp.el (top, with-progress-reporter):
10069 Use `symbol-function' inside `funcall'.
10071 * net/tramp-compat.el (tramp-compat-file-attributes)
10072 (tramp-compat-delete-file, tramp-compat-delete-directory):
10073 Handle only `wrong-number-of-arguments' error.
10075 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10076 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10079 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10081 * minibuffer.el (completion--sreverse, completion--common-suffix):
10083 (completion-pcm--merge-completions): Extract common suffix when safe.
10085 * emacs-lisp/easy-mmode.el (define-minor-mode):
10086 Make :variable more flexible.
10087 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10089 2010-05-05 Juri Linkov <juri@jurta.org>
10091 Add `slow' and `history' tags to the desktop data.
10093 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10094 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10095 (Info-finder-find-node): Require `finder.el' to be able
10096 to restore node from the desktop.
10097 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10098 data `Info-history' and `slow' tag in the assoc list.
10099 (Info-restore-desktop-buffer): Don't restore nodes with the
10100 `slow' tag. Restore `Info-history'.
10102 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10104 Add FORCE argument to `delete-file'.
10106 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10107 forcing to delete the temporary file.
10108 (ange-ftp-delete-file): Add FORCE arg.
10109 (ange-ftp-rename-remote-to-remote)
10110 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10111 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10112 Force file deletion.
10114 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10116 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10117 (tramp-handle-make-symbolic-link, tramp-handle-load)
10118 (tramp-do-copy-or-rename-file-via-buffer)
10119 (tramp-do-copy-or-rename-file-directly)
10120 (tramp-do-copy-or-rename-file-out-of-band)
10121 (tramp-handle-process-file, tramp-handle-call-process-region)
10122 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10123 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10124 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10126 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10127 (tramp-fish-handle-make-symbolic-link)
10128 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10130 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10131 Use `tramp-compat-delete-file'.
10133 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10134 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10136 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10137 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10139 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10140 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10141 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10142 Use `tramp-compat-delete-file'.
10144 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10147 * subr.el (add-minor-mode): Use push.
10148 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10149 * emulation/edt.el (edt-select-mode): Simplify.
10151 Use define-minor-mode in more cases.
10152 * term/tvi970.el (tvi970-set-keypad-mode):
10153 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10154 (normal-erase-is-backspace-mode):
10155 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10156 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10157 (get-scroll-bar-mode): New function.
10158 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10160 Use define-minor-mode for less obvious cases.
10161 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10162 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10163 * international/iso-ascii.el (iso-ascii-mode):
10164 * frame.el (auto-raise-mode, auto-lower-mode):
10165 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10167 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10169 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10170 in order to see error messages for failed logins.
10172 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10174 * diff.el (diff-sentinel):
10176 * epg.el (epg--make-temp-file, epg-decrypt-string)
10177 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10179 * jka-compr.el (jka-compr-partial-uncompress)
10180 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10182 * server.el (server-sentinel): Use delete-file's new FORCE arg
10185 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10187 Use define-minor-mode where applicable.
10188 * view.el (view-mode):
10189 * type-break.el (type-break-query-mode)
10190 (type-break-mode-line-message-mode):
10191 * textmodes/reftex.el (reftex-mode):
10192 * term/vt100.el (vt100-wide-mode):
10193 * tar-mode.el (tar-subfile-mode):
10194 * savehist.el (savehist-mode):
10195 * ibuf-ext.el (ibuffer-auto-mode):
10196 * composite.el (auto-composition-mode):
10197 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10198 Use define-minor-mode.
10199 (vhdl-mode): Use static mode-line format.
10200 (vhdl-mode-line-update): Delete.
10201 (vhdl-create-mode-menu, vhdl-activate-customizations)
10202 (vhdl-hs-minor-mode): Don't bother calling it.
10204 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10206 * simple.el (with-wrapper-hook): Move.
10207 (buffer-substring-filters): Mark obsolete.
10208 (filter-buffer-substring-functions): New variable.
10209 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10211 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10212 Michael Albinus <michael.albinus@gmx.de>
10214 Implement compression for inline methods.
10216 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10217 (tramp-copy-size-limit): Allow also nil.
10218 (tramp-inline-compress-commands): New defconst.
10219 (tramp-find-inline-compress, tramp-get-inline-compress)
10220 (tramp-get-inline-coding): New defuns.
10221 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10222 replaced by `tramp-get-inline-coding'.
10223 (tramp-handle-file-local-copy, tramp-handle-write-region)
10224 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10226 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10228 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10229 Remove unused functions.
10231 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10232 Set find-tag-default-function as a variable rather than a property.
10234 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10235 * progmodes/etags.el (tags-completion-at-point-function):
10236 Remove left over interactive spec. Add autoloading stub.
10237 (complete-tag): Use tags-completion-at-point-function.
10239 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10241 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10243 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10245 * ido.el (ido-init-completion-maps): Remove C-v binding.
10246 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10248 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10250 * minibuffer.el (tags-completion-at-point-function): New function.
10251 (completion-at-point-functions): Use it.
10253 * progmodes/etags.el (complete-tag): Revert last change.
10255 2010-04-29 Alan Mackenzie <acm@muc.de>
10257 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10258 off-by-one error (in end of macro position).
10260 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10262 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10263 firefox is absent. Don't autoload.
10264 (browse-url-galeon-program): Don't autoload.
10266 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10268 * bindings.el (complete-symbol): Move into minibuffer.el.
10270 * minibuffer.el (complete-tag): Move from etags.el. If tags
10271 completion cannot be performed, return nil instead of signalling
10273 (completion-at-point): Make it an alias for complete-symbol.
10274 (complete-symbol): Move from bindings.el, and replace with the
10275 body of completion-at-point.
10277 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10279 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10281 * net/tramp.el (tramp-remote-selinux-p): New defun.
10282 (tramp-handle-file-selinux-context)
10283 (tramp-handle-set-file-selinux-context): Use it.
10285 2010-04-28 Sam Steingold <sds@gnu.org>
10287 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10288 `safe-local-variable' if the value is a string or a symbol with
10289 the property `bug-reference-url-format'.
10291 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10293 * progmodes/bug-reference.el (bug-reference-url-format):
10294 Revert 2010-04-27 change due to security risk.
10296 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10298 Make it possible to locally disable a globally enabled mode.
10299 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10300 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10301 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10302 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10303 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10304 that subsequent hooks get a chance to disable it.
10306 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10308 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10309 Avoid re-enabling a minor mode after the user turned the minor mode
10310 off if MODE-enable-in-buffers is run twice (typically once from
10311 fundamental-mode's after-change-major-mode-hook and a second time from
10312 run-mode-hook's own after-change-major-mode-hook).
10314 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10316 2010-04-27 Sam Steingold <sds@gnu.org>
10318 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10319 `safe-local-variable' if the value is a string or a function, as
10320 documented and implemented on 2010-04-02.
10322 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10324 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10325 when method is 'kill.
10327 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10329 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10330 condition in default directory check.
10331 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10332 Kill ispell process when killing its associated buffer.
10334 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10336 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10337 but we aren't using it.
10339 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10341 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10342 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10344 2010-04-24 Glenn Morris <rgm@gnu.org>
10346 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10347 Ignore VCS-ignore files, and deleted nextstep preferences files.
10348 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10349 (authors-ambiguous-files): New list.
10350 (authors-valid-file-names): Add some deleted files.
10351 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10352 (authors-disambiguate-file-name): New function. (Bug#5501)
10353 (authors-canonical-file-name): Doc fix.
10354 Don't warn about obsolete files.
10355 (authors-canonical-file-name, authors-scan-el):
10356 Use authors-disambiguate-file-name.
10358 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10359 Add autoload cookies.
10360 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10361 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10362 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10363 They have definitions / compiler macros in cl.el.
10364 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10365 Replace manual autoloads with generated ones.
10366 (htmlfontify-unload-rgb-file): Remove autoload.
10367 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10369 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10371 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10372 (byte-compile-setq-default): Optimize for the
10373 single-var case and don't call byte-compile-form in this case to avoid
10374 inf-loop with byte-compile-set-default.
10376 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10378 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10380 Implement SELINUX backends.
10382 * net/tramp.el (tramp-file-name-handler-alist):
10383 Add `file-selinux-context' and `set-file-selinux-context'.
10384 (tramp-handle-file-selinux-context)
10385 (tramp-handle-set-file-selinux-context): New defuns.
10386 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10387 Handle PRESERVE-SELINUX-CONTEXT.
10389 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10390 Add `file-selinux-context' and `set-file-selinux-context'.
10391 (tramp-gvfs-handle-file-selinux-context)
10392 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10393 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10395 * net/ange-ftp.el (ange-ftp-copy-file):
10396 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10397 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10398 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10399 Add PRESERVE-SELINUX-CONTEXT.
10401 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10403 Synchronize with Tramp repository.
10405 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10406 (tramp-action-process-alive, tramp-action-out-of-band)
10407 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10408 (tramp-exists-file-name-handler): Fix docstring.
10409 (with-progress-reporter): New defmacro.
10410 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10411 (tramp-maybe-open-connection): Use it.
10413 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10415 Detect ssh 'ControlMaster' argument automatically in some cases.
10417 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10418 (tramp-default-method): Use it.
10420 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10422 * net/tramp.el (tramp-handle-copy-file): Add new optional
10423 parameter `preserve-selinux-context'.
10424 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10426 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10428 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10429 Ensure, that non remote files are still checked. Oops.
10431 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10435 * icomplete.el (icomplete-completions): Use `non-essential'.
10437 * net/tramp.el (tramp-connectable-p): New defun.
10438 (tramp-handle-expand-file-name)
10439 (tramp-completion-handle-file-name-all-completions)
10440 (tramp-completion-handle-file-name-completion): Use it.
10442 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10444 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10446 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10448 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10450 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10452 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10455 * info.el (info-tool-bar-map): Add labels.
10457 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10459 * cus-edit.el (custom-commands): Add labels for tool bar.
10460 (custom-buffer-create-internal, Custom-mode): Adjust for
10461 labels in custom-commands.
10463 * dynamic-setting.el: Renamed from font-setting.el.
10465 2010-04-21 John Wiegley <jwiegley@gmail.com>
10467 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10468 toggles the use of virtual buffers.
10469 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10470 (ido-toggle-virtual-buffers): New function.
10472 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10474 Use `define-derived-mode'; fix window selection; doc fixes.
10475 * play/tetris.el (tetris, tetris-update-speed-function)
10476 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10477 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10478 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10479 (tetris-pause-game): Fix typos in docstrings.
10480 (tetris-mode-map, tetris-null-map):
10481 Move initialization into declaration.
10482 (tetris-mode): Define with `define-derived-mode';
10483 set show-trailing-whitespace to nil.
10484 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10486 2010-04-21 Karel Klíč <kklic@redhat.com>
10488 * files.el (backup-buffer): Handle SELinux context, and return it
10489 if a backup was made by renaming.
10490 (backup-buffer-copy): Set SELinux context to the target file.
10491 (basic-save-buffer): Set SELinux context of the newly written file.
10492 (basic-save-buffer-1): Now it also returns any SELinux context.
10493 (basic-save-buffer-2): Set SELinux context of the newly created file,
10495 * net/tramp.el (tramp-file-name-for-operation):
10496 Add file-selinux-context.
10498 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10500 Make the log-edit comments use RFC822 format throughout.
10502 * vc.el (vc-checkin, vc-modify-change-comment):
10503 Adjust to new vc-start/finish-logentry.
10504 (vc-find-conflicted-file): New command.
10505 (vc-transfer-file): Adjust to new vc-checkin.
10506 (vc-next-action): Improve scoping.
10508 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10509 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10511 * vc-git.el (vc-git-log-edit-mode): Remove.
10512 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10513 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10515 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10516 (vc-start-logentry): Remove argument `extra'.
10517 (vc-finish-logentry): Remove extra args.
10519 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10520 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10521 (vc-bzr-conflicted-files): New function.
10523 * log-edit.el (log-edit-extra-flags)
10524 (log-edit-before-checkin-process): Remove.
10525 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10526 (log-edit-headers-alist): New var.
10527 (log-edit-header-contents-regexp): New const.
10528 (log-edit-match-to-eoh): New function.
10529 (log-edit-font-lock-keywords): Use them.
10530 (log-edit): Insert a "Summary:" header as default.
10531 (log-edit-mode): Mark font-lock rules as case-insensitive.
10532 (log-edit-done): Cleanup headers.
10533 (log-view-process-buffer): Remove.
10534 (log-edit-extract-headers): New function to replace it.
10536 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10538 * subr.el (default-direction-reversed): Remove obsolescence info.
10540 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10542 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10545 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10546 I.e. include text after point in the completion region.
10547 Also, return nil when we're not after/in a symbol.
10549 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10550 default enable-multibyte-characters.
10552 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10554 * international/mule.el: Help the user choose a valid coding-system.
10555 (read-buffer-file-coding-system): New function.
10556 (set-buffer-file-coding-system): Use it. Prompt the user if the
10557 coding-system cannot encode all the chars.
10559 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10560 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10561 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10562 Don't use *vc-bzr-shelve*.
10564 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10566 Fix the version number for added files.
10567 * vc-hg.el (vc-hg-working-revision): Check if the file is
10568 registered after hg parent fails (Bug#5961).
10570 2010-04-19 Glenn Morris <rgm@gnu.org>
10572 * htmlfontify.el (htmlfontify-buffer)
10573 (htmlfontify-copy-and-link-dir): Autoload entry points.
10575 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10577 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10578 name relative to the project root (Bug#5960).
10580 2010-04-19 Glenn Morris <rgm@gnu.org>
10582 * vc-git.el (vc-git-print-log): Doc fix.
10584 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10586 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10588 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10590 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10591 default settings (Bug#5928).
10593 2010-04-19 Glenn Morris <rgm@gnu.org>
10595 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10597 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10599 2010-04-19 Kenichi Handa <handa@m17n.org>
10601 * language/indian.el (malayalam-composable-pattern): Fix previous
10602 change (add U+0D4D "SIGN VIRAMA").
10603 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10604 (tamil-composable-pattern): Fix typo in the regexp.
10605 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10606 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10607 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10609 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10611 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10612 paragraph-separate (Bug#5821).
10614 2010-04-19 Juri Linkov <juri@jurta.org>
10616 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10618 * info.el (Info-find-node-2): Comment out code that skips
10620 (Info-mouse-follow-link): New command.
10621 (Info-link-keymap): New keymap.
10622 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10623 Return a string with links instead of inserting breadcrumbs
10624 to the Info buffer.
10625 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10626 Instead of putting the `invisible' text property over the Info
10627 header, make an overlay over the Info header with the `invisible'
10628 property and `after-string' set to the string returned by
10629 `Info-breadcrumbs'.
10631 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10633 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10634 Reported by monkey@sandpframing.com.
10636 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10638 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10639 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10640 available in the "keyseq cache" any more.
10642 * custom.el (defcustom): Add edebug spec.
10644 2010-04-18 Juri Linkov <juri@jurta.org>
10646 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10648 * view.el (view-file, view-buffer): Move test for special mode-class
10649 from view-file to view-buffer.
10651 * tar-mode.el (tar-extract): Turn if's into one cond
10652 like in arc-mode.el.
10654 2010-04-18 Juri Linkov <juri@jurta.org>
10656 Add 7z archive format support (bug#5475).
10658 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10659 (archive-7z-extract): New defcustom.
10660 (archive-find-type): Add magic string for 7z.
10661 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10662 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10663 `buffer' arg of `call-process'.
10664 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10665 call the function `archive-7z-extract' with the variable
10666 `archive-7z-extract' let-bound to `archive-zip-extract'.
10667 (archive-7z-summarize, archive-7z-extract): New functions.
10669 * international/mule.el (auto-coding-alist):
10670 * files.el (auto-mode-alist): Add 7z file extension.
10672 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10674 * loadup.el: Setup hash-cons for pure data.
10676 Fix duplicate entries in cedet's loaddefs.el files.
10677 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10678 Should make most file-local generated-autoload-file unnecessary.
10679 (print-readably): Silence warnings.
10680 (autoload-find-destination): Take load-name as an arg to make sure
10681 it's the same as the one that will be in the file.
10682 (autoload-generate-file-autoloads): Adjust to above changes.
10683 Try to make the dataflow a bit simpler.
10685 * cvs-status.el (cvs-refontify): Remove unused.
10687 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10689 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10691 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10692 twos-complement mode.
10694 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10696 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10697 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10698 (calc-inverse): Add "Option" to message, as appropriate.
10699 (calc-hyperbolic): Add "Option" to message, as appropriate.
10700 (calc-option, calc-is-option): New functions.
10702 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10703 (calc-option-prefix-help): New function.
10705 * calc/calc-misc.el (calc-help): Add "Option" entry.
10707 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10708 (calc-option-flag): New variable.
10709 (calc-do): Set `calc-option-flag to nil.
10710 (calc-set-mode-line): Add "Opt " as appropriate.
10712 2010-04-16 Juri Linkov <juri@jurta.org>
10714 Move scrolling commands from simple.el to window.el
10715 because their primitives are implemented in window.c.
10717 * simple.el (scroll-error-top-bottom)
10718 (scroll-up-command, scroll-down-command, scroll-up-line)
10719 (scroll-down-line, scroll-other-window-down)
10720 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10721 * window.el (scroll-error-top-bottom)
10722 (scroll-up-command, scroll-down-command, scroll-up-line)
10723 (scroll-down-line, scroll-other-window-down)
10724 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10725 Move from simple.el to window.el because their primitives are
10726 implemented in window.c.
10728 2010-04-16 Juri Linkov <juri@jurta.org>
10730 * isearch.el (isearch-lookup-scroll-key): Check both
10731 `isearch-scroll' and `scroll-command' properties.
10732 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10734 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10736 * simple.el (scroll-up-command, scroll-down-command)
10737 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10739 2010-04-15 Juri Linkov <juri@jurta.org>
10741 * simple.el (scroll-up-command, scroll-down-command)
10742 (scroll-up-line, scroll-down-line): Put `scroll-command'
10743 property on the these symbols. Remove them from
10744 `scroll-preserve-screen-position-commands'.
10746 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10747 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10748 Remove it from `scroll-preserve-screen-position-commands'.
10750 * isearch.el (isearch-allow-scroll): Doc fix.
10752 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10754 * net/tramp.el (tramp-error-with-buffer): Don't show the
10755 connection buffer when we are in completion mode.
10756 (tramp-file-name-handler): Catch the error for some operations
10757 when we are in completion mode. This gives the user the chance to
10758 correct the file name in the minibuffer.
10760 2010-04-15 Glenn Morris <rgm@gnu.org>
10762 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10764 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10766 Simplify by using `define-derived-mode'.
10767 * info.el (Info-mode):
10768 * calendar/todo-mode.el (todo-mode):
10769 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10770 (gomoku-mode-map): Move initialization into declaration.
10772 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10775 * ido.el (ido-file-name-all-completions-1):
10776 * minibuffer.el (minibuffer-completion-help):
10777 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10779 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10781 * simple.el (non-essential): New var.
10783 Add a new field `location' to bookmarks for non-file bookmarks.
10784 * bookmark.el (bookmark-location): Use the new field, if present.
10785 (bookmark-insert-location): Undo last change, not needed any more.
10786 * man.el (Man-bookmark-make-record):
10787 * woman.el (woman-bookmark-make-record): Add `location' field.
10789 2010-04-14 Juri Linkov <juri@jurta.org>
10791 * simple.el (scroll-error-top-bottom): New defcustom.
10792 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10794 * emulation/pc-select.el (pc-select-override-scroll-error):
10795 Obsolete in favor of `scroll-error-top-bottom'.
10797 2010-04-14 Juri Linkov <juri@jurta.org>
10799 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10800 `scroll-up-command' and `M-v' to `scroll-down-command'.
10802 * emulation/cua-rect.el (cua--init-rectangles):
10803 * forms.el (forms--change-commands):
10804 * image-mode.el (image-mode-map):
10805 Remap scroll-down-command and scroll-up-command
10806 in addition to scroll-down and scroll-up.
10808 2010-04-14 Juri Linkov <juri@jurta.org>
10810 * mwheel.el (scroll-preserve-screen-position-commands):
10811 Add mwheel-scroll to this list of commands.
10813 * simple.el (scroll-preserve-screen-position-commands):
10814 Add scroll-up-command, scroll-down-command, scroll-up-line,
10815 scroll-down-line to this list of commands.
10817 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10819 * obsolete/complete.el: Move from lisp/complete.el.
10821 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10823 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10824 to the minor mode function now turns the mode ON unconditionally.
10826 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10828 * vc-dir.el (vc-dir-kill-line): New command.
10829 (vc-dir-mode-map): Bind it to C-k.
10831 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10833 * woman.el: Add bookmark declarations to silence the compiler.
10834 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10835 step to compatibility between man and woman bookmarks.
10836 Adjust for Man-default-bookmark-title renaming.
10837 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10839 * man.el: Add bookmark declarations to silence the compiler.
10840 (Man-name-local-regexp): Make it match NAME as well.
10841 (Man-getpage-in-background): Return the buffer.
10842 (Man-notify-when-ready): Use `case'.
10843 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10844 Don't hardcode "NAME". Simplify.
10845 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10846 Rename from Man-bookmark-make-record.
10847 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10848 we have the actual man-args. Use Man-getpage-in-background rather
10849 than `man' since the arg is already processed. Let bookmark.el do the
10850 window handling. Only wait for the relevant process.
10851 Don't forget to autoload.
10853 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10855 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10857 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10859 (woman-mode): Setup bookmark support.
10861 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10862 (man-bookmark-jump): New functions.
10863 (Man-mode): Setup bookmark support.
10865 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10867 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10868 recognize ssh-keygen prompt (Bug#2817).
10870 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10872 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10874 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10876 Synchronize with Tramp repository.
10878 * net/tramp.el (tramp-completion-function-alist)
10879 (tramp-file-name-regexp, tramp-chunksize)
10880 (tramp-local-coding-commands, tramp-remote-coding-commands):
10882 (tramp-remote-process-environment): Use `format' instead of `concat'.
10883 (tramp-handle-directory-files-and-attributes)
10884 (tramp-get-remote-path): Use `copy-tree'.
10885 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10886 compatibility: Use `completion-ignore-case' if
10887 `read-file-name-completion-ignore-case' does not exist.
10888 (tramp-do-copy-or-rename-file-directly): Do not use
10889 `tramp-handle-file-remote-p'.
10890 (tramp-do-copy-or-rename-file-out-of-band):
10891 Use `tramp-compat-delete-directory'.
10892 (tramp-do-copy-or-rename-file-out-of-band)
10893 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10894 Use `format-spec-make'.
10895 (tramp-find-foreign-file-name-handler)
10896 (tramp-advice-make-auto-save-file-name)
10897 (tramp-set-auto-save-file-modes): Remove superfluous check for
10898 `stringp'. This is done inside `tramp-tramp-file-p'.
10899 (tramp-debug-outline-regexp): New defconst.
10900 (tramp-get-debug-buffer): Use it.
10901 (tramp-check-for-regexp): Use (forward-line 1).
10902 (tramp-set-auto-save-file-modes): Adapt version check.
10904 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10905 Wrap call of `featurep' for 2nd argument.
10906 (tramp-compat-make-temp-file): Simplify fallback implementation.
10907 (tramp-compat-copy-tree): Remove function.
10908 (tramp-compat-delete-directory): Provide implementation for older
10911 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10912 Do not use `tramp-fish-handle-file-attributes.
10914 * net/trampver.el: Update release number.
10916 2010-04-10 Glenn Morris <rgm@gnu.org>
10918 * progmodes/compile.el (compilation-save-buffers-predicate):
10919 Add missing :version tag.
10921 2010-04-09 Sam Steingold <sds@gnu.org>
10923 * progmodes/compile.el (compilation-save-buffers-predicate):
10924 Remove the "autoload" cookie.
10926 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10927 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10928 and `bug-reference-prog-mode' can be used in hooks directly.
10930 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10932 Add --author support to git commit.
10933 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10934 (vc-git-log-edit-mode): New minor mode.
10935 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10938 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10940 * vc-hooks.el, vc-git.el: Improve documentation comments.
10942 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10944 Fix some of the problems in defsubst* (bug#5728).
10945 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10946 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10948 2010-04-07 Sam Steingold <sds@gnu.org>
10950 * progmodes/compile.el (compilation-save-buffers-predicate):
10951 New custom variable.
10952 (compile, recompile): Pass it to `save-some-buffers'.
10954 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10956 * wid-edit.el (widget-choose): Move cursor to the second line of
10957 the buffer (Bug#5695).
10959 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10961 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10962 * vc.el (vc-print-log-setup-buttons): New function split out from
10963 vc-print-log-internal.
10964 (vc-log-internal-common): New function, a parametrized version of
10965 vc-print-log-internal.
10966 (vc-print-log-internal): Just call vc-log-internal-common with the
10968 (vc-incoming-outgoing-internal):
10969 (vc-log-incoming, vc-log-outgoing): New functions.
10970 (vc-log-view-type): New permanent local variable.
10972 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10974 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10975 of the dynamic bound vc-short-log.
10976 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10978 * vc-git.el (vc-git-log-outgoing): New function.
10979 (vc-git-log-view-mode): Use vc-log-view-type instead
10980 of the dynamic bound vc-short-log.
10982 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10983 of the dynamic bound vc-short-log. Highlight the tag.
10984 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10985 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10986 (vc-hg-incoming-mode): Remove.
10987 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10989 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10991 Fix default-directory for vc-root-diff.
10992 * vc.el (vc-root-diff): Bind default-directory to the root
10993 directory for the diff command.
10995 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10997 * progmodes/verilog-mode.el (verilog-forward-sexp):
10998 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10999 word keywords, suggested by Steve Pearlmutter.
11000 (verilog-pretty-declarations): Support lineup of declarations in
11002 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11003 fix bug for /* / comments.
11004 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11005 Speed up and simplfy as this is never called with a bound.
11006 (verilog-pretty-declarations): Enhance to line up declarations
11007 inside a parameter list, suggested by Alan Morgan.
11008 (verilog-pretty-expr): Tune assignment regular expression match
11009 string for corner cases; also use markers instead of character
11010 number as indent changes the later.
11012 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11014 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11015 as missing keyword.
11016 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11017 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11018 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11019 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11021 (verilog-keywords):
11022 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11023 1800-2009 keywords, including "global.".
11025 2010-04-06 John Wiegley <jwiegley@gmail.com>
11027 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11028 appearing in buffer list (if a live buffer name matched a recentf
11029 file basename). Should use uniquify to offer a real solution.
11031 2010-04-06 John Wiegley <jwiegley@gmail.com>
11033 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11034 comment to code, and add a :version tag.
11035 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11037 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11039 Enable recentf-mode if using virtual buffers.
11040 * ido.el (recentf-list): Declare for byte-compiler.
11041 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11042 (ido-make-buffer-list): Simplify.
11043 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11045 2010-04-05 Juri Linkov <juri@jurta.org>
11047 Scrolling commands which scroll a line instead of full screen.
11048 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11050 * simple.el (scroll-up-line, scroll-down-line): New commands.
11051 Put property isearch-scroll=t on them.
11053 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11056 2010-04-05 Juri Linkov <juri@jurta.org>
11058 Scrolling commands which do not signal errors at top/bottom.
11059 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11061 * simple.el (scroll-up-command, scroll-down-command): New commands.
11062 Put property isearch-scroll=t on them.
11064 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11065 `scroll-down-command' and [next] from `scroll-up' to
11066 `scroll-up-command'.
11068 * emulation/cua-base.el: Put property CUA=move on
11069 `scroll-up-command' and `scroll-down-command'.
11070 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11071 and `scroll-down-command' to `cua-scroll-down'.
11073 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11075 * help.el (describe-mode): Return nil.
11077 2010-04-04 John Wiegley <jwiegley@gmail.com>
11079 * ido.el (ido-use-virtual-buffers): New variable to indicate
11080 whether "virtual buffer" support is enabled for IDO.
11081 (ido-virtual): Face used to indicate virtual buffers in the list.
11082 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11083 exists, but a virtual buffer of that name does (which would be why
11084 it was in the list), recreate the buffer by reopening the file.
11085 (ido-make-buffer-list): If virtual buffers are being used, call
11086 `ido-add-virtual-buffers-to-list' before the make list hook.
11087 (ido-virtual-buffers): New variable which contains a copy of the
11088 current contents of the `recentf-list', albeit pared down for the
11089 sake of speed, and with proper faces applied.
11090 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11091 create a list of "virtual buffers" to present to the user in
11092 addition to the currently open set. Note that this logic could
11093 get rather slow if that list is too large. With the default
11094 `recentf-max-saved-items' of 200, there is little speed penalty.
11096 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11098 * font-lock.el: Require CL when compiling.
11099 (font-lock-turn-on-thing-lock): Use `case'.
11101 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11103 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11106 2010-04-02 Juri Linkov <juri@jurta.org>
11108 * ehelp.el (electric-help-orig-major-mode):
11109 New buffer-local variable.
11110 (electric-help-mode): Set it to original major-mode. Doc fix.
11111 (with-electric-help): Use `electric-help-orig-major-mode' instead
11112 of (default-value 'major-mode). Doc fix.
11113 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11115 2010-04-02 Sam Steingold <sds@gnu.org>
11117 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11118 `vc-hg-command' with a list of flags.
11120 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11121 Also accept "patch" and "RFE".
11122 (bug-reference-fontify): `bug-reference-url-format' can also be a
11123 function to be able to handle the bug kind.
11124 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11126 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11128 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11129 value to fboundp, it may not be a symbol.
11131 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11133 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11135 2010-03-31 Juri Linkov <juri@jurta.org>
11137 * simple.el (next-line, previous-line): Re-throw a signal
11138 with `signal' instead of using `ding'.
11139 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11141 2010-03-31 Juri Linkov <juri@jurta.org>
11143 * simple.el (keyboard-escape-quit): Raise deselecting the active
11144 region higher than exiting the minibuffer.
11145 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11147 2010-03-31 Juri Linkov <juri@jurta.org>
11149 * image.el (image-animated-p): Use `image-metadata' instead of
11150 `image-extension-data'. Get GIF extenstion data from metadata
11151 property `extension-data'.
11153 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11155 * simple.el (append-to-buffer): Simplify.
11157 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11159 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11160 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11162 2010-03-31 Kenichi Handa <handa@m17n.org>
11164 * language/sinhala.el (composition-function-table): Fix regexp for
11165 the new Unicode specification.
11167 * language/indian.el (devanagari-composable-pattern)
11168 (tamil-composable-pattern, kannada-composable-pattern)
11169 (malayalam-composable-pattern): Adjust for the new Unicode
11171 (bengali-composable-pattern, gurmukhi-composable-pattern)
11172 (gujarati-composable-pattern, oriya-composable-pattern)
11173 (telugu-composable-pattern): New variables to cope with the new
11174 Unicode specification. Use them in composition-function-table.
11176 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11178 Make tmm-menubar work for the Buffers menu again (bug#5726).
11179 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11180 vectors rather than cons cells, as used in menu-bar-update-buffers.
11182 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11184 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11185 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11186 electric punctuation for "{}();,:" (Bug#5586).
11188 * mail/sendmail.el (mail-default-directory): Doc fix.
11190 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11192 * mail/sendmail.el (mail-default-directory): Doc fix.
11194 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11196 * subr.el (version-regexp-alist, version-to-list)
11197 (version-list-<, version-list-=, version-list-<=)
11198 (version-list-not-zero, version<, version<=, version=): Doc fix.
11201 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11203 * vc.el (vc-root-diff): Doc fix.
11205 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11207 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11209 * simple.el (append-to-buffer): Fix last change.
11211 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11213 * simple.el (append-to-buffer): Ensure that point is preserved if
11214 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11217 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11219 * files.el (auto-mode-case-fold): Change default to t.
11221 2010-03-30 Juri Linkov <juri@jurta.org>
11223 * dired-x.el (dired-omit-mode): Doc fix.
11225 2010-03-30 Juri Linkov <juri@jurta.org>
11227 * replace.el (occur-accumulate-lines): Move occur-engine related
11228 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11229 to be located after `occur-engine'.
11231 2010-03-30 Juri Linkov <juri@jurta.org>
11233 Make occur handle multi-line matches cleanly with context.
11234 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11236 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11237 (occur-engine): Add local variables `ret', `prev-after-lines',
11238 `prev-lines'. Use more arguments for `occur-context-lines'.
11239 Set first elem of its returned list to `data', and the second elem
11240 to `prev-after-lines'. Don't print the separator line.
11241 In the end, print remaining context after-lines.
11242 (occur-context-lines): Add new arguments `begpt', `endpt',
11243 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11244 after-lines of the previous match with before-lines of the
11245 current match and not overlap them. Return a list with two
11246 values: the output line and the list of context after-lines.
11248 2010-03-30 Juri Linkov <juri@jurta.org>
11250 * replace.el (occur-accumulate-lines): Fix a bug where the first
11251 context line at the beginning of the buffer was missing.
11253 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11255 * files.el: Make bidi-display-reordering safe variable for boolean
11258 2010-03-29 Phil Hagelberg <phil@evri.com>
11259 Chong Yidong <cyd@stupidchicken.com>
11261 * subr.el: Extend progress reporters to perform "spinning".
11262 (progress-reporter-update, progress-reporter-do-update):
11263 Handle non-numeric value arguments.
11264 (progress-reporter--pulse-characters): New var.
11266 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11268 * progmodes/compile.el (compilation-start): Fix regexp detection
11269 of initial cd command (Bug#5771).
11271 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11273 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11275 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11277 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11278 * progmodes/gdb-mi.el: Restore.
11279 * progmodes/gdb-ui.el: Remove.
11280 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11282 2010-03-25 Glenn Morris <rgm@gnu.org>
11284 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11285 all dired buffers, even tramp ones. (Bug#5755)
11287 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11289 Add "union tags" in mpc.el.
11290 * mpc.el: Remove backward compatibility code.
11291 (mpc-browser-tags): Change default.
11292 (mpc--find-memoize-union-tags): New var.
11293 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11294 (mpc-cmd-find): Handle the case where the playlist does not exist.
11296 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11297 (mpc-cmd-add): Use mpc-cmd-flush.
11298 (mpc-tagbrowser-tag-name): New fun.
11299 (mpc-tagbrowser-buf): Use it.
11300 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11302 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11305 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11306 Use replace-regexp-in-string.
11307 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11308 (makefile-imake-mode-syntax-table): Move init into defvar.
11309 (makefile-mode): Use define-derived-mode.
11311 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11312 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11313 not be present any more.
11315 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11317 * faces.el (set-face-attribute): Fix typo in docstring.
11318 (face-valid-attribute-values): Reflow docstring.
11320 2010-03-24 Glenn Morris <rgm@gnu.org>
11322 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11324 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11326 * indent.el (indent-for-tab-command): Doc fix.
11328 2010-03-24 Alan Mackenzie <acm@muc.de>
11330 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11331 Fix off-by-one error. Fixes bug #5747.
11333 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11335 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11336 (image-dired-read-comment): Doc fix.
11338 * json.el (json-object-type, json-array-type, json-key-type)
11339 (json-false, json-null, json-read-number):
11340 * minibuffer.el (completion-in-region-functions):
11341 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11342 (cal-tex-cursor-week):
11343 * emacs-lisp/trace.el (trace-function):
11344 * eshell/em-basic.el (eshell/printnl):
11345 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11346 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11347 * obsolete/levents.el (allocate-event, event-key, event-object)
11348 (event-point, event-process, event-timestamp, event-to-character)
11349 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11350 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11351 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11352 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11353 (reftex-highlight-selection): Fix typos in docstrings.
11355 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11357 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11359 2010-03-24 Glenn Morris <rgm@gnu.org>
11361 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11362 2008-02-13 without comment; mark it obsolete.
11363 (rmail-highlight-headers): Use rmail-highlight-face once more.
11365 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11367 * woman.el (woman2-process-escapes): Only consume the newline if
11368 the filler character is on a line by itself (Bug#5729).
11370 2010-03-24 Kenichi Handa <handa@m17n.org>
11372 * language/indian.el (devanagari-composable-pattern): Add more
11375 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11377 * net/trampver.el: Update release number.
11379 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11381 * net/tramp.el (tramp-find-executable):
11382 Use `tramp-get-connection-buffer'. Make the regexp for checking
11383 output of "wc -l" more robust.
11384 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11385 (tramp-open-connection-setup-interactive-shell): Remove workaround
11386 for OpenSolaris bug, it is not needed anymore.
11388 2010-03-24 Glenn Morris <rgm@gnu.org>
11390 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11392 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11394 * files.el (auto-mode-alist): Accept more verilog file patterns.
11396 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11398 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11400 2010-03-24 Glenn Morris <rgm@gnu.org>
11402 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11403 log-edit-before-checkin-process.
11405 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11407 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11409 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11410 (log-view-process-buffer, log-edit-extra-flags): Declare.
11412 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11414 2010-03-23 Sam Steingold <sds@gnu.org>
11416 Fix bug#5620: recalculate all markers on compilation buffer
11417 modifications, not on file modifications.
11418 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11419 variable: the buffer modification time, for buffers not associated with
11421 (compilation-mode): Create it.
11422 (compilation-filter): Update it.
11423 (compilation-next-error-function): Use it instead of
11424 `visited-file-modtime' for timestamp.
11426 2010-03-23 Juri Linkov <juri@jurta.org>
11428 Implement Occur multi-line matches.
11429 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11431 * replace.el (occur): Doc fix.
11432 (occur-engine): Set `begpt' to the beginning of the first line.
11433 Set `endpt' to the end of the last match line. At first, count
11434 line numbers between `origpt' and `begpt'. Split out code from
11435 `out-line' variable to new let-bindings `match-prefix' and
11436 `match-str'. In `out-line' add non-numeric prefix to all
11437 non-first lines of multi-line matches. Finally, count lines
11438 between `begpt' and `endpt' and add to `lines'.
11440 2010-03-23 Juri Linkov <juri@jurta.org>
11442 * replace.el (occur-accumulate-lines, occur-engine):
11443 Use `occur-engine-line' instead of duplicate code.
11444 (occur-engine-line): New function created from duplicate code
11445 in `occur-accumulate-lines' and `occur-engine'.
11447 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11448 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11450 2010-03-23 Juri Linkov <juri@jurta.org>
11452 * finder.el: Remove TODO tasks.
11454 * info.el (Info-finder-find-node): Add node "all"
11455 with all package info. Handle a list of multiple keywords
11456 separated by comma.
11457 (info-finder): In interactive use with a prefix argument,
11458 use `completing-read-multiple' to read a list of keywords
11459 separated by comma.
11461 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11463 Add a new completion style `substring'.
11464 * minibuffer.el (completion-basic--pattern): New function.
11465 (completion-basic-try-completion, completion-basic-all-completions):
11467 (completion-substring--all-completions)
11468 (completion-substring-try-completion)
11469 (completion-substring-all-completions): New functions.
11470 (completion-styles-alist): New style `substring'.
11472 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11474 Get rid of .elc files after removal of the corresponding .el.
11475 * Makefile.in (compile-clean): New target.
11476 (compile-main): Use it.
11478 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11480 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11481 don't do make there. When compiling with separate object dir, there
11482 is no Makefile there.
11484 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11486 Get rid of the ELCFILES abomination, again.
11487 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11488 (all, compile): Don't call compile-last.
11489 (compile-main): Build the "elcfiles" list dynamically.
11490 (compile-targets): New (internal) target.
11492 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11494 * Makefile.in (top_srcdir): Define.
11495 (abs_top_builddir): Define.
11496 (srcdir): Don't append `/..'.
11497 (EMACS): Use ${abs_top_builddir}.
11498 (all, compile, compile-always, compile-last): Don't set emacswd.
11499 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11501 (lisp): Use $(srcdir) instead of @srcdir@.
11503 2010-03-21 Juri Linkov <juri@jurta.org>
11505 Fix message of multi-line occur regexps and multi-buffer header lines.
11506 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11508 * replace.el (occur-1): Don't display regexp if it is longer
11509 than window-width. Use `query-replace-descr' to display regexp.
11510 (occur-engine): Don't display regexp in the buffer header for
11511 multi-buffer occur. Display a separate header line with total
11512 match count and regexp for multi-buffer occur.
11513 Use `query-replace-descr' to display regexp.
11515 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11517 * net/secrets.el: Fix parenthesis.
11518 (secrets-enabled): Fix parenthesis.
11520 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11522 Use more relative file and directory names.
11523 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11524 (setwins, setwins_almost, setwins_for_subdirs):
11525 Don't `cd'; output relative names.
11526 (all, compile, compile-always, compile-last): Set emacswd.
11527 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11528 Just cd to the lisp source dir so we can use relative file names.
11530 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11532 2010-03-20 Glenn Morris <rgm@gnu.org>
11534 * textmodes/rst.el: Use faces for font-lock customization, and make the
11535 old -face variables obsolete.
11536 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11537 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11538 (rst-block-face, rst-external-face, rst-definition-face)
11539 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11540 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11542 (rst-font-lock-keywords-function): Update for above changes.
11544 2010-03-20 Juri Linkov <juri@jurta.org>
11547 * obsolete/s-region.el: Move to obsolete.
11549 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11551 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11553 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11555 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11557 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11559 Add special markup processing for commit logs.
11560 * log-edit.el (log-edit-extra-flags): New variable.
11561 (log-edit): Add new argument MODE. Use that mode when non-nil
11562 instead of the log-view-mode.
11563 (log-view-process-buffer): New function.
11565 * vc.el: Document that the checkin method takes optional
11566 arguments. Document new backend specific method: log-view-mode.
11567 (vc-default-log-edit-mode): New function.
11568 (vc-checkin): Use a backend specific log-view-mode.
11569 Pass extra arguments to the checkin method.
11570 (vc-modify-change-comment): Pass a dummy extra argument.
11572 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11574 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11575 (vc-finish-logentry): Process the log buffer before passing it
11576 down. Pass log-edit-extra-flags.
11578 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11580 (log-edit-extra-flags, log-edit-before-checkin-process):
11583 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11585 (log-edit-extra-flags, log-edit-before-checkin-process):
11587 (vc-hg-log-edit-mode): New derived mode.
11589 * vc-arch.el (vc-arch-checkin):
11590 * vc-cvs.el (vc-cvs-checkin):
11591 * vc-git.el (vc-git-checkin):
11592 * vc-mtn.el (vc-mtn-checkin):
11593 * vc-rcs.el (vc-rcs-checkin):
11594 * vc-sccs.el (vc-sccs-checkin):
11595 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11597 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11599 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11602 2010-03-19 Glenn Morris <rgm@gnu.org>
11604 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11606 2010-03-18 Glenn Morris <rgm@gnu.org>
11608 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11610 * replace.el (query-replace-history): Give it a doc string.
11611 (map-query-replace-regexp): Use query-replace-from-history-variable
11612 and query-replace-to-history-variable.
11614 * mail/hashcash.el (declare-function): Remove duplicate definition.
11616 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11617 Make it an obsolete alias for report-emacs-bug-address.
11618 (message-strip-special-text-properties): Declare.
11619 (report-emacs-bug): Remove test for a pretest bug address.
11620 Combine message-mode-specific code.
11622 * mail/supercite.el: Don't require sendmail.
11623 (mh-in-header-p): Declare rather than using with-no-warnings.
11624 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11625 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11627 * calendar/cal-french.el: Convert to utf-8.
11629 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11632 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11634 * net/secrets.el (secrets-enabled): New variable. Use it instead
11637 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11639 * net/secrets.el (top): Register the D-Bus signals only when the
11640 service "org.freedesktop.secrets" can be pinged.
11641 Provide subfeature `enabled'.
11643 2010-03-14 Juri Linkov <juri@jurta.org>
11645 Add finder unknown keywords.
11647 * finder.el (finder-unknown-keywords): New function.
11649 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11650 to create a Finder node with unknown keywords.
11652 2010-03-14 Juri Linkov <juri@jurta.org>
11654 * finder.el (finder-compile-keywords): Replace `princ' with
11655 `prin1' on a list of symbols interned from keyword strings.
11657 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11658 a comma, then split keywords using a comma and optional whitespace.
11659 Otherwise, split by whitespace.
11667 * progmodes/mixal-mode.el: Fix keywords.
11669 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11671 * Makefile.in (ELCFILES): Add net/secrets.elc.
11673 * net/secrets.el: New file.
11675 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11677 * facemenu.el (list-colors-display, list-colors-print): New arg
11678 callback. Use it to allow selecting colors.
11680 * wid-edit.el (widget-image-insert): Insert image prop even if the
11681 current display is non-graphic.
11682 (widget-field-value-set): New fun.
11683 (editable-field): Use it.
11684 (widget-field-value-get): Clean up unused var.
11685 (widget-color-value-create, widget-color--choose-action):
11686 New funs. Allow using list-colors-display to choose color.
11688 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11690 * cus-edit.el: Resort topmost custom groups.
11691 (custom-buffer-sort-alphabetically): Default to t.
11692 (customize-apropos): Use apropos-parse-pattern.
11693 (custom-search-field): New var.
11694 (custom-buffer-create-internal): Add custom-apropos search field.
11695 (custom-add-parent-links): Don't display parent doc.
11696 (custom-group-value-create): Don't sort top-level custom group.
11697 (custom-magic-value-create): Show visibility button before option name.
11699 (custom-variable-state): New fun, from custom-variable-state-set.
11700 (custom-variable-state-set): Use it.
11701 (custom-group-value-create): Hide options with standard values
11702 using the :hidden-states property. Use progress reporter.
11704 (custom-show): Simplify.
11705 (custom-visibility): Disable images by default.
11706 (custom-variable): New property :hidden-states.
11707 (custom-variable-value-create): Enable images for
11708 custom-visibility widgets. Use :hidden-states property to
11709 determine initial visibility.
11711 * wid-edit.el (widget-image-find): Give images center ascent.
11712 (visibility): Add :on-image and :off-image properties.
11713 (widget-visibility-value-create): Use them.
11715 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11717 * cus-edit.el (processes): Remove from development group.
11718 (oop, hypermedia): Delete group.
11719 (comm): Promote to top-level group.
11721 * net/browse-url.el (browse-url):
11722 * net/xesam.el (xesam):
11723 * net/tramp.el (tramp):
11724 * net/goto-addr.el (goto-address):
11725 * net/ange-ftp.el (ange-ftp): Put in comm group.
11727 * view.el (view): Remove from editing group.
11729 * uniquify.el (uniquify): Put in files group.
11731 * net/browse-url.el (browse-url):
11732 * ps-print.el (postscript): Put in external group.
11734 * cus-edit.el (outlines):
11735 * textmodes/text-mode.el (text-mode-hook):
11736 * textmodes/table.el (table):
11737 * textmodes/picture.el (picture):
11738 * outline.el (outlines): Put in wp group.
11740 * nxml/nxml-mode.el (nxml): Remove from wp group.
11742 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11744 * mail/metamail.el (metamail): Remove from hypermedia group.
11746 * cus-edit.el (abbrev):
11747 * whitespace.el (whitespace):
11748 * vcursor.el (vcursor):
11749 * reveal.el (reveal):
11750 * hl-line.el (hl-line): Put in convenience group.
11752 * epg-config.el (epg): Put in data group.
11754 * emulation/pc-select.el (pc-select): Put in emulations group.
11756 * calculator.el (calculator): Put in applications group.
11758 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11760 Add .dir-locals.el support for file-less buffers.
11761 * files.el (hack-local-variables): Split out code to apply local
11762 variable settings ...
11763 (hack-local-variables-apply): ... here. New function.
11764 (hack-dir-local-variables): Use the default directory for when the
11765 buffer does not have an associated file.
11766 (hack-dir-local-variables-non-file-buffer): New function.
11767 * diff-mode.el (diff-mode):
11768 * vc-annotate.el (vc-annotate-mode):
11769 * vc-dir.el (vc-dir-mode):
11770 * log-edit.el (log-edit-mode):
11771 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11773 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11775 Add support for shelving snapshots and for showing shelves.
11776 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11777 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11779 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11780 (vc-bzr-extra-menu-map): Map them.
11782 2010-03-11 Glenn Morris <rgm@gnu.org>
11784 * cus-edit.el (customize-changed-options-previous-release):
11787 * image.el (image-animate-max-time): Fix :version tag.
11789 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11793 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11795 * vc-git.el (vc-git-revision-table): Include remote branches.
11797 2010-03-10 Kim F. Storm <storm@cua.dk>
11799 Animated image API.
11800 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11802 * image.el (image-animate-max-time): New defcustom.
11803 (image-animated-types): New defconst.
11804 (create-animated-image, image-animate-timer)
11805 (image-animate-start, image-animate-stop, image-animate-timeout)
11806 (image-animated-p): New functions.
11808 * image-mode.el (image-toggle-display-image):
11809 Replace `create-image' with `create-animated-image'.
11811 2010-03-09 Miles Bader <miles@gnu.org>
11813 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11814 instead of "format:"; this ensures that the output is
11815 newline-terminated.
11817 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11819 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11820 that all errors are caught, and that the return value is always a
11823 2010-03-08 Kenichi Handa <handa@m17n.org>
11825 * language/misc-lang.el (windows-1256): New coding system.
11826 (cp1256): New alias of windows-1256 (bug#5690).
11828 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11830 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11831 call to rfc822-bad-address. (Bug#5692)
11833 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11835 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11836 Use vc-git-root as default directory for revision path (Bug#5657).
11838 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11840 * calculator.el (calculator): Don't bind split-window-keep-point
11843 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11845 * vc-git.el: Re-flow to fit into 80 columns.
11846 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11847 Remove spurious `quote' element in each case alternative.
11848 (vc-git-show-log-entry): Use prog1.
11849 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11851 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11853 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11855 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11857 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11858 definition, not the name (Bug#5481).
11860 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11862 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11863 argument with a local variable. (Bug#5670)
11865 2010-03-02 Juri Linkov <juri@jurta.org>
11867 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11869 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11871 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11872 error when FILENAME and NEWNAME are existing remote directories.
11874 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11875 parameter DIR-FLAG.
11877 2010-03-02 Glenn Morris <rgm@gnu.org>
11879 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11880 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11882 2010-03-01 Kenichi Handa <handa@m17n.org>
11884 * language/burmese.el (burmese-composable-pattern): Rename from
11885 myanmar-composable-pattern.
11887 * international/characters.el (script-list):
11888 * international/fontset.el (script-representative-chars):
11889 Change myanmar to burmese.
11890 (otf-script-alist): Likewise.
11891 (setup-default-fontset): Likewise. Re-fix :otf spec.
11893 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11895 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11897 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11899 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11901 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11903 * net/tramp.el (tramp-handle-write-region): START can be a string.
11904 Take care in the checks. Reported by Dan Davison
11905 <davison@stats.ox.ac.uk>.
11907 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11909 * net/dbus.el (dbus-introspect, dbus-get-property)
11910 (dbus-set-property, dbus-get-all-properties):
11911 Use `dbus-call-method' when noninteractive. (Bug#5645)
11913 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11915 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11916 * emacs-lisp/elint.el (elint-add-required-env):
11917 * calendar/icalendar.el (icalendar--add-diary-entry):
11918 * calc/calcalg2.el (math-tracing-integral):
11919 * files.el (recover-session-finish): Use with-current-buffer
11920 instead of save-excursion.
11922 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11924 Fix in-buffer completion when after-change-functions modify the buffer.
11925 * minibuffer.el (completion--replace): New function.
11926 (completion--do-completion): Use it and use relative movement.
11928 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11930 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11932 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11934 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11935 Allow the characters _<> in the stack entry (Bug#5653).
11937 2010-02-26 Kenichi Handa <handa@m17n.org>
11939 * language/burmese.el: Fix entries in composition-function-table.
11940 (myanmar-composable-pattern): New variable.
11942 * international/fontset.el (setup-default-fontset): Add an entry
11945 * international/characters.el (script-list): Add Myanmar
11948 2010-02-26 Glenn Morris <rgm@gnu.org>
11950 * custom.el (custom-initialize-delay): Doc fix.
11952 * mail/sendmail.el (send-mail-function): Autoload the call
11953 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11955 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11957 * files.el (hack-local-variables-filter): For eval forms, also
11958 check safe-local-variable-p (Bug#5636).
11960 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11962 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11963 setting the modes by `ignore-errors'. It might fail, for example
11964 if the file is not owned by the user but the group.
11965 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11967 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11969 * files.el (directory-listing-before-filename-regexp):
11970 Use stricter matching for iso-style dates, to avoid false matches with
11971 date-like filenames (Bug#5597).
11973 * htmlfontify.el (htmlfontify): Doc fix.
11975 * eshell/eshell.el (eshell): Doc fix.
11977 * startup.el (fancy-about-screen): In mode-line, apply
11978 mode-line-buffer-id face only to the buffer name (Bug#5613).
11980 2010-02-20 Kevin Ryde <user42@zip.com.au>
11982 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11983 In `watcom' anchor regexp to start of line, to avoid slowness
11986 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11988 * subr.el (remove-yank-excluded-properties): Explain in a comment
11989 why `category' property is removed.
11991 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11993 * isearch.el (isearch-update-post-hook, isearch-update):
11994 Revert 2010-02-17 change.
11996 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11998 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11999 (icalendar--convert-weekly-to-ical)
12000 (icalendar--convert-yearly-to-ical)
12001 (icalendar--convert-block-to-ical)
12002 (icalendar--convert-cyclic-to-ical)
12003 (icalendar--convert-anniversary-to-ical): Take care of time
12004 specifications where hour has 1-digit only (Bug#5549).
12006 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12008 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12009 of disassemble output in GDB 7.1.
12011 2010-02-19 Glenn Morris <rgm@gnu.org>
12013 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12014 property. (Bug#5593)
12016 2010-02-18 Sam Steingold <sds@gnu.org>
12018 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12020 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12022 Use abbreviated file names in bookmarks (bug#5591).
12023 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12024 calls to expand-file-name.
12025 (bookmark-relocate): Use abbreviated file names in bookmarks.
12026 (bookmark-load): Use abbreviated file names in messages.
12028 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12030 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12031 expand "." and "..". Reported by Thierry Volpiatto
12032 <thierry.volpiatto@gmail.com>.
12034 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12036 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12037 permissions of the temporary file to "0600". In case the remote
12038 file has no read permissions for the owner, there might be
12039 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12041 22010-02-18 Glenn Morris <rgm@gnu.org>
12043 * emacs-lisp/authors.el (authors-renamed-files-alist):
12044 Add entries for INSTALL.CVS.
12046 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12048 * vc-bzr.el: Fix typo in Known Bugs section.
12050 * isearch.el (isearch-update-post-hook): New hook.
12051 (isearch-update): Use the new hook.
12053 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12055 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12056 Fix errors in copying directories.
12057 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12058 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12059 (tramp-handle-delete-file)
12060 (tramp-handle-dired-recursive-delete-directory)
12061 (tramp-handle-write-region): Flush also the cache for the upper
12064 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12066 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12068 * cus-edit.el (hardware): Doc fix.
12070 * man.el (man): Add to external custom group.
12072 * delim-col.el (columns): Move to wp custom group.
12074 * doc-view.el (doc-view): Add to data custom group.
12076 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12078 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12079 by ispell-parse-output (Bug#5575).
12081 2010-02-16 Kenichi Handa <handa@m17n.org>
12083 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12084 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12085 (skkdic-convert): Use `euc-japan' coding system for writing.
12087 2010-02-16 Glenn Morris <rgm@gnu.org>
12089 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12090 tex-main-file before using it. (Bug#5562)
12092 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12094 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12095 warnings, since it is annoying for the user to see them each time he
12098 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12100 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12101 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12102 instead of PROC for caching "first-password-request". Otherwise,
12103 new processes would not profit from passwords already entered.
12105 * net/tramp-cache.el (tramp-dump-connection-properties):
12106 Don't save "first-password-request" property.
12108 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12110 * outline.el (outline-head-from-level):
12111 * simple.el (with-wrapper-hook):
12112 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12113 (elint-defun, elint-buffer-env, elint-top-form-logged)
12114 (elint-unbound-variable):
12115 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12116 Fix typos in docstrings.
12118 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12120 * files.el (insert-directory): When WILDCARD-REGEXP and
12121 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12122 whole directory. (Bug#5551)
12124 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12125 dired's alignment sanity. (Bug#5516)
12127 2010-02-14 Juri Linkov <juri@jurta.org>
12129 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12130 Remove remaining ^H with their preceding chars. (Bug#5566)
12132 2010-02-13 Glenn Morris <rgm@gnu.org>
12134 * simple.el (transpose-subr): Give it a doc-string.
12136 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12139 2010-02-12 Juri Linkov <juri@jurta.org>
12141 * arc-mode.el (archive-unique-fname): Make directories for nested
12142 archives. (Bug#5540)
12144 2010-02-12 Juri Linkov <juri@jurta.org>
12146 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12148 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12150 * subr.el (copy-overlay): Handle deleted overlays.
12152 * man.el (Man-completion-table): Don't signal an error if we can't run
12153 manual-program (bug#4056).
12155 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12157 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12159 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12161 * info.el (Info-bookmark-jump): Simplify.
12163 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12164 (bookmark-default-handler): Accept new bookmark field `buffer'.
12166 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12168 * iswitchb.el (iswitchb-completions): Revert last change.
12170 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12172 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12173 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12174 This prevents file names like "~/" being listed literally.
12176 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12178 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12179 Remove dead code. (Bug#5546)
12181 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12183 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12184 correctly (Bug#5548).
12186 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12188 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12189 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12191 2010-02-08 Kenichi Handa <handa@m17n.org>
12193 * international/mule-util.el (with-coding-priority): Add autoload
12194 cookie for putting `lisp-indent-function'.
12196 2010-02-07 Glenn Morris <rgm@gnu.org>
12198 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12199 Move F2003 named interfaces from keywords-2 to keywords-1, and
12200 use function-name-face rather than constant-face.
12201 Simplify "abstract interface" regexp.
12203 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12205 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12206 ID-FORMAT. Pass it to `file-attributes'.
12208 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12210 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12212 * faces.el (set-face-attribute): Allow calling
12213 internal-set-lisp-face-attribute with 'unspecified family and
12214 foundry argument (Bug#5536).
12216 2010-02-07 Glenn Morris <rgm@gnu.org>
12218 * progmodes/f90.el (f90-font-lock-keywords-2)
12219 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12220 Handle F2003 named interfaces.
12222 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12224 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12225 beg and end before calling c-get-state-before-change-functions.
12227 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12229 * vc-bzr.el (vc-bzr-dir-extra-headers):
12230 Disable the pending merges header.
12232 2010-02-05 Juri Linkov <juri@jurta.org>
12234 * doc-view.el (doc-view-mode):
12235 * image-mode.el (image-mode): Put property mode-class=special.
12238 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12240 * vc-svn.el (vc-svn-revision-table): New function.
12242 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12244 * net/ange-ftp.el (ange-ftp-insert-directory):
12245 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12246 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12247 Handle also directories. (Bug#5478)
12249 2010-02-05 Glenn Morris <rgm@gnu.org>
12251 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12253 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12255 * startup.el (command-line-1): Convert options beginning with a
12256 single dash as well (Bug#5519).
12258 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12260 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12261 * minibuffer.el (completion-initials-expand): Only check the presence
12262 of delims *within* the boundaries, since otherwise the / delim is
12263 always found for files.
12265 Fix up various corner case problems.
12266 * doc-view.el (doc-view-last-page-number): New function.
12267 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12268 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12269 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12270 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12271 (doc-view-convert-current-doc): Don't create the resolution.el file
12273 (doc-view-pdf/ps->png): Do it here instead.
12274 (doc-view-already-converted-p): Check that resolution.el is present.
12275 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12276 windows that are not yet showing images.
12278 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12280 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12281 `dired-uncache' for every elemnt which is an absolute file name.
12283 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12284 directory, handle its directory component.
12285 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12286 function is called permanently and creates noise, otherwise.
12288 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12289 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12290 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12292 2010-02-04 David Burger <dburger@google.com> (tiny change)
12294 * macros.el (apply-macro-to-region-lines):
12295 Minor simplification. (Bug#5485)
12297 2010-02-04 Glenn Morris <rgm@gnu.org>
12299 * mail/rmail.el (rmail-show-message-1): Handle malformed
12300 quoted-printable text. (Bug#5441)
12302 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12304 * simple.el (visual-line-mode): Capitalize lighter.
12306 2010-02-03 John Wiegley <jwiegley@gmail.com>
12308 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12309 list of files considered for "virtual buffer" completions.
12311 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12313 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12314 also in case of (and (not full) (not wildcard)). This is needed
12315 when dired is called with a list of files, which are not in
12316 `default-directory'. (Bug#5478)
12318 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12320 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12322 2010-02-02 Juri Linkov <juri@jurta.org>
12324 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12325 from unidiff to allow function-line after @@.
12327 2010-02-02 Juri Linkov <juri@jurta.org>
12329 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12330 '(RCS SCCS) with inverted condition.
12332 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12334 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12337 2010-02-01 Juri Linkov <juri@jurta.org>
12339 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12340 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12341 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12342 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12344 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12346 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12347 (doc-view-revert-buffer): New command.
12348 (doc-view-mode-map): Use it.
12350 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12352 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12353 pending merge is detected.
12355 2010-01-31 Juri Linkov <juri@jurta.org>
12357 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12358 beginning of interactive spec like all other grep commands do.
12359 Put "all" in front of "gz". (Bug#5260)
12361 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12363 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12365 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12367 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12368 regexp is incorrect (Bug#5476).
12370 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12372 * net/tramp.el (tramp-handle-insert-directory): Handle also
12373 symlinks, when FILENAME is not in `default-directory'.
12375 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12377 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12378 FILE is not in `default-directory'. (Bug#5478)
12380 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12381 of SWITCHES. Handle the case, FILENAME is not in
12382 `default-directory'. (Bug#5478)
12383 (tramp-register-file-name-handlers): Add safe-magic property.
12385 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12387 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12390 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12392 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12393 (flymake-master-make-header-init): Add other C++ filename masks.
12394 (flymake-find-possible-master-files)
12395 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12397 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12399 Fix some busybox annoyances.
12401 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12402 not responding." string.
12403 (tramp-open-connection-setup-interactive-shell): Dump stty
12404 settings. Enable "neveropen" arg for all `tramp-send-command'
12405 calls. Handle "=" in variable values properly.
12406 (tramp-find-inline-encoding): Raise an error, when no encoding is
12408 (tramp-wait-for-output): Check, whether PROC buffer is available.
12409 Remove spurious " ^H" sequences, sent by busybox.
12410 (tramp-get-ls-command): Suppress coloring, if possible.
12412 2010-01-28 Glenn Morris <rgm@gnu.org>
12414 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12416 * log-edit.el (log-edit-strip-single-file-name): Add missing
12417 :safe, :group, and :version tags.
12419 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12421 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12422 buffers. (Bug#5477)
12424 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12426 * files.el (delete-directory): Handle moving to trash without
12427 first doing recursion (Bug#5436).
12429 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12431 * vc-hooks.el (vc-path): Mark as obsolete.
12433 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12435 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12438 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12440 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12442 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12444 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12446 * vc-bzr.el (vc-bzr-revision-table): New function.
12448 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12450 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12451 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12453 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12455 Remove support for adding --signoff on commit.
12456 Future support will use an incompatible generic mechanism.
12457 * vc-git.el (vc-git-add-signoff): Remove variable.
12458 (vc-git-toggle-signoff): Remove function.
12459 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12461 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12462 Rename from xterm-set-background-mode. Return t if the background mode
12464 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12465 earlier, call it again in case the background mode has changed.
12467 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12469 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12472 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12474 * emacs-lisp/assoc.el (aelement): Doc fix.
12475 (aput, adelete, amake): Use lexical-let (Bug#5450).
12477 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12479 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12480 is the same as subprogram call, not declaration. (Bug#5435).
12482 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12484 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12485 (tramp-smb-maybe-open-connection): Use it.
12487 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12489 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12491 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12493 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12494 just because we see "encoding: 8bit".
12495 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12497 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12499 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12501 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12503 * jka-compr.el (jka-compr-load): If load-file is not in
12504 load-history, try its file-truename version. (bug#5447)
12506 2010-01-21 Alan Mackenzie <acm@muc.de>
12508 Fix a situation where deletion of a cpp construct throws an error.
12509 * progmodes/cc-engine.el (c-invalidate-state-cache):
12510 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12511 special cpp construct is still in the buffer.
12512 (c-parse-state): Record the special cpp with markers, not numbers.
12514 2010-01-21 Kenichi Handa <handa@m17n.org>
12516 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12517 process last-command-event, as it is now decoded first (Bug#5380).
12519 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12521 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12523 2010-01-20 Glenn Morris <rgm@gnu.org>
12525 * indent.el (tab-always-indent): Fix custom-type.
12527 2010-01-19 Alan Mackenzie <acm@muc.de>
12529 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12530 buffer throws "args out of range".
12531 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12532 playing the role of delimiter.
12534 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12536 * progmodes/ada-mode.el: Fix bug#5400.
12537 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12538 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12539 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12540 Improve comments in "is" portion. Handle null procedure declaration.
12541 (ada-move-to-end): Improve doc string.
12543 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12545 * ido.el (ido-cur-list): Initialize to nil.
12546 Remove obsolete information from commentary.
12547 (ido-choice-list): Initialize to nil.
12548 (ido-get-bufname): Reject minibuffers.
12549 (ido-make-buffer-list): If "default" is a nonexistent
12550 buffer, ignore it, as per the function's comment.
12551 (ido-kill-buffer-internal): New function.
12552 (ido-kill-buffer-at-head): Use it.
12553 (ido-visit-buffer): Likewise.
12555 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12557 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12559 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12561 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12562 Fix typos in chart titles.
12564 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12565 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12566 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12567 (describe-class, eieio-describe-generic, describe-generic):
12568 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12569 (eieio-speedbar-expand):
12570 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12571 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12572 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12573 (viper-del-backward-char-in-replace, viper-backward-indent)
12574 (viper-brac-function, viper-register-to-point, viper-submit-report):
12575 * net/tramp.el (tramp-remote-coding-commands):
12576 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12577 Fix typos in docstrings.
12579 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12581 * mail/sendmail.el (mail-yank-original): Set the mark if the
12582 specified function for yanking does not do it.
12584 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12586 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12588 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12589 resyncing a directory.
12591 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12593 * progmodes/ada-mode.el: Fix bug#1920.
12594 (ada-ident-re): Delete ., allow multibyte characters.
12595 (ada-goto-label-re): New; matches goto labels.
12596 (ada-block-label-re): New; matches block labels.
12597 (ada-label-re): New; matches both.
12598 (ada-named-block-re): Deleted; callers changed to use
12599 `ada-block-label-re' instead.
12600 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12601 Use `ada-block-label-re'.
12602 (ada-indent-on-previous-lines): Improve handling of goto labels.
12603 (ada-get-indent-block-start): Special-case block label.
12604 (ada-get-indent-label): Split into `ada-indent-block-label' and
12605 `ada-indent-goto-label'.
12606 (ada-goto-stmt-start, ada-goto-next-non-ws):
12607 Optionally ignore goto labels.
12608 (ada-goto-next-word): Simplify.
12609 (ada-indent-newline-indent-conditional): Insert newline before
12610 trying to fix indentation; doc fix.
12612 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12614 * calc/calc.el (calc-command-flags): Give it an initial value.
12616 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12618 * files.el (minibuffer-with-setup-hook):
12619 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12620 (artist-key-draw-continously, artist-key-do-continously-continously)
12621 (artist-key-set-point-continously, artist-mouse-draw-continously):
12622 Fix typos in docstrings.
12624 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12626 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12627 Never return t (Bug#3898).
12629 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12631 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12632 can parse the output of the external commands (Bug#5279).
12634 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12636 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12638 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12640 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12642 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12644 * startup.el (command-line): Remove unused --icon-type arg.
12645 Handle --display arg, passing it to command-line-1 (Bug#5392).
12647 2010-01-16 Mario Lang <mlang@delysid.org>
12649 * emacs-lisp/chart.el (chart-translate-namezone):
12650 * textmodes/artist.el (artist-compute-popup-menu-table):
12651 Remove duplicated words in doc-strings.
12653 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12655 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12656 to mairix-search to suppress threading (Bug#5342).
12658 2010-01-15 Kenichi Handa <handa@m17n.org>
12660 * international/mule-cmds.el (canonicalize-coding-system-name):
12661 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12663 2010-01-15 Glenn Morris <rgm@gnu.org>
12665 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12667 * wid-edit.el (widget-keymap): Doc fix.
12669 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12670 former seems to be more widely accepted by various svn versions.
12672 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12674 * find-cmd.el (find-constituents):
12675 * vc-arch.el (vc-arch-root):
12676 * window.el (window-body-height, pop-up-frames):
12677 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12678 * progmodes/ada-stmt.el (ada-if):
12679 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12680 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12681 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12682 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12684 * progmodes/flymake.el (flymake-post-syntax-check):
12685 Fix typo in error message.
12687 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12689 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12690 which is always a string. (Bug#5313)
12692 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12694 * progmodes/ada-xref.el (ada-default-prj-properties):
12695 Simplify previous change.
12697 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12699 * progmodes/ada-xref.el (ada-default-prj-properties):
12700 Default ada_project_path to $ADA_PROJECT_PATH.
12702 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12704 * progmodes/ada-mode.el (ada-create-keymap):
12705 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12707 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12709 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12710 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12711 (ada-get-current-indent, ada-imenu-generic-expression)
12712 (ada-which-function): Check for it.
12714 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12716 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12717 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12719 2010-01-14 Glenn Morris <rgm@gnu.org>
12721 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12723 2010-01-14 Kenichi Handa <handa@m17n.org>
12725 * composite.el (auto-composition-mode): Make it a buffer local
12726 variable (permanent-local).
12727 (auto-composition-function): Set the default value to
12728 auto-compose-chars.
12729 (auto-composition-mode): Make it a simple function, not a minor mode.
12730 (global-auto-composition-mode): Likewise.
12731 (turn-on-auto-composition-if-enabled): Delete it.
12733 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12735 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12737 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12739 * files.el (copy-directory): Compute target for recursive
12740 directories with identical names. (Bug#5343)
12742 2010-01-12 Glenn Morris <rgm@gnu.org>
12744 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12745 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12747 2010-01-11 Sam Steingold <sds@gnu.org>
12749 * imenu.el (imenu-default-create-index-function): Detect infinite
12750 loops caused by imenu-prev-index-position-function.
12752 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12754 * htmlfontify.el (htmlfontify-load-rgb-file)
12755 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12756 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12757 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12758 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12759 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12760 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12761 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12762 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12763 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12764 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12765 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12766 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12767 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12768 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12769 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12770 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12771 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12772 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12773 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12774 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12775 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12776 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12777 backslash-quoting from parentheses, etc.
12779 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12781 * progmodes/js.el: Autoload javascript-mode alias.
12783 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12785 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12786 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12787 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12788 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12789 Fix typos in docstrings.
12790 (ffap-url-regexp): Doc fix.
12791 (ffap-at-mouse): Fix typo in message.
12793 2010-01-11 Glenn Morris <rgm@gnu.org>
12795 * version.el (emacs-copyright): Set copyright year to 2010.
12797 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12799 * format.el (format-annotate-function): Only set
12800 write-region-post-annotation-function after running to-fn so as not to
12801 affect nested write-region calls (bug#5273).
12803 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12805 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12808 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12810 * man.el (Man-goto-section): Signal error if the section is not
12813 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12815 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12816 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12818 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12820 * progmodes/compile.el: Don't treat compile-command as safe if
12821 compilation-read-command might be nil (Bug#4218).
12823 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12825 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12828 2010-01-08 Kenichi Handa <handa@m17n.org>
12830 * international/fontset.el (build-default-fontset-data):
12831 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12833 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12835 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12836 to `create-file-buffer' as it expects, not just a buffer name.
12837 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12838 to help uniquify. (Bug#3224)
12840 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12842 * font-setting.el (font-setting-change-default-font): Use user-spec
12845 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12847 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12849 2010-01-05 Tom Tromey <tromey@redhat.com>
12851 * progmodes/python.el (python-font-lock-keywords):
12852 Handle qualified decorators (Bug#881).
12854 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12856 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12857 in a lightweight checkout.
12859 2010-01-05 Kenichi Handa <handa@m17n.org>
12861 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12863 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12865 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12867 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12869 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12870 checkouts. (Bug#618)
12871 (vc-bzr-log-view-mode): Also highlight the author.
12872 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12873 (vc-bzr-shelve-menu-map):
12874 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12875 (vc-bzr-shelve-apply): Make prompt more explicit.
12877 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12879 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12880 They are valid characters in URL paths (rfc3986), and at least
12881 Firefox does not understand the encoded version (Bug#3166).
12883 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12885 * progmodes/octave-mod.el (octave-end-keywords)
12886 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12887 Add "end" keyword (Bug#3061).
12888 (octave-end-as-array-index-p): New function.
12889 (calculate-octave-indent): Use it.
12891 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12893 * bookmark.el: Consistently put the text property on the bookmark name.
12894 (bookmark-bmenu-marks-width): Bump back to 2, to include
12896 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12897 property on the bookmark name, instead of not putting it at all.
12898 (bookmark-bmenu-list): Fix where we put the text property.
12900 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12902 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12903 for showing buffer modified state (as added in the previous change).
12905 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12907 * bookmark.el: Show modified state of bookmark buffer more accurately.
12908 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12909 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12910 (with-buffer-modified-unmodified): New macro.
12911 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12912 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12913 Use new macro to preserve the buffer modified state.
12915 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12917 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12918 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12919 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12920 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12921 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12922 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12923 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12925 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12927 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12928 Make the lines in the generated doc string shorter. (Bug#4668)
12930 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12932 * net/rcirc.el: Add follow-link binding (Bug#4738).
12934 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12936 * Makefile.in (bzr-update): Rename from cvs-update.
12937 (cvs-update): New target for backward compatibility.
12939 * makefile.w32-in (bzr-update): Rename from cvs-update.
12940 (cvs-update): New target for backward compatibility.
12942 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12944 * bookmark.el: Remove gratuitous gratitude.
12946 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12948 * bookmark.el (bookmark-bmenu-any-marks): New function.
12949 (bookmark-bmenu-save): Clear buffer modification if no marks.
12951 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12953 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12954 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12955 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12956 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12958 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12959 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12960 To: emacs-devel {_AT_} gnu.org
12961 Subject: bookmark.el bug report
12962 Date: Mon, 28 Dec 2009 14:19:16 +0800
12963 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12965 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12967 * bookmark.el: Improvements suggested by Drew Adams:
12968 (bookmark-bmenu-ensure-position): New name for
12969 `bookmark-bmenu-check-position'. Just ensure the position,
12970 don't return any meaningful value.
12971 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12974 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12976 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12977 (bookmark-yank-point, bookmark-bmenu-check-position):
12978 Fix typos in docstrings.
12979 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12980 (bookmark-name-from-full-record, bookmark-get-position)
12981 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12982 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12983 Remove useless quoting of parenthesis, etc. in docstrings.
12985 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12986 (ediff-append-custom-diff): Fix typo in error message.
12987 (ediff-meta-mark-equal-files): Fix typos in messages.
12989 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12991 * net/imap-hash.el (imap-hash-make): Doc fix.
12992 (imap-hash-test): Fix typo in error message; reflow docstring.
12993 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12994 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12995 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12996 Fix typos in docstrings.
12997 (imap-hash-open-connection): Fix typo in error message.
12999 * play/gomoku.el (gomoku): Fix typos in docstring.
13001 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13002 (gdb-jsonify-buffer): Fix typos in docstring.
13003 (gdb-goto-breakpoint): Fix typo in error message.
13004 ("Display Other Windows"): Fix typo in help message.
13005 (gdb-speedbar-expand-node): Fix typo in question.
13007 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13008 (idlwave-html-system-help-location, idlwave-html-help-location)
13009 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13010 (idlwave-help-browser-generic-args, idlwave-help-directory)
13011 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13012 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13013 (idlwave-online-help, idlwave-help-html-link)
13014 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13015 Fix typos in docstrings.
13016 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13018 (idlwave-help-assistant-start): Fix typo in error message.
13020 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13021 (octave-electric-space): Fix typos in docstrings.
13023 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13025 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13027 2010-01-01 Juri Linkov <juri@jurta.org>
13029 * comint.el (comint-input-ring-size): Make it a defcustom and
13030 increase the default to 500 (Bug#5148).
13032 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13034 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13035 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13036 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13038 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13040 Show working revision correctly for mercurial.
13041 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13042 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13044 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13046 Declare some functions for the byte-compiler.
13047 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13048 (speedbar-timer-fn, speedbar-change-expand-button-char)
13049 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13051 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13053 This changeset reverts GDB Graphical Interface to use annotations.
13054 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13056 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13058 Make vc-dir work on subdirectories of the bzr root.
13059 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13060 Return file names relative to it.
13061 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13062 relative directory to vc-bzr-after-dir-status.
13064 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13066 * font-lock.el (font-lock-refresh-defaults): New function, which
13067 can be used to let font-lock react to external changes in
13068 variables like font-lock-defaults and keywords.
13069 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13071 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13073 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13075 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13077 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13079 Supersede color.diff settings in git log (bug#5211).
13081 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13082 escape chars in its output when the user has color.diff set to `always'.
13083 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13085 2009-12-26 Kevin Ryde <user42@zip.com.au>
13087 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13088 node. Keep previous "Index" name to work with past coreutils too.
13090 * man.el (man): Revise docstring a bit to show -a and -l as
13091 examples. Add -k description since support for it has otherwise
13092 been a secret. (Further to bug#3717.)
13093 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13094 "no matches" rather than "Can't find manpage", as the latter reads
13095 like -k was interpreted as a page name, which is not so. (Bug#5431)
13097 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13099 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13100 switches. Check also for //SUBDIRED// line.
13102 2009-12-25 Kenichi Handa <handa@m17n.org>
13104 * language/indian.el (devanagari-composable-pattern): Fix to
13105 handle ZWNJ and ZWJ. Use it in composition-function-table for
13107 (malayalam-composable-pattern): Fix previous change.
13109 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13111 * ps-print.el (ps-face-attributes): It was not returning the
13112 attribute face for faces specified as string. Reported by harven
13113 <harven@free.fr>. (Bug#5254)
13114 (ps-print-version): New version 7.3.5.
13116 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13118 * calendar/icalendar.el (icalendar--convert-tz-offset):
13119 Fix timezone names.
13120 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13121 (icalendar--add-diary-entry): Remove the trailing blank that
13122 diary-make-entry inserts.
13124 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13126 Make `file-expand-wildcards' work for remote files.
13128 * files.el (file-expand-wildcards): In case of remote files, check
13129 only local file name part for wildcards. Provide feature 'files
13130 and subfeature 'remote-wildcards. (Bug#5198)
13132 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13133 if there is already an established connection.
13134 (tramp-advice-file-expand-wildcards): Remove it.
13136 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13137 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13138 Activate advice for older GNU Emacs versions. (Bug#5237)
13140 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13142 Some doc fixes (more needed).
13144 * find-cmd.el (find-constituents): Reflow docstring.
13145 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13146 (find-generic): Doc fix.
13148 2009-12-17 Juri Linkov <juri@jurta.org>
13150 Fix regression from 23.1 to allow multiple modes in Local Variables.
13152 * files.el (hack-local-variables-filter): While ignoring duplicates,
13153 don't take `mode' into account.
13154 (hack-local-variables-filter, hack-dir-local-variables):
13155 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13157 2009-12-17 Juri Linkov <juri@jurta.org>
13159 Make `dired-diff' safer. (Bug#5225)
13161 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13162 `current' or when `file' is a directory of the `current' file.
13164 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13166 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13167 unconditionally preloaded files.
13169 2009-12-16 Juri Linkov <juri@jurta.org>
13171 Revert to old 23.1 logic of using the file at the mark as default.
13172 * dired-aux.el (dired-diff): Use the file at the mark as default
13173 if it's not the same as the current file, and the target dir is
13174 the current dir or the mark is active. Add the current file
13175 as the arg of `dired-dwim-target-defaults'. Use the default file
13176 in the prompt. (Bug#5225)
13178 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13180 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13181 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13182 (tramp-check-for-regexp): Check also, when an echoing shell stops
13183 to echo sent commands.
13185 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13187 * Makefile.in: Revert last change (Bug#5191).
13189 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13191 * vc-hg.el (vc-hg-print-log): Fix argument order.
13192 (vc-hg-working-revision): Make sure the command is executed in a
13193 known environment so that we can parse the output. (Bug#4417)
13195 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13197 * progmodes/python.el (python-symbol-completions): Remove text
13198 properties from symbol string before calling python-send-receive.
13200 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13202 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13203 when there are values for both file and line. (Bug#5060)
13205 2009-12-14 Juri Linkov <juri@jurta.org>
13207 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13208 whitespace after the file name of the first line of unified format,
13209 because git-diff doesn't output whitespace and file modification time
13210 after the file name.
13212 2009-12-14 David Kastrup <dak@gnu.org>
13214 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13215 check if it already has the `display' property added by
13216 `Info-display-images-node', and not put the `invisible' property
13219 2009-12-13 Glenn Morris <rgm@gnu.org>
13221 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13222 (report-emacs-bug): In message-mode, sort manually before storing
13223 original report text. (Bug#5178)
13224 Remove superfluous save-excursion.
13226 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13228 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13229 when responding to "GetAll" properties.
13231 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13233 * simple.el (compose-mail): Remove mail-setup-with-from from
13234 customization checks.
13236 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13238 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13239 RAR archives created on Unix systems.
13241 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13243 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13244 the varalias that was accidentally removed by the 2009-11-19 change
13247 2009-12-12 Kenichi Handa <handa@m17n.org>
13249 * language/indian.el (indian-compose-regexp): New function.
13250 (malayalam-composable-pattern): Fix the pattern.
13251 (composition-function-table): Set malayalam-composable-pattern for
13252 Malayalam characters.
13254 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13256 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13257 rather than down-mouse-1, based on follow-link conventions.
13259 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13262 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13264 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13265 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13266 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13267 (verilog-leap-to-head, verilog-backward-token):
13268 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13270 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13272 * progmodes/verilog-mode.el (verilog-auto-lineup)
13273 (verilog-nameable-item-re): Cleanup user-visible spelling and
13274 documentation errors. One reported by Gary Delp.
13275 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13276 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13277 package, bug195. Reported by Pierre-David Pfister.
13279 2009-12-11 Glenn Morris <rgm@gnu.org>
13281 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13283 * mail/emacsbug.el: No longer require sendmail.
13284 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13285 (report-emacs-bug-orig-text): Doc fix.
13286 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13287 New local variables, to adapt to different mail-user-agents.
13288 (report-emacs-bug): Fix test for a gnu.org address.
13289 Use overlays for emphasis, since font-lock defeats 'face property.
13290 Pretest bugs also end up at the newsgroup these days.
13291 Stop message-mode stripping text properties.
13292 Set and use the new buffer-local variables.
13293 (report-emacs-bug-hook): Add doc-string.
13294 Remove some unnecessary save-excursions and simplify.
13295 Use the appropriate hook and send-command.
13297 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13298 capitalization of some menu entries.
13300 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13302 * whitespace.el (whitespace-display-char-on):
13303 Ensure `buffer-display-table' is unique when two or more windows are
13304 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13307 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13309 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13310 characters in the Attribute field.
13312 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13314 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13316 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13318 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13319 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13320 Disregard autoload-excludes.
13321 (update-directory-autoloads): Obey autoload-excludes here instead.
13322 But don't store its contents in no-autoloads and remove entries that
13323 refer to excludes files.
13325 2009-12-10 Glenn Morris <rgm@gnu.org>
13327 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13328 (expand-mail-aliases): Define for compiler.
13330 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13331 Define for compiler.
13333 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13334 appropriate for the mail-user-agent in use.
13336 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13338 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13340 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13342 Fix short log parsing and fontification.
13343 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13344 Fix fontification for the [merge] label.
13346 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13348 Drop some properties to avoid surprises (bug#5002).
13349 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13350 (hfy-fontify-buffer): Use it.
13352 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13355 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13356 Adjust all callers.
13357 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13358 args compulsory. Adjust callers.
13359 (ffap-gopher-at-point): Remove unused var `name'.
13361 Get rid of the ELCFILES abomination.
13362 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13363 (compile-elcfiles): New phony target.
13364 (compile-main): Compute ELCFILES dynamically.
13365 (compile-clean): New target to remove left-over elc files.
13366 (compile, all): Use it.
13368 2009-12-09 Kenichi Handa <handa@etlken>
13370 * international/mule-diag.el: Require help-mode instead of help-fns.
13372 2009-12-09 Kenichi Handa <handa@m17n.org>
13374 * international/mule-cmds.el (ucs-names): Supply sufficiently
13375 fine ranges instead of pre-calculating accurate ranges.
13376 Iterate with bigger gc-cons-threshold.
13378 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13380 Add support for stashing a snapshot of the current tree.
13381 * vc-git.el (vc-git-stash-snapshot): New function.
13382 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13384 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13386 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13387 instead of `(beginning|end)-of-line'.
13389 2009-12-08 Glenn Morris <rgm@gnu.org>
13391 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13393 * Makefile.in (ELCFILES): Regenerate.
13395 2009-12-07 Juri Linkov <juri@jurta.org>
13397 Don't lazy-highlight the comint output in history Isearch mode.
13399 * comint.el (comint-history-isearch-search): Instead of
13400 `comint-line-beginning-position', use `comint-after-pmark-p'
13401 to check if point if before the process mark, and go to
13402 `process-mark' in this case.
13404 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13406 * textmodes/tex-mode.el (latex-complete)
13407 (latex-indent-or-complete): Remove.
13408 (latex-mode): Set completion-at-point-functions instead.
13410 Provide a standard completion command and hook it into TAB.
13411 * minibuffer.el (completion-at-point-functions): New var.
13412 (completion-at-point): New command.
13413 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13414 * progmodes/python.el (python-mode-map): Use completion-at-point.
13415 (python-completion-at-point): Rename from python-partial-symbol and
13416 adjust for use in completion-at-point-functions.
13417 (python-mode): Setup completion-at-point for Python completion.
13418 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13419 extracted from lisp-complete-symbol.
13420 (lisp-complete-symbol): Use it.
13421 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13422 setup completion-at-point for Elisp completion.
13423 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13424 Use completion-at-point.
13425 * ielm.el (ielm-map): Use completion-at-point.
13426 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13427 * progmodes/sym-comp.el: Move to...
13428 * obsolete/sym-comp.el: Move from progmodes.
13430 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13432 Prevent save-buffer in Rmail buffers from using the coding-system
13433 of the current message, and from clobbering the encoding mnemonics
13434 in the mode line (Bug#4623).
13436 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13438 (rmail-message-encoding): New variable.
13439 (rmail-write-region-annotate): Record the encoding of the current
13440 message in rmail-message-encoding.
13441 (rmail-after-save-hook): New function, restores the encoding of
13442 the current message after the message collection is saved.
13444 2009-12-07 Juri Linkov <juri@jurta.org>
13446 * progmodes/grep.el (grep-read-files): Use `completing-read'
13447 instead of `read-string'. Set its `collection' arg to
13448 `read-file-name-internal'. (Bug#4301)
13450 2009-12-07 Juri Linkov <juri@jurta.org>
13452 Correctly restore original Isearch point. (Bug#4994)
13454 * isearch.el (isearch-mode): Move `isearch-push-state' after
13455 `(run-hooks 'isearch-mode-hook)'.
13456 (isearch-cancel): When `isearch-push-state-function' is defined,
13457 let-bind `isearch-cmds' to the first state (the last element of
13458 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13459 function and restores the original point). Otherwise, move point
13460 to `isearch-opoint'.
13462 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13464 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13465 chars that don't have names, so the table can be built much faster at
13468 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13470 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13471 change. Suggested by David Kastrup.
13473 * simple.el (compose-mail): Check for incompatibilities and warn.
13474 (compose-mail-user-agent-warnings): New option.
13476 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13478 Support showing a single log entry from vc-annotate.
13479 * vc.el (print-log): Add a new argument: START-REVISION.
13480 (vc-print-log-internal): Add a new optional argument and
13481 pass it to the backend.
13482 (vc-print-log, vc-print-root-log): Adjust callers.
13483 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13484 buffer already displays the requested log entry, use it.
13485 Otherwise display only the log entry in question.
13486 * vc-svn.el (vc-svn-print-log):
13487 * vc-mtn.el (vc-mtn-print-log):
13488 * vc-hg.el (vc-hg-state):
13489 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13490 (vc-git-show-log-entry): Return t on success.
13491 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13492 (vc-bzr-show-log-entry): Return t on success.
13493 * vc-rcs.el (vc-rcs-print-log):
13494 * vc-sccs.el (vc-sccs-print-log):
13495 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13497 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13499 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13500 Add menus to the meta mode. (Bug#5043)
13502 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13504 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13507 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13509 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13511 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13512 Berbain <raphael.berbain@gmail.com>.
13514 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13516 (tramp-initial-end-of-output): New defconst.
13517 (tramp-methods, tramp-find-shell)
13518 (tramp-open-connection-setup-interactive-shell)
13519 (tramp-maybe-open-connection): Use it.
13520 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13521 Handle existence of `#' and `$'.
13523 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13524 Use `tramp-initial-end-of-output'.
13526 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13528 Get the background mode from the terminal for xterm, and set
13530 * term/xterm.el (xterm-set-background-mode): New function.
13531 (terminal-init-xterm): Use it in case xterm supports background
13532 color queries. Recompute faces after getting the background
13535 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13537 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13538 number comment back on its own line, for easier parsing.
13540 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13542 Make it work for non-file buffers (bug#5102).
13543 * doc-view.el (doc-view-current-cache-dir):
13544 Use doc-view-buffer-file-name rather than buffer-file-name.
13545 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13547 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13549 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13550 author field is too short.
13552 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13554 * vc-git.el (vc-git-print-log): Handle a limit argument.
13555 Display the short log in graph form and with labels.
13556 (vc-git-log-view-mode): Handle labels.
13558 Make vc-revert change VC state from 'added to 'unregistered.
13559 * vc-git.el (vc-git-revert): Call git reset first.
13561 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13563 * net/newst-backend.el, net/newst-plainview.el:
13564 * net/newst-reader.el, net/newst-ticker.el:
13565 * net/newst-treeview.el, net/newsticker.el:
13566 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13568 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13570 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13572 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13573 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13574 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13575 Update annotation regexp.
13577 * simple.el (beginning-of-visual-line): Constrain to field
13578 boundaries (Bug#5106).
13580 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13582 * xml.el (xml-substitute-numeric-entities):
13583 Move newsticker--decode-numeric-entities in newst-backend.el to
13584 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13585 * net/newst-backend.el (newsticker--parse-generic-feed)
13586 (newsticker--parse-generic-items)
13587 (newsticker--decode-numeric-entities):
13588 Move newsticker--decode-numeric-entities in newst-backend.el to
13589 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13591 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13593 * progmodes/js.el (js--js-not): Add null to the list of values.
13595 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13597 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13599 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13601 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13602 delimiter if it is at the end of the current line.
13603 (bibtex-generate-url-list): Fix docstring.
13605 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13607 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13608 minibuffer's content with itself.
13609 Fold the confirm-after-completion case into the `confirm' case.
13610 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13612 2009-12-06 Kevin Ryde <user42@zip.com.au>
13614 * ffap.el (ffap-rfc-path): Make this a defcustom since
13615 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13617 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13618 manuals, similar to existing setup for help-mode. (Bug#3913.)
13620 2009-12-05 Juri Linkov <juri@jurta.org>
13622 Save and restore dired buffer's point positions too. (Bug#4880)
13624 * dired.el (dired-save-positions): Return in the first element
13625 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13627 (dired-restore-positions): First restore buffer's position.
13628 While restoring window's positions, check if window still displays
13629 the original buffer.
13631 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13633 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13636 * shell.el (shell): Require ansi-color (Bug#5113).
13638 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13640 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13642 2009-12-05 Alan Mackenzie <acm@muc.de>
13644 * progmodes/cc-mode.el (c-before-hack-hook)
13645 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13646 `c-file-style' to work again. This reversion restores the current
13647 software to its state in Emacs 23.1. (Bug#4146)
13649 2009-12-05 Kevin Ryde <user42@zip.com.au>
13651 * textmodes/sgml-mode.el (sgml-lexical-context):
13652 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13654 2009-12-05 Juri Linkov <juri@jurta.org>
13656 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13657 for virtual nodes. (Bug#4147)
13658 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13659 when moving from a virtual node.
13660 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13661 (Info-mode): Add `Info-virtual-index' to the docstring.
13663 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13665 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13666 track of the buffer position of the end of a BibTeX entry as this
13667 position may change during reformatting.
13668 (bibtex-format-entry): Remove whitespace before processing
13669 numerical fields so that we recognize the latter properly.
13670 (bibtex-reformat): Do not use push which changes the global value
13671 of bibtex-entry-format.
13672 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13673 (bibtex-field-re-init): Replace only space characters by regexp
13675 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13676 (bibtex-initialize): Also update bibtex-strings.
13677 (bibtex-kill-field): Preserve white space at end of entry.
13678 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13679 Update bibtex-reference-keys.
13681 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13683 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13684 point after a star, if that's the only place where modifications can
13687 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13689 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13692 2009-12-04 Juri Linkov <juri@jurta.org>
13694 * proced.el (proced): Call `(proced-update t)' to update process
13695 information instead of only running proced-post-display-hook.
13696 (proced-send-signal): Add a leading space to the buffer name
13697 " *Marked Processes*" to make this buffer ephemeral.
13699 2009-12-04 Juri Linkov <juri@jurta.org>
13701 * dired.el (dired-auto-revert-buffer): New defcustom.
13702 (dired-internal-noselect): Use it.
13704 2009-12-04 Juri Linkov <juri@jurta.org>
13706 Change roles of modes and functions in image-mode.el (Bug#5062).
13708 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13709 in `auto-mode-alist'.
13710 (image-mode-previous-major-mode): New variable.
13711 (image-minor-mode-map): Rename from `image-mode-text-map'.
13712 (image-mode): Move graceful error-handling code from
13713 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13714 (image-minor-mode): Remove all image-handling code.
13715 Replace `image-mode-text-map' with `image-minor-mode-map'.
13716 Check for `image-type' in mode-line format string.
13717 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13718 (image-mode-as-text): New function with most code from
13719 `image-mode-maybe'.
13720 (image-toggle-display-text): Move code that removes image
13721 properties from `image-toggle-display' to here.
13722 (image-toggle-display-image): New function with code that adds
13723 image properties copied from `image-toggle-display'.
13724 (image-toggle-display): Remove most code with leaving only code
13725 that toggles between `image-mode-as-text' and `image-mode'.
13727 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13729 * net/newst-treeview.el
13730 (newsticker--treeview-list-highlight-start): Restored call to
13731 save-excursion: Selected item was stuck.
13732 (newsticker--treeview-list-select): New.
13733 (newsticker--treeview-item-show-text)
13734 (newsticker--treeview-item-show)
13735 (newsticker--treeview-item-update): Use new
13736 newsticker-treeview-item-mode.
13737 (newsticker-treeview-update): Keep current item.
13738 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13739 (newsticker--treeview-first-feed): Doc change.
13740 (newsticker-treeview-list-menu)
13741 (newsticker-treeview-item-menu): Add menu entries.
13742 (newsticker-treeview-item-mode): New.
13744 * net/newst-backend.el (newsticker-customize): Delete other
13747 2009-12-04 Sam Steingold <sds@gnu.org>
13749 * log-view.el (log-view-mode-map): "q" calls quit-window,
13750 like in all the other non-self-insert buffers.
13752 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13755 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13756 key decoding rather than do it manually via last-input-event +
13758 (term-exec): Use delete-and-extract-region.
13759 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13760 (term-process-pager): Remove unused var `i'.
13761 (term-dynamic-simple-complete): Make obsolete.
13762 (serial-update-config-menu): Remove unused vars `y' and `str'.
13763 (term-update-mode-line): Remove unused var `temp'.
13765 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13767 Limit the number of log entries displayed by default.
13768 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13769 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13770 using a prefix argument.
13772 2009-12-03 Glenn Morris <rgm@gnu.org>
13774 * progmodes/idlwave.el (class): Restore still useful declaration.
13776 2009-12-03 Alan Mackenzie <acm@muc.de>
13778 Enhance `c-parse-state' to run efficiently in "brace deserts".
13780 * progmodes/cc-mode.el (c-basic-common-init):
13781 Call c-state-cache-init.
13782 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13783 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13784 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13786 * progmodes/cc-langs.el (c-before-font-lock-function):
13787 c-extend-and-neutralize-syntax-in-CPP has been renamed
13788 c-neutralize-syntax-in-and-mark-CPP.
13790 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13791 with `category' properties now, not `syntax-table' ones.
13793 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13794 enhanced (but slower) version of c-end-of-macro that won't land
13795 inside a literal or on another awkward character.
13796 (c-state-cache-too-far, c-state-cache-start)
13797 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13798 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13799 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13800 (c-state-min-scan-pos, c-state-brace-pair-desert)
13801 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13802 buffer local variables.
13803 (c-state-literal-at, c-state-lit-beg)
13804 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13805 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13806 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13807 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13808 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13809 (c-renarrow-state-cache)
13810 (c-append-lower-brace-pair-to-state-cache)
13811 (c-state-push-any-brace-pair, c-append-to-state-cache)
13812 (c-remove-stale-state-cache)
13813 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13814 (c-invalidate-state-cache-1, c-parse-state-1)
13815 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13816 (c-parse-state): Enhance and refactor.
13817 (c-debug-parse-state): Amend to deal with all the new variables.
13819 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13820 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13821 modify to use category text properties rather than syntax-table ones.
13822 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13823 to switch off/on the syntactic paren property of C++ template
13824 delimiters using the category property.
13825 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13826 template delims suppressed.
13827 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13828 New constant/macros which apply category properties to the start
13829 and end of preprocessor constructs.
13830 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13831 "comment out" the syntactic value of characters in preprocessor
13833 (c-with-cpps-commented-out)
13834 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13835 with characters in all or all but one preprocessor constructs
13838 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13840 * proced.el (proced-filter-alist): Use regexp-quote.
13842 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13845 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13846 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13847 arguments. Expand `default-directory'.
13849 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13850 the benefit of returning an expanded localname.
13851 (tramp-tramp-file-p): Handle the case NAME is not a string.
13853 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13855 Add support for bzr shelve/unshelve.
13856 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13857 (vc-bzr-extra-menu-map): New variables.
13858 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13859 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13860 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13861 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13862 (vc-bzr-dir-extra-headers): Display shelves.
13864 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13866 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13868 * textmodes/bibtex.el (bibtex-complete-internal):
13869 Use completion-in-region.
13870 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13872 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13874 Support applying stashes. Improve UI.
13875 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13876 (vc-git-stash-apply, vc-git-stash-pop)
13877 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13878 (vc-git-stash-menu): New functions.
13879 (vc-git-stash-menu-map): New variable.
13880 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13882 2009-12-03 Glenn Morris <rgm@gnu.org>
13884 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13885 (vc-print-log-internal): Fix previous change.
13886 (vc-revert): Correct pluralization.
13888 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13890 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13891 it to be an alist any more.
13892 (makefile-complete): Use completion-in-region.
13894 * progmodes/octave-mod.el (octave-complete-symbol):
13895 Use completion-in-region.
13898 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13899 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13900 (idlwave-complete-class): Don't quote lambda.
13901 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13902 (idlwave-mode-map): Move initialization into declaration.
13903 (idlwave-action-and-binding): Use backquotes.
13904 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13906 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13907 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13908 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13909 `parts', and `all-parts'.
13910 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13911 (idlwave-convert-xml-system-routine-info): Remove unused string
13913 (idlwave-display-user-catalog-widget): Use dolist.
13914 (idlwave-scanning-lib): Declare dynamically-scoped var.
13915 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13916 (completion-highlight-first-word-only): Declare to silence bytecomp.
13917 (idlwave-popup-select): Tighten scope of `resp'.
13918 (idlwave-find-struct-tag): Remove unused var `beg'.
13919 (idlwave-after-load-rinfo-hook): Declare.
13920 (idlwave-sintern-class-info): Remove unused var `taglist'.
13921 (idlwave-find-class-definition): Remove unused var `list'.
13922 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13923 (idlwave-what-module-find-class): Remove unused var `classes'.
13925 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13927 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13929 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13931 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13932 buffers visited. Remove redundant current-buffer-saving.
13934 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13936 Use completion-in-buffer and remove uses of dynamic scoping.
13937 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13938 (pascal-buffer-to-use, pascal-flag): Don't declare.
13939 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13940 (pascal-get-completion-decl, pascal-keyword-completion):
13941 Add `pascal-str' argument, save-excursion,
13942 return the found completions, and don't filter with pascal-pred.
13943 (pascal-completion-cache): New var.
13944 (pascal-completion): Don't switch buffer any more (it was never
13945 necessary). Don't save-excursion any more (it's done by the called
13946 subroutines). Use a cache to avoid redundant computations.
13947 Use complete-with-action rather than pascal-completion-response and
13948 let it apply the predicate as well.
13949 (pascal-complete-word): Use completion-in-buffer when
13950 pascal-toggle-completions is nil.
13951 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13953 (pascal-comp-defun): Don't change buffer any more.
13954 Use complete-with-action rather than pascal-completion-response and
13955 let it apply the predicate as well.
13956 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13959 2009-12-02 Kenichi Handa <handa@m17n.org>
13961 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13962 shape for all Indic scripts.
13964 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13966 Use completion-in-buffer.
13967 * wid-edit.el (widget-field-text-end): New function.
13968 (widget-field-value-get): Use it.
13969 (widget-string-complete, widget-file-complete)
13970 (widget-color-complete): Use it and completion-in-region.
13971 (widget-complete): Don't narrow the buffer.
13973 2009-12-02 Glenn Morris <rgm@gnu.org>
13975 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13976 (rmail-select-summary): Use rmail-pop-to-buffer.
13977 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13978 rmail-pop-to-buffer, to prevent horizontal splits.
13980 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13981 save-excursion with save-current-buffer.
13982 Widen before searching. (Bug#5093)
13983 (diary-list-sexp-entries): Remove superfluous save-excursion.
13985 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13987 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13990 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13992 * ido.el (ido-file-internal): Handle filenames at point that do
13993 not have a directory part. (Bug#5049)
13995 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13997 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13998 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14000 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14002 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14003 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14006 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14008 * comint.el (comint-insert-input): Ignore clicks to the right of
14009 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14011 * vc.el (vc-print-log-internal): Don't wait for the process to
14012 terminate before setting up the major mode.
14014 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14017 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14020 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14022 2009-12-01 Glenn Morris <rgm@gnu.org>
14024 * window.el (window--display-buffer-2): Fix previous changes.
14026 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14028 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14030 2009-12-01 Glenn Morris <rgm@gnu.org>
14032 * Makefile.in (ELCFILES): Add mpc.elc.
14034 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14036 * mpc.el: New file.
14038 2009-12-01 Glenn Morris <rgm@gnu.org>
14040 * window.el (window-to-use): Define for compiler.
14042 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14043 consistent with others (no final period).
14045 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14046 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14048 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14050 Make vc-print-log buttons work.
14051 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14053 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14055 * savehist.el (savehist-autosave-interval): Allow setting to nil
14056 through customize. (Bug#5056)
14058 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14060 Fix references to jit-lock properties.
14061 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14062 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14063 (perl-font-lock-special-syntactic-constructs):
14064 Quote jit-lock-defer-multiline property.
14066 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14068 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14070 2009-11-30 Juri Linkov <juri@jurta.org>
14072 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14073 value `buffer' of `multi-isearch-next-buffer-current-function'.
14074 Use `(current-buffer)' when `buffer' is nil.
14075 (multi-isearch-next-buffer-from-list): Don't fallback to
14076 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14078 2009-11-30 Juri Linkov <juri@jurta.org>
14080 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14081 of buffers with `get-buffer' to `multi-isearch-buffers'.
14082 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14083 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14084 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14085 FILES with `expand-file-name' converting relative file names
14086 to absolute. Doc fix. (Bug#4727)
14088 2009-11-30 Juri Linkov <juri@jurta.org>
14090 * misearch.el (multi-isearch-read-buffers)
14091 (multi-isearch-read-matching-buffers): New functions.
14092 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14093 Use them in the `interactive' spec. Doc fix.
14094 (multi-isearch-read-files, multi-isearch-read-matching-files):
14096 (multi-isearch-files, multi-isearch-files-regexp):
14097 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14099 2009-11-30 Juri Linkov <juri@jurta.org>
14101 * doc-view.el (doc-view-continuous):
14102 Rename from `doc-view-continuous-mode'.
14103 (doc-view-menu): Move "Toggle display" to the top.
14104 Add submenu "Continuous" with radio buttons "Off"/"On"
14105 and "Save as Default".
14106 (doc-view-scroll-up-or-next-page)
14107 (doc-view-scroll-down-or-previous-page)
14108 (doc-view-next-line-or-next-page)
14109 (doc-view-previous-line-or-previous-page):
14110 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14112 2009-11-30 Juri Linkov <juri@jurta.org>
14114 * comint.el (comint-mode-map): Rebind `M-r' from
14115 `comint-previous-matching-input' to
14116 `comint-history-isearch-backward-regexp'.
14117 Unbind `M-s' to allow global key binding `M-s'.
14118 Add menu items for `comint-history-isearch-backward' and
14119 `comint-history-isearch-backward-regexp'. (Bug#3746)
14121 2009-11-30 Juri Linkov <juri@jurta.org>
14123 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14124 For def=recenter, replace `recenter' with `recenter-top-bottom'
14125 that is called with `this-command' and `last-command' let-bound
14126 to `recenter-top-bottom'. When the last `def' was not `recenter',
14127 set `recenter-last-op' to nil. (Bug#4981)
14129 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14131 Minor cleanup and simplification.
14132 * filecache.el (file-cache-add-directory)
14133 (file-cache-add-directory-recursively)
14134 (file-cache-add-from-file-cache-buffer)
14135 (file-cache-delete-file-regexp, file-cache-delete-directory)
14136 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14137 (file-cache-temp-minibuffer-message): Delete function.
14138 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14140 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14141 Don't signal an error when bumping into EOB in tr, s, or y.
14143 2009-11-29 Juri Linkov <juri@jurta.org>
14145 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14148 * descr-text.el (describe-char-unidata-list): Use lowercase name
14149 for "Unicode name" like in other tags.
14151 2009-11-29 Juri Linkov <juri@jurta.org>
14153 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14154 New compatibility macro.
14155 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14157 2009-11-29 Juri Linkov <juri@jurta.org>
14159 Add defcustom to define the cycling order of `recenter-top-bottom'.
14162 * window.el (recenter-last-op): Doc fix.
14163 (recenter-positions): New defcustom.
14164 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14165 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14167 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14169 Improve integration of Tramp and ange-ftp in eshell.
14171 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14172 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14173 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14175 * eshell/esh-util.el (top): Require also Tramp when compiling.
14176 (eshell-directory-files-and-attributes): Check for FTP remote
14178 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14179 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14180 (eshell-file-attributes): Handle ".". Return `entry'.
14182 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14183 (ange-ftp-directory-files-and-attributes)
14184 (ange-ftp-real-directory-files-and-attributes): New defuns.
14186 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14187 shell with "exec" when possible. This prevents trailing prompts
14188 in `start-file-process'.
14190 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14192 Try and remove assumptions about point-min==1.
14193 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14194 (rng-compute-mode-line-string): Show the validation percentage in
14195 terms of the narrowed text, not the widened text.
14196 (rng-do-some-validation): Don't catch internal errors when debugging.
14197 (rng-first-error): Simplify.
14198 (rng-after-change-function): Remove work around. AFAIK the bug has
14199 been fixed a while ago.
14201 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14202 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14204 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14206 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14207 `cd' doesn't always do it for us (bug#5067).
14209 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14210 on 2009-10-25 as part of some other change (bug#5067).
14212 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14214 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14216 (byte-compile-warnings): Use byte-compile-warning-types.
14217 (byte-compile-save-excursion): Warn about use of set-buffer right
14218 after save-excursion.
14220 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14221 the excursion as well.
14223 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14225 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14226 providing a Tramp related implementation of "su" and "sudo".
14227 (eshell-unix-initialize): Add "su" and "sudo".
14229 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14231 * net/socks.el (socks-send-command): Convert binary request to
14232 unibyte before sending. This fixes mishandling of some port
14233 numbers such as 129.
14235 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14237 * help.el (describe-bindings-internal): Remove `interactive'.
14239 * man.el (Man-completion-table): Trim a terminating "(".
14240 Remove the space between name page a section.
14241 Add the command's description on the `help-echo' property.
14242 Remove `process-connection-type' binding since it's unused by
14244 Provide completion for the "<section> <name>" format as well.
14245 (Man-default-man-entry): Remove spurious var shadowing the argument.
14247 2009-11-26 Kevin Ryde <user42@zip.com.au>
14249 * log-view.el: Add "Keywords: tools", since its other keywords
14250 aren't in finder-known-keywords, and following vc.el.
14252 * sha1.el (sha1-string-external): default-directory "/" in case
14253 otherwise non-existent. process-connection-type pipe for touch of
14254 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14256 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14258 Misc coding convention cleanups.
14259 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14260 hfy-init-kludge-hooks.
14261 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14262 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14263 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14265 (hfy-slant, hfy-weight): Use tables rather than code.
14266 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14267 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14268 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14269 (hfy-face-to-css): Remove `nconc' with single arg.
14270 (hfy-p-to-face-lennart): Use `or'.
14271 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14272 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14273 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14274 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14275 (hfy-force-fontification): Use run-hooks.
14277 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14279 Various minor fixes.
14280 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14281 Javascript belongs in the header, not the body.
14282 (hfy-javascript): Remove.
14283 (hfy-fontify-buffer): Don't insert it any more.
14284 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14285 Fix bug in invis handling when there were no invis props in a chunk.
14287 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14289 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14291 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14293 * finder.el (finder-mode-map): Add a menu.
14295 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14297 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14298 "unsigned" structs.
14300 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14301 fork" statement better.
14303 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14305 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14306 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14307 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14308 Reported by Clay Douglass.
14310 (verilog-auto-inst, verilog-auto-star-safe)
14311 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14312 Fix removing "// Interfaces" when saving .* expansions.
14313 Reported by Pierre-David Pfister.
14315 2009-11-26 Glenn Morris <rgm@gnu.org>
14317 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14320 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14322 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14323 Really use previous revision.
14325 2009-11-25 Kevin Ryde <user42@zip.com.au>
14327 * man.el (Man-completion-table): default-directory "/" in case
14328 doesn't otherwise exist. process-environment COLUMNS=999 so as
14329 not to truncate long names. process-connection-type pipe to avoid
14330 any chance of hitting the pseudo-tty TIOCGWINSZ.
14331 (man): completion-ignore-case t for friendliness and since man
14332 itself is case-insensitive on the command line.
14333 Further to Bug#3717.
14335 * arc-mode.el: Add "Keywords: files", so the details in its
14336 commentary can be reached from finder-by-keyword.
14337 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14338 editing mode, but it's comms related and sgml-mode.el has "comm"
14340 * textmodes/bibtex-style.el: Add "Keywords: tex".
14341 * international/isearch-x.el, international/ja-dic-cnv.el:
14342 * international/ja-dic-utl.el, international/kkc.el:
14343 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14345 2009-11-25 Juri Linkov <juri@jurta.org>
14347 * man.el (Man-completion-table): Modify regexp to include
14348 section names to completion strings. (Bug#3717)
14350 2009-11-25 Juri Linkov <juri@jurta.org>
14352 Search recursively in gzipped files. (Bug#4982)
14354 * progmodes/grep.el (grep-highlight-matches): Add new options
14355 `always' and `auto'. Doc fix.
14356 (grep-process-setup): Check `grep-highlight-matches' for
14357 `auto-detect' to determine the need to compute grep defaults.
14358 Move Windows/DOS specific --colors settings handling
14359 to `grep-compute-defaults'. Check `grep-highlight-matches'
14360 to get the value of "--color=".
14361 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14362 has the value `auto-detect'. Move Windows/DOS specific settings
14363 from `grep-process-setup'.
14364 (zrgrep): New command with alias `rzgrep'.
14366 2009-11-25 Juri Linkov <juri@jurta.org>
14368 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14369 to nil instead of switching off view-mode. (Bug#4896)
14371 2009-11-25 Juri Linkov <juri@jurta.org>
14373 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14375 * mwheel.el (mwheel-scroll-up-function)
14376 (mwheel-scroll-down-function): New defvars.
14377 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14378 `scroll-up', and `mwheel-scroll-down-function' instead of
14381 * doc-view.el (doc-view-scroll-up-or-next-page)
14382 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14383 Use this ARG in the call to image-scroll-up/image-scroll-down.
14384 Change `interactive' spec to "P". Goto next/previous page only
14385 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14386 SPC/DEL case). Doc fix.
14387 (doc-view-next-line-or-next-page)
14388 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14390 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14391 `doc-view-scroll-up-or-next-page', and buffer-local
14392 `mwheel-scroll-down-function' to
14393 `doc-view-scroll-down-or-previous-page'.
14395 2009-11-25 Juri Linkov <juri@jurta.org>
14397 Provide additional default values (directories at other Dired
14398 windows) via M-n in the minibuffer of some Dired commands.
14400 * dired-aux.el (dired-diff, dired-compare-directories)
14401 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14402 `minibuffer-default' in `minibuffer-with-setup-hook'.
14403 (dired-dwim-target-directory): Find a window that displays Dired
14404 buffer instead of failing when the next window is not Dired.
14405 Use `get-window-with-predicate' to find for the next Dired window.
14406 (dired-dwim-target-defaults): New function.
14408 * ediff-util.el (ediff-read-file-name):
14409 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14410 in `minibuffer-with-setup-hook'.
14412 2009-11-25 Juri Linkov <juri@jurta.org>
14414 Provide additional default values (file name at point or at the
14415 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14417 * minibuffer.el (read-file-name-defaults): New function.
14418 (read-file-name): Reset `minibuffer-default' to nil when
14419 it duplicates initial input `insdef'.
14420 Bind `minibuffer-default-add-function' to lambda that
14421 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14422 (minibuffer-insert-file-name-at-point): New command.
14424 * files.el (file-name-at-point-functions): New defcustom.
14425 (find-file-default): Remove defvar.
14426 (find-file-read-args): Don't use `find-file-default'.
14427 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14428 to `read-file-name'.
14429 (find-file-literally): Use `read-file-name' with
14430 `confirm-nonexistent-file-or-buffer'.
14432 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14434 * dired.el (dired-read-dir-and-switches):
14435 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14436 to `read-file-name'.
14437 (dired-file-name-at-point): New function.
14438 (dired-mode): Add hook `dired-file-name-at-point' to
14439 `file-name-at-point-functions'.
14441 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14443 Really make the *Completions* window soft-dedicated (bug#5030).
14444 * window.el (window--display-buffer-2): Add `dedicated' argument.
14445 (display-buffer): Pass it when needed so the dedicated flag is set
14446 after calling set-window-buffer, which would otherwise reset it.
14448 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14450 * progmodes/meta-mode.el (meta-complete-symbol):
14451 * progmodes/etags.el (complete-tag):
14452 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14453 Use completion-in-region.
14455 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14456 (dabbrev-completion): Use completion-in-region.
14457 (dabbrev--abbrev-at-point): Simplify regexp.
14459 * abbrev.el (abbrev--before-point): Use word-motion functions
14460 if :regexp is not specified (bug#5031).
14462 * subr.el (string-prefix-p): New function.
14464 * man.el (Man-completion-cache): New var.
14465 (Man-completion-table): Use it.
14467 * vc.el (vc-print-log-internal): Make `limit' optional for better
14468 compatibility (e.g. with vc-annotate.el).
14470 2009-11-24 Kevin Ryde <user42@zip.com.au>
14472 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14473 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14475 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14476 when .el source file not found or other error.
14478 2009-11-24 Markus Triska <markus.triska@gmx.at>
14480 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14482 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14484 Handle the [back] button properly (bug#4979).
14485 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14486 Use help-setup-xref, help-buffer, and with-help-window.
14487 (describe-char): Add `buffer' argument.
14488 Pass proper command to help-setup-xref. Don't meddle with
14489 help-xref-stack-item directly.
14490 (describe-text-category): Use with-help-window and help-buffer.
14492 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14493 for the displayed buffer (bug#4887).
14495 * man.el (Man-completion-table): New function.
14498 2009-11-24 David Reitter <david.reitter@gmail.com>
14500 * vc-git.el (vc-git-registered): Use checkout directory (where
14501 .git is) rather than the file's directory and a relative path spec
14502 to work around a bug in git.
14504 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14506 Improve handling of processes on remote hosts.
14508 * eshell/esh-util.el (eshell-path-env): New defvar.
14509 (eshell-parse-colon-path): New defun.
14510 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14512 * eshell/esh-ext.el (eshell-search-path):
14513 Use `eshell-parse-colon-path'.
14514 (eshell-remote-command): Remove argument HANDLER.
14515 (eshell-external-command): Check for FTP remote connection.
14517 * eshell/esh-proc.el (eshell-gather-process-output):
14518 Use `file-truename', in order to start also symlinked files.
14519 Apply `start-file-process' instead of `start-process'.
14520 Shorten `command' to the local file name part.
14522 * eshell/em-cmpl.el (eshell-complete-commands-list):
14523 Use `eshell-parse-colon-path'.
14525 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14527 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14528 to `eshell-directory-change-hook'.
14530 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14532 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14533 because it could be enabled automatically if view-read-only is non-nil.
14535 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14537 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14538 made on 2009-11-22.
14540 2009-11-24 Glenn Morris <rgm@gnu.org>
14542 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14543 deleted variable bookmark-bmenu-bookmark-column.
14545 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14547 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14549 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14551 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14552 two slashes to the "file:" prefix.
14553 (browse-url-file-url): De-munge Cygwin filenames before passing
14554 them to Windows browser.
14555 (browse-url-default-windows-browser): Use call-process.
14557 2009-11-23 Juri Linkov <juri@jurta.org>
14559 Implement DocView Continuous mode. (Bug#4896)
14560 * doc-view.el (doc-view-continuous-mode): New defcustom.
14561 (doc-view-mode-map): Bind C-n/<down> to
14562 `doc-view-next-line-or-next-page', C-p/<up> to
14563 `doc-view-previous-line-or-previous-page'.
14564 (doc-view-next-line-or-next-page)
14565 (doc-view-previous-line-or-previous-page): New commands.
14567 2009-11-23 Juri Linkov <juri@jurta.org>
14569 Implement Isearch in comint input history. (Bug#3746)
14570 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14571 `isearch-mode-hook'.
14572 (comint-history-isearch): New defcustom.
14573 (comint-history-isearch-backward)
14574 (comint-history-isearch-backward-regexp): New commands.
14575 (comint-history-isearch-message-overlay): New buffer-local variable.
14576 (comint-history-isearch-setup, comint-history-isearch-end)
14577 (comint-goto-input, comint-history-isearch-search)
14578 (comint-history-isearch-message, comint-history-isearch-wrap)
14579 (comint-history-isearch-push-state)
14580 (comint-history-isearch-pop-state): New functions.
14582 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14584 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14586 (tramp-handle-make-symbolic-link)
14587 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14589 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14590 (tramp-handle-process-file): Use it.
14592 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14594 * window.el (move-to-window-line-last-op): Remove.
14595 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14597 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14599 Make M-r mirror the new cycling behavior of C-l.
14600 * window.el (move-to-window-line-last-op): New var.
14601 (move-to-window-line-top-bottom): New command.
14602 (global-map): Bind M-r move-to-window-line-top-bottom.
14604 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14606 * dired-x.el (dired-guess-shell-alist-default):
14607 Support xz format. (Bug#4953)
14609 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14611 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14612 last-command-char/last-command-event.
14613 (viper-prefix-arg-value): Do correct conversion of event-char for
14616 * emulation/viper-util.el, emulation/viper.el:
14617 Use viper-last-command-char instead of
14618 last-command-char/last-command-event.
14620 * ediff-init.el, ediff-mult.el, ediff-util.el:
14621 Replace last-command-char and last-command-event
14622 with (ediff-last-command-char) everywhere.
14624 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14625 created in fundamental mode.
14627 * ediff.el (ediff-version): Revert the change of interactive-p to
14628 called-interactively-p.
14630 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14632 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14633 generation from word-movement command names.
14635 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14637 * cus-start.el (all): Add native condition for font-use-system-font.
14639 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14641 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14642 Correct the patch from 2009-11-18. (Bug#3910)
14644 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14646 * progmodes/subword.el: Rename from lisp/subword.el.
14648 * subword.el: Rename to progmodes/subword.el.
14650 * Makefile.in (ELCFILES): Adapt to subword.el move.
14652 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14653 Stefan Monnier <monnier@iro.umontreal.ca>
14655 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14656 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14657 (bookmark-bmenu-show-filenames): Use push.
14658 (bookmark-bmenu-hide-filenames): Use local var instead of
14659 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14660 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14661 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14662 filenames now that the bookmark names are always available.
14664 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14666 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14667 (bookmark-search-pattern): Move and leave unbound.
14668 (bookmark-bmenu-mode-map): Change binding.
14669 (bookmark-read-search-input): Simplify.
14670 Don't use text-char-description. Don't error on non-char events.
14671 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14672 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14673 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14674 Use a local var for the timer.
14675 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14676 (i.e. bookmark-bmenu-search).
14678 2009-11-21 Glenn Morris <rgm@gnu.org>
14680 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14682 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14684 * net/browse-url.el (browse-url-default-windows-browser):
14685 Use cygstart for cygwin.
14687 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14689 * bookmark.el: Formatting and doc fixes only:
14690 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14691 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14692 Minor grammar and punctuation fixes in doc string.
14693 (bookmark-read-search-input): Adjust to fit within 80 columns.
14695 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14697 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14698 (c-backward-into-nomenclature): Adapt to subword renaming.
14700 * subword.el (subword-forward, subword-backward, subword-mark)
14701 (subword-kill, subword-backward-kill, subword-transpose)
14702 (subword-downcase, subword-upcase, subword-capitalize)
14703 (subword-forward-internal, subword-backward-internal):
14704 Rename from forward-subword, backward-subword, mark-subword,
14705 kill-subword, backward-kill-subword, transpose-subwords,
14706 downcase-subword, upcase-subword, capitalize-subword,
14707 forward-subword-internal, backward-subword-internal.
14709 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14711 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14713 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14715 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14716 (bookmark-bmenu-filter-alist-by-regexp)
14717 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14718 (bookmark-bmenu-search): New command.
14719 (bookmark-bmenu-mode-map): Bind it.
14721 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14723 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14724 backward-subword to quit the byte-compiler.
14726 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14728 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14730 * progmodes/cc-cmds.el (c-update-modeline)
14731 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14732 Refer to subword.el functions instead of cc-subword.el.
14734 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14735 subword.el functions instead of cc-subword.el.
14737 * progmodes/cc-subword.el: Rename to subword.el.
14738 * subword.el: Rename from progmodes/cc-subword.el.
14739 (subword-mode-map): Rename from c-subword-mode-map.
14740 (subword-mode): Rename from c-subword-mode.
14741 (global-subword-mode): New global minor mode.
14742 (forward-subword): Rename from c-forward-subword.
14743 (backward-subword): Rename from c-backward-subword.
14744 (mark-subword): Rename from c-mark-subword.
14745 (kill-subword): Rename from c-kill-subword.
14746 (backward-kill-subword): Rename from c-backward-kill-subword.
14747 (transpose-subwords): Rename from c-tranpose-subword.
14748 (downcase-subword): Rename from c-downcase-subword.
14749 (capitalize-subword): Rename from c-capitalize-subword.
14750 (forward-subword-internal): Rename from c-forward-subword-internal.
14751 (backward-subword-internal): Rename from c-backward-subword-internal.
14753 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14755 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14756 from a dired buffer.
14757 (vc-dired-deduce-fileset): New function.
14758 (vc-root-diff, vc-print-root-log): Use it.
14760 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14761 nil LIMIT argument to vc-print-log-internal.
14763 2009-11-20 Glenn Morris <rgm@gnu.org>
14765 * Makefile.in (ELCFILES): Regenerate.
14767 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14769 * calc/calc.el (calc-set-mode-line):
14770 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14771 (math-format-number): Rename `math-format-complement-signed' to
14772 `math-format-twos-complement'.
14774 * calc/calc-bin.el (math-format-twos-complement): Rename from
14775 math-format-complement-signed.
14776 (calc-radix): Rename `calc-complement-signed-mode' to
14777 `calc-twos-complement-mode'.
14778 (calc-octal-radix, calc-hex-radix): Add an argument for
14781 * calc/calc-embed.el (calc-embedded-mode-vars):
14782 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14784 * calc/calc-ext.el (calc-init-extensions):
14785 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14786 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14788 * calc/calc-units.el (math-build-units-table-buffer):
14789 Let `calc-twos-complement-mode' be nil.
14791 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14794 * calc/calc-vec.el (calcFunc-vunpack):
14795 * calc/calc-aent.el (calc-do-calc-eval):
14796 * calc/calc-forms.el (math-format-date):
14797 * calc/calc-graph.el (calc-graph-plot):
14798 * calc/calc-math.el (math-use-emacs-fn):
14799 * calc/calccomp.el (math-compose-expr):
14800 Let `calc-twos-complement-mode' be nil.
14802 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14804 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14805 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14806 * minibuffer.el (completion-in-region-functions): New hook.
14807 (completion-in-region): New function.
14808 * emacs-lisp/lisp.el (lisp-complete-symbol):
14809 * pcomplete.el (pcomplete-std-complete): Use it.
14811 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14813 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14814 (latex-complete-alist): New vars.
14815 (latex-string-prefix-p, latex-complete-bibtex-keys)
14816 (latex-complete-envnames, latex-complete-refkeys)
14817 (latex-complete-data): New functions.
14818 (latex-complete, latex-indent-or-complete): New commands.
14820 * window.el (display-buffer-mark-dedicated): New var.
14821 (display-buffer): Obey it.
14822 * minibuffer.el (minibuffer-completion-help): Use it.
14824 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14826 * filecache.el (file-cache-add-file): Use push and cons.
14827 (file-cache-delete-file-regexp): Use push.
14828 (file-cache-complete): Use completion-in-region.
14830 * simple.el (with-wrapper-hook): Fix thinko.
14832 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14833 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14834 Use with-current-buffer and string-to-number.
14835 (hfy-fallback-colour-values): Use assoc-string.
14836 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14837 (hfy-face-at): Remove unused var `found-face'.
14838 (hfy-compile-stylesheet): Remove unused var `css'.
14839 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14841 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14842 Use with-current-buffer.
14843 (hfy-text-p): Use expand-file-name and fewer setq.
14845 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14847 * htmlfontify.el, hfy-cmap.el: New files.
14849 2009-11-19 Juri Linkov <juri@jurta.org>
14851 * minibuffer.el (completions-format): New defcustom.
14852 (completion--insert-strings): Implement vertical format.
14854 * simple.el (switch-to-completions): Move point to the first
14855 completion when point was at the beginning of the buffer.
14857 2009-11-19 Juri Linkov <juri@jurta.org>
14859 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14861 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14863 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14865 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14866 (mail-signature): Change default to t.
14867 (mail-from-style): Deprecate `system-default' value.
14868 (mail-insert-from-field): For default value of mail-from-style,
14869 default to `angles' unless `angles' needs quoting and `parens'
14871 (mail-citation-prefix-regexp): Use citation regexp from
14874 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14876 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14877 Set variables for computing the prompt for reading password.
14879 2009-11-19 Glenn Morris <rgm@gnu.org>
14881 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14883 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14885 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14886 (newsticker-treeview-listwindow-height): Fix custom type.
14888 2009-11-19 Kenichi Handa <handa@m17n.org>
14890 * descr-text.el (describe-char-padded-string): Compose with TAB
14891 only if there's a font for CH.
14892 (describe-char): Fix the condition for detecting a trivial composition.
14894 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14896 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14897 more accurate version of the regexp. (Bug#3910)
14899 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14901 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14903 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14905 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14906 (font-setting-change-default-font): Fix typo in docstring.
14908 2009-11-18 Alan Mackenzie <acm@muc.de>
14910 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14912 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14914 * font-setting.el (font-use-system-font): Move ...
14916 * cus-start.el (all): ... to here.
14918 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14920 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14921 Don't set `ad-return-value' if `ad-do-it' doesn't.
14923 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14926 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14928 * menu-bar.el: Put "Use system font" in Option-menu.
14929 (menu-bar-options-save): Add font-use-system-font.
14931 * loadup.el: If feature system-font-setting or font-render-setting is
14932 there, load font-setting.
14934 * Makefile.in (ELCFILES): Add font-settings.el.
14935 * font-setting.el: New file.
14937 2009-11-17 Glenn Morris <rgm@gnu.org>
14939 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14941 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14942 Preserve point in the list buffer. (Bug#4939)
14944 (newsticker--treeview-list-update-highlight)
14945 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14947 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14949 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14952 * calc/calc-ext.el (calc-init-extensions): Remove references to
14955 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14957 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14958 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14961 2009-11-16 Kevin Ryde <user42@zip.com.au>
14963 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14964 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14966 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14967 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14968 Ignore trailing spaces by omit-nulls to split-string (fixing
14969 regression from Emacs 21 due to the incompatible split-string
14970 change). (Bug #4928.)
14972 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14974 * vc.el (vc-log-show-limit): Default to 2000.
14975 (vc-print-log-internal): Insert buttons to request more entries
14976 when limiting the output.
14978 * vc-sccs.el (vc-sccs-print-log):
14979 * vc-rcs.el (vc-rcs-print-log):
14980 * vc-cvs.el (vc-cvs-print-log):
14981 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14984 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14986 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14987 error when `tramp-gvfs-dbus-event-vector' is set.
14988 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14990 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14992 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14994 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14996 * net/dbus.el (dbus-unregister-service): New defun.
14997 (dbus-register-property): Register the handlers of
14998 "org.freedesktop.DBus.Properties" for SERVICE.
14999 (dbus-property-handler): Fix docstring.
15001 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15003 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15004 Quote doc string reference in defvaralias as it is not in special form.
15005 (byte-compile-output-docform): Doc fix.
15007 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15009 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15010 (calc-complement-signed-mode): New variables.
15011 (calc-set-mode-line): Add indicator for twos-complements.
15012 (math-format-number): Format twos-complement notation.
15014 * calc/calc-bin.el (calc-word-size): Reset the variables
15015 `math-2-word-size' and `math-half-2-word-size'.
15016 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15017 (calc-symclip): New functions.
15019 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15021 * calc/calc-embed.el (calc-embedded-mode-vars):
15022 Add `calc-complement-signed-mode' to the list of modes.
15024 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15025 (calc-b-oper-keys): Add `calc-symclip' to list.
15027 * calc/calc-ext.el (math-read-number-fancy): Read complement
15029 (calc-init-extensions): Add binding for `calc-symclip'.
15030 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15032 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15034 (calc-modes-menu): Add item for twos complement mode.
15036 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15038 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15040 * register.el (jump-to-register, insert-register): Handle Semantic
15041 tags. From commented-out advice in semantic/senator.el.
15043 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15045 * vc.el (vc-log-show-limit): New variable.
15046 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15047 when using a prefix argument.
15048 (vc-print-log-internal): Add new argument LIMIT.
15050 * vc-svn.el (vc-svn-print-log):
15051 * vc-mtn.el (vc-mtn-print-log):
15052 * vc-hg.el (vc-hg-print-log):
15053 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15054 pass it to the log command when set. Make the BUFFER argument
15057 * vc-sccs.el (vc-sccs-print-log):
15058 * vc-rcs.el (vc-rcs-print-log):
15059 * vc-git.el (vc-git-print-log):
15060 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15061 ignore it. Make the BUFFER argument non-optional
15063 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15065 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15067 * dired.el (dired-mode-map): Move encryption items to "Operate"
15070 * strokes.el (strokes-update-window-configuration): Make strokes
15071 buffer current before erasing (Bug#4906).
15073 2009-11-15 Juri Linkov <juri@jurta.org>
15075 * simple.el (set-mark-default-inactive): Add :type, :group
15076 and :version. (Bug#4876)
15078 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15080 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15081 (archive-unique-fname): ... here. (Bug#4929)
15083 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15085 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15088 * novice.el (disabled-command-function): Add useful args.
15089 Setup the help buffer so that [back] works.
15090 Remove redundant call to help-mode.
15091 (disabled-command-function): Use `case'.
15092 (en/disable-command): New function extracted from enable-command.
15093 (enable-command, disable-command): Use it.
15095 2009-11-14 Glenn Morris <rgm@gnu.org>
15097 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15098 constants. (Bug#4913)
15100 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15102 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15104 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15105 defined in C that have no doc-strings. (Bug#1063)
15107 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15109 * cus-edit.el (data, files):
15110 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15112 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15114 * simple.el (shell-command): Doc fix (Bug#4891).
15116 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15118 2009-11-14 Glenn Morris <rgm@gnu.org>
15120 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15121 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15122 If they are already loaded, eval-after-load will do the right thing.
15124 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15127 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15129 * simple.el (x-selection-owner-p): Declare.
15130 (read-mail-command): Use custom radio type rather than choice.
15131 (completion-no-auto-exit): Doc fix.
15133 * custom.el (defgroup):
15134 * epg-config.el (epg): Doc fixes.
15136 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15138 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15139 * international/ccl.el (define-ccl-program): Do not purecopy the
15140 docstring, defconst does it anyway.
15142 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15144 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15147 * x-dnd.el (x-dnd-maybe-call-test-function):
15148 * window.el (split-window-vertically):
15149 * whitespace.el (whitespace-help-on):
15150 * vc-rcs.el (vc-rcs-consult-headers):
15151 * userlock.el (ask-user-about-lock-help)
15152 (ask-user-about-supersession-help):
15153 * type-break.el (type-break-force-mode-line-update):
15154 * time-stamp.el (time-stamp-conv-warn):
15155 * terminal.el (te-set-output-log, te-more-break, te-filter)
15156 (te-sentinel, terminal-emulator):
15157 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15158 (term-write-input-ring, term-check-source, term-start-output-log):
15159 (term-display-buffer-line, term-dynamic-list-completions):
15160 (term-ansi-make-term, serial-term):
15161 * subr.el (selective-display):
15162 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15163 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15164 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15165 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15166 (speedbar-remove-localized-speedbar-support)
15167 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15168 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15169 (speedbar-buffers-line-directory):
15170 * simple.el (shell-command-on-region, append-to-buffer)
15171 (prepend-to-buffer):
15172 * shadowfile.el (shadow-save-todo-file):
15173 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15174 (scroll-bar-maybe-set-window-start):
15175 * sb-image.el (speedbar-image-dump):
15176 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15177 (load-save-place-alist-from-file):
15178 * ps-samp.el (ps-print-message-from-summary):
15179 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15180 (ps-background-image, ps-begin-job, ps-do-despool):
15181 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15182 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15183 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15184 (pr-call-process, pr-file-list, pr-interface-save):
15185 * novice.el (disabled-command-function)
15186 (enable-command, disable-command):
15187 * mouse.el (mouse-buffer-menu-alist):
15188 * mouse-copy.el (mouse-kill-preserving-secondary):
15189 * macros.el (kbd-macro-query):
15190 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15191 * informat.el (batch-info-validate):
15192 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15193 * hippie-exp.el (try-expand-dabbrev-visible):
15194 * help-mode.el (help-make-xrefs):
15195 * help-fns.el (describe-variable):
15196 * generic-x.el (bat-generic-mode-run-as-comint):
15197 * finder.el (finder-mouse-select):
15198 * find-dired.el (find-dired-sentinel):
15199 * filesets.el (filesets-file-close):
15200 * files.el (list-directory):
15201 * faces.el (list-faces-display, describe-face):
15202 * facemenu.el (list-colors-display):
15203 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15204 * epg.el (epg--process-filter, epg-cancel):
15205 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15206 (epa--read-signature-type):
15207 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15208 (emerge-file-names):
15209 * ehelp.el (electric-helpify):
15210 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15211 * ediff-vers.el (rcs-ediff-view-revision):
15212 * ediff-util.el (ediff-setup):
15213 * ediff-mult.el (ediff-append-custom-diff):
15214 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15216 * echistory.el (Electric-command-history-redo-expression):
15217 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15218 * disp-table.el (describe-display-table):
15219 * dired.el (dired-find-buffer-nocreate):
15220 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15221 * dabbrev.el (dabbrev--same-major-mode-p):
15222 * chistory.el (list-command-history):
15223 * apropos.el (apropos-documentation):
15224 * allout.el (allout-obtain-passphrase):
15225 (allout-copy-exposed-to-buffer):
15226 (allout-verify-passphrase): Use with-current-buffer.
15228 2009-11-13 Glenn Morris <rgm@gnu.org>
15230 * Makefile.in (ELCFILES): Regenerate.
15232 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15234 * net/dbus.el (dbus-registered-objects-table): Rename from
15235 `dbus-registered-functions-table', because it contains also properties.
15236 (dbus-unregister-object): Unregister also properties.
15237 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15238 Use a timeout of 500 msec, in order to not block.
15239 (dbus-register-property, dbus-property-handler): New defuns.
15241 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15243 * simple.el (minibuffer-default-add-completions): Drop deprecated
15246 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15248 * textmodes/artist.el (artist-mouse-choose-operation):
15249 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15250 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15251 (artist-compute-up-event-key): New function.
15252 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15254 2009-11-13 Kenichi Handa <handa@m17n.org>
15256 * language/japan-util.el: Make sure that the value of jisx0208
15257 property is jisx0208 character.
15259 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15261 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15262 car or each item, not the whole list.
15264 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15266 * minibuffer.el (minibuffer-completion-help):
15267 Use minibuffer-hide-completions.
15269 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15271 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15272 (dired-revert): Use them (bug#4880).
15274 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15276 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15278 2009-11-12 Juri Linkov <juri@jurta.org>
15280 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15282 (find-file-literally-at-point): Alias of `ffap-literally'.
15284 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15286 * textmodes/ispell.el (ispell-skip-region-alist):
15287 * textmodes/css-mode.el (auto-mode-alist):
15288 * progmodes/compile.el (auto-mode-alist):
15289 * international/mule.el (ctext-non-standard-encodings-alist)
15290 (ctext-non-standard-encodings-regexp):
15291 * simple.el (shell-command-switch, text-read-only):
15292 * replace.el (occur-mode-map):
15293 * paths.el (rmail-file-name):
15294 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15295 * find-file.el (ff-special-constructs):
15296 * files.el (file-name-handler-alist):
15297 * composite.el: Purecopy strings.
15299 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15301 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15303 * widget.el (define-widget): Purecopy the docstring.
15304 * international/mule-cmds.el (charset): Do not purecopy the
15305 docstring here, define-widget does it.
15307 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15308 * textmodes/bibtex-style.el (auto-mode-alist):
15309 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15310 * progmodes/compile.el (compile-command):
15311 * language/korea-util.el (default-korean-keyboard):
15312 * international/mule-conf.el (file-coding-system-alist):
15313 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15314 * tooltip.el (tooltip-frame-parameters):
15315 * newcomment.el (comment-end, comment-padding):
15316 * dired.el (dired-trivial-filenames):
15317 * comint.el (comint-file-name-prefix): Purecopy initial values.
15319 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15321 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15322 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15324 (tramp-advice-make-auto-save-file-name)
15325 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15326 after removing the advice.
15328 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15330 * progmodes/grep.el (grep-regexp-alist):
15331 * international/mule-cmds.el (iso-2022-control-alist):
15332 * emacs-lisp/timer.el (timer-duration-words):
15333 * subr.el (version-separator, version-regexp-alist):
15334 * minibuffer.el (completion-styles-alist):
15335 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15336 Change defvars to defconsts.
15338 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15339 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15340 * international/mule-conf.el: Allow to be byte compiled.
15342 * international/mule.el (define-charset): Purecopy props.
15343 (load-with-code-conversion): Purecopy doc string and file name.
15344 (put-charset-property): Purecopy strings.
15345 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15347 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15348 (define-char-code-property): Correctly purecopy the table.
15350 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15352 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15354 * subr.el (add-hook): Purecopy strings.
15355 (eval-after-load): Purecopy load-history-regexp and the form.
15357 * custom.el (custom-declare-group): Purecopy load-file-name.
15359 * subr.el (menu-bar-separator): New defconst.
15360 * net/eudc.el (eudc-tools-menu):
15361 * international/mule-cmds.el (set-coding-system-map)
15362 (mule-menu-keymap):
15363 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15364 * vc-hooks.el (vc-menu-map):
15365 * replace.el (occur-mode-map):
15366 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15367 (menu-bar-edit-menu, menu-bar-goto-menu)
15368 (menu-bar-custom-menu, menu-bar-showhide-menu)
15369 (menu-bar-options-menu, menu-bar-tools-menu)
15370 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15371 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15372 (menu-bar-help-menu):
15373 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15374 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15376 * term/x-win.el (x-gtk-stock-map):
15377 * progmodes/vera-mode.el (auto-mode-alist):
15378 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15379 (inferior-lisp-program, inferior-lisp-load-command):
15380 * progmodes/hideshow.el (hs-special-modes-alist):
15381 * progmodes/gud.el (same-window-regexps):
15382 * progmodes/grep.el (grep-program, find-program, xargs-program):
15383 * net/telnet.el (same-window-regexps):
15384 * net/rlogin.el (same-window-regexps):
15385 * language/ethiopic.el (font-ccl-encoder-alist):
15386 * vc-sccs.el (vc-sccs-master-templates):
15387 * vc-rcs.el (vc-rcs-master-templates):
15388 * subr.el (cl-assertion-failed):
15389 * simple.el (next-error-overlay-arrow-position):
15390 * lpr.el (lpr-command):
15391 * locate.el (locate-ls-subdir-switches):
15392 * info.el (same-window-regexps, info)
15393 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15394 * image-mode.el (image-mode, auto-mode-alist):
15395 * hippie-exp.el (hippie-expand-ignore-buffers):
15396 * format.el (format-alist):
15397 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15399 * facemenu.el (facemenu-keybindings):
15400 * dired.el (dired-listing-switches, dired-chown-program):
15401 * diff.el (diff-switches, diff-command):
15402 * cus-edit.el (same-window-regexps):
15403 * bindings.el (mode-line-mule-info)
15404 (mode-line-buffer-identification): Purecopy strings.
15406 2009-11-11 Juri Linkov <juri@jurta.org>
15408 * simple.el (dired-get-filename) <declare-function>:
15409 Tell the byte-compiler about dired-get-filename.
15410 (shell-command): In Dired mode, get filename from the current line
15411 as the default value.
15413 2009-11-10 Glenn Morris <rgm@gnu.org>
15415 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15416 * calendar/holidays.el, progmodes/cperl-mode.el:
15417 Update x-popup-menu declarations.
15419 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15420 (list-load-path-shadows): Use dolist.
15421 (list-load-path-shadows): Use with-current-buffer.
15423 2009-11-10 Juri Linkov <juri@jurta.org>
15425 * minibuffer.el (read-file-name): Support a list of default values
15426 in `default-filename'. Use the first file name where only one
15427 element is required. Doc fix.
15429 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15431 * net/dbus.el (dbus-unregister-object): Release service, if no
15432 other method is registered for it.
15434 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15436 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15437 bookmark-sort-flag is non-nil (Bug#4653).
15439 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15441 * emulation/cua-base.el: Add CUA property to some CC mode commands
15444 2009-11-08 Kevin Ryde <user42@zip.com.au>
15446 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15447 at end of sentence (Bug#4818).
15449 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15451 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15452 Handle "see declaration of" MSFT statements (Bug#4100).
15454 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15456 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15457 (tramp-advice-file-expand-wildcards): Unload via
15458 `ad-remove-advice'.
15460 * net/trampver.el: Update release number.
15462 2009-11-08 Kevin Ryde <user42@zip.com.au>
15464 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15467 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15469 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15470 in order to keep context in SELinux.
15472 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15474 * dired-aux.el (dired-query): Place cursor in echo area and allow
15477 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15478 menu item if not on a directory (Bug#4701).
15480 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15482 Sync with Tramp 2.1.17.
15484 * net/tramp.el (tramp-handle-copy-directory): Don't use
15485 `file-remote-p' (due to compatibility).
15487 * net/tramp-compat.el (tramp-compat-copy-directory)
15488 (tramp-compat-delete-directory): New defuns.
15490 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15491 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15492 Use `tramp-compat-delete-directory'.
15494 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15495 (tramp-smb-handle-delete-directory):
15496 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15498 * net/trampver.el: Update release number.
15500 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15502 * tar-mode.el (tar-copy): Call write-region on the right buffer
15505 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15506 by hand, if necessary (Bug#4878).
15508 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15510 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15511 align size column (Bug#4839).
15513 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15516 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15518 * progmodes/ld-script.el (auto-mode-alist):
15519 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15521 * cus-face.el (custom-declare-face): Purecopy face spec.
15523 2009-11-06 Kenichi Handa <handa@m17n.org>
15525 * international/uni-bidi.el: Re-generated.
15526 * international/uni-category.el: Re-generated.
15527 * international/uni-combining.el: Re-generated.
15528 * international/uni-mirrored.el: Re-generated.
15530 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15532 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15533 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15534 (tex-start-options, slitex-run-command, latex-run-command)
15535 (tex-run-command, tex-directory):
15536 * textmodes/ispell.el (ispell-html-skip-alists)
15537 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15538 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15539 (adaptive-fill-regexp):
15540 * textmodes/dns-mode.el (auto-mode-alist):
15541 * progmodes/python.el (interpreter-mode-alist):
15542 * progmodes/etags.el (tags-compression-info-list):
15543 * progmodes/etags.el (tags-file-name):
15544 * net/browse-url.el (browse-url-galeon-program)
15545 (browse-url-firefox-program):
15546 * mail/sendmail.el (mail-signature-file)
15547 (mail-citation-prefix-regexp):
15548 * international/mule-conf.el (eight-bit):
15549 * international/latexenc.el (latex-inputenc-coding-alist):
15550 * international/fontset.el (x-pixel-size-width-font-regexp):
15551 * emacs-lisp/warnings.el (warning-type-format):
15552 * emacs-lisp/trace.el (trace-buffer):
15553 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15554 (emacs-lisp-mode-map):
15555 * calendar/holidays.el (holiday-solar-holidays)
15556 (holiday-bahai-holidays, holiday-islamic-holidays)
15557 (holiday-christian-holidays, holiday-hebrew-holidays)
15558 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15559 (hebrew-holidays-1, holiday-oriental-holidays)
15560 (holiday-general-holidays):
15561 * x-dnd.el (x-dnd-known-types):
15562 * tool-bar.el (tool-bar):
15563 * startup.el (site-run-file):
15564 * shell.el (shell-dumb-shell-regexp):
15565 * rfn-eshadow.el (file-name-shadow-tty-properties)
15566 (file-name-shadow-properties):
15567 * paths.el (remote-shell-program, news-directory):
15568 * mouse.el ([C-down-mouse-3]):
15569 * menu-bar.el (menu-bar-tools-menu):
15570 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15571 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15572 (jka-compr-compression-info-list):
15573 * isearch.el (search-whitespace-regexp):
15574 * image-file.el (image-file-name-extensions):
15575 * find-dired.el (find-ls-option):
15576 * files.el (directory-listing-before-filename-regexp)
15577 (directory-free-space-args, insert-directory-program)
15578 (list-directory-brief-switches, magic-fallback-mode-alist)
15579 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15580 (automount-dir-prefix):
15581 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15582 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15583 (face-font-registry-alternatives, face-font-registry-alternatives)
15584 (face-font-family-alternatives):
15585 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15586 (facemenu-foreground-menu, facemenu-face-menu):
15587 * epa-hook.el (epa-file-name-regexp):
15588 * dnd.el (dnd-protocol-alist):
15589 * textmodes/rst.el (auto-mode-alist):
15590 * button.el (default-button): Purecopy strings.
15592 2009-11-06 Glenn Morris <rgm@gnu.org>
15594 * Makefile.in (ELCFILES): Update.
15596 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15598 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15599 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15601 * nxml/xsd-regexp.el (xsdre-gen-categories):
15602 * nxml/xmltok.el (xmltok-parse-entity):
15603 * nxml/rng-parse.el (rng-parse-validate-file):
15604 * nxml/rng-maint.el (rng-format-manual)
15605 (rng-manual-output-force-new-line):
15606 * nxml/rng-loc.el (rng-save-schema-location-1):
15607 * nxml/rng-cmpct.el (rng-c-parse-file):
15608 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15609 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15611 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15613 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15614 Remove extra save-excursions and make-variable-buffer-local's.
15615 Suggested by Stefan Monnier.
15617 (verilog-getopt-file, verilog-module-inside-filename-p)
15618 (verilog-set-define): Merge GNU 1.35 and repair changes from
15619 switching to using with-current-buffer.
15621 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15622 being treated as a number and confusing AUTORESET.
15623 Reported by Dan Dever.
15625 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15626 Add verilog-auto-ignore-concat to fix backward compatibility with
15627 older verilog-modes. Reported by Dan Katz.
15629 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15630 containing closing anchors "...$".
15632 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15633 Reported by Wade Smith.
15635 (verilog-batch-execute-func): Comment on function usage.
15637 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15639 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15642 (verilog-label-re, verilog-calc-1): Support proper indent of named
15645 (verilog-backward-token, verilog-basic-complete-re)
15646 (verilog-beg-of-statement, verilog-indent-re): Support proper
15647 indent of the assert statement at the beginning of a block of text.
15649 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15650 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15653 2009-11-05 Glenn Morris <rgm@gnu.org>
15655 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15656 Emacs 19. (Bug#1531)
15657 (byte-compile-fix-header): Update for the above change.
15658 Drop test for epoch::version.
15660 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15661 * cus-dep.el (custom-make-dependencies):
15662 * finder.el (finder-compile-keywords):
15663 Use autoload-rubric's feature argument.
15665 * calendar/diary-lib.el (top-level): Make load behave more like require.
15667 * vc-git.el (vc-git-stash-map): Move definition before use.
15669 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15671 * custom.el (custom-declare-group): Purecopy standard-value.
15672 (custom-declare-group): Purecopy custom-prefix.
15674 * international/mule.el (load-with-code-conversion):
15675 Call do-after-load-evaluation unconditionally.
15677 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15679 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15681 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15683 2009-11-04 Glenn Morris <rgm@gnu.org>
15685 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15686 (byte-compile-compatibility): Remove option.
15687 (byte-compile-close-variables, byte-compile-fix-header)
15688 (byte-compile-insert-header, byte-compile-output-docform)
15689 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15690 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15691 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15692 (byte-compile-insert, byte-compile-defun):
15693 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15694 (byte-defop-compiler19): Remove.
15695 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15696 used by anything. Replace all calls with byte-defop-compiler.
15698 2009-11-04 Juri Linkov <juri@jurta.org>
15700 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15701 (menu-bar-options-menu): Don't quote the `prop' arg of
15702 `menu-bar-make-mm-toggle'.
15704 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15706 * calendar/calendar.el (cal-loaddefs):
15707 * calendar/diary-lib.el (diary-loaddefs):
15708 * calendar/holidays.el (hol-loaddefs):
15709 * eshell/esh-module.el (esh-groups): Load rather than require.
15711 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15713 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15715 (todo-top-priorities): Only display-buffer when called interactively.
15716 (todo-item-start): Don't save excursion point.
15717 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15718 (todo-insert-item-here, todo-file-item, todo-remove-item):
15719 Adjust uses of todo-item-start and todo-item-end.
15721 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15722 (autoload-rubric): Don't use any more.
15724 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15725 and only put a prop if it is non-nil.
15727 2009-11-03 Juri Linkov <juri@jurta.org>
15729 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15730 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15732 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15733 and "Menu" to make top-level menu item visually one unit (like
15734 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15735 multi-word menu items). Fix :help string for quit-window.
15737 2009-11-03 Glenn Morris <rgm@gnu.org>
15739 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15740 (byte-compile-file-form-define-abbrev-table)
15741 (byte-compile-file-form-custom-declare-variable)
15742 (byte-compile-variable-ref, byte-compile-defvar):
15743 Whether or not a warning is enabled should only affect whether we issue
15744 the warning, not whether or not we collect the relevant data.
15745 Eg warnings can be turned on and off throughout the course of a file.
15747 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15748 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15750 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15752 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15753 * play/mpuz.el (mpuz-create-buffer):
15754 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15755 (lm-print-y,s,noise, lm-print-w0, lm-init):
15756 * play/gomoku.el (gomoku-prompt-for-move):
15757 * play/fortune.el (fortune-in-buffer):
15758 * play/dissociate.el (dissociated-press):
15759 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15760 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15761 * mail/supercite.el (sc-eref-show):
15762 * mail/smtpmail.el (smtpmail-send-it):
15763 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15764 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15765 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15766 (rmail-summary-goto-msg, rmail-summary-expunge)
15767 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15768 (rmail-summary-add-label, rmail-summary-output-menu)
15769 (rmail-summary-output-body):
15770 * mail/rfc822.el (rfc822-addresses):
15771 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15772 * mail/mailpost.el (post-mail-send-it):
15773 * mail/hashcash.el (hashcash-generate-payment):
15774 * mail/feedmail.el (feedmail-run-the-queue)
15775 (feedmail-queue-send-edit-prompt-help-first)
15776 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15777 (feedmail-deduce-address-list):
15778 * eshell/esh-ext.el (eshell-remote-command):
15779 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15780 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15781 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15782 (viper-save-string-in-file, viper-valid-marker):
15783 * emulation/viper-keym.el (viper-toggle-key):
15784 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15785 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15786 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15787 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15788 (viper-exec-form-in-emacs, viper-brac-function):
15789 * emulation/viper.el (viper-delocalize-var):
15790 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15791 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15792 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15793 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15794 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15795 * emulation/edt.el (edt-electric-helpify):
15796 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15797 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15798 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15799 (cua-indent-to-global-mark-column):
15800 * calendar/diary-lib.el (calendar-mark-1):
15801 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15802 Use with-current-buffer.
15803 * emulation/viper.el (viper-delocalize-var): Use dolist.
15805 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15807 * comint.el (comint-replace-by-expanded-history-before-point):
15808 Replace !! with the previous input string literally (Bug#1795).
15810 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15812 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15813 to be made up of whitespace.
15815 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15817 * minibuffer.el (read-file-name): Don't use file dialogs for
15818 remote directories (Bug#99).
15820 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15822 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15824 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15826 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15827 instead of deleting the window or frame.
15829 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15831 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15832 Support face colors.
15834 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15835 New function. Support face colors (Bug#1168).
15836 (tex-common-initialization): Use it.
15838 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15839 mode allows it (Bug#1168).
15841 2009-10-31 Juri Linkov <juri@jurta.org>
15843 * facemenu.el (list-colors-display): Don't mark buffer as
15844 modified (Bug#3948).
15846 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15848 * international/mule-diag.el (list-character-sets-1):
15849 Minor message fix (Bug#3526).
15851 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15852 Fix face property (Bug#4834).
15853 (etags-list-tags, etags-tags-apropos-additional)
15854 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15857 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15860 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15862 * textmodes/two-column.el (2C-split):
15863 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15864 * textmodes/tex-mode.el (tex-set-buffer-directory):
15865 * textmodes/spell.el (spell-region, spell-string):
15866 * textmodes/reftex.el (reftex-erase-buffer):
15867 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15868 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15869 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15870 (reftex-select-item):
15871 * textmodes/reftex-ref.el (reftex-label-info-update)
15872 (reftex-offer-label-menu):
15873 * textmodes/reftex-index.el (reftex-index-change-entry)
15874 (reftex-index-phrases-info):
15875 * textmodes/reftex-global.el (reftex-create-tags-file)
15876 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15877 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15878 (reftex-view-crossref-from-bibtex):
15879 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15880 (reftex-extract-bib-entries-from-thebibliography)
15881 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15882 * textmodes/refbib.el (r2b-capitalize-title):
15883 (r2b-convert-buffer, r2b-help):
15884 * textmodes/page-ext.el (pages-directory)
15885 (pages-directory-goto-with-mouse):
15886 * textmodes/bibtex.el (bibtex-validate-globally):
15887 * textmodes/bib-mode.el (bib-capitalize-title):
15888 * textmodes/artist.el (artist-clear-buffer, artist-system):
15889 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15890 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15891 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15892 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15893 (xscheme-send-control-g-interrupt, xscheme-start-process)
15894 (xscheme-process-sentinel, xscheme-cd):
15895 * progmodes/verilog-mode.el (verilog-read-always-signals)
15896 (verilog-set-define, verilog-getopt-file)
15897 (verilog-module-inside-filename-p):
15898 * progmodes/sh-script.el:
15899 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15900 (python-pdbtrack-grub-for-buffer, python-execute-file):
15901 * progmodes/octave-inf.el (inferior-octave):
15902 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15903 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15904 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15905 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15906 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15907 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15908 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15909 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15910 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15911 (idlwave-shell-examine-display, idlwave-shell-run-region)
15912 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15913 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15914 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15915 (idlwave-help-get-help-buffer):
15916 * progmodes/gud.el (gud-basic-call, gud-find-class)
15917 (gud-tooltip-activate-mouse-motions-if-enabled):
15918 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15919 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15920 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15921 (ebrowse-tags-next-file):
15922 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15923 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15924 (ebnf-eps-finish-and-write):
15925 * progmodes/cpp.el (cpp-edit-save):
15926 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15927 * progmodes/cc-defs.el (c-emacs-features):
15928 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15929 (antlr-directory-dependencies):
15930 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15931 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15932 (ada-find-any-references, ada-make-filename-from-adaname)
15933 (ada-make-body-gnatstub):
15934 * obsolete/rnews.el (news-list-news-groups):
15935 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15936 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15937 * net/rcirc.el (rcirc-debug):
15938 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15939 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15940 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15941 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15942 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15943 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15944 (newsticker--treeview-list-clear-highlight)
15945 (newsticker--treeview-list-update-highlight)
15946 (newsticker--treeview-list-highlight-start)
15947 (newsticker--treeview-tree-update-highlight)
15948 (newsticker--treeview-get-selected-item)
15949 (newsticker-treeview-mark-list-items-old)
15950 (newsticker--treeview-set-current-node):
15951 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15952 * net/newst-backend.el (newsticker--get-news-by-funcall)
15953 (newsticker--get-news-by-wget, newsticker--image-get)
15954 (newsticker--image-sentinel):
15955 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15956 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15957 (eudc-ph-close-session):
15958 * net/eudc.el (eudc-save-options):
15959 * language/thai-word.el (thai-update-word-table):
15960 * language/japan-util.el (japanese-string-conversion):
15961 * international/titdic-cnv.el (tsang-quick-converter)
15962 (ziranma-converter, ctlau-converter):
15963 * international/mule-cmds.el (describe-language-environment):
15964 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15965 (skkdic-convert-postfix, skkdic-convert-prefix):
15966 (skkdic-convert-okuri-nasi, skkdic-convert):
15967 * emacs-lisp/re-builder.el (reb-update-overlays):
15968 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15969 * emacs-lisp/gulp.el (gulp-send-requests):
15970 * emacs-lisp/find-gc.el (trace-call-tree):
15971 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15972 (eieio-describe-generic):
15973 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15974 * emacs-lisp/edebug.el (edebug-outside-excursion):
15975 * emacs-lisp/debug.el (debugger-make-xrefs):
15976 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15977 * emacs-lisp/chart.el (chart-new-buffer):
15978 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15979 Use with-current-buffer.
15980 * textmodes/artist.el (artist-system): Don't call
15981 copy-sequence on a fresh string.
15982 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15984 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15986 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15987 is no item to edit. (Bug#4820)
15988 (todo-top-priorities): Restore point and restore narrowing in Todo
15991 2009-10-31 Glenn Morris <rgm@gnu.org>
15993 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15994 (comint-last-output-start, comint-last-input-start)
15995 (comint-last-input-end): Don't defvar when compiling.
15996 (ange-ftp-process-file): Use bound-and-true-p.
15998 * pcmpl-rpm.el (top-level): Move provide statement to end.
15999 (pcmpl-rpm): Remove unused custom group.
16001 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16003 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16005 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16006 (byte-compile-warnings): Add `constants' as an option.
16007 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16008 (display-call-tree): Update for byte-compile-fdefinition possibly
16009 returning `(macro lambda ...)'. (Bug#4778)
16010 (byte-compile-variable-ref, byte-compile-setq-default):
16011 Respect `constants' member of byte-compile-warnings.
16013 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16015 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16016 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16019 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16021 * textmodes/ispell.el (ispell-skip-region-alist):
16022 * international/mule-conf.el (eight-bit):
16023 * international/fontset.el (font-encoding-alist):
16024 * startup.el (pure-space-overflow-message):
16025 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16026 * paths.el (gnus-nntp-service, rmail-spool-directory)
16027 (term-file-prefix):
16028 * files.el (save-some-buffers-action-alist):
16029 * cmuscheme.el (same-window-buffer-names):
16030 * ielm.el (same-window-buffer-names):
16031 * shell.el (same-window-buffer-names):
16032 * mail/sendmail.el (same-window-buffer-names):
16033 * progmodes/inf-lisp.el (same-window-buffer-names):
16034 * bindings.el (mode-line-client)
16035 (mode-line-column-line-number-mode-map):
16036 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16037 (tibetan-precomposed-regexp): Purecopy string arguments.
16039 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16041 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16042 (calcDigit-nondigit):
16043 * calc/calc-yank.el (calc-copy-to-buffer):
16044 * calc/calc-units.el (calc-invalidate-units-table):
16045 * calc/calc-trail.el (calc-trail-yank):
16046 * calc/calc-store.el (calc-insert-variables):
16047 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16048 * calc/calc-prog.el (calc-read-parse-table):
16049 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16050 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16051 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16052 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16053 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16054 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16055 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16056 * calc/calc-ext.el (calc-realign):
16057 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16058 (calc-embedded-finish-edit, calc-embedded-make-info)
16059 (calc-embedded-finish-command, calc-embedded-stack-change):
16060 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16062 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16063 shell-dynamic-complete-filename in preference to
16064 comint-dynamic-complete-filename.
16066 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16067 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16068 Don't consider whether the display supports colors.
16069 (bookmark-import-new-list): Use dolist.
16070 (bookmark-bmenu-mode-map): Move initialization into declaration.
16071 (bookmark-bmenu-list): Use dolist, simplify.
16072 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16073 (menu-bar-final-items): Use push.
16075 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16077 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16078 it works on remote files.
16079 (vc-hg-diff): Don't pass any `--cwd' argument.
16081 2009-10-27 Kevin Ryde <user42@zip.com.au>
16083 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16084 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16085 (Further to Bug#3921).
16087 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16089 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16090 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16091 calling `tramp-imap-put-file'. Add file size to the call.
16092 (tramp-imap-get-file-entries): Compute also user name, file size,
16094 (tramp-imap-handle-insert-directory): Insert uid and gid.
16095 (tramp-imap-handle-file-attributes): Transform uid and gid
16096 according to `id-format'.
16097 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16098 size in header X-Size.
16100 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16102 * simple.el (transpose-subr): Give clearer error when the mark
16103 is not set. (Bug#4807)
16105 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16107 * net/tramp.el (tramp-perl-file-truename): New defconst.
16108 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16109 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16110 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16111 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16113 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16114 Ignore `dired-call-process'.
16115 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16117 2009-10-26 Julian Scheid <julians37@gmail.com>
16119 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16120 (tramp-get-remote-readlink): New defun.
16121 (tramp-handle-file-truename): Use it.
16122 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16123 file exists if cache value present.
16124 (tramp-check-cached-permissions): New defun.
16125 (tramp-handle-file-readable-p): Use it.
16126 (tramp-handle-file-writable-p): Likewise.
16127 (tramp-handle-file-executable-p): Likewise.
16128 (tramp-handle-file-name-all-completions): Try using Perl to get
16129 partial completions. When perl not available, combine `cd' and
16130 `ls' into single remote operation and use shell expansion to get
16131 partial remote directory contents. Set `file-exists-p' cache for
16132 directory and any files returned by ls. Change cache handling to
16133 support partial directory contents. Use error message emitted by
16134 remote `cd' or Perl code for local tramp-error.
16135 (tramp-do-copy-or-rename-file-directly): Avoid separate
16136 tramp-send-command-and-check call.
16137 (tramp-handle-process-file): Merge three remote ops into one.
16138 Do not flush all caches when `process-file-side-effects' is set.
16139 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16140 file-attributes shows uid/gid to be set already.
16142 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16144 * textmodes/tex-mode.el (tex-dvi-view-command)
16145 (tex-show-queue-command, tex-open-quote):
16146 * progmodes/ruby-mode.el (auto-mode-alist)
16147 (interpreter-mode-alist): Purecopy strings.
16149 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16151 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16152 string for the hook, keymap and abbrev table.
16154 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16156 * x-dnd.el (x-dnd-xdnd-to-action):
16157 * startup.el (fancy-startup-text, fancy-about-text): Change to
16158 defconst from defvar.
16160 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16162 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16163 Purecopy initialization strings.
16165 * mail/sendmail.el (mail-header-separator)
16166 (mail-personal-alias-file):
16167 * mail/rmail.el (rmail-default-dont-reply-to-names)
16168 (rmail-ignored-headers, rmail-retry-ignored-headers)
16169 (rmail-highlighted-headers, rmail-secondary-file-directory)
16170 (rmail-secondary-file-regexp):
16171 * files.el (null-device, file-name-invalid-regexp)
16172 (locate-dominating-stop-dir-regexp)
16173 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16174 (interpreter-mode-alist): Use mapcar instead of mapc.
16176 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16178 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16179 (completion-ignored-extensions):
16180 (debug-ignored-errors): Purecopy strings.
16182 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16184 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16185 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16186 (pcomplete--here): Use push.
16188 * subr.el (all-completions): Declare the 4th arg obsolete.
16190 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16192 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16193 (pcomplete-unquote-argument): New function.
16194 (pcomplete--common-suffix): Always pay attention to case.
16195 (pcomplete--table-subvert): Quote and unquote the text.
16196 (pcomplete--common-quoted-suffix): New function.
16197 (pcomplete-std-complete): Use it and pcomplete-begin.
16199 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16200 we're inside a dedicated or minibuffer window.
16202 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16204 * bookmark.el: Update documentation, especially documentation
16205 of `bookmark-alist' and of the bookmark file format.
16206 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16208 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16210 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16211 keybindings apply to the mail buffer (Bug#4003). Shrink help
16214 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16215 (global-whitespace-mode, global-whitespace-newline-mode)
16216 (whitespace-toggle-options, global-whitespace-toggle-options):
16217 Doc fix (Bug#3660).
16219 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16220 of xmltok-start before the end tag was inserted (Bug#2840).
16222 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16223 patterns that are preceded by an open-paren (Bug#1320).
16225 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16227 * files.el (delete-directory): Delete symlinks to directories with
16228 delete-file (Bug#4739).
16230 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16232 * vc.el (vc-backend-for-registration): Rename from
16233 vc-get-backend-for-registration. Update callers.
16235 * international/mule-cmds.el (set-language-info-alist):
16237 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16238 (charset): Purecopy the name.
16239 (define-char-code-property): Purecopy string arguments.
16241 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16242 Purecopy string arguments.
16244 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16245 * ediff-hook.el (menu-bar-ediff-menu):
16246 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16247 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16249 2009-10-24 Glenn Morris <rgm@gnu.org>
16251 * comint.el (comint-dynamic-list-completions):
16252 * term.el (term-dynamic-list-completions): Use choose-completion rather
16253 than obsolete alias mouse-choose-completion.
16255 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16256 file-cache-choose-completion.
16257 (file-cache-choose-completion): Handle an optional event argument.
16258 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16260 * progmodes/octave-mod.el (octave-complete-symbol):
16261 Use choose-completion if mouse-choose-completion is ever removed.
16263 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16266 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16269 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16271 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16273 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16274 Ignore `pred' now that we receive one.
16275 Handle test-completion specially.
16277 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16279 * vc.el (vc-responsible-backend): Throw an error if not backend is
16280 found. Remove the REGISTER argument. Move the code dealing with
16282 (vc-get-backend-for-registration): ... here. New function.
16283 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16284 of vc-responsible-backend, pass the file name instead of the
16287 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16289 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16291 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16292 (pcomplete-comint-setup): Don't modify a global var via
16293 accidental side-effects.
16294 (pcomplete-shell-setup): Adjust call accordingly.
16295 (pcomplete-parse-comint-arguments): Use push.
16297 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16299 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16300 Allow uncapitalized info node names (Bug#3921).
16302 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16303 to the DEBUG file (Bug#3781).
16305 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16307 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16308 dictionary entry (Bug#4579).
16310 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16312 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16313 from `rfn-eshadow-update-overlay-hook' when unloading.
16314 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16315 "rsyncc". Adjust doc string.
16316 (tramp-temp-buffer-file-name): New buffer-local defvar.
16317 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16318 Keep temporary file when indicated by method ("rsync" and
16320 (tramp-handle-write-region): Handle APPEND.
16321 (tramp-delete-temp-file-function): New defun. Added to
16322 `kill-buffer-hook'.
16324 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16326 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16328 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16330 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16331 (color-name-rgb-alist, tty-standard-colors)
16332 (tty-color-mode-alist): Change to defconst.
16334 * simple.el (mark-inactive): Purecopy message.
16336 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16337 (global-map, yank-menu):
16338 * textmodes/ispell.el (ispell-menu-map):
16339 * net/eudc.el (eudc-tools-menu):
16340 * international/mule-cmds.el (describe-language-environment-map)
16341 (setup-language-environment-map, set-coding-system-map)
16342 (mule-menu-keymap):
16343 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16344 * replace.el (occur-mode-map):
16345 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16347 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16349 * calc/calc.el (math-read-number, math-read-number-simple):
16350 Use `save-match-data'.
16352 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16354 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16355 rather than fiddling with global-map bindings, since it should only
16356 affect per-terminal settings.
16357 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16359 * minibuffer.el (completion-table-with-terminator): Allow to specify
16360 the terminator-regexp.
16362 * simple.el (switch-to-completions): Look for *Completions* in other
16365 * pcomplete.el: Allow the use of completion-tables.
16366 (pcomplete-std-complete): New command.
16367 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16368 (pcomplete--here): Use a function for `form' rather than an expression,
16369 so it can be byte-compiled.
16370 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16371 Add edebug declaration.
16372 (pcomplete-show-completions): Remove unused var `curbuf'.
16373 (pcomplete-do-complete, pcomplete-stub):
16374 Don't assume `completions' is a list of strings any more.
16376 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16378 * find-dired.el (find-name-arg): Fix typo in docstring.
16380 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16382 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16383 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16385 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16388 * comint.el (comint-read-input-ring, comint-write-input-ring)
16389 (comint-substitute-in-file-name)
16390 (comint-dynamic-complete-as-filename)
16391 (comint-dynamic-simple-complete)
16392 (comint-dynamic-list-filename-completions)
16393 (comint-dynamic-list-completions)
16394 (comint-redirect-results-list-from-process): Minor simplifications.
16396 2009-10-21 Kevin Ryde <user42@zip.com.au>
16398 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16399 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16400 the first form. And insert a blank line after ";;; Code" since
16401 that's usual style. (Bug#4612)
16403 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16405 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16407 * minibuffer.el (completion-table-with-terminator): Properly implement
16408 boundaries, in case `terminator' appears in the suffix.
16409 (completion--embedded-envvar-table): Don't return boundaries if
16410 there's no valid completion. Simplify.
16411 (completion-file-name-table): New completion table extracted from
16412 completion--file-name-table.
16413 (completion--file-name-table): Use it.
16414 (read-file-name-predicate): Declare obsolete.
16415 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16416 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16417 completion-file-name-table, and use the `pred' argument.
16418 * files.el (locate-file-completion-table): Use the `pred' arg rather
16419 than read-file-name-predicate.
16420 (abbreviate-file-name): Use \` rather than ^ for BOS.
16422 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16424 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16425 vc-responsible-backend to register, it causes problems.
16427 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16429 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16431 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16433 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16434 (tramp-smb-handle-file-attributes): Use it.
16435 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16436 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16437 `mapcar'. Use `tramp-smb-get-stat-capability'.
16438 Add `dired-filename' text properties.
16439 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16440 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16443 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16445 * subr.el (read-key-delay): Reduce to 0.01.
16446 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16449 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16451 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16453 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16454 (Info-menu): Remove unused vars `last' and `completions'.
16455 (Info-index-nodes): Remove unused var `node'.
16457 * info.el (Info-complete-menu-item): Use complete-with-action.
16459 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16461 Make vc-annotate work through copies and renames.
16462 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16463 Return the file name too.
16464 (vc-annotate-revision-at-line)
16465 (vc-annotate-find-revision-at-line)
16466 (vc-annotate-revision-previous-to-line)
16467 (vc-annotate-show-log-revision-at-line): Update to get the file
16468 name from vc-annotate-extract-revision-at-line.
16469 (vc-annotate-show-diff-revision-at-line-internal): Change the
16470 argument to mean whether to show a file diff or not. Get the file
16471 name from vc-annotate-extract-revision-at-line.
16472 (vc-annotate-show-diff-revision-at-line):
16473 Update vc-annotate-show-diff-revision-at-line call.
16474 (vc-annotate-warp-revision): Add an optional file argument.
16476 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16477 (vc-git-annotate-extract-revision-at-line): Also return the file
16480 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16481 command. Remove unused code.
16482 (vc-hg-annotate-re): Update to match --follow output.
16483 (vc-hg-annotate-extract-revision-at-line): Also return the file
16486 * vc.el: Update annotate-extract-revision-at-line documentation.
16488 2009-10-18 Kevin Ryde <user42@zip.com.au>
16490 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16491 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16493 * net/browse-url.el (browse-url): Identify alist with "consp and
16494 not functionp" and let all other things go down the `apply' leg,
16495 as suggested by Stefan. (Further to bug#4531.)
16497 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16499 * minibuffer.el (read-file-name): Check for repeat before putting
16500 a default argument in file-name-history (Bug#4657).
16502 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16503 read syntax (Bug#4737).
16505 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16507 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16509 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16510 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16511 entries and make note of obsolete tags.
16513 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16515 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16517 2009-10-18 Glenn Morris <rgm@gnu.org>
16519 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16520 grep, so that binary files (eg international/uni-bidi.el) can match.
16521 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16522 now, and in any case the file header format has changed.
16524 2009-10-17 Glenn Morris <rgm@gnu.org>
16526 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16527 (flyspell-get-word, flyspell-large-region)
16528 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16530 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16532 * Makefile.in (ELCFILES): Add ede/shell.
16534 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16536 * term/common-win.el (x-colors): Purecopy it.
16538 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16540 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16541 permissive for when the buffer is empty.
16542 (tar-header-block-tokenize): Decode the username and groupname.
16543 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16545 2009-10-17 Eric Ludlam <zappo@gnu.org>
16547 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16548 contains multibyte characters, choose first applicable coding
16549 system automatically.
16551 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16553 * international/mule-cmds.el (select-safe-coding-system): If the file
16554 has a coding cookie, use it regardless of any other setting (bug#4712).
16556 2009-10-17 Glenn Morris <rgm@gnu.org>
16558 * foldout.el (foldout-mouse-swallow-events):
16559 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16561 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16562 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16563 (dired-keep-marker-symlink, dired-dwim-target)
16564 (dired-copy-preserve-time): Do not autoload these defcustoms.
16566 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16567 messages from messing up the file coding. (Bug#4623)
16569 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16571 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16572 if no match is found for the current dictionary. (Bug#4578)
16574 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16575 optional, since that is how it is documented, and this is often called
16576 with a nil argument. (Bug#4577)
16577 (flyspell-external-point-words, flyspell-auto-correct-word)
16578 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16579 (flyspell-word-search-backward): Remove nil argument in calls to
16580 flyspell-get-word, since it is not needed now.
16582 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16584 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16586 2009-10-16 Glenn Morris <rgm@gnu.org>
16588 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16590 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16592 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16593 (ange-ftp-file-size): New function.
16594 (ange-ftp-file-attributes): Use it.
16596 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16598 * net/tramp-smb.el (tramp-smb-version): New defvar.
16599 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16602 2009-10-16 Glenn Morris <rgm@gnu.org>
16604 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16605 Maybe copy some custom properties from old to new name. (Bug#4706)
16607 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16609 * subr.el (error, sit-for, start-process-shell-command)
16610 (start-file-process-shell-command): Set the calling convention
16611 after the function definition.
16613 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16615 * subr.el (error, sit-for, start-process-shell-command)
16616 (start-file-process-shell-command): Use the new
16617 set-advertised-calling-convention feature.
16619 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16621 * international/ucs-normalize.el (ucs-normalize-version):
16623 (check-range): Adjust for Unicode 5.2.
16625 2009-10-15 Juri Linkov <juri@jurta.org>
16627 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16628 to the `menu-item' format.
16630 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16632 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16633 if the environment variable does not exist.
16635 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16636 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16638 (tramp-smb-handle-add-name-to-file)
16639 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16640 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16641 (tramp-smb-handle-file-attributes)
16642 (tramp-smb-do-file-attributes-with-stat)
16643 (tramp-smb-handle-file-local-copy)
16644 (tramp-smb-handle-insert-directory)
16645 (tramp-smb-handle-make-directory)
16646 (tramp-smb-handle-make-directory-internal)
16647 (tramp-smb-handle-make-symbolic-link)
16648 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16649 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16650 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16651 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16652 Handle long file names.
16653 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16654 process is running.
16655 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16656 Read share names with "-g" option.
16658 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16660 * net/rcirc.el (rcirc-view-log-file): New command.
16661 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16662 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16665 2009-10-15 Glenn Morris <rgm@gnu.org>
16667 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16668 from the second command-line argument.
16669 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16670 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16671 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16672 w32-batch-update-autoloads.
16673 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16674 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16676 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16677 the headers cannot be located. Simplify, subtracting superflous
16680 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16682 Replace completion-base-size by completion-base-position to fix bugs
16683 such as (bug#4699).
16684 * simple.el (completion-base-position): New var.
16685 (completion-base-size): Mark as obsolete.
16686 (choose-completion): Make it work for mouse events as well.
16687 Pass the new base-position to choose-completion-string.
16688 (choose-completion-guess-base-position): New function, extracted from
16689 choose-completion-delete-max-match.
16690 (choose-completion-delete-max-match): Use it. Make obsolete.
16691 (choose-completion-string): Use the new base-position info.
16692 (completion-root-regexp): Delete.
16693 (completion-setup-function): Preserve completion-base-position.
16694 Eliminate obsolete base-size manipulation.
16695 * minibuffer.el (display-completion-list): Don't mess with base-size.
16696 (minibuffer-completion-help): Set completion-base-position instead.
16697 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16699 * textmodes/bibtex.el (bibtex-complete):
16700 * emacs-lisp/crm.el (crm--choose-completion-string):
16701 Adjust to new calling convention.
16702 * complete.el (partial-completion-mode): Use minibufferp to avoid
16703 bumping into incompatible change to choose-completion-string-functions.
16704 * ido.el (ido-choose-completion-string): Make its calling convention
16706 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16707 base-size manipulation.
16708 (comint-dynamic-list-input-ring): Use dotimes and push.
16709 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16710 fundamental-mode. Use `or'.
16712 2009-10-14 Juri Linkov <juri@jurta.org>
16714 * misearch.el (multi-isearch-next-buffer-from-list)
16715 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16717 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16719 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16722 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16723 string we return is all made up of text from the completions rather
16724 than part from the completions and part from the input (bug#4219).
16726 * ido.el (ido-everywhere): Use define-minor-mode.
16728 * buff-menu.el (list-buffers, ctl-x-map):
16729 Mark the entry points with ;;;###autoload cookies.
16731 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16733 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16734 correctly in the detached head case.
16735 (vc-git-print-log): Remove unused binding.
16737 * vc.el (vc-responsible-backend): When a directory is passed for
16738 for registration create a VC repository if no backend is
16739 responsible for the directory argument.
16740 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16742 * vc.el: Move comments about RCS and SCCS ...
16744 * vc-sccs.el: ... here, respectively.
16746 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16748 * minibuffer.el (completion--file-name-table): Return nil if there's
16749 no file completion, even if substitute-in-file-name changed
16750 the string (bug#4708).
16752 2009-10-13 Juri Linkov <juri@jurta.org>
16754 * files-x.el (read-file-local-variable-value): Don't filter out
16755 minor modes from mode name completion (bug#4664).
16757 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16759 * international/mule-cmds.el (ucs-names): Remove exclusion of
16760 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16762 2009-10-13 Kenichi Handa <handa@m17n.org>
16764 * international/uni-name.el: Regenerated.
16766 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16768 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16769 should be automatically buffer-local, but isn't.)
16771 2009-10-12 Sam Steingold <sds@gnu.org>
16773 * progmodes/compile.el (compilation-next-error-function): Fix the
16774 timestamps if the buffer has been visited before.
16775 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16776 non-anchored patterns, like the perl one (bug#3928).
16778 2009-10-12 Glenn Morris <rgm@gnu.org>
16780 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16783 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16785 * proced.el (proced-unload-function): New function.
16787 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16788 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16791 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16793 2009-10-11 Juri Linkov <juri@jurta.org>
16795 * files-x.el (read-file-local-variable-value):
16796 Provide default value only for bound variables (bug#4664).
16798 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16800 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16801 connection methods like smb.
16803 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16806 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16807 (tramp-smb-file-name-handler-alist): Add handlers for
16808 `add-name-to-file', `make-symbolic-link'.
16809 (tramp-smb-handle-add-name-to-file)
16810 (tramp-smb-do-file-attributes-with-stat)
16811 (tramp-smb-handle-make-symbolic-link)
16812 (tramp-smb-get-cifs-capabilities): New defuns.
16813 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16814 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16815 (tramp-smb-handle-file-local-copy)
16816 (tramp-smb-handle-make-directory-internal)
16817 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16818 The file name syntax depends on cifs capabilities.
16819 (tramp-smb-handle-file-attributes):
16820 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16821 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16822 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16824 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16826 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16827 (eieio-defclass): Apply deftype handler and setf-method properties
16829 (eieio-add-new-slot): Avoid union function from cl library.
16830 (eieio--typep): New function.
16831 (eieio-perform-slot-validation): Use it.
16833 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16835 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16836 Update documentation to refer to the variables documented in r1.135.
16839 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16841 * bookmark.el (Info-suffix-list): Remove this unused variable.
16842 (bookmark-current-point): Remove this obsolete variable.
16843 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16844 Adjust for removal of bookmark-current-point.
16846 (bookmarks-already-loaded, bookmark-current-buffer)
16847 (bookmark-yank-point): Document. (Bug#4188)
16849 2009-10-10 Glenn Morris <rgm@gnu.org>
16851 * frame.el (frame-height): Doc fix.
16853 * calendar/calendar.el (calendar-split-width-threshold): New option.
16854 (calendar-basic-setup): Use calendar-split-width-threshold.
16856 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16858 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16859 Ideographic Supplement" range (U+1F200..U+1F2FF).
16861 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16863 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16864 since the list will have been rebuilt anyway. (Bug#4349)
16866 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16868 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16869 (bookmark-bmenu-execute-deletions): Don't save here, as
16870 bookmark-delete will now do so if necessary.
16871 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16874 2009-10-09 Glenn Morris <rgm@gnu.org>
16876 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16878 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16880 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16881 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16882 argument now, so the two function's behaviors will match. (Bug#3645)
16884 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16886 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16887 (tramp-file-name-real-host, tramp-file-name-port):
16888 Apply `save-match-data'.
16890 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16891 case both directories are remote.
16892 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16893 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16895 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16897 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16899 2009-10-07 Glenn Morris <rgm@gnu.org>
16901 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16904 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16906 * files-x.el (read-file-local-variable): Include some
16907 non-user-variables in the completion table (bug#4664).
16909 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16911 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16914 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16915 (tramp-smb-file-name-handler-alist): Add handler for
16916 `copy-directory', `expand-file-name', `set-file-modes'.
16917 (tramp-smb-handle-copy-directory)
16918 (tramp-smb-handle-expand-file-name)
16919 (tramp-smb-handle-set-file-modes): New defuns.
16920 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16921 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16923 (tramp-smb-handle-insert-directory): Don't flush the cache.
16924 (tramp-smb-maybe-open-connection): Check for samba client and
16927 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16929 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16930 to not error out of search for "^lisp=" fails.
16932 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16934 * makefile.w32-in (WINS_UPDATES): New macro.
16935 (custom-deps, finder-data, autoloads): Use it.
16937 2009-10-07 Glenn Morris <rgm@gnu.org>
16939 * Makefile.in (autoloads): Revert previous change.
16940 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16941 the list of preloaded files passed on the command-line, get
16942 it from src/Makefile.
16944 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16945 show the original buffer rather than a random one.
16947 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16949 * help.el (describe-no-warranty): Place point in a slightly better
16950 position in the GPLv3 text.
16952 2009-10-06 Sam Steingold <sds@gnu.org>
16954 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16955 the comm attribute is present before calling regexp-quote.
16957 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16959 * play/animate.el (animate-string): For good effect, make sure
16960 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16962 * play/animate.el (animate-sequence, animate-birthday-present):
16963 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16965 2009-10-06 Glenn Morris <rgm@gnu.org>
16967 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16969 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16970 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16971 (batch-update-autoloads): Process a string value of autoload-excludes,
16972 set during the build process.
16973 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16975 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16976 inside with-parsed... macro so that `v' is defined.
16978 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16979 * progmodes/fortran.el (fortran-end-of-block)
16980 (fortran-beginning-of-block):
16981 Also push mark in the macro case.
16983 * emerge.el (emerge-show-file-name):
16984 * calc/calc.el (calc-quit):
16985 * calc/calc-misc.el (calc-big-or-small):
16986 * calc/calc-graph.el (calc-graph-view):
16987 * calc/calc-ext.el (calc-reset):
16988 * calendar/calendar.el (calendar-basic-setup):
16989 Use window-full-height-p.
16991 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16992 header we don't understand, don't insert another. (Bug#4624)
16993 If changing mime charset, insert the new one in the right place.
16995 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16997 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16998 (cal-tex-cursor-month): Correctly increment the end date for diary and
16999 holiday listing. (Bug#4626)
17001 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17003 * help-fns.el (describe-function-1): Don't burp if the function is not
17006 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17008 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17009 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17010 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17011 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17013 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17014 (eieio-default-superclass): Reflow docstrings.
17015 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17016 (eieio-unbind-method-implementations, defmethod)
17017 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17018 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17019 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17020 (eieio-slot-originating-class-p, eieio-slot-name-index)
17021 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17022 (constructor, initialize-instance, no-next-method, object-print)
17023 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17024 Fix typos in docstrings.
17025 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17026 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17027 (next-method-p): Doc fixes.
17028 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17029 Fix typos in error messages.
17030 (eieio-defmethod): Fix typo in description of generic method.
17032 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17033 (eieio-persistent-save-interactive, slot-missing):
17034 Fix typos in docstrings.
17035 (eieio-instance-inheritor-slot-boundp): Doc fix.
17037 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17038 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17040 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17041 (eieio-custom-object-apply-reset):
17042 Fix typos in docstrings and error messages.
17044 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17045 Fix typo in docstring.
17047 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17048 (eieio-browse-tree): Doc fix.
17049 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17050 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17051 Fix typos in docstrings.
17053 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17054 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17055 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17056 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17059 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17061 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17062 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17063 Set log-view-vc-backend so that diff can work.
17065 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17067 (vc-diff-internal): Autoload this instead of vc-version-diff.
17069 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17071 * simple.el (eval-expression): Doc fix.
17073 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17075 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17077 * files.el (directory-files-no-dot-files-regexp): New defconst.
17078 (delete-directory): Use it.
17079 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17081 * net/tramp.el (tramp-verbose): Fix docstring.
17082 (tramp-methods): Add recursive option to `tramp-copy-args'.
17083 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17084 "scp1_old", "scp2_old", "rsync", "rsyncc".
17085 (tramp-default-method): Check also for `auth-source-user-or-password'.
17086 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17087 Add handler for `copy-directory'.
17088 (tramp-handle-copy-directory): New defun.
17089 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17090 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17091 Optimize sent command.
17093 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17095 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17096 window if necessary.
17098 * calendar/calendar.el (calendar-basic-setup): Don't call
17099 switch-to-buffer in a dedicated window.
17101 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17103 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17104 don't do anything related to relocating, just return nil.
17105 (bookmark-error-no-filename): New error.
17106 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17107 bookmark has no file. Don't even attempt to handle things that
17108 are not files; the whole point of custom handlers is to keep that
17109 knowledge elsewhere anyway. Tighten some comments.
17110 (bookmark-file-or-variation-thereof): Remove now-unused function.
17111 (bookmark-location): Doc string fix.
17114 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17116 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17117 don't use a file dialog, because they usually don't know how to read
17118 a directory target from the user. (Bug#4230)
17119 Also, make sure the prompt can display directories as well as files.
17121 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17123 * bookmark.el (bookmark-set, bookmark-buffer-name):
17124 Improve doc strings. (Bug#1193)
17126 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17128 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17129 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17130 (bookmark-get-annotation, bookmark-set-annotation)
17131 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17132 (bookmark-set-position, bookmark-get-front-context-string)
17133 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17134 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17135 (bookmark-jump-other-window, bookmark-handle-bookmark)
17136 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17137 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17138 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17139 Improve doc strings to say whether bookmark can be a string or
17140 a record or both, and make other consistency and clarity fixes.
17141 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17142 (bookmark-default-annotation-text, bookmark-yank-word)
17143 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17144 (bookmark-import-new-list, bookmark-maybe-rename)
17145 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17146 (bookmark-bmenu-bookmark): Give these doc strings.
17147 (bookmark-bmenu-check-position): Give this a doc string, but also
17148 add a FIXME comment about how the function may be pointless.
17149 (bookmark-default-handler): Rework doc string and change a
17150 parameter name, to clarify that this takes a bookmark record
17151 not a bookmark name.
17152 (bookmark-set): Change a parameter name to indicate its meaning,
17153 and improve the doc string a bit.
17156 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17158 * bookmark.el (bookmark-alist): Document the new `handler' element
17159 in the param alist.
17160 (bookmark-make-record-function): Adjust documentation for above.
17163 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17165 * info.el (Info-bookmark-make-record): Document this function.
17166 (Info-bookmark-jump): Document with a doc string, not just a comment.
17169 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17171 * files.el (copy-directory): New defun.
17173 * dired-aux.el (dired-copy-file-recursive): Use it.
17175 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17177 * files-x.el (modify-dir-local-variable)
17178 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17181 * recentf.el (recentf-unload-function): New function.
17183 2009-10-04 Glenn Morris <rgm@gnu.org>
17185 * window.el (window-full-height-p): Add doc string.
17187 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17189 * window.el (window-full-height-p): New function. (Bug#4543)
17191 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17193 * vc.el: Remove commented out code.
17194 (vc-derived-from-dir-mode): Remove, unused.
17195 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17197 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17199 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17200 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17201 there could be recursive loading when `default-directory' is a
17202 remote file name. (Bug#4614)
17204 2009-10-03 Glenn Morris <rgm@gnu.org>
17206 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17208 (calendar-generate-window): Test for shrinkability rather than width.
17210 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17211 reusing existing buffers, in case we happen to visit two files with the
17212 same basename. (Bug#4593)
17214 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17216 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17217 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17218 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17219 subdirs of cedet as well.
17220 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17222 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17224 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17225 Obey advertised-signature-table.
17227 * help-fns.el (help-function-arglist): Don't check
17228 advertised-signature-table.
17229 (describe-function-1): Do it here instead so it also applies to subrs.
17231 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17233 * simple.el (start-file-process): Say in the doc-string, that file
17234 handlers might not support pty association, if PROGRAM is nil.
17236 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17237 HOST and USER are strings. They are nil, when there are
17238 incomplete entries in ~/.netrc, for example.
17239 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17240 root directory ("device busy" error otherwise).
17242 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17243 Flush file properties of created directory.
17245 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17247 * makefile.w32-in (WINS_BASIC): Remove cedet.
17248 (WINS_CEDET): Add cedet.
17249 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17251 2009-10-02 Kevin Ryde <user42@zip.com.au>
17253 * net/browse-url.el (browse-url): Pass any symbol in
17254 browse-url-browser-function to `apply', since if you've mistakenly put
17255 an unbound symbol then the error is clearer. (Bug#4531)
17257 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17259 * allout.el (allout-init, allout-back-to-current-heading)
17260 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17261 (allout-ascend, allout-up-current-level, allout-end-of-level)
17262 (allout-previous-visible-heading, allout-forward-current-level)
17263 (allout-backward-current-level, allout-show-children):
17264 * apropos.el (apropos-describe-plist):
17265 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17266 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17267 * completion.el (add-completion, add-permanent-completion):
17268 * descr-text.el (describe-text-category, describe-char):
17269 * desktop.el (desktop-lazy-abort):
17270 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17271 * dired.el (dired-build-subdir-alist):
17272 * ediff.el (ediff-version):
17273 * elide-head.el (elide-head, elide-head-show):
17274 * emerge.el (emerge-version):
17276 * face-remap.el (variable-pitch-mode):
17277 * faces.el (describe-face):
17278 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17280 * files.el (find-file-existing, auto-save-mode):
17281 * font-lock.el (font-lock-fontify-buffer):
17282 * help-fns.el (describe-function, describe-variable)
17283 (describe-syntax, describe-categories):
17284 * help.el (view-lossage, describe-bindings, describe-key)
17286 * hexl.el (hexl-current-address):
17287 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17288 * info.el (Info-goto-emacs-key-command-node):
17289 * log-edit.el (log-edit-insert-cvs-template)
17290 (log-edit-insert-cvs-rcstemplate):
17291 * menu-bar.el (menu-bar-mode):
17292 * mouse.el (mouse-appearance-menu):
17293 * newcomment.el (comment-indent-new-line):
17294 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17295 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17296 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17297 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17298 * recentf.el (recentf-mode):
17299 * savehist.el (savehist-mode, savehist-save):
17300 * shadowfile.el (shadow-copy-files):
17301 * simple.el (kill-ring-save, next-line, previous-line)
17302 (normal-erase-is-backspace-mode):
17303 * strokes.el (strokes-update-window-configuration)
17304 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17305 (strokes-xpm-for-stroke):
17306 * time.el (emacs-uptime, emacs-init-time):
17307 * tutorial.el (tutorial--describe-nonstandard-key)
17308 (tutorial--detailed-help):
17309 * type-break.el (type-break-mode)
17310 (type-break-mode-line-message-mode, type-break-query-mode)
17311 (type-break-guesstimate-keystroke-threshold):
17312 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17313 * version.el (emacs-version):
17314 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17315 * winner.el (winner-mode):
17316 * calendar/timeclock.el (timeclock-in, timeclock-out)
17317 (timeclock-status-string, timeclock-change)
17318 (timeclock-workday-remaining-string)
17319 (timeclock-workday-elapsed-string)
17320 (timeclock-when-to-leave-string):
17321 * calendar/todo-mode.el (todo-add-category):
17322 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17323 * emacs-lisp/autoload.el (update-file-autoloads):
17324 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17325 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17326 (checkdoc-message-text, checkdoc-defun):
17327 * emacs-lisp/debug.el (debugger-list-functions):
17328 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17329 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17330 (eieio-describe-generic):
17331 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17332 * emacs-lisp/shadow.el (list-load-path-shadows):
17333 * emulation/cua-base.el (cua-mode):
17334 * emulation/edt.el (edt-set-scroll-margins):
17335 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17336 (tpu-toggle-regexp, tpu-toggle-search-direction)
17337 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17338 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17339 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17340 (viper-set-parsing-style-toggling-macro)
17341 (viper-set-emacs-state-searchstyle-macros):
17342 * emulation/viper.el (viper-set-hooks):
17343 * eshell/esh-mode.el (eshell-truncate-buffer):
17344 * international/mule-cmds.el (prefer-coding-system)
17345 (describe-input-method, describe-language-environment):
17346 * international/mule-diag.el (list-character-sets)
17347 (describe-character-set, describe-coding-system)
17348 (describe-fontset, list-fontsets, list-input-methods):
17349 * mail/sendmail.el (mail-signature):
17350 * net/ange-ftp.el (ange-ftp-copy-file):
17351 * net/browse-url.el (browse-url):
17352 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17353 * net/quickurl.el (quickurl-add-url):
17354 * net/rcirc.el (names, topic):
17355 * net/xesam.el (xesam-mode):
17356 * play/5x5.el (5x5-new-game):
17357 * play/yow.el (apropos-zippy):
17358 * progmodes/ada-mode.el (ada-mode-version):
17359 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17361 (f90-beginning-of-block):
17362 * progmodes/fortran.el (fortran-end-of-block)
17363 (fortran-beginning-of-block):
17364 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17365 * progmodes/python.el (python-describe-symbol, python-shell):
17366 * term/ns-win.el (ns-print-buffer):
17367 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17368 * textmodes/flyspell.el (flyspell-mode-on):
17369 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17370 (pages-directory-for-addresses):
17371 * textmodes/table.el (table-recognize-cell)
17372 (table-query-dimension, table-generate-source)
17373 (table-insert-sequence, table--warn-incompatibility):
17374 * textmodes/tex-mode.el (tex-validate-buffer):
17375 * textmodes/texinfmt.el (texinfmt-version)
17376 (texinfo-format-buffer):
17377 Use `called-interactively-p' instead of `interactive-p'.
17379 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17381 * image-mode.el (image-toggle-display):
17382 * emacs-lisp/elp.el (elp-instrument-function):
17383 * emacs-lisp/advice.el (ad-make-advised-definition):
17384 * emacs-lisp/easy-mmode.el (define-minor-mode):
17385 * net/browse-url.el (browse-url-maybe-new-window):
17386 * progmodes/sh-script.el (sh-learn-buffer-indent):
17387 Pass new argument 'any to `called-interactively-p'.
17389 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17391 * international/uni-bidi.el:
17392 * international/uni-category.el:
17393 * international/uni-combining.el:
17394 * international/uni-comment.el:
17395 * international/uni-decimal.el:
17396 * international/uni-decomposition.el:
17397 * international/uni-digit.el:
17398 * international/uni-lowercase.el:
17399 * international/uni-mirrored.el:
17400 * international/uni-name.el:
17401 * international/uni-numeric.el:
17402 * international/uni-old-name.el:
17403 * international/uni-titlecase.el:
17404 * international/uni-uppercase.el:
17405 Regenerate from Unicode 5.2.0 data.
17407 2009-10-01 Glenn Morris <rgm@gnu.org>
17409 * Makefile.in (ELCFILES): Regenerate.
17411 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17413 * subr.el (interactive-p): Mark obsolete.
17414 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17415 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17416 advertised-signature-table for subroutines as well.
17418 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17419 (set-advertised-calling-convention): New function.
17420 (make-obsolete, define-obsolete-function-alias)
17421 (make-obsolete-variable, define-obsolete-variable-alias):
17422 Make the optional-ness of `when' obsolete.
17423 (define-obsolete-face-alias): Make `when' non-optional.
17424 * help-fns.el (help-function-arglist):
17425 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17426 Use advertised-signature-table.
17428 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17430 * files.el (delete-directory): New defun. The original function
17431 in fileio.c has been renamed to `delete-directory-internal'.
17433 * dired.el (dired-delete-file): Call `delete-directory' with
17434 RECURSIVE parameter.
17436 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17437 parameter RECURSIVE. Implementation is missing.
17439 * net/tramp.el (tramp-handle-make-directory): Flush upper
17440 directory's file properties.
17441 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17442 (tramp-handle-dired-recursive-delete-directory): Flush directory
17443 properties after the remove command only.
17445 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17446 Handle optional parameter RECURSIVE.
17448 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17449 Handle optional parameter RECURSIVE.
17451 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17452 connection timeout.
17453 (tramp-smb-handle-delete-directory): Handle optional parameter
17456 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17458 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17459 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17460 (byte-compile-defmacro): Use backquotes.
17462 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17464 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17465 has no associated file.
17466 (vc-resynch-buffer): Use vc-dir-buffers.
17468 2009-10-01 Glenn Morris <rgm@gnu.org>
17470 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17471 (chart-file-count):
17472 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17473 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17474 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17475 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17476 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17477 (eieio-copy-parents-into-subclass, make-instance, class-children)
17478 (eieio-generic-form):
17480 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17481 match-data. (Bug#4555).
17483 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17484 rather than parsing it as a regexp. This relaxes the layout
17485 requirements and makes errors easier to detect.
17486 (check-declare-verify): Check file is regular.
17487 (check-declare-directory): Doc fix.
17488 * subr.el (declare-function): Doc fix.
17490 * ibuffer.el (ibuffer-format-qualifier):
17491 * isearch.el (hi-lock-regexp-okay):
17492 * calc/calc.el (math-zerop):
17493 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17494 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17495 Remove unused declarations.
17497 2009-09-30 Eric Ludlam <zappo@gnu.org>
17499 * emacs-lisp/eieio.el (boolean-p): Delete.
17501 2009-09-30 Glenn Morris <rgm@gnu.org>
17503 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17505 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17506 filename is not a string.
17508 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17510 * files.el (safe-local-eval-forms): Fix typo.
17512 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17514 * vc-hooks.el (vc-dir-buffers): New var.
17515 (vc-state-refresh): New function.
17516 (vc-state): Use it.
17517 (vc-after-save): Always ask the backend to recompute the new state.
17518 Always call vc-dir if necessary, using vc-dir-buffers.
17519 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17520 Use vc-dir-buffers.
17521 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17522 (vc-dir-prepare-status-buffer, vc-dir-update)
17523 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17524 Don't call expand-file-name on default-directory.
17526 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17528 * speedbar.el (speedbar-item-delete):
17529 * calc/calc-prog.el (calc-kbd-if):
17530 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17532 * epa.el (epa-key-list-mode-map):
17533 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17535 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17536 (hs-show-hook): Fix typo in docstring.
17538 2009-09-29 Glenn Morris <rgm@gnu.org>
17540 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17541 file-name-nondirectory call preventing location of cedet files.
17542 (check-declare-verify): Use literal search rather than re-search.
17543 Add basic defmethod and defclass, and define-overloadable-function.
17545 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17546 Use tramp-compat-file-attributes rather than nonexistent
17547 tramp-compat-handle-file-attributes.
17549 * Makefile.in (lisptagsfiles4): New.
17550 (AUTOGENEL): Add cedet loaddefs files.
17551 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17552 (update-elclist, compile-always, backup-compiled-files)
17553 (bootstrap-clean): Add yet another directory level.
17554 (update-elclist): Use LC_COLLATE rather than COLLATE.
17555 (ELCFILES): Update, via `make update-elclist'.
17557 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17559 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17560 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17561 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17563 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17565 * Makefile.in (lisptagsfiles3): Define.
17566 (TAGS, TAGS-LISP): Use it.
17567 (update-elclist): Add third directory level to look for elc files.
17568 (compile-always): Likewise.
17569 (backup-compiled-files): Likewise.
17570 (bootstrap-clean): Likewise.
17571 (ELCFILES): Update.
17573 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17575 * Makefile.in (ELCFILES): Add CEDET files.
17577 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17579 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17581 * net/tramp.el (top): Require tramp-imap.
17583 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17584 Use `tramp-compat-handle-file-attributes'.
17586 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17588 * net/tramp-imap.el: New package.
17590 2009-09-28 Eric Ludlam <zappo@gnu.org>
17592 * emacs-lisp/chart.el:
17593 * emacs-lisp/eieio-base.el:
17594 * emacs-lisp/eieio-comp.el:
17595 * emacs-lisp/eieio-custom.el:
17596 * emacs-lisp/eieio-datadebug.el:
17597 * emacs-lisp/eieio-opt.el:
17598 * emacs-lisp/eieio-speedbar.el:
17599 * emacs-lisp/eieio.el: New files.
17601 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17603 * whitespace.el (whitespace-trailing-regexp)
17604 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17607 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17609 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17612 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17613 menu-bar-ediff-menu.
17615 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17616 define-overloadable-function.
17618 * progmodes/autoconf.el: Provide autoconf as well, so that this
17619 file can be `require'd.
17621 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17623 * emacs-lisp/autoload.el (generated-autoload-feature)
17624 (generated-autoload-load-name): New vars.
17625 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17626 (make-autoload): Recognize define-overloadable-function and
17627 defclass forms (for EIEIO).
17629 * Makefile.in (update-subdirs): Exclude cedet directory.
17631 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17633 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17635 * faces.el: Default light-background background for region face to
17636 ns_selection_color under NS.
17638 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17640 * net/imap-hash.el: New library, see NEWS.
17642 * Makefile.in (ELCFILES): Add imap-hash.el.
17644 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17646 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17647 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17648 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17649 definition where the docstring could be taken for the return value.
17651 2009-09-26 Glenn Morris <rgm@gnu.org>
17653 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17654 Add option to only show images below a certain size.
17655 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17656 save-excursion calls.
17658 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17660 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17661 subdirectories) and eieio.
17663 2009-09-26 Alan Mackenzie <acm@muc.de>
17665 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17666 Correct buggy bracketing. (Bug#4289)
17668 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17669 character constants (as case labels). (Bug#4289)
17671 2009-09-25 Juri Linkov <juri@jurta.org>
17673 * files.el (safe-local-eval-forms): Allow time-stamp in
17674 before-save-hook (Bug#4554).
17676 2009-09-25 Drew Adams <drew.adams@oracle.com>
17678 * menu-bar.el (list-buffers-directory): Doc fix.
17680 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17682 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17683 Try and avoid copying twice the same paragraph.
17684 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17685 Remove save-excursion.
17686 (log-edit-changelog-entry): Do it here instead.
17688 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17690 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17691 when available, instead of hardcoding mode names. Doc fix.
17693 * menu-bar.el (list-buffers-directory): Add docstring.
17694 Make automatically buffer-local.
17696 * dired.el (dired-mode):
17697 * files.el (cd-absolute):
17698 * pcvs.el (cvs-temp-buffer):
17699 * pcvs-util.el (cvs-get-buffer-create):
17700 * shell.el (shell-mode):
17701 * vc-dir.el (vc-dir-mode):
17702 Don't make `list-buffers-directory' buffer local.
17704 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17706 * comint.el (comint-exec, comint-run, make-comint):
17707 Doc fixes (Bug#4542).
17709 2009-09-25 Glenn Morris <rgm@gnu.org>
17711 * mail/rmailmm.el (rmail-mime): New custom group.
17712 Move all defcustoms in this file into this group.
17713 (rmail-mime-media-type-handlers-alist): Revert previous change.
17714 (rmail-mime-show-images): New option.
17715 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17716 references to it, since it wasn't actually used for anything.
17717 (rmail-mime-insert-image): New function.
17718 (rmail-mime-image): Use rmail-mime-insert-image.
17719 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17720 obey the value of `rmail-mime-show-images' option. Print the size of
17723 2009-09-25 David Engster <deng@randomsample.de>
17725 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17727 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17729 * whitespace.el: Does not highlight trailing spaces While point is
17730 at end of line. Does not highligt spaces at beginning of buffer
17731 while point is at beginning of buffer. Does not highlight spaces
17732 at end of buffer while point is at end of buffer. (Bug#4177)
17734 (whitespace-display-mappings): Adjust initialization.
17735 (whitespace-point, whitespace-font-lock-refontify): New vars.
17736 (whitespace-color-on, whitespace-color-off): Adjust code.
17737 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17738 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17739 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17741 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17743 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17745 * textmodes/sgml-mode.el: Remove xml-mode alias.
17747 * files.el (auto-mode-alist, conf-mode-maybe)
17748 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17750 2009-09-24 Alan Mackenzie <acm@muc.de>
17752 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17753 c-forward-conditionals, but it doesn't move point and doesn't set
17755 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17756 (c-down-conditional-with-else, c-backward-conditional)
17757 (c-forward-conditional): Refactor to use c-scan-conditionals.
17759 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17761 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17762 (help-default-arg-highlight): Remove.
17763 (help-highlight-arg): New function.
17764 (help-do-arg-highlight): Use it.
17765 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17767 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17769 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17770 Undo last change, which didn't fix the problem and introduced others.
17772 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17774 * progmodes/gdb-mi.el: Don't require speedbar.
17775 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17777 2009-09-24 Glenn Morris <rgm@gnu.org>
17779 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17781 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17783 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17784 there is no newline after the final mime boundary. (Bug#4539)
17785 Move markers on insertion so that any buttons inserted don't end up in
17786 the next part of a multipart message.
17787 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17788 (rmail-mime-bulk-handler): Optionally handle images.
17789 (rmail-mime-image): New button action.
17790 (rmail-mime-image-handler): New function.
17791 (rmail-mime-mode): New mode.
17792 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17794 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17796 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17797 than just dropping elements from it (bug#4504).
17799 * term.el (term-set-scroll-region): Don't move cursor any more.
17800 (term-handle-ansi-escape): Call term-goto here instead.
17801 Suggested by Ivan Kanis <apple@kanis.eu>.
17803 * term.el: Require CL.
17804 (term-ansi-reset): New function.
17805 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17806 (term-handle-colors-array): Simplify.
17808 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17810 * allout.el (allout-overlay-interior-modification-handler)
17811 (allout-obtain-passphrase):
17812 * epa-file.el (epa-file-write-region):
17813 * ps-print.el (ps-begin-job):
17814 * vc-hooks.el (vc-toggle-read-only):
17815 * vc-rcs.el (vc-rcs-rollback):
17816 * vc-sccs.el (vc-sccs-rollback):
17817 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17818 (vc-version-diff, vc-revert, vc-rollback):
17819 * wdired.el (wdired-check-kill-buffer):
17820 * emacs-lisp/authors.el (authors):
17821 * net/socks.el (socks-open-connection):
17822 * net/zeroconf.el (zeroconf-service-add-hook):
17823 * obsolete/vc-mcvs.el (vc-mcvs-register):
17824 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17825 (gdb-select-frame):
17826 * progmodes/grep.el (lgrep, rgrep):
17827 * progmodes/idlw-help.el (idlwave-help-check-locations)
17828 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17829 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17830 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17831 (reftex-toc-rename-label): Fix typos in error messages.
17833 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17834 (dired-copy-how-to-fn): Doc fix.
17835 (dired-files-attributes, dired-read-shell-command):
17836 Fix typos in docstrings.
17838 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17839 (dired-x-find-file-other-window): Reflow docstrings.
17840 (dired-omit-marker-char, dired-read-shell-command)
17841 (dired-x-submit-report): Fix typos in docstrings.
17843 * shell.el (shell-mode-hook):
17844 * view.el (View-scroll-line-forward):
17845 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17846 Fix typos in docstrings.
17848 * net/dig.el (dig-invoke): Fix typo in docstring.
17849 (query-dig): Reflow docstring.
17851 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17852 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17853 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17854 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17855 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17856 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17857 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17858 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17859 (idlwave-completion-map, idlwave-current-indent)
17860 (idlwave-custom-ampersand-surround, idlwave-customize)
17861 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17862 (idlwave-define-abbrev, idlwave-determine-class-special)
17863 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17864 (idlwave-end-block-reg, idlwave-end-of-statement)
17865 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17866 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17867 (idlwave-explicit-class-listed, idlwave-file-header)
17868 (idlwave-fill-paragraph, idlwave-find-class-definition)
17869 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17870 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17871 (idlwave-in-quote, idlwave-indent-action-table)
17872 (idlwave-indent-expand-table, idlwave-indent-line)
17873 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17874 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17875 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17876 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17877 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17878 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17879 (idlwave-outlawed-buffers, idlwave-popup-select)
17880 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17881 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17882 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17883 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17884 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17885 (idlwave-statement-type, idlwave-struct-skip)
17886 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17887 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17888 (idlwave-what-module-find-class): Fix typos in docstrings.
17889 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17890 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17891 (idlwave-find-module, idlwave-find-structure-definition)
17892 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17893 (idlwave-list-load-path-shadows, idlwave-next-statement)
17894 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17895 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17896 (idlwave-template): Reflow docstrings.
17898 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17899 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17900 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17901 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17902 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17903 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17904 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17905 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17906 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17907 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17908 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17909 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17910 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17911 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17912 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17913 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17914 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17915 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17916 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17917 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17918 Fix typos in docstrings.
17919 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17920 (idlwave-shell-hide-output, idlwave-shell-mode)
17921 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17924 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17926 2009-09-24 Ivan Kanis <apple@kanis.eu>
17928 * term.el (term-bold-attribute): New var.
17929 (term-handle-colors-array): Use it.
17931 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17933 * progmodes/gdb-mi.el (gdb-version): New variable.
17934 (gdb-non-stop-handler): Set gdb-version.
17935 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17936 Condition "--thread" option on gdb-version.
17937 (gdb-invalidate-threads): Remove unused argument.
17939 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17941 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17942 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17944 2009-09-23 Glenn Morris <rgm@gnu.org>
17946 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17947 replying to mail without References or Message-Id. (Bug#4525)
17949 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17951 * term/ns-win.el (ns-reg-to-script): New variable.
17953 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17955 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17957 2009-09-22 Sam Steingold <sds@gnu.org>
17959 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17960 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17961 to 1 because hg returns status 1 when nothing is found.
17962 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17964 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17966 * textmodes/fill.el: Convert to utf-8 encoding.
17967 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17970 * add-log.el (change-log-fill-forward-paragraph): New function.
17971 (change-log-mode): Use it so fill-region DTRT.
17972 Set fill-indent-according-to-mode here rather than in
17973 change-log-fill-paragraph.
17974 (change-log-fill-paragraph): Remove.
17976 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17978 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17979 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17981 2009-09-22 Glenn Morris <rgm@gnu.org>
17983 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17984 the scroll-bar scroll the calendar window rather than the buffer.
17986 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17987 commands that move point (as opposed to scrolling).
17989 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17991 * emacs-lisp/elint.el (elint): New custom group.
17992 (elint-log-buffer): Make it a defcustom.
17993 (elint-scan-preloaded, elint-ignored-warnings)
17994 (elint-directory-skip-re): New options.
17995 (elint-builtin-variables): Doc fix.
17996 (elint-preloaded-env): New variable.
17997 (elint-unknown-builtin-args): Add an entry for encode-time.
17998 (elint-extra-errors): Make it a variable rather than a constant.
17999 (elint-preloaded-skip-re): New constant.
18000 (elint-directory): Skip files matching elint-directory-skip-re.
18001 (elint-features): New variable, local to linted buffers.
18002 (elint-update-env): Initialize elint-features. Possibly add
18003 elint-preloaded-env to the buffer's environment.
18004 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18006 (elint-init-form): New function, extracted from elint-init-env.
18007 Make non-list forms a warning rather than an error.
18008 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18009 easy-menu-define, put that adds an error-condition, and provide.
18010 When requiring cl, also require cl-macs. Really require cl, to handle
18011 some cl macros. Store required libraries in the list elint-features,
18012 so as not to re-load them. Treat cc-require like require.
18013 (elint-init-env): Call elint-init-form to do the work.
18014 Handle eval-and-compile and such like.
18015 (elint-add-required-env): Do not clear messages.
18016 (elint-special-forms): Add handlers for function, defalias, if, when,
18018 (elint-form): Add optional argument to ignore elint-special-forms,
18019 useful to prevent recursive calls from handlers. Doc fix.
18020 Respect elint-ignored-warnings.
18021 (elint-form): Respect elint-ignored-warnings.
18022 (elint-bound-variable, elint-bound-function): New variables.
18023 (elint-unbound-variable): Respect elint-bound-variable.
18024 (elint-get-args): Respect elint-bound-function.
18025 (elint-check-cond-form): Add some simple handling for (f)boundp and
18027 (elint-check-defalias-form): New handler.
18028 (elint-check-let-form): Make an empty let a warning rather than an
18030 (elint-check-setq-form): Make an empty setq a warning rather than an
18031 error. Respect elint-ignored-warnings.
18032 (elint-check-defvar-form): Accept null doc-strings.
18033 (elint-check-conditional-form): New handler. Does some simple-minded
18034 checking of featurep and (f)boundp tests.
18035 (elint-put-function-args): New function.
18036 (elint-initialize): Use elint-scan-doc-file rather than
18037 elint-find-builtin-variables. Use elint-put-function-args.
18038 Possibly scan preloaded-file-list.
18039 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18040 extend to handle functions as well.
18042 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18044 * linum.el (linum-delete-overlays, linum-update-window):
18045 Do not modify the right margin. (Bug#3971)
18047 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18049 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18050 Use nxml-mode instead of xml-mode.
18052 2009-09-21 Kevin Ryde <user42@zip.com.au>
18054 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18056 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18058 * net/dig.el (dig-mode): Use define-derived-mode.
18060 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18062 * vc-dispatcher.el (vc-do-command): Return the process object in
18063 the asynchronous case. Use when instead of if. Do not run
18064 vc-exec-after to display a message if not enabled. (Bug#4463)
18066 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18067 properties to the stash strings.
18068 (vc-git-stash-list): Return a list of strings.
18069 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18070 (vc-git-stash-show-at-point): New functions.
18071 (vc-git-stash-map): New keymap.
18073 * register.el (ctl-x-r-map): Define the keys here instead of
18076 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18078 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18079 list, to workaround performance problem (bug#4485).
18081 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18083 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18085 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18087 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18088 Document that this option is not recommended to use.
18090 2009-09-19 Glenn Morris <rgm@gnu.org>
18092 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18095 * calc/calc-alg.el (var):
18096 * calc/calcalg2.el (var): Define for compiler.
18098 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18100 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18101 Doc fix (Bug#3932).
18103 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18105 * time-stamp.el (time-stamp-month-dd-yyyy)
18106 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18107 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18108 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18109 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18110 Remove functions that have been obsolete since 1995 (Bug#4436).
18112 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18113 indent buffer only if called interactively (Bug#4452).
18115 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18116 Eli Zaretskii <eliz@gnu.org>
18118 This fixes bug#4197 (merged to bug#865, though not identical).
18119 * server.el (server-auth-dir): Add docstring note about FAT32.
18120 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18121 but warn against using them.
18123 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18125 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18126 older GDB where there is no has_more field.
18128 2009-09-19 Glenn Morris <rgm@gnu.org>
18130 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18132 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18134 * files.el (auto-mode-alist): Change default for XML files to nXML
18137 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18139 * server.el (server-ensure-safe-dir): Pass 'integer
18140 to `file-attributes', as suggested.
18142 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18144 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18145 (dired-query): Use read-key.
18147 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18149 * cus-start.el (ns-use-qd-smoothing): Remove.
18151 2009-09-18 Glenn Morris <rgm@gnu.org>
18153 * allout.el (top-level): Remove unnecessary progn.
18155 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18157 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18158 definition of abbrev table.
18160 * speedbar.el (speedbar-track-mouse):
18161 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18162 * net/eudc.el (eudc-expand-inline):
18163 * net/newst-backend.el (newsticker--cache-read-feed):
18164 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18165 condition-case handlers.
18167 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18169 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18170 (gdb-var-list): Add an element for has_more field.
18171 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18172 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18173 (gdb-var-update-handler-1): Parse output of dynamic variable
18174 objects (STL containers).
18175 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18176 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18178 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18180 (gud-speedbar-buttons): Make node expandable if expression "has more"
18183 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18185 * startup.el (emacs-quick-startup): Remove variable and all uses.
18186 (command-line): Set `inhibit-x-resources' instead.
18187 (command-line-1): Use `inhibit-x-resources' instead.
18189 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18191 * subr.el: Fix last change to avoid using the `unless' macro,
18192 which breaks bootstrapping.
18194 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18196 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18197 extended definitions, in case we reload subr.el after having
18199 (eval-next-after-load): Mark as obsolete.
18201 2009-09-17 Juri Linkov <juri@jurta.org>
18203 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18204 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18205 (menu-bar-showhide-menu, menu-bar-tools-menu)
18206 (menu-bar-describe-menu, menu-bar-help-menu)
18207 (minibuffer-local-completion-map, minibuffer-local-map):
18210 2009-09-17 Glenn Morris <rgm@gnu.org>
18212 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18213 arguments, whether or not it has a handler.
18215 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18217 * simple.el (hard-newline): Give it a doc-string.
18219 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18220 (lisp-mode-syntax-table): Give them doc-strings.
18222 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18224 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18225 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18226 (menu-bar-options-menu, menu-bar-showhide-menu)
18227 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18228 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18229 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18230 (menu-bar-options-menu, menu-bar-tools-menu)
18231 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18232 (menu-bar-help-menu):
18233 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18236 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18237 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18238 calls for the menu names and :help.
18240 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18242 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18243 to :minor-mode-function (bug#4455).
18245 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18247 * startup.el (command-line): Initialize the window-system after
18248 processing the command-line.
18250 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18251 page-delimiter matches the empty string.
18253 2009-09-16 Glenn Morris <rgm@gnu.org>
18255 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18256 byte-compile-not-obsolete-var. It's a list now.
18257 (byte-compile-not-obsolete-funcs): New variable.
18258 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18259 byte-compile-not-obsolete-funcs.
18260 (byte-compile-variable-ref, byte-compile-defvar): Update for
18261 byte-compile-not-obsolete-vars name-change and list nature.
18262 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18263 and variables behind (f)boundp tests.
18264 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18266 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18268 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18270 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18272 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18273 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18276 2009-09-15 Stephen Eglen <stephen@gnu.org>
18278 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18279 the virtual-buffers, use the name of the buffer specified by
18280 find-file-noselect, as the match may be a symlink. (This was a
18281 problem if the target and the symlink had different names.)
18283 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18285 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18287 * desktop.el (desktop-path): Check user-emacs-directory.
18289 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18291 * loadup.el: Use after-load-functions to GC after loading each file.
18292 Remove the explicit GC calls that used to be sprinkled around.
18294 * subr.el (after-load-functions): New hook.
18295 (do-after-load-evaluation): Run it. Use string-match-p to detect
18296 `obsolete' packages, rather than painfully extracting the relevant
18299 2009-09-15 Glenn Morris <rgm@gnu.org>
18301 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18302 free variable `doc'.
18304 * dired.el (dired-mode-map): Add menu entry for async shell command.
18306 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18307 variables, also consider the .elc files, since the .el files are
18308 normally gzipped (subsequent code locates the .el.gz from the .elc).
18310 * calc/calc-prog.el (arglist): Define for compiler.
18312 * calendar/diary-lib.el (diary-display-function): Change the default to
18314 (body): Define for compiler.
18316 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18317 (byte-compile-file-form, byte-compile-lambda)
18318 (byte-compile-top-level-body, byte-compile-form)
18319 (byte-compile-variable-ref, byte-compile-setq)
18320 (byte-compile-setq-default, byte-compile-body)
18321 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18322 (batch-byte-compile): Give some more local variables with common names
18323 a "bytecomp-" prefix to avoid masking warnings about free variables.
18325 * startup.el (command-line-1): Give local variables with common names a
18326 distinguishing prefix, so as not to hide free variable warnings during
18329 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18330 clever and add a suffix to make a unique name, just let the user decide
18331 whether or not to overwrite it. If the input is a directory, write the
18332 default filename to that directory. (Bug#4388)
18333 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18334 is a filename-as-a-directory.
18336 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18338 * textmodes/page.el (what-page): Don't move to beginning of line.
18339 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18341 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18343 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18345 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18347 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18348 * help.el (help-for-help-internal): Add purecopy calls for text.
18350 * vc.el (top): print-log method now takes an optional SHORTLOG
18351 argument. Add a new method: root.
18352 (vc-root-diff, vc-print-root-log): New functions.
18353 (vc-log-short-style): New variable.
18354 (vc-print-log-internal): Add support for showing short logs.
18356 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18357 vc-print-root-log and vc-print-root-diff.
18359 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18360 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18361 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18364 * vc-cvs.el (vc-cvs-print-log):
18365 * vc-mtn.el (vc-mtn-print-log):
18366 * vc-rcs.el (vc-rcs-print-log):
18367 * vc-sccs.el (vc-sccs-print-log):
18368 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18369 that is ignored for now.
18371 * vc-mtn.el (vc-mtn-annotate-command):
18372 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18374 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18376 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18377 to function-key-map, and give them ascii-character property.
18378 * term/x-win.el (x-alternatives-map):
18379 * term/ns-win.el (ns-alternatives-map):
18380 * term/internal.el (msdos-key-remapping-map):
18381 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18383 2009-09-14 Glenn Morris <rgm@gnu.org>
18385 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18386 temp-buffers (2009-09-12).
18388 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18390 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18391 the new read-key function.
18393 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18395 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18396 is defined (Bug#4405).
18398 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18400 * recentf.el (recentf-cleanup): Use a hash table to find
18401 duplicates (Bug#4407).
18403 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18405 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18406 kp-0 to ascii equivalents (Bug#4325).
18408 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18410 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18412 * eshell/em-hist.el:
18413 * eshell/em-dirs.el (eshell-complete-user-reference):
18414 Declare pcomplete functions and variables to avoid compiler warnings.
18416 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18418 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18419 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18420 * eshell/em-alias.el (eshell-aliases-file):
18421 * eshell/em-hist.el (eshell-history-file-name):
18422 Use expand-file-name instead of concat to make file names (Bug#4308).
18424 2009-09-13 Glenn Morris <rgm@gnu.org>
18426 * ediff-merg.el (ediff-do-merge):
18427 * filesets.el (filesets-run-cmd):
18428 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18429 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18430 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18431 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18432 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18433 Replace empty `let's with `progn'.
18435 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18437 * mail/sendmail.el (send-mail-function):
18438 * tooltip.el (tooltip-mode):
18439 * simple.el (transient-mark-mode):
18440 * rfn-eshadow.el (file-name-shadow-mode):
18441 * frame.el (blink-cursor-mode):
18442 * font-core.el (global-font-lock-mode):
18443 * files.el (temporary-file-directory)
18444 (small-temporary-file-directory, auto-save-file-name-transforms):
18445 * epa-hook.el (auto-encryption-mode):
18446 * composite.el (global-auto-composition-mode):
18447 Use custom-initialize-delay.
18448 * startup.el (command-line): Don't explicitly call
18449 custom-reevaluate-setting for all the above vars.
18450 * custom.el (custom-initialize-safe-set)
18451 (custom-initialize-safe-default): Delete.
18453 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18455 * term/x-win.el (x-initialize-window-system):
18456 * term/w32-win.el (w32-initialize-window-system):
18457 * term/ns-win.el (ns-initialize-window-system): Don't call
18458 mouse-wheel-mode since it's enabled globally by default already.
18460 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18461 actually define the variable, but only silences the byte-compiler.
18462 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18463 before looking it up.
18464 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18467 2009-09-12 Glenn Morris <rgm@gnu.org>
18469 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18471 (elint-add-required-env): Don't beep on error.
18472 (elint-forms): In case of error, return ENV unchanged.
18473 (elint-init-env): Skip non-list forms.
18474 (elint-log): Handle unknown file positions.
18476 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18478 * epg.el (epg-make-context): Add autoload cookie.
18479 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18480 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18481 (epg-verify-string, epg-start-sign, epg-sign-file)
18482 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18483 (epg-encrypt-string, epg-start-export-keys)
18484 (epg-export-keys-to-file, epg-export-keys-to-string)
18485 (epg-start-import-keys, epg-import-keys-from-file)
18486 (epg-import-keys-from-string, epg-start-receive-keys)
18487 (epg-receive-keys, epg-import-keys-from-server)
18488 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18489 (epg-sign-keys, epg-start-generate-key)
18490 (epg-generate-key-from-file, epg-generate-key-from-string):
18491 Remove autoload cookie.
18493 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18495 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18496 reevaluation of trash-directory.
18498 * mwheel.el: Fix last change.
18499 (mouse-wheel-mode): New defvar.
18500 (mouse-wheel-mode): Remove autoload cookie.
18502 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18504 * mwheel.el (mwheel-installed-bindings): New var.
18505 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18506 the bindings we set last time. Use custom-initialize-delay.
18507 * loadup.el: Load mwheel after term/*-win.el.
18508 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18509 and mouse-wheel-up-event now that their first evaluation is done
18510 sufficiently late to be correct.
18512 * startup.el (tutorial-directory): Make it a defcustom.
18513 Use custom-initialize-delay rather than eval-at-startup to set it.
18514 * image.el (image-load-path): Make it a defcustom.
18515 Use custom-initialize-delay rather than eval-at-startup to set it.
18516 * subr.el (eval-at-startup): Remove.
18517 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18519 * subr.el (do-after-load-evaluation): Warn the user after loading an
18522 2009-09-12 Glenn Morris <rgm@gnu.org>
18524 * proced.el (proced-mark-alt): Remove alias.
18525 (proced-mode-map): Remove proced-mark-alt.
18527 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18528 Elint file and directory. Remove initialization entry.
18530 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18532 (elint-current-buffer): Set mode-line-process.
18533 (elint-init-env): Handle define-derived-mode.
18534 Fix declare-function with unspecified arglist. Guard against odd
18535 defalias statements (eg iso-insert's 8859-1-map).
18536 (elint-add-required-env): Use a temp buffer.
18537 (elint-form): Just print the function/macro name, not the whole form.
18538 Return env unchanged if we fail to parse a macro.
18539 (elint-forms): Guard against parse errors.
18540 (elint-output): New function, to handle batch mode.
18541 (elint-log-message): Add optional argument. Use elint-output.
18542 (elint-set-mode-line): New function.
18544 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18546 * emacs-lisp/elp.el (elp-not-profilable): Add more
18547 functions (Bug#4233).
18549 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18551 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18552 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18554 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18556 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18557 (gdb-var-list-children): Use json parsing.
18559 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18561 * progmodes/js.el (js--proper-indentation): Handle the case where
18562 char-before is null. Reported by Deniz Dogan.
18564 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18566 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18568 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18570 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18571 (epg-digest-algorithm-alist): Add SHA224.
18572 (epg-context-set-passphrase-callback)
18573 (epg-context-set-progress-callback): Add description about
18576 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18578 * custom.el (custom-delayed-init-variables): New var.
18579 (custom-initialize-delay): New function.
18580 * startup.el (command-line): "Re"evaluate all vars in
18581 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18582 explicitly any more.
18583 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18584 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18586 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18588 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18590 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18591 (gdb-var-update-handler): Use json parsing.
18593 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18595 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18596 decode annotated text, regardless of language environment. (Bug#2741)
18598 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18600 * Makefile.in (autoloads): Make rmail.el writable as well.
18602 2009-09-11 Glenn Morris <rgm@gnu.org>
18604 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18606 * dired.el: Regenerate with extracted autoloads.
18607 * Makefile.in (autoloads): Make dired.el writable.
18609 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18610 * ibuffer.el: Regenerate with extracted autoloads.
18611 * Makefile.in (autoloads): Make ibuffer.el writable.
18613 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18614 * version.el (emacs-copyright, emacs-major-version)
18615 (emacs-minor-version): Reformat doc-strings for make-docfile.
18617 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18618 functions and variables, since they must be stuff specific to some other
18620 (apropos-print): Make mouse-click message less specific about button.
18622 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18623 that records where a macro was defined.
18624 * help-fns.el (describe-function-1): Mention if a function has a
18626 * help-mode.el (help-function-cmacro): New button.
18628 * locate.el (top-level): Always require dired.
18629 (locate-mode-map): Initialize inside the defvar.
18631 * net/ange-ftp.el (dired-compress-file): Declare.
18632 (ange-ftp-dired-compress-file): Add doc string.
18634 * term/ns-win.el (x-display-name, x-setup-function-keys):
18635 Unify doc-strings with X versions.
18637 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18639 * emulation/crisp.el (crisp-mode-map): Move initialization
18641 (crisp-mode): Use define-minor-mode.
18643 * progmodes/xscheme.el (xscheme-evaluation-commands):
18644 Put a :advertised-binding property rather than using
18645 advertised-xscheme-send-previous-expression.
18646 (advertised-xscheme-send-previous-expression): Declare obsolete.
18647 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18649 (crisp-mode): Add corresponding bindings to
18650 undo's :advertised-binding instead.
18651 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18652 than using dired-advertised-find-file.
18653 (dired-advertised-find-file):
18654 * simple.el (advertised-undo):
18655 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18656 (widget-keymap): Put a :advertised-binding property rather
18657 than using advertised-widget-backward.
18658 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18659 than using advertised-undo.
18660 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18662 2009-09-10 Simon South <ssouth@slowcomputing.org>
18664 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18665 Mark mode is enabled and region is active; otherwise indent or
18666 insert TAB as usual.
18667 (delphi-mode): Update description of TAB-key binding.
18669 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18671 * subr.el (define-key-rebound-commands): Mark obsolete.
18672 * startup.el (precompute-menubar-bindings): Remove.
18673 (normal-top-level): Remove obsolete code that tried to precompute
18675 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18676 define-key-rebound-commands and precompute-menubar-bindings.
18678 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18680 * net/imap.el (imap-interactive-login): Better messages.
18681 (imap-open): Fix bug with renamed buffer on reconnect.
18682 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18683 for easier debugging and cleaner code. On successful (guessed based on
18684 server capabilities) secondary authentication, set imap-state
18686 (imap-last-authenticator): Define imap-last-authenticator as a variable
18689 2009-09-10 Glenn Morris <rgm@gnu.org>
18691 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18693 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18694 (byte-compile-file-form-autoload): Don't warn about unknown functions
18695 where the autoload statement comes after the use.
18696 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18697 that any handlers inside the body (eg require) are in turn respected.
18699 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18702 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18703 and syntax and abbrev tables basic docs, if they don't have any.
18705 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18707 * international/mule-cmds.el (top-level): Require cl when compiling.
18708 (view-hello-file): Use default-value rather than
18709 default-enable-multibyte-characters.
18711 * progmodes/fortran.el: Move all safe and risky properties into the
18714 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18715 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18716 * mail/undigest.el:
18717 Put autoloads in rmail.el rather than loaddefs.el.
18718 * mail/rmail.el: Regenerate with extracted autoloads.
18720 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18721 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18723 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18725 Reported in thread for Bug#4375.
18726 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18727 "-data-evaluate-expression" instead of print.
18728 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18729 (gdb-tooltip-print): Parse output from above MI command.
18730 (gdb): Revert 2009-08-11 change. User should detach inferior
18733 Remove the word "separate" from IO functions as inferior
18734 output is now never displayed in the GUD buffer.
18736 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18738 * startup.el (command-line-normalize-file-name): On Windows and
18739 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18741 2009-09-10 Juri Linkov <juri@jurta.org>
18743 * isearch.el (isearch-text-char-description): Propertize escape
18744 character sequences with the `escape-glyph' face. (Bug#4344)
18746 * simple.el (shell-command): Set asynchronous process filter to
18747 `comint-output-filter'. (Bug#4343)
18749 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18750 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18751 the list. Move "asm" to the bottom.
18752 (grep-find-ignored-directories): Add `choice' with nil value
18753 to empty the list easily.
18754 (grep-find-ignored-files): New option.
18755 (grep-files-history): Set to nil by default instead of '("ch" "el").
18756 (grep-compute-defaults): Add "<X>" to `grep-template'.
18757 (grep-read-files): Bind new local variables `default-alias' and
18758 `default-extension'. Use a list of default values for the file prompt.
18759 (lgrep): Add `--exclude=' command line options composed from
18760 `grep-find-ignored-files'.
18761 (rgrep): Add `-name' command line options composed from
18762 `grep-find-ignored-files'. (Bug#4301)
18764 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18766 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18769 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18771 * calendar/time-date.el (autoload):
18772 Expand define-obsolete-function-alias into defalias and make-obsolete
18773 for old Emacsen that Gnus supports.
18774 (with-no-warnings): Define it for old Emacsen.
18775 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18777 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18778 float-time is available; suppress compile warning for time-to-seconds.
18780 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18782 * net/imap.el (imap-message-map): Docstring fix.
18784 2009-09-09 Glenn Morris <rgm@gnu.org>
18786 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18787 line numbers too. (Bug#4374)
18789 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18791 * smerge-mode.el (smerge-remove-props, smerge-refine):
18792 Use with-silent-modifications (bug#4342).
18794 * subr.el (with-silent-modifications): New macro.
18796 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18798 * files.el (top-level): Require `cl' when compiling.
18800 2009-09-07 Glenn Morris <rgm@gnu.org>
18802 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18804 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18805 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18807 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18809 * vc-git.el (vc-git-annotate-command): Use separator to parse
18810 arguments correctly.
18812 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18814 * proced.el (proced-mode): Doc fix.
18816 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18818 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18820 (tramp-do-file-attributes-with-ls): Check for file existence at
18822 (tramp-do-file-attributes-with-stat): Likewise.
18823 (tramp-convert-file-attributes): Return nil when attr is nil.
18825 2009-09-05 Glenn Morris <rgm@gnu.org>
18827 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18828 properties to this button.
18829 (diary-fancy-display): Don't extend the button to the final newline.
18830 (diary-fancy-display-mode): Continue to define "q" as a local key.
18832 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18835 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18837 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18838 (byte-compile-dest-file-function): New option.
18839 (byte-compile-dest-file): Doc fix.
18840 Obey byte-compile-dest-file-function.
18841 (byte-compile-cl-file-p): New function.
18842 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18843 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18844 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18845 than for file being previously loaded.
18846 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18847 (byte-compile-file-form-require): Handle the case where requiring a file
18848 indirectly causes CL to be loaded.
18850 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18852 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18853 before killing the old buffer, since by the time `kill-buffer' is
18854 run so many buffer variables have been set to nil that it may not
18855 behave as expected. (Bug#4061)
18857 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18859 * files.el (find-alternate-file): If the old buffer is modified
18860 and visiting a file, behave similarly to `kill-buffer' when
18861 killing it, thus reverting to the pre-1.878 behavior; see
18862 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18863 for discussion. Also, consult `buffer-file-name' as a variable
18864 not as a function, for consistency with the rest of the code.
18866 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18868 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18869 also when adding a new directory.
18871 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18874 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18876 * files.el (locate-file-completion-table): Make it provide boundary
18877 information, so partial-completion works better.
18879 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18881 * mail/footnote.el (Footnote-text-under-cursor):
18882 Check footnote-text-marker-alist before using it (bug#4324).
18884 2009-09-04 Glenn Morris <rgm@gnu.org>
18886 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18887 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18888 * play/solitaire.el, play/tetris.el:
18889 Remove leading * from defcustom and defface docs.
18891 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18893 (diary-fancy-overriding-map): New variable.
18894 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18897 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18900 2009-09-03 Glenn Morris <rgm@gnu.org>
18902 * arc-mode.el (archive-mode):
18903 * dos-fns.el (set-default-process-coding-system):
18904 * man.el (Man-getpage-in-background):
18905 * menu-bar.el (menu-bar-describe-menu):
18906 * server.el (server-process-filter):
18907 * startup.el (command-line):
18908 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18909 * w32-fns.el (set-default-process-coding-system):
18910 * x-dnd.el (x-dnd-handle-file-name):
18911 * international/mule-cmds.el (mule-menu-keymap)
18912 (set-default-coding-systems, language-info-alist, set-language-info)
18913 (set-language-environment, standard-display-european-internal)
18914 (set-locale-environment):
18915 * international/mule-diag.el (mule-diag):
18916 * mail/emacsbug.el (report-emacs-bug):
18917 * mail/rmail.el (rmail-mode):
18918 * mail/sendmail.el (mail-setup):
18919 Use default-value rather than default-enable-multibyte-characters.
18921 * progmodes/f90.el: Move all safe properties into the defcustoms.
18922 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18924 * calendar/appt.el (appt-check):
18925 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18926 (diary-check-diary-file, diary-list-entries)
18927 (diary-include-other-diary-files, diary-simple-display)
18928 (diary-fancy-display, diary-print-entries)
18929 (diary-mark-included-diary-files, diary-make-entry):
18930 Don't call substitute-in-file-name on diary-file.
18932 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18933 Stefan Monnier <monnier@iro.umontreal.ca>
18935 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18936 (footnote-mode-map): Move initialization into the declaration.
18937 (footnote-minor-mode-map): Define it rather than changing global-map.
18938 (footnote-mode): Use define-minor-mode.
18940 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18942 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18943 (tramp-do-file-attributes-with-perl)
18944 (tramp-do-file-attributes-with-stat): Rename from
18945 `tramp-handle-file-attributes-with-*'.
18946 (tramp-handle-file-attributes): Use them.
18947 (tramp-do-directory-files-and-attributes-with-perl)
18948 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18949 `tramp-handle-directory-files-and-attributes-with-*'.
18950 (tramp-handle-directory-files-and-attributes): Use them.
18951 (tramp-method-out-of-band-p): Additional parameter SIZE.
18952 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18953 (tramp-handle-write-region): Use it.
18954 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18955 (tramp-handle-vc-registered): Check, whether the first run did
18956 return files to be tested.
18957 (tramp-advice-make-auto-save-file-name): Do not call directly
18958 `tramp-handle-make-auto-save-file-name', because this would bypass
18959 the locking mechanism.
18961 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18962 (file-remote-p, process-file, start-file-process, set-file-times)
18963 (tramp-compat-file-attributes): Compatibility functions shall not
18964 call directly `tramp-handle-*', because this would bypass the
18966 (tramp-compat-number-sequence): New defun.
18968 2009-09-02 Glenn Morris <rgm@gnu.org>
18970 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18971 alias for float-time.
18972 (time-to-number-of-days): In Emacs, use float-time.
18973 * net/newst-backend.el (time-add): Suppress warnings from compat
18975 * time.el (emacs-uptime, emacs-init-time):
18976 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18977 Use float-time rather than time-to-seconds.
18979 * minibuffer.el (completion-initials-expand): Fix typo.
18981 * faces.el (modeline, modeline-inactive, modeline-highlight)
18982 (modeline-buffer-id):
18983 * info.el (info-menu-5): Mark these face aliases as obsolete.
18985 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18987 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18989 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18990 no "--thread" option.
18991 (gdb-stopped): Don't print "Switched to thread" message when it is
18994 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18996 * minibuffer.el (completion-try-completion)
18997 (completion-all-completions): Remove ill-defined (and
18998 mistakenly installed and luckily never used nor documented)
18999 `completion-styles' property.
19000 (completion-initials-expand, completion-initials-all-completions)
19001 (completion-initials-try-completion): New functions.
19002 (completion-styles-alist): Add doc to each entry.
19003 Add new `initials' entry.
19005 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19007 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19008 MI command -var-evaluate-expression.
19009 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19010 and tweak for case of string child.
19011 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19013 2009-09-01 Glenn Morris <rgm@gnu.org>
19015 * add-log.el (change-log-date-face, change-log-name-face)
19016 (change-log-email-face, change-log-file-face, change-log-list-face)
19017 (change-log-conditionals-face, change-log-function-face)
19018 (change-log-acknowledgement-face):
19019 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19020 (custom-modified-face, custom-set-face, custom-changed-face)
19021 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19022 (custom-documentation-face, custom-state-face, custom-comment-face)
19023 (custom-comment-tag-face, custom-variable-tag-face)
19024 (custom-variable-button-face, custom-face-tag-face)
19025 (custom-group-tag-face-1, custom-group-tag-face):
19026 * diff-mode.el (diff-header-face, diff-file-header-face)
19027 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19028 (diff-added-face, diff-changed-face, diff-function-face)
19029 (diff-context-face, diff-nonexistent-face):
19030 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19031 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19032 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19033 (Info-title-4-face):
19034 * isearch.el (isearch-lazy-highlight-face):
19035 * log-view.el (log-view-file-face, log-view-message-face):
19036 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19037 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19038 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19040 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19041 (smerge-base-face, smerge-markers-face):
19042 * wid-edit.el (widget-documentation-face, widget-button-face)
19043 (widget-field-face, widget-single-line-field-face)
19044 (widget-inactive-face, widget-button-pressed-face):
19045 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19046 (woman-addition-face):
19047 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19048 (eshell-ls-executable-face, eshell-ls-readonly-face)
19049 (eshell-ls-unreadable-face, eshell-ls-special-face)
19050 (eshell-ls-missing-face, eshell-ls-archive-face)
19051 (eshell-ls-backup-face, eshell-ls-product-face)
19052 (eshell-ls-clutter-face):
19053 * eshell/em-prompt.el (eshell-prompt-face):
19054 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19055 * obsolete/old-whitespace.el (whitespace-highlight-face):
19056 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19057 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19058 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19059 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19060 (antlr-font-lock-literal-face):
19061 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19062 (ebrowse-root-class-face, ebrowse-file-name-face)
19063 (ebrowse-default-face, ebrowse-member-attribute-face)
19064 (ebrowse-member-class-face, ebrowse-progress-face):
19065 * progmodes/make-mode.el (makefile-space-face):
19066 * progmodes/sh-script.el (sh-heredoc-face):
19067 * textmodes/flyspell.el (flyspell-incorrect-face)
19068 (flyspell-duplicate-face):
19069 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19070 * textmodes/texinfo.el (texinfo-heading-face):
19071 Mark face aliases with "-face" suffix as obsolete.
19073 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19076 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19077 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19078 easy-menu-define wants to modify these.
19080 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19082 * net/browse-url.el (browse-url-file-url):
19083 * term/internal.el (dos-codepage-setup):
19084 Use default-value rather than default-enable-multibyte-characters.
19086 * progmodes/etags.el (etags-goto-tag-location):
19087 * progmodes/flymake.el (flymake-highlight-line)
19088 (flymake-goto-file-and-line, flymake-goto-line):
19089 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19090 (gdb-goto-breakpoint):
19091 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19092 * progmodes/python.el (python-find-function)
19093 (python-pdbtrack-track-stack-file):
19094 * progmodes/verilog-mode.el (verilog-surelint-off):
19095 * term/ns-win.el (ns-open-file-select-line):
19096 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19097 Use forward-line rather than goto-line.
19099 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19100 * textmodes/reftex-index.el (reftex-display-index):
19101 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19102 * textmodes/reftex-toc.el (reftex-toc):
19103 Remove unnecessary bindings of default-major-mode (all are followed by
19104 major-mode check and possible mode switch).
19106 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19108 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19109 Handle watchpoints (bug#4282).
19110 (def-gdb-thread-buffer-command): Enable thread to be selected by
19111 clicking without selecting threads buffer first.
19112 (gdb-current-context-command): Use selected frame so that "up",
19113 "down" etc work in the GUD buffer.
19114 (gdb-update): Find selected frame before rendering stack buffer.
19115 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19117 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19119 * progmodes/sym-comp.el (displayed-completions): Remove.
19120 (symbol-complete): Use minibuffer-complete.
19122 2009-08-31 Glenn Morris <rgm@gnu.org>
19124 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19126 * apropos.el (apropos-symbols-internal):
19127 Handle (obsolete) face aliases.
19129 * faces.el (describe-face): Adjust the output format to be more like
19130 describe-variable, and to mention (obsolete) face aliases.
19131 Adjust the whitespace so that help-setup-xref works.
19133 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19134 * calendar/diary-lib.el (diary-button-face):
19135 Mark these face aliases as obsolete.
19137 * calendar/calendar.el (calendar-today): Doc fix.
19139 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19141 * progmodes/gdb-mi.el (gdb-control-all-threads)
19142 (gdb-control-current-thread): Force tool bar update.
19143 (gdb-non-stop-handler): New function.
19144 (gdb-init-1): Use it to test if non-stop mode is supported.
19145 Remove unused gdbmi buffer type.
19147 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19149 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19150 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19152 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19154 * comint.el (comint-exec-1): Check command is non-null first.
19155 Part of gdb-mi.el change (2009-08-28).
19157 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19159 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19161 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19163 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19164 instead of `dolist' to avoid a recursive require when bootstrapping.
19166 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19168 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19170 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19172 * net/imap.el (imap-send-command): Simplify.
19173 (imap-wait-for-tag): point-max -> buffer-size.
19175 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19177 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19178 with constant argument.
19180 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19182 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19184 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19185 Change default, since most of our files don't have a history.
19186 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19189 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19192 * calc/calc.el: Improve commenting convention.
19193 (calc-digit-map, toplevel): Simplify.
19195 * comint.el (comint-insert-input): Be careful to only set point if we
19196 don't delegate to some other command.
19198 * proced.el (proced-signal-list): Make it an alist.
19199 (proced-grammar-alist): Capitalize names.
19200 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19201 Disable undo manually and make it read-only.
19202 Use completion-annotate-function.
19204 * minibuffer.el (minibuffer-message): If the current buffer is not
19205 a minibuffer, insert the message in the echo area rather than at the
19207 (completion-annotate-function): New variable.
19208 (minibuffer-completion-help): Use it.
19209 (completion--embedded-envvar-table): Environment vars are
19210 always case-sensitive.
19212 2009-08-30 Glenn Morris <rgm@gnu.org>
19214 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19215 from fortran-current-defun.
19216 (fortran-beginning-of-subprogram): Be more precise about finding the
19217 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19218 (fortran-end-of-subprogram): Simplify.
19219 (fortran-current-defun): Use fortran-start-prog-re.
19221 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19223 * subr.el (do-after-load-evaluation): Simplify.
19225 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19227 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19229 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19230 (vc-rcs-print-log): Use it.
19232 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19234 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19236 * paths.el (abbrev-file-name): Move to abbrev.el.
19237 * abbrev.el (abbrev-file-name): Move from paths.el.
19238 Obey user-emacs-directory.
19239 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19240 user-emacs-directory.
19241 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19242 abbrev-file-name and calc-settings-file any more.
19243 * startup.el (command-line): Recompute abbrev-file-name and
19244 abbreviated-home-dir.
19245 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19246 of the special code for when C-h bindings haven't been changed.
19247 (display-startup-echo-area-message): Use with-current-buffer.
19248 (command-line-1): Use a list of strings, rather than a list of lists
19249 of strings for longopts.
19251 * files.el (get-free-disk-space): Use / for default-directory.
19253 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19254 Use with-current-buffer.
19256 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19257 Recognize immutable variables like most-positive-fixnum.
19258 (byte-compile-setq-default): Check and warn if trying to assign
19259 to an immutable variable, or a non-variable.
19261 * progmodes/cc-vars.el (c-comment-continuation-stars):
19262 * progmodes/cc-engine.el (c-looking-at-bos):
19263 * progmodes/cc-cmds.el (c-toggle-auto-state)
19264 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19265 (c-comment-line-break-function): Add version of obsolescence.
19267 2009-08-28 Juri Linkov <juri@jurta.org>
19269 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19270 associated with `archive-mode'.
19272 * image.el (image-type-header-regexps): Use only JPEG magic number
19273 to determine JPEG images, and don't use `image-jpeg-p' because
19274 Emacs can display non-JFIF non-Exif JPEG images.
19276 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19278 * arc-mode.el (archive-mode):
19279 * emacs-lisp/re-builder.el (re-builder-unload-function):
19280 Protect against the default value of `major-mode' being nil.
19282 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19284 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19285 Fix typos in docstrings.
19287 * progmodes/js.el (js--macro-decl-re): Doc fix.
19288 (js--plain-method-re, js--split-name): Refloc docstring.
19289 (js--class-styles, js--make-merged-item, js--splice-into-items):
19290 Fix typos in docstrings; reflow docstrings.
19291 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19292 (js--variable-decl-matcher, js--inside-pitem-p)
19293 (js--parse-state-at-point, js--get-all-known-symbols)
19294 (js--symbol-history, js-find-symbol, js--js-references)
19295 (js--moz-interactor, js--js-encode-value, js--read-tab):
19296 Fix typos in docstrings.
19298 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19300 * textmodes/reftex.el (reftex-get-file-buffer-force):
19301 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19302 * emulation/viper.el (viper-go-away, viper-set-hooks):
19303 * emacs-lisp/re-builder.el (re-builder-unload-function):
19304 * emacs-lisp/bytecomp.el (byte-compile-file):
19305 * ses.el (ses-unload-function):
19306 * hexl.el (hexl-find-file):
19307 * files.el (normal-mode):
19308 * ehelp.el (with-electric-help):
19309 * autoinsert.el (auto-insert-alist):
19310 * arc-mode.el (archive-mode):
19311 Use (default-value 'major-mode) instead of default-major-mode.
19313 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19314 * international/mule.el (load-with-code-conversion):
19315 * emacs-lisp/debug.el (debug):
19316 * ediff-vers.el (ediff-rcs-get-output-buffer):
19317 * dired.el (dired-internal-noselect): Don't let-bind
19318 default-major-mode around code that doesn't use it.
19319 E.g. buffer creation via get-buffer-create doesn't use it.
19321 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19323 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19324 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19325 when writing the temp file. Otherwise, epa-file gets confused.
19326 (tramp-register-file-name-handlers): Make it a defun. Move also
19327 `epa-file-handler' to the front of `file-name-handler-alist'.
19329 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19331 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19332 start right after a ^M.
19333 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19334 (tramp-completion-file-name-regexp-separate)
19335 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19336 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19337 Don't modify last-coding-system-used by accident.
19338 (tramp-completion-file-name-handler): Apply the checks here,
19339 instead during registration.
19340 (tramp-register-file-name-handlers): Rename from
19341 `tramp-register-file-name-handler'. Register both
19342 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19343 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19345 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19347 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19348 Remove variable ...
19349 (gdb-init-1, gdb-display-separate-io-buffer)
19350 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19352 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19353 (gdb-inferior-filter): Use comint-output-filter to stop
19354 echoing and remove ^M characters.
19356 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19358 * emulation/viper-init.el (viper-restore-cursor-type):
19359 * emulation/cua-base.el (cua--update-indications):
19360 Replace default-cursor-type with (default-value 'cursor-type).
19362 * mail/sendmail.el (mail-recover-1):
19363 * international/mule-diag.el (describe-current-coding-system-briefly)
19364 (describe-current-coding-system):
19365 * international/mule-cmds.el (select-safe-coding-system)
19366 (select-message-coding-system)
19367 (set-language-environment-coding-systems, set-locale-environment):
19368 * hexl.el (hexl-insert-multibyte-char):
19369 * dos-w32.el (find-buffer-file-type-coding-system):
19370 * simple.el (what-cursor-position):
19371 Replace uses of default-buffer-file-coding-system
19372 with (default-value 'buffer-file-coding-system).
19374 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19375 Replace uses of default-cursor-in-non-selected-windows
19376 with (default-value 'cursor-in-non-selected-windows).
19377 Use with-current-buffer.
19379 * mail/feedmail.el: Use CL macros.
19380 (feedmail-run-the-queue, feedmail-send-it-immediately):
19381 * dos-w32.el (find-buffer-file-type): Replace uses of
19382 default-buffer-file-type with (default-value 'buffer-file-type).
19384 2009-08-28 Glenn Morris <rgm@gnu.org>
19386 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19387 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19388 Use default-value of major-mode rather than default-major-mode.
19390 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19392 * Makefile.in (update-elcfiles): Report left over elc files.
19394 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19395 expand-file-name and with-current-buffer.
19396 (mail-get-names, mail-directory): Use with-current-buffer.
19398 * vc.el (vc-read-revision): New function.
19399 (vc-version-diff, vc-merge): Use it.
19401 2009-08-27 Sam Steingold <sds@gnu.org>
19403 * simple.el (kill-do-not-save-duplicates): New user option.
19404 (kill-new): When it is non-nil, and the new string is the same as
19405 the latest kill, set replace to t to avoid duplicates in kill-ring.
19407 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19409 * net/tramp.el (tramp-handle-process-file): Do not flush all
19410 caches when `process-file-side-effects' is set.
19411 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19412 instead of `tramp-find-file-exists-command'.
19413 Unset `process-file-side-effects'.
19415 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19417 * net/tramp.el (tramp-methods): New method "rsyncc".
19418 (top): Add completion function for "rsyncc".
19419 (tramp-message-show-message): New defvar.
19420 (tramp-message, tramp-error): Use it.
19421 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19423 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19424 `tramp-methods' entry `copy-env' of "rsyncc".
19425 (tramp-vc-registered-read-file-names): New defconst.
19426 (tramp-vc-registered-file-names): New defvar.
19427 (tramp-handle-vc-registered): Implement optimization strategy.
19428 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19429 (tramp-vc-file-name-handler): New defun.
19430 (tramp-get-ls-command, tramp-get-test-command)
19431 (tramp-get-file-exists-command, tramp-get-remote-ln)
19432 (tramp-get-remote-perl, tramp-get-remote-stat)
19433 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19435 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19436 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19438 (tramp-get-file-property): Check for timestamps in
19439 `tramp-cache-inhibit-cache'.
19440 (tramp-set-file-property): Write timestamp.
19442 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19444 * language/japan-util.el (japanese-symbol-table): Add entries for
19447 * international/characters.el: Add category `j' to cp932-2-byte.
19449 2009-08-27 Kenichi Handa <handa@m17n.org>
19451 * international/fontset.el (build-default-fontset-data): New macro.
19452 (setup-default-fontset): Use build-default-fontset-data for CJK,
19453 tibetan, ethiopic, and ipa.
19455 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19457 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19458 (enable-multibyte-characters): Not customizable any more.
19460 * subr.el (default-mode-line-format, default-header-line-format)
19461 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19462 (default-direction-reversed, default-truncate-lines)
19463 (default-left-margin, default-tab-width, default-case-fold-search)
19464 (default-left-margin-width, default-right-margin-width)
19465 (default-left-fringe-width, default-right-fringe-width)
19466 (default-fringes-outside-margins, default-scroll-bar-width)
19467 (default-vertical-scroll-bar, default-indicate-empty-lines)
19468 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19469 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19470 (default-scroll-down-aggressively, default-fill-column)
19471 (default-cursor-type, default-buffer-file-type)
19472 (default-cursor-in-non-selected-windows)
19473 (default-buffer-file-coding-system, default-major-mode)
19474 (default-enable-multibyte-characters): Mark as obsolete.
19476 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19478 * vc-dir.el (vc-dir-update): Remove debug helper.
19480 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19482 2009-08-26 Sam Steingold <sds@gnu.org>
19484 * simple.el (save-interprogram-paste-before-kill): New user option.
19485 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19486 save the interprogram-paste into kill-ring before overriding it
19487 with the Emacs kill.
19489 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19491 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19492 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19493 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19494 and move to vc-rcs.el.
19495 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19497 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19498 (vc-rcs-update-changelog): Remove.
19499 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19500 and move to vc-rcs.el.
19502 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19503 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19505 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19506 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19507 vc.el, renamed to be RCS specific.
19509 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19511 (vc-cvs-update-changelog): Move here from vc.el.
19513 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19516 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19518 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19520 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19522 * vc-git.el (vc-git-register): Use "git add" for directories.
19523 (vc-git-stash, vc-git-stash-show): New functions.
19524 (vc-git-extra-menu-map): Bind them.
19526 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19527 directory correctly in case the item is a directory itself.
19529 * vc.el: Document the desired behavior for reverted files in the
19531 (vc-default-prettify-state-info): Remove function, unused.
19533 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19535 2009-08-26 Glenn Morris <rgm@gnu.org>
19537 * bindings.el (standard-mode-line-format): Reposition dashes in
19538 which-func entry. (Bug#4217)
19540 * files.el (enable-local-variables, enable-local-eval)
19541 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19543 (auto-mode-alist, ignored-local-variables)
19544 (save-some-buffers-action-alist): Move risky declarations to the
19546 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19547 (font-lock-defaults, format-alist, imenu--index-alist)
19548 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19549 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19550 (mode-line-modified, mode-line-mule-info, mode-line-position)
19551 (mode-line-process, mode-line-remote, outline-level)
19552 (parse-time-rules, rmail-output-file-alist)
19553 (special-display-buffer-names, vc-mode):
19554 Move risky declarations to the relevant files.
19555 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19556 (mode-line-modified, mode-line-process, mode-line-position)
19557 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19558 * font-core.el (font-lock-defaults):
19559 * format.el (format-alist):
19560 * vc-hooks.el (vc-mode):
19561 * window.el (special-display-buffer-names):
19562 * international/mule-cmds.el (input-method-alist):
19563 Define riskiness here (dumped file) rather than in files.el.
19564 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19565 * imenu.el (imenu-generic-expression, imenu--index-alist):
19566 * outline.el (outline-level):
19567 * time.el (display-time-string):
19568 * calendar/parse-time.el (parse-time-rules):
19569 * mail/rmailout.el (rmail-output-file-alist):
19570 Autoload riskiness here, rather than placing in files.el.
19572 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19574 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19576 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19578 * simple.el (process-file-side-effects): New defvar.
19580 * dired-aux.el (dired-show-file-type):
19581 * vc.el (vc-diff-internal):
19582 * vc-arch.el (vc-arch-diff):
19583 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19584 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19585 * vc-git.el (vc-git-registered, vc-git-working-revision)
19586 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19587 (vc-git--empty-db-p):
19588 * vc-hooks.el (vc-user-login-name):
19589 * vc-svn.el (vc-svn-registered, vc-svn-state)
19590 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19591 * progmodes/grep.el (grep-probe): Let-bind
19592 `process-file-side-effects' with nil.
19594 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19596 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19597 daemon. Replace ping by checking for running service for bluez
19598 and zeroconf. (Bug#4239)
19600 2009-08-25 Kevin Ryde <user42@zip.com.au>
19602 * net/dig.el (dig): Add autoload cookie.
19604 2009-08-25 Glenn Morris <rgm@gnu.org>
19606 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19607 load-history for absolute file-names.
19608 (byte-compile-file-form-require): Warn about use of the cl package.
19610 * format.el (format-alist): Doc fix.
19612 * play/bubbles.el (top-level): Don't require cl at run-time.
19614 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19617 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19619 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19621 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19623 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19625 * calc/calc-alg.el (math-trig-rewrite)
19626 (math-hyperbolic-trig-rewrite): New functions.
19627 (calc-simplify): Simplify trig functions when asked.
19629 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19631 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19633 2009-08-24 Kenichi Handa <handa@m17n.org>
19635 * language/ind-util.el (mapthread): Delete it.
19636 (combinatorial): New function.
19637 (indian--puthash-cv): Use combinatorial instead of mapthread.
19639 2009-08-22 Kevin Ryde <user42@zip.com.au>
19641 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19642 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19643 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19644 Clarify docstring that the value is strings not symbols.
19645 (checkdoc-list-of-strings-p): New function.
19647 2009-08-22 Glenn Morris <rgm@gnu.org>
19649 * files.el (auto-mode-alist):
19650 * hippie-exp.el (he-concat-directory-file-name):
19651 * lpr.el (lpr-windows-system, printer-name):
19652 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19653 * ps-print.el (ps-windows-system):
19654 * startup.el (command-line):
19655 * emulation/viper-ex.el (viper-glob-function):
19656 * international/mule-cmds.el (set-language-environment-coding-systems):
19657 * net/ange-ftp.el (ange-ftp-write-region):
19658 * obsolete/fast-lock.el (fast-lock-cache-name):
19659 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19660 unisoft-unix, vax-vms, win32, w32.
19662 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19663 given name if the pattern is not more specific.
19665 * calendar/lunar.el (lunar-phase-names): New option.
19666 (lunar-phase): Doc fix.
19667 (lunar-cycles-per-year): New constant.
19668 (lunar-index): New function.
19669 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19670 (lunar-phase-name): Use lunar-phase-names.
19671 (calendar-lunar-phases): Use format.
19672 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19674 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19675 Copy imenu-example--name-and-position function here for own use.
19676 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19678 * bs.el (bs--redisplay):
19679 * cus-edit.el (custom-redraw):
19680 * ibuffer.el (ibuffer-bury-buffer):
19681 * server.el (server-goto-line-column):
19682 * startup.el (command-line-1):
19683 * strokes.el (strokes-xpm-for-stroke):
19684 * term.el (term-display-buffer-line):
19685 * view.el (View-goto-line):
19686 * calc/calc.el (calc-do, calc-trail-buffer):
19687 * play/gamegrid.el (gamegrid-add-score-insecure):
19688 * progmodes/ada-mode.el (ada-compile-goto-error):
19689 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19690 (ebrowse-select-1st-to-9nth):
19691 * progmodes/cperl-mode.el (cperl-time-fontification):
19692 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19693 * progmodes/gud.el (gud-display-line):
19694 (idlwave-shell-display-line):
19695 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19696 * progmodes/make-mode.el (makefile-browser-toggle):
19697 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19698 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19699 * textmodes/picture.el (picture-draw-rectangle):
19700 * textmodes/reftex-index.el (reftex-index-goto-letter):
19701 (reftex-select-jump-to-previous):
19702 * textmodes/reftex-sel.el (reftex-find-start-point)
19703 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19704 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19705 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19706 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19707 * textmodes/two-column.el (2C-associated-buffer):
19708 Use forward-line rather than goto-line.
19710 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19713 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19714 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19715 (quick-check-list-to-regexp): Declare.
19717 * progmodes/make-mode.el (makefile-browser-insert-selection):
19718 Use goto-char rather than goto-line.
19720 * progmodes/prolog.el (compilation-error-regexp-alist)
19721 (compilation-forget-errors): Declare.
19723 2009-08-22 Juri Linkov <juri@jurta.org>
19725 * progmodes/grep.el (lgrep, rgrep): At the beginning
19726 set `dir' to `default-directory' unless `dir' is a non-nil
19727 readable directory. (Bug#4052)
19728 (lgrep, rgrep): Change a weird way to report an error
19729 from using `read-string' to using `error'.
19730 Instead of using interactive arguments in the function body,
19731 add new argument `confirm'.
19733 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19735 * textmodes/remember.el (remember-buffer):
19736 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19737 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19738 (icalendar-extract-ical-from-buffer):
19739 * net/newst-treeview.el (newsticker-groups-filename):
19740 * net/newst-backend.el (newsticker-cache-filename):
19741 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19742 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19743 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19744 (speedbar-buffers-line-path, speedbar-path-line)
19745 (speedbar-buffers-line-path):
19746 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19748 * epa.el (epa-display-verify-result):
19749 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19751 2009-08-21 Glenn Morris <rgm@gnu.org>
19753 * progmodes/js.el (inferior-moz-process): Fix declaration.
19755 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19757 * obsolete/rnewspost.el (news-mail-reply):
19758 Use goto-char rather than goto-line.
19760 * term/ns-win.el (ns-open-file-select-line):
19761 Use line-beginning-position rather than goto-line.
19763 * apropos.el (apropos-command):
19764 * ehelp.el (electric-helpify):
19765 * printing.el (pr-show-setup):
19766 * strokes.el (strokes-help):
19767 * tutorial.el (tutorial--describe-nonstandard-key)
19768 (tutorial--detailed-help):
19769 * woman.el (woman-mini-help, woman-display-extended-fonts):
19770 * calc/calc-help.el (calc-describe-key):
19771 * emulation/edt.el (edt-electric-helpify):
19772 * international/mule-diag.el (mule-diag):
19773 * play/yow.el (apropos-zippy):
19774 * progmodes/python.el (python-describe-symbol):
19775 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19776 * textmodes/table.el (*table--cell-describe-mode)
19777 (*table--cell-describe-bindings):
19778 Use help-print-return-message rather than the now obsolete alias.
19780 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19781 (calendar-cursor-to-visible-date):
19782 * play/5x5.el (5x5-position-cursor):
19783 * play/decipher.el (decipher):
19784 * play/gomoku.el (gomoku-goto-xy):
19785 * play/landmark.el (lm-goto-xy):
19786 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19787 (mpuz-paint-digit):
19788 Use forward-line, not goto-line.
19790 * mail/rmail.el (rmail-obsolete): Delete custom group.
19791 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19792 (rmail-remote-password, rmail-remote-password-required):
19793 Remove unneeded :set-after and :set properties.
19795 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19797 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19799 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19801 * loadup.el: Remove leftover macos code.
19803 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19804 Explicitly pass the date format to git blame so that user local
19805 so that the output format can be parsed.
19807 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19809 * net/dbus.el (top): Don't check for (getenv
19810 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19812 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19814 * log-edit.el (log-edit-strip-single-file-name): New var.
19815 (log-edit-insert-changelog): Use it. Bug#3571
19817 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19819 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19822 * help.el (help-print-return-message): Rename from
19823 print-help-return-message.
19825 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19826 cvs-mode-map parent hack.
19827 (log-view-mode): Derive from special-mode.
19829 * linum.el (linum-mode): window-size-change-functions is redundant.
19830 Adapt to new window-configuration-change-hook behavior.
19831 (linum-after-size, linum-after-config): Remove.
19833 * imenu.el (imenu-example--name-and-position)
19834 (imenu-example--lisp-extract-index-name)
19835 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19838 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19839 (inferior-prolog-mode): Use it.
19840 (inferior-prolog-load-file): Reset list of errors.
19842 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19844 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19846 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19848 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19850 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19851 is running already.
19853 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19855 * subr.el (listify-key-sequence-1): Use normal syntax since those
19856 integers are nowadays always represented by the same (positive) number
19858 (read-key-empty-map): New const.
19859 (read-key-delay): New var.
19860 (read-key): New function.
19861 (force-mode-line-update): Use with-current-buffer.
19862 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19863 (start-process-shell-command, start-file-process-shell-command):
19864 Discourage the use of command-args.
19866 2009-08-19 Glenn Morris <rgm@gnu.org>
19868 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19870 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19872 * simple.el (choose-completion-string): Don't rely on
19873 minibuffer-completing-file-name and ad-hoc checks to decide whether
19874 to continue completion or not.
19876 * minibuffer.el (minibuffer-hide-completions): New function.
19877 (completion--do-completion): Use it.
19878 (completions-annotations): New face.
19879 (completion--insert-strings): Use it.
19880 (completion-pcm--delim-wild-regex): Add docstring.
19881 (completion-pcm--string->pattern): Add support for 0-width delimiters
19882 in completion-pcm--delim-wild-regex.
19884 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19886 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19887 Remove unused var `buffer-modified-p'.
19889 * minibuffer.el (completion--do-completion): Move point for the #b001
19890 case as well (bug#4176).
19891 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19893 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19895 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19896 and :session buses.
19898 2009-08-18 Kenichi Handa <handa@m17n.org>
19900 * international/ucs-normalize.el (ucs-normalize-version):
19902 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19903 (utf-8-hfs): Make it perform normalization on encoding too.
19905 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19906 (sentence-end-without-space): Delete duplicated chars.
19907 (sentence-end-base): Likewise.
19909 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19910 (html-mode): Delete duplicated chars from sentence-end-base.
19912 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19913 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19915 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19917 * files.el (hack-one-local-variable): If the mode function is for
19918 a minor mode, pass it an argument (Bug#4148).
19920 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19922 * net/tramp.el (tramp-register-completion-file-name-handler):
19923 Check also for (member 'partial-completion completion-styles).
19925 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19927 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19930 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19932 * progmodes/cperl-mode.el: Merge upstream 6.2.
19933 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19934 (cperl-forward-re): Check cperl-brace-recursing.
19935 (cperl-highlight-charclass): New function.
19936 (cperl-find-pods-heres): Use it.
19937 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19938 (cperl-beautify-regexp-piece): Fix column calculation.
19939 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19940 (cperl-beautify-level): Don't process entire regexp.
19941 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19943 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19944 (cperl-init-faces): Build a list in the normal way.
19946 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19948 * calendar/parse-time.el (parse-time-string-chars): Save match
19951 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19953 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19954 (sql-product): Use it.
19955 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19956 (sql-set-product): Add completion.
19957 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19958 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19959 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19960 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19961 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19962 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19963 (sql-highlight-db2-keywords): Remove.
19964 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19965 (sql-highlight-product): Use derived-mode-p.
19966 (sql-set-sqli-buffer): Use with-current-buffer.
19967 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19970 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19972 * term.el: Fix commenting convention, turn comments into docstrings.
19974 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19976 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19978 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19980 * calendar/parse-time.el (parse-time-string-chars): Compute using
19981 character classes, to handle non-ascii characters (Bug#3190).
19983 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19985 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19986 another heredoc if the user adds another < (Bug#3226).
19988 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19989 Don't initialize based on window-system (Bug#4124).
19991 * facemenu.el (facemenu-read-color): Use a completion function
19992 that accepts any defined color, such as RGB triplets (Bug#3677).
19994 * files.el (get-free-disk-space): Change fallback default
19995 directory to /. Expand DIR argument before switching to fallback.
19996 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19998 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20000 * files.el (load-library): Doc fix.
20002 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20004 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20005 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20006 incremental search string.
20008 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20011 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20012 (ediff-merge-region-is-non-clash)
20013 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20014 Also check if the job is really a merge job.
20016 * ediff.el (ediff-current-file): New function.
20018 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20020 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20022 (js-insert-and-indent): Delete function.
20023 (js-mode-map): Don't bind keys to js-insert-and-indent.
20024 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20025 (js-end-of-defun): Rename from js--end-of-defun.
20026 (js-auto-indent-flag): Delete variable.
20028 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20030 * progmodes/js.el: Remove proclaim statement.
20031 Defvar which-func-imenu-joiner-function to silence compiler.
20033 * files.el (auto-mode-alist): Use js-mode for .js files.
20035 * progmodes/js2-mode.el: Remove file.
20037 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20039 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20041 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20043 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20044 Karl Landstrom <karl.landstrom@brgeight.se>
20046 * progmodes/js.el: New file.
20048 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20050 * timezone.el (timezone-parse-date): Add ability to understand ISO
20051 basic format (minimal separators) dates in addition to the
20052 already-supported extended format dates.
20054 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20056 * international/ucs-normalize.el: Add a `coding' file variable.
20058 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20060 2009-08-14 Sam Steingold <sds@gnu.org>
20062 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20064 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20066 * faces.el (help-argument-name): Define it here instead of
20067 help-fns.el, because in daemon mode help-fns.el may be loaded when
20068 faces are still uninitialized (Bug#1078).
20070 * help-fns.el (help-argument-name): Move defface to faces.el.
20072 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20074 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20075 create buffer with a pty but no process so that GDB can make the
20076 inferior the controlling process.
20078 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20080 * international/ucs-normalize.el: New file.
20082 2009-08-13 Richard Stallman <rms@gnu.org>
20084 * mail/rmail.el (rmail-get-attr-names):
20085 Accept an attribute header that is too short.
20087 * mail/rmail.el (rmail-forget-messages):
20088 Ignore nil elt in rmail-message-vector. Use dotimes.
20090 * progmodes/compile.el (compilation-goto-locus):
20091 Use next-error-move-function.
20093 * simple.el (next-error-move-function): New variable.
20095 2009-08-12 Juri Linkov <juri@jurta.org>
20097 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20098 always non-nil. (Bug#4052)
20100 * replace.el (read-regexp): Return empty string when
20101 `default-value' is nil.
20102 (keep-lines-read-args): Don't use empty string as the
20103 default value for `read-regexp'. (Bug#2495)
20105 2009-08-12 Juri Linkov <juri@jurta.org>
20107 * international/mule-cmds.el (ucs-insert): Change arguments
20108 from `arg' to `character', `count', `inherit' to be the same
20109 as in `insert-char'. Doc fix. (Bug#4039)
20111 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20113 2009-08-12 Juri Linkov <juri@jurta.org>
20115 * files-x.el: New file.
20117 * files.el: Move code that deals with adding/deleting
20118 file/directory-local variables to files-x.el.
20120 * Makefile.in (ELCFILES): Add files-x.elc.
20122 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20124 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20125 to use `goto-line'.
20126 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20128 (gdb-invalidate-disassembly): Do not refresh upon receiving
20129 'update signal. Instead, update all disassembly buffers only after
20131 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20132 (gdb-starting): Move -data-list-register-names...
20133 (gdb-stopped): ...here so it's sent when first thread stops.
20134 (gdb-registers-handler-custom): Do nothing if register names are
20137 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20138 from `gdb-mi.el' to avoid extra tangling.
20140 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20141 change which breaks `gud-def' definitions used in `gdb'.
20142 (gdb-update-gud-running): No extra fuss for updating frame number.
20144 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20146 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20147 (describe-language-environment-map, setup-language-environment-map)
20148 (set-coding-system-map): Move initialization into declaration.
20149 (set-language-info-alist): Last arg to define-key-after can be skipped.
20151 * international/quail.el (quail-completion-1): Simplify.
20152 (quail-define-rules): Use slightly more compact code.
20153 (quail-insert-decode-map): Propertize keys, compact columns.
20155 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20158 2009-08-10 Miles Bader <miles@gnu.org>
20160 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20161 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20162 (js2-instance-member, js2-private-member, js2-private-function-call)
20163 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20164 (js2-magic-paren, js2-external-variable):
20165 Remove "-face" suffix from face names.
20166 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20167 (js2-highlight-undeclared-vars, js2-peek-token)
20168 (js2-parse-function-params, js2-mode-show-errors)
20169 (js2-mode-show-warnings, js2-make-magic-delimiter)
20170 (js2-mode-highlight-magic-parens): Update to use new face names.
20172 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20174 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20175 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20177 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20179 * subr.el: Provide hashtable-print-readable.
20181 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20182 hs-c-like-adjust-block-beginning.
20183 (hs-hide-block-at-point): Stop hiding at the beginning of
20184 hs-block-end-regexp (Bug#700).
20186 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20188 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20190 (gdb-registers-handler-custom): Do not fail when register names
20193 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20195 * progmodes/gdb-mi.el (gdb-control-all-threads)
20196 (gdb-control-current-thread): Interactive setters for
20197 `gdb-gud-control-all-threads' to use in menu.
20198 (gdb-show-run-p): Show «Go» when process is not active.
20199 (gud-tool-bar-map): Add non-stop/A,T indicator.
20200 Uses gud/thread.xpm and gud/all.xpm.
20202 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20204 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20205 (nslookup-font-lock-keywords): Make it a variable.
20206 (net-utils-mode): New mode for viewing diagnostic network output.
20207 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20208 (net-utils-run-simple): New function.
20209 (ifconfig, iwconfig, netstat, arp, route): Use it.
20211 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20213 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20214 (gdb-memory-set-address, def-gdb-set-positive-number)
20215 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20216 after changing settings.
20217 (gdb-invalidate-disassembly): Update when first shown.
20218 (gdb-edit-locals-value): Fixed.
20219 (gdb-registers-handler-custom): Print registers in right order and
20220 allow changing register values (only for current thread yet).
20221 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20222 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20223 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20224 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20225 Thread info in mode name.
20226 (gdb-registers-mode-map): TAB to switch to locals.
20228 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20230 * mail/rmail.el (rmail-add-mbox-headers)
20231 (rmail-set-message-counters-counter): Search for
20232 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20234 2009-08-08 Glenn Morris <rgm@gnu.org>
20236 * Makefile.in (ELCFILES): Update.
20238 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20240 * mail/sendmail.el (mail-yank-original):
20241 Set buffer-file-coding-system from the one used by the message whose
20244 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20245 to "windows" when "pgnuplot" is used.
20246 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20247 Don't call accept-process-output if "pgnuplot" is used.
20248 (calc-graph-init): Don't send -display and -geometry to
20249 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20250 running "pgnuplot -V" with shell-command-to-string.
20252 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20255 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20257 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20260 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20262 * vc-dispatcher.el (vc-resynch-window): Update comment.
20264 * term.el (term-handle-ansi-escape): Add comments with the
20265 terminfo capabilities implemented.
20267 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20269 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20270 (gdb-var-create-handler): Rewritten using JSON parser.
20271 (gdb-propertize-header): Move earlier.
20272 (gdb-set-header): Remove to avoid duplication.
20273 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20274 Refresh disassembly buffers only after threads list have been
20276 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20279 2009-08-04 Juri Linkov <juri@jurta.org>
20281 * files.el: Commands to add/delete file/directory-local variables.
20282 (read-file-local-variable, read-file-local-variable-value)
20283 (read-file-local-variable-mode, modify-file-local-variable)
20284 (modify-file-local-variable-prop-line)
20285 (modify-dir-local-variable): New functions.
20286 (add-file-local-variable, delete-file-local-variable)
20287 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20288 (add-dir-local-variable, delete-dir-local-variable)
20289 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20290 (copy-dir-locals-to-file-locals-prop-line): New commands.
20292 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20294 * abbrev.el (insert-abbrev-table-description): Prettify output.
20295 Suggested by Karl Chen.
20297 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20299 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20300 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20301 (gdb-overlay-arrow-position, gdb-thread-position)
20302 (gdb-disassembly-position): Declare variables.
20303 (gdb-wait-for-pending): Function now.
20304 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20305 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20306 compilation goes smoothly.
20307 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20308 (gdb-non-stop-setting): New customization setting which replaces
20309 `gdb-non-stop' so changing it doesn't break active GDB session.
20310 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20311 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20312 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20313 (gdb-show-threads-by-default): New customization options.
20314 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20316 (gdb-get-buffer-create): Send buffers update signal when they are
20318 (gdb-invalidate-locals, gdb-invalidate-registers)
20319 (gdb-invalidate-breakpoints)
20320 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20321 (gdb-invalidate-memory): Accept update signal.
20322 (gdb-current-context-command): Use --frame option.
20323 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20324 Implement `gdb-frame-number' selection logic.
20325 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20326 whether to show GUD toolbar buttons.
20327 (gdb-thread-exited): Unselect current thread when it exits.
20328 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20329 (gdb-mark-line): Routine which sets overlay arrow or inverses
20330 video on fringeless displays.
20331 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20332 to build aligned columns of data in GDB buffers and set text
20333 properties line-by-line.
20334 (gdb-invalidate-breakpoints)
20335 (gdb-breakpoints-list-handler-custom)
20336 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20337 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20338 (gdb-registers-handler-custom): Align data columns.
20339 (gdb-locals-handler-custom): Now prints data like in variable
20341 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20342 Remove confusing buttons.
20343 (gdb-invalidate-threads): Append --frame.
20344 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20345 between breakpoints/threads buffers.
20346 (gdb-set-window-buffer): Now can ignore dedicated windows.
20347 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20348 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20349 (def-gdb-thread-buffer-gud-command): Replaces
20350 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20351 for fine thread control.
20352 (gdb-preempt-existing-or-display-buffer): New function used to
20353 display bound buffers without breaking window layout.
20354 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20355 (gdb-select-frame): New version of `gdb-frames-select' which now
20356 sets `gdb-frame-number' so commands may use --frame option instead
20357 of inner debugger state.
20358 (gdb-frame-handler): Do not set `gdb-frame-number'.
20359 (gdb-threads-mode-map): Select threads with mouse.
20361 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20362 avoid compilation warning.
20363 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20366 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20367 Argument `key' renamed to `buffer-type'.
20368 (gdb-current-context-buffer-name): Do not add thread info to
20369 buffer name when no thread is selected.
20370 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20371 command (bug 3794).
20372 (gdb-thread-selected): Handle `=thread-selected' notification.
20373 (gdb-wait-for-pending): New macro to deal with congestion problems.
20374 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20376 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20377 This fixes problem similar to one described in bug 3947.
20378 (gud-menu-map): More menu items.
20379 (gdb-init-1): Reset `gdb-thread-number' to nil.
20381 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20384 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20385 (gdb-current-context-command): Do not append --thread if
20386 `gdb-thread-number' is nil.
20387 (gdb-running-threads-count, gdb-stopped-threads-count):
20389 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20390 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20391 New customization options.
20392 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20394 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20395 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20396 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20397 set `gdb-thread-number' and update `gud-running' properly.
20398 (gdb-running): Update threads list when new threads appear.
20399 (gdb-stopped): Support non-stop operation and new thread switching
20401 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20402 (gdb-json-partial-output): New set of JSON routines.
20403 (def-gdb-auto-update-trigger): New `signal-list' optional
20405 (gdb-thread-list-handler-custom): Update `gud-running',
20406 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20407 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20408 (gdb-continue-thread, gdb-step-thread): New commands for fine
20409 thread execution control.
20410 (gud-menu-map): New menu items to switch non-stop options.
20411 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20412 (gdb-send): Mimic RET properly (bug 3794).
20414 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20415 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20417 (def-gdb-auto-update-handler): New nopreserve optional argument.
20418 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20420 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20421 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20422 (gdb-parent-mode): New mode to derive other GDB modes from.
20423 (gdb-display-disassembly-for-thread)
20424 (gdb-frame-disassembly-for-thread): New commands for threads
20427 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20428 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20429 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20430 (gdb-update): We now store all GDB buffers in a list so that they
20431 can be updated by traversing a list instead of calling invalidate
20432 triggers explicitly.
20433 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20434 pair for GDB buffer.
20435 (gdb-stack-buffer-name): Add thread information.
20436 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20437 handle pending triggers.
20438 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20439 (def-gdb-thread-buffer-simple-command)
20440 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20441 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20442 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20443 New commands which show buffers bound to thread.
20444 (gdb-stack-list-locals-regexp): Remove unused regexp.
20446 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20447 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20448 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20449 to (gud-comint-buffer) in *-buffer-name functions
20450 because (gdb-get-target-string) already does that.
20451 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20452 (gdb-changed-registers-handler): Rewritten without regexps.
20454 * progmodes/gdb-mi.el: Basic thread selection support.
20455 (gdb-thread-number): New variable.
20456 (gdb-current-context-command): New macro which adds --thread
20458 (gdb-threads-mode-map): Select thread with SPC.
20459 (gdb-thread-list-handler-custom): Mark current thread with overlay
20460 arrow. Synchronize GDB thread and Emacs thread.
20461 (gdb-select-thread): New command which selects current thread.
20462 (gdb-invalidate-frames, gdb-invalidate-locals)
20463 (gdb-invalidate-registers): Use --thread option.
20465 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20467 * net/tramp.el (top): Make check for tramp-gvfs loading more
20469 (tramp-handle-insert-file-contents): `unwind-protect' must be
20470 inside `with-parsed-tramp-file-name'.
20472 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20475 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20477 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20478 directory if CLASSPATH is not set.
20480 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20482 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20484 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20486 2009-08-02 Kevin Ryde <user42@zip.com.au>
20488 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20489 Update freshmeat link. Delete newsforge.com as it seems gone.
20491 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20493 * select.el (x-set-selection): Doc fix (Bug#4021).
20495 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20497 * help-fns.el (describe-variable): Treat list return values from
20498 dir-locals-find-file properly (Bug#4005).
20500 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20502 * net/tramp.el (tramp-debug-message): Print also microseconds.
20504 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20506 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20508 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20509 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20512 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20513 (tramp-get-file-property): Use it.
20515 * autorevert.el (auto-revert-handler):
20516 Allow `auto-revert-tail-mode' for remote files.
20518 2009-08-02 Jason Rumney <jasonr@gnu.org>
20520 * minibuffer.el (read-file-name): Treat confirm options to
20521 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20523 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20525 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20526 (font-lock-variable-name-face, font-lock-constant-face):
20527 Darken the colors for light backgrounds.
20529 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20531 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20532 month names. (Bug#3987)
20534 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20536 * simple.el (line-move-finish): Pass whole number to
20537 line-move-to-column.
20538 (line-move-visual): Perform hscroll to the recorded position.
20540 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20542 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20544 2009-07-29 Alan Mackenzie <acm@muc.de>
20546 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20548 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20550 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20551 (gdb-place-breakpoints): Use full path when setting breakpoints.
20553 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20555 * calc/calc.el (calc-mode-map): Add keybinding for
20556 `calc-transpose-lines'.
20558 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20560 * calc/calc-misc.el (calc-transpose-lines): New function.
20562 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20564 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20565 Simplify check for out-of-band methods.
20566 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20567 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20569 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20571 * vc-git.el (vc-git-checkin): Fix typo.
20573 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20575 * progmodes/js2-mode.el: New file.
20577 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20579 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20580 (gud-menu-map): Adjust tooltip accordingly.
20582 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20584 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20585 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20587 * add-log.el (change-log-mode-map): Add a menu.
20589 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20591 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20592 function returns nil.
20593 (dbus-handle-event): Handle special return value :ignore.
20594 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20596 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20598 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20601 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20605 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20607 * term/pc-win.el (x-display-name, x-colors)
20608 (x-select-enable-clipboard, x-select-text): Doc fix.
20610 * term/common-win.el (x-display-name, x-colors): Doc fix.
20612 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20613 (xw-defined-colors): Doc fix.
20615 * w32-fns.el (x-select-text, x-setup-function-keys)
20616 (x-get-selection, x-set-selection): Doc fix.
20618 * term/x-win.el (x-select-text, x-setup-function-keys)
20619 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20621 * select.el (x-set-selection): Doc fix.
20623 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20625 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20626 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20627 "IsNSSSupportAvailable" method is not available.
20628 Reported by Steve Youngs <steve@sxemacs.org>.
20630 2009-07-24 Kenichi Handa <handa@m17n.org>
20632 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20633 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20634 (build-unicode-category-table): Fix range checks.
20636 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20638 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20639 the buffer we try to sync is current when calling
20642 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20643 not show up to date files.
20645 2009-07-24 Glenn Morris <rgm@gnu.org>
20647 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20648 Add autoload cookies. If necessary, initialize.
20649 (elint-log): Handle non-file buffers.
20650 (elint-initialize): Add optional argument to reinitialize.
20651 (elint-find-builtin-variables): Save excursion.
20653 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20655 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20658 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20660 * vc.el (vc-print-log-internal): New function, split out from ...
20661 (vc-print-log): ... here.
20662 (vc-dir-move-to-goal-column): Declare.
20664 * vc-git.el (vc-git-add-signoff): New variable.
20665 (vc-git-checkin): Use it.
20666 (vc-git-toggle-signoff): New function.
20667 (vc-git-extra-menu-map): Bind it to menu.
20668 (vc-git--run-command-string): Accept a nil FILE argument.
20669 (vc-git-stash-list): New function.
20670 (vc-git-dir-extra-headers): Use it.
20672 2009-07-23 Glenn Morris <rgm@gnu.org>
20674 * help-fns.el (describe-variable): Describe ignored and risky local
20675 variables in a similar way to that in which we describe safe ones.
20677 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20678 (byte-compile-output-file-form, byte-compile-output-docform)
20679 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20680 Give some more local variables with common names a "bytecomp-" prefix,
20681 so as not to shadow things during compilation.
20682 * emacs-lisp/cl-macs.el (load-time-value)
20683 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20684 `outbuffer' to `bytecomp-outbuffer'.
20686 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20687 since the next two variables cover them automatically now.
20688 (elint-builtin-variables, elint-autoloaded-variables): New.
20689 (elint-unknown-builtin-args): Remove all members, since they can be
20690 parsed automatically now.
20691 (elint-extra-errors): New.
20692 (elint-env-add-env, elint-env-add-macro): Use cadr.
20693 (elint-current-buffer): Use or. Change final message.
20694 (elint-get-top-forms): Use line-end-position.
20695 (elint-init-env): Use cadr. Handle autoload, declare-function,
20697 (elint-add-required-env): Doc fix. Use or. Standardize error.
20698 (regexp-assoc): Remove unused function.
20699 (elint-top-form): Set elint-current-pos, to record the start of the
20700 top-level form, for compilation-mode.
20701 (elint-form): Trap errors in macro expansion. Use dolist.
20702 (elint-unbound-variable): Use elint-builtin-variables and
20703 elint-autoloaded-variables.
20704 (elint-get-args): Use cadr, or.
20705 (elint-check-cond-form): Use dolist, cadr.
20706 (elint-check-condition-case-form): Doc fix. Use cadr.
20707 Use elint-extra-errors.
20708 (elint-log): New function.
20709 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20710 Distinguish errors and warnings.
20711 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20712 Use a bytecomp-style format.
20713 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20714 (elint-get-log-buffer): Use compilation mode. Disable undo.
20715 Don't truncate lines.
20716 (elint-initialize): Set builtin and autoloaded variable lists.
20717 Only process elint-unknown-builtin-args if non-nil.
20718 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20720 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20722 2009-07-22 Kevin Ryde <user42@zip.com.au>
20724 * net/newst-backend.el (newsticker--parse-atom-1.0)
20725 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20726 (newsticker--parse-rss-1.0):
20727 * progmodes/idlwave.el (idlwave-mode):
20728 * progmodes/idlw-shell.el (idlwave-shell-mode):
20729 * progmodes/vera-mode.el (vera-mode):
20730 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20731 * progmodes/vhdl-mode.el (vhdl-mode):
20732 * textmodes/table.el (table-generate-source)
20733 (table--warn-incompatibility):
20734 Hyperlink urls in docstrings with URL `...'.
20736 2009-07-22 Glenn Morris <rgm@gnu.org>
20738 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20739 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20740 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20741 Remove leading * from defcustom docs.
20743 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20745 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20747 (list-load-path-shadows): Optionally, just return shadows as a string.
20749 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20751 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20753 * mail/rmailedit.el (rmail-edit-mode):
20754 Use auto-save-include-big-deletions.
20756 * mail/rmail.el (rmail-variables):
20757 Use auto-save-include-big-deletions.
20759 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20762 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20764 * calc/calc.el (calc-undo-length): New variable.
20765 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20767 2009-07-21 Richard Stallman <rms@gnu.org>
20769 * files.el (auto-save-mode): Handle buffer-save-size = -2
20772 2009-07-21 Glenn Morris <rgm@gnu.org>
20774 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20776 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20778 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20779 silence compiler. Instead...
20780 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20781 (ps-print-ensure-fontified): Update for above function name changes.
20783 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20784 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20785 silence compiler. Instead...
20786 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20787 (mh-show-buffer): Only define for compiler.
20788 (pr-mh-current-message): Update for above function name changes.
20790 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20792 (find-file-noselect, insert-file-1): Update for above change.
20794 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20796 * mail/mailclient.el (mailclient-send-it): Fix message.
20798 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20799 (edebug-eval): Check cl-debug-env is bound.
20800 (print-level, print-circle): Don't redefine built-in variables.
20802 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20803 (custom-print-vectors): Remove old comments from doc.
20805 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20806 (emerge-version): Make the variable an obsolete alias for the
20807 emacs-version variable. Make the function obsolete.
20808 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20809 Emerge options, rather than merging in into the main Options menu.
20810 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20811 and auto advance modes. Disable edit/fast items when not relevant.
20813 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20815 * term/vt420.el (terminal-init-vt420): Fix typo.
20817 2009-07-20 Sam Steingold <sds@gnu.org>
20819 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20820 variable (removed from compile.el on 2004-03-11).
20822 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20824 * files.el (hack-local-variables-filter): Fix last change.
20826 2009-07-19 Juri Linkov <juri@jurta.org>
20828 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20829 (dir-local-variables-alist): New buffer-local variable.
20830 (hack-local-variables-filter): If variable is not dir-local,
20831 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20832 because file-local overrides dir-local.
20833 (c-postprocess-file-styles) <declare-function>:
20834 Remove obsolete declaration.
20835 (hack-dir-local-variables): Add dir-local variable/value pair to
20836 `dir-local-variables-alist' and remove duplicates. Doc fix.
20838 * help-fns.el (describe-variable): Add information about
20839 file-local and dir-local variables.
20841 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20843 * files.el (hack-local-variables-filter): Rewrite.
20845 2009-07-19 Glenn Morris <rgm@gnu.org>
20847 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20848 Silence compiler by only defining on XEmacs.
20850 * international/mule.el (auto-coding-regexp-alist): Only match
20851 BABYL... at the start of buffer, not of lines. (Bug#3790)
20853 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20854 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20855 (cal-menu-context-mouse-menu): Doc fix.
20857 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20859 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20861 2009-07-18 Juri Linkov <juri@jurta.org>
20863 * info.el: Virtual Info keyword finder.
20864 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20865 (Info-finder-file): New variable.
20866 (Info-finder-find-file): New function.
20867 (finder-known-keywords, finder-package-info)
20868 (find-library-name, lm-commentary): Use defvar and
20869 declare-function to silence compiler warnings.
20870 (Info-finder-find-node): New function.
20871 (info-finder): New command.
20873 * subr.el (process-kill-buffer-query-function): New function.
20874 (add-hook)<kill-buffer-query-functions>: Add hook
20875 `process-kill-buffer-query-function'.
20877 2009-07-18 Alan Mackenzie <acm@muc.de>
20879 * progmodes/cc-mode.el (c-before-hack-hook)
20880 (c-postprocess-file-styles): Give invocation of `c-set-style'
20881 DONT-OVERRIDE parameter of t. Already set style variables will
20882 thus not be overridden by style settings given by `c-file-syle'.
20884 * files.el (hack-local-variables-filter): Remove entries with
20885 duplicate keys from `file-local-variables-alist'.
20887 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20889 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20890 x-set-selection if display-selections-p returns nil for the
20893 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20895 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20897 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20899 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20900 Accept nil in addition to a regexp.
20901 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20902 Accept nil in addition to a regexp.
20903 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20904 buffers that have an associated file. Handle nil values of
20905 desktop-buffers-not-to-save and desktop-files-not-to-save.
20908 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20909 (x-disown-selection-internal): New functions.
20911 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20913 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20915 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20916 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20918 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20920 * simple.el (set-mark): Revert last change.
20922 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20924 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20925 rendering of pngs is not possible instead of messaging a long
20928 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20930 * w32-fns.el (x-selection-owner-p): New function.
20932 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20933 (mouse-yank-at-click, mouse-yank-primary):
20934 If select-active-regions is non-nil, deactivate the mark before
20937 * simple.el (deactivate-mark, set-mark): Only save selection if we
20940 2009-07-17 Kenichi Handa <handa@m17n.org>
20942 * case-table.el (describe-buffer-case-table): Fix for the case
20943 that KEY is a cons.
20945 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20947 * vc-rcs.el (vc-rcs-find-file-hook):
20948 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20950 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20952 * net/tramp.el (tramp-wait-for-output): Handle the case when
20953 commands do not return a newline but a null byte before the shell
20956 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20958 * term/ns-win.el (ns-set-alpha): Don't declare.
20959 (ns-set-background-alpha): Remove function.
20961 2009-07-16 Kevin Ryde <user42@zip.com.au>
20963 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20964 y-or-n-p, for safety.
20966 2009-07-16 Richard Stallman <rms@gnu.org>
20968 * files.el (auto-save-mode): If buffer-saved-size is -2,
20971 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20972 (rmail-retry-ignored-headers): Add more uninteresting fields.
20974 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20976 * net/rcirc.el (rcirc): Use history variables.
20977 (rcirc-server-name-history, rcirc-nick-name-history)
20978 (rcirc-server-port-history): New variables.
20980 2009-07-15 Kenichi Handa <handa@m17n.org>
20982 * international/mule-cmds.el (set-language-environment-charset):
20983 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20986 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20987 Delete unibyte-display.
20989 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20991 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20993 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20995 * simple.el (deactivate-mark): Optional argument FORCE.
20996 (set-mark): Use deactivate-mark.
20998 * info.el (Info-search): No need to check transient-mark-mode
20999 before calling deactivate-mark.
21001 * select.el (x-set-selection): Doc fix.
21002 (x-valid-simple-selection-p): Allow buffer values.
21003 (xselect--selection-bounds): Handle buffer values.
21004 Suggested by David De La Harpe Golden.
21006 * mouse.el (mouse-set-region, mouse-drag-track):
21007 Call copy-region-as-kill before setting the mark, to let
21008 select-active-regions work.
21010 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21012 * simple.el (deactivate-mark): If select-active-regions is
21013 non-nil, copy the selection data into a string.
21014 (activate-mark): If select-active-regions is non-nil, set the
21015 selection to the current buffer.
21016 (set-mark): Update selection if select-active-regions is non-nil.
21018 * select.el (x-valid-simple-selection-p): Allow buffer values.
21020 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21022 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21023 and more featureful message-mode.
21025 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21027 * select.el (x-set-selection): Doc fix.
21028 (x-valid-simple-selection-p): Disallow selection data consisting
21029 of a list or cons of integers, since that is not used.
21030 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21031 (xselect-convert-to-string, xselect-convert-to-length)
21032 (xselect-convert-to-filename, xselect-convert-to-charpos)
21033 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21035 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21037 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21038 output in -break-info command (Emacs bug #3794).
21040 2009-07-14 Glenn Morris <rgm@gnu.org>
21042 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21043 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21044 (edebug-print-length, edebug-print-level, edebug-print-circle)
21045 (edebug-sit-for-seconds, edebug-view-outside)
21046 (edebug-bounce-point, edebug-set-global-break-condition)
21047 (edebug-Go-nonstop-mode, edebug-trace-mode)
21048 (edebug-Trace-fast-mode, edebug-continue-mode)
21049 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21050 (edebug-visit-eval-list): Doc fixes.
21052 * subr.el (def-edebug-spec): Doc fix.
21054 2009-07-14 Kenichi Handa <handa@m17n.org>
21056 * international/characters.el: Fix setting of category ?C.
21058 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21060 * term/ns-win.el (x-select-font): defalias x-select-font to
21061 ns-popup-font-panel instead of generate-fontset-menu.
21063 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21065 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21067 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21069 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21070 the PK\003\004 header (Bug#3770).
21072 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21074 * pcomplete.el (pcomplete-comint-setup): Check for
21075 shell-dynamic-complete-filename too.
21077 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21079 * simple.el (temporary-goal-column): Change the value for
21080 line-move-visual to a cons cell.
21081 (line-move-visual): Record or set the window hscroll, if
21082 necessary (Bug#3494).
21083 (line-move-1): Handle cons value of temporary-goal-column.
21085 2009-07-11 Kenichi Handa <handa@m17n.org>
21087 * international/mule-diag.el (describe-character-set): Don't show
21090 2009-07-10 Sam Steingold <sds@gnu.org>
21092 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21093 Omake sometimes indents the errors it prints, so allow all
21094 regexps to start with spaces.
21096 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21098 * cus-edit.el (customize-changed-options-previous-release):
21099 Bump value to 22.1. (Bug#3804)
21101 2009-07-08 Sam Steingold <sds@gnu.org>
21103 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21104 to be a cons cell (test . ignored-directory) to selectively ignore
21105 some directories depending on the location of the search.
21107 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21109 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21110 remote user is root, on the local host.
21111 (tramp-local-host-p): Either the local user or the remote user
21112 must be root. (Bug#3771)
21114 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21116 * progmodes/gdb-mi.el (gdb): Remove description of
21117 gdb-use-separate-io-buffer.
21118 (menu): Don't allow toggling of or enable
21119 gdb-use-separate-io-buffer from menubar.
21121 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21123 * mail/unrmail.el (unrmail): Make sure the message ends with two
21124 newlines (Bug#3769).
21126 2009-07-08 Glenn Morris <rgm@gnu.org>
21128 * calendar/calendar.el (calendar-current-date): Rework previous change.
21130 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21132 * calendar/calendar.el (calendar-current-date):
21133 Add an optional argument giving an offset from today.
21135 2009-07-08 Glenn Morris <rgm@gnu.org>
21137 * tutorial.el (tutorial--describe-nonstandard-key):
21138 Adjust the message for when a key has been unbound.
21139 (help-with-tutorial): Hide the arch-tag.
21141 2009-07-08 Kenichi Handa <handa@m17n.org>
21143 * international/fontset.el (setup-default-fontset): For each
21144 script, append (not set) font-specs.
21146 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21149 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21151 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21152 -data-list-register-names to ...
21153 (gdb-starting): ... here because GDB 7.0 requires execution to
21154 have started when using this MI command.
21155 (gdb-set-header): New function to distinguish select and
21156 unselected tabs in gdb buffers.
21157 (gdb-propertize-header): New macro that uses gdb-set-header.
21158 (gdb-breakpoints-header, gdb-locals-header): Use it.
21159 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21161 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21163 * Makefile.in (ELCFILES): Remove fadr.elc.
21165 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21167 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21168 may contain frame information, so `string-match' should be used.
21169 (gdb-update): Disassembly is invalidated through
21170 `gdb-get-selected-frame'.
21171 (gdb-pad-string): New function to pad string with spaces.
21172 (gdb-invalidate-disassembly): Invalidate only if the buffer
21174 (gdb-disassembly-handler-custom): Column alignment.
21175 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21177 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21179 (gdb-frame-handler): Match convention to for disassembly buffer
21181 (gdb-stack-list-frames-handler): Rewritten without regexps.
21182 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21183 not highlight breakpoints without line information.
21184 (gdb-input): Add trailing newline to command.
21186 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21188 (gdb-breakpoints-list-handler-custom): Replacement for
21189 `gdb-break-list-handler'. Using real parser instead of regexps
21191 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21192 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21193 to place breakpoints.
21194 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21196 (gdb-disassembly-handler-custom): Show overlay arrow.
21197 (gdb-disassembly-place-breakpoints): Show breakpoints in
21198 disassembly buffer.
21199 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21200 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21201 instead of parsing breakpoints buffer. Fixed old menu references
21206 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21207 (gdb-memory-address): New variable which holds top address of
21208 memory page shown in memory buffer.
21209 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21210 New customization variables.
21212 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21213 display the memory buffer.
21214 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21215 buffer display parameters.
21216 (def-gdb-memory-format, gdb-memory-format-binary)
21217 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21218 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21219 Functions for setting memory buffer format.
21220 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21221 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21222 unit size used in memory buffer.
21223 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21224 Switch to next/previous page of memory buffer.
21225 Now using (bindat-get-field) instead of fadr functions.
21227 2009-07-07 Sam Steingold <sds@gnu.org>
21229 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21230 non-top-level files.
21232 2009-07-07 Kenichi Handa <handa@m17n.org>
21234 * international/mule-cmds.el (reset-language-environment):
21235 Put the highset priority to the charset iso-8859-1.
21237 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21239 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21240 to the end of the line when locating the block (Bug#700).
21242 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21244 * net/tramp.el (tramp-handle-write-region): Flush file properties
21245 in case of short track.
21247 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21249 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21250 Coded custom representation of verilog error regular expressions
21251 to work with Emacs-22's new format.
21252 (verilog-error-regexp-xemacs-alist): Coded custom representation
21253 of verilog error regular expressions to work with XEmacs format.
21254 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21255 error recognition into XEmacs.
21256 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21257 error recognition into Emacs-22.
21259 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21261 * woman.el: Remove stand-alone closing parentheses.
21262 (woman-file-name, woman2-format-paragraphs)
21263 (woman-leave-blank-lines): Code cleanup.
21264 (woman-use-own-frame): Change default to nil.
21265 (woman-italic, woman-bold, woman-unknown, woman-addition):
21266 Change defaults to inherit from default faces.
21267 (woman2-process-escapes): Consume the newline after a stand-alone
21268 filler character (Bug#3651).
21270 2009-07-06 Glenn Morris <rgm@gnu.org>
21272 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21273 (top-level): Move provide to the end.
21274 (ffap): Remove defunct URL from custom group.
21276 * subr.el (eval-after-load): Doc fix.
21278 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21280 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21281 `calc-embedded-word' is called twice.
21283 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21285 * files.el (find-alternate-file-other-window, find-alternate-file):
21286 Obey confirm-nonexistent-file-or-buffer.
21288 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21290 * dired-aux.el (dired-show-file-type): Handle remote files.
21292 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21294 * desktop.el (desktop-globals-to-save):
21295 Add file-name-history (Bug#2750).
21297 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21299 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21301 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21303 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21304 property on entire argument since this is what eshell-lisp-command
21307 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21309 * net/tramp-gvfs.el (tramp-gvfs-methods)
21310 (tramp-gvfs-zeroconf-domain)
21311 (tramp-bluez-discover-devices-timeout): Add version flag.
21312 (tramp-gvfs-handler-mounted-unmounted)
21313 (tramp-gvfs-connection-mounted-p): Polish handling of
21314 incompatibilities between GVFS 0.2 and 1.0.
21316 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21318 * cus-start.el (all): Add make-pointer-invisible.
21320 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21322 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21323 formatted correctly.
21325 2009-07-02 Juri Linkov <juri@jurta.org>
21327 * info.el: Virtual Info files and nodes.
21328 (Info-virtual-files, Info-virtual-nodes): New variables.
21329 (Info-current-node-virtual): New variable.
21330 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21332 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21333 to check for a virtual file instead of checking a fixed list
21335 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21336 instead of ad-hoc processing of "dir" and (apropos history toc).
21337 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21338 instead of ad-hoc processing of "dir" and (apropos history toc).
21339 Reread a file when moving from a virtual node.
21340 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21341 (Info-directory-toc-nodes, Info-directory-find-file)
21342 (Info-directory-find-node): New functions.
21343 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21344 (Info-history): Move part of code to
21345 `Info-history-find-node'.
21346 (Info-history-toc-nodes, Info-history-find-file)
21347 (Info-history-find-node): New functions.
21348 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21349 (Info-toc): Move part of code to `Info-toc-find-node'.
21350 (Info-toc-find-node): New function.
21351 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21352 the current Info file name to references because now the node
21353 "*TOC*" belongs to the same Info manual.
21354 (Info-toc-build): Rename from `Info-build-toc'.
21355 (Info-toc-nodes): Rename input argument `file' to `filename'.
21356 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21357 instead of ad-hoc processing of ("dir" apropos history toc).
21358 (Info-index-nodes): Use Info-virtual-file-p
21359 to check for a virtual file instead of checking a fixed list
21361 (Info-index-node): Add check for `Info-current-node-virtual'.
21362 Raise `save-match-data' higher up the tree to contain
21363 `search-forward' too (bug fix).
21364 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21365 (Info-virtual-index-nodes): New variable.
21366 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21367 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21368 (Info-apropos-file, Info-apropos-nodes): New variables.
21369 (Info-apropos-toc-nodes, Info-apropos-find-file)
21370 (Info-apropos-find-node, Info-apropos-matches): New functions.
21371 (info-apropos): Move part of code to `Info-apropos-find-node' and
21372 `Info-apropos-matches'.
21373 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21374 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21375 for a virtual file instead of checking a fixed list of node names.
21377 * simple.el (async-shell-command): New command.
21379 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21381 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21382 instead of `mount-info'.
21384 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21386 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21387 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21389 2009-07-02 Kenichi Handa <handa@m17n.org>
21391 * international/mule.el (set-keyboard-coding-system): Force *-unix
21392 coding-system to avoid eol conversion.
21394 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21396 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21397 Add handler for `process-file', `shell-command' and
21398 `start-file-process'.
21399 (tramp-gvfs-handle-shell-command)
21400 (tramp-gvfs-handle-start-file-process)
21401 (tramp-gvfs-handle-process-file): New defuns.
21402 (tramp-synce-list-devices): Simplify check for existence of property.
21404 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21406 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21408 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21410 * language/korean.el (set-language-info-alist): Add korean-cp949,
21413 2009-07-01 Kenichi Handa <handa@m17n.org>
21415 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21417 * international/encoded-kb.el: Deleted.
21419 * international/mule.el (set-keyboard-coding-system): Perform the
21420 necessary setup here instead of calling encoded-kbd-setup-display.
21422 2009-07-01 Glenn Morris <rgm@gnu.org>
21424 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21426 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21428 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21430 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21432 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21433 Handle also the 'rename case, when setting file modes. (Bug#3712)
21434 (tramp-default-file-modes): Remove execute permissions.
21436 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21437 (top): Add a default for "synce" in `tramp-default-user-alist'.
21438 Add completion function for "synce" method.
21439 (tramp-hal-service, tramp-hal-path-manager)
21440 (tramp-hal-interface-manager, tramp-hal-interface-device):
21442 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21443 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21446 * net/trampver.el: Update release number.
21448 2009-06-30 Kenichi Handa <handa@m17n.org>
21450 * international/fontset.el (setup-default-fontset): Add CJK fonts
21451 for symbols and the other miscellaneous characters.
21453 * language/korea-util.el (setup-korean-environment-internal):
21454 Make char-width-table suitable for Korean environments.
21455 (exit-korean-environment): Cancel above.
21457 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21458 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21459 setup-function to make char-width-table suitable for respective
21460 environments, and an exit-function to cancel that.
21462 * language/japan-util.el (setup-japanese-environment-internal):
21463 Call use-cjk-char-width-table with arg `ja_JP'.
21465 * international/characters.el (cjk-char-width-table): Delete it.
21466 (cjk-char-width-table-list): New variable.
21467 (use-cjk-char-width-table): New arg local-name.
21468 (use-default-char-width-table): Fix for the case that Emacs is
21469 already using the default char-width-table.
21471 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21473 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21474 modes mandatory. (Bug#3712)
21476 2009-06-29 Alan Mackenzie <acm@muc.de>
21478 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21479 correction between the visible width of TABs and their number of bytes.
21481 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21483 * server.el (server-buffer-done): Prevent kill-buffer from
21484 prompting by clearing the buffer modification flag (Bug#3696).
21486 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21488 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21489 (verilog-endcomment-reason-re): Support unique case and priority case.
21490 (verilog-basic-complete-re): Support localparam lineup.
21491 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21492 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21494 (verilog-leap-to-case-head): Now support *nested* unique &
21495 priority case statements.
21496 (verilog-auto-lineup): Make just declarations the default (as it
21498 (verilog-leap-to-case-head): Support priority/unique case statements.
21499 (verilog-auto-lineup): Rework to give users radio buttons to
21500 select the various styles of automatic lineup.
21501 (verilog-error-regexp-alist): Rework to support the XEmacs style
21502 of error regular expressions from compilers, lint tools &
21503 simulators. Note that GNU Emacs has made it impossible for a mode
21504 to load such things.
21505 (electric-verilog-terminate-line, verilog-indent-declaration)
21506 (verilog-auto-wiure): Rework for radio button selection of
21507 auto-lineup selection of specification of auto lineup.
21508 (verilog-beg-of-statement-1): Redesign to support proper operation
21509 in additional code, based on testing with auto-lineup.
21510 (verilog-calculate-indent, assignments & declarations)
21511 (verilog-backward-token): Enhance to support auto-lineup of
21512 assignments & declarations.
21513 (verilog-in-directive-p, verilog-at-struct-p): New function for
21514 easy test of whether we are.
21515 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21516 to support safe execution at almost anyline.
21517 (verilog-calc-1): Properly support indenting deep inside generate
21519 (verilog-init-font): Remove definition & use of verilog-init-font,
21520 as it is redundant with font-lock-defaults.
21521 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21522 to avoid circular calls if syntax-ppss is a function (as is the
21523 case now in 22.x GNU Emacs) as that function would sometimes call
21524 itself, leading to (nearly) infinite recursion.
21525 (verilog-ovm-begin-re, verilog-ovm-end-re)
21526 (verilog-ovm-statement-re, verilog-leap-to-head)
21527 (verilog-backward-token): Add support for OVM macros. Some are
21528 complete statements, and others open and close scopes like begin
21530 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21531 (verilog-defun-level-generate-only-re): Really fix the defun-list
21533 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21534 coverpoint, constraint and cross statements.
21535 (verilog-defun-level-list, verilog-generate-defun-level-list)
21536 (verilog-all-defun-level-list): Redo these specifications - it is
21537 too hard to support eval-when compile aggregation of lists also
21538 built at when-compile time.
21539 (verilog-defun-level-list): Place defconsts of variables used in
21540 building regular expressions which are built in eval-when-compile
21541 bodies in the same eval-when-compile body to facilitate compile
21543 (verilog-beg-block-re-ordered): Support indenting
21544 virtual/protected tasks and functions.
21545 (verilog-defun-level-list, verilog-in-generate-region-p)
21546 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21547 indentation of some module items (generate items).
21548 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21549 across virtual/protected tasks and functions.
21551 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21553 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21554 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21555 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21556 in concatenations. Reported by Yishay Belkind.
21557 (verilog-auto-ascii-enum): Support one-hot state machines in
21558 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21559 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21560 modport in AUTOINST and add vl-modport for users.
21561 Reported by David Rogoff.
21562 (verilog-auto-inout-module, verilog-auto-inst)
21563 (verilog-decls-get-interfaces, verilog-insert-definition)
21564 (verilog-insert-one-definition, verilog-read-decls)
21565 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21566 (verilog-sig-modport, verilog-signals-combine-bus)
21567 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21568 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21569 Suggested by David Rogoff.
21570 (verilog-repair-open-comma): Fix non-insertion of comma when
21571 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21572 (verilog-make-width-expression): Simplify [A-1:0] expression
21573 widths to just {A{1'b0}}.
21574 (verilog-mode): Cleanup checkdoc warnings.
21575 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21576 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21577 inputs/outputs or data type. Suggested by Vasu Kandadi.
21578 (next-error-last-buffer): Fix byte-compiler warning.
21579 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21580 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21581 or shell command text during AUTO expansion. Suggested by Tad Truex.
21582 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21583 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21584 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21585 in AUTOINOUT. Reported by Matthew Lovell.
21586 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21587 causing use of <= assignments. Reported by Alex Reed.
21588 (verilog-read-decls): Fix triand, trior, wand, wor to be
21589 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21590 (verilog-extended-complete-re): Support import "DPI-C" functions.
21591 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21592 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21593 (verilog-insert-date, verilog-insert-year)
21594 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21595 Windows systems. Reported by Michael Potts.
21596 (verilog-read-module-name): Fix AUTOINST when the child module
21597 declaration's name is a tick define. Reported by Elliot Mednick.
21598 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21599 passed to next parameter's definition. Reported by Bruce T.
21600 (verilog-read-decls): Fix detecting "parameter int" when using
21601 AUTOINSTPARAM. Reported by Bruce T.
21602 (verilog-goto-defun): Fix goto not finding modules unless first
21603 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21604 (verilog-mode): Expand -f flag arguments on entry to mode so
21605 verilog-goto-defun will work. Reported by Lawrence Butcher.
21606 (verilog-getopt): Expand environment variables in -f file
21607 arguments. Suggested by Lawrence Butcher.
21608 (verilog-set-define): Fix "Symbol's value as variable is void"
21609 when reading enumerations.
21610 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21611 Suggested by Stephen Peltan.
21612 (verilog-read-defines): Fix reading of enumerations in include
21613 files. Reported by Steve Peltan.
21615 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21617 * files.el (trash-directory): Fix defcustom type.
21619 2009-06-28 Juri Linkov <juri@jurta.org>
21621 * help-fns.el (describe-function-1): Correctly locate adviced
21622 functions in hyperlink (Bug#2438).
21624 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21626 * files.el (trash-directory): Change default to nil.
21627 (move-file-to-trash): If trash-directory is nil and
21628 system-move-file-to-trash is unbound, perform freedesktop-style
21631 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21633 * files.el (move-file-to-trash): Add freedesktop trash
21636 2009-06-28 Glenn Morris <rgm@gnu.org>
21638 * autorevert.el (global-auto-revert-non-file-buffers)
21639 (global-auto-revert-mode): Doc fixes.
21641 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21643 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21645 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21647 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21648 opened an X connection before calling x-get-resource (Bug#3194).
21650 * play/doctor.el: Remove reference to obsolete website.
21651 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21653 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21655 Remove find-file-not-found-hook VC method. (Bug#2757)
21656 * vc-hooks.el (vc-file-not-found-hook)
21657 (vc-default-find-file-not-found-hook): Remove functions.
21658 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21659 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21662 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21664 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21666 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21667 compatibility function for `looking-back'.
21669 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21670 Use `ispell-looking-back'.
21672 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21674 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21675 rather than `filename'.
21677 2009-06-23 Miles Bader <miles@gnu.org>
21679 * face-remap.el (text-scale-set): New function.
21681 2009-06-23 Glenn Morris <rgm@gnu.org>
21683 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21685 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21687 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21689 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21691 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21692 Simplify Persian conditionals.
21694 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21695 variable `filename'.
21697 * comint.el (comint-insert-input): Doc fix.
21699 * Makefile.in (ELCFILES): Fix typo in previous change.
21701 2009-06-23 Miles Bader <miles@gnu.org>
21703 * cus-start.el: Add entry for `recenter-redisplay'.
21705 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21707 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21708 Add an optional argument for the backend, use it instead of
21709 calling vc-backend.
21710 (vc-mode-line): Add an optional argument for the backend.
21711 Pass the backend to vc-state and vc-working-revision. Move code for
21712 special handling for vc-state being a buffer to ...
21714 * vc-rcs.el (vc-rcs-find-file-hook):
21715 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21717 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21718 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21719 vc-stay-local-p and vc-mode-line calls.
21721 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21722 (vc-cvs-diff, vc-cvs-annotate-command)
21723 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21724 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21725 vc-mode-line calls.
21727 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21729 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21730 backend when calling vc-mode-line.
21731 (vc-register): Do not create a closure for calling the vc register
21732 function, call it directly.
21734 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21736 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21737 to make it obvious item can be clicked.
21739 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21741 2009-06-23 Kenichi Handa <handa@m17n.org>
21743 * language/korea-util.el (korean-key-bindings): Change the binding
21744 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21747 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21749 Sync with Tramp 2.1.16.
21751 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21753 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21754 when a loading of a package fails. Completion function for rsync
21755 is `tramp-completion-function-alist-ssh'.
21756 (all): Replace all calls of `split-string' and
21757 `tramp-split-string' by `tramp-compat-split-string'.
21758 (tramp-default-method): Use `tramp-compat-process-running-p'.
21759 (tramp-default-proxies-alist): Allow also Lisp forms.
21760 (tramp-remote-path): Add choice "Private Directories".
21761 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21762 (tramp-domain-regexp): Allow also "-", "_" and ".".
21763 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21764 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21765 (tramp-debug-message): Insert header line in debug buffer.
21766 (tramp-handle-directory-files-and-attributes-with-stat):
21767 Care about filenames with spaces, or starting with "-".
21768 (tramp-handle-dired-uncache): New defun.
21769 (tramp-handle-insert-directory): Don't flush the directory from
21770 cache, this is handled by `dired-uncache' now.
21771 (tramp-handle-insert-file-contents): Improve error handling.
21772 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21773 Quote `tramp-end-of-output'.
21774 (tramp-action-password): Improve trace message.
21775 (tramp-check-for-regexp): Both echoes must be present, before removing.
21776 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21777 (tramp-compute-multi-hops): Eval cons cells of
21778 `tramp-default-proxies-alist'.
21779 (tramp-maybe-open-connection): Use the same command pattern for
21780 first hop and further hops.
21781 (tramp-wait-for-output): Remove handling of newlines.
21782 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21783 (tramp-split-string): Remove function. It is handled in
21786 * net/tramp-cmds.el (tramp-bug):
21787 Recommend `tramp-cleanup-all-connections' in the bug mail.
21789 * net/tramp-compat.el (tramp-compat-split-string)
21790 (tramp-compat-process-running-p): New defuns.
21792 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21793 for `dired-uncache'.
21795 * net/tramp-gvfs.el: New package.
21797 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21798 Add handler for `dired-uncache'.
21799 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21801 * net/trampver.el: Update release number. Make version check fit
21804 2009-06-22 Jim Meyering <meyering@redhat.com>
21806 Automatically handle .xz suffix (XZ-compressed files), too.
21807 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21808 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21810 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21811 Nick Roberts <nickrob@snap.net.nz>
21813 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21814 repository (http://sphinx.net.ru/hg/gdb-mi/).
21816 2009-06-22 Glenn Morris <rgm@gnu.org>
21818 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21819 `mode' and `eval' entries. (Bug#3430)
21821 * Makefile.in (ELCFILES): Add fadr.elc.
21823 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21824 differing behavior of \n and ^ in strings. (Bug#3385)
21826 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21828 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21830 (lisp-indent-function): Make it a defcustom.
21832 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21834 * progmodes/gdb-ui.el: Replace with ...
21835 * progmodes/gdb-mi.el: ... this file.
21836 * progmodes/gud.el: Modify for gdb-mi.el.
21838 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21840 * fadr.el: New file.
21842 See ChangeLog.14 for earlier changes.
21844 ;; Local Variables:
21848 Copyright (C) 2009-2011 Free Software Foundation, Inc.
21850 This file is part of GNU Emacs.
21852 GNU Emacs is free software: you can redistribute it and/or modify
21853 it under the terms of the GNU General Public License as published by
21854 the Free Software Foundation, either version 3 of the License, or
21855 (at your option) any later version.
21857 GNU Emacs is distributed in the hope that it will be useful,
21858 but WITHOUT ANY WARRANTY; without even the implied warranty of
21859 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21860 GNU General Public License for more details.
21862 You should have received a copy of the GNU General Public License
21863 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.