1 2011-02-27 Prestoo Ten <prestooten@gmail.com>
3 * term/screen.el: New file (Bug#2650).
5 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
7 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
8 (pcase-mutually-exclusive-predicates): New var.
9 (pcase--split-consp, pcase--split-pred): Use it.
10 (pcase--split-equal, pcase--split-member): When splitting against
11 a pure predicate, run it to know the outcome.
12 (pcase--u1): Mark vars that are actually used.
13 (pcase--q1): Avoid introducing unused vars.
15 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
17 * calc/calc-ext.el (calc-init-extensions):
18 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
20 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
23 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
24 argument is a variable.
26 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
28 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
29 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
30 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
32 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
34 * password-cache.el (password-in-cache-p): Convenience function to
35 check if a key is in the cache, even if the value is nil.
37 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
39 * emacs-lisp/package-x.el (package--archive-contents-from-url)
40 (package--archive-contents-from-file): New functions.
41 (package-update-news-on-upload): New var.
42 (package-upload-buffer-internal): Extract archive-contents from
43 package-archive-upload-base if it is not found at archive-url.
44 Obey package-update-news-on-upload.
45 (package-upload-buffer, package-upload-file): Doc fix.
47 2011-02-24 Glenn Morris <rgm@gnu.org>
49 * files-x.el (modify-dir-local-variable): Handle dir-locals from
50 the cache, and from non-file sources.
52 * help-fns.el (describe-variable): Return consistent results when a
53 dir-local from a file came from the cache or did not. (Bug#8095)
54 If a dir-local has no associated file, say it came from a "directory".
56 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
57 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
59 * files.el (dir-locals-find-file): Doc fix.
60 Fix the check for cache elements that have no associated file,
61 and the mtime check for those that do. (Bug#8095)
63 * dired-x.el (dired-hack-local-variables):
64 Handle interrupts during hacking local variables. (Bug#5216)
66 * emacs-lisp/autoload.el (autoload-save-buffers)
67 (autoload-find-destination, update-directory-autoloads):
68 Avoid prompts when updating autoloads.
70 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
72 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
74 2011-02-23 Kenichi Handa <handa@m17n.org>
76 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
77 error when a multipart boundary in the nested multipart is found.
79 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
82 2011-02-23 Glenn Morris <rgm@gnu.org>
84 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
85 * dired-x.el (dired-omit-mode): Safe if boolean.
86 (dired-enable-local-variables): Fix doc and custom type.
87 (dired-enable-local-variables, dired-local-variables-file)
88 (dired-hack-local-variables): Make obsolete.
89 (dired-omit-here-always): Use dir-locals.el instead.
91 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
93 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
95 * help-fns.el (describe-function-1): Don't signal an error just because
96 the DOC file disappeared.
98 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
100 * eshell/esh-ext.el (eshell-external-command): Do not restrict
101 remote check to "ftp". (Bug#8089)
103 2011-02-21 Alan Mackenzie <acm@muc.de>
106 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
107 in macros finding their way into c-state-nonlit-pos-cache.
108 Strengthen the comments.
109 (c-state-dump): New commented out diagnostic routine.
111 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
113 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
114 `field' property of `rfn-eshadow-overlay'.
116 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
118 * net/netrc.el (netrc-parse): Comment fix.
120 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
122 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
123 Autoload. Add optional arg FRAME, and pass it to color-values.
124 (color-complement): Caller changed. Doc fix.
125 (color-gradient): Rewrite for better clarity and efficiency.
127 * faces.el (color-values): Use cond for clarity. Doc fix.
129 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
131 (list-colors-sort-key, list-colors-print):
132 Use color-normalized-values.
134 2011-02-20 Drew Adams <drew.adams@oracle.com>
136 * color.el: First part of merge from hexrgb.el.
137 (color-rgb-to-hex): Rename from color-rgb->hex.
138 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
139 saturation to zero if the value is too small.
140 (color-rgb-to-hsl): Rename from color-rgb->hsl.
141 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
142 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
143 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
144 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
145 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
146 (color-cie-de2000): Doc fix.
148 2011-02-20 Alan Mackenzie <acm@muc.de>
150 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
151 locating the beginning of a macro. (Bug#7595)
153 2011-02-20 Glenn Morris <rgm@gnu.org>
155 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
158 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
159 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
161 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
162 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
164 * progmodes/hideshow.el (hs-find-block-beginning)
165 (hs-hide-level-recursive): Ignore comments when parsing braces
168 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
170 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
171 (vc-bzr-pull): Use it.
173 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
175 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
176 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
177 but returning an alist. Ignore comments in bzr conffile.
178 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
179 (vc-bzr-error-regex-alist): New var.
180 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
182 * vc/vc-dispatcher.el (vc-do-async-command):
183 Bind inhibit-read-only to t.
185 * progmodes/compile.el (compilation--flush-directory-cache):
186 Handle the case where cdr of compilation--flush-directory-cache
187 points to no buffer, which can occur if we previously switched to
188 compilation-mode in a pregenerated buffer.
190 2011-02-19 Kenichi Handa <handa@m17n.org>
192 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
193 get the header copy into the temporary buffer.
194 (rmail-mime-insert-decoded-text): Ignore us-ascii.
195 (rmail-show-mime): When rmail-mime-coding-system is nil, set
196 buffer-file-coding-system to undecided.
198 2011-02-19 Eli Zaretskii <eliz@gnu.org>
200 * international/mule-cmds.el (read-char-by-name, ucs-insert):
201 Document completion with asterisk and a substring.
203 2011-02-19 Glenn Morris <rgm@gnu.org>
205 * files.el (find-file-literally): Doc fix.
207 * simple.el (rfc822-goto-eoh): Give it a doc-string.
209 * log-edit.el (log-edit-insert-changelog):
210 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
212 2011-02-19 Glenn Morris <rgm@gnu.org>
214 * dired-x.el: Don't require dired-aux.
215 (dired-do-create-files, dired-mark-read-regexp)
216 (dired-do-create-files-regexp): Autoload from dired-aux.
218 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
219 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
221 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
222 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
224 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
225 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
226 (dired-clean-up-buffers-too): Declare.
228 * dired-x.el (dired-initial-position): Merge into dired.el's version.
229 * dired.el (dired-initial-position): Merge dired-x's version here.
230 (dired-find-subdir): Declare.
232 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
233 * dired-aux.el (dired-add-entry): Give it a doc-string.
234 Merge dired-x's dired-omit handling here.
235 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
237 * international/mule-diag.el (list-input-methods-1):
238 Indent all lines of multi-line doc-strings. (Bug#8066)
240 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
242 Fix 2011-02-02 changes.
244 * apropos.el (apropos-print): Call apropos-mode before setting up
245 buffer variables. Use inhibit-read-only.
247 * emacs-lisp/package.el (package--list-packages):
248 Call package-menu-mode before setting up buffer variables.
250 * play/solitaire.el (solitaire): Call solitaire-mode before
251 setting up buffer variables. Use inhibit-read-only.
253 2011-02-18 Lawrence Mitchell <wence@gmx.li>
255 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
256 Bind case-fold-search to nil when looking for end of here-doc.
258 2011-02-18 Eli Zaretskii <eliz@gnu.org>
260 * image-mode.el (image-toggle-display-image):
261 Set find-file-literally non-nil in buffers visiting binary image
264 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
266 * files.el (cd): Make completion obey cd-path (bug#7924).
268 2011-02-18 Glenn Morris <rgm@gnu.org>
270 * progmodes/prolog.el: Don't require compile when compiling.
271 (compilation-shell-minor-mode, compilation-error-regexp-alist)
272 (compilation-forget-errors, compilation-fake-loc)
273 (compilation-parse-errors-function, compilation-error-list): Declare.
274 (prolog-inferior-mode): Require 'compile.
276 * emulation/cua-base.el (pc-selection-mode): Declare.
278 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
279 (customize-object): Add autoload cookie.
280 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
281 (eieio-browse, describe-class, eieio-describe-class)
282 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
283 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
284 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
285 * Makefile.in (autoloads): Make eieio.el writable.
287 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
288 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
289 (dired-hack-local-variables): Use inhibit-read-only.
290 (dired-guess-default): Simplify.
291 (dired-make-relative-symlink): Use dotimes.
292 (dired-simultaneous-find-file): Use dolist.
293 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
294 (dired-x-hands-off-my-keys): Doc fix.
295 (dired-x-bind-find-file): Doc fix. Use remapping.
296 (after-init-hook): No need to add dired-x-bind-find-file.
297 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
298 No need to call expand-file-name.
299 (dired-filename-at-point): Remove unused locals `end', `filename'.
301 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
303 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
305 2011-02-18 Christian Ohler <ohler@gnu.org>
307 * emacs-lisp/ert.el (ert--setup-results-buffer)
308 (ert-results-pop-to-backtrace-for-test-at-point)
309 (ert-results-pop-to-messages-for-test-at-point)
310 (ert-results-pop-to-should-forms-for-test-at-point)
311 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
312 were incorrect and unnecessary. This should make `make check'
315 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
317 * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
318 (allout-widgets-icons-dark-subdir): Track relocations of icons
319 * lisp/allout.el: Remove commentary about remove encryption
320 passphrase mnemonic support and verification.
321 (allout-encrypt-string): (allout-encrypt-string): Recognize epg
322 failure to decrypt gpg2 armored text using gpg1, and indicate that
323 the gpg version *might* be the problem in the error message.
325 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
327 * net/rcirc.el (rcirc-float-time): New function.
328 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
329 (rcirc-ctcp-sender-PING): Use it.
331 2011-02-17 Glenn Morris <rgm@gnu.org>
333 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
334 (speedbar-update-flag, speedbar-fetch-etags-command)
335 (speedbar-fetch-etags-arguments):
336 * term.el (term-buffer-maximum-size, term-input-chunk-size)
337 (term-completion-autolist, term-completion-addsuffix)
338 (term-completion-recexact, term-completion-fignore):
339 * term/sup-mouse.el (sup-mouse-fast-select-window):
340 * term/x-win.el (x-select-request-type):
341 Convert some defvars with "*" to defcustoms.
343 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
345 * vc/vc.el (vc-default-previous-version):
346 Remove alias that points nowhere. (Bug#4496)
348 * dired-x.el (dired-clean-up-after-deletion):
349 kill-buffer does not need save-excursion.
350 (dired-do-run-mail): Doc fix.
351 (dired-filename-at-point): Doc fix.
352 Use looking-at, and skip-chars rather than re search.
354 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
356 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
358 * allout-widgets.el: New allout extension that shows allout
359 outline structure with graphical widgets. 'allout-widgets'
360 customize group is an 'allout' subgroup, for easy discovery.
362 * allout.el: Include PGP and GnuPG in Keywords, and other
363 commentary refinements.
364 (allout-abbreviate-flattened-numbering): Rename to
365 allout-flattened-numbering-abbreviation, and
366 define-obsolete-variable-alias the old name.
367 (allout-flattened-numbering-abbreviation): Rename from
368 allout-abbreviate-flattened-numbering.
369 (allout-mode-p): Include among autoloads, for use by other modes
371 (allout-listify-exposed):
372 Use allout-flattened-numbering-abbreviation.
373 (allout-encrypt-string): Use set-buffer-multibyte directly.
374 (allout-set-buffer-multibyte): Remove.
376 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
378 * simple.el (just-one-space): Remove useless `or' call.
380 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
382 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
383 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
384 (soap-decoded-multi-refs, soap-current-wsdl)
385 (soap-encoded-namespaces): Rename CL-style *...* variables.
387 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
389 * net/soap-client.el: Add "comm" and "hypermedia" to the
390 keywords. Reflow too long lines.
392 * net/soap-inspect.el: Ditto. Require 'cl.
394 2011-02-16 Bastien Guerry <bzg@altern.org>
396 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
397 in a `doctor-type' argument.
399 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
401 * net/soap-client.el:
402 * net/soap-inspect.el: New files.
404 2011-02-16 Leo <sdl.web@gmail.com>
406 * dired-x.el (dired-mode-map, dired-extra-startup):
407 Remove dired-copy-filename-as-kill since it's already in dired.el.
409 2011-02-16 Glenn Morris <rgm@gnu.org>
411 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
412 Doc fixes. Add :set property, replacing top-level calls.
413 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
414 (dired-guess-shell-gnutar): Test tar version rather than system-type.
415 (dired-extra-startup, dired-man, dired-info): Doc fixes.
416 (dired-clean-up-after-deletion): Use when and dolist.
417 (dired-jump): Use unless and when.
418 (dired-virtual): Use line-end-position.
419 (dired-default-directory-alist): Rename from default-directory-alist.
420 (dired-default-directory): Update for above name change.
421 (dired-vm): Drop VM < 5 and simplify.
422 (dired-buffer-more-recently-used-p): Rewrite.
423 (dired-filename-at-point): Use when and or.
424 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
427 2011-02-15 Glenn Morris <rgm@gnu.org>
429 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
431 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
433 * vc/vc-git.el (vc-git-root-log-format): New option for
434 customizing log format.
435 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
436 (vc-git-log-view-mode): Use it.
437 (vc-git-expanded-log-entry): New function.
438 (vc-git-log-view-mode): Use it. Truncate lines in root log.
440 * vc/vc-hg.el (vc-hg-root-log-template): New option for
441 customizing log format.
442 (vc-hg-print-log): Use it.
443 (vc-hg-expanded-log-entry): New function.
444 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
445 vc-hg-expanded-log-entry. Truncate lines in root log.
447 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
449 * vc/log-view.el (log-view-mode-menu):
450 Add log-view-toggle-entry-display.
452 2011-02-14 Glenn Morris <rgm@gnu.org>
454 * dired-x.el: Don't require man when compiling.
455 (dired-omit-extensions, dired-local-variables-file)
456 (dired-x-hands-off-my-keys): Make them defcustoms.
457 (Man-support-local-filenames, Man-getpage-in-background): Declare.
458 (vm-visit-folder): Declare rather than defining.
459 (dired-x-help-address, dired-x-variable-list): Remove.
460 (dired-x-submit-report): Make it an obsolete alias.
462 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
464 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
466 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
468 * net/imap.el: Bring it back.
470 2011-02-13 Alan Mackenzie <acm@muc.de>
472 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
473 narrow-to-region call that cuts context off the end (Bug#7722).
475 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
476 Refactor nested if-forms with a simple cond.
477 (c-forward-<>-arglist): Revert 2011-01-31 change.
479 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
481 * vc/log-view.el: New command log-view-toggle-entry-display for
482 toggling log entries between concise and detailed forms.
483 (log-view-toggle-entry-display): New command.
484 (log-view-mode-map): Bind RET to it.
485 (log-view-expanded-log-entry-function): New variable.
486 (log-view-current-entry, log-view-inside-comment-p)
487 (log-view-current-tag): New functions.
488 (log-view-toggle-mark-entry): Use log-view-current-entry and
489 log-view-end-of-defun instead of searching directly with
491 (log-view-end-of-defun): Likewise. Add optional ARG for
492 compatibility with end-of-defun.
493 (log-view-end-of-defun): Ignore comments and VC buttons.
495 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
496 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
498 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
500 * net/imap.el: Remove file. All the functionality is in nnimap.el.
502 * net/imap-hash.el: Remove file.
504 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
506 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
508 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
511 * net/tramp-imap.el: Remove file.
513 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
515 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
516 widget library for buttons, just use button.el.
518 * vc/log-view.el (log-view-mode-map): Don't inherit from
521 2011-02-12 Glenn Morris <rgm@gnu.org>
523 * emacs-lisp/cl-seq.el (union, nunion, intersection)
524 (nintersection, set-difference, nset-difference)
525 (set-exclusive-or, nset-exclusive-or): Doc fix.
527 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
529 * faces.el (face-attr-match-p): Handle the obsolete :bold and
530 :italic props, so that frame-set-background-mode works. (Bug#7966)
532 * simple.el (next-error): Doc fix.
534 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
536 * dired-aux.el (dired-create-files): Adapt destination name to
537 match the new behavior of copy-directory.
539 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
541 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
542 from rmail-dont-reply-to-names. Callers changed.
543 (mail-dont-reply-to): Rename from mail-dont-reply-to.
544 (rmail-dont-reply-to): Make it an obsolete alias.
546 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
547 nil, and make obsolete (Bug#7888).
548 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
550 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
552 * mail/rmailsort.el (rmail-sort-by-correspondent)
553 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
555 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
557 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
559 * files.el (copy-directory): New argument COPY-CONTENTS for
560 copying directory contents into another existing directory.
562 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
564 * minibuffer.el (completion-table-case-fold): New function for
565 creating a case-insensitive completion table.
567 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
569 * net/tramp.el (tramp-default-method): Also check if
570 `auth-source-search' is bound.
571 (tramp-read-passwd): Use `auth-source-search' instead of
572 `auto-source-user-or-password'.
574 * net/tramp-imap.el: Autoload `auto-source-search' instead of
575 `auto-source-user-or-password.
576 (tramp-imap-passphrase-callback-function): Use it.
578 * net/imap-hash.el: Autoload `auto-source-search' instead of
579 `auto-source-user-or-password.
580 (imap-hash-open-connection): Use it.
582 * mail/smtpmail.el: Autoload `auto-source-search' instead of
583 `auto-source-user-or-password.
584 (smtpmail-try-auth-methods): Use it.
586 2011-02-12 Phil Hagelberg <phil@hagelb.org>
588 * emacs-lisp/package.el: Allow packages to be reinstalled.
589 (package--write-file-no-coding): Remove EXCL arg.
590 (package-unpack-single): Don't use it.
592 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
594 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
595 in each sub directory.
596 (vc-svn-registered): Use vc-svn-root.
597 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
598 (vc-svn-repository-hostname): Use "svn info".
600 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
602 * simple.el (delete-trailing-whitespace): New optional buffer
605 2011-02-11 Bastien Guerry <bzg@altern.org>
607 * files.el (basic-save-buffer): save unmodified buffers when
608 the file pointed by buffer-file-name doesn't exist.
610 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
612 * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
614 2011-02-11 Glenn Morris <rgm@gnu.org>
616 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
618 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
620 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
622 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
624 * server.el (server-process-filter): Use pcase.
626 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
628 (smie-indent--parent): Extend to "parent of arg".
629 (smie-indent-inside-string): New function.
630 (smie-indent-functions): Use it.
632 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
633 bzr locking race condition.
635 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
636 still valid before using it.
638 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
639 `message' -> `compilation-message' rename (bug#8004).
641 Move keymap initialization into declaration.
642 * textmodes/enriched.el (enriched-mode-map):
643 * textmodes/bib-mode.el (bib-mode-map):
644 * term/lk201.el (lk201-function-map):
645 * tar-mode.el (tar-mode-map):
646 * replace.el (occur-mode-map):
647 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
648 * progmodes/idlw-help.el (idlwave-help-mode-map):
649 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
650 * play/solitaire.el (solitaire-mode-map):
651 * play/snake.el (snake-mode-map, snake-null-map):
652 * play/pong.el (pong-mode-map):
653 * play/handwrite.el (menu-bar-handwrite-map):
654 * play/gametree.el (gametree-mode-map):
655 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
656 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
657 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
658 (newsticker--url-keymap):
659 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
660 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
661 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
662 (menu-bar-edit-menu, menu-bar-custom-menu)
663 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
664 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
665 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
666 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
667 (menu-bar-tools-menu, menu-bar-describe-menu)
668 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
669 (menu-bar-help-menu):
670 * mail/rmailsum.el (rmail-summary-mode-map):
671 * kmacro.el (kmacro-step-edit-map):
672 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
673 (ibuffer-mode-operate-map):
674 * hi-lock.el (hi-lock-menu, hi-lock-map):
675 * emulation/vip.el (vip-mode-map):
676 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
677 * bookmark.el (bookmark-bmenu-mode-map):
678 * help-mode.el (help-mode-map): Move initialization into declaration.
680 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
682 * net/rcirc.el: Add PRIVMSG and CTCP functions.
683 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
684 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
685 (rcirc-cmd-me, rcirc-authenticate): Use them.
687 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
689 * allout.el: Synopsis: Change allout user configuration so
690 auto-activation is controlled solely by customization
691 `allout-auto-activation'.
693 (allout-auto-activation-helper) (allout-setup): New autoloads
694 implement new custom set procedure for allout-auto-activation.
695 Also, explicitly invoke
696 (allout-setup) after allout-auto-activation is custom-defined, to
697 effect the settings in emacs sessions besides the few where
698 allout-auto-activation customization is donea.
699 (allout-auto-activation): Use allout-auto-activation-helper to
700 :set. Revise the docstring.
701 (allout-init): Reduce functionality to just customizing
702 allout-auto-activation, and mark obsolete.
703 (allout-mode): Respect string values for allout-auto-activation.
704 Run allout-after-copy-or-kill-hook without any args.
705 (allout-mode) (allout-layout) (allout-default-layout)
706 (outlineify-sticky): Adjust docstring for new scheme.
707 (allout-after-copy-or-kill-hook): No arguments - hook implementers
708 should concentrate on the kill ring.
710 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
712 * password-cache.el (password-cache-remove): Accept secrets that are
715 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
717 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
718 of here-doc that immediately follows a comment.
720 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
722 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
724 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
726 (rcirc-ctcp-sender-PING): New function.
728 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
730 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
731 Remove the mark/nomark handling, and activate shift-select-mode instead.
733 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
735 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
737 * calc/calc-units.el (math-logunits-quant): Add support for
738 non-logarithmic units.
740 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
742 * allout.el (allout-after-copy-or-kill-hook): New hook for
743 extension-specific processing of killed text.
744 (allout-mode): Include new allout-after-copy-or-kill-hook among
746 (allout-kill-line) (allout-kill-topic): Ensure that processing
747 after kill happens even if barf-if-buffer-read-only is raised.
748 Include new allout-after-copy-or-kill-hook among that subsequent
750 (allout-deannotate-hidden): Actually remove the annotation text
753 * allout.el (allout-listify-exposed): Copy text sans text properties.
755 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
757 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
759 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
761 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
763 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
765 * calc/calc.el (calc-logunits-field-reference): Rename from
766 `calc-default-field-reference-level'.
767 (calc-logunits-power-reference): Rename from
768 `calc-default-power-reference-level'
770 * calc/calc-units.el (math-logunits-quant): Rename from
771 `math-logunits-level'
772 (math-logunits-plus): Rename from math-logcombine.
773 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
774 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
775 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
777 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
778 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
779 (calc-logunits-quantity): Rename from `calc-level'.
780 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
781 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
782 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
783 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
784 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
787 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
788 (calc-ul-prefix-help): Remove.
789 (calc-l-prefix-help): New function.
790 (calc-full-help): Add reference to `calc-l-prefix-help'.
792 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
794 * calc/README: Mention logarithmic units.
796 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
798 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
799 non-ASCII characters (Bug#7925).
801 2011-02-05 Glenn Morris <rgm@gnu.org>
803 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
805 * calendar/diary-lib.el (diary-font-lock-keywords):
806 Tweak diary-time-regexp match. (Bug#7891)
808 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
809 (f90-mode): Use it for mode's `find-tag-default-function' property.
811 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
813 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
815 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
817 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
820 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
822 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
823 font-lock-syntax-table remappings.
824 (sh-here-doc-markers, sh-here-doc-re): Remove.
825 (sh-font-lock-close-heredoc): Remove.
826 (sh-syntax-propertize-here-doc): New function.
827 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
828 instead of the sh-here-doc-re.
829 (sh-font-lock-paren): Don't do anything in comments or strings.
830 Handle line continuations. Accept a few more chars.
831 Don't rely on the font-lock-syntax-table remappings.
832 `esac' is not a valid pattern.
833 (sh-syntax-propertize-function): Handle here-docs differently, so we
834 don't bother syntax-propertizing the insides.
836 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
837 Handle new bashisms ";&" and ";;&" (bug#7947).
839 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
841 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
842 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
844 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
846 * net/tramp.el (tramp-postfix-method-format)
847 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
848 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
849 (tramp-postfix-user-regexp, tramp-prefix-port-format)
850 (tramp-prefix-port-regexp, tramp-postfix-host-format)
851 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
854 2011-02-04 Sam Steingold <sds@gnu.org>
856 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
858 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
860 * international/mule-util.el (with-coding-priority): Doc fix.
862 2011-02-04 Eli Zaretskii <eliz@gnu.org>
864 * arc-mode.el (archive-mode-map): Fix a typo in last change.
866 2011-02-03 Sam Steingold <sds@gnu.org>
868 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
869 Do not error out when `func' is nil.
871 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
873 * net/tramp-sh.el (tramp-remote-path): Add default settings for
874 `tramp-default-remote-path' to the docstring.
875 (tramp-get-remote-path): Suppress error message when `getconf
878 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
880 2011-02-03 Glenn Morris <rgm@gnu.org>
882 * vc/vc-hg.el (vc-hg-command): Doc fix.
884 * term/w32-win.el (libpng-version): Declare for compiler.
886 * msb.el: No need to load dired while compiling.
888 * emacs-lisp/elint.el (elint-standard-variables):
889 Remove a couple of built-ins that now have doc-strings.
891 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
892 `require' is automatically `eval-and-compile'd.
894 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
895 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
897 * strokes.el (strokes-fill-current-buffer-with-whitespace):
898 Move definition before use.
899 (strokes-report-bug): Make it obsolete.
901 2011-02-02 Sam Steingold <sds@gnu.org>
903 * apropos.el (apropos-print): Now that `apropos-mode' inherits
904 from `special-mode', entering it makes the buffer read-only, so
905 call it only when everything has been already inserted.
906 * emacs-lisp/ert.el (ert--setup-results-buffer)
907 (ert-results-pop-to-backtrace-for-test-at-point)
908 (ert-results-pop-to-messages-for-test-at-point)
909 (ert-results-pop-to-timings): Ditto.
910 * emacs-lisp/package.el (package--list-packages): Ditto.
911 * play/solitaire.el (solitaire): Ditto.
913 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
915 * progmodes/compile.el: Make all faces inherit.
916 (compilation-warning): Inherit from font-lock-variable-name-face.
917 (compilation-info): Inherit from font-lock-type-face.
918 (compilation-line-number): Reassign to font-lock-keyword-face.
919 (compilation-column-number): Reassign to font-lock-doc-face.
920 (compilation-leave-directory-face): Reassign to
921 font-lock-builtin-face.
923 2011-02-02 Eli Zaretskii <eliz@gnu.org>
925 * dired.el (dired-insert-directory): Don't invoke `ls' when
926 ls-lisp.el is used to emulate it.
928 2011-02-01 Julien Danjou <julien@danjou.info>
930 * color.el (color-gradient): Add a color-gradient function.
932 2011-02-01 Sam Steingold <sds@gnu.org>
934 * simple.el (special-mode-map): Bind "h" to `describe-mode';
935 bind "z" to `kill-this-buffer'.
936 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
937 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
938 (apropos-mode): Inherit from `special-mode'.
939 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
940 * bookmark.el (bookmark-bmenu-mode): Define using
941 `define-derived-mode' inheriting from `special-mode'.
942 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
943 * image-mode.el (image-mode-map): Ditto.
944 * replace.el (occur-mode): Define using
945 `define-derived-mode' inheriting from `special-mode'.
946 * tar-mode.el (tar-mode): Inherit from `special-mode'.
947 * calendar/diary-lib.el (diary-fancy-display-mode):
948 Inherit from `special-mode-map'.
949 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
950 Inherit from `special-mode'.
951 * emacs-lisp/package.el (package-menu-mode-map): Copy from
953 (package-menu-mode): Define using `define-derived-mode'
954 inheriting from `special-mode'.
955 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
956 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
957 (xesam-mode-map): Define separately.
958 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
959 * progmodes/compile.el (compilation-minor-mode-map)
960 (compilation-mode-map): Inherit from `special-mode-map'.
961 * vc/diff-mode.el (diff-mode-shared-map):
962 Inherit from `special-mode-map'.
963 * vc/log-view.el (log-view-mode-map): Add a comment.
965 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
967 * custom.el (load-theme): Define return value. Drop use of
968 unsafep; call custom-theme-load-confirm for non-known-safe themes.
969 (custom-theme-load-confirm): Scroll in the correct window.
970 (custom-enabled-themes): Add custom-safe-themes to :set-after.
972 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
973 checkbox if load-theme fails.
975 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
977 * progmodes/compile.el (compilation-next-error): Check there's
978 a message before using it (bug#7941).
980 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
982 * calc/calc-mtx.el (math-lud-pivot-check): New function.
983 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
986 2011-01-31 Alan Mackenzie <acm@muc.de>
988 * progmodes/cc-cmds.el (c-forward-over-illiterals):
989 Continue parsing if we encounter a naked # (Bug#7595).
990 (c-beginning-of-statement): Avoid loop in locating the beginning
991 of a macro. (Not actually committed until 2011-02-20, see above).
993 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
995 * files.el (copy-directory): Fix arguments to recursive call.
997 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
999 * files.el (copy-directory): If destination is an existing
1000 directory, copy into a subdirectory there.
1002 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1004 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1007 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1009 * image-dired.el (image-dired-mouse-display-image): No-op if no
1010 file is found (Bug#7817).
1012 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1014 2011-01-31 Kenichi Handa <handa@m17n.org>
1016 * international/quail.el (quail-keyboard-layout-alist):
1017 Remove superfluous SPC for "pc105-uk" (bug#7927).
1019 2011-01-31 Glenn Morris <rgm@gnu.org>
1021 * msb.el (msb-menu-bar-update-buffers): Update for changed
1022 argument handling of menu-bar-select-frame. (Bug#7902)
1024 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1026 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1027 to the recursion depth (Bug#7722).
1029 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1031 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1032 command-line-default-directory (Bug#7872).
1034 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1036 * progmodes/compile.el (compilation--flush-directory-cache):
1037 New function, extracted from compilation--remove-properties.
1038 (compilation--remove-properties, compilation--parse-region): Use it.
1039 (compilation--previous-directory): Handle one more case.
1040 (compilation-enable-debug-messages): Remove.
1041 (compilation-parse-errors, compilation--flush-parse): Just remove the
1042 left over debug messages.
1044 2011-01-31 Sam Steingold <sds@gnu.org>
1046 * progmodes/compile.el (compilation-enable-debug-messages):
1047 Add a variable to make the parsing messages introduced in
1048 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1049 (compilation-parse-errors, compilation--flush-parse): Use it.
1051 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1053 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1054 (rcirc-nick-completion-format): New defcustom.
1055 (rcirc-complete): Use it.
1057 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1059 * net/rcirc.el: Clean log filenames (Bug#7933).
1060 (rcirc-log-write): Use convert-standard-filename.
1061 (rcirc-log-filename-function): Documentation updates.
1063 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1065 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1066 Check report-emacs-bug-can-use-osx-open and use that if t.
1067 (report-emacs-bug-can-use-osx-open): New function.
1068 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1069 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1071 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1073 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1074 updating Dired or VC-dir buffers after async command completes.
1076 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1077 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1079 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1080 completions if it exists. Use vc-set-async-update.
1081 (vc-git-pull): Use vc-set-async-update.
1083 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1084 read-shell-command. Use vc-set-async-update.
1085 (vc-hg-merge-branch): Use vc-set-async-update.
1087 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1089 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1090 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1093 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1095 * progmodes/compile.el: Avoid an N² behavior in grep.
1096 (compilation--previous-directory): New fun.
1097 (compilation--previous-directory-cache): New var.
1098 (compilation--remove-properties): Flush it.
1099 (compilation-directory-properties, compilation-error-properties):
1100 Use the new fun to speed up looking for the current directory.
1102 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1104 * vc/vc-hg.el (vc-hg-history): New var.
1105 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1106 (vc-hg-merge-branch): New function.
1108 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1109 the other way around.
1111 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1112 (vc-git-merge-branch): New functions.
1113 (vc-git-history): New var.
1115 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1117 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1119 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1120 vc-do-async-command.
1122 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1125 2011-01-28 Leo <sdl.web@gmail.com>
1127 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1128 highlighting to the "this function is advised" message.
1130 * help-mode.el (help-mode-finish): Apply highlighting here, to
1131 avoid clobbering by substitute-command-keys (Bug#6304).
1133 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1135 * woman.el (woman0-roff-buffer): Process roff escape sequences
1136 occurring prior to the first request (Bug#7843).
1138 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1140 * progmodes/compile.el: Don't use font-lock any more.
1141 (compilation-error-regexp-alist-alist): Change handling of makepp
1142 so it preserves the warning/error distinction on subsequent files.
1143 Simplify various rules.
1144 (compilation-directory-properties): Use font-lock-face.
1145 Add a compilation-message property.
1146 (compilation-internal-error-properties): Use font-lock-face.
1147 Don't set the compilation-debug property here.
1148 (compilation--put-prop, compilation--remove-properties)
1149 (compilation--parse-region, compilation--ensure-parse)
1150 (compilation--ensure-parse): New functions.
1151 (compilation-parse-errors): New function, largely inspired of
1152 compilation-mode-font-lock-keywords. Set compilation-debug here.
1153 (compilation--parsed): New var.
1154 (compilation--flush-parse): Use compilation--ensure-parse.
1155 (compilation-start): Don't call font-lock.
1156 (compilation-turn-on-font-lock): Remove.
1157 (compilation-setup): Don't set font-lock-extra-managed-props not change
1158 other font-lock settings, other than keywords.
1159 Don't activate font-lock-mode.
1160 Set change-major-mode-hook and before-change-functions.
1161 (compilation--unsetup): Remove properties and hooks.
1162 (compilation-next-single-property-change): New function.
1163 (compilation-next-error): Use it to parse when needed.
1164 (compile-goto-error): Parse buffer as needed.
1165 (compilation--compat-error-properties): Don't need a dummy `face'
1168 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1170 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1171 (compilation-process-setup-function): Fix docstring's false promises.
1172 (compilation-error-regexp-alist-alist): Catch omake's continuous
1173 recompilation message and avoid reuse of old markers.
1174 (compilation-parse-errors-function): Declare obsolete.
1175 (compilation-buffer-modtime): Remove.
1176 (compilation--make-cdrloc, compilation--loc->col)
1177 (compilation--loc->line, compilation--loc->file-struct)
1178 (compilation--loc->marker, compilation--loc->visited)
1179 (compilation--make-file-struct, compilation--file-struct->file-spec)
1180 (compilation--file-struct->formats)
1181 (compilation--file-struct->loc-tree): New macros. Use them.
1182 (compilation--message): New defstruct. Use them.
1183 (compilation-next-error-function): Don't mess with timestamps to try
1184 and guess when to reparse.
1186 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1188 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1189 (tex-old-error-file-name): New function,
1190 extracted from tex-compilation-parse-errors.
1191 (tex-compilation-parse-errors): Remove.
1192 (tex-error-regexp-alist): New var.
1193 (tex-shell): Use it to avoid compilation-parse-errors-function.
1195 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1196 (grep-mode-font-lock-keywords): Remove regexp that seems like
1197 a left-over from before we used compile.el.
1198 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1199 modifying the buffer within with-silent-modifications.
1201 * progmodes/compile.el: Cleanup text-properties namespace by using
1202 `compilation-message' instead of `message', `compilation-directory'
1203 instead of `directory', and `compilation-debug' instead of `debug'.
1204 (compilation-last-buffer, compilation-parsing-end)
1205 (compilation-error-list, compilation-old-error-list): Move to the
1206 compatibility part of the code.
1207 (compilation-error-properties): If `file' is a function, let it return
1209 (compilation-mode-font-lock-keywords): Be more conservative with the
1210 omake "^ *" pattern prefix, to try and minimize the risk of
1211 pathologically slow regexp matching.
1212 (compilation-start): Use inhibit-read-only.
1213 (compilation--unsetup): New function.
1214 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1215 (compilation-filter): Minor tweaks.
1216 (compilation-next-error-function): Try and avoid abusing variables.
1217 (compilation--flush-file-structure): New fun.
1218 (compilation-fake-loc): Use it to improve behavior when file is reused.
1219 (debug-ignored-errors): Add "Moved past last ...".
1220 (compilation--compat-error-properties)
1221 (compilation--compat-parse-errors): Rename by doubling the "-".
1223 Port features from the previous prolog.el to the new one.
1224 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1225 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1226 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1227 variable and use a function to compute the value dynamically.
1228 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1229 (prolog-continued-prompt-regexp): Remove, unused.
1230 (prolog-find-value-by-system): Try and use the value of prolog-system
1231 in the *prolog* buffer if it helps.
1232 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1233 (prolog-zip-on): ..and check prolog-system and version here instead.
1234 (prolog-inferior-self-insert-command): New command.
1235 (prolog-inferior-mode-map): Use it.
1236 (prolog-inferior-error-regexp-alist): New var.
1237 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1238 (prolog-input-filter): Use derived-mode-p.
1239 (prolog-inferior-guess-flavor): New function.
1240 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1241 make-comint to avoid running comint-mode twice.
1242 (prolog-inferior-buffer): New fun.
1243 (prolog-old-process-region, prolog-old-process-file):
1244 Don't call prolog-bsts here...
1245 (prolog-build-prolog-command): ...do it here instead.
1246 (prolog-old-process-region, prolog-old-process-file):
1247 Use compilation-fake-loc and compilation-forget-errors.
1248 (prolog-consult-compile-region): Use bolp.
1250 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1252 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1254 2011-01-27 Sam Steingold <sds@gnu.org>
1256 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1257 Remove "*server*" which is never created by emacs server.
1259 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1261 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1262 there are some diff switches.
1264 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1266 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1267 Copy change made to ruby-font-lock-syntactic-keywords.
1269 * htmlfontify.el: Make it obey the font-lock-face text property.
1270 Miscellaneous cleanup such as:
1271 - Don't hide expressions after a closing paren.
1272 - Move initial setq into let.
1273 - Hoist common parts out of ifs.
1274 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1275 (hfy-face-at): Use get-text-property instead.
1276 (hfy-prop-invisible-p): Use invisible-p if available.
1277 (htmlfontify-manual): Use \\[...].
1278 (hfy-html-quote-regex): Use [...].
1279 (hfy-combined-face-spec): Simplify.
1280 (hfy-compile-face-map): Don't presume point-min==1.
1281 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1282 match end of string.
1283 (hfy-text-p): η-reduce.
1284 (hfy-tags-for-file): Receive cache-hash directly.
1285 (hfy-mark-tag-names): Adjust call.
1287 2011-01-27 Glenn Morris <rgm@gnu.org>
1289 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1290 (msb-after-load-hook): Remove eval-after-load wackiness.
1292 2011-01-25 Sam Steingold <sds@gnu.org>
1294 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1295 literal "diff" (important for windows-nt).
1297 2011-01-25 Glenn Morris <rgm@gnu.org>
1299 * emacs-lisp/copyright.el (copyright-at-end-flag)
1300 (copyright-names-regexp): Add safety properties.
1301 (copyright-year-ranges): New option.
1302 (copyright-find-end): New function, split from copyright-update-year.
1303 (copyright-update-year): Use copyright-find-end.
1304 (copyright-fix-years): Optionally, convert years to ranges.
1305 Handle years continued over comment lines.
1306 Do not mess with the fill-prefix.
1307 Do not call copyright-update.
1308 (copyright-update-directory): Optionally, fix years rather than update.
1309 Skip directories. Find files with only safe local vars.
1311 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1313 * files.el (file-name-non-special): Only change buffer-file-name after
1314 insert-file-contents if it's `visit'ing the file (bug#7854).
1316 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1318 * dired.el (dired-revert): Doc fix (Bug#7758).
1320 * simple.el (line-move-visual): Doc fix (Bug#7594).
1322 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1324 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1325 here-doc which ends with an underscore.
1326 (ruby-mode-set-encoding): Skip shebang line always.
1327 (ruby-mode-map): Bind C-c C-c to comment-region.
1328 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1329 (ruby-forward-sexp): Stop after literal hash key labels.
1330 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1333 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1335 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1336 the correct buffer (Bug#7650).
1338 2011-01-25 Glenn Morris <rgm@gnu.org>
1340 * comint.el (comint-mode): Doc fix. (Bug#7897)
1342 * simple.el (do-auto-fill): Give it a doc string.
1344 * button.el (make-text-button): Doc fix. (See bug#7881)
1346 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1348 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1349 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1351 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1352 Handle ?" and friends differently (e.g. don't use backrefs).
1354 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1356 * calc/calc.el (calc-default-power-reference-level)
1357 (calc-default-field-reference-level): New variables.
1358 * calc/calc-units.el (math-standard-units): Add dB and Np.
1359 (math-logunits): New variable.
1360 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1361 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1362 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1364 (math-find-base-units-rec): Add entry for ln(10).
1365 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1366 (calc-ul-prefix-help): New function.
1367 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1368 functions. Add keybindings for new units functions.
1370 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1372 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1373 rcirc buffers. (Bug#4940)
1375 2011-01-22 Glenn Morris <rgm@gnu.org>
1377 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1378 split out from copyright-update-year.
1379 (copyright-update): Don't mess with the GPL version if we don't own the
1380 copyright. Update license regexp, and remove no longer needed
1382 (copyright-fix-years): Use copyright-find-copyright.
1384 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1386 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1388 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1390 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1391 (lm): Rename to landmark.
1392 (lm-test-run): Rename to landmark-test-run.
1394 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1396 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1397 "Case sensitive" menu item.
1399 2011-01-22 Roland McGrath <roland@frob.com>
1401 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1402 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1404 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1406 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1408 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1410 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1411 Assume foo(bar) is a manpage reference rather than some unquoted
1414 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1416 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1417 Suggested by Flo <sensorflo@gmail.com>.
1419 2011-01-22 Glenn Morris <rgm@gnu.org>
1421 * progmodes/compile.el (compilation-error-regexp-alist):
1422 Fix custom type. (Bug#7812)
1424 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
1426 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1427 allout-number-siblings, in keeping with what obtained due to
1428 (now-defunct) allout-keybindings-list. Ditch repeat binding to
1430 (allout-before-change-handler): Better expose spots affected by
1433 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1435 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1437 2011-01-22 Phil Hagelberg <phil@evri.com>
1439 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1440 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1441 (pcmpl-ssh-config-hosts): New function.
1442 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1443 pcmpl-ssh-known-hosts.
1445 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1447 * calc/calc-undo.el (calc-undo): Autoload it.
1448 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1449 and autoload for `calc-undo'.
1450 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1451 * calc/calc-prog.el:
1452 * calc/calc-graph.el:
1453 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1455 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
1457 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1458 keybindings to `calc-undo'.
1460 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1462 Don't mess with *temp*.
1463 * obsolete/spell.el: Move from textmodes/spell.el.
1465 * term.el (term-read-input-ring):
1466 * startup.el (display-startup-echo-area-message):
1467 * progmodes/antlr-mode.el (antlr-directory-dependencies):
1468 * comint.el (comint-read-input-ring): Use with-temp-buffer.
1469 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1472 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
1474 * allout.el (allout-institute-keymap): Use fset instead of
1475 reapplying defalias.
1477 (allout-hotspot-key-handler): Check for non-control-modified
1478 bindings for hotspot characters if there are no control-modified
1481 * allout.el: Summary - migrate to defining allout mode using
1482 define-minor-mode instead of defun. Significantly clean-up
1483 internal keymap provisions, refactoring and, in the process,
1484 removing a lot of accumulated cruft.
1486 allout-mode-map is now a keymap by virtue of being a defalias to
1487 allout-mode-map-value, which contains the actual keymap structure.
1489 (allout-mode): Use define-minor-mode rather than defun.
1490 Remove now-unnecessary minor-mode setup activities from the body.
1491 Specify :keymap as allout-mode-map so the minor-mode-map-alist
1492 entry will be '(allout-mode . allout-mode-map) - see
1493 allout-mode-map-value, below. Adjust docstring to track changes.
1494 (allout-minor-mode): Remove this defalias, now that we're using
1496 (allout-mode-map): Set value to be 'allout-mode-map. The actual
1497 keymap is allout-mode-map-value, via defalias.
1498 (allout-mode-map-value): The variable holding the actual mode
1499 keymap structure, by virtue of defalias from allout-mode-map.
1500 (allout-compose-and-institute-keymap): Rename from
1501 allout-bind-keys, and including the binding-composition
1502 functionality of the former produce-allout-mode-map and
1503 allout-setup-mode-map.
1504 (allout-institute-keymap): Take over the "setup" part of the former
1505 allout-setup-mode-map. Reassign allout-mode-map-value value and
1506 update the defalias.
1507 (allout-command-prefix) (allout-prefixed-keybindings)
1508 (allout-unprefixed-keybindings):
1509 Use allout-compose-and-institute-keymap to process the bindings.
1510 (allout-unprefixed-keybindings): Remove extraneous '?' question
1512 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1513 user can customize if they want to use that binding.
1514 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1515 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
1516 elided that, previously, instead of the one for \C-h.)
1517 (allout-hotspot-key-handler): Remove attempt to resolve the key
1518 through the literal key-string lookup on allout-keybindings-list.
1519 That probably hasn't worked for a Long Time, and removal of
1520 allout-keybindings-list further simplifies the keybindings
1522 (allout-pre-command-business): Use allout-mode-map-value instead
1524 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1525 the bindings if they want to use a keybinding having a trailing
1526 \C-h. No deprecation needed since this feature was never in a
1528 (allout-keybindings-list): Remove. It's not been useful for a
1529 while. (See allout-hotspot-key-handler changes, above.)
1530 (produce-allout-mode-map): Remove. Consolidate into
1531 allout-compose-and-institute-keymap.
1532 (allout-mode-map-adjustments): Remove. No longer necessary with
1533 removal of allout-preempt-trailing-ctrl-h.
1534 (allout-setup-mode-map): Remove. Consolidate into
1535 allout-compose-and-institute-keymap and allout-institute-keymap.
1537 2011-01-20 Glenn Morris <rgm@gnu.org>
1539 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1541 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1543 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1545 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1547 * files.el (find-alternate-file, basic-save-buffer)
1548 (basic-save-buffer-2, revert-buffer, recover-file)
1549 (kill-buffer-ask, abort-if-file-too-large)
1550 (set-visited-file-name, write-file, backup-buffer)
1551 (basic-save-buffer, save-some-buffers):
1552 * dired-aux.el (dired-compress-file): Callers changed.
1554 2011-01-19 Glenn Morris <rgm@gnu.org>
1556 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1557 Also check the property status. (Bug#7861)
1559 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1561 * net/tramp.el (tramp-debug-message): Extend function exclude
1562 list. Use `regexp-opt'.
1564 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1566 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1567 highlighting doesn't spill over subsequent lines.
1569 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1570 keymap expression. Improve docstring.
1572 * electric.el (electric-indent-post-self-insert-function):
1573 Don't auto-indent for indent-to-left-margin, it's too often
1576 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1578 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1579 spaces if the frame was resized, so that the full visible buffer
1580 serves as canvas for strokes.
1582 2011-01-16 Glenn Morris <rgm@gnu.org>
1584 * info-xref.el (info-xref-docstrings): Replace cl function.
1585 Also skip directories.
1587 2011-01-16 Kevin Ryde <user42@zip.com.au>
1589 * info-xref.el: Version 3.
1590 (info-xref-check, info-xref-check-all): Move commentary details
1591 into docstrings for better visibility.
1592 Use compilation-mode for the results buffer.
1593 (info-xref-output, info-xref-output-error, info-xref-with-output)
1594 (info-xref-filename, info-xref-in-progress):
1595 New internals for this.
1596 (info-xref-check-list, info-xref-check-buffer)
1597 (info-xref-check-all-custom): Use those.
1598 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1599 (info-xref-output-heading): Rename from info-xref-filename-heading.
1600 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1601 (info-xref-filename-heading): Move to output managing section.
1602 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1603 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1604 (info-xref-subfile-p): Move to generic section with those two.
1605 (info-xref-check-node): New function split from
1606 info-xref-check-buffer, shared by info-xref-docstrings.
1607 (info-xref-goto-node-p): Move to a checking section with that func.
1608 (info-xref-unavail): New counter.
1609 (info-xref-check-node): Use it.
1610 (info-xref-with-output): Show count of unavailables at end of output.
1611 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1612 symlinks. Exclude .texi files. Exclude Emacs backup files.
1613 (info-xref-check-all-custom): Fix quietening viper-mode and
1614 gnus-registry-install -- use setq not let so as not to unbind
1617 2011-01-16 Juri Linkov <juri@jurta.org>
1619 * isearch.el (isearch-abort): Don't quit if search has
1620 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1622 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1624 * files.el (backup-buffer): Make last-resort backup file in
1625 .emacs.d (Bug#6953).
1627 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1628 make it with permission 700.
1630 2011-01-15 Kenichi Handa <handa@m17n.org>
1632 * mail/rmailmm.el (rmail-mime-insert-header):
1633 Set rmail-mime-coding-system to a cons whose car is the last coding
1634 system used to decode the header.
1635 (rmail-mime-find-header-encoding): New function.
1636 (rmail-mime-insert-decoded-text):
1637 Override rmail-mime-coding-system if it is a cons.
1638 (rmail-show-mime): If only a header part was decoded, find the
1639 coding system while ignoring mm-charset-override-alist.
1641 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1643 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1645 2011-01-15 Kenichi Handa <handa@m17n.org>
1647 * mail/rmailmm.el (rmail-mime-next-item)
1648 (rmail-mime-previous-item): Delete them.
1649 (rmail-mime-shown-mode): Recursively call for children.
1650 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1652 (rmail-mime-raw-mode): Recursively call for children.
1653 (rmail-mode-map): Change mapping of tab and backtab to
1654 forward-button and backward-button respectively.
1655 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1657 (rmail-mime-update-tagline): New function.
1658 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1659 body display is changed.
1660 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1661 (rmail-mime-image): Delete this button type.
1662 (rmail-mime-toggle): New button type.
1663 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1664 body display is changed. Change the save button label to "Save".
1665 Don't process show/hide button here.
1666 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1667 the body display is changed. Unconditionally call
1668 rmail-mime-insert for children.
1669 (rmail-mime-handle): Update `display' vector of the just inserted
1671 (rmail-mime-process): If mail-header-parse-content-type returns
1672 nil, use "text/plain" as the fallback type.
1673 (rmail-mime-insert): For raw-mode, recursively call
1674 rmail-mim-insert for children.
1675 (rmail-mime): Handle the case that the current buffer is not rmail
1676 buffer (e.g. in summary buffer).
1678 2011-01-15 Kenichi Handa <handa@m17n.org>
1680 * mail/rmailmm.el (rmail-mime-next-item)
1681 (rmail-mime-previous-item): Skip the body of a non-multipart
1682 entity if a tagline is shown.
1684 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1686 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1687 (tmm-prompt): Simplify.
1688 (tmm-add-prompt): Remove unused var `win'.
1690 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1691 to minor mode which used nil accidentally to mean "turn off".
1693 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1695 * net/tramp-sh.el (tramp-find-inline-compress)
1696 (tramp-get-inline-coding): Quote command after pipe symbol for
1697 local calls under W32. (Bug#6784)
1699 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1701 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1702 only when running under W32.
1704 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1706 * progmodes/grep.el (grep-compute-defaults): Quote the program
1707 file name after the pipe symbol in Grep templates. (Bug#6784)
1708 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1710 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1712 * buff-menu.el (Buffer-menu-buffer-list): New var.
1713 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1714 restricted buffer list is not lost on revert (Bug#7749).
1716 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1718 * net/ldap.el (ldap-search-internal): Discard stderr output.
1720 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1722 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1724 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1726 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1728 2011-01-15 Kenichi Handa <handa@m17n.org>
1730 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1731 part as a plain text.
1732 (rmail-mime-process-multipart): Set the default content-type to
1733 nil for unknown multipart subtypes (bug#7651).
1735 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1737 * hexl.el (hexl-mode-old-*): Remove.
1738 (hexl-mode--old-var-vals): New var to replace them.
1739 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1740 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1741 Use them to set local vars (bug#7846).
1742 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1743 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1744 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1746 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1747 (smerge-resolve--normalize-re): New var.
1748 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1749 (smerge-resolve): Use them.
1750 * newcomment.el (comment-only-p): New function.
1751 (comment-or-uncomment-region): Use it.
1753 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1755 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1756 table, get the value before switching to the output buffer. (Bug#7733)
1758 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1760 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1762 2011-01-14 Kim F. Storm <storm@cua.dk>
1764 * emulation/cua-base.el (cua--init-keymaps):
1765 Remap exchange-point-and-mark in cua-global-keymap.
1767 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1769 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1772 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1774 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1776 (easy-menu-create-menu, easy-menu-convert-item-1):
1777 Use :label rather than nil for labels. Use `case'.
1778 Add :enable as alias for :active.
1779 (easy-menu-binding): Obey :label.
1781 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1783 Use run-mode-hooks for major mode hooks (bug#513).
1784 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1785 Rename from reftex-toc-map.
1786 (reftex-toc-mode): Use define-derived-mode.
1787 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1788 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1789 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1790 (reftex-select-label-mode, reftex-select-bib-mode):
1791 Use define-derived-mode.
1792 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1793 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1794 Move init into delcaration.
1795 (reftex-index-mode, reftex-index-phrases-mode):
1796 Use define-derived-mode.
1797 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1798 speedbar-syntax-table. Move init into declaration.
1799 (speedbar-mode-map): Rename from speedbar-key-map.
1800 Move init into declaration.
1801 (speedbar-file-key-map): Move init into declaration.
1802 (speedbar-mode): Use define-derived-mode.
1803 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1804 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1805 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1806 (chart-face-list): Move initialization into declaration.
1807 (chart-mode): Use define-derived-mode.
1808 * calculator.el (calculator-mode-map): Move init into declaration.
1809 (calculator-mode): Use define-derived-mode.
1811 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1812 work for nested comments.
1814 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1815 (prolog-use-prolog-tokenizer-flag): Change default when
1816 syntax-propertize can be used.
1817 (prolog-syntax-propertize-function): New var.
1818 (prolog-mode-variables): Move make-local-variable into `set'.
1819 Don't make comment-column local since we don't set it.
1820 Set comment-add (as it was in previous prolog.el). Use dolist.
1821 Set syntax-propertize-function.
1822 (prolog-mode, prolog-inferior-mode):
1823 Call prolog(-inferior)-menu directly, not through the mode-hook.
1824 (prolog-buffer-module, prolog-indent-level)
1825 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1826 (prolog-comment-limits, prolog-goto-comment-column):
1827 Use line-(end|beginning)-position.
1828 (prolog-build-prolog-command): Tighten up regexp.
1829 (prolog-consult-compile): Move make-local-variable into `set'.
1830 (prolog-consult-compile-filter, prolog-goto-next-paren)
1831 (prolog-help-on-predicate, prolog-clause-info)
1832 (prolog-mark-predicate): Don't let+setq.
1833 (prolog-indent-line): Use indent-line-to.
1834 Only call prolog-goto-comment-column if necessary.
1835 (prolog-indent-level): Use bobp.
1836 (prolog-first-pos-on-line): Remove, not used any more.
1837 (prolog-in-string-or-comment): Use syntax-ppss if available.
1838 (prolog-help-on-predicate): Use read-string.
1839 (prolog-goto-predicate-info): Simplify.
1840 (prolog-read-predicate): Use `default' rather than `initial'.
1841 (prolog-temporary-file): Use make-temp-file to close a security hole.
1842 (prolog-toggle-sicstus-sd): New command.
1843 (prolog-electric-underscore, prolog-variables-to-anonymous):
1844 Use dynamic-scoping as it was meant.
1845 (prolog-menu): Move menu definitions to top-level.
1846 Use a toggle-button for Sicstus's source debugger.
1847 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1849 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1850 Move other menu definition to top-level.
1852 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1854 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1855 name. Keep original document's directory as default-directory
1857 (doc-view-initiate-display): Fall back to normal mode when
1858 doc-view-mode cannot be enabled, also when extracting the document
1859 text into a separate buffer (bug#6446).
1861 * simple.el (shell-command): Don't error out if shell command
1862 buffer contains text with non-nil read-only property when erasing
1865 2011-01-13 Kim F. Storm <storm@cua.dk>
1867 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1868 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1869 items when cycling through the matches.
1871 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1873 * dired-x.el (dired-omit-verbose): New defcustom that allows
1874 disabling the omit messages.
1875 (dired-omit-expunge): Use it.
1877 2011-01-13 Christian Ohler <ohler@gnu.org>
1879 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1881 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1883 * font-lock.el (font-lock-verbose): Default to nil.
1885 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1887 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1888 (compose-mail): New arg RETURN-ACTION.
1889 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1891 * mail/sendmail.el (mail-return-action): New var.
1892 (mail-mode): Make it buffer-local.
1893 (mail-bury): Obey it. Move special Rmail window handling to
1895 (mail, mail-setup): New arg RETURN-ACTION.
1896 (sendmail-user-agent-compose): Move from simple.el.
1898 * mail/rmail.el (rmail-mail-return): New function.
1899 (rmail-start-mail): Pass it to compose-mail.
1901 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1903 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1904 menus. Add menu item for customize-themes.
1906 * cus-theme.el (customize-themes):
1907 * emacs-lisp/package.el (package--list-packages):
1908 Use switch-to-buffer.
1910 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1912 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1914 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1916 * progmodes/prolog.el: Fix up coding convention and such.
1917 (prolog-indent-width): Use the same default as in
1918 previous prolog.el rather than tab-width which depends on which buffer
1919 is current when the file is loaded.
1920 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1922 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1923 (prolog-known-systems): Remove.
1924 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1925 Move initialization into declaration.
1926 (prolog-mode-map): Move initialization into declaration.
1927 Remove system-specific mode-map vars, since they referred to the same
1929 (prolog-mode-variables): Obey the user's preference w.r.t
1930 adaptive-fill-mode. Prefer symbol-value to `eval'.
1931 (prolog-mode-keybindings-edit): Add compatibility bindings.
1932 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1933 (mercury-mode-map): New var.
1934 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1935 (prolog-ensure-process, prolog-process-insert-string)
1936 (prolog-consult-compile): Use with-current-buffer.
1937 (prolog-guess-fill-prefix): Simplify data flow.
1938 (prolog-replace-in-string): New function to use instead of
1940 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1941 (prolog-uncomment-region): Use `uncomment-region' when available.
1942 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1943 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1944 of int-to-char and char-to-int.
1945 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1947 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1949 * progmodes/prolog.el: Replace by a whole new file.
1951 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1953 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1954 (declare-function, undefined, insert-for-yank)
1955 (replace-regexp-in-string): Follow checkdoc's recommendations.
1957 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1959 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1960 refreshing the diary buffer.
1962 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1964 * allout.el: Add 2011 to the file copyright.
1965 (allout-encrypt-string): Prevent encryption from adding an extra
1966 newline at the end of the topic body.
1967 (allout-version): Increment to 2.3.
1969 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1971 * net/dbus.el (dbus-unregister-service): Complete doc.
1972 Fix call of dbus-error signal.
1973 (dbus-register-property): Use `dont-register' keyword.
1975 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1977 * net/dbus.el (dbus-unregister-service): Translate returned
1978 integer into a symbol.
1979 (dbus-register-property): Use `dbus-register-service' to do the
1982 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1984 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1985 Suggested by Joakim Verona.
1987 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1989 * wid-edit.el (visibility): Replace :on-image and :off-image
1990 widget properties with :on-glyph and :off-glyph, for consistency
1991 with the `visibility' widget.
1992 (widget-toggle-value-create, widget-visibility-value-create):
1993 Merge into a single function `widget-toggle-value-create'.
1995 * cus-edit.el (custom-variable-value-create, custom-visibility)
1996 (custom-face-edit-value-create, custom-face-value-create):
1997 Replace :on-image and :off-image widget properties with :on-glyph and
1998 :off-glyph, for consistency with the `visibility' widget.
2000 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2002 * net/ldap.el (ldap-search-internal): Don't use eval.
2004 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2006 * subr.el (read-char-choice): Use read-key.
2008 * custom.el (custom-safe-themes): Rename from
2009 custom-safe-theme-files. Add :risky tag.
2010 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2011 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2013 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2015 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2016 from Search and add a label to Undo.
2018 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2019 inappropriate buttons and adding :vert-only tags.
2021 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2022 removal of Help tool-bar button. Remove Undo button for space.
2024 * info.el (info-tool-bar-map): Add :vert-only tags.
2026 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2028 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2029 image backend support. Either of them is fine.
2031 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2033 * subr.el (y-or-n-p): Doc fix.
2035 * custom.el (custom-safe-theme-files): New defcustom.
2036 (custom-theme-load-confirm): New function.
2037 (load-theme): Load theme using `load', confirming with
2038 custom-theme-load-confirm if necessary.
2040 * subr.el (read-char-choice): New function, factored out from
2041 dired-query and hack-local-variables-confirm.
2043 * dired-aux.el (dired-query):
2044 * files.el (hack-local-variables-confirm): Use it.
2046 * dired-aux.el (dired-compress-file):
2047 * files.el (abort-if-file-too-large, find-alternate-file)
2048 (set-visited-file-name, write-file, backup-buffer)
2049 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2050 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2051 Use new format string args for y-or-n-p and yes-or-no-p.
2053 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2055 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2056 [gcc-include]: Tighten file name match, add match for column
2058 [gnu]: Remove unused group.
2060 2011-01-08 Glenn Morris <rgm@gnu.org>
2062 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2064 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2066 2011-01-07 Sam Steingold <sds@gnu.org>
2068 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2069 the `explicit-shell-file-name' because that is the
2070 non-interactive shell.
2072 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2074 * subr.el (y-or-n-p): Accept format string args.
2076 2011-01-07 Glenn Morris <rgm@gnu.org>
2078 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2080 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2082 * allout.el (allout-back-to-current-heading): Ensure return to
2083 the visible containing topic, rather than a collapsed one.
2084 (allout-view-change-hook): Remove hook that was deprecated long ago.
2085 (allout-exposure-change-hook): Remove documentation remarks
2086 concerning removed allout-view-change-hook.
2087 (allout-flag-region): Remove invocation of and documentation
2088 remarks concerning allout-view-change-hook.
2090 2011-01-06 Glenn Morris <rgm@gnu.org>
2092 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2093 (vc-bzr-annotate-extract-revision-at-line):
2094 Handle authors with embedded spaces. (Bug#7792)
2096 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2098 * doc-view.el (doc-view-image-width): New variable.
2099 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2100 backend for PNG images, and do dynamic rescaling instead of
2101 reconverting the whole doc.
2103 2011-01-05 Glenn Morris <rgm@gnu.org>
2105 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2107 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2109 * allout.el: Reconcile with changes in line movement behavior for
2110 long text lines that cross more than a single physical window
2111 line, ie when truncate-lines is nil.
2112 (allout-next-visible-heading): Provide for change in line-move
2113 behavior on long lines when truncate-lines is nil. In that case,
2114 line-move can wind up on the same textual line when it moves to
2115 the next window line, and moving to the bullet position after the
2116 move yields zero advancement. Add logic to detect and compensate
2117 for the lack of progress.
2118 (allout-current-topic-collapsed-p): move-end-of-line respect for
2119 field boundaries is different when operating with body lines
2120 shorter than window width versus ones greater than window width,
2121 which can yield false negatives in this function. Avoid
2122 difference by applying move-end-of-line while field-text-motion is
2125 2011-01-04 Glenn Morris <rgm@gnu.org>
2127 * textmodes/rst.el (rst-compile-toolsets):
2128 Add pdf and s5 to option alist.
2130 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2132 * net/dbus.el (dbus-register-property): Add optional parameter
2133 dont-register-service. Updated docstring accordingly.
2135 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2137 * textmodes/rst.el (rst-compile-pdf-preview)
2138 (rst-compile-slides-preview): Remove extra line.
2140 2011-01-04 Glenn Morris <rgm@gnu.org>
2142 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2143 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2144 default to `prog' without a .py extension.
2145 (rst-compile-pdf-preview, rst-compile-slides-preview):
2146 Use program names from rst-compile-toolsets, rather than hard-coding.
2147 (rst-portable-mark-active-p): Fix presumed typo.
2149 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2151 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2152 libpng versions both before and after 1.4.0. (Bug#7716)
2154 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2156 * time.el (display-time-mode): Mention display-time-interval in
2157 the doc string. (Bug#7713)
2159 2011-01-02 Kenichi Handa <handa@m17n.org>
2161 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2162 condition-case and return an error message string if something
2164 (rmail-show-mime): Adjust for the above change. Insert the
2165 header by rmail-mime-insert-header.
2167 2011-01-02 Kenichi Handa <handa@m17n.org>
2169 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2170 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2171 (rmail-mime-mbox-buffer)
2172 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2173 (rmail-mime-entity): Argument changed. All codes handling an
2174 entity object are changed.
2175 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2177 (rmail-mime-entity-children, rmail-mime-entity-handler)
2178 (rmail-mime-entity-tagline): New functions.
2179 (rmail-mime-message-p): New function.
2180 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2181 (rmail-mime-entity-segment, rmail-mime-next-item)
2182 (rmail-mime-previous-item, rmail-mime-shown-mode)
2183 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2184 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2185 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2187 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2188 (rmail-mime-insert-decoded-text): New function.
2189 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2190 (rmail-mime-insert-image): Argument changed. Caller changed.
2191 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2192 (rmail-mime-set-bulk-data): New function.
2193 (rmail-mime-insert-bulk): Argument changed.
2194 (rmail-mime-multipart-handler): Return t.
2195 (rmail-mime-process-multipart): Argument changed.
2196 Handle "multipart/alternative" here.
2197 (rmail-mime-process): Argument changed.
2198 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2199 (rmail-mime-insert): Argument changed. Handle raw display mode.
2200 (rmail-mime): Argument changed. Handle toggling of raw display
2202 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2203 rmail-mime-view-buffer.
2204 (rmail-insert-mime-forwarded-message): Likewise.
2205 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2207 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2208 non-nil, handle the header in rmail-show-mime-function.
2210 2011-01-02 Leo <sdl.web@gmail.com>
2212 * help-fns.el (describe-variable): Fix previous change.
2214 2011-01-02 Juri Linkov <juri@jurta.org>
2216 * isearch.el (isearch-lazy-highlight-error): New variable.
2217 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2218 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2219 to the current value of `isearch-error' (Bug#7468).
2221 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2223 * help-fns.el (describe-variable): Don't emit trailing whitespace
2226 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2228 * textmodes/rst.el (rst-compile-pdf-preview)
2229 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2231 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2233 * emulation/edt-mapper.el: Override mapping of function keys so
2234 that the later call to read-key-sequence works.
2236 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2238 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2239 Unix EOLs. (Bug#7589)
2241 2011-01-02 Leo <sdl.web@gmail.com>
2243 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2244 if point is not behind eshell-last-output-end (Bug#7585).
2246 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2248 * files.el (file-local-variables-alist):
2249 Make permanent-local (bug#7767).
2251 2011-01-02 Glenn Morris <rgm@gnu.org>
2253 * version.el (emacs-copyright): Set short copyright year to 2011.
2255 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2257 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2258 an existing temp buffer. (Bug#7746)
2260 2011-01-02 Glenn Morris <rgm@gnu.org>
2262 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2263 multiple addresses. (Bug#7760)
2265 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2267 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2268 do-auto-fill if everything points back to allout-auto-fill.
2269 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2270 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2272 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2274 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2277 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2279 * doc-view.el (doc-view-set-doc-type): New function refactored
2281 (doc-view-fallback-mode): New function.
2282 (doc-view-mode): Use it.
2283 (doc-view-mode-maybe): New function that checks if doc-view-mode
2284 can be used and falls back to the next best mode otherwise.
2286 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2287 DVI, OpenDocument, and MS Office files.
2289 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2291 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2293 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2295 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2296 on a copy of auto-mode-alist, because that deletes with side
2299 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2301 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2302 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2303 fallback instead of hard coding fundamental mode.
2305 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2307 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2308 Office) files also for searching.
2310 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2312 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2313 Office) files. Not yet enabled via auto-mode-list.
2314 (doc-view-unoconv-program): New custom variable.
2315 (doc-view-mode-p): Handle new odf document type.
2316 (doc-view-odf->pdf): New conversion function.
2317 (doc-view-convert-current-doc): Call it for odf files.
2318 (doc-view-mode): Recognize newly supported file extensions.
2320 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2322 * net/tramp.el (tramp-default-method-alist)
2323 (tramp-default-user-alist)
2324 (tramp-local-host-regexp, tramp-prefix-domain-format)
2325 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2328 * net/tramp-gvfs.el:
2330 * net/tramp-imap.el:
2332 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2333 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2335 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2337 * saveplace.el (save-place-alist-to-file): Save list sorted and
2338 pretty-printed, so that it is mergeable by line-based text merging,
2339 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2341 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2343 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2344 (allout-mode): Argument "toggle" => "force".
2345 Refine the docstring.
2346 Remove special provisions for reactivation, besides the 'force'
2348 Consolidate layout provisions coce directly into the activation
2349 condition branch, now that we've removed those provisions.
2350 (allout-unload-function): Explicitly activate the mode before
2351 deactivating, if it's initially deactivated.
2352 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2353 warnings for version of function used only where
2354 set-buffer-multibyte is unavailable.
2356 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2358 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2359 are handled by the menu-bar entries. As before, don't use
2360 :visibile to avoid changing the tool-bar.
2362 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2364 * net/secrets.el (secrets-delete-alias): New defun.
2366 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2368 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2369 methods, otherwise ~/.ssh/config would be ignored.
2371 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2373 * emacs-lisp/rx.el: Make it a superset of sregex.
2374 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2375 of args, add `regex' alias.
2376 (rx-info): Add arg to distinguish head and standalone forms.
2377 (rx-check, rx-form): Pass the corresponding arg.
2379 (rx-repeat): Make it work for any number of args.
2380 (rx-syntax): Make it accept syntax chars as is.
2381 * obsolete/sregex.el: Move from emacs-lisp/.
2382 * emacs-lisp/re-builder.el: Remove sregex support.
2383 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2385 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2387 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2388 PRIMARY first, then the clipboard. (Bug#7699)
2390 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2392 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2395 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2397 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2398 .emacs.elc (Bug#7530).
2400 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2401 image spec (Bug#7480).
2403 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2405 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2406 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2409 2010-12-20 Leo <sdl.web@gmail.com>
2411 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2412 always be performed (Bug#7680).
2414 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2416 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2417 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
2420 * color.el: Move from gnus/.
2422 * vc/diff.el (diff-better-file-name): Function deleted.
2423 abbreviating file names causes problems with shell-quote-argument.
2424 (diff-no-select): Just use expand-file-name.
2426 * tool-bar.el (tool-bar--image-expression): New function.
2427 (tool-bar-local-item, tool-bar--image-exp): Use it.
2428 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2429 Use :enable instead of :visible to avoid changing the tool-bar
2430 configuration unnecessarily.
2432 * info.el (info-tool-bar-map): Add separators.
2434 2010-12-17 Ken Brown <kbrown@cornell.edu>
2436 * loadup.el: Use version numbers in Cygwin build.
2438 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
2440 * ido.el (ido-file-internal): Ask for confirmation before
2441 overwriting an existing file (Bug#1238).
2443 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
2445 * tool-bar.el (tool-bar-setup): Add separators.
2447 * menu-bar.el (featurep): Use menu-bar-separator.
2449 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
2451 Migrate allout encryption provisions from pgg to epg.
2453 * allout.el (allout-toggle-current-subtree-encryption)
2454 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2455 defaulting policy and other changes. Change fetch-pass to keymode-cue,
2456 for simpler universal argument interpretation.
2457 (allout-toggle-subtree-encryption): Adjust docstring to describe
2458 changed encryption provisions. Change fetch-pass to keymode-cue, for
2459 simpler universal argument interpretation. Remove provisions for
2460 handling key type and identity - they'll all be within
2461 allout-encrypt-string or epg/epg or even contained all the way in gpg.
2462 (allout-encrypt-string): Include keymode-cue, for optionally prompting
2463 for keypair recipients (universal argument > 1) and, in addition,
2464 associating the specified recipients with the outline (universal
2465 argument > 4) using a file local variable setting for
2466 'epa-file-encrypt-to'.
2467 Require epa, for recipients handling.
2468 Change how regexp filtering elements are named.
2469 Describe the problem with caching of incorrect symmetric-decryption
2471 Use the epa-passphrase-callback-function, in case the user is using
2473 Support saving of the selected keypair recipients when invoked with a
2475 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2477 Establish epg-context with armoring and default epg-protocol.
2478 Remove all passphrase cache, verification, and hinting code.
2479 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2480 No longer used, delete.
2481 (allout-mode): Adjust docstring to describe changed encryption
2482 provisions. Describe the problem with caching of incorrect
2483 symmetric-decryption keys.
2484 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2485 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2486 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2487 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2490 2010-12-16 Daiki Ueno <ueno@unixuser.org>
2492 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2493 key selection prompt; make 'silent as default (Bug#7487).
2495 2010-12-16 Leo <sdl.web@gmail.com>
2497 * eshell/eshell.el (eshell-directory-name):
2498 Use locate-user-emacs-file (Bug#7578).
2500 2010-12-15 Glenn Morris <rgm@gnu.org>
2502 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2504 2010-12-15 Jari Aalto <jari.aalto@cante.net>
2505 Scott Evans <gse@antisleep.com>
2507 * rect.el (rectange--default-line-number-format)
2508 (rectangle-number-line-callback): New functions.
2509 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2511 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
2513 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2514 Delete unused variables.
2515 (move-to-column-force): Remove function obsolete since 21.2.
2517 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
2519 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2520 (tramp-handle-insert-file-contents): Do not set permanent-local
2523 * net/tramp-cache.el (tramp-persistency-file-name):
2524 Use `locate-user-emacs-file' if fboundp.
2526 * net/tramp-sh.el (tramp-methods): Add "ksu".
2527 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2530 2010-12-14 Glenn Morris <rgm@gnu.org>
2532 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2533 (find-tag-marker-ring): Declare.
2534 (js-find-symbol): Require etags.
2536 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2538 (mail-alias-file): Don't autoload. Doc fix.
2539 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2540 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2541 Mark as obsolete, and risky.
2542 (mail-setup): Simplify.
2544 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2545 * mail/sendmail.el (build-mail-aliases): Update autoload.
2547 * dired.el (dired-trivial-filenames, dired-chown-program)
2548 (dired-auto-revert-buffer): Remove autoload cookies.
2549 * mail/sendmail.el (mail-recover-1): Require 'dired.
2551 * dired.el (dired-subdir-switches, dired-chown-program)
2552 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2553 Make into defcustoms.
2554 (dired-chown-program): Simplify initialization.
2556 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2558 2010-12-13 Romain Francoise <romain@orebokech.com>
2560 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2562 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2564 * net/netrc.el (netrc-point-at-eol): Remove the unused
2565 netrc-point-at-old and netrc-bound-and-true-p bindings.
2566 (netrc-parse): Cache the netrc contents.
2568 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2570 * subr.el (posn-col-row): Evaluate header-line-format in the
2571 context of the POSITION window's buffer.
2573 2010-12-13 Glenn Morris <rgm@gnu.org>
2575 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2576 (with-silent-modifications): Doc fixes.
2578 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2580 * net/tramp.el (tramp-action-password, tramp-process-actions):
2581 Revert previous from. Use `save-restriction'.
2583 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2585 * calendar/diary-lib.el (diary-list-sexp-entries):
2586 Handle case of no newline at end of file. (Bug#7536)
2588 2010-12-13 Glenn Morris <rgm@gnu.org>
2590 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2592 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2594 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2595 (tramp-process-actions): Do not widen.
2597 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2598 Protect buffer-modified value. (Bug#7557)
2600 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2602 * log-edit.el (log-edit-changelog-entries):
2603 Regexp quote filename. (Bug#7505)
2605 2010-12-13 Tom Breton <tehom@panix.com>
2607 * cus-edit.el (custom-save-all):
2608 Bind print-length and print-level to nil. (Bug#7581)
2610 2010-12-13 Glenn Morris <rgm@gnu.org>
2612 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2613 Run hooks to update menu contents. (Bug#7586)
2615 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2616 file names, for the sake of MS Windows. (Bug#7588)
2618 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2620 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2621 empty lines without a leading space.
2623 2010-12-13 Leo <sdl.web@gmail.com>
2625 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2626 while mapping over marks (Bug#6810).
2628 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2630 * image-dired.el (image-dired-db-file)
2631 (image-dired-temp-image-file, image-dired-gallery-dir)
2632 (image-dired-temp-rotate-image-file): Set default values relative
2633 to image-dired-dir (Bug#7518).
2635 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2637 * format.el (format-decode-run-method): Pass args FROM and TO, not
2638 point-min and point-max, to shell-command-on-region (Bug#7488).
2640 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2642 * frame.el (blink-cursor-mode): Make default t for ns.
2644 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2646 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2648 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2650 * comint.el (comint-dynamic-list-input-ring)
2651 (comint-dynamic-complete-filename)
2652 (comint-replace-by-expanded-filename)
2653 (comint-dynamic-simple-complete)
2654 (comint-dynamic-list-filename-completions)
2655 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2657 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2660 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2662 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2665 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2667 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2670 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2672 * files.el (file-relative-name): Handle UNC file names on
2673 DOS/Windows. (Bug#4674)
2675 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2677 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2678 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2679 (epg-context-set-passphrase-callback): Mention that the callback
2680 is not called when used with GnuPG 2.x.
2682 2010-12-13 Glenn Morris <rgm@gnu.org>
2684 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2685 Ensure ps-footer-font-size-internal is initialized.
2686 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2688 2010-12-13 Kenichi Handa <handa@m17n.org>
2690 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2691 within condition-case.
2692 (rmail-show-mime): Don't use condition-case.
2693 (rmail-search-mime-message): New function.
2694 (rmail-search-mime-message-function): Set to
2695 rmail-search-mime-message.
2697 2010-12-13 Leo <sdl.web@gmail.com>
2699 * ido.el (ido-common-initialization): New function. (bug#3274)
2701 (ido-completing-read): Call it.
2703 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2705 * bookmark.el (bookmark-name-from-full-record): Rename back to
2706 this original name from `bookmark-name-from-record' reverting part
2707 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2708 As Drew Adams pointed out, there was no reason to cause churn for
2709 third-party callers.
2711 2010-12-12 Alan Mackenzie <acm@muc.de>
2713 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2714 template arglist, check that the current language supports this.
2716 2010-12-11 Glenn Morris <rgm@gnu.org>
2718 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2719 state of the file matches. (Bug#7544)
2720 (vc-bzr-register, vc-bzr-checkin)
2721 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2722 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2724 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2726 2010-12-11 Karel Klíč <kklic@redhat.com>
2728 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2730 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2732 Derive from prog-mode, use derived-mode-p, and fix up various
2733 minor style issues in lisp/progmodes.
2735 * progmodes/vhdl-mode.el (vhdl-mode):
2736 * progmodes/verilog-mode.el (verilog-mode):
2737 * progmodes/vera-mode.el (vera-mode):
2738 * progmodes/sql.el (sql-mode):
2739 * progmodes/scheme.el (scheme-mode):
2740 * progmodes/perl-mode.el (perl-mode):
2741 * progmodes/octave-inf.el (inferior-octave-mode):
2742 * progmodes/autoconf.el (autoconf-mode):
2743 * progmodes/m4-mode.el (m4-mode):
2744 * progmodes/inf-lisp.el (inferior-lisp-mode):
2745 * progmodes/idlwave.el (idlwave-mode):
2746 * progmodes/icon.el (icon-mode):
2747 * progmodes/idlw-help.el (idlwave-help-mode):
2748 * progmodes/dcl-mode.el (dcl-mode):
2749 * progmodes/idlw-shell.el (idlwave-shell-mode):
2750 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2751 (ebrowse-member-mode, ebrowse-electric-position-mode):
2752 Use define-derived-mode.
2754 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2755 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2756 (xscheme-debugger-mode-p, xscheme-send-string-1):
2757 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2758 (tcl-load-file, tcl-restart-with-file):
2759 * progmodes/ps-mode.el (ps-run-running):
2760 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2761 * progmodes/js.el (js--get-all-known-symbols):
2762 * progmodes/inf-lisp.el (inferior-lisp-proc):
2763 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2764 (idlwave-template, idlwave-update-buffer-routine-info)
2765 (idlwave-update-current-buffer-info)
2766 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2767 (idlwave-scan-class-info, idlwave-fix-keywords)
2768 (idlwave-list-buffer-load-path-shadows):
2769 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2770 (idlwave-toolbar-remove):
2771 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2772 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2773 (idlwave-shell-menu-def):
2774 * progmodes/idlw-complete-structtag.el
2775 (idlwave-prepare-structure-tag-completion):
2776 * progmodes/gud.el (gud-set-buffer):
2777 * progmodes/f90.el (f90-backslash-not-special):
2778 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2780 * progmodes/xscheme.el (xscheme-start)
2781 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2782 * progmodes/which-func.el (which-function):
2783 * progmodes/vhdl-mode.el (vhdl-set-style):
2784 * progmodes/verilog-mode.el (verilog-set-compile-command)
2785 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2786 (verilog-set-define, verilog-auto-reeval-locals):
2787 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2788 * progmodes/simula.el (simula-mode):
2789 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2790 * progmodes/python.el (python-check, python-mode):
2791 * progmodes/prolog.el (prolog-mode-variables):
2792 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2793 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2794 * progmodes/delphi.el (delphi-mode):
2795 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2796 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2797 (c-font-lock-init): Move make-local-variable to their setq.
2799 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2800 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2802 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2803 (sh-set-shell): Don't set require-final-newline since it's already done
2805 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2806 since we never set it.
2807 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2808 Use read-string and standard prompt.
2809 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2810 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2811 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2812 (meta-common-mode-map): Rename from meta-mode-map.
2813 Remove C-m binding, which is a user preference, not mode specific.
2814 (meta-common-mode): New major mode; replace meta-common-initialization.
2815 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2816 around with font-lock.
2817 * progmodes/etags.el (select-tags-table-mode):
2818 Derive from special-mode.
2819 * progmodes/octave-mod.el (octave-mode):
2820 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2821 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2822 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2823 Let define-derived-mode do its job.
2824 * progmodes/cpp.el (cpp-edit-mode-map):
2825 Move initialization into declaration.
2826 (cpp-edit-mode): Use define-derived-mode.
2827 (cpp-edit-load): Use derived-mode-p.
2828 * progmodes/mixal-mode.el (mixal-mode):
2829 * progmodes/f90.el (f90-mode):
2830 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2831 require-final-newline since prog-mode does it already.
2832 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2833 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2834 * progmodes/antlr-mode.el: Require cc-mode upfront.
2835 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2837 (antlr-directory-dependencies, antlr-show-makefile-rules):
2839 (antlr-language-option): Don't assume point-min==1.
2840 (antlr-mode): Use define-derived-mode.
2841 * progmodes/ada-mode.el: Use derived-mode-p.
2842 (ada-mode): Use define-derived-mode.
2843 Use hack-local-variables-hook.
2845 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2847 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2848 (texinfo-mode): Don't disable adaptive-fill-mode.
2849 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2850 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2851 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2852 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2853 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2854 (texinfo-insert-@quotation, texinfo-insert-@samp)
2855 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2856 (texinfo-insert-@uref): Use define-skeleton.
2857 (texinfo-insert-@-with-arg): Delete.
2859 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2861 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2862 nil, do quote archive member names. (Bug#6144)
2864 2010-12-10 Glenn Morris <rgm@gnu.org>
2866 * files.el (diff-no-select): Declare.
2868 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2869 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2871 * comint.el (comint-input-ring-file-name): Doc fix.
2873 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2875 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2877 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2878 Use them instead of `nil' and `>', respectively.
2879 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2881 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2882 and menu-bar-positive-p instead of `nil' and `>', respectively.
2885 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2887 * whitespace.el (whitespace-newline-mode): Code fix.
2889 2010-12-09 Glenn Morris <rgm@gnu.org>
2891 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2892 Rename functions without commas, update callers.
2894 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2896 * whitespace.el (whitespace-cleanup-region):
2897 Clean up spaces before tabs. (Bug#7582)
2899 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2901 * bookmark.el: Adjust parameter names and doc strings to resolve
2902 confusion over whether "bookmark" meant a bookmark name or a
2903 bookmark record. Along the way, shorten one function's name for
2904 similar reasons. (Issue #7548)
2905 (bookmark-name-from-record): New name for
2906 `bookmark-name-from-full-record'. All callers changed.
2907 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2908 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2909 (bookmark-get-annotation, bookmark-set-annotation)
2910 (bookmark-get-filename, bookmark-set-filename)
2911 (bookmark-get-position, bookmark-set-position)
2912 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2913 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2914 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2915 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2916 Rename `bookmark' parameter to `bookmark-name-or-record', to
2917 clearly show its role, and shorten or adjust doc strings accordingly.
2918 (bookmark-set-name): Same, and pass the parameter directly to
2919 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2920 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2921 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2922 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2923 and in some cases shorten doc string accordingly.
2924 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2925 and `new-name', and adjust an internal variable to avoid confusion.
2926 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2927 parameter in doc string.
2929 2010-12-08 Glenn Morris <rgm@gnu.org>
2931 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2932 from gdb's history file. (Bug#7575)
2934 * mail/emacsbug.el (report-emacs-bug):
2935 Try to handle some other mail clients.
2937 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2939 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2940 Use string-prefix-p.
2941 (file-name-version-regexp): New var.
2942 (file-name-sans-versions):
2943 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2944 (jka-compr-get-compression-info): Use dolist.
2945 (jka-compr-compression-info-list): Don't bother specifying
2946 version/backup regexps.
2948 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2950 * simple.el (just-one-space): Make argument n default to 1 if
2953 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2955 * electric.el (electric-indent-post-self-insert-function):
2956 Delete trailing newlines even if we don't reindent.
2958 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2960 * minibuffer.el (completion-at-point): Remove the `arg'.
2961 * bindings.el (complete-symbol): Move back from minibuffer.el.
2963 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2965 * simple.el (just-one-space): Delete newlines for negative arg.
2967 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2969 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2970 (ansi-color-filter-apply): Simplify.
2971 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2973 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2975 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2977 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2979 * dired.el (dired-use-ls-dired): Set default to a special
2980 "unspecified" value.
2981 (dired-insert-directory): When called the first time, check
2982 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2984 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2986 * replace.el: Add "collect" feature to occur.
2987 (occur-collect-regexp-history): New var.
2988 (occur-read-primary-args): Return a replace string for nlines,
2990 (occur): Extend the meaning of nlines.
2992 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2994 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2995 (which-func-update-1): Distinguish symbols from strings.
2996 (which-function): Stay within 80 columns.
2998 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3000 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3002 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3004 (comment-style): Use comment-styles's docs to describe values.
3006 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3008 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3009 and ns-show-prefs (Bug#7535).
3011 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3012 bindings (Bug#7535).
3014 2010-12-03 Glenn Morris <rgm@gnu.org>
3016 * nxml/nxml-mode.el: Require rng-nxml.
3017 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3018 Remove declarations.
3020 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3021 * nxml/rng-nxml.el, nxml/rng-valid.el:
3022 Remove leading `*' from defcustom docs.
3024 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3025 (normal-top-level-add-to-load-path, tty-handle-args):
3026 Convert comments to basic doc-strings.
3028 * net/browse-url.el (browse-url-url-at-point)
3029 (browse-url-default-browser): Remove autoload cookies.
3031 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3032 Remove more undefined cl functions.
3034 * vc/diff.el (diff-sentinel): Make new arguments optional.
3035 * ibuf-ext.el (diff-sentinel): Update declaration.
3037 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3039 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3040 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3041 (epg-context-set-passphrase-callback): Mention that the callback
3042 is not called when used with GnuPG 2.x.
3044 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3046 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3047 (tramp-file-name-port): Check also for `tramp-default-port'.
3048 (tramp-get-connection-name): New defun.
3049 (tramp-get-connection-process): Use it.
3050 (tramp-debug-message): Extend function exclude list.
3051 (tramp-drop-volume-letter): Fix doc string.
3053 * net/tramp-cmds.el: Remove solved todo item.
3057 * net/tramp-gvfs.el:
3059 * net/tramp-imap.el:
3060 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3061 and `tramp-default-user-alist', respectively.
3063 * net/tramp-gw.el (tramp-gw-open-connection):
3064 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3066 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3067 `tramp-file-name-port'.
3069 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3070 and "psftp". Exchange "%k" marker with options.
3071 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3072 Compute size of link target.
3073 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3074 `tramp-current-*' up due to gateway methods. Optimize computing of
3075 copy arguments. Use `tramp-get-connection-name' and
3076 `tramp-get-connection-buffer'. Improve debug messages.
3077 (tramp-compute-multi-hops): Remove port determination.
3078 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3080 * net/trampver.el: Update release number.
3082 2010-12-02 Glenn Morris <rgm@gnu.org>
3084 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3085 Avoid infinite loop over windows. (Bug#7492)
3087 * progmodes/flymake.el (flymake-check-file-limit):
3088 Allow nil to mean "no limit".
3089 (flymake-check-patch-master-file-buffer): Update for above change.
3090 Allow a .tex file-name extension to be optional.
3091 (flymake-master-tex-init): Also match \include statements.
3093 2010-11-30 Sam Steingold <sds@gnu.org>
3095 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3096 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3097 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3098 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3099 define-derived-mode').
3100 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3101 users who want to call `nxml-parent-document-set'.
3103 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3105 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3106 stand-alone lines, since that is handled by log-edit-match-to-eoh
3109 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3111 * dired.el (dired-get-filename): Replace backslashes with slashes
3112 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3113 * locate.el (locate-default-make-command-line): Don't consider
3114 drive letter and root directory part of
3115 `directory-listing-before-filename-regexp'. (Bug#7308)
3116 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3118 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3120 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3121 of :smie-open/close-alist.
3122 (smie-next-sexp): Make it accept a "start token" as argument.
3123 (smie-indent-keyword): Be careful not to misidentify tokens that span
3124 more than one line, as empty lines. Add argument `token'.
3126 2010-11-27 Kenichi Handa <handa@m17n.org>
3128 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3129 multipart subtypes, insert all as usual.
3131 * mail/rmail.el: Require rfc2047.
3133 2010-11-27 Kenichi Handa <handa@m17n.org>
3135 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3136 (rmail-mime-entity-disposition)
3137 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3138 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3139 (rmail-mime-save): Handle the case that the button's `data' is a
3141 (rmail-mime-insert-text): New function.
3142 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3143 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3144 (rmail-mime-insert-bulk): New function mostly copied from the old
3145 rmail-mime-bulk-handler.
3146 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3147 (rmail-mime-process-multipart): New function mostly copied from
3148 the old rmail-mime-multipart-handler.
3149 (rmail-mime-show): Just call rmail-mime-process.
3150 (rmail-mime-process): New function mostly copied from the old
3152 (rmail-mime-insert-multipart, rmail-mime-parse)
3153 (rmail-mime-insert, rmail-show-mime)
3154 (rmail-insert-mime-forwarded-message)
3155 (rmail-insert-mime-resent-message): New functions.
3156 (rmail-insert-mime-forwarded-message-function): Set to
3157 rmail-insert-mime-forwarded-message.
3158 (rmail-insert-mime-resent-message-function): Set to
3159 rmail-insert-mime-resent-message.
3161 * mail/rmailsum.el: Require rfc2047.
3162 (rmail-header-summary): Handle multiline Subject: field.
3163 (rmail-summary-line-decoder): Change the default to
3164 rfc2047-decode-string.
3166 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3167 (rmail-mime-feature): Change the default to `rmailmm'.
3168 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3169 (rmail-display-labels): Likewise.
3170 (rmail-show-message-1): Check rmail-enable-mime, and use
3171 rmail-show-mime-function for a MIME message. Decode the headers
3172 according to RFC2047.
3174 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3176 * progmodes/which-func.el (which-func-imenu-joiner-function):
3177 Return a string, as expected.
3178 (which-function-mode): Make sure we stop any previous timer before
3181 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3183 * net/tramp.el (tramp-default-method-alist)
3184 (tramp-default-user-alist, tramp-default-proxies-alist):
3185 Adapt custom options type. (Bug#7445)
3187 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3189 * progmodes/python.el: Add Ipython support (Bug#5390).
3190 (python-shell-prompt-alist)
3191 (python-shell-continuation-prompt-alist): New options.
3192 (python--set-prompt-regexp): New function.
3193 (inferior-python-mode, run-python, python-shell):
3194 Require ansi-color. Use python--set-prompt-regexp to set the comint
3195 prompt based on the Python interpreter.
3196 (python--prompt-regexp): New var.
3197 (python-check-comint-prompt)
3198 (python-comint-output-filter-function): Use it.
3199 (run-python): Use a pipe (Bug#5694).
3201 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3203 * progmodes/python.el (run-python): Doc fix.
3204 (python-keep-current-directory-in-path): New var (Bug#7454).
3206 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3208 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3209 Prompt user before actually printing.
3211 2010-11-27 Glenn Morris <rgm@gnu.org>
3213 * startup.el (package-enable-at-startup, package-initialize):
3214 Remove unnecessary declarations.
3216 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3218 * international/characters.el (glyphless-char-display-control):
3219 Exclude newline and TAB from the c0-control group.
3221 2010-11-27 Glenn Morris <rgm@gnu.org>
3223 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3224 (expand-mail-aliases): Remove unnecessary autoload.
3226 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3228 * shell.el (shell-dir-cookie-re): Move definition before use.
3230 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3231 Replace undefined CL functions.
3233 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3235 * simple.el (prog-mode): Set bidi-paragraph-direction to
3238 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3240 2010-11-26 Glenn Morris <rgm@gnu.org>
3242 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3243 diary-outlook-formats can be sensitive to calendar-date-style.
3244 (diary-outlook-formats): Simplify the default setting.
3245 (diary-from-outlook-internal): Pass subject and body as arguments.
3246 Use dolist rather than dotimes. Don't save the diary buffer.
3247 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3248 Pass subject and body as explicit arguments to the -internal function.
3250 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3252 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3253 parsing them. This makes mailto:...?subject=foo\nbar work.
3255 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3257 * vc/diff.el (diff): Fix last change.
3259 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3261 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3262 (pcase--dontcare-upats): New var.
3263 (pcase-let, pcase-let*): Generate better code.
3264 Accept the same bodies as `let'.
3265 (pcase-dolist): New macro.
3266 (pcase--trivial-upat-p): New helper function.
3267 (pcase--expand): Strip leading "(let nil" if any.
3269 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3271 * mail/mailclient.el (browse-url): Require.
3272 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3273 use the external browser function to send the mail (bug#7469).
3275 * net/browse-url.el (browse-url-browser-function): Revert the
3276 default back to the previous value, since the new value broke
3278 (browse-url-mailto-function): New variable for mailto: URLs.
3279 (browse-url): Use the new variable for mailto: URLs.
3281 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3283 * eshell/esh-cmd.el (eshell-parse-command):
3284 * eshell/esh-arg.el (eshell-parse-arguments):
3285 * eshell/em-script.el (eshell-source-file):
3286 Use with-silent-modifications.
3288 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3290 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3291 for a merge location.
3293 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3294 (vc-bzr-merge-branch): Always prompt.
3295 (vc-bzr-async-command): Use the full branch filename.
3297 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3299 * shell.el (shell): Use current-buffer by default if it's already
3300 a shell mode buffer and its process is dead.
3301 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3303 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3305 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3306 Mention that the keywords should be comma separated.
3308 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3310 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3311 Accept optional prefix arg meaning to prompt for a command.
3312 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3313 prefix arg meaning to prompt for a command.
3314 (vc-pull): Alias for vc-update.
3316 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3317 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3318 (vc-bzr-merge-branch): New functions, implementing merge-branch
3319 and pull operations.
3321 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3323 * Makefile.in: Fix up last merge.
3325 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3326 (diff-sentinel): Get them as arguments instead.
3327 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3328 (diff-file-local-copy, diff-better-file-name): New funs.
3329 (diff-no-select): Rename from diff-into-buffer.
3330 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3331 Prefer closures to buffer-local variables.
3332 (diff): Adjust accordingly.
3333 (diff-buffer-with-file): Move from files.el.
3334 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3335 (diff-buffer-internal): Remove.
3336 (diff-buffer-buffer): Remove.
3337 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3338 the buffer name used, and so as not to mess up windows and frames.
3340 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3342 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3343 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3344 (diff-buffer-with-file): Use it.
3345 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3348 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3350 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3351 \ref's or \pageref's value as default instead of initial input.
3353 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3355 * files.el (backup-by-copying-when-mismatch): The default value is
3358 * startup.el (normal-top-level):
3359 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3360 `backup-by-copying-when-mismatch'.
3362 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3364 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3366 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3368 * progmodes/python.el (python-font-lock-keywords):
3369 Highlight top-level augmented assignments (Bug#6445).
3371 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3373 * term/ns-win.el (ns-right-control-modifier)
3374 (ns-right-command-modifier): Defvar them.
3376 * cus-start.el (all): Add ns-right-control-modifier and
3377 ns-right-command-modifier (Bug#7458).
3379 2010-11-20 Glenn Morris <rgm@gnu.org>
3381 * emacs-lisp/authors.el (authors-ignored-files)
3382 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3384 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3386 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3387 (report-emacs-bug-parse-query-results)
3388 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3389 keywords used for querying the bug database to show them in the
3390 existing bugs buffer.
3392 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3394 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3396 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3398 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3400 * international/characters.el (glyphless-char-display-control):
3401 Make it a defcustom, with update-glyphless-char-display as its
3403 (top level): Don't call update-glyphless-char-display.
3405 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3407 Sync with Tramp 2.2.0.
3409 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3410 `file-remote-p' (due to compatibility).
3412 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3413 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3415 * net/trampver.el: Update release number.
3417 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3419 * faces.el (glyphless-char): Define value for `pc'.
3421 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3423 Implemented a bug querying mechanism.
3424 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3425 (report-emacs-bug-create-existing-bugs-buffer)
3426 (report-emacs-bug-parse-query-results)
3427 (report-emacs-bug-query-existing-bugs): New functions.
3429 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
3431 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3432 a \ref{} or \pageref{} macro, then use its value as initial input.
3434 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3436 * calc/calc-units.el (math-build-units-table-buffer):
3437 calc/README: Mention that the TeX specific units won't use the
3438 `tex' prefix in TeX mode.
3439 calc/calc-lang.el (math-variable-table): Don't use the `tex'
3440 prefix for units in TeX mode.
3442 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3444 * simple.el (kill-new, kill-append, kill-region):
3445 * comint.el (comint-kill-region): Make the yank-handler argument
3448 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3450 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3451 that are both openers (resp. closers) and something else.
3452 (smie-grammar): Loosen definition of valid values.
3453 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3454 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3455 (smie-indent-after-keyword): Adjust users.
3456 (smie-indent-keyword): Don't indent empty lines.
3458 * vc-hg.el (vc-hg-program): New var.
3459 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3460 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3462 2010-11-18 Glenn Morris <rgm@gnu.org>
3464 * emacs-lisp/autoload.el (autoload-find-destination): The function
3465 coding-system-eol-type may return non-numeric values. (Bug#7414)
3467 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
3469 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3471 2010-11-18 Eli Zaretskii <eliz@gnu.org>
3473 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
3475 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
3477 * textmodes/picture.el (picture-mouse-set-point): Don't use
3478 posn-col-row; explicitly compute the motion based on the posn at
3479 the window-start (Bug#7390).
3481 2010-11-18 Glenn Morris <rgm@gnu.org>
3483 * novice.el (disabled-command-function):
3484 Fix 2009-11-15 change. (Bug#7384)
3486 2010-11-18 Glenn Morris <rgm@gnu.org>
3488 * calendar/calendar.el (diary-iso-date-forms): Make elements
3489 mutually exclusive. (Bug#7377)
3491 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3493 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3494 when filling the remaining "unconstrained" values.
3496 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3498 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3501 * files.el (safe-local-variable-p): Gracefully handle errors.
3503 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3504 Use smie-indent-virtual when indenting relative to an opener.
3505 (smie-rule-separator): Use smie-rule-parent.
3506 (smie-indent-keyword): Consult rules, even for openers at bol.
3507 (smie-indent-comment-close): Try to align closer's content.
3509 2010-11-18 Glenn Morris <rgm@gnu.org>
3511 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3513 2010-11-18 Glenn Morris <rgm@gnu.org>
3515 * printing.el (pr-menu-bind): Doc fix.
3517 * speedbar.el (speedbar-toggle-images): Doc fix.
3519 * progmodes/python.el (python-shell): Doc fix.
3521 * wid-edit.el (widget-field-use-before-change)
3522 (widget-use-overlay-change): Doc fixes.
3524 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3526 Minor cleanup to improve style.
3527 * textmodes/rst.el (rst-update-section): Use point-marker.
3528 (rst-get-decoration): Eliminate unneeded assignment.
3529 (rst-promote-region, rst-straighten-decorations)
3530 (rst-section-tree, rst-adjust): Use point-marker.
3531 (rst-toc-mode-mouse-goto): Avoid setq.
3532 (rst-shift-region-guts, rst-shift-region-left)
3533 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3534 (rst-convert-bullets-to-enumeration): Use copy-marker.
3536 * minibuffer.el (completion-fail-discreetly): New var.
3537 (completion--do-completion): Use it.
3539 * electric.el (electric-pair-pairs): New var.
3540 (electric-pair-post-self-insert-function): Use it.
3541 (electric-layout-post-self-insert-function): Don't insert a before
3542 newline unless it's actually needed.
3544 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3546 * progmodes/python.el (run-python): Explain why we remove the current
3547 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3549 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3551 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3553 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3554 (octave-mode-map): Don't bind ;, SPC, and LF.
3555 (octave-auto-indent, octave-auto-newline): Remove.
3556 (electric-layout-rules): Declare.
3557 (octave-mode): Set electric-layout-rules.
3558 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3559 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3560 (octave-electric-space): Remove.
3562 * electric.el (electric-layout-mode): New minor mode.
3563 (electric--after-char-pos): New function.
3564 (electric-indent-post-self-insert-function): Use it.
3565 (electric-layout-rules): New var.
3566 (electric-layout-post-self-insert-function): New function.
3567 (electric-indent-mode): Make them interact better.
3569 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3571 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3572 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3573 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3575 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3577 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3578 Make sure to check inside the word (Bug#6761).
3580 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3582 * startup.el (command-line): If the cursorColor resource is set,
3583 change the cursor face-spec (Bug#7392).
3585 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3587 The main features of the following allout.el changes are:
3588 - implement user customization for the allout key bindings
3589 - add a customization control by which the user can inhibit use of
3590 a trailing Ctrl-H, so by default it's reserved for use with
3591 describe-prefix-bindings
3592 - adapt to new version of called-interactively-p, while
3593 maintaining backwards compatibility with old version
3594 - fix hotspot navigation so i works properly with meta-modified keys
3596 * allout.el (allout-keybindings, allout-bind-keys)
3597 (allout-keybindings-binding, allout-prefixed-keybindings)
3598 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3599 (allout-keybindings-list, allout-mode-map-adjustments)
3600 (allout-setup-mode-map): Establish allout-mode keymaps as user
3601 customizable settings, and also establish a customizable setting which
3602 regulates whether or not a trailing control-h is reserved for use with
3603 describe-prefix-bindings - and inhibit it by default, so that control-h
3604 *is* reserved for describe-prefix-bindings unless the user changes it.
3606 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3607 and accurately between modified and unmodified events, and handle
3608 modified events more comprehensively.
3610 * allout.el (allout-substring-no-properties):
3611 Alias to use or provide version of `substring-no-properties'.
3612 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3614 * allout.el (allout-next-single-char-property-change):
3615 Alias to use or provide version of `next-single-char-property-change'.
3616 (allout-annotate-hidden, allout-hide-by-annotation):
3617 Use `allout-next-single-char-property-change'.
3619 * allout.el (allout-select-safe-coding-system):
3620 Alias to use or provide version of `select-safe-coding-system'.
3621 (allout-toggle-subtree-encryption):
3622 Use `allout-select-safe-coding-system'.
3624 * allout.el (allout-set-buffer-multibyte):
3625 Alias to use or provide version of `set-buffer-multibyte'.
3626 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3628 * allout.el (allout-called-interactively-p): Macro for using the
3629 different versions of called-interactively-p identically, depending on
3630 the subroutine's argument signature.
3631 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3632 Use `(interactive "p")' instead of `(called-interactively-p)'.
3634 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3635 (allout-previous-visible-heading, allout-forward-current-level)
3636 (allout-backward-current-level, allout-show-children):
3637 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3639 * allout.el (allout-before-change-handler):
3640 Exempt edits to the (overlaid) character after the allout outline
3641 bullet from edit confirmation prompt.
3643 * allout.el (allout-add-resumptions):
3644 Ensure that it respects correct buffer for keybindings.
3646 * allout.el (allout-beginning-of-line):
3647 Use `allout-previous-single-char-property-change' alias for the sake of
3648 diverse compatibility.
3650 * allout.el (allout-end-of-line):
3651 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3653 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3655 * frame.el (frame-notice-user-settings): Don't clobber other
3656 user-set parameters when calling face-set-after-frame-default in
3657 response to background-color parameter (Bug#7373).
3659 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3661 * international/characters.el (glyphless-char-display-control):
3662 Rename from glyphless-char-control; all users changed. Doc fix.
3663 Signal an error if display method is not one of the recognized
3666 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3668 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3669 (tramp-compat-line-end-position): Remove them.
3671 * net/tramp.el (tramp-parse-rhosts-group)
3672 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3673 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3674 (tramp-parse-netrc-group, tramp-parse-putty-group)
3675 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3676 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3677 (tramp-sh-handle-file-selinux-context)
3678 (tramp-sh-handle-file-name-all-completions)
3679 (tramp-sh-handle-insert-directory)
3680 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3681 (tramp-wait-for-output, tramp-send-command-and-read)
3682 * net/tramp-smb.el (tramp-smb-read-file-entry)
3683 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3685 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3687 (tramp-remote-coding-commands): Add an alternative using "base64
3688 -d -i". This is needed for older base64 versions from GNU
3689 coreutils. Reported by Klaus Reichl
3690 <Klaus.Reichl@thalesgroup.com>.
3692 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3694 * simple.el (count-words-region): New function.
3696 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3698 * shell.el (shell-dir-cookie-re): New custom variable.
3699 (shell-dir-cookie-watcher): New function.
3701 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3702 and compilation-mode (bug#7350).
3704 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3705 highlight when one of them is empty.
3707 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3709 (skeleton-newline): New function.
3710 (skeleton-internal-1): Use it.
3712 * simple.el (open-line): `newline' may strip trailing space.
3714 2010-11-12 Kevin Ryde <user42@zip.com.au>
3716 * international/mule-cmds.el (princ-list): Use mapc.
3718 2010-11-12 Glenn Morris <rgm@gnu.org>
3720 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3721 Use it to replace all instances of "*Compile-Log*"
3723 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3725 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3728 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3730 * progmodes/modula2.el: Use SMIE and skeleton.
3731 (m2-mode-syntax-table): (*..*) can be nested.
3732 Add //...\n. Fix paren syntax.
3733 (m2-mode-map): Remove LF and TAB bindings.
3734 (m2-indent): Add safety property.
3735 (m2-smie-grammar): New var.
3736 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3737 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3738 (m2-mode): Use define-derived-mode.
3739 (m2-newline, m2-tab): Remove.
3740 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3741 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3742 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3743 (m2-import): Use define-skeleton.
3745 2010-11-11 Glenn Morris <rgm@gnu.org>
3747 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3749 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3750 (ls-lisp-verbosity): Add custom :set-after property.
3751 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3752 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3753 (ls-lisp-insert-directory): Update caller.
3754 (ls-lisp-set-options): New function.
3755 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3758 * play/landmark.el (lm-prompt-for-move):
3759 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3761 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3763 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3764 (idlwave-study-twins): Prefix dynamic local variable `name'.
3765 (idlwave-routine-twin-compare): Update for above change.
3767 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3768 Prefix dynamic local variables `name', `kwd', and `link'.
3769 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3770 * progmodes/idlw-complete-structtag.el
3771 (idlwave-complete-structure-tag-help):
3772 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3773 (idlwave-complete-sysvar-tag-help)
3774 (idlwave-complete-class-structure-tag-help):
3775 Update for above name changes.
3777 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3779 * net/browse-url.el (browse-url-browser-function): Change the
3780 default to use `browse-url-mail' on mailto: URLs.
3782 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3784 * emacs-lisp/package.el (package-read-all-archive-contents):
3785 Reset package-archive-contents to nil before re-reading.
3787 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3789 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3790 already found as misspellings by (flyspell-large-region), just
3791 do highlighting (bug#7322).
3793 2010-11-10 Glenn Morris <rgm@gnu.org>
3795 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3797 * emulation/edt.el (edt-with-position): New macro.
3798 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3799 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3800 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3802 * emulation/tpu-extras.el (tpu-with-position): New macro.
3803 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3805 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3807 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3808 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3809 (texinfo-master-menu, texinfo-insert-node-lines)
3810 (texinfo-multiple-files-update):
3811 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3812 Use line-beginning-position.
3814 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3815 No recent Emacs supports system-type `emx'.
3817 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3818 (ada-command-separator, ada-default-prj-properties)
3819 (ada-find-any-references): Update for above name change.
3821 * dirtrack.el (dirtrack-directory-function)
3822 (dirtrack-canonicalize-function):
3823 * filecache.el (file-cache-completion-ignore-case)
3824 (file-cache-case-fold-search, file-cache-ignore-case):
3825 * term.el (serial-port-is-file-p): Cosmetic change.
3827 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3828 Remove non-existent `windows-95' system-type.
3829 * dired.el (dired-chown-program): Remove non-existent `linux'
3832 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3833 (ping-program-options): Remove non-existent `linux' system-type.
3835 * startup.el (package-initialize): Update declaration.
3837 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3838 (ls-lisp-handle-switches): Use time-less-p.
3839 (ls-lisp-format-time): Use float-time.
3841 * textmodes/remember.el (remember-time-to-seconds): Remove.
3842 (remember-store-in-mailbox): Use float-time.
3844 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3846 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3847 never a real function.
3848 (with-no-warnings): Remove compat stub, now unused.
3849 (time-less-p): Doc fix.
3850 (time-to-number-of-days): Simplify.
3852 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3854 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3855 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3856 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3857 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3858 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3860 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3861 (eshell-shuffle-files, eshell-shorthand-tar-command)
3862 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3863 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3864 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3865 Prefix dynamic local variable `matches'.
3867 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3868 Prefix dynamic local variable `skeleton'.
3870 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3872 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3873 in mail buffer; make yank-action always a command that yanks original
3876 2010-11-09 Glenn Morris <rgm@gnu.org>
3878 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3880 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3882 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3883 completion field (bug#7211).
3885 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3886 Fix handling of backslash escapes.
3887 (python-quote-syntax): Adjust accordingly.
3889 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3891 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3892 (vc-mtn-workfile-branch): Adjust to new output format.
3894 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3896 * international/mule-cmds.el (princ-list): Mark as obsolete.
3898 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3900 * emacs-lisp/smie.el: New package.
3902 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3904 * files.el (backup-by-copying-when-mismatch):
3905 Set `permanent-local' property.
3907 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3908 `permanent-local' property for `backup-by-copying-when-mismatch'.
3910 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3912 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3914 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3916 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3917 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3918 AUTOINOUT for SV style multidimensional arrays, bug294.
3919 Reported by Eric Mastromarchi.
3920 (verilog-preprocess): Use with-current-buffer and
3921 font-lock-fontify-buffer to cleanup style issues.
3923 2010-11-09 Glenn Morris <rgm@gnu.org>
3925 * locate.el (locate, locate-mode): Doc fixes.
3927 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3929 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3930 user for confirmation.
3931 (server-force-stop): Use it.
3932 (server-start): Use server-force-stop for kill-emacs-hook, to
3933 avoid user interaction while killing Emacs.
3935 2010-11-09 Glenn Morris <rgm@gnu.org>
3937 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3938 (meta-indent-line): Simplify.
3940 * vc/emerge.el (emerge-line-number-in-buf):
3941 * textmodes/ispell.el (ispell-region):
3942 * textmodes/fill.el (current-fill-column):
3943 * progmodes/xscheme.el (xscheme-send-current-line):
3944 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3945 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3946 * progmodes/sh-script.el (sh-handle-prev-do):
3947 * progmodes/meta-mode.el (meta-indent-line):
3948 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3950 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3951 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3952 * progmodes/fortran.el (fortran-looking-at-if-then):
3953 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3954 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3955 (cperl-find-pods-heres):
3956 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3957 * net/quickurl.el (quickurl-list-insert):
3958 * net/ldap.el (ldap-search-internal):
3959 * net/eudc.el (eudc-expand-inline):
3960 * mail/sendmail.el (sendmail-send-it):
3961 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3962 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3963 (viper-brac-function):
3964 * calc/calc-yank.el (calc-do-grab-region):
3965 * calc/calc-keypd.el (calc-keypad-press):
3966 * term.el (term-move-columns, term-insert-spaces):
3967 * speedbar.el (speedbar-highlight-one-tag-line):
3968 * simple.el (current-word):
3969 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3970 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3972 * hippie-exp.el (he-line-beg):
3973 * epa.el (epa--marked-keys):
3974 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3975 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3976 (dired-relist-entry):
3977 * buff-menu.el (Buffer-menu-buffer):
3978 * array.el (current-line):
3979 * allout.el (allout-resolve-xref)
3980 (allout-latex-verbatim-quote-curr-line):
3981 Replace yet more uses of end-of-line etc with line-end-position, etc.
3983 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3985 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3986 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3987 (checkdoc-syntax-table): Initialize in the declaration.
3988 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3989 the mode on unconditionally.
3991 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3992 (extent-end-position, extent-start-position): Remove setf method for
3993 non-existing functions (bug#7319).
3995 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3997 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3998 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3999 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4000 (smie-prec2->grammar): Rename from smie-prec2-levels.
4001 (smie-grammar): Rename from smie-op-levels.
4002 (smie-indent--hanging-p): Rename from smie-hanging-p.
4003 (smie-rule-hanging-p): New alias.
4004 (smie-indent--bolp): Rename from smie-bolp.
4005 (smie-indent--hanging-p): New alias.
4006 (smie--token): New dynamically bound variable.
4007 (smie-indent--parent): New function.
4008 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4009 (smie-rule-next-p): Rename from smie-next-p.
4010 (smie-rule-prev-p): Rename from smie-prev-p.
4011 (smie-rule-sibling-p, smie-rule-parent)
4012 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4013 (smie-rule-separator-outdent): New var.
4014 (smie-indent--rule): Merge with smie-indent--column.
4015 (smie-indent-forward-token, smie-indent-backward-token):
4016 Also recognize close parens.
4017 (smie-indent-keyword): Don't use smie-indent--column any more.
4018 (smie-indent-after-keyword): Ignore closers by default.
4019 (smie-indent-line): Use with-demoted-errors.
4020 * progmodes/octave-mod.el (octave-smie-grammar):
4021 Rename from octave-smie-op-levels.
4022 (octave-smie-rules): Adjust to new behavior.
4023 * progmodes/prolog.el (prolog-smie-grammar):
4024 Rename from prolog-smie-op-levels.
4026 2010-11-07 Glenn Morris <rgm@gnu.org>
4028 * eshell/esh-util.el (subst-char-in-string)
4029 (directory-files-and-attributes): These compatibility definitions are
4030 not needed on any version of Emacs since at least 21.4.
4032 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4033 (verilog-get-end-of-line): Remove.
4034 (verilog-within-string, verilog-re-search-forward-substr)
4035 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4036 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4037 Use point-at-bol, point-at-eol.
4038 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4040 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4041 (electric-pascal-terminate-line, pascal-set-auto-comments)
4042 (pascal-indent-paramlist, pascal-indent-declaration)
4043 (pascal-get-lineup-indent, pascal-func-completion)
4044 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4045 Use point-at-bol, point-at-eol.
4046 * progmodes/flymake.el (flymake-line-beginning-position)
4047 (flymake-line-end-position): Remove.
4048 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4049 * eshell/esh-util.el (line-end-position, line-beginning-position):
4050 Remove compat definitions.
4052 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4054 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4055 Use line-end-position.
4057 * emacs-lisp/chart.el (chart-zap-chars):
4058 * play/decipher.el (decipher-set-map):
4059 * progmodes/ada-mode.el (ada-get-current-indent)
4060 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4061 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4062 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4063 (ada-get-all-references):
4064 * progmodes/cperl-mode.el (cperl-electric-paren)
4065 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4066 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4067 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4068 (cperl-word-at-point-hard):
4069 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4070 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4071 (idlwave-shell-display-line):
4072 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4073 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4074 * progmodes/js.el (js--re-search-forward-inner)
4075 (js--re-search-backward-inner):
4076 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4077 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4078 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4079 * textmodes/flyspell.el (flyspell-process-localwords):
4080 * textmodes/ispell.el (ispell-buffer-local-parsing)
4081 (ispell-buffer-local-dict, ispell-buffer-local-words):
4082 Use point-at-bol and point-at-eol.
4084 * speedbar.el (speedbar-generic-item-info)
4085 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4086 (speedbar-add-indicator, speedbar-check-vc-this-line)
4087 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4088 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4089 Replace more uses of end-of-line etc with line-end-position.
4091 2010-11-06 Glenn Morris <rgm@gnu.org>
4093 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4094 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4095 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4096 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4097 (texinfo-multiple-files-update):
4098 * textmodes/table.el (table--probe-cell-left-up)
4099 (table--probe-cell-right-bottom):
4100 * textmodes/picture.el (picture-tab-search):
4101 * textmodes/page-ext.el (pages-copy-header-and-position)
4102 (pages-directory-for-addresses):
4103 * progmodes/vera-mode.el (vera-get-offset):
4104 * progmodes/simula.el (simula-calculate-indent):
4105 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4106 * progmodes/prolog.el (end-of-prolog-clause):
4107 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4108 * progmodes/icon.el (indent-icon-exp):
4109 * progmodes/etags.el (tag-re-match-p):
4110 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4111 * progmodes/ebnf2ps.el (ebnf-begin-file):
4112 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4113 (dcl-save-local-variable):
4114 * play/life.el (life-setup):
4115 * play/gametree.el (gametree-looking-at-ply):
4116 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4117 * mail/sendmail.el (mail-mode-auto-fill):
4118 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4119 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4120 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4121 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4122 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4123 * type-break.el (type-break-file-keystroke-count):
4124 * term.el (term-replace-by-expanded-history-before-point)
4125 (term-skip-prompt, term-extract-string):
4126 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4127 (speedbar-contract-line, speedbar-toggle-line-expansion)
4128 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4129 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4130 * sort.el (sort-skip-fields):
4131 * skeleton.el (skeleton-internal-list):
4132 * simple.el (line-move-finish, line-move-to-column):
4133 * shell.el (shell-forward-command):
4134 * misc.el (copy-from-above-command):
4135 * makesum.el (double-column):
4136 * ebuff-menu.el (electric-buffer-update-highlight):
4137 * dired.el (dired-move-to-end-of-filename):
4138 * dframe.el (dframe-popup-kludge):
4139 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4140 * arc-mode.el (archive-get-lineno):
4141 Use line-end-position and line-beginning-position.
4143 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4144 (idlwave-study-twins): Prefix dynamic local `class'.
4145 (idlwave-routine-twin-compare): Update for above name change.
4147 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4148 Use boundp tests to silence compiler. Update for changed name of
4149 bytecomp-filename variable.
4151 * emulation/viper-cmd.el (viper-read-string-with-history):
4152 Prefix dynamic local `initial'.
4153 (viper-minibuffer-standard-hook): Update for above name change.
4155 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4156 (elint-init-form): Update for above name change.
4158 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4159 local variables `cbeg' and `cend' a prefix.
4160 (mail-extr-voodoo): Update for above name change.
4162 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4163 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4164 (reftex-toc-promote-action): Doc fix.
4166 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4167 `prompt', `data' a prefix.
4168 (reftex-select-post-command-hook, reftex-select-callback)
4169 (reftex-select-mouse-accept, reftex-select-read-cite):
4170 Update for above name changes.
4172 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4173 `refstyle' to reftex-refstyle.
4174 (reftex-offer-label-menu): Update for above name change.
4175 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4176 `refstyle' name change.
4178 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4179 with with-current-buffer.
4180 (diff, template): Give dynamic local variables a prefix.
4181 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4182 (emerge-line-number-in-buf): Update for above name change.
4183 (emerge-combine-versions-internal): Rename local `template' to
4184 emerge-combine-template.
4185 (emerge-combine-versions-edit): Update for above name change.
4187 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4189 * textmodes/reftex-cite.el
4190 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4191 entries with whitespace after \bibitem.
4192 (reftex-create-bibtex-file): Match entries containing numbers and
4193 symbol constituents. Make sure that entries with whitespace at
4194 various places are found.
4196 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4198 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4200 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4202 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4204 2010-11-05 Glenn Morris <rgm@gnu.org>
4206 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4207 (woman2-roff-buffer): Give local variable `request' a prefix.
4208 (woman0-macro): Rename argument `request' in the same way.
4209 (woman-request): New name for `request' dynamic variable.
4210 (woman-unquote, woman-forward-arg): Update for above name change.
4211 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4212 (woman1-unquote): New name for `unquote' dynamic variable.
4213 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4214 (woman-translations): Rename from `translations'. No longer global.
4215 (woman2-tr, woman-translate): Update for above name change.
4216 (woman-translate): Check for bound variable.
4217 (woman2-roff-buffer): Give local variable `translations' a prefix.
4219 * play/doctor.el: Give all local variables a prefix. Update callers.
4220 (doc$, doctor-put-meaning): Use backquote.
4222 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4223 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4225 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4226 variables bytes, ptr, op a prefix.
4227 (disassemble-offset): Update for above change.
4229 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4231 * emacs-lisp/package.el (package-unpack): Remove no-op.
4232 (package--builtins, package--dir): Doc fix.
4233 (package-activate-1, package-activate, package-install)
4234 (package-compute-transaction): Fix error message.
4235 (package-delete): Use delete-directory. Omit system packages.
4236 (package-initialize): Set package-alist to nil first.
4237 (package-menu-mark-delete, package-menu-mark-install): Don't add
4238 symbols that are inconsistent with the package state.
4239 (package-menu-execute): Perform deletions and installations as
4240 single batch operations.
4242 2010-11-03 Glenn Morris <rgm@gnu.org>
4244 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4245 (props): Remove unnecessary declaration.
4247 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4248 set-process-query-on-exit-flag.
4250 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4251 (reftex-toc-do-promote): Remove unused local `mpos'.
4252 (reftex-toc-restore-region): Make `mpos' local to this function.
4254 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4256 * play/landmark.el (lm-losing-threshold): Correct spelling.
4257 (lm-human-plays): Use new name.
4259 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4260 (gomoku-human-plays): Use new name.
4262 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4263 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4264 (gomoku-score-trans-table, gomoku-winning-threshold)
4265 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4267 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4269 * emacs-lisp/package.el: Don't put built-in packages in
4270 package-alist, to avoid loading inefficiencies.
4271 (package-built-in-p): Make VERSION optional, and treat it as a
4272 minimum acceptable version.
4273 (package-activate): Search separately for built-in packages.
4274 Emit a warning if a dependency fails.
4275 (define-package): Handle most common case, where there is no
4276 obsolete package, first.
4277 (package-compute-transaction): Print required version in error.
4278 (package--initialized): New variable.
4279 (list-packages): Use it.
4280 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4281 built-in packages in packages-alist; keep it separate.
4282 Set package--initialized.
4283 (describe-package): Avoid activating packages as a side-effect.
4284 Search separately for built-in packages.
4285 (describe-package-1): Handle the case where an elpa package is
4286 simultaneously built-in and available/installed.
4287 (package-installed-p, package--generate-package-list):
4288 Search separately for built-in packages.
4289 (package-load-descriptor): Doc fix.
4291 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4293 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4294 Handle __DATA__ and __END__.
4296 2010-11-02 Noah Friedman <friedman@splode.com>
4298 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4299 nil, do not ask to recompile files that are not already compiled,
4300 and do not recompile them.
4302 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4304 * emacs-lisp/package.el (package-initialize): Ensure that
4305 obsoleted built-in packages are not in package-activated-list
4307 (describe-package-1): Make the "installed" status override
4310 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4312 * subr.el (version-separator, version-regexp-alist): Remove '*'
4314 (version-list-<=, version<=, version=): Doc fix.
4316 2010-11-01 Kenichi Handa <handa@m17n.org>
4318 * faces.el (glyphless-char): Inherit underline for tty.
4320 2010-11-01 Kenichi Handa <handa@m17n.org>
4322 Implement various display methods for glyphless characters.
4324 * international/characters.el (char-acronym-table): New variable.
4325 (glyphless-char-control): New variable.
4326 (update-glyphless-char-display): New function.
4328 * faces.el (glyphless-char): New face.
4330 2010-11-01 Glenn Morris <rgm@gnu.org>
4332 * calendar/holidays.el (general-holidays, oriental-holidays)
4333 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4334 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4335 the definitions of their targets.
4337 * emacs-lisp/smie.el (smie): New custom group.
4338 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4340 * faces.el (xw-defined-colors, x-setup-function-keys):
4341 * mouse-sel.el (x-select-text):
4342 * term/w32console.el (x-setup-function-keys): Update declarations.
4344 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4346 * textmodes/ispell.el (comment-add): Declare.
4348 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4351 * info.el (finder-keywords-hash, package-alist): Declare.
4353 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4355 * finder.el (finder-compile-keywords): Don't use intern-soft,
4356 since package names may not yet exist in the obarray.
4358 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4360 * vc/vc-arch.el (vc-arch-checkin):
4361 * vc/vc-cvs.el (vc-cvs-checkin):
4362 * vc/vc-mtn.el (vc-mtn-checkin):
4363 * vc/vc-rcs.el (vc-rcs-checkin):
4364 * vc/vc-sccs.el (vc-sccs-checkin):
4365 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4366 since 2010-04-21 commit by Stefan Monnier.
4368 2010-11-01 Glenn Morris <rgm@gnu.org>
4370 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4372 * startup.el (package-enable-at-startup, package-initialize):
4375 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4378 2010-10-31 Julien Danjou <julien@danjou.info>
4380 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4381 (byte-recompile-directory):
4382 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4383 Use `byte-recompile-file'.
4385 2010-10-31 Glenn Morris <rgm@gnu.org>
4387 * cus-start.el: Handle standard values via a keyword.
4388 Only set version property if specified.
4389 (cursor-in-non-selected-windows, menu-bar-mode)
4390 (tool-bar-mode, show-trailing-whitespace):
4391 Do not specify standard values.
4392 (transient-mark-mode, temporary-file-directory): Use :standard.
4394 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4396 * term/x-win.el (x-get-selection-value): New function that gets
4397 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4399 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4401 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4402 preserve owner and group when editing files. (Bug#7289)
4404 2010-10-31 Glenn Morris <rgm@gnu.org>
4406 * speedbar.el (speedbar-mode):
4407 * play/fortune.el (fortune-in-buffer, fortune):
4408 * play/gomoku.el (gomoku-mode):
4409 * play/landmark.el (lm-mode):
4410 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4411 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4413 * select.el (x-selection): Mark it as an obsolete alias.
4415 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4417 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4418 major-mode (bug#7284).
4420 2010-10-31 Glenn Morris <rgm@gnu.org>
4422 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4423 rather than just an unused variable that inherits from the real one.
4425 2010-10-31 Alan Mackenzie <acm@muc.de>
4427 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4428 This fixes bug #7185.
4430 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
4432 * startup.el (command-line): Search for package directories, and
4433 don't load package.el if none are found.
4435 * emacs-lisp/package.el (describe-package, list-packages):
4436 Call package-initialize if it has not been called yet.
4438 2010-10-30 Alan Mackenzie <acm@muc.de>
4440 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4441 which fontifies the tail of an enum.
4442 (c-basic-matchers-after): Insert a call to the above new function.
4443 This fixes bug #7264.
4445 2010-10-30 Glenn Morris <rgm@gnu.org>
4447 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4448 tool-bar-mode, transient-mark-mode. (Bug#7306)
4449 Include the :set property in the dumped Emacs.
4451 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4453 SMIE: change indent rules format, improve smie-setup.
4454 * emacs-lisp/smie.el (smie-precs-precedence-table)
4455 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4456 Mark them pure so the tables gets built at compile time.
4457 (smie-bnf-precedence-table): Store the closer-alist in the table.
4458 (smie-prec2-levels): Preserve the closer-alist.
4459 (smie-blink-matching-open): Be more forgiving in case of indentation.
4460 (smie-hanging-p): Rename from smie-indent--hanging-p.
4461 (smie-bolp): Rename from smie-indent--bolp.
4462 (smie--parent, smie--after): New dynamic vars.
4463 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4464 (smie-indent-rules): Remove.
4465 (smie-indent--offset-rule): Remove fun.
4466 (smie-rules-function): New var.
4467 (smie-indent--rule): New fun.
4468 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4469 (smie-indent-exps): Use it.
4470 (smie-setup): Setup paren blinking; add keyword args for token
4471 functions; extract closer-alist from op-levels.
4472 (smie-indent-debug-log): Remove var.
4473 (smie-indent-debug): Remove fun.
4474 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4475 (prolog-smie-rules): New fun to replace it.
4476 (prolog-mode-variables): Simplify.
4477 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4478 it's setup automatically.
4479 (octave-smie-indent-rules): Remove.
4480 (octave-smie-rules): New fun to replace it.
4481 (octave-mode): Simplify.
4483 2010-10-29 Glenn Morris <rgm@gnu.org>
4485 * files.el (temporary-file-directory): Remove (already defined in C).
4486 * cus-start.el: Add temporary-file-directory.
4488 * abbrev.el (abbrev-mode):
4489 * composite.el (auto-composition-mode):
4490 * menu-bar.el (menu-bar-mode):
4491 * simple.el (transient-mark-mode):
4492 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4493 that they do not define the associated variables twice.
4494 * simple.el (transient-mark-mode): Remove defvar.
4495 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4496 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4497 Handle multiple groups, and also custom-delayed-init-variables.
4498 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4500 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4502 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4503 (pcase-if): Add one minor optimization.
4504 (pcase-split-equal): Rename from pcase-split-eq.
4505 (pcase-split-member): Rename from pcase-split-memq.
4506 (pcase-u1): Add strings to the member optimization.
4507 Add `guard' variant of predicates.
4508 (pcase-q1): Add string patterns.
4510 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4512 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4514 2010-10-28 Glenn Morris <rgm@gnu.org>
4516 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4517 Move menu-bar related settings to ../menu-bar.el.
4518 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4519 Move ns-specific settings here from term/ns-win.el.
4521 * simple.el (x-selection-owner-p): Remove unused declaration.
4523 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4525 * minibuffer.el (completion-cycling): New var (bug#7266).
4526 (minibuffer-complete, completion--do-completion):
4527 Use completion--flush-all-sorted-completions.
4528 (minibuffer-complete): Only cycle if completion-cycling is set.
4529 (completion--flush-all-sorted-completions): Unset completion-cycling.
4530 (minibuffer-force-complete): Set completion-cycling.
4531 (completion-all-sorted-completions): Move declaration before first use.
4533 2010-10-28 Leo <sdl.web@gmail.com>
4535 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4536 which changes the order of matches seen by users (bug#7231).
4538 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4540 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4541 Don't confuse -omega as "-o mega".
4543 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4545 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4546 (log-edit-author): New dynamic var.
4547 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4548 to return the author if different from committer.
4549 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4551 * play/landmark.el: Adjust commenting convention.
4552 (lm-nil-score): Rename from nil-score.
4553 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4554 (OOOOscore): Move into a let in lm-score-trans-table.
4555 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4557 * electric.el (electric-indent-chars): Autoload.
4558 * progmodes/octave-mod.el (octave-mode):
4559 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4560 (ruby-mode-abbrev-table): Merge initialization and declaration.
4562 2010-10-27 Glenn Morris <rgm@gnu.org>
4564 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4567 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4569 * term/ns-win.el: Restore require of cl when compiling.
4570 (menu-bar-final-items): Remove non-existent `windows' menu.
4571 (ns-handle-nxopen): Optionally handle the temp-case.
4572 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4573 (ns-insert-file, ns-find-file): Use `pop'.
4575 2010-10-26 Glenn Morris <rgm@gnu.org>
4577 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4579 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4581 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4583 * term/common-win.el (x-setup-function-keys): Remove most of the
4584 keymappings. Comment on the remaining ones.
4586 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4588 * server.el (server-port): New option. (Bug#854)
4589 (server-start): Use server-port.
4591 2010-10-26 Glenn Morris <rgm@gnu.org>
4593 * term/ns-win.el (ns-version-string): Remove unused declaration.
4594 (ns-invocation-args): Change to x-invocation-args.
4595 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4596 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4597 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4598 Use x-invocation-args instead of ns-invocation-args.
4599 (ns-initialize-window-system, handle-args-function-alist):
4600 Use x-handle-args instead of ns-handle-args.
4601 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4602 * startup.el (command-line-ns-option-alist): Replace
4603 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4604 ns-handle-iconic with the x- equivalents.
4606 * term/common-win.el (x-select-enable-clipboard):
4607 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4609 * term/ns-win.el: No need to require cl when compiling.
4610 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4611 (xw-defined-colors): Use the common-win definitions.
4612 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4613 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4614 * term/common-win.el (x-select-text, x-alternatives-map)
4615 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4616 * loadup.el [ns]: Load common-win.
4618 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4620 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4621 recipients; expand mail aliases (Bug#7280).
4623 2010-10-25 Glenn Morris <rgm@gnu.org>
4625 * term/common-win.el (x-handle-switch): Simplify with pop.
4626 Optionally handle numeric switches.
4627 (x-handle-numeric-switch): Just call x-handle-switch.
4628 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4629 (x-handle-name-switch, x-handle-display, x-handle-args):
4632 * term/ns-win.el: Do not require easymenu.
4633 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4634 <spell>: Move adjustments to menu-bar.el.
4635 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4636 <separator-undo, spell>: Move ns-win's adjustments here.
4637 * loadup.el [ns]: Do not load easymenu.
4639 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4641 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4644 * startup.el (fancy-startup-tail): Instead of using inline images,
4645 refer to image files from etc/.
4647 * wid-edit.el (checkbox): Likewise.
4648 (widget-image-find): Center image specs.
4650 2010-10-24 Glenn Morris <rgm@gnu.org>
4652 * term/ns-win.el (x-select-text): Doc fix.
4653 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4654 (x-select-text): Move to term/common-win.
4655 * term/w32-win.el (xw-defined-colors): Move to common-win.
4656 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4657 (x-setup-function-keys, x-select-text): Move to common-win.
4658 * term/common-win.el (x-select-text, x-alternatives-map)
4659 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4662 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4664 * net/mairix.el (mairix-searches-mode-map):
4665 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4667 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4669 * verilog-mode.el (verilog-directive-re): Make this variable
4670 auto-built for efficiency of execution and updating.
4671 (verilog-extended-complete-re): Support 'pure' fucntion & task
4672 declarations (these have no bodies).
4673 (verilog-beg-of-statement): General cleanup to enable support of
4674 'pure' fucntion & task declarations (these have no bodies).
4675 These efforts together fix Verilog bug210 from veripool; which was also
4676 noticed by Steve Pearlmutter.
4677 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4678 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4679 Support `elsif. Reported by Shankar Giri.
4680 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4681 attribute handling for lining up declarations and assignments.
4682 (verilog-beg-of-statement-1): Fix issue where continued declaration
4683 is indented differently if it is after a begin..end clock.
4684 (verilog-in-attribute-p, verilog-skip-backward-comments)
4685 (verilog-skip-forward-comment-p): Support proper treatment of
4686 attributes by indent code. Reported by Jeff Steele.
4687 (verilog-in-directive-p): Fix comment to correctly describe function.
4688 (verilog-backward-up-list, verilog-in-struct-region-p)
4689 (verilog-backward-token, verilog-in-struct-p)
4690 (verilog-in-coverage-p, verilog-do-indent)
4691 (verilog-pretty-declarations): Use verilog-backward-up-list as
4692 wrapper around backward-up-list inorder to properly skip comments.
4693 Reported by David Rogoff.
4694 (verilog-property-re, verilog-endcomment-reason-re)
4695 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4696 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4697 of if). Reported by Max Bjurling and
4698 (verilog-calc-1): Fix for clocking block in modport
4699 declaration. Reported by Brian Hunter.
4701 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4703 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4704 (verilog-gate-keywords, verilog-read-sub-decls)
4705 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4706 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4707 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4708 (verilog-read-decls): Fix spaces in V2K module parameters causing
4709 mis-identification as interfaces, bug287.
4710 (verilog-read-decls): Fix not treating "parameter string" as a
4711 parameter in AUTOINSTPARAM.
4712 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4713 treating `elsif similar to `endif inside AUTOSENSE.
4714 (verilog-do-indent): Implement correct automatic or static task or
4715 function end comment highlight. Reported by Steve Pearlmutter.
4716 (verilog-font-lock-keywords-2): Fix highlighting of single
4717 character pins, bug264. Reported by Michael Laajanen.
4718 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4719 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4720 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4721 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4722 (verilog-pretty-expr): Fix interactive arguments, bug272.
4723 Reported by Mark Johnson.
4724 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4725 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4726 bug269. Suggested by Gary Delp.
4727 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4728 (verilog-preprocessor, verilog-set-compile-command):
4729 Create verilog-preprocess and verilog-preprocessor to show
4730 preprocessed output.
4731 (verilog-get-beg-of-line, verilog-get-end-of-line)
4732 (verilog-modi-file-or-buffer, verilog-modi-name)
4733 (verilog-modi-point, verilog-within-string): Move defmacro's
4734 before first use to avoid warning. Reported by Steve Pearlmutter.
4735 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4736 (verilog-colorize-region, verilog-highlight-buffer)
4737 (verilog-highlight-includes, verilog-highlight-modules)
4738 (verilog-highlight-region, verilog-mode): Rename colorize to
4739 highlight to match other packages. Disable module highlighting,
4740 as received speed complaints, reenable for experimentation only
4741 using new verilog-highlight-modules.
4742 (verilog-read-decls): Fix regexp stack overflow in very large
4743 AUTO_TEMPLATEs, bug250.
4744 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4745 (verilog-scan): Create verilog-save-buffer-state to standardize
4746 making insignificant changes that shouldn't call hooks.
4747 (verilog-save-no-change-functions, verilog-save-scan-cache)
4748 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4749 Create verilog-save-no-change-functions to wrap verilog-scan
4750 preservation, and fix to work with nested preserved calls.
4751 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4752 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4753 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4754 (verilog-submit-bug-report): Update variable list to be complete.
4755 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4756 breaking on-the-fly font-locking.
4757 (verilog-colorize-buffer, verilog-colorize-include-files)
4758 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4759 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4760 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4761 AUTOINST cell instance name, middle mouse button now finds-file on
4762 it. Suggested by Brad Dobbie.
4763 (verilog-alw-get-temps, verilog-auto-reset)
4764 (verilog-auto-sense-sigs, verilog-read-always-signals)
4765 (verilog-read-always-signals-recurse): Fix loop indexes being
4766 AUTORESET. AUTORESET now assumes any variables in the
4767 initialization section of a for() should be ignored.
4768 Reported by Dan Dever.
4769 (verilog-error-font-lock-keywords)
4770 (verilog-error-regexp-emacs-alist)
4771 (verilog-error-regexp-xemacs-alist): Fix error detection of
4772 Cadence HAL, reported by David Asher. Repair drift between the
4773 three similar error variables.
4774 (verilog-modi-lookup, verilog-modi-lookup-cache)
4775 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4776 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4777 Fix slow verilog-auto expansion on very large files.
4778 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4779 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4780 "{1*2{...". Broke in last revision.
4781 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4782 submodule connections with replications "{#{a},#{b}}".
4784 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4786 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4787 Fix typo in docstring.
4789 2010-10-24 Kenichi Handa <handa@m17n.org>
4791 * face-remap.el (text-scale-adjust): Call read-event with a proper
4794 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4796 * emacs-lisp/unsafep.el: Don't mark functions that display
4797 messages as safe. Suggested by Johan Bockgård.
4799 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4801 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4802 Turn comments into docstrings.
4804 * minibuffer.el (completion--replace): Move point where it belongs
4805 when there's a common suffix (bug#7215).
4807 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4809 Merge read-color and facemenu-read-color (Bug#7242).
4811 * faces.el (read-color): Use the completion code from
4812 facemenu-read-color. Require match in completion. Doc fix.
4814 * facemenu.el (facemenu-read-color): Alias for read-color.
4815 (facemenu-set-foreground, facemenu-set-background):
4818 * frame.el (set-background-color, set-foreground-color)
4819 (set-cursor-color, set-mouse-color, set-border-color):
4822 2010-10-24 Leo <sdl.web@gmail.com>
4824 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4825 argument of delete-file and delete-directory (Bug#7011).
4827 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4829 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4832 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4834 * emacs-lisp/package.el (package--generate-package-list): Make the
4835 *Packages* buffer read-only.
4837 2010-10-24 Alan Mackenzie <acm@muc.de>
4839 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4840 result of `c-beginning-of-decl-1' between invocations of a lambda
4841 function (Bug #7265).
4843 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4845 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4846 executable is not available on the system (Bug#7268).
4848 2010-10-24 Glenn Morris <rgm@gnu.org>
4850 * select.el (selection-coding-system, next-selection-coding-system):
4851 Sync doc with C versions.
4853 * w32-vars.el (x-select-enable-clipboard):
4854 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4855 * term/common-win.el (x-select-enable-clipboard): Move here.
4857 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4858 definition of C variable.
4860 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4861 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4862 Don't redefine things that are defined in C.
4863 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4864 (show-trailing-whitespace, auto-hscroll-mode)
4865 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4866 Set up the appropriate custom properties.
4868 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4871 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4872 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4873 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4874 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4876 2010-10-23 Glenn Morris <rgm@gnu.org>
4878 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4881 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4882 Sync docs with C version.
4884 * term/ns-win.el (xw-defined-colors):
4885 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4887 * term/pc-win.el (x-select-enable-clipboard):
4888 * term/x-win.el (x-select-enable-clipboard):
4889 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4891 * comint.el (comint-password-prompt-regexp): Make it less vague.
4894 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4896 * help.el (finder-by-keyword): Remove unnecessary autoload.
4898 2010-10-22 Glenn Morris <rgm@gnu.org>
4900 * loadup.el: Unconditionally load float-sup.
4901 * paren.el (show-paren-delay):
4902 * emacs-lisp/float-sup.el:
4903 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4904 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4905 (lazy-lock-stealth-verbose): Assume float support.
4906 * ps-print.el: Assume float support on Emacs.
4907 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4908 Remove non-float branch.
4910 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4911 src/Makefile no longer being pre-processed.
4913 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4915 * emacs-lisp/find-func.el (find-library): Use test-completion.
4917 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4919 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4921 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4923 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4924 space in stat format string.
4925 (tramp-send-command): Unset $PS1 when using here documents, in
4926 order not to get several prompts.
4927 (tramp-get-inline-coding): Return `nil' in case of errors.
4929 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4931 * hexl.el (hexl-mode, hexl-mode-exit):
4932 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4933 (hexl-revert-buffer-function): New function.
4934 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4936 2010-10-19 Alan Mackenzie <acm@muc.de>
4938 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4939 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4940 that these keywords aren't wrongly matched as identifiers.
4942 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4943 setting of c-new-BEG and c-new-END from c-before-change to
4944 c-after-change. (Bug#7181)
4946 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4948 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4951 * custom.el (custom-theme-set-variables): Likewise.
4952 (load-theme): Add custom-theme-set-faces and
4953 custom-theme-set-variables to safe-functions while loading.
4954 (custom-enabled-themes): Mark as risky.
4956 2010-10-18 Julien Danjou <julien@danjou.info>
4958 * bindings.el: Remove end dashes in default mode-line-format.
4960 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4962 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4963 to delete-forward-char.
4965 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4966 deletechar, and hence delete-forward-char.
4968 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4970 * repeat.el (repeat): Use read-key (bug#6256).
4972 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4974 * emacs-lisp/unsafep.el: Don't mark functions that display
4975 messages as safe. Suggested by Johan Bockgård.
4977 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4979 * minibuffer.el (completion--replace): Move point where it belongs
4980 when there's a common suffix (bug#7215).
4982 2010-10-19 Kenichi Handa <handa@m17n.org>
4984 * international/characters.el: Add category '|' (word breakable)
4985 to fullwidth characters.
4987 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4989 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4990 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4991 order to make stat results a float. Patch by Andreas Schwab
4992 <schwab@linux-m68k.org>.
4994 2010-10-18 Julien Danjou <julien@danjou.info>
4996 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4997 hidden by `make-pointer-invisible'.
4999 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5001 * files.el (locate-file-completion-table): Strip non-matching elements
5002 before checking length of list (bug#7238).
5004 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5006 * custom.el (custom-theme-set-variables): Mark as a safe function.
5007 (load-theme): Check forms using unsafep.
5009 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5011 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5013 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5014 Fix aspell data file searching (bug#7230).
5016 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5018 * cus-theme.el (custom-theme--migrate-settings): New var.
5019 (customize-create-theme): Allow editing the `user' theme.
5020 (custom-theme-add-variable, custom-theme-add-var-1)
5021 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5022 to the front of each variable or face widget.
5023 (custom-theme-write): Save theme settings in the correct order.
5024 Optionally, remove saved settings from user customizations.
5025 (custom-theme-write-variables, custom-theme-write-faces):
5026 Save only the checked widgets.
5027 (customize-themes): Add a link for migrating custom settings.
5029 * custom.el (custom-declare-theme, provide-theme):
5030 Use custom-theme-name-valid-p.
5031 (custom-theme-name-valid-p): Remove checks that are now
5032 unnecessary since themes no longer obey load-path.
5034 * cus-edit.el (custom-variable-value-create): For the simple
5035 style, hide documentation string when hidden.
5037 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5039 * cus-edit.el (custom-variable, custom-face): Combine the
5040 :inhibit-magic and :display-style properties into a single
5041 :custom-style property.
5042 (custom-toggle-hide-variable, custom-toggle-hide-face):
5043 New functions. If hiding an edited value, save it to :shown-value.
5044 (custom-variable-value-create, custom-face-value-create): Use them.
5045 (custom-magic-reset): Allow magic property to be unset.
5047 * custom.el: Custom themes no longer use load-path.
5048 (custom-theme-load-path): New option. Change built-in theme
5050 (custom-enabled-themes): Add custom-theme-load-path dependency.
5051 (custom-theme--load-path): New function.
5052 (load-theme, custom-available-themes): Use it.
5054 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5055 (customize-themes): Link to custom-theme-load-path variable.
5056 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5057 :custom-style property.
5059 * themes/*.el: Moved to etc/.
5061 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5063 * textmodes/reftex-cite.el
5064 (reftex-extract-bib-entries-from-thebibliography): Do not move
5065 point when searching for \bibitem entries. Match entries with
5066 spaces or tabs in front of arguments.
5068 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5070 * cus-theme.el (customize-create-theme): Delete overlays after
5071 erasing. If given a THEME arg, display only the faces of that arg
5072 instead of custom-theme--listed-faces.
5073 (custom-theme-variable-menu, custom-theme-variable-action)
5074 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5075 (custom-theme-add-variable, custom-theme-add-face): Apply value
5076 from the theme settings, instead of the current value.
5077 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5078 (custom-theme-visit-theme): Allow calling outside theme buffers.
5079 (custom-theme-merge-theme): Don't enable the theme when merging.
5080 (custom-theme-write-variables, custom-theme-write-faces): Use the
5081 :shown-value properties to save buffer values, not global ones.
5082 (customize-themes): Display a warning about user customizations.
5084 * cus-edit.el (custom-variable-value-create)
5085 (custom-face-value-create): Obey new special properties
5086 :shown-value and :inhibit-magic.
5088 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5090 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5091 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5094 2010-10-14 Kenichi Handa <handa@m17n.org>
5096 * mail/rmail.el (rmail-show-message-1): Catch an error of
5097 base64-decode-region and just show an error message (bug#7165).
5099 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5100 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5101 a font-spec (bug#7197).
5103 2010-10-14 Glenn Morris <rgm@gnu.org>
5105 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5107 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5109 * international/mule.el (define-coding-system):
5110 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5111 * composite.el (compose-region): Fix typo in docstring.
5113 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5115 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5116 only after checking the theme-face property.
5118 * faces.el (face-spec-reset-face): Reset all attributes in one
5119 single call to set-face-attribute.
5120 (face-spec-match-p): Make it a defsubst.
5121 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5122 (x-create-frame-with-faces, tty-create-frame-with-faces)
5123 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5124 frame-set-background-mode, since they are recomputed immediately
5125 afterwards in face-set-after-frame-default.
5126 (face-set-after-frame-default): Minor optimization.
5127 (cursor): Provide non-trivial defface spec.
5129 * custom.el (custom-theme-recalc-face): Simplify.
5131 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5133 * calc/calc-alg.el (math-var): Rename from `var'.
5134 (math-is-polynomial, math-is-poly-rec): Replace `var'
5137 * calc/calcalg2.el (math-var): Rename from `var'.
5138 (calcFunc-table, math-scan-for-limits): Replace `var'
5141 2010-10-13 Glenn Morris <rgm@gnu.org>
5143 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5145 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5147 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5149 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5151 * net/tls.el (tls-program): Remove spurious %s from openssl.
5152 (tls-starttls-switches): Remove starttls hack.
5153 (open-tls-stream): Ditto.
5154 (tls-find-starttls-argument): Ditto.
5156 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5158 * image.el (image-library-alist): Declare as obsolete alias.
5159 (image-type-available-p): Use `dynamic-library-alist'.
5161 * term/w32-win.el (dynamic-library-alist):
5162 Use instead of `image-library-alist'.
5164 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5166 * subr.el (last): Make it faster. (Bug#7174)
5168 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5170 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5172 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5174 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5175 (describe-theme-1): Extract doc from unloaded themes.
5177 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5179 * themes/tango-theme.el:
5180 * themes/tango-dark-theme.el:
5181 * themes/wheatgrass-theme.el: New files.
5183 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5185 * cus-theme.el (describe-theme, customize-themes)
5186 (custom-theme-save): New commands.
5187 (custom-new-theme-mode-map): Bind C-x C-s.
5188 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5189 (customize-create-theme): New optional arg THEME.
5190 (custom-theme-revert): Use it.
5191 (custom-theme-visit-theme): Remove dead code.
5192 (custom-theme-merge-theme): Use custom-available-themes.
5193 (custom-theme-write): Make interactive.
5194 (custom-theme-write): Use custom-theme-name-valid-p.
5195 (describe-theme-1, custom-theme-choose-revert)
5196 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5198 (custom-theme-allow-multiple-selections): New option.
5199 (custom-theme-choose-mode): New major mode.
5201 * custom.el (custom-theme-set-variables): Remove dead code.
5202 Obey custom--inhibit-theme-enable.
5203 (custom--inhibit-theme-enable): New var.
5204 (provide-theme): Obey it.
5205 (load-theme): Replace load with manual read/eval, in order to
5206 check for correctness. Use custom-theme-name-valid-p.
5207 (custom-theme-name-valid-p): New function.
5208 (custom-available-themes): Use it.
5210 * cus-edit.el (custom--initialize-widget-variables): New function.
5211 (Custom-mode): Use it.
5213 * cus-face.el (custom-theme-set-faces): Remove dead code.
5214 Obey custom--inhibit-theme-enable.
5216 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5218 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5220 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5222 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5224 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5225 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5226 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5228 * cus-start.el (all): ns-right-alternate-modifier is new.
5230 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5232 * emacs-lisp/lisp.el (lisp-completion-at-point):
5233 Use emacs-lisp-mode-syntax-table for the whole function.
5235 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5237 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5238 instead of font-lock-mode before adding keywords.
5239 Remove hi-lock-mode off code. Remove inhibit hack.
5240 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5241 non-nil; removed hook inhibit hack.
5243 2010-10-12 Glenn Morris <rgm@gnu.org>
5245 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5246 (load-path-shadows-find): ... to this.
5247 (list-load-path-shadows): Update for above change.
5249 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5251 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5253 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5254 Fix comment for declare-function.
5256 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5258 * custom.el (custom-fix-face-spec): New function; code moved from
5259 custom-face-edit-fix-value.
5260 (custom-push-theme): Use it when checking if a face has been
5261 changed outside customize.
5262 (custom-available-themes): New function.
5263 (load-theme): Use it.
5265 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5267 * custom.el (custom-push-theme): Cleanup (use cond).
5268 (disable-theme): Recompute the saved-face property.
5269 (custom-theme-recalc-face): Follow face alias before setting prop.
5271 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5272 New variables, containing checkbox images.
5274 * startup.el (fancy-startup-tail):
5275 * wid-edit.el (checkbox): Use them.
5277 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5279 * shell.el (shell-mode-map):
5280 * progmodes/modula2.el (m2-mode-map):
5281 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5282 * play/mpuz.el (mpuz-mode-map):
5283 * play/landmark.el (lm-mode-map):
5284 * play/decipher.el (decipher-mode-map):
5285 * play/5x5.el (5x5-mode-map):
5286 * net/telnet.el (telnet-mode-map):
5287 * net/quickurl.el (quickurl-list-mode-map):
5288 * net/mairix.el (mairix-searches-mode-map):
5289 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5290 * net/dig.el (dig-mode-map):
5291 * mail/mspools.el (mspools-mode-map):
5292 * hexl.el (hexl-mode-map):
5293 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5294 (wordstar-C-o-map, wordstar-C-q-map):
5295 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5296 * emacs-lisp/chart.el (chart-map):
5297 * edmacro.el (edmacro-mode-map):
5298 * erc/erc-list.el (erc-list-menu-mode-map):
5299 * array.el (array-mode-map): Declare and define in one step.
5301 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5303 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5305 * epa.el (epa-passphrase-callback-function): Display filename
5306 passed as the 3rd arg.
5307 * epa-file.el (epa-file-passphrase-callback-function):
5308 Pass filename to epa-passphrase-callback-function.
5310 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5312 * cus-edit.el (custom-face-widget-to-spec)
5313 (custom-face-get-current-spec, custom-face-state): New functions.
5314 (custom-face-set, custom-face-mark-to-save)
5315 (custom-face-value-create, custom-face-state-set): Use them.
5317 * cus-theme.el (custom-theme--listed-faces): New var.
5318 (customize-create-theme): Use *Custom Theme* as the buffer name.
5319 Set revert-buffer-function. Optional arg BUFFER. Insert all
5320 faces listed in custom-theme--listed-faces.
5321 (custom-theme-revert): New function.
5322 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5324 (custom-theme-write): Prompt for theme name if empty.
5325 (custom-theme-write-variables): Use dolist.
5326 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5328 2010-10-09 Alan Mackenzie <acm@muc.de>
5330 Enhance fontification of declarators to take account of the
5331 presence/absence of "typedef".
5333 * cc-engine.el (c-forward-type): New &optional param
5335 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5336 presence of either or both of a "struct"-like keyword and "typedef".
5338 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5339 fontification of declarators which follow a "}".
5340 (c-font-lock-declarations): Fontify declarators according to the
5341 presence/absence of "typedef".
5343 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5345 (c-typedef-decl-key): New lang variable built from
5346 c-typedef-decl-kwds.
5348 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5350 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5351 since that's too annoying. Move the filter groups commands to
5354 * epa.el (epa-passphrase-callback-function): Say what we're
5355 querying the password for.
5357 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5358 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5360 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5362 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5363 (custom-magic-value-create): Pad button tags with spaces.
5364 (custom-face-edit): New variable.
5365 (custom-face-value-create): Determine whether to use the usual
5366 face editor here, instead of using custom-face-selected.
5367 Pass face defaults to custom-face-edit widget.
5368 (custom-face-selected, custom-display-unselected): Delete widgets.
5369 (custom-display-unselected-match): Function removed.
5370 (custom-face-set, custom-face-mark-to-save):
5371 Accept custom-face-edit widgets as the direct widget child.
5373 * wid-edit.el (widget--completing-widget): New var.
5374 (widget-default-complete): Bind it when doing completion.
5375 (widget-string-complete, widget-file-complete): Use it.
5377 2010-10-09 Glenn Morris <rgm@gnu.org>
5379 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5380 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5381 (holiday-hebrew-misc): Small simplifications.
5383 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5385 * net/browse-url.el: Don't require thingatpt, term, dired,
5386 executable, or w3-auto when compiling.
5387 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5389 (browse-url-text-emacs): Require term.
5391 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5393 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5395 2010-10-08 Glenn Morris <rgm@gnu.org>
5397 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5399 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5400 (shadows-compare-text-p): Make it an obsolete alias for...
5401 (load-path-shadows-compare-text): ... new name.
5402 (find-emacs-lisp-shadows): Update for above name change.
5403 (load-path-shadows-same-file-or-nonexistent): New name for the old
5404 shadow-same-file-or-nonexistent.
5406 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5408 * minibuffer.el (completion--some, completion--do-completion)
5409 (minibuffer-complete-and-exit, minibuffer-completion-help)
5410 (completion-basic-try-completion)
5411 (completion-basic-all-completions)
5412 (completion-pcm--find-all-completions): Use lexical-let to
5413 avoid some false matches in variable completion (Bug#7056)
5415 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
5417 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
5419 2010-10-08 Leo <sdl.web@gmail.com>
5421 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5422 return non-nil if the file exists (Bug#7090).
5424 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5426 * minibuffer.el (completion--replace):
5427 Better preserve markers (bug#7138).
5429 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
5431 * server.el (server-process-filter): Doc fix.
5433 2010-10-08 Drew Adams <drew.adams@oracle.com>
5435 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
5437 2010-10-08 Glenn Morris <rgm@gnu.org>
5439 * vc/ediff-wind.el (ediff-setup-control-frame):
5440 * vc/ediff-ptch.el (ediff-default-backup-extension):
5441 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5442 (ediff-exec-process): Remove system-types emx, windows-95.
5444 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
5446 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
5448 * cus-edit.el (custom-variable, custom-face): Doc fix.
5449 (custom-face-edit): Add value-create attribute.
5450 (custom-face-edit-value-create)
5451 (custom-face-edit-value-visibility-action): New functions.
5452 Hide unused face attributes by default, and add a visibility toggle.
5453 (custom-face-edit-deactivate): Show empty values with shadow face.
5454 (custom-face-selected): Only use this for face specs with default
5456 (custom-face-value-create): Cleanup.
5458 * wid-edit.el (widget-checklist-value-create): Use dolist.
5459 (widget-checklist-match-find): Make second arg optional.
5461 2010-10-07 Glenn Morris <rgm@gnu.org>
5463 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5466 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5467 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5468 load-path-shadows-mode, update references.
5469 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5470 Rename variable and button.
5471 (list-load-path-shadows): Update button caller.
5473 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5475 * emacs-lisp/smie.el (smie-bnf-classify): New function.
5476 (smie-bnf-precedence-table): Use it to remember the closers/openers.
5477 (smie-merge-prec2s): Handle those new entries.
5478 (smie-prec2-levels): Only set precedence to nil for actual
5480 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5481 that is now unnecessary.
5483 2010-10-07 Miles Bader <miles@gnu.org>
5485 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5487 2010-10-07 Glenn Morris <rgm@gnu.org>
5489 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5490 (mail-position-on-field): Remove declarations.
5491 (mail-position-on-field): Autoload it.
5492 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5493 and mail-header-end. Don't require sendmail.
5495 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5496 (shadow-mode): New mode.
5497 (shadow-find-file): New button.
5498 (list-load-path-shadows): Use shadow-mode and buttons.
5500 * iimage.el (iimage-version): Remove.
5501 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5502 Turn into defcustoms.
5503 (iimage-mode-map): Give it a doc string.
5505 * calendar/appt.el (appt-activate): Give a warning rather than an error
5506 if there is no diary-file.
5508 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
5510 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5511 Use `tramp-handle-find-backup-file-name'.
5513 2010-10-06 Glenn Morris <rgm@gnu.org>
5515 * font-core.el (font-lock-defaults-alist): Remove variable.
5516 (font-lock-mode): Doc fix.
5517 (font-lock-default-function): Do not consult font-lock-defaults-alist.
5518 * font-lock.el (font-lock-refresh-defaults): Doc fix.
5519 (font-lock-set-defaults): Doc fix.
5520 Do not consult font-lock-defaults-alist.
5522 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5524 * emacs-lisp/cl.el: No longer provide cl-19.
5526 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
5528 * net/tramp.el (tramp-handle-directory-files-and-attributes)
5529 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5530 New defuns, taken from tramp-smb.el.
5531 (tramp-coding-system-change-eol-conversion)
5532 (tramp-set-process-query-on-exit-flag): Remove.
5534 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5535 (tramp-compat-coding-system-change-eol-conversion)
5536 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5539 * net/tramp-gvfs.el:
5540 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5541 by `tramp-compat-set-process-query-on-exit-flag'.
5543 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5544 Use `tramp-handle-directory-files-and-attributes',
5545 `tramp-handle-file-exists-p' and
5546 `tramp-handle-file-newer-than-file-p'.
5547 (tramp-imap-handle-file-exists-p)
5548 (tramp-imap-handle-file-executable-p)
5549 (tramp-imap-handle-file-readable-p)
5550 (tramp-imap-handle-directory-files-and-attributes)
5551 (tramp-imap-handle-file-newer-than-file-p): Remove.
5553 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5554 by `tramp-compat-set-process-query-on-exit-flag' and
5555 `tramp-coding-system-change-eol-conversion' by
5556 `tramp-compat-coding-system-change-eol-conversion'.
5558 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5559 Use `tramp-handle-directory-files-and-attributes',
5560 `tramp-handle-file-exists-p' and
5561 `tramp-handle-file-newer-than-file-p'.
5562 (tramp-smb-handle-directory-files-and-attributes)
5563 (tramp-smb-handle-file-exists-p)
5564 (tramp-smb-handle-file-newer-than-file-p): Remove.
5565 (tramp-smb-maybe-open-connection):
5566 Replace `tramp-set-process-query-on-exit-flag' by
5567 `tramp-compat-set-process-query-on-exit-flag'.
5569 2010-10-05 Glenn Morris <rgm@gnu.org>
5571 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5573 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5575 Continue reorganization of load dependencies. (Bug#7156)
5577 * net/tramp.el (tramp-handle-file-local-copy-hook)
5578 (tramp-delete-temp-file-function): Move down.
5579 (tramp-exists-file-name-handler): Move up.
5580 (tramp-register-file-name-handlers): Simplify autoload.
5581 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5582 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5583 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5584 (tramp-handle-file-name-completion)
5585 (tramp-handle-file-name-directory)
5586 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5587 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5588 (tramp-handle-find-backup-file-name)
5589 (tramp-handle-insert-file-contents, tramp-handle-load)
5590 (tramp-handle-substitute-in-file-name)
5591 (tramp-handle-unhandled-file-name-directory)
5592 (tramp-mode-string-to-int, tramp-local-host-p)
5593 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5595 * net/tramp-gvfs.el (top):
5596 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5598 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5599 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5601 2010-10-04 Glenn Morris <rgm@gnu.org>
5603 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5604 (appt-activate): Give status messages.
5606 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5608 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5609 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5610 `gnutls-negotiate' (formerly `starttls-negotiate').
5611 Remove trivial wrapper `starttls-open-stream'.
5613 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5615 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5616 log-outgoing commands.
5617 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5618 to create a buffer local revert-buffer-function variable.
5619 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5620 revert-buffer-function lambda.
5622 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5624 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5625 `gnutls-boot'. Make TYPE the only required parameter.
5626 Allow TRUSTFILES and KEYFILES to be lists.
5627 (open-ssl-stream): Use it.
5629 2010-10-03 Glenn Morris <rgm@gnu.org>
5631 * subr.el (directory-sep-char): Remove obsolete variable.
5632 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5635 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5636 * vc/vc.el (vc-static-header-alist): Doc fix.
5637 * vc/vc-cvs.el (vc-cvs-header):
5638 * vc/vc-rcs.el (vc-rcs-header):
5639 * vc/vc-sccs.el (vc-sccs-header):
5640 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5641 * obsolete/vc-mcvs.el (vc-mcvs-header):
5642 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5645 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5647 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5648 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5650 2010-10-03 Glenn Morris <rgm@gnu.org>
5652 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5654 * textmodes/rst.el (rst-font-lock-keywords-function):
5657 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5659 * printing.el: Drop Emacs 20 code.
5661 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5662 without having used appt.el already).
5664 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5665 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5666 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5668 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5669 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5671 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5672 (charset-width, find-charset-region, chars-in-region, forward-point)
5673 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5674 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5675 Remove compatibility cruft (none of these are used by ps*.el).
5677 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5679 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5681 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5683 * server.el (server-process-filter, server-return-error):
5684 Give emacsclient time to shut down after receiving an error string.
5686 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5688 * files.el (remote-file-name-inhibit-cache): New defcustom.
5690 * time.el (display-time-file-nonempty-p):
5691 Use `remote-file-name-inhibit-cache'.
5693 * net/tramp.el (tramp-completion-reread-directory-timeout):
5696 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5697 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5698 `remote-file-name-inhibit-cache'. Check also for an integer
5699 value. Add/increase counter when `tramp-verbose' >= 10.
5700 (tramp-set-file-property): Add/increase counter when
5701 `tramp-verbose' >= 10.
5703 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5704 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5705 (tramp-bug): Set tramp-autoload cookie. Report all interned
5706 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5707 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5708 characters only in strings.
5710 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5711 to backward compatibility.
5713 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5714 (tramp-handle-file-name-all-completions)
5715 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5716 (tramp-open-connection-setup-interactive-shell):
5717 Call `tramp-cleanup-connection' directly.
5719 2010-10-02 Glenn Morris <rgm@gnu.org>
5721 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5723 * subr.el (char-bytes): Remove obsolete function.
5725 * isearch.el (isearch-return-char): Remove obsolete function.
5727 * mouse.el: No longer provide mldrag.
5728 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5729 Remove obsolete aliases.
5731 * comint.el (comint-kill-output): Remove obsolete alias.
5733 * composite.el (decompose-composite-char): Remove obsolete function.
5734 * ps-def.el (decompose-composite-char): Remove unused function.
5736 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5738 * outline.el (outline-visible): Remove obsolete function.
5740 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5741 * faces.el (internal-find-face, internal-get-face)
5742 (frame-update-faces, frame-update-face-colors)
5743 (x-frob-font-weight, x-frob-font-slant)
5744 (internal-frob-font-weight, internal-frob-font-slant)
5745 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5746 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5747 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5749 * emulation/viper-util.el (viper-get-face):
5750 * obsolete/lucid.el (find-face, get-face): Use facep.
5751 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5752 Remove unused functions.
5753 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5755 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5756 delete tempfile if interrupted during compilation.
5758 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5760 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5762 (tls-program): Add --insecure to be consistent with the defaults from
5763 openssl s_client. Now all three commands are insecure.
5765 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5767 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5768 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5769 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5771 2010-10-01 Glenn Morris <rgm@gnu.org>
5773 * obsolete/sc.el: Remove file.
5775 * files.el (temporary-file-directory): On darwin, also try
5776 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5778 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5780 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5781 Let's not break compatibility gratuitously, shall we?
5783 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5785 * net/tls.el (tls-starttls-switches): New variable.
5786 (tls-find-starttls-argument): Use it.
5787 (open-tls-stream): Ditto.
5789 * net/netrc.el (netrc-credentials): Return the value of the "default"
5791 (netrc-machine): Ditto.
5793 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5795 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5797 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5799 * server.el (server-start): Don't write pid to the authentication file.
5800 (server-create-tty-frame): Don't send pid.
5801 (server-process-filter): Send pid at the start of every connection.
5803 2010-09-30 Glenn Morris <rgm@gnu.org>
5805 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5806 (show-all-diary-entries): Remove obsolete function aliases.
5808 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5809 Remove options, obsolete since 22.1.
5810 (appt-display-format, appt-display-message):
5811 Remove backwards-compatibility code.
5812 (appt-check): No longer check appt-issue-message.
5813 (appt-make-list): No longer autoload it. Doc fix. No longer
5814 activate the package.
5816 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5818 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5819 (starttls-negotiate): Just call boot, and let the handshake be
5820 triggered from the read loop.
5822 2010-09-29 Glenn Morris <rgm@gnu.org>
5824 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5825 not displaying the diary.
5826 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5827 * calendar/appt.el (appt-check): No longer need to kill diary.
5829 * calendar/diary-lib.el (diary-list-entries): Move the
5830 "Preparing..." message entirely here.
5831 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5832 messages to diary-list-entries.
5833 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5834 diary-display-function.
5836 * calendar/diary-lib.el (diary-include-other-diary-files):
5837 Trap some recursive includes.
5839 * calendar/appt.el (appt-activate): Check diary file.
5841 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5843 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5846 * calendar/time-date.el: No need to require cl for Emacs 21.
5848 2010-09-28 Glenn Morris <rgm@gnu.org>
5850 * calendar/appt.el (appt-check): Minor simplification.
5852 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5854 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5857 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5859 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5860 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5862 2010-09-27 Kenichi Handa <handa@m17n.org>
5864 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5867 2010-09-27 Kenichi Handa <handa@m17n.org>
5869 * international/mule.el (define-coding-system): Docstring fixed.
5871 * international/mule-diag.el (describe-character-set): Use princ
5872 with proper print-length and print-level instead of insert.
5874 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5876 * window.el (walk-windows): Doc fix (bug#7105).
5878 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5880 * emacs-lisp/float-sup.el (e): Remove.
5882 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5884 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5886 (starttls-negotiate): Use it.
5888 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5890 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5893 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5895 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5897 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5899 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5901 * net/netrc.el (netrc-store-data): New function.
5903 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5905 * net/gnutls.el: GnuTLS glue code to set up a connection.
5907 2010-09-25 Julien Danjou <julien@danjou.info>
5909 * notifications.el: Call dbus-register-signal only if it is bound.
5911 2010-09-25 Glenn Morris <rgm@gnu.org>
5913 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5914 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5915 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5916 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5917 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5918 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5919 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5920 * eshell/esh-util.el, eshell/esh-var.el:
5921 Remove leading `*' from docs of faces and defcustoms.
5923 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5925 * eshell/em-ls.el (eshell-ls-archive-regexp):
5926 * eshell/esh-util.el (eshell-tar-regexp):
5927 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5928 * info.el (Info-suffix-list):
5929 * international/mule.el (auto-coding-alist):
5930 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5931 * progmodes/etags.el (tags-compression-info-list):
5932 Support xz compression.
5934 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5936 * files.el (get-free-disk-space): Don't assume the "df" output
5937 columns line up (Bug#6995).
5939 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5941 * finder.el (finder-unknown-keywords):
5942 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5943 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5945 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5947 * server.el (server-start): Revert part of 2010-08-08 change. Using
5948 address 127.0.0.1 for local host is now done in Fmake_network_process.
5950 2010-09-24 Glenn Morris <rgm@gnu.org>
5952 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5953 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5954 * textmodes/css-mode.el, textmodes/dns-mode.el:
5955 Move autoloaded auto-mode-alist entries to files.el.
5956 * files.el (auto-mode-alist): Move entries here.
5958 2010-09-23 Glenn Morris <rgm@gnu.org>
5960 * isearch.el (isearch-lazy-highlight-cleanup)
5961 (isearch-lazy-highlight-initial-delay)
5962 (isearch-lazy-highlight-interval)
5963 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5964 * net/net-utils.el (ipconfig-program-options):
5965 Move aliases to options before the associated definitions.
5967 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5969 * newcomment.el (comment-normalize-vars): Better test validity of
5972 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5974 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5975 (float-e): New name for `e'.
5976 (degrees-to-radians, radians-to-degrees):
5977 * calendar/solar.el (solar-longitude):
5978 * calculator.el (calculator-registers, calculator-funcall):
5979 * textmodes/artist.el (artist-spray-random-points):
5980 * play/bubbles.el (bubbles--initialize-images): Use new names.
5982 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5984 Update to CEDET 1.0's version of EIEIO.
5986 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5988 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5989 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5990 (class-precedence-list): If class is nil, return nil.
5991 (eieio-generic-call): If class of first input arg is nil, don't
5992 look up static methods, and do check for primary methods.
5993 (initialize-instance): See if the default needs to be evaluated
5994 during the constructor.
5995 (eieio-perform-slot-validation-for-default): Don't do the check
5996 for values that will eventually be evaluated.
5997 (eieio-eval-default-p): New function.
5998 (eieio-default-eval-maybe): Use it.
6000 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6002 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6003 method-invocation-order.
6004 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6005 (eieio-class-precedence-dfs): Compute class precedence list using
6007 (eieio-class-precedence-bfs): Compute class precedence list using
6009 (eieio-class-precedence-c3): Compute class precedence list using
6011 (class-precedence-list): New function.
6012 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6013 (inconsistent-class-hierarchy): New error symbol.
6014 (call-next-method): Stow the replacement argument list for future
6015 call-next-method invocations.
6017 2010-09-23 Glenn Morris <rgm@gnu.org>
6019 * calendar/appt.el (appt-check): If not displaying the diary,
6020 use (diary 1) to only get the entries we need.
6021 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6022 that it is in day order. (Bug#7019)
6024 * calendar/appt.el (appt-check): Rather than showing the diary,
6025 just turn off invisible display, and only if needed.
6027 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6029 2010-09-23 Glenn Morris <rgm@gnu.org>
6031 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6032 (byte-compile-defvar, byte-compile-cl-warn):
6033 Start warnings with lower-case, like the majority.
6035 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6037 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6039 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6040 * files.el (auto-mode-alist): Move ld-script entries here, further down
6043 * vc/add-log.el: Don't require timezone when compiling.
6044 (timezone-make-date-sortable): Autoload it.
6045 (change-log-sortable-date-at): Don't require timezone.
6046 Use `ignore-errors'.
6048 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6049 Move alias before definition, so it does not need autoloading.
6051 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6052 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6053 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6054 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6055 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6056 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6057 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6058 * textmodes/tex-mode.el, textmodes/two-column.el:
6059 Remove leading `*' from docs of defcustoms etc.
6061 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6063 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6065 2010-09-22 Dan Christensen <jdc@uwo.ca>
6067 * calendar/time-date.el (date-to-time): Try using parse-time-string
6068 first before using the slower timezone-make-date-arpa-standard.
6070 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6072 * calendar/time-date.el (format-seconds): Comment fix.
6074 2010-09-22 Glenn Morris <rgm@gnu.org>
6076 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6077 is not automatically buffer-local.
6079 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6081 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6082 (smie-indent-comment): Be more careful with comment-start-skip.
6083 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6084 (smie-indent-functions): Use them.
6086 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6088 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6090 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6092 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6093 tool-bar-position. Don't modify frame parameters here.
6094 (menu-bar-options-save): Add tool-bar-position.
6096 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6098 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6100 * textmodes/reftex-parse.el (reftex-what-macro)
6101 (reftex-context-substring): Let-bind forward-sexp-function to nil
6102 since we don't need/want to treat \begin...\end as a block (bug#7053).
6104 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6106 * simple.el (blink-matching-open): Use syntax-class.
6108 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6109 Set invisibility spec for pascal's outline mode.
6110 (pascal-outline-change): Clean up calling convention.
6111 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6113 * progmodes/prolog.el (prolog-smie-forward-token)
6114 (prolog-smie-backward-token): New functions.
6115 (prolog-mode-variables): Use them to parse "!," correctly.
6116 Set up smie-blink-matching for ".".
6118 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6120 (ispell-region, ispell-process-line): Update users.
6122 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6125 * textmodes/ispell.el: Fix commenting convention.
6126 (ispell-parse-output): Simplify, use push.
6127 (ispell-region): Use match-string-no-properties.
6128 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6129 (ispell-minor-mode): Use define-minor-mode.
6130 (ispell-message): Remove unused var `skip-regexp'.
6131 (ispell-add-per-file-word-list): Use dynamic let-binding.
6132 Try and use the proper comment marker.
6134 * mail/sendmail.el: Fix commenting convention.
6135 (sendmail-send-it): Use line-beginning-position.
6137 * help-fns.el (describe-variable): Add original value, if applicable.
6139 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6141 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6143 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6145 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6147 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6148 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6149 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6150 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6151 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6152 something like "." can also be a closer.
6153 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6154 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6155 Rename internal functions to use "--". Update callers.
6157 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6159 * fringe.el (fringe-styles): New var.
6160 (fringe-mode, fringe-query-style): Use it.
6162 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6164 * progmodes/sql.el: Version 2.8
6165 (sql-login-params): Update widget structure; changes still needed.
6166 (sql-product-alist): Add :list-all and :list-table features for
6167 SQLite, Postgres and MySQL products.
6168 (sql-redirect): Handle default value.
6169 (sql-execute, sql-execute-feature): New functions.
6170 (sql-read-table-name): New function.
6171 (sql-list-all, sql-list-table): New functions. User API.
6172 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6173 for above functions.
6174 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6175 for above functions.
6176 (sql-postgres-login-params): Add user and database defaults.
6177 (sql-buffer-live-p): Bug fix.
6178 (sql-product-history): New variable.
6179 (sql-read-product): New function. Use it.
6180 (sql-set-product, sql-product-interactive): Use it.
6181 (sql-connection-history): New variable.
6182 (sql-read-connection): New function. Use it.
6183 (sql-connect): New function.
6184 (sql-for-each-login): Redesign function interface.
6185 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6186 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6187 (sql-comint): Check for program. Existing live buffer.
6188 (sql-comint-postgres): Add port parameter.
6190 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6192 * emacs-lisp/warnings.el: Fix commenting convention.
6193 (display-warning): Use special mode and make the buffer read-only.
6195 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6197 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6198 empty string when it follows a repeated or optional pattern.
6200 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6202 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6203 (indent-region): Use indent-according-to-mode.
6205 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6207 * fringe.el (fringe-mode): Doc fix.
6209 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6211 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6212 refreshing the preview buffer.
6214 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6216 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6217 (latex-syntax-propertize-rules): New consts; replace
6218 tex-font-lock-syntactic-keywords.
6219 (tex-env-mark, latex-env-before-change): New functions.
6220 (latex-electric-env-pair-mode): New minor mode.
6221 (tex-font-lock-verb): Change arguments; do move point.
6222 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6223 representation as a form of comment.
6224 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6225 (doctex-syntax-propertize-rules): New const; replaces
6226 doctex-font-lock-syntactic-keywords.
6227 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6229 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6230 (fortran-make-syntax-propertize-function): New function; replaces
6231 fortran-font-lock-syntactic-keywords.
6232 (fortran-mode): Use it.
6233 (fortran-line-length): Use it. Improve interactive spec.
6235 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6236 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6237 when adding surrounding \(..\).
6239 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6241 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6243 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6244 Use with-current-buffer.
6246 * isearch.el (isearch-face): Rename from `isearch'.
6247 (isearch-highlight): Use new name.
6249 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6251 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6252 5, for `half' width fringes. (Bug#6933)
6254 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6256 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6257 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6259 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6261 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6263 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6264 in calculating new frame position. Add more space between new and
6265 parent on the left (Bug#7048).
6267 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6269 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6272 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6274 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6276 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6277 obsolete alias for x-selection-value.
6279 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6281 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6283 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6286 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6288 * net/tramp-compat.el (tramp-compat-with-temp-message)
6289 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6290 (tramp-compat-process-put): New defuns.
6292 * net/tramp.el (top):
6293 * net/tramp-gvfs.el (top):
6294 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6296 * net/tramp.el (tramp-progress-reporter-update):
6297 Use `tramp-compat-funcall'.
6299 * net/tramp.el (tramp-process-actions):
6300 * net/tramp-gvfs.el (tramp-handle-vc-registered):
6301 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
6302 (tramp-get-remote-stat, tramp-get-remote-readlink):
6303 Use `tramp-compat-with-temp-message'.
6305 * net/tramp-sh.el (top): Require 'cl.
6306 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6307 (tramp-open-connection-setup-interactive-shell):
6308 Use `tramp-compat-process-put'.
6310 2010-09-15 Alan Mackenzie <acm@muc.de>
6312 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6314 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6316 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6318 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6319 `lexical' for warnings related to lexical scoping.
6320 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6321 global vars which don't have a prefix and could hence affect lexical
6322 scoping in unrelated files.
6324 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6326 * net/imap.el: Revert back to version
6327 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6330 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6332 * obsolete/old-whitespace.el (whitespace-unload-function):
6333 Explicitly pass `obarray' to `unintern' to avoid a warning.
6335 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6337 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6338 Add `when' argument. Update callers.
6340 * subr.el (unintern): Declare the obarray arg mandatory.
6342 2010-09-14 Glenn Morris <rgm@gnu.org>
6344 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6347 * calendar/diary-lib.el (diary-included-files): New variable.
6348 (diary-list-entries): Maybe initialize diary-included-files.
6349 (diary-include-other-diary-files): Append to diary-included-files.
6350 * calendar/appt.el (appt-update-list): Also check the members of
6351 diary-included-files. (Bug#6999)
6352 (appt-check): Doc fix.
6354 2010-09-14 David Reitter <david.reitter@gmail.com>
6356 * simple.el (line-move-visual): Do not truncate goal column to
6357 integer size. (Bug#7020)
6359 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6361 * repeat.el (repeat): Allow repeating when the last event is a click.
6362 Suggested by Drew Adams (bug#6256).
6364 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6366 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6367 Replace setting HGRCPATH to "" by some less invasive --config options.
6369 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6371 * font-lock.el (font-lock-beginning-of-syntax-function):
6374 2010-09-14 Glenn Morris <rgm@gnu.org>
6376 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6377 and tool-bar modes. (Bug#6211)
6378 (menu-bar-mode): Move setting of standard-value after the
6379 minor-mode definition, otherwise it seems to have no effect.
6381 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6383 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6384 Fix typo. (Bug#6976)
6386 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6388 * whitespace.el: Allow cleaning up blanks without blank
6389 visualization (Bug#6651). Adjust help window for
6390 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6391 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6392 (whitespace-style): Add new value 'face. Adjust docstring.
6393 (whitespace-space, whitespace-hspace, whitespace-tab):
6394 Adjust foreground property face.
6395 (whitespace-line-column): Adjust docstring and type declaration.
6396 (whitespace-style-value-list, whitespace-toggle-option-alist)
6397 (whitespace-help-text): Adjust const initialization.
6398 (whitespace-toggle-options, global-whitespace-toggle-options):
6400 (whitespace-display-window, whitespace-interactive-char)
6401 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6402 (whitespace-help-scroll): New fun.
6404 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6406 * calendar/time-date.el (format-seconds): Comment fix.
6408 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
6410 * progmodes/sql.el: Version 2.7.
6411 (sql-buffer-live-p): Improve detection.
6412 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6413 (sql-set-sqli-buffer): Use it.
6414 (sql-product-interactive): Run `sql-set-sqli-hook'.
6415 (sql-rename-buffer): Code cleanup.
6416 (sql-redirect, sql-redirect-value): New functions. More to come.
6418 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
6420 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.
6421 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6422 (TRAMP_SRC): New macro.
6423 ($(lisp)/net/tramp-loaddefs.el): New target.
6425 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
6427 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
6429 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
6431 * net/tramp.el (top): Don't show loading message. Require just
6432 'tramp-compat, everything else is required there.
6433 Use `ignore-errors' where appropriate.
6434 (tramp-inline-compress-start-size, tramp-copy-size-limit)
6435 (tramp-terminal-type, tramp-end-of-output)
6436 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6437 (tramp-completion-function-alist-ssh)
6438 (tramp-completion-function-alist-telnet)
6439 (tramp-completion-function-alist-su)
6440 (tramp-completion-function-alist-putty, tramp-remote-path)
6441 (tramp-remote-process-environment, tramp-sh-extra-args)
6442 (tramp-actions-before-shell, tramp-uudecode)
6443 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6444 (tramp-perl-file-attributes)
6445 (tramp-perl-directory-files-and-attributes)
6446 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6447 (tramp-perl-encode, tramp-perl-decode)
6448 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6449 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6450 (tramp-handle-make-symbolic-link, tramp-handle-load)
6451 (tramp-handle-file-name-as-directory)
6452 (tramp-handle-file-name-directory)
6453 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6454 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6455 (tramp-do-file-attributes-with-ls)
6456 (tramp-do-file-attributes-with-perl)
6457 (tramp-do-file-attributes-with-stat)
6458 (tramp-handle-set-visited-file-modtime)
6459 (tramp-handle-verify-visited-file-modtime)
6460 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6461 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6462 (tramp-handle-file-selinux-context)
6463 (tramp-handle-set-file-selinux-context)
6464 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6465 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6466 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6467 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6468 (tramp-handle-file-ownership-preserved-p)
6469 (tramp-handle-directory-file-name, tramp-handle-directory-files)
6470 (tramp-handle-directory-files-and-attributes)
6471 (tramp-do-directory-files-and-attributes-with-perl)
6472 (tramp-do-directory-files-and-attributes-with-stat)
6473 (tramp-handle-file-name-all-completions)
6474 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6475 (tramp-handle-copy-file, tramp-handle-copy-directory)
6476 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6477 (tramp-do-copy-or-rename-file-via-buffer)
6478 (tramp-do-copy-or-rename-file-directly)
6479 (tramp-do-copy-or-rename-file-out-of-band)
6480 (tramp-handle-make-directory, tramp-handle-delete-directory)
6481 (tramp-handle-delete-file)
6482 (tramp-handle-dired-recursive-delete-directory)
6483 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6484 (tramp-handle-insert-directory)
6485 (tramp-handle-unhandled-file-name-directory)
6486 (tramp-handle-expand-file-name)
6487 (tramp-handle-substitute-in-file-name)
6488 (tramp-handle-executable-find, tramp-process-sentinel)
6489 (tramp-handle-start-file-process, tramp-handle-process-file)
6490 (tramp-handle-call-process-region, tramp-handle-shell-command)
6491 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6492 (tramp-handle-insert-file-contents)
6493 (tramp-handle-insert-file-contents-literally)
6494 (tramp-handle-find-backup-file-name)
6495 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6496 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6497 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6498 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6499 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6500 (tramp-find-file-exists-command, tramp-open-shell)
6501 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6502 (tramp-open-connection-setup-interactive-shell)
6503 (tramp-local-coding-commands, tramp-remote-coding-commands)
6504 (tramp-find-inline-encoding, tramp-call-local-coding-command)
6505 (tramp-inline-compress-commands, tramp-find-inline-compress)
6506 (tramp-compute-multi-hops, tramp-maybe-open-connection)
6507 (tramp-send-command, tramp-wait-for-output)
6508 (tramp-send-command-and-check, tramp-barf-unless-okay)
6509 (tramp-send-command-and-read, tramp-mode-string-to-int)
6510 (tramp-convert-file-attributes, tramp-check-cached-permissions)
6511 (tramp-file-mode-from-int, tramp-file-mode-permissions)
6512 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6513 (tramp-method-out-of-band-p, tramp-local-host-p)
6514 (tramp-get-remote-path, tramp-get-remote-tmpdir)
6515 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6516 (tramp-get-test-command, tramp-get-test-nt-command)
6517 (tramp-get-file-exists-command, tramp-get-remote-ln)
6518 (tramp-get-remote-perl, tramp-get-remote-stat)
6519 (tramp-get-remote-readlink, tramp-get-remote-trash)
6520 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6521 (tramp-get-local-uid, tramp-get-local-gid)
6522 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6524 (tramp-methods, tramp-default-method-alist)
6525 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6526 Move initialization to tramp-sh.el.
6527 (tramp-temp-name-prefix): Make it a defconst.
6528 (tramp-dissect-file-name): Don't check anymore for multi-hop
6530 (tramp-debug-outline-regexp): Add a docstring.
6531 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6532 (tramp-get-debug-buffer): Use it.
6534 * net/tramp-cache.el (top): Set tramp-autoload cookie for
6535 initialization forms.
6536 (tramp-set-connection-property): Don't protect `tramp-message'
6537 call, it isn't necessary any longer.
6538 (tramp-dump-connection-properties): Use `ignore-errors'.
6540 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6541 'password-cache and 'auth-source.
6543 * net/tramp-gvfs.el (top):
6544 * net/tramp-smb.el (top): Require 'tramp-sh.
6546 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6548 * net/tramp-sh.el: New file, derived from tramp.el.
6549 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6550 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6551 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6552 Use `ignore-errors' where appropriate.
6553 (tramp-sh-file-name-handler-alist): Rename from
6554 `tramp-file-name-handler-alist'.
6555 (tramp-send-command-and-check): Return t or nil. Remove all
6556 `zerop' checks, where called.
6557 (tramp-handle-set-file-modes)
6558 (tramp-do-copy-or-rename-file-directly)
6559 (tramp-handle-delete-directory, tramp-handle-delete-file)
6560 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6561 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6562 (tramp-get-remote-ln): Set tramp-autoload cookie.
6564 * net/tramp-fish.el: Remove file.
6566 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6568 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6569 buffer-file-name to avoid file-locking. (Bug#7026)
6571 2010-09-13 Julien Danjou <julien@danjou.info>
6573 * notifications.el (notifications-notify): Add support for
6574 image-path and sound-name.
6575 (notifications-specification-version): Add this variable.
6577 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6579 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6581 2010-09-12 Leo <sdl.web@gmail.com>
6583 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6584 (rcirc-completion-start): New variables.
6585 (rcirc-nick-completions): Rename to rcirc-completions.
6586 (rcirc-nick-completion-start-offset): Delete.
6587 (rcirc-completion-at-point): New function for constructing
6588 completion data for both nicks and irc commands. Add to
6589 completion-at-point-functions in rcirc mode.
6590 (rcirc-complete): Rename from rcirc-nick-complete; use
6591 rcirc-completion-at-point.
6592 (defun-rcirc-command): Update rcirc-client-commands.
6594 2010-09-11 Glenn Morris <rgm@gnu.org>
6596 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6597 atomically, to avoid parallel build errors. (Bug#4196)
6599 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6601 * progmodes/sql.el: Version 2.6
6602 (sql-dialect): Synonym for "sql-product".
6603 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6604 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6605 Set "sql-buffer" to buffer name not buffer object so multiple sql
6606 interactive buffers work properly. Reverts misguided changes in
6608 (sql-comint): Make sure different buffer name is used if "*SQL*"
6609 buffer is for a different product.
6610 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6612 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6613 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6614 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6615 Accept new buffer name or prompt for one.
6616 (sql-port): Default to zero.
6617 (sql-comint-mysql): Handle "sql-port" as a numeric.
6618 (sql-port-history): Delete unused variable.
6619 (sql-get-login): Default "sql-port" to a number.
6620 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6621 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6622 "sqlite3" executables.
6623 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6624 (sql-buffer-live-p): New function.
6625 (sql-mode-menu, sql-send-string): Use it.
6626 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6628 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6629 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6631 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6633 * net/netrc.el (netrc-credentials): New convenience function.
6635 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6637 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6638 to replace texinfo-font-lock-syntactic-keywords.
6639 (texinfo-mode): Use it.
6641 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6642 Use syntax-propertize-function.
6644 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6645 replace sgml-font-lock-syntactic-keywords.
6646 (sgml-mode): Use it.
6648 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6649 since we don't use it.
6651 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6653 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6655 (vhdl-fontify-buffer): Adjust.
6657 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6658 replace tcl-font-lock-syntactic-keywords.
6661 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6662 replace simula-font-lock-syntactic-keywords.
6663 (simula-mode): Use it.
6665 * progmodes/sh-script.el (sh-st-symbol): Remove.
6666 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6667 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6668 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6669 (sh-font-lock-paren): Set syntax-multiline.
6670 (sh-font-lock-syntactic-keywords): Remove.
6671 (sh-syntax-propertize-function): New function to replace it.
6674 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6675 Define while compiling.
6676 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6677 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6678 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6679 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6680 (ruby-here-doc-end-syntax): Only define when
6681 syntax-propertize is not available.
6682 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6684 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6685 (electric-indent-chars): Silence bytecompiler.
6686 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6687 electric-indent-chars.
6689 * progmodes/python.el (python-syntax-propertize-function): New var to
6690 replace python-font-lock-syntactic-keywords.
6691 (python-mode): Use it.
6692 (python-quote-syntax): Simplify and adjust to new use.
6694 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6695 replace perl-font-lock-syntactic-keywords.
6696 (perl-syntax-propertize-special-constructs): New fun to replace
6697 perl-font-lock-special-syntactic-constructs.
6698 (perl-font-lock-syntactic-face-function): New fun.
6699 (perl-mode): Use it.
6701 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6702 to replace octave-font-lock-close-quotes.
6703 (octave-syntax-propertize-function): New function to replace
6704 octave-font-lock-syntactic-keywords.
6705 (octave-mode): Use it.
6707 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6708 replaces mixal-font-lock-syntactic-keywords.
6709 (mixal-mode): Use it.
6711 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6712 New var; replaces makefile-font-lock-syntactic-keywords.
6713 (makefile-mode): Use it.
6714 (makefile-imake-mode): Adjust.
6716 * progmodes/js.el (js--regexp-literal): Define while compiling.
6717 (js-syntax-propertize-function): New var; replaces
6718 js-font-lock-syntactic-keywords.
6721 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6722 replaces gdb-script-font-lock-syntactic-keywords.
6723 (gdb-script-mode): Use it.
6725 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6726 (fortran--font-lock-syntactic-keywords): New var.
6727 (fortran-line-length): Update syntax-propertize-function and
6728 fortran--font-lock-syntactic-keywords.
6730 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6732 * progmodes/cfengine.el (cfengine-mode):
6733 Use syntax-propertize-function.
6734 (cfengine-font-lock-syntactic-keywords): Remove.
6736 * progmodes/autoconf.el (autoconf-mode):
6737 Use syntax-propertize-function.
6738 (autoconf-font-lock-syntactic-keywords): Remove.
6740 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6741 (ada-after-change-function, ada-initialize-syntax-table-properties)
6742 (ada-handle-syntax-table-properties): Only define when
6743 syntax-propertize is not available.
6744 (ada-mode): Use syntax-propertize-function.
6746 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6747 (font-lock-fontify-syntactic-keywords-region): Move handling of
6748 font-lock-syntactically-fontified to...
6749 (font-lock-default-fontify-region): ...here.
6750 Let syntax-propertize-function take precedence.
6751 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6753 * emacs-lisp/syntax.el (syntax-propertize-function)
6754 (syntax-propertize-chunk-size, syntax-propertize--done)
6755 (syntax-propertize-extend-region-functions): New vars.
6756 (syntax-propertize-wholelines, syntax-propertize-multiline)
6757 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6758 (syntax-propertize): New functions.
6759 (syntax-propertize-rules): New macro.
6760 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6761 (syntax-ppss): Call syntax-propertize.
6763 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6765 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6767 * textmodes/ispell.el (ispell-init-process): Improve comments.
6768 XEmacs compatibility changes regarding (add-hook) 'local option
6769 and (set-process-query-on-exit-flag).
6771 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6773 * net/tramp-cache.el (tramp-parse-connection-properties):
6774 Set tramp-autoload cookie.
6776 2010-09-09 Glenn Morris <rgm@gnu.org>
6778 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6779 (imagemagick-register-types): Doc fix.
6781 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6783 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6785 * progmodes/js.el (require): Require is already "eval-and-compile".
6786 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6787 (js--re-search-backward): Use js--re-search-forward.
6789 * progmodes/fortran.el (fortran-line-length): Don't recompute
6790 syntactic keywords redundantly a second time.
6792 * progmodes/ada-mode.el: Replace "(set '" with setq.
6793 (ada-mode): Simplify.
6794 (ada-create-case-exception, ada-adjust-case-interactive)
6795 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6796 (ada-search-ignore-string-comment, ada-move-to-start)
6797 (ada-move-to-end): Use with-syntax-table.
6799 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6800 (font-lock-unfontify-region, font-lock-default-fontify-region):
6801 Update usage correspondingly.
6802 (font-lock-fontify-syntactic-keywords-region):
6803 Set parse-sexp-lookup-properties buffer-locally here.
6804 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6806 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6808 2010-09-08 Glenn Morris <rgm@gnu.org>
6810 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6811 Error if not compiled with -DBYTE_CODE_METER.
6813 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6814 Ignore dir-locals-file.
6816 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6818 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6820 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6821 for the `gnu' messages.
6822 (compilation-set-skip-threshold): New command.
6823 (compilation-start): Use \' rather than $.
6824 (compilation-forget-errors): Use clrhash.
6826 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6828 * textmodes/ispell.el (ispell-valid-dictionary-list):
6831 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6833 Migrate to Tramp 2.2. Rearrange load dependencies.
6834 (Bug#1529, Bug#5448, Bug#5705)
6836 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6837 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6838 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6840 * net/tramp.el (top): Remove all other tramp-* loads except
6841 tramp-compat.el. Remove all changes to tramp-unload-hook for
6842 other tramp-* packages. Rearrange defun order. Change calls of
6843 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6844 `tramp-compat-octal-to-decimal' to new function names.
6845 (tramp-terminal-type, tramp-initial-end-of-output)
6846 (tramp-methods, tramp-foreign-file-name-handler-alist)
6847 (tramp-tramp-file-p, tramp-completion-mode-p)
6848 (tramp-send-command-and-check, tramp-get-remote-path)
6849 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6850 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6851 (with-file-property, with-connection-property): Move to
6853 (tramp-local-call-process, tramp-decimal-to-octal)
6854 (tramp-octal-to-decimal): Move to tramp-compat.el.
6855 (tramp-handle-shell-command): Do not require 'shell.
6856 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6858 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6860 * net/tramp-cache.el (top): Require 'tramp. Add to
6861 `tramp-unload-hook'.
6862 (tramp-cache-data, tramp-get-file-property)
6863 (tramp-set-file-property, tramp-flush-file-property)
6864 (tramp-flush-directory-property, tramp-get-connection-property)
6865 (tramp-set-connection-property, tramp-flush-connection-property)
6866 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6868 (with-file-property, with-connection-property): New defuns, moved
6870 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6873 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6874 (tramp-version): Set tramp-autoload cookie.
6876 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6877 changes to tramp-unload-hook for other tramp-* packages. Add to
6878 `tramp-unload-hook'.
6879 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6880 (tramp-compat-call-process): New defuns, moved from tramp.el.
6882 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6883 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6884 Add to `tramp-unload-hook'. Change call of
6885 `tramp-compat-decimal-to-octal' to new function name.
6886 (tramp-fish-method): Make it a defconst.
6887 (tramp-fish-file-name-p): Make it a defsubst.
6888 (tramp-fish-method, tramp-fish-file-name-handler)
6889 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6891 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6892 `tramp-foreign-file-name-handler-alist'. Add to
6893 `tramp-unload-hook'.
6894 (tramp-ftp-method): Make it a defconst.
6895 (tramp-ftp-file-name-p): Make it a defsubst.
6896 (tramp-ftp-method, tramp-ftp-file-name-handler)
6897 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6899 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6900 `tramp-foreign-file-name-handler-alist'. Add to
6901 `tramp-unload-hook'. Change checks, whether package can be
6903 (tramp-gvfs-file-name-p): Make it a defsubst.
6904 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6905 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6906 (tramp-gvfs-handle-file-directory-p): New defun.
6907 (tramp-gvfs-file-name-handler-alist): Use it.
6909 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6910 `tramp-foreign-file-name-handler-alist'. Add to
6911 `tramp-unload-hook'.
6912 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6913 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6915 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6916 (tramp-gw-open-connection): Set tramp-autoload cookie.
6918 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6919 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6920 Add to `tramp-unload-hook'. Change checks, whether package can be
6922 (tramp-imap-file-name-p): Make it a defsubst.
6923 (tramp-imap-method, tramp-imaps-method)
6924 (tramp-imap-file-name-handler)
6925 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6927 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6928 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6929 Add to `tramp-unload-hook'. Change checks, whether package can be
6930 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6932 (tramp-smb-tunnel-method): Make it a defconst.
6933 (tramp-smb-file-name-p): Make it a defsubst.
6934 (tramp-smb-method, tramp-smb-file-name-handler)
6935 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6937 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6938 (tramp-uuencode-region): Set tramp-autoload cookie.
6940 * net/trampver.el (top) Add to `tramp-unload-hook'.
6941 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6942 cookie. Update release number.
6944 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6946 * textmodes/ispell.el (ispell-start-process): Make sure original
6947 arg list is properly initialized (Bug#6993, Bug#6994).
6949 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6951 * files.el (directory-abbrev-alist): Use \` as default regexp.
6953 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6954 chars like - or ] (bug#6984).
6955 (rx-any-condense-range): Explode 2-char ranges.
6957 2010-09-06 Glenn Morris <rgm@gnu.org>
6959 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6961 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6963 * textmodes/bibtex.el:
6964 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6966 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6968 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6969 since no callers use it.
6970 (imap-message-get): Ditto.
6971 (imap-message-put): Ditto.
6972 (imap-mailbox-map): Ditto.
6973 (imap-mailbox-put): Ditto.
6974 (imap-mailbox-get): Ditto.
6975 (imap-mailbox-get): Revert last change for this function.
6977 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6979 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6980 callers to use `imap-fetch' instead. According to the comments, this
6981 should be safe, since all other IMAP clients use the 1:* syntax.
6982 (imap-enable-exchange-bug-workaround): Remove.
6983 (imap-debug): Remove -- doesn't seem very useful.
6985 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6987 * net/imap.el (imap-log): New convenience function used throughout
6988 instead of repeating the same code all over the place.
6990 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6992 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6993 when mouse-drag-copy-region is non-nil (Bug#6956).
6995 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6997 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6998 Improve regexps (Bug#6987).
6999 (dired-sort-toggle): Search more robustly for -t flag.
7001 * files.el (get-free-disk-space): Search more robustly for
7002 "available" column. Suggested by Ehud Karni
7003 <ehud@unix.mvs.co.il>.
7005 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7007 * international/uni-bidi.el:
7008 * international/uni-category.el:
7009 * international/uni-combining.el:
7010 * international/uni-decimal.el:
7011 * international/uni-mirrored.el:
7012 * international/uni-name.el: Regenerate.
7014 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7016 * electric.el (electric-indent-post-self-insert-function):
7017 Don't reindent with a sloppy indentation function.
7019 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7020 border case in change-log-mode.
7022 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7024 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7025 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7026 Recognize leading tab in gcc-include regexp. Ignore names with
7027 leading "from" or "in" in gnu regexp (Bug#6937).
7029 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7031 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7032 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7033 (ispell-start-process): Avoid setq and simplify logic.
7034 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7035 (kill-buffer-hook): Don't use it globally with code that uses
7036 expand-file-name since that may call kill-buffer via
7037 code_conversion_restore.
7039 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7041 * emacs-lisp/package.el (package-directory-list): Only call
7042 file-name-nondirectory on a string.
7044 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7046 * emacs-lisp/package.el (package--download-one-archive):
7047 Ensure that archive-contents is valid before saving it.
7048 (package-activate-1, package-mark-obsolete, define-package)
7049 (package-compute-transaction, package-list-maybe-add): Use push.
7051 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7053 Use SMIE's blink-paren for octave-mode.
7054 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7055 Backslashes do not escape single-quotes, single-quotes do.
7056 (octave-block-else-regexp, octave-block-end-regexp)
7057 (octave-block-match-alist): Remove.
7058 (octave-smie-bnf-table): New var, with old content.
7059 (octave-smie-op-levels): Use it.
7060 (octave-smie-closer-alist): New var.
7061 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7062 (octave-blink-matching-block-open): Remove.
7063 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7064 (octave-electric-space): Let self-insert-command run expand-abbrev and
7067 * electric.el (electricity): New group.
7068 (electric-indent-chars): New var.
7069 (electric-indent-post-self-insert-function): New fun.
7070 (electric-indent-mode): New minor mode.
7071 (electric-pair-skip-self): New custom.
7072 (electric-pair-post-self-insert-function): New function.
7073 (electric-pair-mode): New minor mode.
7075 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7076 calcAlg-blink-matching-open.
7077 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7078 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7079 Use the new blink-matching-check-function.
7081 Provide blink-matching support to SMIE.
7082 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7083 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7084 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7086 * simple.el (newline): Fix last change to properly remove itself from
7089 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7091 * simple.el (newline): Eliminate optimization.
7092 Use post-self-insert-hook to set hard-newline and things before
7093 running post-self-insert-hook.
7094 (blink-matching-check-mismatch): New function.
7095 (blink-matching-check-function): New variable.
7096 (blink-matching-open): Use them.
7097 Skip back forward over prefix chars skipped by forward-sexp.
7098 Don't check if the parens are backslash escaped.
7099 (blink-paren-post-self-insert-function): Check backslash escaping here.
7101 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7103 * emacs-lisp/package.el (package-menu-mode-map):
7104 Change package-menu-revert bindings to revert-buffer.
7105 (package-menu-mode): Set revert-buffer-function.
7106 (package-menu-revert): Doc fix.
7108 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7110 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7111 `default-directory' unless using Ispell per-directory personal
7112 dictionaries and not in a mini-buffer under XEmacs.
7113 (kill-buffer-hook): Do not kill ispell process on exit when
7114 `ispell-process-directory' is "~/". (Bug#6143)
7116 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7118 * simple.el (kill-new): Call interprogram-cut-function with only
7121 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7122 Remove cut buffer from error message.
7124 * term/x-win.el (x-select-text):
7125 * term/pc-win.el (x-selection-value):
7126 * term/ns-win.el (x-selection-value):
7127 * eshell/em-term.el:
7128 * w32-fns.el (x-get-selection-value):
7129 * mouse-sel.el (mouse-sel-set-selection-function):
7130 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7132 * term/x-win.el: Update documentation for x-last-selected-text-*.
7133 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7134 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7135 (x-select-text): Remove argument PUSH, update documentation.
7136 Remove cut-buffer code.
7137 (x-selection-value-internal): Was previously x-selection-value.
7138 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7139 Update documentation, remove cut-buffer code.
7140 Call x-selection-value-internal.
7141 (x-clipboard-yank): Call x-selection-value-internal.
7142 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7144 * term/pc-win.el (x-last-selected-text):
7145 x-cut-buffer-or-selection-value renamed to x-selection-value
7146 (x-select-text): Remove argument PUSH, update documentation.
7148 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7149 x-cut-buffer-or-selection-value renamed to x-selection-value
7150 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7151 (x-select-text): Remove argument PUSH, update documentation.
7153 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7155 * w32-fns.el (x-last-selected-text):
7156 x-cut-buffer-or-selection-value renamed to x-selection-value.
7157 (x-cut-buffer-max): Remove.
7158 (x-select-text): Remove argument PUSH, update documentation.
7160 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7162 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7164 * mouse-sel.el (mouse-sel-get-selection-function):
7165 x-cut-buffer-or-selection-value renamed to x-selection-value.
7166 (x-select-text): Remove optional push.
7168 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7170 * simple.el (blink-paren-function): Move from C to here.
7171 (blink-paren-post-self-insert-function): New function.
7172 (post-self-insert-hook): Use it.
7174 * emacs-lisp/pcase.el (pcase-split-memq):
7175 Fix overenthusiastic optimisation.
7176 (pcase-u1): Handle the case of a lambda pred.
7178 2010-08-31 Kenichi Handa <handa@m17n.org>
7180 * international/mule-cmds.el (standard-display-european-internal):
7181 Setup standard-display-table for 8-bit characters by storing 8-bit
7182 characters in the element vector.
7184 * disp-table.el (standard-display-8bit):
7185 Setup standard-display-table for 8-bit characters by storing 8-bit
7186 characters in the element vector.
7187 (standard-display-european): Likewise.
7189 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7191 * textmodes/nroff-mode.el (nroff-view): New command.
7192 (nroff-mode-map): Bind it to C-c C-c.
7194 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7196 * emacs-lisp/smie.el (smie-down-list): New command.
7198 Remove old indentation and navigation code on octave-mode.
7199 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7200 smie-down-list rather than add a binding for octave-down-block.
7201 (octave-mark-block, octave-blink-matching-block-open):
7202 Rely on forward-sexp-function.
7203 (octave-fill-paragraph): Don't narrow, so you can use
7204 indent-according-to-mode.
7205 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7206 (octave-in-block-p, octave-re-search-forward-kw)
7207 (octave-re-search-backward-kw, octave-indent-calculate)
7208 (octave-end-as-array-index-p, octave-block-end-offset)
7209 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7210 (octave-down-block, octave-backward-up-block, octave-up-block)
7211 (octave-before-magic-comment-p, octave-indent-line): Remove.
7213 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7215 * emacs-lisp/package.el (package--read-archive-file): Just use
7216 `read', to avoid copying an additional string.
7217 (package-menu-mode): Set header-line-format here.
7218 (package-menu-refresh, package-menu-revert): Signal an error if
7219 not in the Package Menu.
7220 (package-menu-package-list): New var.
7221 (package--generate-package-list): Operate on the current buffer;
7222 don't assume that it is *Packages*, since the user may rename it.
7223 Allow persistent package listings and sort keys using
7224 package-menu-package-list and package-menu-package-sort-key.
7225 (package-menu--version-predicate): Fix version calculation.
7226 (package-menu-sort-by-column): Don't select the window.
7227 (package--list-packages): Create the *Packages* buffer.
7228 Set package-menu-package-list-key.
7229 (list-packages): Sorting by status is now the default.
7230 (package-buffer-info): Use match-string-no-properties.
7231 (define-package): Add a &rest argument for future proofing, but
7233 (package-install-from-buffer, package-install-buffer-internal):
7234 Merge into a single function, package-install-from-buffer.
7235 (package-install-file): Change caller.
7237 * finder.el: Load finder-inf using `require'.
7238 (finder-list-matches): Sorting by status is now the default.
7239 (finder-compile-keywords): Simpify printing.
7241 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7243 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7244 (octave-mode-map): Remove special bindings for forward/backward-block
7245 and octave-backward-up-block. Use smie-close-block.
7246 (octave-continuation-marker-regexp): New var.
7247 (octave-continuation-regexp): Use it.
7248 (octave-operator-table, octave-smie-op-levels)
7249 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7250 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7251 (octave-mode): Use SMIE.
7252 (octave-close-block): Delete.
7254 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7256 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7257 CLIPBOARD, not in PRIMARY. (Bug#6944)
7259 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7261 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7263 (smie-indent-column): Allow indirection through variables.
7265 * composite.el (save-buffer-state): Delete, unused.
7266 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7267 (font-lock-default-fontify-region): Use with-syntax-table.
7268 * jit-lock.el (with-buffer-unmodified): Remove.
7269 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7271 Use `declare' in defmacros.
7272 * window.el (save-selected-window):
7273 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7274 * progmodes/python.el (def-python-skeleton):
7275 * net/dbus.el (dbus-ignore-errors):
7276 * jka-cmpr-hook.el (with-auto-compression-mode):
7277 * international/mule.el (with-category-table):
7278 * emacs-lisp/timer.el (with-timeout):
7279 * emacs-lisp/lisp-mnt.el (lm-with-file):
7280 * emacs-lisp/eieio.el (with-slots):
7281 * emacs-lisp/easymenu.el (easy-menu-define):
7282 * emacs-lisp/debug.el (debugger-env-macro):
7283 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7284 (Multiple-value-call, Multiple-value-prog1):
7285 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7286 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7287 edebug rule to definition.
7288 * emacs-lisp/lisp-mode.el (save-selected-window)
7289 (with-current-buffer, combine-after-change-calls)
7290 (with-output-to-string, with-temp-file, with-temp-buffer)
7291 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7292 (dolist, dotimes, when, unless):
7293 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7295 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7297 * finder.el: Require `package'.
7298 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7299 (finder-package-info): Var deleted.
7300 (finder-keywords-hash, finder--builtins-alist): New vars.
7301 (finder-compile-keywords): Compute package--builtins and
7302 finder-keywords-hash instead of finder-keywords-hash, respecting
7303 the "Package" header.
7304 (finder-unknown-keywords, finder-list-matches):
7305 Use finder-keywords-hash and package--list-packages.
7306 (finder-mode): Don't set font-lock-defaults.
7307 (finder-exit): We don't use "*Finder-package*" and "*Finder
7308 Category*" buffers anymore.
7310 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7311 (package--builtins): Set default value to nil.
7312 (package-initialize): Load precomputed value of package--builtins
7314 (package-alist, package-compute-transaction)
7315 (package-download-transaction): Improve docstring.
7316 (package-read-all-archive-contents): Do not change
7317 package--builtins here.
7318 (list-packages): Make package-list-packages an alias for this.
7319 Sort by status by default.
7320 (package--list-packages): Add optional PACKAGES arg.
7321 (describe-package-1): Use font-lock-face property. For built-in
7322 packages, insert file commentary.
7323 (package--generate-package-list): Rename from
7324 package-list-packages-internal; all callers changed. Add optional
7325 PACKAGES arg. Add alphabetical sort fallbacks.
7326 (package-menu--version-predicate, package-menu--status-predicate)
7327 (package-menu--description-predicate)
7328 (package-menu--name-predicate): New functions.
7330 * info.el (Info-finder-find-node): Search package-alist instead of
7331 finder-package-info.
7333 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7335 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7337 (version-to-list): Handle versions like "10.3d".
7339 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7341 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7342 (macroexp-accumulate): Use `declare'.
7344 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7346 * whitespace.el (whitespace-style): Adjust type declaration.
7348 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
7350 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7351 empty argument to gvfs-copy.
7353 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7355 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7356 handle new TRASH arg of `delete-file'.
7358 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7360 * net/tramp.el (tramp-handle-insert-directory): Don't use
7361 `forward-word', its default syntax could be changed.
7363 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7364 Michael Albinus <michael.albinus@gmx.de>
7366 Implement compression for inline methods.
7368 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7369 (tramp-copy-size-limit): Allow also nil.
7370 (tramp-inline-compress-commands): New defconst.
7371 (tramp-find-inline-compress, tramp-get-inline-compress)
7372 (tramp-get-inline-coding): New defuns.
7373 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7374 replaced by `tramp-get-inline-coding'.
7375 (tramp-handle-file-local-copy, tramp-handle-write-region)
7376 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7378 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
7380 Detect ssh 'ControlMaster' argument automatically in some cases.
7382 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7383 (tramp-default-method): Use it.
7385 2010-08-26 Karel Klíč <kklic@redhat.com>
7387 * net/tramp.el (tramp-file-name-for-operation):
7388 Add file-selinux-context.
7390 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7392 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7394 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7396 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7399 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7401 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7402 (js-paren-indent-offset, js-square-indent-offset)
7403 (js-curly-indent-offset): New options.
7404 (js--proper-indentation): Use them.
7406 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7408 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7409 instead of inspecting font-lock properties (Bug#6916).
7411 2010-08-26 David Reitter <david.reitter@gmail.com>
7413 * server.el (server-visit-files): Run pre-command-hook and
7414 post-command-hook for each buffer while it is current (Bug#6910).
7415 (server-execute): Do not run hooks here.
7417 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7419 Sync with Tramp 2.1.19.
7421 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7422 (tramp-reporter-dump-variable, tramp-load-report-modules)
7423 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
7424 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
7426 * net/tramp-compat.el (top): Do not autoload
7427 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7428 only when `start-file-process' is not bound.
7429 (byte-compile-not-obsolete-vars): Define if not bound.
7430 (tramp-compat-funcall): New defmacro.
7431 (tramp-compat-line-beginning-position)
7432 (tramp-compat-line-end-position)
7433 (tramp-compat-temporary-file-directory)
7434 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7435 (tramp-compat-copy-file, tramp-compat-copy-directory)
7436 (tramp-compat-delete-file, tramp-compat-delete-directory)
7437 (tramp-compat-number-sequence, tramp-compat-process-running-p):
7439 (tramp-advice-file-expand-wildcards): Do not use
7440 `tramp-handle-file-remote-p'.
7441 (tramp-compat-make-temp-file): Simplify fallback implementation.
7442 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7443 (tramp-compat-copy-tree): Remove function.
7444 (tramp-compat-delete-file): New defun.
7445 (tramp-compat-delete-directory): Provide implementation for older
7447 (tramp-compat-file-attributes): Handle only
7448 `wrong-number-of-arguments' error.
7450 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7451 Add PRESERVE_SELINUX_CONTEXT.
7452 (tramp-fish-handle-delete-file): Add TRASH arg.
7453 (tramp-fish-handle-directory-files-and-attributes):
7454 Do not use `tramp-fish-handle-file-attributes.
7455 (tramp-fish-handle-file-local-copy)
7456 (tramp-fish-handle-insert-file-contents)
7457 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
7459 * net/tramp-gvfs.el (top): Require url-util.
7460 (tramp-gvfs-mount-point): Remove.
7461 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
7462 and `set-file-selinux-context'.
7463 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
7464 (tramp-gvfs-handle-file-selinux-context)
7465 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7466 (with-tramp-dbus-call-method): Format trace message.
7467 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7468 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7469 Implement backup call, when operation on local files fails.
7470 Use progress reporter. Flush properties of changed files.
7471 (tramp-gvfs-handle-delete-file): Add TRASH arg.
7472 Use `tramp-compat-delete-file'.
7473 (tramp-gvfs-handle-expand-file-name): Expand "~/".
7474 (tramp-gvfs-handle-make-directory): Make more traces.
7475 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
7476 (tramp-gvfs-url-file-name): Hexify file name in url.
7477 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7478 into account for the resulting file name.
7479 (tramp-gvfs-handler-askquestion): Preserve current message, in
7480 order to let progress reporter continue afterwards. (Bug#6257)
7481 Return dummy mountpoint, when the answer is "no".
7482 See `tramp-gvfs-maybe-open-connection'.
7483 (tramp-gvfs-handler-mounted-unmounted)
7484 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7485 attribute "default_location". Set "prefix" property.
7486 Handle default-location.
7487 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7488 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7489 exists. Raise an error, if not (due to a corresponding answer
7490 "no" in interactive questions, for example).
7491 Use `tramp-compat-funcall'.
7493 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7494 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7495 (tramp-imap-do-copy-or-rename-file)
7496 (tramp-imap-handle-insert-file-contents)
7497 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7498 (tramp-imap-handle-delete-file): Add TRASH arg.
7500 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7501 Add PRESERVE-SELINUX-CONTEXT.
7502 (tramp-smb-handle-copy-file)
7503 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7504 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7505 Use `with-progress-reporter'.
7506 (tramp-smb-handle-delete-file): Add TRASH arg.
7508 * net/tramp.el (tramp-methods): Move hostname to the end in all
7509 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
7511 (tramp-verbose): Describe verbose level 9.
7512 (tramp-completion-function-alist)
7513 (tramp-file-name-regexp, tramp-chunksize)
7514 (tramp-local-coding-commands, tramp-remote-coding-commands)
7515 (with-connection-property, tramp-completion-mode-p)
7516 (tramp-action-process-alive, tramp-action-out-of-band)
7517 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7518 (tramp-exists-file-name-handler): Fix docstring.
7519 (tramp-remote-process-environment): Use `format' instead of
7520 `concat'. Protect version string by apostroph.
7521 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7523 (tramp-file-name-regexp-unified)
7524 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7525 not regard the volume letter as remote filename. (Bug#5447)
7526 (tramp-perl-file-attributes)
7527 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7528 (tramp-vc-registered-read-file-names): Read input as
7529 here-document, otherwise the command could exceed maximum length
7531 (tramp-file-name-handler-alist): Add `file-selinux-context' and
7532 `set-file-selinux-context'.
7533 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
7534 backtrace functions.
7535 (tramp-error-with-buffer): Don't show the connection buffer when
7536 we are in completion mode.
7537 (tramp-progress-reporter-update, tramp-remote-selinux-p)
7538 (tramp-handle-file-selinux-context)
7539 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
7540 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
7542 (with-progress-reporter): New defmacro.
7543 (tramp-debug-outline-regexp): New defconst.
7544 (top, tramp-rfn-eshadow-setup-minibuffer)
7545 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7546 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7547 (tramp-completion-mode-p, tramp-check-for-regexp)
7548 (tramp-open-connection-setup-interactive-shell)
7549 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7550 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7551 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
7552 Use `tramp-compat-funcall'.
7553 (tramp-handle-make-symbolic-link): Flush file properties.
7554 (tramp-handle-load, tramp-handle-file-local-copy)
7555 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7556 (tramp-handle-vc-registered, tramp-maybe-send-script)
7557 (tramp-find-shell): Use `with-progress-reporter'.
7558 (tramp-do-file-attributes-with-stat): Add space in format string,
7559 in order to work around a bug in pdksh. Reported by Gilles Pion
7561 (tramp-handle-verify-visited-file-modtime): Do not send a command
7562 when the connection is not established.
7563 (tramp-handle-set-file-times): Simplify the check for utc.
7564 (tramp-handle-directory-files-and-attributes)
7565 (tramp-get-remote-path): Use `copy-tree'.
7566 (tramp-completion-handle-file-name-all-completions): Ensure, that
7567 non remote files are still checked. Oops.
7568 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7569 Handle PRESERVE-SELINUX-CONTEXT.
7570 (tramp-do-copy-or-rename-file): Add progress reporter.
7571 (tramp-do-copy-or-rename-file-directly): Do not use
7572 `tramp-handle-file-remote-p'.
7573 (tramp-do-copy-or-rename-file-out-of-band):
7574 Use `tramp-compat-delete-directory'.
7575 (tramp-do-copy-or-rename-file-out-of-band)
7576 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7577 Use `format-spec-make'.
7578 (tramp-handle-delete-file): Add TRASH arg.
7579 (tramp-handle-dired-uncache): Flush directory cache, not only file
7581 (tramp-handle-expand-file-name)
7582 (tramp-completion-handle-file-name-all-completions)
7583 (tramp-completion-handle-file-name-completion):
7584 Use `tramp-connectable-p'.
7585 (tramp-handle-start-file-process): Set connection property "vec".
7586 Use it, in order to invalidate file caches. Check only for
7587 `remote-tty' process property.
7588 Implement tty setting. (Bug#4604, Bug#6360)
7589 (tramp-file-name-for-operation): Add `call-process-region' and
7590 `set-file-selinux-context'.
7591 (tramp-find-foreign-file-name-handler)
7592 (tramp-advice-make-auto-save-file-name)
7593 (tramp-set-auto-save-file-modes): Remove superfluous check for
7594 `stringp'. This is done inside `tramp-tramp-file-p'.
7595 (tramp-file-name-handler): Trace 'quit. Catch the error for some
7596 operations when we are in completion mode. This gives the user
7597 the chance to correct the file name in the minibuffer.
7598 (tramp-completion-mode-p): Use `non-essential'.
7599 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7600 compatibility: Use `completion-ignore-case' if
7601 `read-file-name-completion-ignore-case' does not exist.
7602 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
7603 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7605 (tramp-action-password): Hide password prompt before next run.
7606 (tramp-process-actions): Widen connection buffer for the trace.
7607 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7608 process property. Trace stty settings if `tramp-verbose' >= 9.
7609 Apply workaround for IRIX64 bug. Move argument of last
7610 `tramp-send-command' where it belongs to.
7611 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7612 front of `login-args'.
7613 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7614 on "/dev/null" instead of "/".
7615 (tramp-get-ls-command-with-dired): Make test for "--dired"
7617 (tramp-set-auto-save-file-modes): Adapt version check.
7618 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7619 (tramp-handle-process-file): Call the program in a subshell, in
7620 order to preserve working directory.
7621 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7622 `tramp-remote-sh' from `tramp-methods'.
7623 (tramp-get-ls-command): Make test for "--color=never" stronger.
7624 (tramp-check-for-regexp): Use (forward-line 1).
7626 * net/trampver.el: Update release number.
7628 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7630 * help.el (help-map): Bind `C-h P' to describe-package.
7632 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7634 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7635 when downloading archives.
7636 (describe-package-1): Add package commentary.
7637 (package-install-button-action): New function.
7638 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7639 (package-menu-view-commentary): Function removed.
7640 (package-list-packages-internal): Hide the `package' package too.
7642 2010-08-25 Kenichi Handa <handa@m17n.org>
7644 * language/misc-lang.el ("Arabic"): New language environment.
7645 Setup composition-function-table for Arabic characters.
7647 * international/fontset.el (setup-default-fontset): Fix typo for
7648 arabic OTF spec (fini->fina).
7650 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7652 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7655 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7657 * whitespace.el: Allow cleaning up blanks without blank
7658 visualization (Bug#6651). Adjust help window for
7659 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7660 instead of whitespace-line-column (from EmacsWiki). New version
7662 (whitespace-style): Add new value 'face. Adjust docstring.
7663 (whitespace-space, whitespace-hspace, whitespace-tab):
7664 Adjust foreground property face.
7665 (whitespace-line-column): Adjust docstring and type declaration.
7666 (whitespace-style-value-list, whitespace-toggle-option-alist)
7667 (whitespace-help-text): Adjust const initialization.
7668 (whitespace-toggle-options, global-whitespace-toggle-options):
7670 (whitespace-display-window, whitespace-interactive-char)
7671 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7672 (whitespace-help-scroll): New fun.
7674 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7676 * emacs-lisp/package.el (list-packages): Alias for
7677 package-list-packages.
7679 2010-08-24 Kevin Ryde <user42@zip.com.au>
7681 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7684 * progmodes/ruby-mode.el (ruby): Add defgroup.
7686 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7688 * progmodes/python.el: Add Ipython support (Bug#5390).
7689 (python-shell-prompt-alist)
7690 (python-shell-continuation-prompt-alist): New options.
7691 (python--set-prompt-regexp): New function.
7692 (inferior-python-mode, run-python, python-shell):
7693 Require ansi-color. Use python--set-prompt-regexp to set the comint
7694 prompt based on the Python interpreter.
7695 (python--prompt-regexp): New var.
7696 (python-check-comint-prompt)
7697 (python-comint-output-filter-function): Use it.
7698 (run-python): Use a pipe (Bug#5694).
7700 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7702 * progmodes/python.el (python-send-region): Send a different
7703 Python command if Ipython is in use.
7704 (python-check-version): Use a Python command to find the version.
7706 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7708 * mouse.el (mouse-yank-primary): Avoid setting primary when
7709 deactivating the mark (Bug#6872).
7711 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7713 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7714 with "else" (Bug#3991).
7716 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7718 * net/dbus.el: Accept UNIX domain sockets as bus address.
7719 (top): Don't initialize `dbus-registered-objects-table' anymore,
7720 this is done in dbusbind,c.
7721 (dbus-check-event): Adapt test for bus.
7722 (dbus-return-values-table, dbus-unregister-service)
7723 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7726 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7728 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7730 2010-08-22 Juri Linkov <juri@jurta.org>
7732 * simple.el (read-extended-command): New function with the logic
7733 for `completing-read' moved to Elisp from `execute-extended-command'.
7734 Use `function-called-at-point' in `minibuffer-default-add-function'
7735 to get a command name for M-n (bug#5364, bug#5214).
7737 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7739 * startup.el (command-line-1): Issue warning for ignored arguments
7740 --unibyte, etc (Bug#6886).
7742 2010-08-22 Leo <sdl.web@gmail.com>
7744 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7745 (ignore, bright, dim, keyword): Split list of nicknames before
7746 passing to rcirc-add-or-remove (Bug#6894).
7748 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7750 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7752 2010-08-22 Leo <sdl.web@gmail.com>
7754 Fix buffer-list rename&refresh after killing a buffer in ido.
7755 * ido.el: Revert Óscar's.
7756 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7757 Remember the buffers at head, rather than their name.
7758 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7760 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7761 Stefan Monnier <monnier@iro.umontreal.ca>
7763 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7764 extra backslash added to each line (bug#6890).
7766 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7768 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7770 2010-08-22 Glenn Morris <rgm@gnu.org>
7772 * menu-bar.el (menu-bar-games-menu): Add landmark.
7774 2010-08-22 Glenn Morris <rgm@gnu.org>
7776 * align.el (align-regexp): Make group and spacing arguments
7777 use the interactive defaults when non-interactive. (Bug#6698)
7779 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7780 expansion, so as not to need sendmail.
7781 (mail-text-start): Remove declaration.
7782 (rmail-retry-failure): Require sendmail.
7784 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7786 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7788 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7790 * progmodes/flymake.el (flymake-start-syntax-check-process):
7791 Use `start-file-process' in order to let it run also on remote hosts.
7793 2010-08-22 Kenichi Handa <handa@m17n.org>
7795 * files.el: Add `word-wrap' as safe local variable.
7797 2010-08-22 Glenn Morris <rgm@gnu.org>
7799 * woman.el (woman-translate): Case matters. (Bug#6849)
7801 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7803 * simple.el (kill-region): Doc fix (Bug#6787).
7805 2010-08-22 Glenn Morris <rgm@gnu.org>
7807 * calendar/diary-lib.el (diary-header-line-format):
7808 Fit it to the window, not the frame.
7810 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7812 * subr.el (ignore-errors): Add debug declaration.
7814 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7816 * whitespace.el (whitespace-color-off): Remove post-command-hook
7819 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7821 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7823 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7825 * cus-edit.el (custom-group-value-create): Add extra newline
7826 before end line (Bug#6876).
7828 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7830 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7831 when extending it. Before killing on the second click, check if
7832 the buffer is the correct one. Doc fix.
7833 (mouse-secondary-save-then-kill): Allow usage without first
7834 calling mouse-start-secondary, by defaulting to point. Don't save
7835 an empty secondary selection. Doc fix.
7837 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7839 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7840 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7842 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7843 Adjust initialization.
7844 (whitespace-bob-marker, whitespace-eob-marker)
7845 (whitespace-buffer-changed): New vars.
7846 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7847 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7848 (whitespace-post-command-hook, whitespace-display-char-on):
7850 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7851 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7853 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7855 * files.el (locate-file-completion-table): Only list the .el and .elc
7856 extensions if there's no other choice (bug#5955).
7858 * facemenu.el (facemenu-self-insert-data): New var.
7859 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7861 (facemenu-add-face): Use them.
7863 * simple.el (blink-matching-open): Obey forward-sexp-function.
7865 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7867 * simple.el (prog-mode-map): New var.
7868 (prog-indent-sexp): New command.
7870 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7872 * progmodes/prolog.el (smie): Require.
7874 * emacs-lisp/smie.el (smie-default-backward-token)
7875 (smie-default-forward-token): Strip properties.
7876 (smie-next-sexp): Be more careful with associative operators.
7877 (smie-forward-sexp-command): Generalize.
7878 (smie-backward-sexp-command): Simplify.
7879 (smie-closer-alist): New var.
7880 (smie-close-block): New command.
7881 (smie-indent-debug-log): New var.
7882 (smie-indent-offset-rule): Add a few more cases.
7883 (smie-indent-column): New function.
7884 (smie-indent-after-keyword): Use it.
7885 (smie-indent-keyword): Use it.
7886 Fix up the opener code's point position.
7887 (smie-indent-comment): Only applies at BOL.
7888 (smie-indent-debug): New command.
7890 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7891 declarations that are useful before running the macro.
7893 2010-08-18 Joakim Verona <joakim@verona.se>
7895 * image.el (imagemagick-types-inhibit): New variable.
7896 (imagemagick-register-types): New function.
7897 * image-mode.el (image-transform-properties): New function.
7898 (image-transform-set-scale, image-transform-fit-to-height)
7899 (image-transform-set-rotation, image-transform-set-resize)
7900 (image-transform-fit-to-width, image-transform-fit-to-height):
7902 (image-toggle-display-image): Support image transforms.
7904 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7906 * image.el (create-animated-image): Don't add heuristic mask to image
7909 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7911 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7912 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7914 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7916 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7918 Font-lock '...' strings, plus various simplifications and fixes.
7919 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7920 (octave-font-lock-close-quotes): New function.
7921 (octave-font-lock-syntactic-keywords): New var.
7922 (octave-mode): Use it. Set beginning-of-defun-function.
7923 (octave-mode-map): Don't override the <foo>-defun commands.
7924 (octave-mode-menu): Pass it directly to easy-menu-define;
7925 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7926 (octave-block-match-alist): Fix up last change so that
7927 octave-close-block uses the more specific keyword.
7928 (info-lookup-mode): Silence byte-compiler.
7929 (octave-beginning-of-defun): Not interactive any more.
7931 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7932 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7933 (octave-completion-at-point-function): Make sure point is within
7935 (octave-reindent-then-newline-and-indent):
7936 Use reindent-then-newline-and-indent.
7937 (octave-add-octave-menu): Remove.
7939 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7941 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7942 (report-emacs-bug-can-use-xdg-email): New functions.
7943 (report-emacs-bug): Set can-xdg-email to result of
7944 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7945 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7948 * net/browse-url.el (browse-url-default-browser): Add cond
7949 for browse-url-xdg-open.
7950 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7952 2010-08-17 Glenn Morris <rgm@gnu.org>
7954 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7955 (c-fontify-recorded-types-and-refs): Define for compiler.
7956 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7959 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7962 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7964 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7966 (tramp-handle-process-file): Call the program in a subshell, in
7967 order to preserve working directory.
7968 (tramp-action-password): Hide password prompt before next run.
7969 (tramp-process-actions): Widen connection buffer for the trace.
7971 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7973 * net/rcirc.el (rcirc-log-process-buffers): New option.
7974 (rcirc-print): Use it.
7975 (rcirc-generate-log-filename): New function.
7976 (rcirc-log-filename-function): Change default to
7977 rcirc-generate-log-filename (Bug#6828).
7979 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7981 * simple.el (deactivate-mark): If select-active-regions is `only',
7982 only set selection for temporarily active regions.
7984 * cus-start.el: Change defcustom for select-active-regions.
7986 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7988 * mouse.el (mouse--drag-set-mark-and-point): New function.
7989 (mouse-drag-track): Use LOCATION arg to push-mark.
7990 Use mouse--drag-set-mark-and-point to take click-count into
7991 consideration when updating point and mark (Bug#6840).
7993 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7995 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7996 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7998 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8000 * font-lock.el (lisp-font-lock-keywords-2):
8001 Add combine-after-change-calls, condition-case-no-debug,
8002 with-demoted-errors, and with-silent-modifications (Bug#6025).
8004 2010-08-14 Kevin Ryde <user42@zip.com.au>
8006 * emacs-lisp/copyright.el (copyright-update-year)
8007 (copyright-update): Temporary switch-to-buffer to ensure the
8008 buffer change being queried is visible (Bug#5394).
8010 2010-08-14 Tom Tromey <tromey@redhat.com>
8012 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8015 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8017 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8020 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8022 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8023 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8024 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8025 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8026 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8027 Call menu-bar-set-tool-bar-position.
8029 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8031 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8032 comment style (bug#6834).
8033 * progmodes/scheme.el (scheme-mode-syntax-table):
8034 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8035 "b" flag in "' 14b" syntax.
8037 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8038 for (un)commenting the region and performing completion.
8039 (octave-mode-menu): Use standard commands for help and completion.
8040 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8041 (octave-mode): Use define-derived-mode.
8042 Set completion-at-point-functions and don't set columns.
8043 Don't disable adaptive-fill-regexp.
8044 (octave-describe-major-mode, octave-comment-region)
8045 (octave-uncomment-region, octave-comment-indent)
8046 (octave-indent-for-comment): Remove.
8047 (octave-indent-calculate): Rename from calculate-octave-indent.
8048 (octave-indent-line, octave-fill-paragraph): Update caller.
8049 (octave-initialize-completions): No need to make an alist.
8050 (octave-completion-at-point-function): New function.
8051 (octave-complete-symbol): Use it.
8052 (octave-insert-defun): Use define-skeleton.
8054 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8055 (octave-mode-map): Use comment-dwim (bug#6829).
8057 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
8059 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8060 indentation of inserted comment.
8062 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8064 * faces.el (region): Add type gtk that uses gtk colors.
8066 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8067 Handle theme-name change.
8069 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8071 * progmodes/sql.el: Version 2.5
8072 (sql-product-alist): Add :prompt-cont-regexp property for several
8074 (sql-prompt-cont-regexp): New variable.
8075 (sql-output-newline-count, sql-output-by-send):
8076 New variables. Record number of newlines in input text.
8077 (sql-send-string): Handle multiple filters and count newlines.
8078 (sql-send-magic-terminator): Count terminator newline.
8079 (sql-interactive-remove-continuation-prompt): Filters output to
8080 remove continuation prompts; one for each newline.
8081 (sql-interactive-mode): Set up new variables, prompt regexp and
8083 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8084 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8086 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8088 * emacs-lisp/pcase.el: New file.
8090 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8092 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8093 as here-document, otherwise the command could exceed maximum
8094 length of command line.
8095 (tramp-handle-vc-registered): Call script accordingly.
8096 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8098 2010-08-10 Kenichi Handa <handa@m17n.org>
8100 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8103 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8105 * emacs-lisp/package.el (package-version-split)
8106 (package--version-first-nonzero, package-version-compare):
8108 (package-directory-list, package-load-all-descriptors)
8109 (package--built-in, package-activate, define-package)
8110 (package-installed-p, package-compute-transaction)
8111 (package-read-all-archive-contents)
8112 (package--add-to-archive-contents, package-buffer-info)
8113 (package-tar-file-info, package-list-packages-internal):
8114 Use version-to-list and version-list-*.
8116 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8117 Use version-to-list.
8118 (package-upload-buffer-internal): Use version-list-<=.
8120 2010-08-09 Kenichi Handa <handa@m17n.org>
8122 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8125 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8127 * tutorial.el (tutorial--default-keys): C-d is now bound to
8128 delete-forward-char (Bug#6826).
8130 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8131 for `double' value of mouse-1-click-follows-link (Bug#6807).
8133 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8135 * replace.el (replace-highlight): Bind isearch-forward and
8136 isearch-error, ensuring that highlighting is updated if the user
8137 switches the search direction (Bug#6808).
8139 * isearch.el (isearch-lazy-highlight-forward): New var.
8140 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8141 (isearch-lazy-highlight-update): Use it.
8143 2010-08-08 Kenichi Handa <handa@m17n.org>
8145 * international/mule.el (define-charset): Store NAME as :base property.
8146 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8147 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8148 current priority. Force using the designation of the specific
8149 charset by adding `charset' text property. Improve the whole algorithm.
8151 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8153 * emulation/pc-select.el (pc-selection-mode-hook)
8154 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8155 (pc-selection-mode): Fix typos in docstrings.
8157 2010-08-08 Kenichi Handa <handa@m17n.org>
8159 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8160 ctext-non-standard-encodings-alist here.
8162 * international/mule.el (ctext-non-standard-encodings-alist):
8163 Add "koi8-r" and "microsoft-cp1251".
8164 (ctext-standard-encodings): New variable.
8165 (ctext-non-standard-encodings-table): List only elements for
8166 non-standard encodings.
8167 (ctext-pre-write-conversion): Adjust for the above change.
8168 Check ctext-standard-encodings.
8170 * international/mule-conf.el (compound-text): Doc fix.
8171 (ctext-no-compositions): Doc fix.
8172 (compound-text-with-extensions): Doc fix.
8174 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8176 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8178 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8180 * progmodes/which-func.el (which-func-format): Split help-echo text
8181 into lines, like other mode-line tooltips.
8183 * server.el (server-start): When using TCP sockets, force IPv4
8184 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8186 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8188 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8190 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8192 * term.el (term-delimiter-argument-list): Reflow docstring.
8193 (term-read-input-ring, term-write-input-ring, term-send-input)
8194 (term-bol, term-erase-in-display, serial-supported-or-barf):
8195 Fix typos in docstrings.
8197 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8199 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8201 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8203 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8205 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8207 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8208 Fix typo in docstring (bug#6747).
8210 2010-08-08 Leo <sdl.web@gmail.com>
8212 * eshell/esh-io.el (eshell-get-target): Better detection of
8213 read-only file (Bug#6762).
8215 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8217 * align.el (align-default-spacing): Doc fix.
8218 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8220 2010-08-08 Stephen Peters <speters@itasoftware.com>
8222 * calendar/icalendar.el
8223 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8224 (icalendar--get-weekday-numbers): New.
8225 (icalendar--convert-recurring-to-diary): Handle multiple byday
8226 values in weekly rules. (Bug#6766)
8228 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8230 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8231 (icalendar--create-uid, icalendar-export-region)
8232 (icalendar--parse-summary-and-rest): Code formatting.
8234 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8236 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
8237 to italicize headers.
8238 (calc-highlight-selections-with-faces): New variable.
8239 (calc-selected-face, calc-nonselected-face): New faces.
8241 * calc/calccomp.el (math-comp-highlight-string): Use
8242 `calc-highlight-selections-with-faces' to determine how to highlight
8245 * calc/calc-sel.el (calc-show-selections): Change message to when
8246 using faces to highlight selections.
8248 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8250 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8251 Add SQLite 3 keywords, functions and datatypes.
8252 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8255 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8257 * simple.el (select-active-regions): Move to keyboard.c.
8258 (deactivate-mark): Used saved-region-selection.
8259 (select-active-region): Function removed.
8260 (activate-mark, set-mark, push-mark-command)
8261 (handle-shift-selection): Don't call it.
8262 (keyboard-quit): Avoid adding the region to the window selection.
8264 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8265 select-active-regions implementation.
8266 (mouse-yank-at-click): Doc fix.
8268 * cus-start.el: Add custom declaration for select-active-regions.
8270 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8272 * simple.el (delete-forward-char): Doc fix.
8274 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8275 after reading the tutorial.
8277 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8279 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8280 Fix for the case that a C style comment has its delimiters alone on
8281 their respective lines.
8283 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8285 * net/tramp.el (tramp-handle-start-file-process): Set connection
8287 (tramp-process-sentinel): Use it for flushing the cache.
8288 We cannot do it via the process buffer, the buffer could be deleted
8289 already when running the sentinel.
8291 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8293 * comint.el (comint-mode): Make directory tracking functions
8294 functional on remote files. (Bug#6764)
8296 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8298 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8300 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8302 * emacs-lisp/find-gc.el (find-gc-source-files):
8303 Rename unexec.c => unexcoff.c.
8305 * emacs-lisp/authors.el (authors-fixed-entries):
8306 Rename unexec.c => unexcoff.c.
8308 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8310 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8311 cache, not only file cache.
8312 (tramp-process-sentinel): New defun.
8313 (tramp-handle-start-file-process): Use it, in order to invalidate
8316 2010-08-03 Leo <sdl.web@gmail.com>
8318 * server.el (server-start): Simplify loop.
8320 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8322 * frame.el (screen-height, screen-width, set-screen-width)
8323 (set-screen-height): Remove ancient compatibility aliases.
8325 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8326 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8328 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8329 that change current buffer.
8331 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8333 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8334 beginning of the string. Use `string-match-p'. (Bug#6765)
8336 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8338 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8340 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8342 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8343 (package--builtins): Tweak descriptions.
8344 (package-print-package): Upcase descriptions if necessary.
8345 Show all built-in packages in font-lock-builtin-face.
8346 (package-list-packages-internal): Omit "emacs" package.
8347 Show status of built-in packages as "built-in".
8349 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8351 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8352 before killing to preserve the primary selection (Bug#6701).
8354 * term/x-win.el (x-select-text): Doc fix.
8356 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8358 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8359 (objc-font-lock-extra-types):
8360 * progmodes/cc-mode.el (c-basic-common-init):
8361 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8362 (c++-make-template-syntax-table)
8363 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8364 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8365 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8366 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8367 * progmodes/cc-fonts.el (c-make-inverse-face)
8368 (c-basic-matchers-after):
8369 * progmodes/cc-engine.el (c-forward-keyword-clause)
8370 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8371 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8372 (c-guess-continued-construct, c-guess-basic-syntax):
8373 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8374 The above functions were modified or created.
8376 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8378 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8380 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8382 * files.el (bidi-paragraph-direction): Define safe local values.
8384 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8385 language-info-alist. Remove outdated FIXME in a comment.
8387 2010-07-31 Alan Mackenzie <acm@muc.de>
8389 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8390 Auto-fill broken in C/C++ modes.
8392 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8394 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8395 (menu-bar-showhide-tool-bar-menu-customize-disable)
8396 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8397 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8398 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8399 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8400 make a menu for Options => toolbar that can move it.
8402 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8404 * emacs-lisp/package-x.el (package--make-rss-entry):
8405 (package-maint-add-news-item, package--update-news)
8406 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8408 * emacs-lisp/package.el (package-archive-url): Rename from
8410 (package-install): Doc fix.
8411 (package-download-single, package-download-tar, package-install)
8412 (package-menu-view-commentary): Callers changed.
8414 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8416 * net/tramp.el (tramp-handle-start-file-process): Check only for
8417 `remote-tty' process property.
8418 (tramp-open-shell): Don't check for tty.
8419 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8422 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8425 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8427 * emacs-lisp/package.el (package-load-list, package-archives)
8428 (package-archive-contents, package-user-dir)
8429 (package-directory-list, package--builtins, package-alist)
8430 (package-activated-list, package-obsolete-alist): Mark as risky.
8432 2010-07-28 Phil Hagelberg <phil@evri.com>
8434 Add support for non-default package repositories.
8435 * emacs-lisp/package.el (package-archive-base): Var deleted.
8436 (package-archives): New variable.
8437 (package-archive-contents): Doc fix.
8438 (package-load-descriptor): Do nothing if descriptor file is missing.
8439 (package--write-file-no-coding): New function.
8440 (package-unpack-single): Use it.
8441 (package-archive-id): New function.
8442 (package-download-single, package-download-tar)
8443 (package-menu-view-commentary): Use it.
8444 (package-installed-p): Make second argument optional.
8445 (package-read-all-archive-contents): New function.
8446 (package-initialize): Use it.
8447 (package-read-archive-contents): Add ARCHIVE argument.
8448 (package--add-to-archive-contents): New function.
8449 (package-install): Don't call package-read-archive-contents.
8450 (package--download-one-archive): Store archive file in a
8451 subdirectory of package-user-dir.
8452 (package-menu-execute): Remove spurious line movement.
8454 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8456 * cus-start.el (tool-bar-style): Add text-image-horiz.
8458 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8460 * progmodes/gud.el (gud-common-init): Check for remoteness of
8461 `file', and not of `default-directory'.
8463 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8465 * net/tramp.el (tramp-methods): Move hostname to the end in all
8466 ssh `tramp-login-args'.
8467 (tramp-verbose): Describe verbose level 9.
8468 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8469 (tramp-open-connection-setup-interactive-shell): Trace stty
8470 settings if `tramp-verbose' >= 9.
8471 (tramp-handle-start-file-process): Implement tty setting.
8472 (Bug#4604, Bug#6360)
8474 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8475 `tramp-verbose' to 9.
8477 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8479 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8480 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8481 Remove references to package `lisp-re' (bug#4369).
8483 2010-07-27 Tom Tromey <tromey@redhat.com>
8485 * progmodes/js.el (js-mode):
8486 * progmodes/make-mode.el (makefile-mode):
8487 * progmodes/simula.el (simula-mode):
8488 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8490 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8492 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8494 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8495 (display-time-world-buffer-name, display-time-world-mode-map):
8496 Fix typos in docstrings.
8498 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8500 * image-mode.el (image-display-size): New function.
8501 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8502 (image-mode-fit-frame): Use it (Bug#6639).
8504 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8506 * dired.el (dired-buffers-for-dir): Handle list values of
8507 dired-directory (Bug#6636).
8509 2010-07-26 Sam Steingold <sds@gnu.org>
8511 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8512 Do not call `x-get-selection' the second time, reuse the value.
8514 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8516 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8517 which consist of control chars only. Suggested by Richard Stallman.
8519 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8521 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8522 exists before passing an error to find-file-not-found-functions
8525 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8527 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8528 Remove leading nil element, adjust values.
8529 (tetris-shapes, tetris-shape-scores):
8530 Change representation of shapes and remove some redundancy.
8531 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8532 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8533 Adjust for working with new representation of shapes.
8534 (tetris-shape-rotations): New function.
8535 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8536 (tetris-rotate-prev, tetris-rotate-next):
8537 Adjust for working with the new version of tetris-test-shape.
8539 2010-07-23 Markus Triska <markus.triska@gmx.at>
8541 * progmodes/ps-mode.el: Use comint (bug#5954).
8542 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8543 (ps-mode-other-newline): Simplify.
8544 (ps-run-mode): Derive from comint-mode instead of
8545 fundamental-mode, yielding input history etc.
8546 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8547 (ps-run-send-string): Adapt for comint-mode.
8548 (ps-run-newline): Remove now unneeded function.
8550 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8552 * net/tramp.el (tramp-methods): Move hostname to the end in all
8553 plink `tramp-login-args'.
8555 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8557 * net/tramp.el (tramp-open-shell): New defun.
8558 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8561 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8563 * net/tramp.el (tramp-file-name-regexp-unified)
8564 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8565 not regard the volume letter as remote filename. (Bug#5447)
8567 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8569 * custom.el (custom-declare-variable): Give a clearer error message
8570 when the docstring is missing (bug#6476).
8572 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8574 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8575 (sql-login-params): New widget definition.
8576 (sql-oracle-login-params, sql-mysql-login-params)
8577 (sql-solid-login-params, sql-sybase-login-params)
8578 (sql-informix-login-params, sql-ingres-login-params)
8579 (sql-ms-login-params, sql-postgres-login-params)
8580 (sql-interbase-login-params, sql-db2-login-params)
8581 (sql-linter-login-params): Use it.
8582 (sql-sqlite-login-params): Use it; Define "database" parameter as
8584 (sql-sqlite-program): Change to "sqlite3".
8585 (sql-comint-sqlite): Make sure database name is complete.
8586 (sql-for-each-login): New function.
8587 (sql-connect, sql-save-connection): Use it.
8588 (sql-get-login-ext): New function.
8589 (sql-get-login): Use it.
8590 (sql-make-alternate-buffer-name): Handle :file parameters.
8592 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8594 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8595 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8597 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8599 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8601 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8603 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8605 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8607 * net/tramp.el (tramp-get-ls-command)
8608 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8611 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8613 * progmodes/sql.el: Version 2.3.
8614 (sql-connection-alist): Change keys from symbols to strings;
8615 enhanced the widget definition.
8616 (sql-mode-menu): Add submenu to select connections.
8617 (sql-interactive-mode-menu): Add "Save Connection" item.
8618 (sql-add-product): Fix menu item.
8619 (sql-get-product-feature): Improved error handling.
8620 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8621 (sql-make-alternate-buffer-name): Simplified.
8622 (sql-product-interactive): Handle missing product.
8623 (sql-connect): Support string keys, minor improvements.
8624 (sql-save-connection): New function.
8625 (sql-connection-menu-filter): New function.
8627 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8629 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8630 (tramp-open-connection-setup-interactive-shell):
8631 Apply workaround for IRIX64 bug. Move argument of last
8632 `tramp-send-command' where it belongs to.
8634 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8636 * net/tramp.el (tramp-perl-file-attributes)
8637 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8638 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8639 front of `login-args'.
8641 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8643 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8644 Set `show-trailing-whitespace' to nil.
8645 (display-time-world-display): Simplify.
8647 2010-07-18 Alan Mackenzie <acm@muc.de>
8649 Enhance `c-file-style' in file/directory local variables.
8650 * progmodes/cc-mode.el (c-count-cfss): New function.
8651 (c-before-hack-hook): Call `c-set-style' differently according to
8652 whether c-file-style was set in file or directory local
8655 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8657 * progmodes/sql.el: Version 2.2.
8658 (sql-product, sql-user, sql-database, sql-server, sql-port):
8659 Use defcustom :safe keyword rather than putting safe-local-variable
8661 (sql-password): Use defcustom :risky keyword rather than putting
8662 risky-local-variable property.
8663 (sql-oracle-login-params, sql-sqlite-login-params)
8664 (sql-solid-login-params, sql-sybase-login-params)
8665 (sql-informix-login-params, sql-ingres-login-params)
8666 (sql-ms-login-params, sql-postgres-login-params)
8667 (sql-interbase-login-params, sql-db2-login-params)
8668 (sql-linter-login-params): Add `port' option.
8669 (sql-get-product-feature): Add NO-INDIRECT parameter.
8670 (sql-comint-oracle, sql-comint-sybase)
8671 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8672 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8673 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8674 (sql-comint-linter): Rename sql-connect-* functions to
8676 (sql-product-alist, sql-mode-menu): Rename as above and
8677 :sqli-connect-func to :sqli-comint-func.
8678 (sql-connection): New variable.
8679 (sql-interactive-mode): Set it.
8680 (sql-connection-alist): New variable.
8681 (sql-connect): New function.
8682 (sql--alt-buffer-part, sql--alt-if-not-empty)
8683 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8685 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8687 * image-mode.el (image-bookmark-make-record): Do not set context
8688 in an image (Bug#6650).
8690 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8692 * simple.el (select-active-region): New function.
8693 (push-mark-command, set-mark, activate-mark)
8694 (handle-shift-selection): Use it.
8695 (deactivate-mark): Don't check for size of region.
8697 * mouse.el (mouse-drag-track): Use select-active-region.
8699 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8701 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8704 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8706 * term/x-win.el (x-select-enable-primary): Change default to nil.
8707 (x-select-enable-clipboard): Add :version keyword.
8709 * mouse.el (mouse-drag-copy-region):
8710 * simple.el (select-active-regions): Likewise.
8712 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8714 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8715 (vc-coding-system-for-diff): Use it to decide whether to inherit
8716 from the file the EOL format for reading the diffs of that file.
8719 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8721 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8722 unibyte, so compressed attachments are not compressed again.
8724 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8726 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8727 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8728 (tramp-find-shell): Simplify setting connection property.
8729 (tramp-get-ls-command): Make test for "--color=never" stronger.
8731 2010-07-15 Simon South <ssouth@member.fsf.org>
8733 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8734 blocks within record declarations (i.e. variant parts) correctly.
8736 2010-07-15 Simon South <ssouth@member.fsf.org>
8738 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8739 over literal tokens when parsing so newlines aren't "absorbed" by
8740 single-line comments. Corrects the indentation of case blocks
8741 that have a comment on the first line.
8743 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8745 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8746 by Drew Adams (Bug#5504).
8748 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8750 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8751 now that Unicode is used (Bug#6594).
8753 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8755 * term/x-win.el (x-select-enable-clipboard): Default to t.
8756 (x-initialize-window-system): Don't overwrite Paste menu item.
8758 * simple.el (select-active-regions): Default to t.
8759 (push-mark-command): Don't overwrite primary with empty string.
8761 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8762 (mouse-drag-copy-region): Default to nil.
8764 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8765 Cut/Copy/Paste menu bar items.
8767 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8769 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8770 Patch applied by Karl Fogel.
8772 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8773 and `bookmark-current-buffer' if they have been already set in
8774 another buffer (e.g gnus-art).
8776 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8777 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8779 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8781 * bookmark.el (bookmark-make-record-default): Allow unneeded
8782 information to be omitted from the record.
8784 Adjust declarations and calls:
8786 * info.el (bookmark-make-record-default): Adjust declaration.
8787 (Info-bookmark-make-record): Adjust call.
8789 * woman.el (bookmark-make-record-default): Adjust declaration.
8790 (woman-bookmark-make-record): Adjust call.
8792 * man.el (bookmark-make-record-default): Adjust declaration.
8793 (Man-bookmark-make-record): Adjust call.
8795 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8797 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8799 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8801 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8802 This is also from Thierry Volpiatto's patch in bug #6444. However,
8803 because it was extraneous to the functional change in that patch,
8804 and causes a re-indendation, I am committing it separately.
8806 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8808 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8809 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8810 Patch applied by Karl Fogel (Bug#6444).
8812 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8814 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8816 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8818 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8819 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8820 (ns-alternatives-map): Change S-tab binding to backtab
8823 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8826 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8828 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8831 * language/tv-util.el (tai-viet-re): Remove format.
8833 2010-07-12 Kenichi Handa <handa@m17n.org>
8835 * language/hebrew.el: Remove no-byte-compile declaration.
8836 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8837 composition-function-table for 3-character looking back.
8838 (hebrew-font-get-precomposed): New function.
8839 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8841 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8843 * mouse.el (mouse-drag-track): Handle select-active-regions
8846 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8848 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8849 empty argument to gvfs-copy.
8851 2010-07-10 Glenn Morris <rgm@gnu.org>
8853 * calendar/calendar.el (calendar-week-end-day): New function.
8854 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8855 Respect calendar-week-start-day. (Bug#6606)
8856 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8857 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8858 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8859 respect calendar-week-start-day.
8861 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8863 * simple.el (use-region-p): Doc fix (Bug#6607).
8865 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8867 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8868 Add regexps for cucumber and ruby.
8870 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8872 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8873 (epa-file-insert-file-contents): Hack to prevent
8874 find-file from opening empty buffer when decryption failed
8877 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8879 * textmodes/ispell.el (ispell-alternate-dictionary):
8880 Use file-readable-p.
8881 Return nil if no word-list is found at default locations.
8882 (ispell-complete-word-dict): Default to nil.
8883 (ispell-command-loop): Use 'word-list' when using lookup-words.
8884 (lookup-words): Use ispell-complete-word-dict or
8885 ispell-alternate-dictionary. Check for word-list availability
8886 and handle errors if needed with better messages (Bug#6539).
8887 (ispell-complete-word): Use ispell-complete-word-dict or
8888 ispell-alternate-dictionary.
8890 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8892 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8893 builtins (BufferError, BytesWarning, WindowsError; callables
8894 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8896 2010-07-07 Glenn Morris <rgm@gnu.org>
8898 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8899 (zone-shift-left): Ignore intangibility, and any errors from
8901 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8902 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8903 deleting, and copying text properties.
8904 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8905 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8906 to point-max is hard.
8907 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8908 (zone-fill-out-screen): Ignore intangibility.
8910 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8912 * menu-bar.el (menu-bar-mode):
8913 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8916 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8917 word/line selection (Bug#6565).
8919 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8921 * net/dbus.el (dbus-send-signal): Declare function.
8923 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8925 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8926 (dbus-register-property): New optional argument EMITS-SIGNAL.
8927 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8929 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8931 * mouse.el (mouse-drag-overlay): Variable deleted.
8932 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8933 (mouse--remap-link-click-p): New function.
8934 (mouse-drag-track): Handle dragging by using temporary Transient
8935 Mark mode, instead of a special overlay.
8936 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8939 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8942 2010-07-02 Juri Linkov <juri@jurta.org>
8944 * autoinsert.el (auto-insert-alist): Fix readability
8945 by using dotted pair notation for lambda.
8947 2010-07-02 Juri Linkov <juri@jurta.org>
8949 * faces.el (read-face-name): Rename arg `string-describing-default'
8950 to `default'. Doc fix. Display the default value in quotes
8951 in the prompt. With empty input, return the `default' arg,
8952 unless the default value is a string (in which case return nil).
8953 (describe-face): Replace the string `default' arg of `read-face-name'
8954 with the symbol `default'.
8956 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8958 * emulation/viper-cmd.el (viper-delete-backward-char)
8959 (viper-del-backward-char-in-insert)
8960 (viper-del-backward-char-in-replace, viper-change)
8961 (viper-backward-indent): Replace delete-backward-char with
8962 delete-char (Bug#6552).
8964 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8966 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8968 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8970 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8971 argument passed to frame-creation-function (Bug#5378).
8973 * faces.el (x-handle-named-frame-geometry)
8974 (x-handle-reverse-video, x-create-frame-with-faces)
8975 (face-set-after-frame-default, tty-create-frame-with-faces):
8976 Don't separately consult default-frame-alist. It is now passed as the
8979 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8981 * startup.el (command-line): Don't call tool-bar-setup in a
8984 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8986 * ruler-mode.el (ruler--save-header-line-format): New fun.
8987 (ruler-mode): Use it as a setter function, so as not to overwrite
8988 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8990 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8992 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8993 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8994 (vc-log-outgoing): Use it.
8995 (vc-diff-internal): Set diff-vc-backend.
8997 * vc/diff-mode.el (diff-vc-backend): New var.
8999 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9001 * dynamic-setting.el (font-setting-change-default-font):
9002 Remove call to message.
9004 2010-06-28 Kenichi Handa <handa@m17n.org>
9006 * international/quail.el (quail-insert-kbd-layout): Fix the
9007 showing of untranslated characters.
9009 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9011 * simple.el (delete-active-region): New option.
9012 (delete-backward-char): Implement in Lisp.
9013 (delete-forward-char): New command.
9015 * mouse.el (mouse-region-delete-keys): Delete.
9016 (mouse-show-mark): Simplify.
9018 * bindings.el (global-map): Bind delete and DEL, the former to
9019 delete-forward-char.
9021 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9023 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9024 (ruby-mode): Bind indent-line-function (Bug#5119).
9026 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9028 * startup.el (command-line): Recognize "0" X resource value.
9030 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9032 * startup.el (command-line): Use X resources to set the value of
9033 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9035 * menu-bar.el (menu-bar-mode):
9036 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9037 Set init-value to t.
9039 * frame.el (frame-notice-user-settings): Don't change
9040 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9041 vice versa (Bug#2249).
9043 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9045 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9047 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9049 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9050 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9052 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9053 default directories are expanded (Bug#6143).
9055 2010-06-24 Juri Linkov <juri@jurta.org>
9057 * minibuffer.el (completions-format): Change default from nil to
9058 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9060 2010-06-24 Juri Linkov <juri@jurta.org>
9062 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9063 buffer-locally to lambda that re-runs the vc diff command.
9066 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9068 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9069 echo area is in use (Bug#3412).
9071 2010-06-22 Glenn Morris <rgm@gnu.org>
9073 * textmodes/texinfmt.el (texinfo-format-region)
9074 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9075 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9076 (texinfo-format-option, texinfo-noindent):
9077 Use line-beginning-position and line-end-position.
9079 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9080 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9081 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9084 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9086 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9087 forward-line fallout.
9089 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9091 * mouse.el (mouse-appearance-menu): Add docstring.
9093 * help.el (describe-key): Print up-event using key-description.
9095 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9097 * net/zeroconf.el (zeroconf-resolve-service)
9098 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9099 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9101 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9103 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9105 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9107 Avoid displaying files with a nil state in vc-dir.
9108 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9109 cases that cause insertion.
9110 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9113 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9115 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9117 2010-06-29 Leo <sdl.web@gmail.com>
9119 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9121 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9123 * generic-x.el (bat-generic-mode): Fix regexp for command line
9124 switches (Bug#5719).
9126 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9128 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9129 of nconc to avoid pure storage error (Bug#6239).
9131 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9133 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9134 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9135 bindings of bookmark-automatically-show-annotations (Bug#6515).
9137 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9139 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9140 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9142 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9144 * comint.el (make-comint, make-comint-in-buffer): Mention return
9145 value in the docstrings. (Bug#6498)
9147 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9149 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9150 since it is not present when using some non-default switches.
9152 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9154 * simple.el (compose-mail): Fix doc string to refer to
9155 `compose-mail-user-agent-warnings', instead of to the
9156 nonexistent `compose-mail-check-user-agent'.
9158 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9160 Fix an indentation bug:
9162 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9163 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9166 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9167 (c-clear->-pair-props-if-match-before): now return t when they've
9168 cleared properties, nil otherwise.
9169 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9170 by taking account of the existing value.
9172 * progmodes/cc-defs.el
9173 (c-clear-char-property-with-value-function): Fix this to clear the
9174 property rather than overwriting it with nil.
9176 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9178 * emacs-lisp/package.el (package-print-package): Add link to
9179 package description via describe-package.
9180 (describe-package-1): List package requirements. Add button to
9181 perform installation.
9182 (package-menu-describe-package): New command.
9184 * help-mode.el (help-package): New button type.
9186 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9188 * emacs-lisp/package.el: Move package-list-packages binding to
9190 (describe-package, describe-package-1, package--dir): New funs.
9191 (package-activate-1): Use package--dir.
9193 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9195 * help-mode.el (help-package-def): New button type.
9197 * menu-bar.el: Move package-list-packages binding here from
9200 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9202 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9204 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9206 * emacs-lisp/edebug.el (edebug-read-list):
9207 Phase out old-style backquotes.
9209 2010-06-17 Juri Linkov <juri@jurta.org>
9211 * help-mode.el (help-mode): Set buffer-local variable
9212 revert-buffer-function to help-mode-revert-buffer.
9213 (help-mode-revert-buffer): New function.
9215 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9216 before popping to "*info*" (like in other Info functions).
9217 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9218 old-history-forward. Pop to old-buffer-name or "*info*" to
9219 recreate the killed buffer. Set Info-history-forward from
9220 old-history-forward.
9221 (Info-breadcrumbs-depth): Add :group and :version.
9223 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9225 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9227 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9229 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9230 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9232 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9234 * emacs-lisp/package.el (package-menu-mode-map):
9235 Move initialization into declaration.
9237 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9239 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9241 * emacs-lisp/package.el (package-archive-base): Point to
9243 (package-enable, package-load-list): New defcustoms.
9244 (package-user-dir, package-directory-list): Turn into defcustoms.
9245 Don't include package-user-dir in package-directory-list.
9246 (package--builtins-base): Don't include Emacs as a "package".
9247 (package-subdirectory-regexp): New var.
9248 (package-load-all-descriptors, package-compute-transaction)
9249 (package-download-transaction): Obey package-load-list.
9250 (package-activate-1): Rename from package-do-activate.
9251 (package-list-packages-internal): Check package-load-list.
9252 (package-load-descriptor, package-generate-autoloads)
9253 (package-unpack, package-unpack-single)
9254 (package--read-archive-file, package-delete):
9255 Use expand-file-name.
9257 * emacs-lisp/package-x.el: New file. Package uploading
9258 functionality split out from package.el.
9260 * startup.el (command-line): Load packages after reading init file.
9262 2010-06-17 Tom Tromey <tromey@redhat.com>
9264 * emacs-lisp/package.el: New file.
9266 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9268 Fix vc-annotate for renamed files when using Git.
9269 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9270 ls-files. Doe not pass the object as a file name to cat-file, it
9272 (vc-git-annotate-command): Pass the file name using -- to avoid
9273 ambiguity with the revision.
9274 (vc-git-previous-revision): Pass a relative file name.
9276 2010-06-22 Glenn Morris <rgm@gnu.org>
9278 * progmodes/js.el (js-mode-map): Use standard capitalization and
9279 ellipses for menu entries.
9281 * wid-edit.el (widget-complete): Doc fix.
9283 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9285 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9287 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9289 Fix annotating other revisions for renamed files in vc-annotate.
9290 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9291 VC backend. Use it when non-nil.
9292 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9295 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9296 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9297 Do not pass the file name to the 'previous-revision call when we
9298 don't want a file diff. (Bug#6489)
9300 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9302 Fix finding revisions for renamed files in vc-annotate.
9303 * vc/vc.el (vc-find-revision): Add an optional argument for
9304 the VC backend. Use it when non-nil.
9305 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9306 backend to vc-find-revision. (Bug#6487)
9308 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9310 Fix reading file names in Git annotate buffers.
9311 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9312 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9314 2010-06-20 Alan Mackenzie <acm@muc.de>
9316 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9317 in file local variables, set it first.
9319 2010-06-19 Glenn Morris <rgm@gnu.org>
9321 * descr-text.el (describe-char-unicode-data): Insert separating
9322 space when needed. (Bug#6422)
9324 * progmodes/idlwave.el (idlwave-action-and-binding):
9325 Fix typo in 2009-12-03 change. (Bug#6450)
9327 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9329 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9330 handling for `lambda' (misunderstanding).
9332 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9334 * calc/calc-poly.el (math-accum-factors): Make sure that
9335 constants aren't distributed after they are factored out.
9337 2010-06-16 Juri Linkov <juri@jurta.org>
9339 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9340 `list-colors-print'. (Bug#6332)
9342 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9344 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9346 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9347 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9349 * font-lock.el (font-lock-major-mode): Rename from
9350 font-lock-mode-major-mode to distinguish it from
9351 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9352 (font-lock-set-defaults):
9353 * font-core.el (font-lock-default-function): Adjust users.
9354 (font-lock-mode): Don't set it at all.
9356 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9358 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9360 2010-06-16 Glenn Morris <rgm@gnu.org>
9362 * calendar/appt.el (appt-time-msg-list): Doc fix.
9363 (appt-check): Let-bind appt-warn-time.
9364 (appt-add): Make the 3rd argument optional.
9365 Simplify argument names. Doc fix. Check for integer WARNTIME.
9366 Only add WARNTIME to the output list if non-nil.
9368 2010-06-16 Ivan Kanis <apple@kanis.eu>
9370 * calendar/appt.el (appt-check): Let the 3rd element of
9371 appt-time-msg-list specify the warning time.
9372 (appt-add): Add new argument with the warning time. (Bug#5176)
9374 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9376 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9377 older than version 1.6. (Bug#6361)
9379 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9381 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9382 used by cl-do-arglist. (Bug#6408)
9384 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9386 * textmodes/ispell.el (ispell-dictionary-base-alist):
9387 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9388 Suggested by Rolando Pereira (bug#6434).
9390 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9392 * facemenu.el (list-colors-sort): Doc fix.
9394 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9396 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9398 2010-06-14 Juri Linkov <juri@jurta.org>
9400 Add sort option `list-colors-sort'. (Bug#6332)
9401 * facemenu.el (color-rgb-to-hsv): New function.
9402 (list-colors-sort): New defcustom.
9403 (list-colors-sort-key): New function.
9404 (list-colors-display): Doc fix. Sort list according to the option
9406 (list-colors-print): Add HSV values to `help-echo' property of
9409 2010-06-14 Juri Linkov <juri@jurta.org>
9411 * compare-w.el: Move to the "vc" subdirectory.
9413 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9415 * image-mode.el (image-mode-map): Remap left-char and right-char.
9417 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9419 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9421 * term/common-win.el (x-colors): Add all the color names defined
9422 in rgb.txt (Bug#6332).
9424 * facemenu.el (list-colors-print): Don't print extra names if it
9425 will overflow the window width.
9427 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9430 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9432 * files.el (make-directory): Doc fix (bug#6396).
9434 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9436 * net/tramp.el (tramp-remote-process-environment): Protect version
9437 string by apostroph.
9438 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9440 (tramp-file-name-for-operation): Add `call-process-region'.
9441 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9443 * net/tramp-compat.el (top): Do not autoload
9444 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9445 only when `start-file-process' is not bound.
9446 (tramp-advice-file-expand-wildcards): Do not use
9447 `tramp-handle-file-remote-p'.
9448 (tramp-compat-make-temp-file): Handle the case, that
9449 `make-temp-file' has no third argument EXTENSION.
9451 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9453 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9455 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9457 2010-06-11 Juri Linkov <juri@jurta.org>
9459 * finder.el (finder-known-keywords): Add keyword "vc"
9460 for version control.
9462 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9463 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9464 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9465 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9467 2010-06-11 Juri Linkov <juri@jurta.org>
9469 Move version control related files to the "vc" subdirectory.
9470 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9471 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9472 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9473 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9474 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9475 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9476 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9477 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9478 Move files to the "vc" subdirectory.
9480 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9482 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9485 2010-06-11 Stephen Eglen <stephen@gnu.org>
9487 * shell.el: Bind `shell-resync-dirs' to M-RET.
9489 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9491 * notifications.el: Move file from lisp/net, because it is
9492 supposed to talk locally to the user.
9494 2010-06-10 Julien Danjou <julien@danjou.info>
9496 * net/notifications.el (notifications-on-action-signal)
9497 (notifications-on-closed-signal): Pass notification id as first
9498 argument to the callback functions. Add docstrings.
9499 (notifications-notify): Fix docstring.
9501 2010-06-10 Glenn Morris <rgm@gnu.org>
9503 * emacs-lisp/authors.el (authors-ignored-files)
9504 (authors-valid-file-names): Add some files.
9506 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9508 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9509 merge conflict, giving preference to the emacs-23 version of the code.
9511 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9513 * emacs-lisp/advice.el (ad-compile-function):
9514 Define warning-suppress-types before we let-bind it (bug#6275).
9516 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9517 declare it, make it buffer-local and permanent-local (bug#6324).
9518 (vc-resynch-window): Adjust name.
9519 * vc-hooks.el (vc-find-file-hook): Adjust name.
9521 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9523 * net/notifications.el (notifications-notify): Fix docstring.
9525 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9527 Update to Unicode 6.0.0 beta.
9528 * international/charprop.el: Update copyright.
9529 * international/mule-cmds.el (ucs-names): Update character ranges.
9530 * international/uni-bidi.el:
9531 * international/uni-category.el:
9532 * international/uni-combining.el:
9533 * international/uni-comment.el:
9534 * international/uni-decimal.el:
9535 * international/uni-decomposition.el:
9536 * international/uni-digit.el:
9537 * international/uni-lowercase.el:
9538 * international/uni-mirrored.el:
9539 * international/uni-name.el:
9540 * international/uni-numeric.el:
9541 * international/uni-old-name.el:
9542 * international/uni-titlecase.el:
9543 * international/uni-uppercase.el: Regenerate.
9545 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9547 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9548 (smie-precs-precedence-table): Fix typo in docstring.
9550 * vc-mtn.el (log-edit-extract-headers): Declare function.
9552 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9554 * net/notifications.el (dbus-register-signal): Declare function.
9555 (notifications-notify): Fix typos and reflow docstring.
9557 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9559 Improve VC create/retrieve tag/branch.
9560 * vc.el (vc-create-tag): Do not read the directory name for VCs
9561 with repository revision granularity. Adjust the tag/branch
9562 prompt. Reset VC properties.
9563 (vc-retrieve-tag): Do not read the directory name for VCs
9564 with repository revision granularity. Reset VC properties.
9566 2010-06-09 Julien Danjou <julien@danjou.info>
9568 * net/notifications.el: New file.
9570 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9572 Add optional support for resetting VC properties.
9573 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9574 call vc-file-clearprops when true.
9575 (vc-resynch-buffer): Add new optional argument, pass it down.
9576 (vc-resynch-buffers-in-directory): Likewise.
9578 Improve support for special markup in the VC commit message.
9579 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9580 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9581 * vc-git.el (vc-git-checkin):
9582 * vc-bzr.el (vc-bzr-checkin): Likewise.
9584 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9586 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9587 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9589 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9591 * iimage.el: Remove images as soon as the underlying text is modified.
9592 (iimage-modification-hook): New function.
9593 (iimage-mode-buffer): Use it.
9595 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9597 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9598 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9599 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9600 (smie-indent-keyword): Add handling of open-paren keywords.
9601 (smie-indent-comment-continue): Don't assume comment-continue.
9603 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9605 * window.el (pop-to-buffer): Remove the conditional that
9606 compares new-window and old-window, so it will reselect
9607 the selected window unconditionally.
9608 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9610 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9612 * emacs-lisp/smie.el (smie-indent-offset-after)
9613 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9614 (smie-indent-after-keyword): Use them.
9615 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9616 (smie-indent-keyword): Tweak the black magic.
9617 (smie-indent-comment-continue): Strip comment-continue before use.
9618 (smie-indent-functions): Indent comments before keywords.
9620 2010-06-06 Juri Linkov <juri@jurta.org>
9622 * isearch.el (isearch-lazy-highlight-search): Fix looping
9623 by checking for empty match. This syncs this loop with the
9624 similar loop in `isearch-search'. (Bug#6362)
9626 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9628 * net/dbus.el (dbus-register-method): Declare function.
9629 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9630 (dbus-introspect): Doc fix.
9631 (dbus-event-bus-name, dbus-introspect-get-interface)
9632 (dbus-introspect-get-argument): Reflow docstrings.
9634 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9636 vc-log-incoming/vc-log-outgoing fixes for Git.
9637 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9638 incoming/outgoing logs.
9639 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9640 instead of vc-git-compute-remote.
9641 (vc-git-compute-remote): Remove.
9643 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9645 * term/common-win.el (x-colors): Add "dark green" and "dark
9646 turquoise" (Bug#6332).
9648 2010-06-04 Juri Linkov <juri@jurta.org>
9650 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9651 Instead of setting `replace' to t and replacing the same string
9652 with itself, don't do certain actions when
9653 kill-do-not-save-duplicates is non-nil and string is equal to car
9654 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9655 interprogram-paste strings to kill-ring, and don't push the input
9656 argument `string' to kill-ring.
9657 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9659 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9661 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9663 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9665 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9666 (tramp-gvfs-handler-mounted-unmounted)
9667 (tramp-gvfs-connection-mounted-p): Handle default-location.
9669 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9670 move files to trash.
9672 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9674 * international/mule-cmds.el (nonascii-insert-offset)
9675 (nonascii-translation-table): Add obsolescence information.
9677 * international/mule.el (make-translation-table-from-vector): Doc fix.
9679 2010-06-03 Glenn Morris <rgm@gnu.org>
9681 * desktop.el (desktop-clear-preserve-buffers):
9682 Add "*Warnings*" buffer. (Bug#6336)
9684 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9686 vc-log-incoming/vc-log-outgoing improvements for Git.
9687 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9689 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9691 Add bindings for vc-log-incoming and vc-log-outgoing.
9692 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9693 and vc-log-outgoing.
9694 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9695 and vc-log-outgoing.
9697 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9699 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9700 (rcirc-handler-366): Always sort nicknames.
9702 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9704 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9706 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9708 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9710 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9712 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9713 (rcirc-sort-nicknames-join): Avoid setq.
9715 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9717 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9718 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9719 (rcirc-handler-366): Use them.
9721 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9723 Split smie-indent-calculate into more manageable chunks.
9724 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9725 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9726 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9727 (smie-indent-exps): Extract from smie-indent-calculate.
9728 (smie-indent-functions): New var.
9729 (smie-indent-functions): Use them.
9731 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9733 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9734 (smie-indent-calculate): Simplify and cleanup.
9736 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9738 * net/tramp-gvfs.el (top): Require url-util.
9739 (tramp-gvfs-mount-point): Remove.
9740 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9742 (with-tramp-dbus-call-method): Format trace message.
9743 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9744 Implement backup call, when operation on local files fails.
9745 Use progress reporter. Flush properties of changed files.
9746 (tramp-gvfs-handle-make-directory): Make more traces.
9747 (tramp-gvfs-url-file-name): Hexify file name in url.
9748 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9749 into account for the resulting file name.
9750 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9751 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9752 (tramp-gvfs-handler-mounted-unmounted)
9753 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9754 attribute "default_location". Set "prefix" property.
9755 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9756 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9757 exists. Raise an error, if not (due to a corresponding answer
9758 "no" in interactive questions, for example).
9760 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9762 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9764 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9766 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9769 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9771 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9772 * vc-git.el (vc-git-compute-remote): New function.
9773 (vc-git-log-outgoing): Use it instead of hard coding a value.
9774 (vc-git-log-incoming): New function.
9776 Improve state updating for VC tag commands.
9777 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9778 to update the state of all buffers in the directory.
9780 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9782 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9784 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9785 `file-directory-p' to the filename part rather than to the whole text.
9787 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9789 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9791 2010-05-31 Drew Adams <drew.adams@oracle.com>
9793 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9795 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9797 * subr.el (momentary-string-display): Just use read-event to read
9798 the exit event (Bug#6238).
9800 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9802 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9804 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9806 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9807 Suggested by Eli Zaretskii <eliz@gnu.org>.
9809 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9811 * minibuffer.el (completion-file-name-table): Don't return a boundary
9812 past the end of `string' (bug#6299).
9813 (completion--file-name-table): Delegate to completion-file-name-table
9814 for the `boundaries' case.
9816 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9818 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9821 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9822 `path-separator', but maintain compatibility with Emacs 20.2.
9824 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9826 * server.el (server-process-filter): Receive parent-id argument
9828 (server-create-window-system-frame): New arg. Pass parent-id as
9831 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9833 Bidi-sensitive word movement with arrow keys.
9834 * subr.el (right-arrow-command, left-arrow-command): Move to
9837 * bindings.el (right-char, left-char): Move from subr.el and
9838 rename from right-arrow-command and left-arrow-command.
9839 (right-word, left-word): New functions.
9840 (global-map) <right>: Bind to right-char.
9841 (global-map) <left>: Bind to left-char.
9842 (global-map) <C-right>: Bind to right-word.
9843 (global-map) <C-left>: Bind to left-word.
9845 * ls-lisp.el (ls-lisp-classify-file): New function.
9846 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9847 (ls-lisp-classify): Call ls-lisp-classify-file.
9848 (insert-directory): Remove blanks from switches.
9850 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9852 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9853 (ansi-color-drop-regexp): New constant.
9854 (ansi-color-apply, ansi-color-filter-region)
9855 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9856 (ansi-color-apply): Build string list before calling concat.
9858 2010-05-28 Juri Linkov <juri@jurta.org>
9860 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9861 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9864 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9866 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9867 to ignored backtrace functions.
9868 (with-progress-reporter): Expand docstring.
9869 (tramp-handle-delete-file): Implement TRASH argument.
9870 (tramp-get-remote-trash): New defun.
9872 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9874 * net/tramp-compat.el (tramp-compat-delete-file):
9875 Use `symbol-value' for backward compatibility.
9877 * net/tramp.el (tramp-handle-make-symbolic-link)
9879 (tramp-do-copy-or-rename-file-via-buffer)
9880 (tramp-do-copy-or-rename-file-directly)
9881 (tramp-do-copy-or-rename-file-out-of-band)
9882 (tramp-handle-process-file, tramp-handle-call-process-region)
9883 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9884 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9885 (tramp-delete-temp-file-function): Use `delete-file' instead
9886 of `tramp-compat-delete-file'.
9888 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9889 (tramp-fish-handle-make-symbolic-link)
9890 (tramp-fish-handle-process-file): Use `delete-file' instead
9891 of `tramp-compat-delete-file'.
9893 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9894 Use `delete-file' instead of `tramp-compat-delete-file'.
9896 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9897 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9898 `tramp-compat-delete-file'.
9900 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9901 Use `delete-file' instead of `tramp-compat-delete-file'.
9903 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9904 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9905 (tramp-smb-handle-write-region): Use `delete-file' instead of
9906 `tramp-compat-delete-file'.
9907 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9909 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9911 * dired.el (dired-delete-file): New arg TRASH.
9912 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9913 (dired-do-flagged-delete, dired-do-delete): Use trash.
9915 * speedbar.el (speedbar-item-delete): Allow trashing.
9917 * files.el (delete-directory): New arg TRASH.
9919 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9920 (ange-ftp-rename-remote-to-remote)
9921 (ange-ftp-rename-local-to-remote)
9922 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9923 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9925 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9928 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9929 handle new TRASH arg of `delete-file'.
9931 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9932 (tramp-handle-make-symbolic-link, tramp-handle-load)
9933 (tramp-do-copy-or-rename-file-via-buffer)
9934 (tramp-do-copy-or-rename-file-directly)
9935 (tramp-do-copy-or-rename-file-out-of-band)
9936 (tramp-handle-process-file, tramp-handle-call-process-region)
9937 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9938 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9939 (tramp-delete-temp-file-function): Use null TRASH arg in
9940 tramp-compat-delete-file call.
9942 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9943 (tramp-fish-handle-delete-file)
9944 (tramp-fish-handle-make-symbolic-link)
9945 (tramp-fish-handle-process-file): Use null TRASH arg in
9946 `tramp-compat-delete-file' call.
9948 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9949 arg in `tramp-compat-delete-file' call.
9951 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9952 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9953 `tramp-compat-delete-file' call.
9955 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9956 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9957 `tramp-compat-delete-file' call.
9959 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9960 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9961 (tramp-smb-handle-write-region): Use null TRASH arg in
9962 tramp-compat-delete-file call.
9963 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9964 (tramp-smb-handle-delete-file): Rename arg.
9966 * diff.el (diff-sentinel):
9967 * epg.el (epg--make-temp-file, epg-decrypt-string)
9968 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9969 * jka-compr.el (jka-compr-partial-uncompress)
9970 (jka-compr-call-process, jka-compr-write-region):
9971 * server.el (server-sentinel): Remove optional arg from
9972 delete-file, reverting 2010-05-03 change.
9974 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9976 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9977 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9979 2010-05-27 Kenichi Handa <handa@m17n.org>
9981 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9982 element of GSTRING is nil.
9984 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9986 * emacs-lisp/smie.el (smie-forward-token-function)
9987 (smie-backward-token-function): New vars.
9988 (smie-backward-sexp, smie-forward-sexp)
9989 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9990 (smie-default-backward-token): Rename from smie-backward-token and
9992 (smie-default-forward-token): Rename from smie-forward-token and
9994 (smie-next-sexp): Handle nil results from next-token.
9995 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9997 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9999 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10000 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10002 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10004 * htmlfontify.el (hfy-face-resolve-face): New function.
10005 (hfy-face-to-style): Use it (Bug#6279).
10007 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10009 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10010 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10012 2010-05-26 Glenn Morris <rgm@gnu.org>
10014 * emulation/edt.el (edt-load-keys): Use locate-library.
10016 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10018 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10019 (log-edit-changelog-entries): Doc fix.
10020 (log-edit-changelog-insert-entries): Args changed.
10021 Rename relative filenames in ChangeLog entries. Delete tabs.
10022 (log-edit-insert-changelog-entries): Reorganize return value of
10023 `log-edit-changelog-entries' to pass filenames to
10024 log-edit-changelog-insert-entries.
10026 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10028 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10029 `image-dired-dired-insert-marked-thumbs' to
10030 `image-dired-dired-toggle-marked-thumbs'.
10032 * image-dired.el: Require cl when compiling.
10033 (image-dired-dired-toggle-marked-thumbs): Rename from
10034 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10035 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10036 to 'no-dir. Skip files whose names don't match
10037 `image-file-name-regexp'. When file has a thumbnail overlay,
10038 delete it. (Bug#5270)
10040 2010-05-25 Juri Linkov <juri@jurta.org>
10042 * image-mode.el (image-mode): Add image-after-revert-hook to
10044 (image-after-revert-hook): New function. (Bug#5669)
10046 2010-05-25 Juri Linkov <juri@jurta.org>
10048 * image.el (image-animated-p): When delay between animated images
10049 is 0, set it to 10 (0.1 sec). (Bug#6258)
10051 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10053 * net/tramp.el (tramp-handle-insert-directory): Don't use
10054 `forward-word', its default syntax could be changed.
10056 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10058 * net/tramp.el (tramp-progress-reporter-update): New defun.
10059 (with-progress-reporter): Use it.
10060 (tramp-process-actions):
10061 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10062 Preserve current message, in order to let progress reporter continue
10063 afterwards. (Bug#6257)
10065 2010-05-25 Glenn Morris <rgm@gnu.org>
10067 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10070 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10072 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10073 (rcirc-default-full-name): Change to "unknown".
10074 (rcirc-user-name-history): Add variable.
10076 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10077 Jonathan Rockway <jon@jrock.us>
10079 * net/rcirc.el (rcirc-server-alist): Add :pass.
10080 (rcirc): When prompting for connection parameters, also prompt for
10081 username and password.
10082 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10083 value to server when connecting.
10085 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10087 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10088 (smie-merge-prec2s): Pass the tables as separate args.
10089 (smie-bnf-precedence-table): Adjust call accordingly.
10090 (smie-prec2-levels): Set levels at the end.
10092 Replace Lisp calls to delete-backward-char by delete-char.
10093 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10094 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10095 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10096 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10097 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10098 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10099 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10100 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10101 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10102 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10103 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10104 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10105 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10106 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10107 delete-backward-char by calls to delete-char.
10109 2010-05-25 Kenichi Handa <handa@m17n.org>
10111 * language/hebrew.el (hebrew-shape-gstring): New function.
10112 Register it in composition-function-table for all Hebrew combining
10115 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10117 * epa.el (epa--select-keys): Don't explicitly delete the window since
10118 that can fail (e.g. sole window in frame). Use dedication instead.
10120 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10122 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10124 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10126 * image.el (image-refresh): Define as an alias for image-flush.
10128 * image-mode.el (image-toggle-display-image): Caller changed.
10130 2010-05-21 Juri Linkov <juri@jurta.org>
10132 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10133 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10134 whitespace, call wildcard-to-regexp on substrings and concat them
10135 with "\\|". (Bug#6114)
10137 2010-05-21 Alan Mackenzie <acm@muc.de>
10139 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10140 Replace parameter `here' with `here-' and `here-plus', which sandwich
10141 any pertinent CPP construct.
10142 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10143 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10144 CPP construct from taking part in the scanning.
10146 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10148 * net/tramp.el (tramp-do-copy-or-rename-file)
10149 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10150 Tune `with-progress-reporter' messages.
10151 (tramp-handle-vc-registered):
10152 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10153 (tramp-fish-handle-insert-file-contents)
10154 (tramp-fish-maybe-open-connection):
10155 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10156 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10157 (tramp-imap-handle-insert-file-contents)
10158 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10160 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10162 * add-log.el (change-log-font-lock-keywords):
10163 Highlight all authors in multi-author entries.
10165 * smerge-mode.el (smerge-refine-ignore-whitespace)
10166 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10167 Fix typos in docstrings.
10168 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10170 2010-05-21 Glenn Morris <rgm@gnu.org>
10172 * progmodes/fortran.el (fortran-mode):
10173 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10175 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10176 having a relative path in src/Makefile.in.
10178 2010-05-20 Kevin Ryde <user42@zip.com.au>
10180 * help-mode.el (help-make-xrefs): For Info node links turn
10181 newlines into spaces. Link node names with newlines are matched
10182 by help-xref-info-regexp and buttonized, this change ensures they
10183 can be followed successfully with RET. (Bug#6206)
10185 2010-05-20 Juri Linkov <juri@jurta.org>
10187 * locate.el (locate): Use pop-to-buffer instead of
10188 switch-to-buffer-other-window. (Bug#6204)
10190 2010-05-20 Juri Linkov <juri@jurta.org>
10192 * replace.el (replace-highlight): Fix lazy-highlighting
10193 for `M-s w str M-% str RET'.
10195 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10197 * isearch.el (isearch-yank-word-or-char): Pull next subword
10198 when `subword-mode' is activated. (Bug#6220)
10200 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10202 * isearch.el (isearch-update-post-hook): New hook.
10203 (isearch-update): Use the new hook. (Bug#6225)
10205 2010-05-20 Juri Linkov <juri@jurta.org>
10207 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10208 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10211 2010-05-20 Juri Linkov <juri@jurta.org>
10213 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10216 2010-05-20 Juri Linkov <juri@jurta.org>
10218 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10219 FILE-NAME to read from the minibuffer when called interactively
10220 with prefix argument instead of using buffer-file-name.
10221 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10223 * dired.el: Update autoloads.
10225 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10227 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10228 nxml-finish-element, for consistency with SGML mode.
10230 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10231 octave-close-block.
10233 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10235 * composite.el: Require cl when compiling.
10236 (reference-point-alist, compose-gstring-for-graphic)
10237 (compose-gstring-for-terminal): Fix typos in docstrings.
10239 2010-05-19 Juri Linkov <juri@jurta.org>
10241 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10242 set-window-parameter.
10244 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10246 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10248 (tramp-maybe-open-connection): Use it.
10250 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10252 * simple.el (move-end-of-line): Make sure we are at line beginning
10253 before backing up to end of previous line.
10255 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10257 * password-cache.el (password-cache-remove): Fix docstring.
10259 * net/secrets.el: Autoload the widget functions.
10260 (secrets-search-items, secrets-create-item)
10261 (secrets-get-attributes, secrets-expand-item): Attributes will be
10262 stored on the password database without leading ":", as all other
10263 clients do as well.
10264 (secrets-mode): Fix docstring.
10265 (secrets-show-secrets): Provide it as autoloaded command only when
10266 D-Bus support is available. Check existence of Secret Service API.
10268 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10270 * indent.el (indent-region): Deactivate region (bug#6200).
10272 2010-05-19 Glenn Morris <rgm@gnu.org>
10274 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10276 2010-05-19 Kenichi Handa <handa@m17n.org>
10278 * composite.el: Register compose-gstring-for-graphic in
10279 composition-function-table only for combining characters (Mn, Mc, Me).
10281 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10283 * calc/calc-trail.el (calc-trail-isearch-forward)
10284 (calc-trail-isearch-backward): Ensure that the new window
10285 point is set correctly.
10287 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10289 * subr.el (read-quoted-char): Resolve modifiers after key
10290 remapping (bug#6212).
10292 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10294 Add visualization code for secrets.
10295 * net/secrets.el (secrets-mode): New major mode.
10296 (secrets-show-secrets, secrets-show-collections)
10297 (secrets-expand-collection, secrets-expand-item)
10298 (secrets-tree-widget-after-toggle-function)
10299 (secrets-tree-widget-show-password): New defuns.
10301 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10303 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10304 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10305 handled in smie-next-sexp.
10306 (smie-indent-calculate): Provide a starting indentation (so the
10307 recursion is well-founded ;-).
10309 Fix handling of non-associative equal levels.
10310 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10311 when it's not needed.
10312 (smie-op-left, smie-op-right): New functions.
10313 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10314 Better handle equal levels to distinguish the associative case from
10315 the "multi-keyword construct" case.
10316 (smie-backward-sexp, smie-forward-sexp): Use it.
10318 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10320 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10322 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10323 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10325 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10327 Provide a simple generic indentation engine and use it for Prolog.
10328 * emacs-lisp/smie.el: New file.
10329 * progmodes/prolog.el (prolog-smie-op-levels)
10330 (prolog-smie-indent-rules): New var.
10331 (prolog-mode-variables): Use them to configure SMIE.
10332 (prolog-indent-line, prolog-indent-level): Remove.
10334 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10336 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10337 order before computing the averages.
10339 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10341 * calc/calc-vec.el (calc-histogram):
10342 (calcFunc-histogram): Allow vectors as inputs.
10343 (math-vector-avg): New function.
10345 * calc/calc-ext.el (math-group-float): Have the number of digits
10346 being grouped depend on the radix (Bug#6189).
10348 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10350 * version.el (emacs-copyright, emacs-version): Don't define here,
10351 now that emacs.c defines it.
10353 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10355 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10356 "Describe Language Environment" menu item.
10358 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10360 Bidi-sensitive movement with arrow keys.
10361 * subr.el (right-arrow-command, left-arrow-command): New functions.
10363 * bindings.el (global-map): Bind them to right and left arrow keys.
10365 Don't override standard definition of convert-standard-filename.
10366 * files.el (convert-standard-filename):
10367 Call w32-convert-standard-filename and dos-convert-standard-filename on
10368 the corresponding systems.
10370 * w32-fns.el (w32-convert-standard-filename): Rename from
10371 convert-standard-filename. Doc fix.
10373 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10374 (convert-standard-filename): Don't defalias.
10375 (register-name-alist, make-register, register-value)
10376 (set-register-value, intdos): Obsolete aliases for the
10377 corresponding dos-* functions and variables.
10378 (dos-intdos): Add a doc string.
10380 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10382 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10383 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10384 (math-compose-tex-func):
10385 * calc/calccomp.el (math-compose-expr):
10386 * calc/calc-ext.el (math-format-flat-expr-fancy):
10387 * calc/calc-store.el (calc-read-var-name):
10388 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10390 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10391 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10392 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10393 (math-standard-units): Add units.
10395 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10397 * progmodes/asm-mode.el (asm-mode):
10398 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10400 * pcomplete.el (pcomplete-completions-at-point): New function,
10401 extracted from pcomplete-std-complete.
10402 (pcomplete-std-complete): Use it.
10404 2010-05-15 Glenn Morris <rgm@gnu.org>
10406 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10407 Remove references to CVS, RCS and Old directories.
10409 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10411 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10414 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10416 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10417 (sh-mode-syntax-table): Give it a default value instead.
10418 (sh-header-marker): Make buffer-local.
10419 (sh-mode): Move make-local-variable to the corresponding setq.
10420 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10421 Use complete-with-action.
10423 * simple.el (prog-mode): New (abstract) major mode.
10424 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10425 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10427 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10429 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10430 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10431 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10432 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10433 (sql-escape-newlines-filter, sql-input-sender)
10434 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10436 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10438 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10440 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10441 latex-open-block and C-c / to latex-close-block.
10443 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10444 and C-c C-e to sgml-close-tag.
10446 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10448 * net/tramp.el (with-progress-reporter): Create reporter object
10449 only when the message would be displayed. Handle nested calls.
10450 (tramp-handle-load, tramp-handle-file-local-copy)
10451 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10452 (tramp-maybe-send-script, tramp-find-shell):
10453 Use `with-progress-reporter'.
10454 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10457 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10458 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10459 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10460 Use `with-progress-reporter'.
10462 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10464 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10465 process everytime when spellchecking from the minibuffer (bug#6143).
10467 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10469 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10471 * dos-fns.el: Add "dos-" prefix for namespace control.
10472 (convert-standard-filename): Define as alias for
10473 dos-convert-standard-filename but only if applicable.
10475 2010-05-12 Alan Mackenzie <acm@muc.de>
10477 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10478 Push the mark at the start of these functions when appropriate.
10480 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10482 * minibuffer.el (completion-cycle-threshold): New custom var.
10483 (completion--do-completion): Use it.
10484 (minibuffer-complete): Use cycling if appropriate.
10486 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10488 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10489 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10491 2010-05-11 Juri Linkov <juri@jurta.org>
10493 * scroll-all.el (scroll-all-check-to-scroll):
10494 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10496 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10498 * iimage.el (iimage-mode-map): Move initialization into declaration.
10499 (iimage-mode-buffer): Use with-silent-modifications.
10500 Simplify calling convention. Adjust callers.
10501 (iimage-mode): Don't run hook redundantly.
10503 * minibuffer.el (completion-pcm--pattern->regex):
10504 Fix last change (bug#6160).
10506 2010-05-10 Juri Linkov <juri@jurta.org>
10508 Remove nodes visited during Isearch from the Info history.
10509 * info.el (Info-isearch-initial-history)
10510 (Info-isearch-initial-history-list): New variables.
10511 (Info-isearch-start): Record initial values of
10512 Info-isearch-initial-history and Info-isearch-initial-history-list.
10513 Add Info-isearch-end to isearch-mode-end-hook.
10514 (Info-isearch-end): New function.
10516 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10518 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10519 format string, in order to work around a bug in pdksh.
10520 Reported by Gilles Pion <gpion@lfdj.com>.
10521 (tramp-handle-verify-visited-file-modtime): Do not send a command
10522 when the connection is not established.
10523 (tramp-handle-set-file-times): Simplify the check for utc.
10525 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10527 Fix use of `filter-buffer-substring' (rework previous change).
10528 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10529 (cua-repeat-replace-region):
10530 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10531 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10532 (cua-cut-region-to-global-mark): Use it.
10534 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10536 * progmodes/sql.el: Version 2.1.
10537 (sql-product-alist): Redesign structure of product info.
10538 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10539 (sql-port, sql-port-history): New variables.
10540 (sql-interactive-product): New variable.
10541 (sql-send-terminator): New variable.
10542 (sql-imenu-generic-expression): Add "Types" imenu entry.
10543 (sql-oracle-login-params, sql-sqlite-login-params)
10544 (sql-mysql-login-params, sql-solid-login-params)
10545 (sql-sybase-login-params, sql-informix-login-params)
10546 (sql-ingres-login-params, sql-ms-login-params)
10547 (sql-postgres-login-params, sql-interbase-login-params)
10548 (sql-db2-login-params, sql-linter-login-params)
10549 (sql-oracle-scan-on): New variables.
10550 (sql-mode-map): Add C-c C-i to start interactive mode.
10551 (sql-mode-menu): Update existing menu entries.
10552 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10553 (sql-mode-oracle-font-lock-keywords)
10554 (sql-mode-postgres-font-lock-keywords)
10555 (sql-mode-ms-font-lock-keywords)
10556 (sql-mode-sybase-font-lock-keywords)
10557 (sql-mode-informix-font-lock-keywords)
10558 (sql-mode-interbase-font-lock-keywords)
10559 (sql-mode-ingres-font-lock-keywords)
10560 (sql-mode-solid-font-lock-keywords)
10561 (sql-mode-mysql-font-lock-keywords)
10562 (sql-mode-sqlite-font-lock-keywords)
10563 (sql-mode-db2-font-lock-keywords)
10564 (sql-mode-linter-font-lock-keywords): Update initialization to
10565 reduce run-time complexity.
10566 (sql-add-product, sql-del-product): New functions.
10567 (sql-set-product-feature, sql-get-product-feature): New functions.
10568 (sql-product-font-lock): Update product API.
10569 (sql-add-product-keywords): New function.
10570 (sql-highlight-product): Update product API.
10571 (sql-help-list-products): New function.
10572 (sql-help): Dynamically lists free and non-free products.
10573 (sql-get-login): Correct bug in handling history and added
10575 (sql-copy-column): Copy without properties.
10576 (sqli-input-sender): Apply filters to SQLi input.
10577 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10578 Implement as a filter.
10579 (sql-escape-newlines-filter): Implement as a filter.
10580 (sql-remove-tabs-filter): New function.
10581 (sql-send-magic-terminator): New function.
10582 (sql-send-string): Implement magic terminator.
10583 (sql-send-region): Use `sql-send-string'.
10584 (sql-interactive-mode): Use product API.
10585 (sql-product-interactive): Use product API.
10586 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10587 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10588 (sql-db2, sql-linter): Use `sql-product-interactive'.
10589 (sql-connect): New function.
10590 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10591 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10592 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10593 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10596 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10598 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10599 New custom variable.
10600 (completion-pcm--string->pattern): Use it.
10601 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10602 Make it handle any symbol as `any'.
10603 (completion-pcm--merge-completions): Extract common suffix for the new
10604 `prefix' symbol as well.
10605 (completion-substring--all-completions): Use the new `prefix' symbol.
10607 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10609 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10611 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10612 (tramp-compat-funcall): New defmacro.
10613 (tramp-compat-line-beginning-position)
10614 (tramp-compat-line-end-position)
10615 (tramp-compat-temporary-file-directory)
10616 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10617 (tramp-compat-copy-file, tramp-compat-copy-directory)
10618 (tramp-compat-delete-file, tramp-compat-delete-directory)
10619 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10620 * net/tramp.el (top, with-progress-reporter)
10621 (tramp-rfn-eshadow-setup-minibuffer)
10622 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10623 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10624 (tramp-completion-mode-p, tramp-check-for-regexp)
10625 (tramp-open-connection-setup-interactive-shell)
10626 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10627 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10628 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10629 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10630 (tramp-reporter-dump-variable, tramp-load-report-modules)
10631 (tramp-append-tramp-buffers)
10632 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10634 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10636 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10638 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10639 buffer-modtime. Adjust users.
10641 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10643 * international/mule.el (auto-coding-alist): Only purecopy
10644 car of each item, not the whole list (Bug#6083).
10646 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10648 * progmodes/js.el (js-mode): Make paragraph variables local before
10649 calling c-setup-paragraph-variables (Bug#6071).
10651 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10653 * composite.el (compose-region, reference-point-alist): Fix typos
10654 in the doc strings.
10656 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10658 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10659 gnuplot's "set" command.
10661 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10663 * abbrev.el (last-abbrev-text): Doc fix.
10664 (abbrev-prefix-mark): Don't escape parenthesis.
10666 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10668 * composite.el (find-composition): Doc fix.
10670 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10672 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10673 (sql-oracle-program, sql-sqlite-options)
10674 (sql-query-placeholders-and-send): Doc fixes.
10675 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10676 (sql-imenu-generic-expression, sql-buffer)
10677 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10678 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10679 (sql-mode-sybase-font-lock-keywords)
10680 (sql-mode-informix-font-lock-keywords)
10681 (sql-mode-interbase-font-lock-keywords)
10682 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10683 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10684 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10685 (sql-product-feature, sql-highlight-product)
10686 (comint-line-beginning-position, sql-rename-buffer)
10687 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10688 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10689 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10690 Fix typos in docstrings.
10692 2010-05-08 Juri Linkov <juri@jurta.org>
10694 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10695 property instead of `invisible' and `after-string' (bug#5998).
10697 2010-05-08 Juri Linkov <juri@jurta.org>
10699 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10701 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10703 * filecache.el (file-cache-add-directory-list)
10704 (file-cache-add-directory-recursively): Fix typos in docstrings.
10706 2010-05-08 Kenichi Handa <handa@m17n.org>
10708 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10709 (gujarati-composable-pattern): Fix typo.
10711 2010-05-08 Kenichi Handa <handa@m17n.org>
10713 * language/indian.el (oriya-composable-pattern)
10714 (tamil-composable-pattern, malayalam-composable-pattern):
10715 Add two-part vowels to "v" (vowel sign).
10717 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10719 * files.el (copy-directory): Handle symlinks (Bug#5982).
10721 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10723 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10724 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10727 2010-05-08 Glenn Morris <rgm@gnu.org>
10729 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10731 * minibuffer.el (completion-at-point): Doc fix.
10733 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10735 * electric.el (Electric-command-loop): Minor tweak.
10737 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10738 better with dedicated windows.
10740 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10742 * Version 23.2 released.
10744 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10745 Stefan Monnier <monnier@iro.umontreal.ca>
10747 Highlight vendor specific properties.
10748 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10749 (css-proprietary-property): New face.
10750 (css-font-lock-keywords): Use them.
10752 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10754 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10756 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10758 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10759 * files.el (auto-mode-alist): Remove redundant entries.
10761 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10762 * simple.el (auto-save-mode): Move from files.el.
10763 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10765 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10767 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10769 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10771 * mail/binhex.el (binhex-decode-region-internal)
10772 * mail/uudecode.el (uudecode-decode-region-internal)
10773 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10774 (dns-read-type, dns-query)
10775 * pgg-parse.el (pgg-parse-armor)
10776 * pgg.el (pgg-verify-region)
10777 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10780 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10782 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10784 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10786 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10787 * emulation/cua-base.el (cua-repeat-replace-region):
10788 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10789 (cua-cut-region-to-global-mark):
10790 Remove text properties with `set-text-properties'.
10792 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10794 * net/tramp.el (top, with-progress-reporter):
10795 Use `symbol-function' inside `funcall'.
10797 * net/tramp-compat.el (tramp-compat-file-attributes)
10798 (tramp-compat-delete-file, tramp-compat-delete-directory):
10799 Handle only `wrong-number-of-arguments' error.
10801 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10802 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10805 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10807 * minibuffer.el (completion--sreverse, completion--common-suffix):
10809 (completion-pcm--merge-completions): Extract common suffix when safe.
10811 * emacs-lisp/easy-mmode.el (define-minor-mode):
10812 Make :variable more flexible.
10813 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10815 2010-05-05 Juri Linkov <juri@jurta.org>
10817 Add `slow' and `history' tags to the desktop data.
10819 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10820 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10821 (Info-finder-find-node): Require `finder.el' to be able
10822 to restore node from the desktop.
10823 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10824 data `Info-history' and `slow' tag in the assoc list.
10825 (Info-restore-desktop-buffer): Don't restore nodes with the
10826 `slow' tag. Restore `Info-history'.
10828 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10830 Add FORCE argument to `delete-file'.
10832 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10833 forcing to delete the temporary file.
10834 (ange-ftp-delete-file): Add FORCE arg.
10835 (ange-ftp-rename-remote-to-remote)
10836 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10837 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10838 Force file deletion.
10840 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10842 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10843 (tramp-handle-make-symbolic-link, tramp-handle-load)
10844 (tramp-do-copy-or-rename-file-via-buffer)
10845 (tramp-do-copy-or-rename-file-directly)
10846 (tramp-do-copy-or-rename-file-out-of-band)
10847 (tramp-handle-process-file, tramp-handle-call-process-region)
10848 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10849 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10850 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10852 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10853 (tramp-fish-handle-make-symbolic-link)
10854 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10856 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10857 Use `tramp-compat-delete-file'.
10859 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10860 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10862 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10863 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10865 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10866 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10867 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10868 Use `tramp-compat-delete-file'.
10870 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10873 * subr.el (add-minor-mode): Use push.
10874 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10875 * emulation/edt.el (edt-select-mode): Simplify.
10877 Use define-minor-mode in more cases.
10878 * term/tvi970.el (tvi970-set-keypad-mode):
10879 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10880 (normal-erase-is-backspace-mode):
10881 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10882 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10883 (get-scroll-bar-mode): New function.
10884 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10886 Use define-minor-mode for less obvious cases.
10887 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10888 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10889 * international/iso-ascii.el (iso-ascii-mode):
10890 * frame.el (auto-raise-mode, auto-lower-mode):
10891 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10893 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10895 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10896 in order to see error messages for failed logins.
10898 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10900 * diff.el (diff-sentinel):
10902 * epg.el (epg--make-temp-file, epg-decrypt-string)
10903 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10905 * jka-compr.el (jka-compr-partial-uncompress)
10906 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10908 * server.el (server-sentinel): Use delete-file's new FORCE arg
10911 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10913 Use define-minor-mode where applicable.
10914 * view.el (view-mode):
10915 * type-break.el (type-break-query-mode)
10916 (type-break-mode-line-message-mode):
10917 * textmodes/reftex.el (reftex-mode):
10918 * term/vt100.el (vt100-wide-mode):
10919 * tar-mode.el (tar-subfile-mode):
10920 * savehist.el (savehist-mode):
10921 * ibuf-ext.el (ibuffer-auto-mode):
10922 * composite.el (auto-composition-mode):
10923 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10924 Use define-minor-mode.
10925 (vhdl-mode): Use static mode-line format.
10926 (vhdl-mode-line-update): Delete.
10927 (vhdl-create-mode-menu, vhdl-activate-customizations)
10928 (vhdl-hs-minor-mode): Don't bother calling it.
10930 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10932 * simple.el (with-wrapper-hook): Move.
10933 (buffer-substring-filters): Mark obsolete.
10934 (filter-buffer-substring-functions): New variable.
10935 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10937 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10938 Michael Albinus <michael.albinus@gmx.de>
10940 Implement compression for inline methods.
10942 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10943 (tramp-copy-size-limit): Allow also nil.
10944 (tramp-inline-compress-commands): New defconst.
10945 (tramp-find-inline-compress, tramp-get-inline-compress)
10946 (tramp-get-inline-coding): New defuns.
10947 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10948 replaced by `tramp-get-inline-coding'.
10949 (tramp-handle-file-local-copy, tramp-handle-write-region)
10950 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10952 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10954 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10955 Remove unused functions.
10957 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10958 Set find-tag-default-function as a variable rather than a property.
10960 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10961 * progmodes/etags.el (tags-completion-at-point-function):
10962 Remove left over interactive spec. Add autoloading stub.
10963 (complete-tag): Use tags-completion-at-point-function.
10965 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10967 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10969 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10971 * ido.el (ido-init-completion-maps): Remove C-v binding.
10972 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10974 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10976 * minibuffer.el (tags-completion-at-point-function): New function.
10977 (completion-at-point-functions): Use it.
10979 * progmodes/etags.el (complete-tag): Revert last change.
10981 2010-04-29 Alan Mackenzie <acm@muc.de>
10983 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10984 off-by-one error (in end of macro position).
10986 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10988 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10989 firefox is absent. Don't autoload.
10990 (browse-url-galeon-program): Don't autoload.
10992 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10994 * bindings.el (complete-symbol): Move into minibuffer.el.
10996 * minibuffer.el (complete-tag): Move from etags.el. If tags
10997 completion cannot be performed, return nil instead of signalling
10999 (completion-at-point): Make it an alias for complete-symbol.
11000 (complete-symbol): Move from bindings.el, and replace with the
11001 body of completion-at-point.
11003 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11005 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11007 * net/tramp.el (tramp-remote-selinux-p): New defun.
11008 (tramp-handle-file-selinux-context)
11009 (tramp-handle-set-file-selinux-context): Use it.
11011 2010-04-28 Sam Steingold <sds@gnu.org>
11013 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11014 `safe-local-variable' if the value is a string or a symbol with
11015 the property `bug-reference-url-format'.
11017 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11019 * progmodes/bug-reference.el (bug-reference-url-format):
11020 Revert 2010-04-27 change due to security risk.
11022 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11024 Make it possible to locally disable a globally enabled mode.
11025 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11026 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11027 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11028 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11029 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11030 that subsequent hooks get a chance to disable it.
11032 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11034 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11035 Avoid re-enabling a minor mode after the user turned the minor mode
11036 off if MODE-enable-in-buffers is run twice (typically once from
11037 fundamental-mode's after-change-major-mode-hook and a second time from
11038 run-mode-hook's own after-change-major-mode-hook).
11040 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11042 2010-04-27 Sam Steingold <sds@gnu.org>
11044 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11045 `safe-local-variable' if the value is a string or a function, as
11046 documented and implemented on 2010-04-02.
11048 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11050 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11051 when method is 'kill.
11053 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11055 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11056 condition in default directory check.
11057 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
11058 Kill ispell process when killing its associated buffer.
11060 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11062 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11063 but we aren't using it.
11065 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11067 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11068 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11070 2010-04-24 Glenn Morris <rgm@gnu.org>
11072 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11073 Ignore VCS-ignore files, and deleted nextstep preferences files.
11074 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11075 (authors-ambiguous-files): New list.
11076 (authors-valid-file-names): Add some deleted files.
11077 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11078 (authors-disambiguate-file-name): New function. (Bug#5501)
11079 (authors-canonical-file-name): Doc fix.
11080 Don't warn about obsolete files.
11081 (authors-canonical-file-name, authors-scan-el):
11082 Use authors-disambiguate-file-name.
11084 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11085 Add autoload cookies.
11086 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11087 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11088 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11089 They have definitions / compiler macros in cl.el.
11090 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11091 Replace manual autoloads with generated ones.
11092 (htmlfontify-unload-rgb-file): Remove autoload.
11093 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11095 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11097 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11098 (byte-compile-setq-default): Optimize for the
11099 single-var case and don't call byte-compile-form in this case to avoid
11100 inf-loop with byte-compile-set-default.
11102 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11104 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11106 Implement SELINUX backends.
11108 * net/tramp.el (tramp-file-name-handler-alist):
11109 Add `file-selinux-context' and `set-file-selinux-context'.
11110 (tramp-handle-file-selinux-context)
11111 (tramp-handle-set-file-selinux-context): New defuns.
11112 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11113 Handle PRESERVE-SELINUX-CONTEXT.
11115 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11116 Add `file-selinux-context' and `set-file-selinux-context'.
11117 (tramp-gvfs-handle-file-selinux-context)
11118 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11119 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11121 * net/ange-ftp.el (ange-ftp-copy-file):
11122 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11123 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11124 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11125 Add PRESERVE-SELINUX-CONTEXT.
11127 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11129 Synchronize with Tramp repository.
11131 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11132 (tramp-action-process-alive, tramp-action-out-of-band)
11133 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11134 (tramp-exists-file-name-handler): Fix docstring.
11135 (with-progress-reporter): New defmacro.
11136 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11137 (tramp-maybe-open-connection): Use it.
11139 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11141 Detect ssh 'ControlMaster' argument automatically in some cases.
11143 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11144 (tramp-default-method): Use it.
11146 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11148 * net/tramp.el (tramp-handle-copy-file): Add new optional
11149 parameter `preserve-selinux-context'.
11150 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11152 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11154 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11155 Ensure, that non remote files are still checked. Oops.
11157 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11161 * icomplete.el (icomplete-completions): Use `non-essential'.
11163 * net/tramp.el (tramp-connectable-p): New defun.
11164 (tramp-handle-expand-file-name)
11165 (tramp-completion-handle-file-name-all-completions)
11166 (tramp-completion-handle-file-name-completion): Use it.
11168 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11170 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11172 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11174 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11176 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11178 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11181 * info.el (info-tool-bar-map): Add labels.
11183 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11185 * cus-edit.el (custom-commands): Add labels for tool bar.
11186 (custom-buffer-create-internal, Custom-mode): Adjust for
11187 labels in custom-commands.
11189 * dynamic-setting.el: Renamed from font-setting.el.
11191 2010-04-21 John Wiegley <jwiegley@gmail.com>
11193 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11194 toggles the use of virtual buffers.
11195 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11196 (ido-toggle-virtual-buffers): New function.
11198 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11200 Use `define-derived-mode'; fix window selection; doc fixes.
11201 * play/tetris.el (tetris, tetris-update-speed-function)
11202 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11203 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11204 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11205 (tetris-pause-game): Fix typos in docstrings.
11206 (tetris-mode-map, tetris-null-map):
11207 Move initialization into declaration.
11208 (tetris-mode): Define with `define-derived-mode';
11209 set show-trailing-whitespace to nil.
11210 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11212 2010-04-21 Karel Klíč <kklic@redhat.com>
11214 * files.el (backup-buffer): Handle SELinux context, and return it
11215 if a backup was made by renaming.
11216 (backup-buffer-copy): Set SELinux context to the target file.
11217 (basic-save-buffer): Set SELinux context of the newly written file.
11218 (basic-save-buffer-1): Now it also returns any SELinux context.
11219 (basic-save-buffer-2): Set SELinux context of the newly created file,
11221 * net/tramp.el (tramp-file-name-for-operation):
11222 Add file-selinux-context.
11224 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11226 Make the log-edit comments use RFC822 format throughout.
11228 * vc.el (vc-checkin, vc-modify-change-comment):
11229 Adjust to new vc-start/finish-logentry.
11230 (vc-find-conflicted-file): New command.
11231 (vc-transfer-file): Adjust to new vc-checkin.
11232 (vc-next-action): Improve scoping.
11234 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11235 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11237 * vc-git.el (vc-git-log-edit-mode): Remove.
11238 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11239 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11241 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11242 (vc-start-logentry): Remove argument `extra'.
11243 (vc-finish-logentry): Remove extra args.
11245 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11246 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11247 (vc-bzr-conflicted-files): New function.
11249 * log-edit.el (log-edit-extra-flags)
11250 (log-edit-before-checkin-process): Remove.
11251 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11252 (log-edit-headers-alist): New var.
11253 (log-edit-header-contents-regexp): New const.
11254 (log-edit-match-to-eoh): New function.
11255 (log-edit-font-lock-keywords): Use them.
11256 (log-edit): Insert a "Summary:" header as default.
11257 (log-edit-mode): Mark font-lock rules as case-insensitive.
11258 (log-edit-done): Cleanup headers.
11259 (log-view-process-buffer): Remove.
11260 (log-edit-extract-headers): New function to replace it.
11262 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11264 * subr.el (default-direction-reversed): Remove obsolescence info.
11266 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11268 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11271 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11272 I.e. include text after point in the completion region.
11273 Also, return nil when we're not after/in a symbol.
11275 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11276 default enable-multibyte-characters.
11278 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11280 * international/mule.el: Help the user choose a valid coding-system.
11281 (read-buffer-file-coding-system): New function.
11282 (set-buffer-file-coding-system): Use it. Prompt the user if the
11283 coding-system cannot encode all the chars.
11285 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11286 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11287 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11288 Don't use *vc-bzr-shelve*.
11290 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11292 Fix the version number for added files.
11293 * vc-hg.el (vc-hg-working-revision): Check if the file is
11294 registered after hg parent fails (Bug#5961).
11296 2010-04-19 Glenn Morris <rgm@gnu.org>
11298 * htmlfontify.el (htmlfontify-buffer)
11299 (htmlfontify-copy-and-link-dir): Autoload entry points.
11301 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11303 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11304 name relative to the project root (Bug#5960).
11306 2010-04-19 Glenn Morris <rgm@gnu.org>
11308 * vc-git.el (vc-git-print-log): Doc fix.
11310 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11312 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11314 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11316 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11317 default settings (Bug#5928).
11319 2010-04-19 Glenn Morris <rgm@gnu.org>
11321 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11323 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11325 2010-04-19 Kenichi Handa <handa@m17n.org>
11327 * language/indian.el (malayalam-composable-pattern): Fix previous
11328 change (add U+0D4D "SIGN VIRAMA").
11329 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11330 (tamil-composable-pattern): Fix typo in the regexp.
11331 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11332 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11333 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11335 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11337 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11338 paragraph-separate (Bug#5821).
11340 2010-04-19 Juri Linkov <juri@jurta.org>
11342 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11344 * info.el (Info-find-node-2): Comment out code that skips
11346 (Info-mouse-follow-link): New command.
11347 (Info-link-keymap): New keymap.
11348 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11349 Return a string with links instead of inserting breadcrumbs
11350 to the Info buffer.
11351 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11352 Instead of putting the `invisible' text property over the Info
11353 header, make an overlay over the Info header with the `invisible'
11354 property and `after-string' set to the string returned by
11355 `Info-breadcrumbs'.
11357 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11359 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11360 Reported by monkey@sandpframing.com.
11362 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11364 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11365 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11366 available in the "keyseq cache" any more.
11368 * custom.el (defcustom): Add edebug spec.
11370 2010-04-18 Juri Linkov <juri@jurta.org>
11372 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11374 * view.el (view-file, view-buffer): Move test for special mode-class
11375 from view-file to view-buffer.
11377 * tar-mode.el (tar-extract): Turn if's into one cond
11378 like in arc-mode.el.
11380 2010-04-18 Juri Linkov <juri@jurta.org>
11382 Add 7z archive format support (bug#5475).
11384 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11385 (archive-7z-extract): New defcustom.
11386 (archive-find-type): Add magic string for 7z.
11387 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11388 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11389 `buffer' arg of `call-process'.
11390 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11391 call the function `archive-7z-extract' with the variable
11392 `archive-7z-extract' let-bound to `archive-zip-extract'.
11393 (archive-7z-summarize, archive-7z-extract): New functions.
11395 * international/mule.el (auto-coding-alist):
11396 * files.el (auto-mode-alist): Add 7z file extension.
11398 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11400 * loadup.el: Setup hash-cons for pure data.
11402 Fix duplicate entries in cedet's loaddefs.el files.
11403 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11404 Should make most file-local generated-autoload-file unnecessary.
11405 (print-readably): Silence warnings.
11406 (autoload-find-destination): Take load-name as an arg to make sure
11407 it's the same as the one that will be in the file.
11408 (autoload-generate-file-autoloads): Adjust to above changes.
11409 Try to make the dataflow a bit simpler.
11411 * cvs-status.el (cvs-refontify): Remove unused.
11413 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11415 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11417 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11418 twos-complement mode.
11420 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11422 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11423 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11424 (calc-inverse): Add "Option" to message, as appropriate.
11425 (calc-hyperbolic): Add "Option" to message, as appropriate.
11426 (calc-option, calc-is-option): New functions.
11428 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11429 (calc-option-prefix-help): New function.
11431 * calc/calc-misc.el (calc-help): Add "Option" entry.
11433 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11434 (calc-option-flag): New variable.
11435 (calc-do): Set `calc-option-flag to nil.
11436 (calc-set-mode-line): Add "Opt " as appropriate.
11438 2010-04-16 Juri Linkov <juri@jurta.org>
11440 Move scrolling commands from simple.el to window.el
11441 because their primitives are implemented in window.c.
11443 * simple.el (scroll-error-top-bottom)
11444 (scroll-up-command, scroll-down-command, scroll-up-line)
11445 (scroll-down-line, scroll-other-window-down)
11446 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11447 * window.el (scroll-error-top-bottom)
11448 (scroll-up-command, scroll-down-command, scroll-up-line)
11449 (scroll-down-line, scroll-other-window-down)
11450 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11451 Move from simple.el to window.el because their primitives are
11452 implemented in window.c.
11454 2010-04-16 Juri Linkov <juri@jurta.org>
11456 * isearch.el (isearch-lookup-scroll-key): Check both
11457 `isearch-scroll' and `scroll-command' properties.
11458 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11460 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11462 * simple.el (scroll-up-command, scroll-down-command)
11463 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11465 2010-04-15 Juri Linkov <juri@jurta.org>
11467 * simple.el (scroll-up-command, scroll-down-command)
11468 (scroll-up-line, scroll-down-line): Put `scroll-command'
11469 property on the these symbols. Remove them from
11470 `scroll-preserve-screen-position-commands'.
11472 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11473 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11474 Remove it from `scroll-preserve-screen-position-commands'.
11476 * isearch.el (isearch-allow-scroll): Doc fix.
11478 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11480 * net/tramp.el (tramp-error-with-buffer): Don't show the
11481 connection buffer when we are in completion mode.
11482 (tramp-file-name-handler): Catch the error for some operations
11483 when we are in completion mode. This gives the user the chance to
11484 correct the file name in the minibuffer.
11486 2010-04-15 Glenn Morris <rgm@gnu.org>
11488 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11490 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11492 Simplify by using `define-derived-mode'.
11493 * info.el (Info-mode):
11494 * calendar/todo-mode.el (todo-mode):
11495 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11496 (gomoku-mode-map): Move initialization into declaration.
11498 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11501 * ido.el (ido-file-name-all-completions-1):
11502 * minibuffer.el (minibuffer-completion-help):
11503 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11505 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11507 * simple.el (non-essential): New var.
11509 Add a new field `location' to bookmarks for non-file bookmarks.
11510 * bookmark.el (bookmark-location): Use the new field, if present.
11511 (bookmark-insert-location): Undo last change, not needed any more.
11512 * man.el (Man-bookmark-make-record):
11513 * woman.el (woman-bookmark-make-record): Add `location' field.
11515 2010-04-14 Juri Linkov <juri@jurta.org>
11517 * simple.el (scroll-error-top-bottom): New defcustom.
11518 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11520 * emulation/pc-select.el (pc-select-override-scroll-error):
11521 Obsolete in favor of `scroll-error-top-bottom'.
11523 2010-04-14 Juri Linkov <juri@jurta.org>
11525 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11526 `scroll-up-command' and `M-v' to `scroll-down-command'.
11528 * emulation/cua-rect.el (cua--init-rectangles):
11529 * forms.el (forms--change-commands):
11530 * image-mode.el (image-mode-map):
11531 Remap scroll-down-command and scroll-up-command
11532 in addition to scroll-down and scroll-up.
11534 2010-04-14 Juri Linkov <juri@jurta.org>
11536 * mwheel.el (scroll-preserve-screen-position-commands):
11537 Add mwheel-scroll to this list of commands.
11539 * simple.el (scroll-preserve-screen-position-commands):
11540 Add scroll-up-command, scroll-down-command, scroll-up-line,
11541 scroll-down-line to this list of commands.
11543 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11545 * obsolete/complete.el: Move from lisp/complete.el.
11547 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11549 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11550 to the minor mode function now turns the mode ON unconditionally.
11552 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11554 * vc-dir.el (vc-dir-kill-line): New command.
11555 (vc-dir-mode-map): Bind it to C-k.
11557 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11559 * woman.el: Add bookmark declarations to silence the compiler.
11560 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11561 step to compatibility between man and woman bookmarks.
11562 Adjust for Man-default-bookmark-title renaming.
11563 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11565 * man.el: Add bookmark declarations to silence the compiler.
11566 (Man-name-local-regexp): Make it match NAME as well.
11567 (Man-getpage-in-background): Return the buffer.
11568 (Man-notify-when-ready): Use `case'.
11569 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11570 Don't hardcode "NAME". Simplify.
11571 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11572 Rename from Man-bookmark-make-record.
11573 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11574 we have the actual man-args. Use Man-getpage-in-background rather
11575 than `man' since the arg is already processed. Let bookmark.el do the
11576 window handling. Only wait for the relevant process.
11577 Don't forget to autoload.
11579 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11581 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11583 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11585 (woman-mode): Setup bookmark support.
11587 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11588 (man-bookmark-jump): New functions.
11589 (Man-mode): Setup bookmark support.
11591 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11593 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11594 recognize ssh-keygen prompt (Bug#2817).
11596 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11598 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11600 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11602 Synchronize with Tramp repository.
11604 * net/tramp.el (tramp-completion-function-alist)
11605 (tramp-file-name-regexp, tramp-chunksize)
11606 (tramp-local-coding-commands, tramp-remote-coding-commands):
11608 (tramp-remote-process-environment): Use `format' instead of `concat'.
11609 (tramp-handle-directory-files-and-attributes)
11610 (tramp-get-remote-path): Use `copy-tree'.
11611 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11612 compatibility: Use `completion-ignore-case' if
11613 `read-file-name-completion-ignore-case' does not exist.
11614 (tramp-do-copy-or-rename-file-directly): Do not use
11615 `tramp-handle-file-remote-p'.
11616 (tramp-do-copy-or-rename-file-out-of-band):
11617 Use `tramp-compat-delete-directory'.
11618 (tramp-do-copy-or-rename-file-out-of-band)
11619 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11620 Use `format-spec-make'.
11621 (tramp-find-foreign-file-name-handler)
11622 (tramp-advice-make-auto-save-file-name)
11623 (tramp-set-auto-save-file-modes): Remove superfluous check for
11624 `stringp'. This is done inside `tramp-tramp-file-p'.
11625 (tramp-debug-outline-regexp): New defconst.
11626 (tramp-get-debug-buffer): Use it.
11627 (tramp-check-for-regexp): Use (forward-line 1).
11628 (tramp-set-auto-save-file-modes): Adapt version check.
11630 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11631 Wrap call of `featurep' for 2nd argument.
11632 (tramp-compat-make-temp-file): Simplify fallback implementation.
11633 (tramp-compat-copy-tree): Remove function.
11634 (tramp-compat-delete-directory): Provide implementation for older
11637 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11638 Do not use `tramp-fish-handle-file-attributes.
11640 * net/trampver.el: Update release number.
11642 2010-04-10 Glenn Morris <rgm@gnu.org>
11644 * progmodes/compile.el (compilation-save-buffers-predicate):
11645 Add missing :version tag.
11647 2010-04-09 Sam Steingold <sds@gnu.org>
11649 * progmodes/compile.el (compilation-save-buffers-predicate):
11650 Remove the "autoload" cookie.
11652 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11653 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11654 and `bug-reference-prog-mode' can be used in hooks directly.
11656 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11658 Add --author support to git commit.
11659 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11660 (vc-git-log-edit-mode): New minor mode.
11661 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11664 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11666 * vc-hooks.el, vc-git.el: Improve documentation comments.
11668 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11670 Fix some of the problems in defsubst* (bug#5728).
11671 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11672 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11674 2010-04-07 Sam Steingold <sds@gnu.org>
11676 * progmodes/compile.el (compilation-save-buffers-predicate):
11677 New custom variable.
11678 (compile, recompile): Pass it to `save-some-buffers'.
11680 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11682 * wid-edit.el (widget-choose): Move cursor to the second line of
11683 the buffer (Bug#5695).
11685 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11687 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11688 * vc.el (vc-print-log-setup-buttons): New function split out from
11689 vc-print-log-internal.
11690 (vc-log-internal-common): New function, a parametrized version of
11691 vc-print-log-internal.
11692 (vc-print-log-internal): Just call vc-log-internal-common with the
11694 (vc-incoming-outgoing-internal):
11695 (vc-log-incoming, vc-log-outgoing): New functions.
11696 (vc-log-view-type): New permanent local variable.
11698 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11700 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11701 of the dynamic bound vc-short-log.
11702 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11704 * vc-git.el (vc-git-log-outgoing): New function.
11705 (vc-git-log-view-mode): Use vc-log-view-type instead
11706 of the dynamic bound vc-short-log.
11708 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11709 of the dynamic bound vc-short-log. Highlight the tag.
11710 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11711 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11712 (vc-hg-incoming-mode): Remove.
11713 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11715 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11717 Fix default-directory for vc-root-diff.
11718 * vc.el (vc-root-diff): Bind default-directory to the root
11719 directory for the diff command.
11721 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11723 * progmodes/verilog-mode.el (verilog-forward-sexp):
11724 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11725 word keywords, suggested by Steve Pearlmutter.
11726 (verilog-pretty-declarations): Support lineup of declarations in
11728 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11729 fix bug for /* / comments.
11730 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11731 Speed up and simplfy as this is never called with a bound.
11732 (verilog-pretty-declarations): Enhance to line up declarations
11733 inside a parameter list, suggested by Alan Morgan.
11734 (verilog-pretty-expr): Tune assignment regular expression match
11735 string for corner cases; also use markers instead of character
11736 number as indent changes the later.
11738 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11740 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11741 as missing keyword.
11742 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11743 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11744 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11745 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11747 (verilog-keywords):
11748 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11749 1800-2009 keywords, including "global.".
11751 2010-04-06 John Wiegley <jwiegley@gmail.com>
11753 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11754 appearing in buffer list (if a live buffer name matched a recentf
11755 file basename). Should use uniquify to offer a real solution.
11757 2010-04-06 John Wiegley <jwiegley@gmail.com>
11759 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11760 comment to code, and add a :version tag.
11761 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11763 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11765 Enable recentf-mode if using virtual buffers.
11766 * ido.el (recentf-list): Declare for byte-compiler.
11767 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11768 (ido-make-buffer-list): Simplify.
11769 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11771 2010-04-05 Juri Linkov <juri@jurta.org>
11773 Scrolling commands which scroll a line instead of full screen.
11774 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11776 * simple.el (scroll-up-line, scroll-down-line): New commands.
11777 Put property isearch-scroll=t on them.
11779 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11782 2010-04-05 Juri Linkov <juri@jurta.org>
11784 Scrolling commands which do not signal errors at top/bottom.
11785 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11787 * simple.el (scroll-up-command, scroll-down-command): New commands.
11788 Put property isearch-scroll=t on them.
11790 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11791 `scroll-down-command' and [next] from `scroll-up' to
11792 `scroll-up-command'.
11794 * emulation/cua-base.el: Put property CUA=move on
11795 `scroll-up-command' and `scroll-down-command'.
11796 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11797 and `scroll-down-command' to `cua-scroll-down'.
11799 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11801 * help.el (describe-mode): Return nil.
11803 2010-04-04 John Wiegley <jwiegley@gmail.com>
11805 * ido.el (ido-use-virtual-buffers): New variable to indicate
11806 whether "virtual buffer" support is enabled for IDO.
11807 (ido-virtual): Face used to indicate virtual buffers in the list.
11808 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11809 exists, but a virtual buffer of that name does (which would be why
11810 it was in the list), recreate the buffer by reopening the file.
11811 (ido-make-buffer-list): If virtual buffers are being used, call
11812 `ido-add-virtual-buffers-to-list' before the make list hook.
11813 (ido-virtual-buffers): New variable which contains a copy of the
11814 current contents of the `recentf-list', albeit pared down for the
11815 sake of speed, and with proper faces applied.
11816 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11817 create a list of "virtual buffers" to present to the user in
11818 addition to the currently open set. Note that this logic could
11819 get rather slow if that list is too large. With the default
11820 `recentf-max-saved-items' of 200, there is little speed penalty.
11822 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11824 * font-lock.el: Require CL when compiling.
11825 (font-lock-turn-on-thing-lock): Use `case'.
11827 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11829 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11832 2010-04-02 Juri Linkov <juri@jurta.org>
11834 * ehelp.el (electric-help-orig-major-mode):
11835 New buffer-local variable.
11836 (electric-help-mode): Set it to original major-mode. Doc fix.
11837 (with-electric-help): Use `electric-help-orig-major-mode' instead
11838 of (default-value 'major-mode). Doc fix.
11839 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11841 2010-04-02 Sam Steingold <sds@gnu.org>
11843 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11844 `vc-hg-command' with a list of flags.
11846 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11847 Also accept "patch" and "RFE".
11848 (bug-reference-fontify): `bug-reference-url-format' can also be a
11849 function to be able to handle the bug kind.
11850 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11852 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11854 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11855 value to fboundp, it may not be a symbol.
11857 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11859 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11861 2010-03-31 Juri Linkov <juri@jurta.org>
11863 * simple.el (next-line, previous-line): Re-throw a signal
11864 with `signal' instead of using `ding'.
11865 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11867 2010-03-31 Juri Linkov <juri@jurta.org>
11869 * simple.el (keyboard-escape-quit): Raise deselecting the active
11870 region higher than exiting the minibuffer.
11871 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11873 2010-03-31 Juri Linkov <juri@jurta.org>
11875 * image.el (image-animated-p): Use `image-metadata' instead of
11876 `image-extension-data'. Get GIF extenstion data from metadata
11877 property `extension-data'.
11879 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11881 * simple.el (append-to-buffer): Simplify.
11883 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11885 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11886 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11888 2010-03-31 Kenichi Handa <handa@m17n.org>
11890 * language/sinhala.el (composition-function-table): Fix regexp for
11891 the new Unicode specification.
11893 * language/indian.el (devanagari-composable-pattern)
11894 (tamil-composable-pattern, kannada-composable-pattern)
11895 (malayalam-composable-pattern): Adjust for the new Unicode
11897 (bengali-composable-pattern, gurmukhi-composable-pattern)
11898 (gujarati-composable-pattern, oriya-composable-pattern)
11899 (telugu-composable-pattern): New variables to cope with the new
11900 Unicode specification. Use them in composition-function-table.
11902 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11904 Make tmm-menubar work for the Buffers menu again (bug#5726).
11905 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11906 vectors rather than cons cells, as used in menu-bar-update-buffers.
11908 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11910 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11911 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11912 electric punctuation for "{}();,:" (Bug#5586).
11914 * mail/sendmail.el (mail-default-directory): Doc fix.
11916 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11918 * mail/sendmail.el (mail-default-directory): Doc fix.
11920 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11922 * subr.el (version-regexp-alist, version-to-list)
11923 (version-list-<, version-list-=, version-list-<=)
11924 (version-list-not-zero, version<, version<=, version=): Doc fix.
11927 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11929 * vc.el (vc-root-diff): Doc fix.
11931 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11933 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11935 * simple.el (append-to-buffer): Fix last change.
11937 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11939 * simple.el (append-to-buffer): Ensure that point is preserved if
11940 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11943 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11945 * files.el (auto-mode-case-fold): Change default to t.
11947 2010-03-30 Juri Linkov <juri@jurta.org>
11949 * dired-x.el (dired-omit-mode): Doc fix.
11951 2010-03-30 Juri Linkov <juri@jurta.org>
11953 * replace.el (occur-accumulate-lines): Move occur-engine related
11954 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11955 to be located after `occur-engine'.
11957 2010-03-30 Juri Linkov <juri@jurta.org>
11959 Make occur handle multi-line matches cleanly with context.
11960 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11962 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11963 (occur-engine): Add local variables `ret', `prev-after-lines',
11964 `prev-lines'. Use more arguments for `occur-context-lines'.
11965 Set first elem of its returned list to `data', and the second elem
11966 to `prev-after-lines'. Don't print the separator line.
11967 In the end, print remaining context after-lines.
11968 (occur-context-lines): Add new arguments `begpt', `endpt',
11969 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11970 after-lines of the previous match with before-lines of the
11971 current match and not overlap them. Return a list with two
11972 values: the output line and the list of context after-lines.
11974 2010-03-30 Juri Linkov <juri@jurta.org>
11976 * replace.el (occur-accumulate-lines): Fix a bug where the first
11977 context line at the beginning of the buffer was missing.
11979 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11981 * files.el: Make bidi-display-reordering safe variable for boolean
11984 2010-03-29 Phil Hagelberg <phil@evri.com>
11985 Chong Yidong <cyd@stupidchicken.com>
11987 * subr.el: Extend progress reporters to perform "spinning".
11988 (progress-reporter-update, progress-reporter-do-update):
11989 Handle non-numeric value arguments.
11990 (progress-reporter--pulse-characters): New var.
11992 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11994 * progmodes/compile.el (compilation-start): Fix regexp detection
11995 of initial cd command (Bug#5771).
11997 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11999 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12001 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12003 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12004 * progmodes/gdb-mi.el: Restore.
12005 * progmodes/gdb-ui.el: Remove.
12006 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12008 2010-03-25 Glenn Morris <rgm@gnu.org>
12010 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12011 all dired buffers, even tramp ones. (Bug#5755)
12013 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12015 Add "union tags" in mpc.el.
12016 * mpc.el: Remove backward compatibility code.
12017 (mpc-browser-tags): Change default.
12018 (mpc--find-memoize-union-tags): New var.
12019 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12020 (mpc-cmd-find): Handle the case where the playlist does not exist.
12022 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12023 (mpc-cmd-add): Use mpc-cmd-flush.
12024 (mpc-tagbrowser-tag-name): New fun.
12025 (mpc-tagbrowser-buf): Use it.
12026 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12028 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12031 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12032 Use replace-regexp-in-string.
12033 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12034 (makefile-imake-mode-syntax-table): Move init into defvar.
12035 (makefile-mode): Use define-derived-mode.
12037 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12038 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12039 not be present any more.
12041 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12043 * faces.el (set-face-attribute): Fix typo in docstring.
12044 (face-valid-attribute-values): Reflow docstring.
12046 2010-03-24 Glenn Morris <rgm@gnu.org>
12048 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12050 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12052 * indent.el (indent-for-tab-command): Doc fix.
12054 2010-03-24 Alan Mackenzie <acm@muc.de>
12056 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12057 Fix off-by-one error. Fixes bug #5747.
12059 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12061 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12062 (image-dired-read-comment): Doc fix.
12064 * json.el (json-object-type, json-array-type, json-key-type)
12065 (json-false, json-null, json-read-number):
12066 * minibuffer.el (completion-in-region-functions):
12067 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12068 (cal-tex-cursor-week):
12069 * emacs-lisp/trace.el (trace-function):
12070 * eshell/em-basic.el (eshell/printnl):
12071 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12072 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12073 * obsolete/levents.el (allocate-event, event-key, event-object)
12074 (event-point, event-process, event-timestamp, event-to-character)
12075 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12076 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12077 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12078 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12079 (reftex-highlight-selection): Fix typos in docstrings.
12081 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12083 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12085 2010-03-24 Glenn Morris <rgm@gnu.org>
12087 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12088 2008-02-13 without comment; mark it obsolete.
12089 (rmail-highlight-headers): Use rmail-highlight-face once more.
12091 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12093 * woman.el (woman2-process-escapes): Only consume the newline if
12094 the filler character is on a line by itself (Bug#5729).
12096 2010-03-24 Kenichi Handa <handa@m17n.org>
12098 * language/indian.el (devanagari-composable-pattern): Add more
12101 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12103 * net/trampver.el: Update release number.
12105 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12107 * net/tramp.el (tramp-find-executable):
12108 Use `tramp-get-connection-buffer'. Make the regexp for checking
12109 output of "wc -l" more robust.
12110 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12111 (tramp-open-connection-setup-interactive-shell): Remove workaround
12112 for OpenSolaris bug, it is not needed anymore.
12114 2010-03-24 Glenn Morris <rgm@gnu.org>
12116 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12118 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12120 * files.el (auto-mode-alist): Accept more verilog file patterns.
12122 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12124 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12126 2010-03-24 Glenn Morris <rgm@gnu.org>
12128 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12129 log-edit-before-checkin-process.
12131 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12133 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12135 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12136 (log-view-process-buffer, log-edit-extra-flags): Declare.
12138 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12140 2010-03-23 Sam Steingold <sds@gnu.org>
12142 Fix bug#5620: recalculate all markers on compilation buffer
12143 modifications, not on file modifications.
12144 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12145 variable: the buffer modification time, for buffers not associated with
12147 (compilation-mode): Create it.
12148 (compilation-filter): Update it.
12149 (compilation-next-error-function): Use it instead of
12150 `visited-file-modtime' for timestamp.
12152 2010-03-23 Juri Linkov <juri@jurta.org>
12154 Implement Occur multi-line matches.
12155 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12157 * replace.el (occur): Doc fix.
12158 (occur-engine): Set `begpt' to the beginning of the first line.
12159 Set `endpt' to the end of the last match line. At first, count
12160 line numbers between `origpt' and `begpt'. Split out code from
12161 `out-line' variable to new let-bindings `match-prefix' and
12162 `match-str'. In `out-line' add non-numeric prefix to all
12163 non-first lines of multi-line matches. Finally, count lines
12164 between `begpt' and `endpt' and add to `lines'.
12166 2010-03-23 Juri Linkov <juri@jurta.org>
12168 * replace.el (occur-accumulate-lines, occur-engine):
12169 Use `occur-engine-line' instead of duplicate code.
12170 (occur-engine-line): New function created from duplicate code
12171 in `occur-accumulate-lines' and `occur-engine'.
12173 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12174 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12176 2010-03-23 Juri Linkov <juri@jurta.org>
12178 * finder.el: Remove TODO tasks.
12180 * info.el (Info-finder-find-node): Add node "all"
12181 with all package info. Handle a list of multiple keywords
12182 separated by comma.
12183 (info-finder): In interactive use with a prefix argument,
12184 use `completing-read-multiple' to read a list of keywords
12185 separated by comma.
12187 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12189 Add a new completion style `substring'.
12190 * minibuffer.el (completion-basic--pattern): New function.
12191 (completion-basic-try-completion, completion-basic-all-completions):
12193 (completion-substring--all-completions)
12194 (completion-substring-try-completion)
12195 (completion-substring-all-completions): New functions.
12196 (completion-styles-alist): New style `substring'.
12198 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12200 Get rid of .elc files after removal of the corresponding .el.
12201 * Makefile.in (compile-clean): New target.
12202 (compile-main): Use it.
12204 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12206 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12207 don't do make there. When compiling with separate object dir, there
12208 is no Makefile there.
12210 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12212 Get rid of the ELCFILES abomination, again.
12213 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12214 (all, compile): Don't call compile-last.
12215 (compile-main): Build the "elcfiles" list dynamically.
12216 (compile-targets): New (internal) target.
12218 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12220 * Makefile.in (top_srcdir): Define.
12221 (abs_top_builddir): Define.
12222 (srcdir): Don't append `/..'.
12223 (EMACS): Use ${abs_top_builddir}.
12224 (all, compile, compile-always, compile-last): Don't set emacswd.
12225 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12227 (lisp): Use $(srcdir) instead of @srcdir@.
12229 2010-03-21 Juri Linkov <juri@jurta.org>
12231 Fix message of multi-line occur regexps and multi-buffer header lines.
12232 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12234 * replace.el (occur-1): Don't display regexp if it is longer
12235 than window-width. Use `query-replace-descr' to display regexp.
12236 (occur-engine): Don't display regexp in the buffer header for
12237 multi-buffer occur. Display a separate header line with total
12238 match count and regexp for multi-buffer occur.
12239 Use `query-replace-descr' to display regexp.
12241 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12243 * net/secrets.el: Fix parenthesis.
12244 (secrets-enabled): Fix parenthesis.
12246 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12248 Use more relative file and directory names.
12249 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12250 (setwins, setwins_almost, setwins_for_subdirs):
12251 Don't `cd'; output relative names.
12252 (all, compile, compile-always, compile-last): Set emacswd.
12253 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12254 Just cd to the lisp source dir so we can use relative file names.
12256 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12258 2010-03-20 Glenn Morris <rgm@gnu.org>
12260 * textmodes/rst.el: Use faces for font-lock customization, and make the
12261 old -face variables obsolete.
12262 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12263 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12264 (rst-block-face, rst-external-face, rst-definition-face)
12265 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12266 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12268 (rst-font-lock-keywords-function): Update for above changes.
12270 2010-03-20 Juri Linkov <juri@jurta.org>
12273 * obsolete/s-region.el: Move to obsolete.
12275 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12277 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12279 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12281 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12283 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12285 Add special markup processing for commit logs.
12286 * log-edit.el (log-edit-extra-flags): New variable.
12287 (log-edit): Add new argument MODE. Use that mode when non-nil
12288 instead of the log-view-mode.
12289 (log-view-process-buffer): New function.
12291 * vc.el: Document that the checkin method takes optional
12292 arguments. Document new backend specific method: log-view-mode.
12293 (vc-default-log-edit-mode): New function.
12294 (vc-checkin): Use a backend specific log-view-mode.
12295 Pass extra arguments to the checkin method.
12296 (vc-modify-change-comment): Pass a dummy extra argument.
12298 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12300 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12301 (vc-finish-logentry): Process the log buffer before passing it
12302 down. Pass log-edit-extra-flags.
12304 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12306 (log-edit-extra-flags, log-edit-before-checkin-process):
12309 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12311 (log-edit-extra-flags, log-edit-before-checkin-process):
12313 (vc-hg-log-edit-mode): New derived mode.
12315 * vc-arch.el (vc-arch-checkin):
12316 * vc-cvs.el (vc-cvs-checkin):
12317 * vc-git.el (vc-git-checkin):
12318 * vc-mtn.el (vc-mtn-checkin):
12319 * vc-rcs.el (vc-rcs-checkin):
12320 * vc-sccs.el (vc-sccs-checkin):
12321 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12323 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12325 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12328 2010-03-19 Glenn Morris <rgm@gnu.org>
12330 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12332 2010-03-18 Glenn Morris <rgm@gnu.org>
12334 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12336 * replace.el (query-replace-history): Give it a doc string.
12337 (map-query-replace-regexp): Use query-replace-from-history-variable
12338 and query-replace-to-history-variable.
12340 * mail/hashcash.el (declare-function): Remove duplicate definition.
12342 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12343 Make it an obsolete alias for report-emacs-bug-address.
12344 (message-strip-special-text-properties): Declare.
12345 (report-emacs-bug): Remove test for a pretest bug address.
12346 Combine message-mode-specific code.
12348 * mail/supercite.el: Don't require sendmail.
12349 (mh-in-header-p): Declare rather than using with-no-warnings.
12350 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12351 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12353 * calendar/cal-french.el: Convert to utf-8.
12355 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12358 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12360 * net/secrets.el (secrets-enabled): New variable. Use it instead
12363 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12365 * net/secrets.el (top): Register the D-Bus signals only when the
12366 service "org.freedesktop.secrets" can be pinged.
12367 Provide subfeature `enabled'.
12369 2010-03-14 Juri Linkov <juri@jurta.org>
12371 Add finder unknown keywords.
12373 * finder.el (finder-unknown-keywords): New function.
12375 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12376 to create a Finder node with unknown keywords.
12378 2010-03-14 Juri Linkov <juri@jurta.org>
12380 * finder.el (finder-compile-keywords): Replace `princ' with
12381 `prin1' on a list of symbols interned from keyword strings.
12383 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12384 a comma, then split keywords using a comma and optional whitespace.
12385 Otherwise, split by whitespace.
12393 * progmodes/mixal-mode.el: Fix keywords.
12395 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12397 * Makefile.in (ELCFILES): Add net/secrets.elc.
12399 * net/secrets.el: New file.
12401 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12403 * facemenu.el (list-colors-display, list-colors-print): New arg
12404 callback. Use it to allow selecting colors.
12406 * wid-edit.el (widget-image-insert): Insert image prop even if the
12407 current display is non-graphic.
12408 (widget-field-value-set): New fun.
12409 (editable-field): Use it.
12410 (widget-field-value-get): Clean up unused var.
12411 (widget-color-value-create, widget-color--choose-action):
12412 New funs. Allow using list-colors-display to choose color.
12414 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12416 * cus-edit.el: Resort topmost custom groups.
12417 (custom-buffer-sort-alphabetically): Default to t.
12418 (customize-apropos): Use apropos-parse-pattern.
12419 (custom-search-field): New var.
12420 (custom-buffer-create-internal): Add custom-apropos search field.
12421 (custom-add-parent-links): Don't display parent doc.
12422 (custom-group-value-create): Don't sort top-level custom group.
12423 (custom-magic-value-create): Show visibility button before option name.
12425 (custom-variable-state): New fun, from custom-variable-state-set.
12426 (custom-variable-state-set): Use it.
12427 (custom-group-value-create): Hide options with standard values
12428 using the :hidden-states property. Use progress reporter.
12430 (custom-show): Simplify.
12431 (custom-visibility): Disable images by default.
12432 (custom-variable): New property :hidden-states.
12433 (custom-variable-value-create): Enable images for
12434 custom-visibility widgets. Use :hidden-states property to
12435 determine initial visibility.
12437 * wid-edit.el (widget-image-find): Give images center ascent.
12438 (visibility): Add :on-image and :off-image properties.
12439 (widget-visibility-value-create): Use them.
12441 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12443 * cus-edit.el (processes): Remove from development group.
12444 (oop, hypermedia): Delete group.
12445 (comm): Promote to top-level group.
12447 * net/browse-url.el (browse-url):
12448 * net/xesam.el (xesam):
12449 * net/tramp.el (tramp):
12450 * net/goto-addr.el (goto-address):
12451 * net/ange-ftp.el (ange-ftp): Put in comm group.
12453 * view.el (view): Remove from editing group.
12455 * uniquify.el (uniquify): Put in files group.
12457 * net/browse-url.el (browse-url):
12458 * ps-print.el (postscript): Put in external group.
12460 * cus-edit.el (outlines):
12461 * textmodes/text-mode.el (text-mode-hook):
12462 * textmodes/table.el (table):
12463 * textmodes/picture.el (picture):
12464 * outline.el (outlines): Put in wp group.
12466 * nxml/nxml-mode.el (nxml): Remove from wp group.
12468 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12470 * mail/metamail.el (metamail): Remove from hypermedia group.
12472 * cus-edit.el (abbrev):
12473 * whitespace.el (whitespace):
12474 * vcursor.el (vcursor):
12475 * reveal.el (reveal):
12476 * hl-line.el (hl-line): Put in convenience group.
12478 * epg-config.el (epg): Put in data group.
12480 * emulation/pc-select.el (pc-select): Put in emulations group.
12482 * calculator.el (calculator): Put in applications group.
12484 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12486 Add .dir-locals.el support for file-less buffers.
12487 * files.el (hack-local-variables): Split out code to apply local
12488 variable settings ...
12489 (hack-local-variables-apply): ... here. New function.
12490 (hack-dir-local-variables): Use the default directory for when the
12491 buffer does not have an associated file.
12492 (hack-dir-local-variables-non-file-buffer): New function.
12493 * diff-mode.el (diff-mode):
12494 * vc-annotate.el (vc-annotate-mode):
12495 * vc-dir.el (vc-dir-mode):
12496 * log-edit.el (log-edit-mode):
12497 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12499 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12501 Add support for shelving snapshots and for showing shelves.
12502 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12503 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12505 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12506 (vc-bzr-extra-menu-map): Map them.
12508 2010-03-11 Glenn Morris <rgm@gnu.org>
12510 * cus-edit.el (customize-changed-options-previous-release):
12513 * image.el (image-animate-max-time): Fix :version tag.
12515 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12519 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12521 * vc-git.el (vc-git-revision-table): Include remote branches.
12523 2010-03-10 Kim F. Storm <storm@cua.dk>
12525 Animated image API.
12526 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12528 * image.el (image-animate-max-time): New defcustom.
12529 (image-animated-types): New defconst.
12530 (create-animated-image, image-animate-timer)
12531 (image-animate-start, image-animate-stop, image-animate-timeout)
12532 (image-animated-p): New functions.
12534 * image-mode.el (image-toggle-display-image):
12535 Replace `create-image' with `create-animated-image'.
12537 2010-03-09 Miles Bader <miles@gnu.org>
12539 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12540 instead of "format:"; this ensures that the output is
12541 newline-terminated.
12543 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12545 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12546 that all errors are caught, and that the return value is always a
12549 2010-03-08 Kenichi Handa <handa@m17n.org>
12551 * language/misc-lang.el (windows-1256): New coding system.
12552 (cp1256): New alias of windows-1256 (bug#5690).
12554 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12556 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12557 call to rfc822-bad-address. (Bug#5692)
12559 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12561 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12562 Use vc-git-root as default directory for revision path (Bug#5657).
12564 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12566 * calculator.el (calculator): Don't bind split-window-keep-point
12569 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12571 * vc-git.el: Re-flow to fit into 80 columns.
12572 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12573 Remove spurious `quote' element in each case alternative.
12574 (vc-git-show-log-entry): Use prog1.
12575 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12577 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12579 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12581 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12583 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12584 definition, not the name (Bug#5481).
12586 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12588 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12589 argument with a local variable. (Bug#5670)
12591 2010-03-02 Juri Linkov <juri@jurta.org>
12593 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12595 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12597 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12598 error when FILENAME and NEWNAME are existing remote directories.
12600 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12601 parameter DIR-FLAG.
12603 2010-03-02 Glenn Morris <rgm@gnu.org>
12605 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12606 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12608 2010-03-01 Kenichi Handa <handa@m17n.org>
12610 * language/burmese.el (burmese-composable-pattern): Rename from
12611 myanmar-composable-pattern.
12613 * international/characters.el (script-list):
12614 * international/fontset.el (script-representative-chars):
12615 Change myanmar to burmese.
12616 (otf-script-alist): Likewise.
12617 (setup-default-fontset): Likewise. Re-fix :otf spec.
12619 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12621 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12623 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12625 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12627 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12629 * net/tramp.el (tramp-handle-write-region): START can be a string.
12630 Take care in the checks. Reported by Dan Davison
12631 <davison@stats.ox.ac.uk>.
12633 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12635 * net/dbus.el (dbus-introspect, dbus-get-property)
12636 (dbus-set-property, dbus-get-all-properties):
12637 Use `dbus-call-method' when noninteractive. (Bug#5645)
12639 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12641 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12642 * emacs-lisp/elint.el (elint-add-required-env):
12643 * calendar/icalendar.el (icalendar--add-diary-entry):
12644 * calc/calcalg2.el (math-tracing-integral):
12645 * files.el (recover-session-finish): Use with-current-buffer
12646 instead of save-excursion.
12648 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12650 Fix in-buffer completion when after-change-functions modify the buffer.
12651 * minibuffer.el (completion--replace): New function.
12652 (completion--do-completion): Use it and use relative movement.
12654 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12656 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12658 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12660 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12661 Allow the characters _<> in the stack entry (Bug#5653).
12663 2010-02-26 Kenichi Handa <handa@m17n.org>
12665 * language/burmese.el: Fix entries in composition-function-table.
12666 (myanmar-composable-pattern): New variable.
12668 * international/fontset.el (setup-default-fontset): Add an entry
12671 * international/characters.el (script-list): Add Myanmar
12674 2010-02-26 Glenn Morris <rgm@gnu.org>
12676 * custom.el (custom-initialize-delay): Doc fix.
12678 * mail/sendmail.el (send-mail-function): Autoload the call
12679 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12681 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12683 * files.el (hack-local-variables-filter): For eval forms, also
12684 check safe-local-variable-p (Bug#5636).
12686 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12688 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12689 setting the modes by `ignore-errors'. It might fail, for example
12690 if the file is not owned by the user but the group.
12691 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12693 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12695 * files.el (directory-listing-before-filename-regexp):
12696 Use stricter matching for iso-style dates, to avoid false matches with
12697 date-like filenames (Bug#5597).
12699 * htmlfontify.el (htmlfontify): Doc fix.
12701 * eshell/eshell.el (eshell): Doc fix.
12703 * startup.el (fancy-about-screen): In mode-line, apply
12704 mode-line-buffer-id face only to the buffer name (Bug#5613).
12706 2010-02-20 Kevin Ryde <user42@zip.com.au>
12708 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12709 In `watcom' anchor regexp to start of line, to avoid slowness
12712 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12714 * subr.el (remove-yank-excluded-properties): Explain in a comment
12715 why `category' property is removed.
12717 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12719 * isearch.el (isearch-update-post-hook, isearch-update):
12720 Revert 2010-02-17 change.
12722 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12724 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12725 (icalendar--convert-weekly-to-ical)
12726 (icalendar--convert-yearly-to-ical)
12727 (icalendar--convert-block-to-ical)
12728 (icalendar--convert-cyclic-to-ical)
12729 (icalendar--convert-anniversary-to-ical): Take care of time
12730 specifications where hour has 1-digit only (Bug#5549).
12732 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12734 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12735 of disassemble output in GDB 7.1.
12737 2010-02-19 Glenn Morris <rgm@gnu.org>
12739 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12740 property. (Bug#5593)
12742 2010-02-18 Sam Steingold <sds@gnu.org>
12744 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12746 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12748 Use abbreviated file names in bookmarks (bug#5591).
12749 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12750 calls to expand-file-name.
12751 (bookmark-relocate): Use abbreviated file names in bookmarks.
12752 (bookmark-load): Use abbreviated file names in messages.
12754 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12756 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12757 expand "." and "..". Reported by Thierry Volpiatto
12758 <thierry.volpiatto@gmail.com>.
12760 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12762 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12763 permissions of the temporary file to "0600". In case the remote
12764 file has no read permissions for the owner, there might be
12765 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12767 22010-02-18 Glenn Morris <rgm@gnu.org>
12769 * emacs-lisp/authors.el (authors-renamed-files-alist):
12770 Add entries for INSTALL.CVS.
12772 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12774 * vc-bzr.el: Fix typo in Known Bugs section.
12776 * isearch.el (isearch-update-post-hook): New hook.
12777 (isearch-update): Use the new hook.
12779 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12781 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12782 Fix errors in copying directories.
12783 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12784 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12785 (tramp-handle-delete-file)
12786 (tramp-handle-dired-recursive-delete-directory)
12787 (tramp-handle-write-region): Flush also the cache for the upper
12790 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12792 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12794 * cus-edit.el (hardware): Doc fix.
12796 * man.el (man): Add to external custom group.
12798 * delim-col.el (columns): Move to wp custom group.
12800 * doc-view.el (doc-view): Add to data custom group.
12802 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12804 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12805 by ispell-parse-output (Bug#5575).
12807 2010-02-16 Kenichi Handa <handa@m17n.org>
12809 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12810 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12811 (skkdic-convert): Use `euc-japan' coding system for writing.
12813 2010-02-16 Glenn Morris <rgm@gnu.org>
12815 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12816 tex-main-file before using it. (Bug#5562)
12818 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12820 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12821 warnings, since it is annoying for the user to see them each time he
12824 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12826 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12827 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12828 instead of PROC for caching "first-password-request". Otherwise,
12829 new processes would not profit from passwords already entered.
12831 * net/tramp-cache.el (tramp-dump-connection-properties):
12832 Don't save "first-password-request" property.
12834 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12836 * outline.el (outline-head-from-level):
12837 * simple.el (with-wrapper-hook):
12838 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12839 (elint-defun, elint-buffer-env, elint-top-form-logged)
12840 (elint-unbound-variable):
12841 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12842 Fix typos in docstrings.
12844 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12846 * files.el (insert-directory): When WILDCARD-REGEXP and
12847 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12848 whole directory. (Bug#5551)
12850 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12851 dired's alignment sanity. (Bug#5516)
12853 2010-02-14 Juri Linkov <juri@jurta.org>
12855 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12856 Remove remaining ^H with their preceding chars. (Bug#5566)
12858 2010-02-13 Glenn Morris <rgm@gnu.org>
12860 * simple.el (transpose-subr): Give it a doc-string.
12862 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12865 2010-02-12 Juri Linkov <juri@jurta.org>
12867 * arc-mode.el (archive-unique-fname): Make directories for nested
12868 archives. (Bug#5540)
12870 2010-02-12 Juri Linkov <juri@jurta.org>
12872 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12874 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12876 * subr.el (copy-overlay): Handle deleted overlays.
12878 * man.el (Man-completion-table): Don't signal an error if we can't run
12879 manual-program (bug#4056).
12881 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12883 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12885 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12887 * info.el (Info-bookmark-jump): Simplify.
12889 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12890 (bookmark-default-handler): Accept new bookmark field `buffer'.
12892 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12894 * iswitchb.el (iswitchb-completions): Revert last change.
12896 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12898 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12899 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12900 This prevents file names like "~/" being listed literally.
12902 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12904 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12905 Remove dead code. (Bug#5546)
12907 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12909 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12910 correctly (Bug#5548).
12912 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12914 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12915 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12917 2010-02-08 Kenichi Handa <handa@m17n.org>
12919 * international/mule-util.el (with-coding-priority): Add autoload
12920 cookie for putting `lisp-indent-function'.
12922 2010-02-07 Glenn Morris <rgm@gnu.org>
12924 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12925 Move F2003 named interfaces from keywords-2 to keywords-1, and
12926 use function-name-face rather than constant-face.
12927 Simplify "abstract interface" regexp.
12929 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12931 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12932 ID-FORMAT. Pass it to `file-attributes'.
12934 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12936 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12938 * faces.el (set-face-attribute): Allow calling
12939 internal-set-lisp-face-attribute with 'unspecified family and
12940 foundry argument (Bug#5536).
12942 2010-02-07 Glenn Morris <rgm@gnu.org>
12944 * progmodes/f90.el (f90-font-lock-keywords-2)
12945 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12946 Handle F2003 named interfaces.
12948 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12950 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12951 beg and end before calling c-get-state-before-change-functions.
12953 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12955 * vc-bzr.el (vc-bzr-dir-extra-headers):
12956 Disable the pending merges header.
12958 2010-02-05 Juri Linkov <juri@jurta.org>
12960 * doc-view.el (doc-view-mode):
12961 * image-mode.el (image-mode): Put property mode-class=special.
12964 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12966 * vc-svn.el (vc-svn-revision-table): New function.
12968 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12970 * net/ange-ftp.el (ange-ftp-insert-directory):
12971 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12972 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12973 Handle also directories. (Bug#5478)
12975 2010-02-05 Glenn Morris <rgm@gnu.org>
12977 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12979 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12981 * startup.el (command-line-1): Convert options beginning with a
12982 single dash as well (Bug#5519).
12984 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12986 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12987 * minibuffer.el (completion-initials-expand): Only check the presence
12988 of delims *within* the boundaries, since otherwise the / delim is
12989 always found for files.
12991 Fix up various corner case problems.
12992 * doc-view.el (doc-view-last-page-number): New function.
12993 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12994 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12995 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12996 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12997 (doc-view-convert-current-doc): Don't create the resolution.el file
12999 (doc-view-pdf/ps->png): Do it here instead.
13000 (doc-view-already-converted-p): Check that resolution.el is present.
13001 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13002 windows that are not yet showing images.
13004 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13006 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13007 `dired-uncache' for every elemnt which is an absolute file name.
13009 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13010 directory, handle its directory component.
13011 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13012 function is called permanently and creates noise, otherwise.
13014 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13015 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13016 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13018 2010-02-04 David Burger <dburger@google.com> (tiny change)
13020 * macros.el (apply-macro-to-region-lines):
13021 Minor simplification. (Bug#5485)
13023 2010-02-04 Glenn Morris <rgm@gnu.org>
13025 * mail/rmail.el (rmail-show-message-1): Handle malformed
13026 quoted-printable text. (Bug#5441)
13028 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13030 * simple.el (visual-line-mode): Capitalize lighter.
13032 2010-02-03 John Wiegley <jwiegley@gmail.com>
13034 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13035 list of files considered for "virtual buffer" completions.
13037 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13039 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13040 also in case of (and (not full) (not wildcard)). This is needed
13041 when dired is called with a list of files, which are not in
13042 `default-directory'. (Bug#5478)
13044 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13046 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13048 2010-02-02 Juri Linkov <juri@jurta.org>
13050 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13051 from unidiff to allow function-line after @@.
13053 2010-02-02 Juri Linkov <juri@jurta.org>
13055 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13056 '(RCS SCCS) with inverted condition.
13058 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13060 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13063 2010-02-01 Juri Linkov <juri@jurta.org>
13065 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13066 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13067 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13068 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13070 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13072 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13073 (doc-view-revert-buffer): New command.
13074 (doc-view-mode-map): Use it.
13076 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13078 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13079 pending merge is detected.
13081 2010-01-31 Juri Linkov <juri@jurta.org>
13083 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13084 beginning of interactive spec like all other grep commands do.
13085 Put "all" in front of "gz". (Bug#5260)
13087 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13089 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13091 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13093 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13094 regexp is incorrect (Bug#5476).
13096 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13098 * net/tramp.el (tramp-handle-insert-directory): Handle also
13099 symlinks, when FILENAME is not in `default-directory'.
13101 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13103 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13104 FILE is not in `default-directory'. (Bug#5478)
13106 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13107 of SWITCHES. Handle the case, FILENAME is not in
13108 `default-directory'. (Bug#5478)
13109 (tramp-register-file-name-handlers): Add safe-magic property.
13111 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13113 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13116 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13118 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13119 (flymake-master-make-header-init): Add other C++ filename masks.
13120 (flymake-find-possible-master-files)
13121 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13123 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13125 Fix some busybox annoyances.
13127 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13128 not responding." string.
13129 (tramp-open-connection-setup-interactive-shell): Dump stty
13130 settings. Enable "neveropen" arg for all `tramp-send-command'
13131 calls. Handle "=" in variable values properly.
13132 (tramp-find-inline-encoding): Raise an error, when no encoding is
13134 (tramp-wait-for-output): Check, whether PROC buffer is available.
13135 Remove spurious " ^H" sequences, sent by busybox.
13136 (tramp-get-ls-command): Suppress coloring, if possible.
13138 2010-01-28 Glenn Morris <rgm@gnu.org>
13140 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13142 * log-edit.el (log-edit-strip-single-file-name): Add missing
13143 :safe, :group, and :version tags.
13145 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13147 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13148 buffers. (Bug#5477)
13150 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13152 * files.el (delete-directory): Handle moving to trash without
13153 first doing recursion (Bug#5436).
13155 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13157 * vc-hooks.el (vc-path): Mark as obsolete.
13159 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13161 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13164 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13166 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13168 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13170 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13172 * vc-bzr.el (vc-bzr-revision-table): New function.
13174 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13176 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13177 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13179 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13181 Remove support for adding --signoff on commit.
13182 Future support will use an incompatible generic mechanism.
13183 * vc-git.el (vc-git-add-signoff): Remove variable.
13184 (vc-git-toggle-signoff): Remove function.
13185 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13187 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13188 Rename from xterm-set-background-mode. Return t if the background mode
13190 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13191 earlier, call it again in case the background mode has changed.
13193 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13195 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13198 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13200 * emacs-lisp/assoc.el (aelement): Doc fix.
13201 (aput, adelete, amake): Use lexical-let (Bug#5450).
13203 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13205 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13206 is the same as subprogram call, not declaration. (Bug#5435).
13208 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13210 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13211 (tramp-smb-maybe-open-connection): Use it.
13213 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13215 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13217 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13219 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13220 just because we see "encoding: 8bit".
13221 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13223 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13225 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13227 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13229 * jka-compr.el (jka-compr-load): If load-file is not in
13230 load-history, try its file-truename version. (bug#5447)
13232 2010-01-21 Alan Mackenzie <acm@muc.de>
13234 Fix a situation where deletion of a cpp construct throws an error.
13235 * progmodes/cc-engine.el (c-invalidate-state-cache):
13236 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13237 special cpp construct is still in the buffer.
13238 (c-parse-state): Record the special cpp with markers, not numbers.
13240 2010-01-21 Kenichi Handa <handa@m17n.org>
13242 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13243 process last-command-event, as it is now decoded first (Bug#5380).
13245 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13247 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13249 2010-01-20 Glenn Morris <rgm@gnu.org>
13251 * indent.el (tab-always-indent): Fix custom-type.
13253 2010-01-19 Alan Mackenzie <acm@muc.de>
13255 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13256 buffer throws "args out of range".
13257 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13258 playing the role of delimiter.
13260 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13262 * progmodes/ada-mode.el: Fix bug#5400.
13263 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13264 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13265 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13266 Improve comments in "is" portion. Handle null procedure declaration.
13267 (ada-move-to-end): Improve doc string.
13269 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13271 * ido.el (ido-cur-list): Initialize to nil.
13272 Remove obsolete information from commentary.
13273 (ido-choice-list): Initialize to nil.
13274 (ido-get-bufname): Reject minibuffers.
13275 (ido-make-buffer-list): If "default" is a nonexistent
13276 buffer, ignore it, as per the function's comment.
13277 (ido-kill-buffer-internal): New function.
13278 (ido-kill-buffer-at-head): Use it.
13279 (ido-visit-buffer): Likewise.
13281 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13283 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13285 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13287 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13288 Fix typos in chart titles.
13290 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13291 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13292 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13293 (describe-class, eieio-describe-generic, describe-generic):
13294 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13295 (eieio-speedbar-expand):
13296 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13297 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13298 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13299 (viper-del-backward-char-in-replace, viper-backward-indent)
13300 (viper-brac-function, viper-register-to-point, viper-submit-report):
13301 * net/tramp.el (tramp-remote-coding-commands):
13302 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13303 Fix typos in docstrings.
13305 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13307 * mail/sendmail.el (mail-yank-original): Set the mark if the
13308 specified function for yanking does not do it.
13310 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13312 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13314 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13315 resyncing a directory.
13317 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13319 * progmodes/ada-mode.el: Fix bug#1920.
13320 (ada-ident-re): Delete ., allow multibyte characters.
13321 (ada-goto-label-re): New; matches goto labels.
13322 (ada-block-label-re): New; matches block labels.
13323 (ada-label-re): New; matches both.
13324 (ada-named-block-re): Delete; callers changed to use
13325 `ada-block-label-re' instead.
13326 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13327 Use `ada-block-label-re'.
13328 (ada-indent-on-previous-lines): Improve handling of goto labels.
13329 (ada-get-indent-block-start): Special-case block label.
13330 (ada-get-indent-label): Split into `ada-indent-block-label' and
13331 `ada-indent-goto-label'.
13332 (ada-goto-stmt-start, ada-goto-next-non-ws):
13333 Optionally ignore goto labels.
13334 (ada-goto-next-word): Simplify.
13335 (ada-indent-newline-indent-conditional): Insert newline before
13336 trying to fix indentation; doc fix.
13338 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13340 * calc/calc.el (calc-command-flags): Give it an initial value.
13342 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13344 * files.el (minibuffer-with-setup-hook):
13345 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13346 (artist-key-draw-continously, artist-key-do-continously-continously)
13347 (artist-key-set-point-continously, artist-mouse-draw-continously):
13348 Fix typos in docstrings.
13350 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13352 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13353 Never return t (Bug#3898).
13355 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13357 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13358 can parse the output of the external commands (Bug#5279).
13360 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13362 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13364 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13366 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13368 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13370 * startup.el (command-line): Remove unused --icon-type arg.
13371 Handle --display arg, passing it to command-line-1 (Bug#5392).
13373 2010-01-16 Mario Lang <mlang@delysid.org>
13375 * emacs-lisp/chart.el (chart-translate-namezone):
13376 * textmodes/artist.el (artist-compute-popup-menu-table):
13377 Remove duplicated words in doc-strings.
13379 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13381 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13382 to mairix-search to suppress threading (Bug#5342).
13384 2010-01-15 Kenichi Handa <handa@m17n.org>
13386 * international/mule-cmds.el (canonicalize-coding-system-name):
13387 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13389 2010-01-15 Glenn Morris <rgm@gnu.org>
13391 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13393 * wid-edit.el (widget-keymap): Doc fix.
13395 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13396 former seems to be more widely accepted by various svn versions.
13398 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13400 * find-cmd.el (find-constituents):
13401 * vc-arch.el (vc-arch-root):
13402 * window.el (window-body-height, pop-up-frames):
13403 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13404 * progmodes/ada-stmt.el (ada-if):
13405 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13406 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13407 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13408 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13410 * progmodes/flymake.el (flymake-post-syntax-check):
13411 Fix typo in error message.
13413 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13415 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13416 which is always a string. (Bug#5313)
13418 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13420 * progmodes/ada-xref.el (ada-default-prj-properties):
13421 Simplify previous change.
13423 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13425 * progmodes/ada-xref.el (ada-default-prj-properties):
13426 Default ada_project_path to $ADA_PROJECT_PATH.
13428 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13430 * progmodes/ada-mode.el (ada-create-keymap):
13431 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13433 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13435 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13436 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13437 (ada-get-current-indent, ada-imenu-generic-expression)
13438 (ada-which-function): Check for it.
13440 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13442 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13443 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13445 2010-01-14 Glenn Morris <rgm@gnu.org>
13447 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13449 2010-01-14 Kenichi Handa <handa@m17n.org>
13451 * composite.el (auto-composition-mode): Make it a buffer local
13452 variable (permanent-local).
13453 (auto-composition-function): Set the default value to
13454 auto-compose-chars.
13455 (auto-composition-mode): Make it a simple function, not a minor mode.
13456 (global-auto-composition-mode): Likewise.
13457 (turn-on-auto-composition-if-enabled): Delete it.
13459 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13461 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13463 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13465 * files.el (copy-directory): Compute target for recursive
13466 directories with identical names. (Bug#5343)
13468 2010-01-12 Glenn Morris <rgm@gnu.org>
13470 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13471 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13473 2010-01-11 Sam Steingold <sds@gnu.org>
13475 * imenu.el (imenu-default-create-index-function): Detect infinite
13476 loops caused by imenu-prev-index-position-function.
13478 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13480 * htmlfontify.el (htmlfontify-load-rgb-file)
13481 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13482 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13483 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13484 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13485 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13486 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13487 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13488 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13489 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13490 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13491 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13492 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13493 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13494 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13495 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13496 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13497 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13498 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13499 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13500 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13501 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13502 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13503 backslash-quoting from parentheses, etc.
13505 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13507 * progmodes/js.el: Autoload javascript-mode alias.
13509 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13511 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13512 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13513 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13514 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13515 Fix typos in docstrings.
13516 (ffap-url-regexp): Doc fix.
13517 (ffap-at-mouse): Fix typo in message.
13519 2010-01-11 Glenn Morris <rgm@gnu.org>
13521 * version.el (emacs-copyright): Set copyright year to 2010.
13523 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13525 * format.el (format-annotate-function): Only set
13526 write-region-post-annotation-function after running to-fn so as not to
13527 affect nested write-region calls (bug#5273).
13529 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13531 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13534 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13536 * man.el (Man-goto-section): Signal error if the section is not
13539 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13541 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13542 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13544 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13546 * progmodes/compile.el: Don't treat compile-command as safe if
13547 compilation-read-command might be nil (Bug#4218).
13549 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13551 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13554 2010-01-08 Kenichi Handa <handa@m17n.org>
13556 * international/fontset.el (build-default-fontset-data):
13557 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13559 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13561 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13562 to `create-file-buffer' as it expects, not just a buffer name.
13563 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13564 to help uniquify. (Bug#3224)
13566 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13568 * font-setting.el (font-setting-change-default-font): Use user-spec
13571 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13573 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13575 2010-01-05 Tom Tromey <tromey@redhat.com>
13577 * progmodes/python.el (python-font-lock-keywords):
13578 Handle qualified decorators (Bug#881).
13580 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13582 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13583 in a lightweight checkout.
13585 2010-01-05 Kenichi Handa <handa@m17n.org>
13587 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13589 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13591 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13593 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13595 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13596 checkouts. (Bug#618)
13597 (vc-bzr-log-view-mode): Also highlight the author.
13598 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13599 (vc-bzr-shelve-menu-map):
13600 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13601 (vc-bzr-shelve-apply): Make prompt more explicit.
13603 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13605 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13606 They are valid characters in URL paths (rfc3986), and at least
13607 Firefox does not understand the encoded version (Bug#3166).
13609 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13611 * progmodes/octave-mod.el (octave-end-keywords)
13612 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13613 Add "end" keyword (Bug#3061).
13614 (octave-end-as-array-index-p): New function.
13615 (calculate-octave-indent): Use it.
13617 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13619 * bookmark.el: Consistently put the text property on the bookmark name.
13620 (bookmark-bmenu-marks-width): Bump back to 2, to include
13622 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13623 property on the bookmark name, instead of not putting it at all.
13624 (bookmark-bmenu-list): Fix where we put the text property.
13626 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13628 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13629 for showing buffer modified state (as added in the previous change).
13631 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13633 * bookmark.el: Show modified state of bookmark buffer more accurately.
13634 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13635 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13636 (with-buffer-modified-unmodified): New macro.
13637 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13638 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13639 Use new macro to preserve the buffer modified state.
13641 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13643 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13644 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13645 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13646 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13647 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13648 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13649 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13651 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13653 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13654 Make the lines in the generated doc string shorter. (Bug#4668)
13656 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13658 * net/rcirc.el: Add follow-link binding (Bug#4738).
13660 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13662 * Makefile.in (bzr-update): Rename from cvs-update.
13663 (cvs-update): New target for backward compatibility.
13665 * makefile.w32-in (bzr-update): Rename from cvs-update.
13666 (cvs-update): New target for backward compatibility.
13668 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13670 * bookmark.el: Remove gratuitous gratitude.
13672 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13674 * bookmark.el (bookmark-bmenu-any-marks): New function.
13675 (bookmark-bmenu-save): Clear buffer modification if no marks.
13677 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13679 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13680 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13681 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13682 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13684 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13685 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13686 To: emacs-devel {_AT_} gnu.org
13687 Subject: bookmark.el bug report
13688 Date: Mon, 28 Dec 2009 14:19:16 +0800
13689 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13691 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13693 * bookmark.el: Improvements suggested by Drew Adams:
13694 (bookmark-bmenu-ensure-position): New name for
13695 `bookmark-bmenu-check-position'. Just ensure the position,
13696 don't return any meaningful value.
13697 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13700 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13702 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13703 (bookmark-yank-point, bookmark-bmenu-check-position):
13704 Fix typos in docstrings.
13705 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13706 (bookmark-name-from-full-record, bookmark-get-position)
13707 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13708 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13709 Remove useless quoting of parenthesis, etc. in docstrings.
13711 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13712 (ediff-append-custom-diff): Fix typo in error message.
13713 (ediff-meta-mark-equal-files): Fix typos in messages.
13715 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13717 * net/imap-hash.el (imap-hash-make): Doc fix.
13718 (imap-hash-test): Fix typo in error message; reflow docstring.
13719 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13720 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13721 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13722 Fix typos in docstrings.
13723 (imap-hash-open-connection): Fix typo in error message.
13725 * play/gomoku.el (gomoku): Fix typos in docstring.
13727 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13728 (gdb-jsonify-buffer): Fix typos in docstring.
13729 (gdb-goto-breakpoint): Fix typo in error message.
13730 ("Display Other Windows"): Fix typo in help message.
13731 (gdb-speedbar-expand-node): Fix typo in question.
13733 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13734 (idlwave-html-system-help-location, idlwave-html-help-location)
13735 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13736 (idlwave-help-browser-generic-args, idlwave-help-directory)
13737 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13738 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13739 (idlwave-online-help, idlwave-help-html-link)
13740 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13741 Fix typos in docstrings.
13742 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13744 (idlwave-help-assistant-start): Fix typo in error message.
13746 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13747 (octave-electric-space): Fix typos in docstrings.
13749 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13751 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13753 2010-01-01 Juri Linkov <juri@jurta.org>
13755 * comint.el (comint-input-ring-size): Make it a defcustom and
13756 increase the default to 500 (Bug#5148).
13758 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13760 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13761 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13762 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13764 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13766 Show working revision correctly for mercurial.
13767 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13768 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13770 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13772 Declare some functions for the byte-compiler.
13773 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13774 (speedbar-timer-fn, speedbar-change-expand-button-char)
13775 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13777 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13779 This changeset reverts GDB Graphical Interface to use annotations.
13780 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13782 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13784 Make vc-dir work on subdirectories of the bzr root.
13785 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13786 Return file names relative to it.
13787 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13788 relative directory to vc-bzr-after-dir-status.
13790 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13792 * font-lock.el (font-lock-refresh-defaults): New function, which
13793 can be used to let font-lock react to external changes in
13794 variables like font-lock-defaults and keywords.
13795 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13797 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13799 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13801 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13803 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13805 Supersede color.diff settings in git log (bug#5211).
13807 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13808 escape chars in its output when the user has color.diff set to `always'.
13809 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13811 2009-12-26 Kevin Ryde <user42@zip.com.au>
13813 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13814 node. Keep previous "Index" name to work with past coreutils too.
13816 * man.el (man): Revise docstring a bit to show -a and -l as
13817 examples. Add -k description since support for it has otherwise
13818 been a secret. (Further to bug#3717.)
13819 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13820 "no matches" rather than "Can't find manpage", as the latter reads
13821 like -k was interpreted as a page name, which is not so. (Bug#5431)
13823 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13825 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13826 switches. Check also for //SUBDIRED// line.
13828 2009-12-25 Kenichi Handa <handa@m17n.org>
13830 * language/indian.el (devanagari-composable-pattern): Fix to
13831 handle ZWNJ and ZWJ. Use it in composition-function-table for
13833 (malayalam-composable-pattern): Fix previous change.
13835 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13837 * ps-print.el (ps-face-attributes): It was not returning the
13838 attribute face for faces specified as string. Reported by harven
13839 <harven@free.fr>. (Bug#5254)
13840 (ps-print-version): New version 7.3.5.
13842 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13844 * calendar/icalendar.el (icalendar--convert-tz-offset):
13845 Fix timezone names.
13846 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13847 (icalendar--add-diary-entry): Remove the trailing blank that
13848 diary-make-entry inserts.
13850 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13852 Make `file-expand-wildcards' work for remote files.
13854 * files.el (file-expand-wildcards): In case of remote files, check
13855 only local file name part for wildcards. Provide feature 'files
13856 and subfeature 'remote-wildcards. (Bug#5198)
13858 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13859 if there is already an established connection.
13860 (tramp-advice-file-expand-wildcards): Remove it.
13862 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13863 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13864 Activate advice for older GNU Emacs versions. (Bug#5237)
13866 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13868 Some doc fixes (more needed).
13870 * find-cmd.el (find-constituents): Reflow docstring.
13871 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13872 (find-generic): Doc fix.
13874 2009-12-17 Juri Linkov <juri@jurta.org>
13876 Fix regression from 23.1 to allow multiple modes in Local Variables.
13878 * files.el (hack-local-variables-filter): While ignoring duplicates,
13879 don't take `mode' into account.
13880 (hack-local-variables-filter, hack-dir-local-variables):
13881 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13883 2009-12-17 Juri Linkov <juri@jurta.org>
13885 Make `dired-diff' safer. (Bug#5225)
13887 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13888 `current' or when `file' is a directory of the `current' file.
13890 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13892 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13893 unconditionally preloaded files.
13895 2009-12-16 Juri Linkov <juri@jurta.org>
13897 Revert to old 23.1 logic of using the file at the mark as default.
13898 * dired-aux.el (dired-diff): Use the file at the mark as default
13899 if it's not the same as the current file, and the target dir is
13900 the current dir or the mark is active. Add the current file
13901 as the arg of `dired-dwim-target-defaults'. Use the default file
13902 in the prompt. (Bug#5225)
13904 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13906 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13907 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13908 (tramp-check-for-regexp): Check also, when an echoing shell stops
13909 to echo sent commands.
13911 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13913 * Makefile.in: Revert last change (Bug#5191).
13915 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13917 * vc-hg.el (vc-hg-print-log): Fix argument order.
13918 (vc-hg-working-revision): Make sure the command is executed in a
13919 known environment so that we can parse the output. (Bug#4417)
13921 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13923 * progmodes/python.el (python-symbol-completions): Remove text
13924 properties from symbol string before calling python-send-receive.
13926 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13928 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13929 when there are values for both file and line. (Bug#5060)
13931 2009-12-14 Juri Linkov <juri@jurta.org>
13933 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13934 whitespace after the file name of the first line of unified format,
13935 because git-diff doesn't output whitespace and file modification time
13936 after the file name.
13938 2009-12-14 David Kastrup <dak@gnu.org>
13940 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13941 check if it already has the `display' property added by
13942 `Info-display-images-node', and not put the `invisible' property
13945 2009-12-13 Glenn Morris <rgm@gnu.org>
13947 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13948 (report-emacs-bug): In message-mode, sort manually before storing
13949 original report text. (Bug#5178)
13950 Remove superfluous save-excursion.
13952 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13954 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13955 when responding to "GetAll" properties.
13957 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13959 * simple.el (compose-mail): Remove mail-setup-with-from from
13960 customization checks.
13962 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13964 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13965 RAR archives created on Unix systems.
13967 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13969 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13970 the varalias that was accidentally removed by the 2009-11-19 change
13973 2009-12-12 Kenichi Handa <handa@m17n.org>
13975 * language/indian.el (indian-compose-regexp): New function.
13976 (malayalam-composable-pattern): Fix the pattern.
13977 (composition-function-table): Set malayalam-composable-pattern for
13978 Malayalam characters.
13980 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13982 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13983 rather than down-mouse-1, based on follow-link conventions.
13985 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13988 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13990 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13991 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13992 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13993 (verilog-leap-to-head, verilog-backward-token):
13994 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13996 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13998 * progmodes/verilog-mode.el (verilog-auto-lineup)
13999 (verilog-nameable-item-re): Cleanup user-visible spelling and
14000 documentation errors. One reported by Gary Delp.
14001 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14002 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14003 package, bug195. Reported by Pierre-David Pfister.
14005 2009-12-11 Glenn Morris <rgm@gnu.org>
14007 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14009 * mail/emacsbug.el: No longer require sendmail.
14010 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14011 (report-emacs-bug-orig-text): Doc fix.
14012 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14013 New local variables, to adapt to different mail-user-agents.
14014 (report-emacs-bug): Fix test for a gnu.org address.
14015 Use overlays for emphasis, since font-lock defeats 'face property.
14016 Pretest bugs also end up at the newsgroup these days.
14017 Stop message-mode stripping text properties.
14018 Set and use the new buffer-local variables.
14019 (report-emacs-bug-hook): Add doc-string.
14020 Remove some unnecessary save-excursions and simplify.
14021 Use the appropriate hook and send-command.
14023 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14024 capitalization of some menu entries.
14026 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14028 * whitespace.el (whitespace-display-char-on):
14029 Ensure `buffer-display-table' is unique when two or more windows are
14030 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14033 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14035 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14036 characters in the Attribute field.
14038 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14040 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14042 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14044 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14045 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14046 Disregard autoload-excludes.
14047 (update-directory-autoloads): Obey autoload-excludes here instead.
14048 But don't store its contents in no-autoloads and remove entries that
14049 refer to excludes files.
14051 2009-12-10 Glenn Morris <rgm@gnu.org>
14053 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14054 (expand-mail-aliases): Define for compiler.
14056 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14057 Define for compiler.
14059 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14060 appropriate for the mail-user-agent in use.
14062 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14064 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14066 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14068 Fix short log parsing and fontification.
14069 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14070 Fix fontification for the [merge] label.
14072 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14074 Drop some properties to avoid surprises (bug#5002).
14075 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14076 (hfy-fontify-buffer): Use it.
14078 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14081 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14082 Adjust all callers.
14083 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14084 args compulsory. Adjust callers.
14085 (ffap-gopher-at-point): Remove unused var `name'.
14087 Get rid of the ELCFILES abomination.
14088 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14089 (compile-elcfiles): New phony target.
14090 (compile-main): Compute ELCFILES dynamically.
14091 (compile-clean): New target to remove left-over elc files.
14092 (compile, all): Use it.
14094 2009-12-09 Kenichi Handa <handa@etlken>
14096 * international/mule-diag.el: Require help-mode instead of help-fns.
14098 2009-12-09 Kenichi Handa <handa@m17n.org>
14100 * international/mule-cmds.el (ucs-names): Supply sufficiently
14101 fine ranges instead of pre-calculating accurate ranges.
14102 Iterate with bigger gc-cons-threshold.
14104 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14106 Add support for stashing a snapshot of the current tree.
14107 * vc-git.el (vc-git-stash-snapshot): New function.
14108 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14110 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14112 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14113 instead of `(beginning|end)-of-line'.
14115 2009-12-08 Glenn Morris <rgm@gnu.org>
14117 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14119 * Makefile.in (ELCFILES): Regenerate.
14121 2009-12-07 Juri Linkov <juri@jurta.org>
14123 Don't lazy-highlight the comint output in history Isearch mode.
14125 * comint.el (comint-history-isearch-search): Instead of
14126 `comint-line-beginning-position', use `comint-after-pmark-p'
14127 to check if point if before the process mark, and go to
14128 `process-mark' in this case.
14130 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14132 * textmodes/tex-mode.el (latex-complete)
14133 (latex-indent-or-complete): Remove.
14134 (latex-mode): Set completion-at-point-functions instead.
14136 Provide a standard completion command and hook it into TAB.
14137 * minibuffer.el (completion-at-point-functions): New var.
14138 (completion-at-point): New command.
14139 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14140 * progmodes/python.el (python-mode-map): Use completion-at-point.
14141 (python-completion-at-point): Rename from python-partial-symbol and
14142 adjust for use in completion-at-point-functions.
14143 (python-mode): Setup completion-at-point for Python completion.
14144 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14145 extracted from lisp-complete-symbol.
14146 (lisp-complete-symbol): Use it.
14147 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14148 setup completion-at-point for Elisp completion.
14149 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14150 Use completion-at-point.
14151 * ielm.el (ielm-map): Use completion-at-point.
14152 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14153 * progmodes/sym-comp.el: Move to...
14154 * obsolete/sym-comp.el: Move from progmodes.
14156 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14158 Prevent save-buffer in Rmail buffers from using the coding-system
14159 of the current message, and from clobbering the encoding mnemonics
14160 in the mode line (Bug#4623).
14162 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14164 (rmail-message-encoding): New variable.
14165 (rmail-write-region-annotate): Record the encoding of the current
14166 message in rmail-message-encoding.
14167 (rmail-after-save-hook): New function, restores the encoding of
14168 the current message after the message collection is saved.
14170 2009-12-07 Juri Linkov <juri@jurta.org>
14172 * progmodes/grep.el (grep-read-files): Use `completing-read'
14173 instead of `read-string'. Set its `collection' arg to
14174 `read-file-name-internal'. (Bug#4301)
14176 2009-12-07 Juri Linkov <juri@jurta.org>
14178 Correctly restore original Isearch point. (Bug#4994)
14180 * isearch.el (isearch-mode): Move `isearch-push-state' after
14181 `(run-hooks 'isearch-mode-hook)'.
14182 (isearch-cancel): When `isearch-push-state-function' is defined,
14183 let-bind `isearch-cmds' to the first state (the last element of
14184 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14185 function and restores the original point). Otherwise, move point
14186 to `isearch-opoint'.
14188 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14190 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14191 chars that don't have names, so the table can be built much faster at
14194 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14196 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14197 change. Suggested by David Kastrup.
14199 * simple.el (compose-mail): Check for incompatibilities and warn.
14200 (compose-mail-user-agent-warnings): New option.
14202 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14204 Support showing a single log entry from vc-annotate.
14205 * vc.el (print-log): Add a new argument: START-REVISION.
14206 (vc-print-log-internal): Add a new optional argument and
14207 pass it to the backend.
14208 (vc-print-log, vc-print-root-log): Adjust callers.
14209 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14210 buffer already displays the requested log entry, use it.
14211 Otherwise display only the log entry in question.
14212 * vc-svn.el (vc-svn-print-log):
14213 * vc-mtn.el (vc-mtn-print-log):
14214 * vc-hg.el (vc-hg-state):
14215 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14216 (vc-git-show-log-entry): Return t on success.
14217 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14218 (vc-bzr-show-log-entry): Return t on success.
14219 * vc-rcs.el (vc-rcs-print-log):
14220 * vc-sccs.el (vc-sccs-print-log):
14221 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14223 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14225 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14226 Add menus to the meta mode. (Bug#5043)
14228 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14230 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14233 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14235 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14237 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14238 Berbain <raphael.berbain@gmail.com>.
14240 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14242 (tramp-initial-end-of-output): New defconst.
14243 (tramp-methods, tramp-find-shell)
14244 (tramp-open-connection-setup-interactive-shell)
14245 (tramp-maybe-open-connection): Use it.
14246 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14247 Handle existence of `#' and `$'.
14249 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14250 Use `tramp-initial-end-of-output'.
14252 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14254 Get the background mode from the terminal for xterm, and set
14256 * term/xterm.el (xterm-set-background-mode): New function.
14257 (terminal-init-xterm): Use it in case xterm supports background
14258 color queries. Recompute faces after getting the background
14261 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14263 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14264 number comment back on its own line, for easier parsing.
14266 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14268 Make it work for non-file buffers (bug#5102).
14269 * doc-view.el (doc-view-current-cache-dir):
14270 Use doc-view-buffer-file-name rather than buffer-file-name.
14271 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14273 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14275 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14276 author field is too short.
14278 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14280 * vc-git.el (vc-git-print-log): Handle a limit argument.
14281 Display the short log in graph form and with labels.
14282 (vc-git-log-view-mode): Handle labels.
14284 Make vc-revert change VC state from 'added to 'unregistered.
14285 * vc-git.el (vc-git-revert): Call git reset first.
14287 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14289 * net/newst-backend.el, net/newst-plainview.el:
14290 * net/newst-reader.el, net/newst-ticker.el:
14291 * net/newst-treeview.el, net/newsticker.el:
14292 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14294 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14296 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14298 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14299 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14300 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14301 Update annotation regexp.
14303 * simple.el (beginning-of-visual-line): Constrain to field
14304 boundaries (Bug#5106).
14306 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14308 * xml.el (xml-substitute-numeric-entities):
14309 Move newsticker--decode-numeric-entities in newst-backend.el to
14310 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14311 * net/newst-backend.el (newsticker--parse-generic-feed)
14312 (newsticker--parse-generic-items)
14313 (newsticker--decode-numeric-entities):
14314 Move newsticker--decode-numeric-entities in newst-backend.el to
14315 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14317 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14319 * progmodes/js.el (js--js-not): Add null to the list of values.
14321 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14323 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14325 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14327 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14328 delimiter if it is at the end of the current line.
14329 (bibtex-generate-url-list): Fix docstring.
14331 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14333 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14334 minibuffer's content with itself.
14335 Fold the confirm-after-completion case into the `confirm' case.
14336 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14338 2009-12-06 Kevin Ryde <user42@zip.com.au>
14340 * ffap.el (ffap-rfc-path): Make this a defcustom since
14341 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14343 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14344 manuals, similar to existing setup for help-mode. (Bug#3913.)
14346 2009-12-05 Juri Linkov <juri@jurta.org>
14348 Save and restore dired buffer's point positions too. (Bug#4880)
14350 * dired.el (dired-save-positions): Return in the first element
14351 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14353 (dired-restore-positions): First restore buffer's position.
14354 While restoring window's positions, check if window still displays
14355 the original buffer.
14357 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14359 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14362 * shell.el (shell): Require ansi-color (Bug#5113).
14364 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14366 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14368 2009-12-05 Alan Mackenzie <acm@muc.de>
14370 * progmodes/cc-mode.el (c-before-hack-hook)
14371 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14372 `c-file-style' to work again. This reversion restores the current
14373 software to its state in Emacs 23.1. (Bug#4146)
14375 2009-12-05 Kevin Ryde <user42@zip.com.au>
14377 * textmodes/sgml-mode.el (sgml-lexical-context):
14378 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14380 2009-12-05 Juri Linkov <juri@jurta.org>
14382 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14383 for virtual nodes. (Bug#4147)
14384 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14385 when moving from a virtual node.
14386 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14387 (Info-mode): Add `Info-virtual-index' to the docstring.
14389 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14391 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14392 track of the buffer position of the end of a BibTeX entry as this
14393 position may change during reformatting.
14394 (bibtex-format-entry): Remove whitespace before processing
14395 numerical fields so that we recognize the latter properly.
14396 (bibtex-reformat): Do not use push which changes the global value
14397 of bibtex-entry-format.
14398 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14399 (bibtex-field-re-init): Replace only space characters by regexp
14401 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14402 (bibtex-initialize): Also update bibtex-strings.
14403 (bibtex-kill-field): Preserve white space at end of entry.
14404 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14405 Update bibtex-reference-keys.
14407 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14409 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14410 point after a star, if that's the only place where modifications can
14413 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14415 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14418 2009-12-04 Juri Linkov <juri@jurta.org>
14420 * proced.el (proced): Call `(proced-update t)' to update process
14421 information instead of only running proced-post-display-hook.
14422 (proced-send-signal): Add a leading space to the buffer name
14423 " *Marked Processes*" to make this buffer ephemeral.
14425 2009-12-04 Juri Linkov <juri@jurta.org>
14427 * dired.el (dired-auto-revert-buffer): New defcustom.
14428 (dired-internal-noselect): Use it.
14430 2009-12-04 Juri Linkov <juri@jurta.org>
14432 Change roles of modes and functions in image-mode.el (Bug#5062).
14434 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14435 in `auto-mode-alist'.
14436 (image-mode-previous-major-mode): New variable.
14437 (image-minor-mode-map): Rename from `image-mode-text-map'.
14438 (image-mode): Move graceful error-handling code from
14439 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14440 (image-minor-mode): Remove all image-handling code.
14441 Replace `image-mode-text-map' with `image-minor-mode-map'.
14442 Check for `image-type' in mode-line format string.
14443 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14444 (image-mode-as-text): New function with most code from
14445 `image-mode-maybe'.
14446 (image-toggle-display-text): Move code that removes image
14447 properties from `image-toggle-display' to here.
14448 (image-toggle-display-image): New function with code that adds
14449 image properties copied from `image-toggle-display'.
14450 (image-toggle-display): Remove most code with leaving only code
14451 that toggles between `image-mode-as-text' and `image-mode'.
14453 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14455 * net/newst-treeview.el
14456 (newsticker--treeview-list-highlight-start): Restored call to
14457 save-excursion: Selected item was stuck.
14458 (newsticker--treeview-list-select): New.
14459 (newsticker--treeview-item-show-text)
14460 (newsticker--treeview-item-show)
14461 (newsticker--treeview-item-update): Use new
14462 newsticker-treeview-item-mode.
14463 (newsticker-treeview-update): Keep current item.
14464 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14465 (newsticker--treeview-first-feed): Doc change.
14466 (newsticker-treeview-list-menu)
14467 (newsticker-treeview-item-menu): Add menu entries.
14468 (newsticker-treeview-item-mode): New.
14470 * net/newst-backend.el (newsticker-customize): Delete other
14473 2009-12-04 Sam Steingold <sds@gnu.org>
14475 * log-view.el (log-view-mode-map): "q" calls quit-window,
14476 like in all the other non-self-insert buffers.
14478 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14481 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14482 key decoding rather than do it manually via last-input-event +
14484 (term-exec): Use delete-and-extract-region.
14485 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14486 (term-process-pager): Remove unused var `i'.
14487 (term-dynamic-simple-complete): Make obsolete.
14488 (serial-update-config-menu): Remove unused vars `y' and `str'.
14489 (term-update-mode-line): Remove unused var `temp'.
14491 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14493 Limit the number of log entries displayed by default.
14494 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14495 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14496 using a prefix argument.
14498 2009-12-03 Glenn Morris <rgm@gnu.org>
14500 * progmodes/idlwave.el (class): Restore still useful declaration.
14502 2009-12-03 Alan Mackenzie <acm@muc.de>
14504 Enhance `c-parse-state' to run efficiently in "brace deserts".
14506 * progmodes/cc-mode.el (c-basic-common-init):
14507 Call c-state-cache-init.
14508 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14509 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14510 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14512 * progmodes/cc-langs.el (c-before-font-lock-function):
14513 c-extend-and-neutralize-syntax-in-CPP has been renamed
14514 c-neutralize-syntax-in-and-mark-CPP.
14516 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14517 with `category' properties now, not `syntax-table' ones.
14519 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14520 enhanced (but slower) version of c-end-of-macro that won't land
14521 inside a literal or on another awkward character.
14522 (c-state-cache-too-far, c-state-cache-start)
14523 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14524 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14525 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14526 (c-state-min-scan-pos, c-state-brace-pair-desert)
14527 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14528 buffer local variables.
14529 (c-state-literal-at, c-state-lit-beg)
14530 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14531 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14532 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14533 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14534 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14535 (c-renarrow-state-cache)
14536 (c-append-lower-brace-pair-to-state-cache)
14537 (c-state-push-any-brace-pair, c-append-to-state-cache)
14538 (c-remove-stale-state-cache)
14539 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14540 (c-invalidate-state-cache-1, c-parse-state-1)
14541 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14542 (c-parse-state): Enhance and refactor.
14543 (c-debug-parse-state): Amend to deal with all the new variables.
14545 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14546 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14547 modify to use category text properties rather than syntax-table ones.
14548 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14549 to switch off/on the syntactic paren property of C++ template
14550 delimiters using the category property.
14551 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14552 template delims suppressed.
14553 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14554 New constant/macros which apply category properties to the start
14555 and end of preprocessor constructs.
14556 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14557 "comment out" the syntactic value of characters in preprocessor
14559 (c-with-cpps-commented-out)
14560 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14561 with characters in all or all but one preprocessor constructs
14564 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14566 * proced.el (proced-filter-alist): Use regexp-quote.
14568 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14571 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14572 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14573 arguments. Expand `default-directory'.
14575 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14576 the benefit of returning an expanded localname.
14577 (tramp-tramp-file-p): Handle the case NAME is not a string.
14579 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14581 Add support for bzr shelve/unshelve.
14582 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14583 (vc-bzr-extra-menu-map): New variables.
14584 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14585 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14586 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14587 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14588 (vc-bzr-dir-extra-headers): Display shelves.
14590 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14592 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14594 * textmodes/bibtex.el (bibtex-complete-internal):
14595 Use completion-in-region.
14596 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14598 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14600 Support applying stashes. Improve UI.
14601 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14602 (vc-git-stash-apply, vc-git-stash-pop)
14603 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14604 (vc-git-stash-menu): New functions.
14605 (vc-git-stash-menu-map): New variable.
14606 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14608 2009-12-03 Glenn Morris <rgm@gnu.org>
14610 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14611 (vc-print-log-internal): Fix previous change.
14612 (vc-revert): Correct pluralization.
14614 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14616 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14617 it to be an alist any more.
14618 (makefile-complete): Use completion-in-region.
14620 * progmodes/octave-mod.el (octave-complete-symbol):
14621 Use completion-in-region.
14624 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14625 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14626 (idlwave-complete-class): Don't quote lambda.
14627 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14628 (idlwave-mode-map): Move initialization into declaration.
14629 (idlwave-action-and-binding): Use backquotes.
14630 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14632 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14633 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14634 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14635 `parts', and `all-parts'.
14636 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14637 (idlwave-convert-xml-system-routine-info): Remove unused string
14639 (idlwave-display-user-catalog-widget): Use dolist.
14640 (idlwave-scanning-lib): Declare dynamically-scoped var.
14641 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14642 (completion-highlight-first-word-only): Declare to silence bytecomp.
14643 (idlwave-popup-select): Tighten scope of `resp'.
14644 (idlwave-find-struct-tag): Remove unused var `beg'.
14645 (idlwave-after-load-rinfo-hook): Declare.
14646 (idlwave-sintern-class-info): Remove unused var `taglist'.
14647 (idlwave-find-class-definition): Remove unused var `list'.
14648 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14649 (idlwave-what-module-find-class): Remove unused var `classes'.
14651 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14653 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14655 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14657 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14658 buffers visited. Remove redundant current-buffer-saving.
14660 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14662 Use completion-in-buffer and remove uses of dynamic scoping.
14663 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14664 (pascal-buffer-to-use, pascal-flag): Don't declare.
14665 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14666 (pascal-get-completion-decl, pascal-keyword-completion):
14667 Add `pascal-str' argument, save-excursion,
14668 return the found completions, and don't filter with pascal-pred.
14669 (pascal-completion-cache): New var.
14670 (pascal-completion): Don't switch buffer any more (it was never
14671 necessary). Don't save-excursion any more (it's done by the called
14672 subroutines). Use a cache to avoid redundant computations.
14673 Use complete-with-action rather than pascal-completion-response and
14674 let it apply the predicate as well.
14675 (pascal-complete-word): Use completion-in-buffer when
14676 pascal-toggle-completions is nil.
14677 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14679 (pascal-comp-defun): Don't change buffer any more.
14680 Use complete-with-action rather than pascal-completion-response and
14681 let it apply the predicate as well.
14682 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14685 2009-12-02 Kenichi Handa <handa@m17n.org>
14687 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14688 shape for all Indic scripts.
14690 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14692 Use completion-in-buffer.
14693 * wid-edit.el (widget-field-text-end): New function.
14694 (widget-field-value-get): Use it.
14695 (widget-string-complete, widget-file-complete)
14696 (widget-color-complete): Use it and completion-in-region.
14697 (widget-complete): Don't narrow the buffer.
14699 2009-12-02 Glenn Morris <rgm@gnu.org>
14701 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14702 (rmail-select-summary): Use rmail-pop-to-buffer.
14703 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14704 rmail-pop-to-buffer, to prevent horizontal splits.
14706 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14707 save-excursion with save-current-buffer.
14708 Widen before searching. (Bug#5093)
14709 (diary-list-sexp-entries): Remove superfluous save-excursion.
14711 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14713 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14716 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14718 * ido.el (ido-file-internal): Handle filenames at point that do
14719 not have a directory part. (Bug#5049)
14721 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14723 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14724 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14726 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14728 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14729 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14732 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14734 * comint.el (comint-insert-input): Ignore clicks to the right of
14735 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14737 * vc.el (vc-print-log-internal): Don't wait for the process to
14738 terminate before setting up the major mode.
14740 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14743 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14746 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14748 2009-12-01 Glenn Morris <rgm@gnu.org>
14750 * window.el (window--display-buffer-2): Fix previous changes.
14752 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14754 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14756 2009-12-01 Glenn Morris <rgm@gnu.org>
14758 * Makefile.in (ELCFILES): Add mpc.elc.
14760 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14762 * mpc.el: New file.
14764 2009-12-01 Glenn Morris <rgm@gnu.org>
14766 * window.el (window-to-use): Define for compiler.
14768 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14769 consistent with others (no final period).
14771 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14772 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14774 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14776 Make vc-print-log buttons work.
14777 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14779 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14781 * savehist.el (savehist-autosave-interval): Allow setting to nil
14782 through customize. (Bug#5056)
14784 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14786 Fix references to jit-lock properties.
14787 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14788 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14789 (perl-font-lock-special-syntactic-constructs):
14790 Quote jit-lock-defer-multiline property.
14792 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14794 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14796 2009-11-30 Juri Linkov <juri@jurta.org>
14798 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14799 value `buffer' of `multi-isearch-next-buffer-current-function'.
14800 Use `(current-buffer)' when `buffer' is nil.
14801 (multi-isearch-next-buffer-from-list): Don't fallback to
14802 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14804 2009-11-30 Juri Linkov <juri@jurta.org>
14806 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14807 of buffers with `get-buffer' to `multi-isearch-buffers'.
14808 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14809 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14810 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14811 FILES with `expand-file-name' converting relative file names
14812 to absolute. Doc fix. (Bug#4727)
14814 2009-11-30 Juri Linkov <juri@jurta.org>
14816 * misearch.el (multi-isearch-read-buffers)
14817 (multi-isearch-read-matching-buffers): New functions.
14818 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14819 Use them in the `interactive' spec. Doc fix.
14820 (multi-isearch-read-files, multi-isearch-read-matching-files):
14822 (multi-isearch-files, multi-isearch-files-regexp):
14823 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14825 2009-11-30 Juri Linkov <juri@jurta.org>
14827 * doc-view.el (doc-view-continuous):
14828 Rename from `doc-view-continuous-mode'.
14829 (doc-view-menu): Move "Toggle display" to the top.
14830 Add submenu "Continuous" with radio buttons "Off"/"On"
14831 and "Save as Default".
14832 (doc-view-scroll-up-or-next-page)
14833 (doc-view-scroll-down-or-previous-page)
14834 (doc-view-next-line-or-next-page)
14835 (doc-view-previous-line-or-previous-page):
14836 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14838 2009-11-30 Juri Linkov <juri@jurta.org>
14840 * comint.el (comint-mode-map): Rebind `M-r' from
14841 `comint-previous-matching-input' to
14842 `comint-history-isearch-backward-regexp'.
14843 Unbind `M-s' to allow global key binding `M-s'.
14844 Add menu items for `comint-history-isearch-backward' and
14845 `comint-history-isearch-backward-regexp'. (Bug#3746)
14847 2009-11-30 Juri Linkov <juri@jurta.org>
14849 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14850 For def=recenter, replace `recenter' with `recenter-top-bottom'
14851 that is called with `this-command' and `last-command' let-bound
14852 to `recenter-top-bottom'. When the last `def' was not `recenter',
14853 set `recenter-last-op' to nil. (Bug#4981)
14855 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14857 Minor cleanup and simplification.
14858 * filecache.el (file-cache-add-directory)
14859 (file-cache-add-directory-recursively)
14860 (file-cache-add-from-file-cache-buffer)
14861 (file-cache-delete-file-regexp, file-cache-delete-directory)
14862 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14863 (file-cache-temp-minibuffer-message): Delete function.
14864 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14866 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14867 Don't signal an error when bumping into EOB in tr, s, or y.
14869 2009-11-29 Juri Linkov <juri@jurta.org>
14871 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14874 * descr-text.el (describe-char-unidata-list): Use lowercase name
14875 for "Unicode name" like in other tags.
14877 2009-11-29 Juri Linkov <juri@jurta.org>
14879 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14880 New compatibility macro.
14881 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14883 2009-11-29 Juri Linkov <juri@jurta.org>
14885 Add defcustom to define the cycling order of `recenter-top-bottom'.
14888 * window.el (recenter-last-op): Doc fix.
14889 (recenter-positions): New defcustom.
14890 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14891 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14893 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14895 Improve integration of Tramp and ange-ftp in eshell.
14897 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14898 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14899 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14901 * eshell/esh-util.el (top): Require also Tramp when compiling.
14902 (eshell-directory-files-and-attributes): Check for FTP remote
14904 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14905 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14906 (eshell-file-attributes): Handle ".". Return `entry'.
14908 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14909 (ange-ftp-directory-files-and-attributes)
14910 (ange-ftp-real-directory-files-and-attributes): New defuns.
14912 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14913 shell with "exec" when possible. This prevents trailing prompts
14914 in `start-file-process'.
14916 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14918 Try and remove assumptions about point-min==1.
14919 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14920 (rng-compute-mode-line-string): Show the validation percentage in
14921 terms of the narrowed text, not the widened text.
14922 (rng-do-some-validation): Don't catch internal errors when debugging.
14923 (rng-first-error): Simplify.
14924 (rng-after-change-function): Remove work around. AFAIK the bug has
14925 been fixed a while ago.
14927 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14928 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14930 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14932 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14933 `cd' doesn't always do it for us (bug#5067).
14935 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14936 on 2009-10-25 as part of some other change (bug#5067).
14938 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14940 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14942 (byte-compile-warnings): Use byte-compile-warning-types.
14943 (byte-compile-save-excursion): Warn about use of set-buffer right
14944 after save-excursion.
14946 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14947 the excursion as well.
14949 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14951 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14952 providing a Tramp related implementation of "su" and "sudo".
14953 (eshell-unix-initialize): Add "su" and "sudo".
14955 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14957 * net/socks.el (socks-send-command): Convert binary request to
14958 unibyte before sending. This fixes mishandling of some port
14959 numbers such as 129.
14961 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14963 * help.el (describe-bindings-internal): Remove `interactive'.
14965 * man.el (Man-completion-table): Trim a terminating "(".
14966 Remove the space between name page a section.
14967 Add the command's description on the `help-echo' property.
14968 Remove `process-connection-type' binding since it's unused by
14970 Provide completion for the "<section> <name>" format as well.
14971 (Man-default-man-entry): Remove spurious var shadowing the argument.
14973 2009-11-26 Kevin Ryde <user42@zip.com.au>
14975 * log-view.el: Add "Keywords: tools", since its other keywords
14976 aren't in finder-known-keywords, and following vc.el.
14978 * sha1.el (sha1-string-external): default-directory "/" in case
14979 otherwise non-existent. process-connection-type pipe for touch of
14980 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14982 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14984 Misc coding convention cleanups.
14985 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14986 hfy-init-kludge-hooks.
14987 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14988 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14989 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14991 (hfy-slant, hfy-weight): Use tables rather than code.
14992 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14993 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14994 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14995 (hfy-face-to-css): Remove `nconc' with single arg.
14996 (hfy-p-to-face-lennart): Use `or'.
14997 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14998 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14999 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15000 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15001 (hfy-force-fontification): Use run-hooks.
15003 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15005 Various minor fixes.
15006 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15007 Javascript belongs in the header, not the body.
15008 (hfy-javascript): Remove.
15009 (hfy-fontify-buffer): Don't insert it any more.
15010 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15011 Fix bug in invis handling when there were no invis props in a chunk.
15013 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15015 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15017 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15019 * finder.el (finder-mode-map): Add a menu.
15021 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15023 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15024 "unsigned" structs.
15026 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15027 fork" statement better.
15029 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15031 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15032 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15033 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15034 Reported by Clay Douglass.
15036 (verilog-auto-inst, verilog-auto-star-safe)
15037 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15038 Fix removing "// Interfaces" when saving .* expansions.
15039 Reported by Pierre-David Pfister.
15041 2009-11-26 Glenn Morris <rgm@gnu.org>
15043 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15046 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15048 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15049 Really use previous revision.
15051 2009-11-25 Kevin Ryde <user42@zip.com.au>
15053 * man.el (Man-completion-table): default-directory "/" in case
15054 doesn't otherwise exist. process-environment COLUMNS=999 so as
15055 not to truncate long names. process-connection-type pipe to avoid
15056 any chance of hitting the pseudo-tty TIOCGWINSZ.
15057 (man): completion-ignore-case t for friendliness and since man
15058 itself is case-insensitive on the command line.
15059 Further to Bug#3717.
15061 * arc-mode.el: Add "Keywords: files", so the details in its
15062 commentary can be reached from finder-by-keyword.
15063 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15064 editing mode, but it's comms related and sgml-mode.el has "comm"
15066 * textmodes/bibtex-style.el: Add "Keywords: tex".
15067 * international/isearch-x.el, international/ja-dic-cnv.el:
15068 * international/ja-dic-utl.el, international/kkc.el:
15069 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15071 2009-11-25 Juri Linkov <juri@jurta.org>
15073 * man.el (Man-completion-table): Modify regexp to include
15074 section names to completion strings. (Bug#3717)
15076 2009-11-25 Juri Linkov <juri@jurta.org>
15078 Search recursively in gzipped files. (Bug#4982)
15080 * progmodes/grep.el (grep-highlight-matches): Add new options
15081 `always' and `auto'. Doc fix.
15082 (grep-process-setup): Check `grep-highlight-matches' for
15083 `auto-detect' to determine the need to compute grep defaults.
15084 Move Windows/DOS specific --colors settings handling
15085 to `grep-compute-defaults'. Check `grep-highlight-matches'
15086 to get the value of "--color=".
15087 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15088 has the value `auto-detect'. Move Windows/DOS specific settings
15089 from `grep-process-setup'.
15090 (zrgrep): New command with alias `rzgrep'.
15092 2009-11-25 Juri Linkov <juri@jurta.org>
15094 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15095 to nil instead of switching off view-mode. (Bug#4896)
15097 2009-11-25 Juri Linkov <juri@jurta.org>
15099 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15101 * mwheel.el (mwheel-scroll-up-function)
15102 (mwheel-scroll-down-function): New defvars.
15103 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15104 `scroll-up', and `mwheel-scroll-down-function' instead of
15107 * doc-view.el (doc-view-scroll-up-or-next-page)
15108 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15109 Use this ARG in the call to image-scroll-up/image-scroll-down.
15110 Change `interactive' spec to "P". Goto next/previous page only
15111 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15112 SPC/DEL case). Doc fix.
15113 (doc-view-next-line-or-next-page)
15114 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15116 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15117 `doc-view-scroll-up-or-next-page', and buffer-local
15118 `mwheel-scroll-down-function' to
15119 `doc-view-scroll-down-or-previous-page'.
15121 2009-11-25 Juri Linkov <juri@jurta.org>
15123 Provide additional default values (directories at other Dired
15124 windows) via M-n in the minibuffer of some Dired commands.
15126 * dired-aux.el (dired-diff, dired-compare-directories)
15127 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15128 `minibuffer-default' in `minibuffer-with-setup-hook'.
15129 (dired-dwim-target-directory): Find a window that displays Dired
15130 buffer instead of failing when the next window is not Dired.
15131 Use `get-window-with-predicate' to find for the next Dired window.
15132 (dired-dwim-target-defaults): New function.
15134 * ediff-util.el (ediff-read-file-name):
15135 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15136 in `minibuffer-with-setup-hook'.
15138 2009-11-25 Juri Linkov <juri@jurta.org>
15140 Provide additional default values (file name at point or at the
15141 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15143 * minibuffer.el (read-file-name-defaults): New function.
15144 (read-file-name): Reset `minibuffer-default' to nil when
15145 it duplicates initial input `insdef'.
15146 Bind `minibuffer-default-add-function' to lambda that
15147 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15148 (minibuffer-insert-file-name-at-point): New command.
15150 * files.el (file-name-at-point-functions): New defcustom.
15151 (find-file-default): Remove defvar.
15152 (find-file-read-args): Don't use `find-file-default'.
15153 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15154 to `read-file-name'.
15155 (find-file-literally): Use `read-file-name' with
15156 `confirm-nonexistent-file-or-buffer'.
15158 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15160 * dired.el (dired-read-dir-and-switches):
15161 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15162 to `read-file-name'.
15163 (dired-file-name-at-point): New function.
15164 (dired-mode): Add hook `dired-file-name-at-point' to
15165 `file-name-at-point-functions'.
15167 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15169 Really make the *Completions* window soft-dedicated (bug#5030).
15170 * window.el (window--display-buffer-2): Add `dedicated' argument.
15171 (display-buffer): Pass it when needed so the dedicated flag is set
15172 after calling set-window-buffer, which would otherwise reset it.
15174 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15176 * progmodes/meta-mode.el (meta-complete-symbol):
15177 * progmodes/etags.el (complete-tag):
15178 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15179 Use completion-in-region.
15181 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15182 (dabbrev-completion): Use completion-in-region.
15183 (dabbrev--abbrev-at-point): Simplify regexp.
15185 * abbrev.el (abbrev--before-point): Use word-motion functions
15186 if :regexp is not specified (bug#5031).
15188 * subr.el (string-prefix-p): New function.
15190 * man.el (Man-completion-cache): New var.
15191 (Man-completion-table): Use it.
15193 * vc.el (vc-print-log-internal): Make `limit' optional for better
15194 compatibility (e.g. with vc-annotate.el).
15196 2009-11-24 Kevin Ryde <user42@zip.com.au>
15198 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15199 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15201 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15202 when .el source file not found or other error.
15204 2009-11-24 Markus Triska <markus.triska@gmx.at>
15206 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15208 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15210 Handle the [back] button properly (bug#4979).
15211 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15212 Use help-setup-xref, help-buffer, and with-help-window.
15213 (describe-char): Add `buffer' argument.
15214 Pass proper command to help-setup-xref. Don't meddle with
15215 help-xref-stack-item directly.
15216 (describe-text-category): Use with-help-window and help-buffer.
15218 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15219 for the displayed buffer (bug#4887).
15221 * man.el (Man-completion-table): New function.
15224 2009-11-24 David Reitter <david.reitter@gmail.com>
15226 * vc-git.el (vc-git-registered): Use checkout directory (where
15227 .git is) rather than the file's directory and a relative path spec
15228 to work around a bug in git.
15230 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15232 Improve handling of processes on remote hosts.
15234 * eshell/esh-util.el (eshell-path-env): New defvar.
15235 (eshell-parse-colon-path): New defun.
15236 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15238 * eshell/esh-ext.el (eshell-search-path):
15239 Use `eshell-parse-colon-path'.
15240 (eshell-remote-command): Remove argument HANDLER.
15241 (eshell-external-command): Check for FTP remote connection.
15243 * eshell/esh-proc.el (eshell-gather-process-output):
15244 Use `file-truename', in order to start also symlinked files.
15245 Apply `start-file-process' instead of `start-process'.
15246 Shorten `command' to the local file name part.
15248 * eshell/em-cmpl.el (eshell-complete-commands-list):
15249 Use `eshell-parse-colon-path'.
15251 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15253 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15254 to `eshell-directory-change-hook'.
15256 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15258 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15259 because it could be enabled automatically if view-read-only is non-nil.
15261 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15263 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15264 made on 2009-11-22.
15266 2009-11-24 Glenn Morris <rgm@gnu.org>
15268 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15269 deleted variable bookmark-bmenu-bookmark-column.
15271 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15273 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15275 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15277 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15278 two slashes to the "file:" prefix.
15279 (browse-url-file-url): De-munge Cygwin filenames before passing
15280 them to Windows browser.
15281 (browse-url-default-windows-browser): Use call-process.
15283 2009-11-23 Juri Linkov <juri@jurta.org>
15285 Implement DocView Continuous mode. (Bug#4896)
15286 * doc-view.el (doc-view-continuous-mode): New defcustom.
15287 (doc-view-mode-map): Bind C-n/<down> to
15288 `doc-view-next-line-or-next-page', C-p/<up> to
15289 `doc-view-previous-line-or-previous-page'.
15290 (doc-view-next-line-or-next-page)
15291 (doc-view-previous-line-or-previous-page): New commands.
15293 2009-11-23 Juri Linkov <juri@jurta.org>
15295 Implement Isearch in comint input history. (Bug#3746)
15296 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15297 `isearch-mode-hook'.
15298 (comint-history-isearch): New defcustom.
15299 (comint-history-isearch-backward)
15300 (comint-history-isearch-backward-regexp): New commands.
15301 (comint-history-isearch-message-overlay): New buffer-local variable.
15302 (comint-history-isearch-setup, comint-history-isearch-end)
15303 (comint-goto-input, comint-history-isearch-search)
15304 (comint-history-isearch-message, comint-history-isearch-wrap)
15305 (comint-history-isearch-push-state)
15306 (comint-history-isearch-pop-state): New functions.
15308 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15310 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15312 (tramp-handle-make-symbolic-link)
15313 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15315 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15316 (tramp-handle-process-file): Use it.
15318 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15320 * window.el (move-to-window-line-last-op): Remove.
15321 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15323 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15325 Make M-r mirror the new cycling behavior of C-l.
15326 * window.el (move-to-window-line-last-op): New var.
15327 (move-to-window-line-top-bottom): New command.
15328 (global-map): Bind M-r move-to-window-line-top-bottom.
15330 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15332 * dired-x.el (dired-guess-shell-alist-default):
15333 Support xz format. (Bug#4953)
15335 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15337 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15338 last-command-char/last-command-event.
15339 (viper-prefix-arg-value): Do correct conversion of event-char for
15342 * emulation/viper-util.el, emulation/viper.el:
15343 Use viper-last-command-char instead of
15344 last-command-char/last-command-event.
15346 * ediff-init.el, ediff-mult.el, ediff-util.el:
15347 Replace last-command-char and last-command-event
15348 with (ediff-last-command-char) everywhere.
15350 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15351 created in fundamental mode.
15353 * ediff.el (ediff-version): Revert the change of interactive-p to
15354 called-interactively-p.
15356 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15358 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15359 generation from word-movement command names.
15361 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15363 * cus-start.el (all): Add native condition for font-use-system-font.
15365 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15367 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15368 Correct the patch from 2009-11-18. (Bug#3910)
15370 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15372 * progmodes/subword.el: Rename from lisp/subword.el.
15374 * subword.el: Rename to progmodes/subword.el.
15376 * Makefile.in (ELCFILES): Adapt to subword.el move.
15378 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15379 Stefan Monnier <monnier@iro.umontreal.ca>
15381 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15382 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15383 (bookmark-bmenu-show-filenames): Use push.
15384 (bookmark-bmenu-hide-filenames): Use local var instead of
15385 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15386 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15387 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15388 filenames now that the bookmark names are always available.
15390 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15392 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15393 (bookmark-search-pattern): Move and leave unbound.
15394 (bookmark-bmenu-mode-map): Change binding.
15395 (bookmark-read-search-input): Simplify.
15396 Don't use text-char-description. Don't error on non-char events.
15397 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15398 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15399 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15400 Use a local var for the timer.
15401 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15402 (i.e. bookmark-bmenu-search).
15404 2009-11-21 Glenn Morris <rgm@gnu.org>
15406 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15408 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15410 * net/browse-url.el (browse-url-default-windows-browser):
15411 Use cygstart for cygwin.
15413 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15415 * bookmark.el: Formatting and doc fixes only:
15416 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15417 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15418 Minor grammar and punctuation fixes in doc string.
15419 (bookmark-read-search-input): Adjust to fit within 80 columns.
15421 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15423 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15424 (c-backward-into-nomenclature): Adapt to subword renaming.
15426 * subword.el (subword-forward, subword-backward, subword-mark)
15427 (subword-kill, subword-backward-kill, subword-transpose)
15428 (subword-downcase, subword-upcase, subword-capitalize)
15429 (subword-forward-internal, subword-backward-internal):
15430 Rename from forward-subword, backward-subword, mark-subword,
15431 kill-subword, backward-kill-subword, transpose-subwords,
15432 downcase-subword, upcase-subword, capitalize-subword,
15433 forward-subword-internal, backward-subword-internal.
15435 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15437 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15439 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15441 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15442 (bookmark-bmenu-filter-alist-by-regexp)
15443 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15444 (bookmark-bmenu-search): New command.
15445 (bookmark-bmenu-mode-map): Bind it.
15447 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15449 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15450 backward-subword to quit the byte-compiler.
15452 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15454 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15456 * progmodes/cc-cmds.el (c-update-modeline)
15457 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15458 Refer to subword.el functions instead of cc-subword.el.
15460 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15461 subword.el functions instead of cc-subword.el.
15463 * progmodes/cc-subword.el: Rename to subword.el.
15464 * subword.el: Rename from progmodes/cc-subword.el.
15465 (subword-mode-map): Rename from c-subword-mode-map.
15466 (subword-mode): Rename from c-subword-mode.
15467 (global-subword-mode): New global minor mode.
15468 (forward-subword): Rename from c-forward-subword.
15469 (backward-subword): Rename from c-backward-subword.
15470 (mark-subword): Rename from c-mark-subword.
15471 (kill-subword): Rename from c-kill-subword.
15472 (backward-kill-subword): Rename from c-backward-kill-subword.
15473 (transpose-subwords): Rename from c-tranpose-subword.
15474 (downcase-subword): Rename from c-downcase-subword.
15475 (capitalize-subword): Rename from c-capitalize-subword.
15476 (forward-subword-internal): Rename from c-forward-subword-internal.
15477 (backward-subword-internal): Rename from c-backward-subword-internal.
15479 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15481 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15482 from a dired buffer.
15483 (vc-dired-deduce-fileset): New function.
15484 (vc-root-diff, vc-print-root-log): Use it.
15486 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15487 nil LIMIT argument to vc-print-log-internal.
15489 2009-11-20 Glenn Morris <rgm@gnu.org>
15491 * Makefile.in (ELCFILES): Regenerate.
15493 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15495 * calc/calc.el (calc-set-mode-line):
15496 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15497 (math-format-number): Rename `math-format-complement-signed' to
15498 `math-format-twos-complement'.
15500 * calc/calc-bin.el (math-format-twos-complement): Rename from
15501 math-format-complement-signed.
15502 (calc-radix): Rename `calc-complement-signed-mode' to
15503 `calc-twos-complement-mode'.
15504 (calc-octal-radix, calc-hex-radix): Add an argument for
15507 * calc/calc-embed.el (calc-embedded-mode-vars):
15508 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15510 * calc/calc-ext.el (calc-init-extensions):
15511 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15512 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15514 * calc/calc-units.el (math-build-units-table-buffer):
15515 Let `calc-twos-complement-mode' be nil.
15517 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15520 * calc/calc-vec.el (calcFunc-vunpack):
15521 * calc/calc-aent.el (calc-do-calc-eval):
15522 * calc/calc-forms.el (math-format-date):
15523 * calc/calc-graph.el (calc-graph-plot):
15524 * calc/calc-math.el (math-use-emacs-fn):
15525 * calc/calccomp.el (math-compose-expr):
15526 Let `calc-twos-complement-mode' be nil.
15528 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15530 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15531 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15532 * minibuffer.el (completion-in-region-functions): New hook.
15533 (completion-in-region): New function.
15534 * emacs-lisp/lisp.el (lisp-complete-symbol):
15535 * pcomplete.el (pcomplete-std-complete): Use it.
15537 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15539 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15540 (latex-complete-alist): New vars.
15541 (latex-string-prefix-p, latex-complete-bibtex-keys)
15542 (latex-complete-envnames, latex-complete-refkeys)
15543 (latex-complete-data): New functions.
15544 (latex-complete, latex-indent-or-complete): New commands.
15546 * window.el (display-buffer-mark-dedicated): New var.
15547 (display-buffer): Obey it.
15548 * minibuffer.el (minibuffer-completion-help): Use it.
15550 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15552 * filecache.el (file-cache-add-file): Use push and cons.
15553 (file-cache-delete-file-regexp): Use push.
15554 (file-cache-complete): Use completion-in-region.
15556 * simple.el (with-wrapper-hook): Fix thinko.
15558 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15559 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15560 Use with-current-buffer and string-to-number.
15561 (hfy-fallback-colour-values): Use assoc-string.
15562 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15563 (hfy-face-at): Remove unused var `found-face'.
15564 (hfy-compile-stylesheet): Remove unused var `css'.
15565 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15567 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15568 Use with-current-buffer.
15569 (hfy-text-p): Use expand-file-name and fewer setq.
15571 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15573 * htmlfontify.el, hfy-cmap.el: New files.
15575 2009-11-19 Juri Linkov <juri@jurta.org>
15577 * minibuffer.el (completions-format): New defcustom.
15578 (completion--insert-strings): Implement vertical format.
15580 * simple.el (switch-to-completions): Move point to the first
15581 completion when point was at the beginning of the buffer.
15583 2009-11-19 Juri Linkov <juri@jurta.org>
15585 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15587 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15589 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15591 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15592 (mail-signature): Change default to t.
15593 (mail-from-style): Deprecate `system-default' value.
15594 (mail-insert-from-field): For default value of mail-from-style,
15595 default to `angles' unless `angles' needs quoting and `parens'
15597 (mail-citation-prefix-regexp): Use citation regexp from
15600 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15602 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15603 Set variables for computing the prompt for reading password.
15605 2009-11-19 Glenn Morris <rgm@gnu.org>
15607 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15609 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15611 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15612 (newsticker-treeview-listwindow-height): Fix custom type.
15614 2009-11-19 Kenichi Handa <handa@m17n.org>
15616 * descr-text.el (describe-char-padded-string): Compose with TAB
15617 only if there's a font for CH.
15618 (describe-char): Fix the condition for detecting a trivial composition.
15620 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15622 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15623 more accurate version of the regexp. (Bug#3910)
15625 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15627 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15629 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15631 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15632 (font-setting-change-default-font): Fix typo in docstring.
15634 2009-11-18 Alan Mackenzie <acm@muc.de>
15636 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15638 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15640 * font-setting.el (font-use-system-font): Move ...
15642 * cus-start.el (all): ... to here.
15644 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15646 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15647 Don't set `ad-return-value' if `ad-do-it' doesn't.
15649 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15652 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15654 * menu-bar.el: Put "Use system font" in Option-menu.
15655 (menu-bar-options-save): Add font-use-system-font.
15657 * loadup.el: If feature system-font-setting or font-render-setting is
15658 there, load font-setting.
15660 * Makefile.in (ELCFILES): Add font-settings.el.
15661 * font-setting.el: New file.
15663 2009-11-17 Glenn Morris <rgm@gnu.org>
15665 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15667 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15668 Preserve point in the list buffer. (Bug#4939)
15670 (newsticker--treeview-list-update-highlight)
15671 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15673 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15675 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15678 * calc/calc-ext.el (calc-init-extensions): Remove references to
15681 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15683 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15684 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15687 2009-11-16 Kevin Ryde <user42@zip.com.au>
15689 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15690 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15692 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15693 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15694 Ignore trailing spaces by omit-nulls to split-string (fixing
15695 regression from Emacs 21 due to the incompatible split-string
15696 change). (Bug #4928.)
15698 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15700 * vc.el (vc-log-show-limit): Default to 2000.
15701 (vc-print-log-internal): Insert buttons to request more entries
15702 when limiting the output.
15704 * vc-sccs.el (vc-sccs-print-log):
15705 * vc-rcs.el (vc-rcs-print-log):
15706 * vc-cvs.el (vc-cvs-print-log):
15707 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15710 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15712 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15713 error when `tramp-gvfs-dbus-event-vector' is set.
15714 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15716 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15718 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15720 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15722 * net/dbus.el (dbus-unregister-service): New defun.
15723 (dbus-register-property): Register the handlers of
15724 "org.freedesktop.DBus.Properties" for SERVICE.
15725 (dbus-property-handler): Fix docstring.
15727 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15729 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15730 Quote doc string reference in defvaralias as it is not in special form.
15731 (byte-compile-output-docform): Doc fix.
15733 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15735 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15736 (calc-complement-signed-mode): New variables.
15737 (calc-set-mode-line): Add indicator for twos-complements.
15738 (math-format-number): Format twos-complement notation.
15740 * calc/calc-bin.el (calc-word-size): Reset the variables
15741 `math-2-word-size' and `math-half-2-word-size'.
15742 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15743 (calc-symclip): New functions.
15745 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15747 * calc/calc-embed.el (calc-embedded-mode-vars):
15748 Add `calc-complement-signed-mode' to the list of modes.
15750 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15751 (calc-b-oper-keys): Add `calc-symclip' to list.
15753 * calc/calc-ext.el (math-read-number-fancy): Read complement
15755 (calc-init-extensions): Add binding for `calc-symclip'.
15756 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15758 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15760 (calc-modes-menu): Add item for twos complement mode.
15762 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15764 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15766 * register.el (jump-to-register, insert-register): Handle Semantic
15767 tags. From commented-out advice in semantic/senator.el.
15769 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15771 * vc.el (vc-log-show-limit): New variable.
15772 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15773 when using a prefix argument.
15774 (vc-print-log-internal): Add new argument LIMIT.
15776 * vc-svn.el (vc-svn-print-log):
15777 * vc-mtn.el (vc-mtn-print-log):
15778 * vc-hg.el (vc-hg-print-log):
15779 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15780 pass it to the log command when set. Make the BUFFER argument
15783 * vc-sccs.el (vc-sccs-print-log):
15784 * vc-rcs.el (vc-rcs-print-log):
15785 * vc-git.el (vc-git-print-log):
15786 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15787 ignore it. Make the BUFFER argument non-optional
15789 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15791 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15793 * dired.el (dired-mode-map): Move encryption items to "Operate"
15796 * strokes.el (strokes-update-window-configuration): Make strokes
15797 buffer current before erasing (Bug#4906).
15799 2009-11-15 Juri Linkov <juri@jurta.org>
15801 * simple.el (set-mark-default-inactive): Add :type, :group
15802 and :version. (Bug#4876)
15804 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15806 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15807 (archive-unique-fname): ... here. (Bug#4929)
15809 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15811 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15814 * novice.el (disabled-command-function): Add useful args.
15815 Setup the help buffer so that [back] works.
15816 Remove redundant call to help-mode.
15817 (disabled-command-function): Use `case'.
15818 (en/disable-command): New function extracted from enable-command.
15819 (enable-command, disable-command): Use it.
15821 2009-11-14 Glenn Morris <rgm@gnu.org>
15823 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15824 constants. (Bug#4913)
15826 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15828 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15830 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15831 defined in C that have no doc-strings. (Bug#1063)
15833 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15835 * cus-edit.el (data, files):
15836 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15838 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15840 * simple.el (shell-command): Doc fix (Bug#4891).
15842 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15844 2009-11-14 Glenn Morris <rgm@gnu.org>
15846 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15847 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15848 If they are already loaded, eval-after-load will do the right thing.
15850 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15853 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15855 * simple.el (x-selection-owner-p): Declare.
15856 (read-mail-command): Use custom radio type rather than choice.
15857 (completion-no-auto-exit): Doc fix.
15859 * custom.el (defgroup):
15860 * epg-config.el (epg): Doc fixes.
15862 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15864 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15865 * international/ccl.el (define-ccl-program): Do not purecopy the
15866 docstring, defconst does it anyway.
15868 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15870 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15873 * x-dnd.el (x-dnd-maybe-call-test-function):
15874 * window.el (split-window-vertically):
15875 * whitespace.el (whitespace-help-on):
15876 * vc-rcs.el (vc-rcs-consult-headers):
15877 * userlock.el (ask-user-about-lock-help)
15878 (ask-user-about-supersession-help):
15879 * type-break.el (type-break-force-mode-line-update):
15880 * time-stamp.el (time-stamp-conv-warn):
15881 * terminal.el (te-set-output-log, te-more-break, te-filter)
15882 (te-sentinel, terminal-emulator):
15883 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15884 (term-write-input-ring, term-check-source, term-start-output-log):
15885 (term-display-buffer-line, term-dynamic-list-completions):
15886 (term-ansi-make-term, serial-term):
15887 * subr.el (selective-display):
15888 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15889 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15890 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15891 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15892 (speedbar-remove-localized-speedbar-support)
15893 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15894 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15895 (speedbar-buffers-line-directory):
15896 * simple.el (shell-command-on-region, append-to-buffer)
15897 (prepend-to-buffer):
15898 * shadowfile.el (shadow-save-todo-file):
15899 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15900 (scroll-bar-maybe-set-window-start):
15901 * sb-image.el (speedbar-image-dump):
15902 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15903 (load-save-place-alist-from-file):
15904 * ps-samp.el (ps-print-message-from-summary):
15905 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15906 (ps-background-image, ps-begin-job, ps-do-despool):
15907 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15908 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15909 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15910 (pr-call-process, pr-file-list, pr-interface-save):
15911 * novice.el (disabled-command-function)
15912 (enable-command, disable-command):
15913 * mouse.el (mouse-buffer-menu-alist):
15914 * mouse-copy.el (mouse-kill-preserving-secondary):
15915 * macros.el (kbd-macro-query):
15916 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15917 * informat.el (batch-info-validate):
15918 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15919 * hippie-exp.el (try-expand-dabbrev-visible):
15920 * help-mode.el (help-make-xrefs):
15921 * help-fns.el (describe-variable):
15922 * generic-x.el (bat-generic-mode-run-as-comint):
15923 * finder.el (finder-mouse-select):
15924 * find-dired.el (find-dired-sentinel):
15925 * filesets.el (filesets-file-close):
15926 * files.el (list-directory):
15927 * faces.el (list-faces-display, describe-face):
15928 * facemenu.el (list-colors-display):
15929 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15930 * epg.el (epg--process-filter, epg-cancel):
15931 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15932 (epa--read-signature-type):
15933 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15934 (emerge-file-names):
15935 * ehelp.el (electric-helpify):
15936 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15937 * ediff-vers.el (rcs-ediff-view-revision):
15938 * ediff-util.el (ediff-setup):
15939 * ediff-mult.el (ediff-append-custom-diff):
15940 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15942 * echistory.el (Electric-command-history-redo-expression):
15943 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15944 * disp-table.el (describe-display-table):
15945 * dired.el (dired-find-buffer-nocreate):
15946 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15947 * dabbrev.el (dabbrev--same-major-mode-p):
15948 * chistory.el (list-command-history):
15949 * apropos.el (apropos-documentation):
15950 * allout.el (allout-obtain-passphrase):
15951 (allout-copy-exposed-to-buffer):
15952 (allout-verify-passphrase): Use with-current-buffer.
15954 2009-11-13 Glenn Morris <rgm@gnu.org>
15956 * Makefile.in (ELCFILES): Regenerate.
15958 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15960 * net/dbus.el (dbus-registered-objects-table): Rename from
15961 `dbus-registered-functions-table', because it contains also properties.
15962 (dbus-unregister-object): Unregister also properties.
15963 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15964 Use a timeout of 500 msec, in order to not block.
15965 (dbus-register-property, dbus-property-handler): New defuns.
15967 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15969 * simple.el (minibuffer-default-add-completions): Drop deprecated
15972 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15974 * textmodes/artist.el (artist-mouse-choose-operation):
15975 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15976 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15977 (artist-compute-up-event-key): New function.
15978 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15980 2009-11-13 Kenichi Handa <handa@m17n.org>
15982 * language/japan-util.el: Make sure that the value of jisx0208
15983 property is jisx0208 character.
15985 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15987 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15988 car or each item, not the whole list.
15990 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15992 * minibuffer.el (minibuffer-completion-help):
15993 Use minibuffer-hide-completions.
15995 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15997 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15998 (dired-revert): Use them (bug#4880).
16000 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16002 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16004 2009-11-12 Juri Linkov <juri@jurta.org>
16006 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16008 (find-file-literally-at-point): Alias of `ffap-literally'.
16010 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16012 * textmodes/ispell.el (ispell-skip-region-alist):
16013 * textmodes/css-mode.el (auto-mode-alist):
16014 * progmodes/compile.el (auto-mode-alist):
16015 * international/mule.el (ctext-non-standard-encodings-alist)
16016 (ctext-non-standard-encodings-regexp):
16017 * simple.el (shell-command-switch, text-read-only):
16018 * replace.el (occur-mode-map):
16019 * paths.el (rmail-file-name):
16020 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16021 * find-file.el (ff-special-constructs):
16022 * files.el (file-name-handler-alist):
16023 * composite.el: Purecopy strings.
16025 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16027 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16029 * widget.el (define-widget): Purecopy the docstring.
16030 * international/mule-cmds.el (charset): Do not purecopy the
16031 docstring here, define-widget does it.
16033 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16034 * textmodes/bibtex-style.el (auto-mode-alist):
16035 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16036 * progmodes/compile.el (compile-command):
16037 * language/korea-util.el (default-korean-keyboard):
16038 * international/mule-conf.el (file-coding-system-alist):
16039 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16040 * tooltip.el (tooltip-frame-parameters):
16041 * newcomment.el (comment-end, comment-padding):
16042 * dired.el (dired-trivial-filenames):
16043 * comint.el (comint-file-name-prefix): Purecopy initial values.
16045 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16047 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16048 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16050 (tramp-advice-make-auto-save-file-name)
16051 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16052 after removing the advice.
16054 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16056 * progmodes/grep.el (grep-regexp-alist):
16057 * international/mule-cmds.el (iso-2022-control-alist):
16058 * emacs-lisp/timer.el (timer-duration-words):
16059 * subr.el (version-separator, version-regexp-alist):
16060 * minibuffer.el (completion-styles-alist):
16061 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16062 Change defvars to defconsts.
16064 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16065 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16066 * international/mule-conf.el: Allow to be byte compiled.
16068 * international/mule.el (define-charset): Purecopy props.
16069 (load-with-code-conversion): Purecopy doc string and file name.
16070 (put-charset-property): Purecopy strings.
16071 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16073 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16074 (define-char-code-property): Correctly purecopy the table.
16076 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16078 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16080 * subr.el (add-hook): Purecopy strings.
16081 (eval-after-load): Purecopy load-history-regexp and the form.
16083 * custom.el (custom-declare-group): Purecopy load-file-name.
16085 * subr.el (menu-bar-separator): New defconst.
16086 * net/eudc.el (eudc-tools-menu):
16087 * international/mule-cmds.el (set-coding-system-map)
16088 (mule-menu-keymap):
16089 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16090 * vc-hooks.el (vc-menu-map):
16091 * replace.el (occur-mode-map):
16092 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16093 (menu-bar-edit-menu, menu-bar-goto-menu)
16094 (menu-bar-custom-menu, menu-bar-showhide-menu)
16095 (menu-bar-options-menu, menu-bar-tools-menu)
16096 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16097 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16098 (menu-bar-help-menu):
16099 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16100 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16102 * term/x-win.el (x-gtk-stock-map):
16103 * progmodes/vera-mode.el (auto-mode-alist):
16104 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16105 (inferior-lisp-program, inferior-lisp-load-command):
16106 * progmodes/hideshow.el (hs-special-modes-alist):
16107 * progmodes/gud.el (same-window-regexps):
16108 * progmodes/grep.el (grep-program, find-program, xargs-program):
16109 * net/telnet.el (same-window-regexps):
16110 * net/rlogin.el (same-window-regexps):
16111 * language/ethiopic.el (font-ccl-encoder-alist):
16112 * vc-sccs.el (vc-sccs-master-templates):
16113 * vc-rcs.el (vc-rcs-master-templates):
16114 * subr.el (cl-assertion-failed):
16115 * simple.el (next-error-overlay-arrow-position):
16116 * lpr.el (lpr-command):
16117 * locate.el (locate-ls-subdir-switches):
16118 * info.el (same-window-regexps, info)
16119 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16120 * image-mode.el (image-mode, auto-mode-alist):
16121 * hippie-exp.el (hippie-expand-ignore-buffers):
16122 * format.el (format-alist):
16123 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16125 * facemenu.el (facemenu-keybindings):
16126 * dired.el (dired-listing-switches, dired-chown-program):
16127 * diff.el (diff-switches, diff-command):
16128 * cus-edit.el (same-window-regexps):
16129 * bindings.el (mode-line-mule-info)
16130 (mode-line-buffer-identification): Purecopy strings.
16132 2009-11-11 Juri Linkov <juri@jurta.org>
16134 * simple.el (dired-get-filename) <declare-function>:
16135 Tell the byte-compiler about dired-get-filename.
16136 (shell-command): In Dired mode, get filename from the current line
16137 as the default value.
16139 2009-11-10 Glenn Morris <rgm@gnu.org>
16141 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16142 * calendar/holidays.el, progmodes/cperl-mode.el:
16143 Update x-popup-menu declarations.
16145 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16146 (list-load-path-shadows): Use dolist.
16147 (list-load-path-shadows): Use with-current-buffer.
16149 2009-11-10 Juri Linkov <juri@jurta.org>
16151 * minibuffer.el (read-file-name): Support a list of default values
16152 in `default-filename'. Use the first file name where only one
16153 element is required. Doc fix.
16155 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16157 * net/dbus.el (dbus-unregister-object): Release service, if no
16158 other method is registered for it.
16160 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16162 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16163 bookmark-sort-flag is non-nil (Bug#4653).
16165 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16167 * emulation/cua-base.el: Add CUA property to some CC mode commands
16170 2009-11-08 Kevin Ryde <user42@zip.com.au>
16172 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16173 at end of sentence (Bug#4818).
16175 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16177 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16178 Handle "see declaration of" MSFT statements (Bug#4100).
16180 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16182 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16183 (tramp-advice-file-expand-wildcards): Unload via
16184 `ad-remove-advice'.
16186 * net/trampver.el: Update release number.
16188 2009-11-08 Kevin Ryde <user42@zip.com.au>
16190 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16193 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16195 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16196 in order to keep context in SELinux.
16198 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16200 * dired-aux.el (dired-query): Place cursor in echo area and allow
16203 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16204 menu item if not on a directory (Bug#4701).
16206 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16208 Sync with Tramp 2.1.17.
16210 * net/tramp.el (tramp-handle-copy-directory): Don't use
16211 `file-remote-p' (due to compatibility).
16213 * net/tramp-compat.el (tramp-compat-copy-directory)
16214 (tramp-compat-delete-directory): New defuns.
16216 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16217 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16218 Use `tramp-compat-delete-directory'.
16220 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16221 (tramp-smb-handle-delete-directory):
16222 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16224 * net/trampver.el: Update release number.
16226 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16228 * tar-mode.el (tar-copy): Call write-region on the right buffer
16231 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16232 by hand, if necessary (Bug#4878).
16234 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16236 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16237 align size column (Bug#4839).
16239 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16242 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16244 * progmodes/ld-script.el (auto-mode-alist):
16245 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16247 * cus-face.el (custom-declare-face): Purecopy face spec.
16249 2009-11-06 Kenichi Handa <handa@m17n.org>
16251 * international/uni-bidi.el: Re-generated.
16252 * international/uni-category.el: Re-generated.
16253 * international/uni-combining.el: Re-generated.
16254 * international/uni-mirrored.el: Re-generated.
16256 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16258 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16259 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16260 (tex-start-options, slitex-run-command, latex-run-command)
16261 (tex-run-command, tex-directory):
16262 * textmodes/ispell.el (ispell-html-skip-alists)
16263 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16264 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16265 (adaptive-fill-regexp):
16266 * textmodes/dns-mode.el (auto-mode-alist):
16267 * progmodes/python.el (interpreter-mode-alist):
16268 * progmodes/etags.el (tags-compression-info-list):
16269 * progmodes/etags.el (tags-file-name):
16270 * net/browse-url.el (browse-url-galeon-program)
16271 (browse-url-firefox-program):
16272 * mail/sendmail.el (mail-signature-file)
16273 (mail-citation-prefix-regexp):
16274 * international/mule-conf.el (eight-bit):
16275 * international/latexenc.el (latex-inputenc-coding-alist):
16276 * international/fontset.el (x-pixel-size-width-font-regexp):
16277 * emacs-lisp/warnings.el (warning-type-format):
16278 * emacs-lisp/trace.el (trace-buffer):
16279 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16280 (emacs-lisp-mode-map):
16281 * calendar/holidays.el (holiday-solar-holidays)
16282 (holiday-bahai-holidays, holiday-islamic-holidays)
16283 (holiday-christian-holidays, holiday-hebrew-holidays)
16284 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16285 (hebrew-holidays-1, holiday-oriental-holidays)
16286 (holiday-general-holidays):
16287 * x-dnd.el (x-dnd-known-types):
16288 * tool-bar.el (tool-bar):
16289 * startup.el (site-run-file):
16290 * shell.el (shell-dumb-shell-regexp):
16291 * rfn-eshadow.el (file-name-shadow-tty-properties)
16292 (file-name-shadow-properties):
16293 * paths.el (remote-shell-program, news-directory):
16294 * mouse.el ([C-down-mouse-3]):
16295 * menu-bar.el (menu-bar-tools-menu):
16296 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16297 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16298 (jka-compr-compression-info-list):
16299 * isearch.el (search-whitespace-regexp):
16300 * image-file.el (image-file-name-extensions):
16301 * find-dired.el (find-ls-option):
16302 * files.el (directory-listing-before-filename-regexp)
16303 (directory-free-space-args, insert-directory-program)
16304 (list-directory-brief-switches, magic-fallback-mode-alist)
16305 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16306 (automount-dir-prefix):
16307 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16308 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16309 (face-font-registry-alternatives, face-font-registry-alternatives)
16310 (face-font-family-alternatives):
16311 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16312 (facemenu-foreground-menu, facemenu-face-menu):
16313 * epa-hook.el (epa-file-name-regexp):
16314 * dnd.el (dnd-protocol-alist):
16315 * textmodes/rst.el (auto-mode-alist):
16316 * button.el (default-button): Purecopy strings.
16318 2009-11-06 Glenn Morris <rgm@gnu.org>
16320 * Makefile.in (ELCFILES): Update.
16322 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16324 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16325 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16327 * nxml/xsd-regexp.el (xsdre-gen-categories):
16328 * nxml/xmltok.el (xmltok-parse-entity):
16329 * nxml/rng-parse.el (rng-parse-validate-file):
16330 * nxml/rng-maint.el (rng-format-manual)
16331 (rng-manual-output-force-new-line):
16332 * nxml/rng-loc.el (rng-save-schema-location-1):
16333 * nxml/rng-cmpct.el (rng-c-parse-file):
16334 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16335 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16337 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16339 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16340 Remove extra save-excursions and make-variable-buffer-local's.
16341 Suggested by Stefan Monnier.
16343 (verilog-getopt-file, verilog-module-inside-filename-p)
16344 (verilog-set-define): Merge GNU 1.35 and repair changes from
16345 switching to using with-current-buffer.
16347 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16348 being treated as a number and confusing AUTORESET.
16349 Reported by Dan Dever.
16351 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16352 Add verilog-auto-ignore-concat to fix backward compatibility with
16353 older verilog-modes. Reported by Dan Katz.
16355 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16356 containing closing anchors "...$".
16358 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16359 Reported by Wade Smith.
16361 (verilog-batch-execute-func): Comment on function usage.
16363 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16365 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16368 (verilog-label-re, verilog-calc-1): Support proper indent of named
16371 (verilog-backward-token, verilog-basic-complete-re)
16372 (verilog-beg-of-statement, verilog-indent-re): Support proper
16373 indent of the assert statement at the beginning of a block of text.
16375 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16376 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16379 2009-11-05 Glenn Morris <rgm@gnu.org>
16381 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16382 Emacs 19. (Bug#1531)
16383 (byte-compile-fix-header): Update for the above change.
16384 Drop test for epoch::version.
16386 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16387 * cus-dep.el (custom-make-dependencies):
16388 * finder.el (finder-compile-keywords):
16389 Use autoload-rubric's feature argument.
16391 * calendar/diary-lib.el (top-level): Make load behave more like require.
16393 * vc-git.el (vc-git-stash-map): Move definition before use.
16395 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16397 * custom.el (custom-declare-group): Purecopy standard-value.
16398 (custom-declare-group): Purecopy custom-prefix.
16400 * international/mule.el (load-with-code-conversion):
16401 Call do-after-load-evaluation unconditionally.
16403 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16405 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16407 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16409 2009-11-04 Glenn Morris <rgm@gnu.org>
16411 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16412 (byte-compile-compatibility): Remove option.
16413 (byte-compile-close-variables, byte-compile-fix-header)
16414 (byte-compile-insert-header, byte-compile-output-docform)
16415 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16416 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16417 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16418 (byte-compile-insert, byte-compile-defun):
16419 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16420 (byte-defop-compiler19): Remove.
16421 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16422 used by anything. Replace all calls with byte-defop-compiler.
16424 2009-11-04 Juri Linkov <juri@jurta.org>
16426 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16427 (menu-bar-options-menu): Don't quote the `prop' arg of
16428 `menu-bar-make-mm-toggle'.
16430 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16432 * calendar/calendar.el (cal-loaddefs):
16433 * calendar/diary-lib.el (diary-loaddefs):
16434 * calendar/holidays.el (hol-loaddefs):
16435 * eshell/esh-module.el (esh-groups): Load rather than require.
16437 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16439 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16441 (todo-top-priorities): Only display-buffer when called interactively.
16442 (todo-item-start): Don't save excursion point.
16443 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16444 (todo-insert-item-here, todo-file-item, todo-remove-item):
16445 Adjust uses of todo-item-start and todo-item-end.
16447 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16448 (autoload-rubric): Don't use any more.
16450 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16451 and only put a prop if it is non-nil.
16453 2009-11-03 Juri Linkov <juri@jurta.org>
16455 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16456 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16458 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16459 and "Menu" to make top-level menu item visually one unit (like
16460 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16461 multi-word menu items). Fix :help string for quit-window.
16463 2009-11-03 Glenn Morris <rgm@gnu.org>
16465 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16466 (byte-compile-file-form-define-abbrev-table)
16467 (byte-compile-file-form-custom-declare-variable)
16468 (byte-compile-variable-ref, byte-compile-defvar):
16469 Whether or not a warning is enabled should only affect whether we issue
16470 the warning, not whether or not we collect the relevant data.
16471 Eg warnings can be turned on and off throughout the course of a file.
16473 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16474 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16476 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16478 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16479 * play/mpuz.el (mpuz-create-buffer):
16480 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16481 (lm-print-y,s,noise, lm-print-w0, lm-init):
16482 * play/gomoku.el (gomoku-prompt-for-move):
16483 * play/fortune.el (fortune-in-buffer):
16484 * play/dissociate.el (dissociated-press):
16485 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16486 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16487 * mail/supercite.el (sc-eref-show):
16488 * mail/smtpmail.el (smtpmail-send-it):
16489 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16490 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16491 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16492 (rmail-summary-goto-msg, rmail-summary-expunge)
16493 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16494 (rmail-summary-add-label, rmail-summary-output-menu)
16495 (rmail-summary-output-body):
16496 * mail/rfc822.el (rfc822-addresses):
16497 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16498 * mail/mailpost.el (post-mail-send-it):
16499 * mail/hashcash.el (hashcash-generate-payment):
16500 * mail/feedmail.el (feedmail-run-the-queue)
16501 (feedmail-queue-send-edit-prompt-help-first)
16502 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16503 (feedmail-deduce-address-list):
16504 * eshell/esh-ext.el (eshell-remote-command):
16505 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16506 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16507 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16508 (viper-save-string-in-file, viper-valid-marker):
16509 * emulation/viper-keym.el (viper-toggle-key):
16510 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16511 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16512 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16513 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16514 (viper-exec-form-in-emacs, viper-brac-function):
16515 * emulation/viper.el (viper-delocalize-var):
16516 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16517 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16518 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16519 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16520 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16521 * emulation/edt.el (edt-electric-helpify):
16522 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16523 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16524 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16525 (cua-indent-to-global-mark-column):
16526 * calendar/diary-lib.el (calendar-mark-1):
16527 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16528 Use with-current-buffer.
16529 * emulation/viper.el (viper-delocalize-var): Use dolist.
16531 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16533 * comint.el (comint-replace-by-expanded-history-before-point):
16534 Replace !! with the previous input string literally (Bug#1795).
16536 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16538 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16539 to be made up of whitespace.
16541 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16543 * minibuffer.el (read-file-name): Don't use file dialogs for
16544 remote directories (Bug#99).
16546 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16548 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16550 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16552 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16553 instead of deleting the window or frame.
16555 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16557 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16558 Support face colors.
16560 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16561 New function. Support face colors (Bug#1168).
16562 (tex-common-initialization): Use it.
16564 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16565 mode allows it (Bug#1168).
16567 2009-10-31 Juri Linkov <juri@jurta.org>
16569 * facemenu.el (list-colors-display): Don't mark buffer as
16570 modified (Bug#3948).
16572 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16574 * international/mule-diag.el (list-character-sets-1):
16575 Minor message fix (Bug#3526).
16577 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16578 Fix face property (Bug#4834).
16579 (etags-list-tags, etags-tags-apropos-additional)
16580 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16583 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16586 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16588 * textmodes/two-column.el (2C-split):
16589 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16590 * textmodes/tex-mode.el (tex-set-buffer-directory):
16591 * textmodes/spell.el (spell-region, spell-string):
16592 * textmodes/reftex.el (reftex-erase-buffer):
16593 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16594 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16595 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16596 (reftex-select-item):
16597 * textmodes/reftex-ref.el (reftex-label-info-update)
16598 (reftex-offer-label-menu):
16599 * textmodes/reftex-index.el (reftex-index-change-entry)
16600 (reftex-index-phrases-info):
16601 * textmodes/reftex-global.el (reftex-create-tags-file)
16602 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16603 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16604 (reftex-view-crossref-from-bibtex):
16605 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16606 (reftex-extract-bib-entries-from-thebibliography)
16607 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16608 * textmodes/refbib.el (r2b-capitalize-title):
16609 (r2b-convert-buffer, r2b-help):
16610 * textmodes/page-ext.el (pages-directory)
16611 (pages-directory-goto-with-mouse):
16612 * textmodes/bibtex.el (bibtex-validate-globally):
16613 * textmodes/bib-mode.el (bib-capitalize-title):
16614 * textmodes/artist.el (artist-clear-buffer, artist-system):
16615 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16616 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16617 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16618 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16619 (xscheme-send-control-g-interrupt, xscheme-start-process)
16620 (xscheme-process-sentinel, xscheme-cd):
16621 * progmodes/verilog-mode.el (verilog-read-always-signals)
16622 (verilog-set-define, verilog-getopt-file)
16623 (verilog-module-inside-filename-p):
16624 * progmodes/sh-script.el:
16625 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16626 (python-pdbtrack-grub-for-buffer, python-execute-file):
16627 * progmodes/octave-inf.el (inferior-octave):
16628 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16629 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16630 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16631 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16632 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16633 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16634 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16635 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16636 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16637 (idlwave-shell-examine-display, idlwave-shell-run-region)
16638 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16639 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16640 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16641 (idlwave-help-get-help-buffer):
16642 * progmodes/gud.el (gud-basic-call, gud-find-class)
16643 (gud-tooltip-activate-mouse-motions-if-enabled):
16644 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16645 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16646 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16647 (ebrowse-tags-next-file):
16648 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16649 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16650 (ebnf-eps-finish-and-write):
16651 * progmodes/cpp.el (cpp-edit-save):
16652 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16653 * progmodes/cc-defs.el (c-emacs-features):
16654 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16655 (antlr-directory-dependencies):
16656 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16657 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16658 (ada-find-any-references, ada-make-filename-from-adaname)
16659 (ada-make-body-gnatstub):
16660 * obsolete/rnews.el (news-list-news-groups):
16661 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16662 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16663 * net/rcirc.el (rcirc-debug):
16664 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16665 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16666 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16667 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16668 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16669 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16670 (newsticker--treeview-list-clear-highlight)
16671 (newsticker--treeview-list-update-highlight)
16672 (newsticker--treeview-list-highlight-start)
16673 (newsticker--treeview-tree-update-highlight)
16674 (newsticker--treeview-get-selected-item)
16675 (newsticker-treeview-mark-list-items-old)
16676 (newsticker--treeview-set-current-node):
16677 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16678 * net/newst-backend.el (newsticker--get-news-by-funcall)
16679 (newsticker--get-news-by-wget, newsticker--image-get)
16680 (newsticker--image-sentinel):
16681 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16682 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16683 (eudc-ph-close-session):
16684 * net/eudc.el (eudc-save-options):
16685 * language/thai-word.el (thai-update-word-table):
16686 * language/japan-util.el (japanese-string-conversion):
16687 * international/titdic-cnv.el (tsang-quick-converter)
16688 (ziranma-converter, ctlau-converter):
16689 * international/mule-cmds.el (describe-language-environment):
16690 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16691 (skkdic-convert-postfix, skkdic-convert-prefix):
16692 (skkdic-convert-okuri-nasi, skkdic-convert):
16693 * emacs-lisp/re-builder.el (reb-update-overlays):
16694 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16695 * emacs-lisp/gulp.el (gulp-send-requests):
16696 * emacs-lisp/find-gc.el (trace-call-tree):
16697 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16698 (eieio-describe-generic):
16699 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16700 * emacs-lisp/edebug.el (edebug-outside-excursion):
16701 * emacs-lisp/debug.el (debugger-make-xrefs):
16702 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16703 * emacs-lisp/chart.el (chart-new-buffer):
16704 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16705 Use with-current-buffer.
16706 * textmodes/artist.el (artist-system): Don't call
16707 copy-sequence on a fresh string.
16708 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16710 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16712 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16713 is no item to edit. (Bug#4820)
16714 (todo-top-priorities): Restore point and restore narrowing in Todo
16717 2009-10-31 Glenn Morris <rgm@gnu.org>
16719 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16720 (comint-last-output-start, comint-last-input-start)
16721 (comint-last-input-end): Don't defvar when compiling.
16722 (ange-ftp-process-file): Use bound-and-true-p.
16724 * pcmpl-rpm.el (top-level): Move provide statement to end.
16725 (pcmpl-rpm): Remove unused custom group.
16727 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16729 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16731 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16732 (byte-compile-warnings): Add `constants' as an option.
16733 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16734 (display-call-tree): Update for byte-compile-fdefinition possibly
16735 returning `(macro lambda ...)'. (Bug#4778)
16736 (byte-compile-variable-ref, byte-compile-setq-default):
16737 Respect `constants' member of byte-compile-warnings.
16739 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16741 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16742 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16745 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16747 * textmodes/ispell.el (ispell-skip-region-alist):
16748 * international/mule-conf.el (eight-bit):
16749 * international/fontset.el (font-encoding-alist):
16750 * startup.el (pure-space-overflow-message):
16751 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16752 * paths.el (gnus-nntp-service, rmail-spool-directory)
16753 (term-file-prefix):
16754 * files.el (save-some-buffers-action-alist):
16755 * cmuscheme.el (same-window-buffer-names):
16756 * ielm.el (same-window-buffer-names):
16757 * shell.el (same-window-buffer-names):
16758 * mail/sendmail.el (same-window-buffer-names):
16759 * progmodes/inf-lisp.el (same-window-buffer-names):
16760 * bindings.el (mode-line-client)
16761 (mode-line-column-line-number-mode-map):
16762 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16763 (tibetan-precomposed-regexp): Purecopy string arguments.
16765 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16767 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16768 (calcDigit-nondigit):
16769 * calc/calc-yank.el (calc-copy-to-buffer):
16770 * calc/calc-units.el (calc-invalidate-units-table):
16771 * calc/calc-trail.el (calc-trail-yank):
16772 * calc/calc-store.el (calc-insert-variables):
16773 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16774 * calc/calc-prog.el (calc-read-parse-table):
16775 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16776 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16777 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16778 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16779 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16780 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16781 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16782 * calc/calc-ext.el (calc-realign):
16783 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16784 (calc-embedded-finish-edit, calc-embedded-make-info)
16785 (calc-embedded-finish-command, calc-embedded-stack-change):
16786 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16788 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16789 shell-dynamic-complete-filename in preference to
16790 comint-dynamic-complete-filename.
16792 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16793 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16794 Don't consider whether the display supports colors.
16795 (bookmark-import-new-list): Use dolist.
16796 (bookmark-bmenu-mode-map): Move initialization into declaration.
16797 (bookmark-bmenu-list): Use dolist, simplify.
16798 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16799 (menu-bar-final-items): Use push.
16801 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16803 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16804 it works on remote files.
16805 (vc-hg-diff): Don't pass any `--cwd' argument.
16807 2009-10-27 Kevin Ryde <user42@zip.com.au>
16809 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16810 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16811 (Further to Bug#3921).
16813 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16815 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16816 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16817 calling `tramp-imap-put-file'. Add file size to the call.
16818 (tramp-imap-get-file-entries): Compute also user name, file size,
16820 (tramp-imap-handle-insert-directory): Insert uid and gid.
16821 (tramp-imap-handle-file-attributes): Transform uid and gid
16822 according to `id-format'.
16823 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16824 size in header X-Size.
16826 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16828 * simple.el (transpose-subr): Give clearer error when the mark
16829 is not set. (Bug#4807)
16831 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16833 * net/tramp.el (tramp-perl-file-truename): New defconst.
16834 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16835 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16836 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16837 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16839 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16840 Ignore `dired-call-process'.
16841 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16843 2009-10-26 Julian Scheid <julians37@gmail.com>
16845 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16846 (tramp-get-remote-readlink): New defun.
16847 (tramp-handle-file-truename): Use it.
16848 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16849 file exists if cache value present.
16850 (tramp-check-cached-permissions): New defun.
16851 (tramp-handle-file-readable-p): Use it.
16852 (tramp-handle-file-writable-p): Likewise.
16853 (tramp-handle-file-executable-p): Likewise.
16854 (tramp-handle-file-name-all-completions): Try using Perl to get
16855 partial completions. When perl not available, combine `cd' and
16856 `ls' into single remote operation and use shell expansion to get
16857 partial remote directory contents. Set `file-exists-p' cache for
16858 directory and any files returned by ls. Change cache handling to
16859 support partial directory contents. Use error message emitted by
16860 remote `cd' or Perl code for local tramp-error.
16861 (tramp-do-copy-or-rename-file-directly): Avoid separate
16862 tramp-send-command-and-check call.
16863 (tramp-handle-process-file): Merge three remote ops into one.
16864 Do not flush all caches when `process-file-side-effects' is set.
16865 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16866 file-attributes shows uid/gid to be set already.
16868 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16870 * textmodes/tex-mode.el (tex-dvi-view-command)
16871 (tex-show-queue-command, tex-open-quote):
16872 * progmodes/ruby-mode.el (auto-mode-alist)
16873 (interpreter-mode-alist): Purecopy strings.
16875 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16877 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16878 string for the hook, keymap and abbrev table.
16880 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16882 * x-dnd.el (x-dnd-xdnd-to-action):
16883 * startup.el (fancy-startup-text, fancy-about-text): Change to
16884 defconst from defvar.
16886 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16888 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16889 Purecopy initialization strings.
16891 * mail/sendmail.el (mail-header-separator)
16892 (mail-personal-alias-file):
16893 * mail/rmail.el (rmail-default-dont-reply-to-names)
16894 (rmail-ignored-headers, rmail-retry-ignored-headers)
16895 (rmail-highlighted-headers, rmail-secondary-file-directory)
16896 (rmail-secondary-file-regexp):
16897 * files.el (null-device, file-name-invalid-regexp)
16898 (locate-dominating-stop-dir-regexp)
16899 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16900 (interpreter-mode-alist): Use mapcar instead of mapc.
16902 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16904 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16905 (completion-ignored-extensions):
16906 (debug-ignored-errors): Purecopy strings.
16908 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16910 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16911 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16912 (pcomplete--here): Use push.
16914 * subr.el (all-completions): Declare the 4th arg obsolete.
16916 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16918 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16919 (pcomplete-unquote-argument): New function.
16920 (pcomplete--common-suffix): Always pay attention to case.
16921 (pcomplete--table-subvert): Quote and unquote the text.
16922 (pcomplete--common-quoted-suffix): New function.
16923 (pcomplete-std-complete): Use it and pcomplete-begin.
16925 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16926 we're inside a dedicated or minibuffer window.
16928 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16930 * bookmark.el: Update documentation, especially documentation
16931 of `bookmark-alist' and of the bookmark file format.
16932 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16934 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16936 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16937 keybindings apply to the mail buffer (Bug#4003). Shrink help
16940 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16941 (global-whitespace-mode, global-whitespace-newline-mode)
16942 (whitespace-toggle-options, global-whitespace-toggle-options):
16943 Doc fix (Bug#3660).
16945 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16946 of xmltok-start before the end tag was inserted (Bug#2840).
16948 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16949 patterns that are preceded by an open-paren (Bug#1320).
16951 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16953 * files.el (delete-directory): Delete symlinks to directories with
16954 delete-file (Bug#4739).
16956 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16958 * vc.el (vc-backend-for-registration): Rename from
16959 vc-get-backend-for-registration. Update callers.
16961 * international/mule-cmds.el (set-language-info-alist):
16963 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16964 (charset): Purecopy the name.
16965 (define-char-code-property): Purecopy string arguments.
16967 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16968 Purecopy string arguments.
16970 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16971 * ediff-hook.el (menu-bar-ediff-menu):
16972 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16973 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16975 2009-10-24 Glenn Morris <rgm@gnu.org>
16977 * comint.el (comint-dynamic-list-completions):
16978 * term.el (term-dynamic-list-completions): Use choose-completion rather
16979 than obsolete alias mouse-choose-completion.
16981 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16982 file-cache-choose-completion.
16983 (file-cache-choose-completion): Handle an optional event argument.
16984 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16986 * progmodes/octave-mod.el (octave-complete-symbol):
16987 Use choose-completion if mouse-choose-completion is ever removed.
16989 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16992 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16995 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16997 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16999 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17000 Ignore `pred' now that we receive one.
17001 Handle test-completion specially.
17003 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17005 * vc.el (vc-responsible-backend): Throw an error if not backend is
17006 found. Remove the REGISTER argument. Move the code dealing with
17008 (vc-get-backend-for-registration): ... here. New function.
17009 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17010 of vc-responsible-backend, pass the file name instead of the
17013 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17015 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17017 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17018 (pcomplete-comint-setup): Don't modify a global var via
17019 accidental side-effects.
17020 (pcomplete-shell-setup): Adjust call accordingly.
17021 (pcomplete-parse-comint-arguments): Use push.
17023 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17025 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17026 Allow uncapitalized info node names (Bug#3921).
17028 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17029 to the DEBUG file (Bug#3781).
17031 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17033 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17034 dictionary entry (Bug#4579).
17036 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17038 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17039 from `rfn-eshadow-update-overlay-hook' when unloading.
17040 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17041 "rsyncc". Adjust doc string.
17042 (tramp-temp-buffer-file-name): New buffer-local defvar.
17043 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17044 Keep temporary file when indicated by method ("rsync" and
17046 (tramp-handle-write-region): Handle APPEND.
17047 (tramp-delete-temp-file-function): New defun. Added to
17048 `kill-buffer-hook'.
17050 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17052 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17054 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17056 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17057 (color-name-rgb-alist, tty-standard-colors)
17058 (tty-color-mode-alist): Change to defconst.
17060 * simple.el (mark-inactive): Purecopy message.
17062 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17063 (global-map, yank-menu):
17064 * textmodes/ispell.el (ispell-menu-map):
17065 * net/eudc.el (eudc-tools-menu):
17066 * international/mule-cmds.el (describe-language-environment-map)
17067 (setup-language-environment-map, set-coding-system-map)
17068 (mule-menu-keymap):
17069 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17070 * replace.el (occur-mode-map):
17071 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17073 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17075 * calc/calc.el (math-read-number, math-read-number-simple):
17076 Use `save-match-data'.
17078 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17080 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17081 rather than fiddling with global-map bindings, since it should only
17082 affect per-terminal settings.
17083 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17085 * minibuffer.el (completion-table-with-terminator): Allow to specify
17086 the terminator-regexp.
17088 * simple.el (switch-to-completions): Look for *Completions* in other
17091 * pcomplete.el: Allow the use of completion-tables.
17092 (pcomplete-std-complete): New command.
17093 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17094 (pcomplete--here): Use a function for `form' rather than an expression,
17095 so it can be byte-compiled.
17096 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17097 Add edebug declaration.
17098 (pcomplete-show-completions): Remove unused var `curbuf'.
17099 (pcomplete-do-complete, pcomplete-stub):
17100 Don't assume `completions' is a list of strings any more.
17102 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17104 * find-dired.el (find-name-arg): Fix typo in docstring.
17106 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17108 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17109 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17111 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17114 * comint.el (comint-read-input-ring, comint-write-input-ring)
17115 (comint-substitute-in-file-name)
17116 (comint-dynamic-complete-as-filename)
17117 (comint-dynamic-simple-complete)
17118 (comint-dynamic-list-filename-completions)
17119 (comint-dynamic-list-completions)
17120 (comint-redirect-results-list-from-process): Minor simplifications.
17122 2009-10-21 Kevin Ryde <user42@zip.com.au>
17124 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17125 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17126 the first form. And insert a blank line after ";;; Code" since
17127 that's usual style. (Bug#4612)
17129 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17131 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17133 * minibuffer.el (completion-table-with-terminator): Properly implement
17134 boundaries, in case `terminator' appears in the suffix.
17135 (completion--embedded-envvar-table): Don't return boundaries if
17136 there's no valid completion. Simplify.
17137 (completion-file-name-table): New completion table extracted from
17138 completion--file-name-table.
17139 (completion--file-name-table): Use it.
17140 (read-file-name-predicate): Declare obsolete.
17141 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17142 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17143 completion-file-name-table, and use the `pred' argument.
17144 * files.el (locate-file-completion-table): Use the `pred' arg rather
17145 than read-file-name-predicate.
17146 (abbreviate-file-name): Use \` rather than ^ for BOS.
17148 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17150 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17151 vc-responsible-backend to register, it causes problems.
17153 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17155 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17157 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17159 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17160 (tramp-smb-handle-file-attributes): Use it.
17161 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17162 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17163 `mapcar'. Use `tramp-smb-get-stat-capability'.
17164 Add `dired-filename' text properties.
17165 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17166 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17169 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17171 * subr.el (read-key-delay): Reduce to 0.01.
17172 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17175 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17177 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17179 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17180 (Info-menu): Remove unused vars `last' and `completions'.
17181 (Info-index-nodes): Remove unused var `node'.
17183 * info.el (Info-complete-menu-item): Use complete-with-action.
17185 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17187 Make vc-annotate work through copies and renames.
17188 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17189 Return the file name too.
17190 (vc-annotate-revision-at-line)
17191 (vc-annotate-find-revision-at-line)
17192 (vc-annotate-revision-previous-to-line)
17193 (vc-annotate-show-log-revision-at-line): Update to get the file
17194 name from vc-annotate-extract-revision-at-line.
17195 (vc-annotate-show-diff-revision-at-line-internal): Change the
17196 argument to mean whether to show a file diff or not. Get the file
17197 name from vc-annotate-extract-revision-at-line.
17198 (vc-annotate-show-diff-revision-at-line):
17199 Update vc-annotate-show-diff-revision-at-line call.
17200 (vc-annotate-warp-revision): Add an optional file argument.
17202 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17203 (vc-git-annotate-extract-revision-at-line): Also return the file
17206 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17207 command. Remove unused code.
17208 (vc-hg-annotate-re): Update to match --follow output.
17209 (vc-hg-annotate-extract-revision-at-line): Also return the file
17212 * vc.el: Update annotate-extract-revision-at-line documentation.
17214 2009-10-18 Kevin Ryde <user42@zip.com.au>
17216 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17217 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17219 * net/browse-url.el (browse-url): Identify alist with "consp and
17220 not functionp" and let all other things go down the `apply' leg,
17221 as suggested by Stefan. (Further to bug#4531.)
17223 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17225 * minibuffer.el (read-file-name): Check for repeat before putting
17226 a default argument in file-name-history (Bug#4657).
17228 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17229 read syntax (Bug#4737).
17231 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17233 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17235 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17236 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17237 entries and make note of obsolete tags.
17239 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17241 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17243 2009-10-18 Glenn Morris <rgm@gnu.org>
17245 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17246 grep, so that binary files (eg international/uni-bidi.el) can match.
17247 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17248 now, and in any case the file header format has changed.
17250 2009-10-17 Glenn Morris <rgm@gnu.org>
17252 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17253 (flyspell-get-word, flyspell-large-region)
17254 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17256 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17258 * Makefile.in (ELCFILES): Add ede/shell.
17260 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17262 * term/common-win.el (x-colors): Purecopy it.
17264 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17266 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17267 permissive for when the buffer is empty.
17268 (tar-header-block-tokenize): Decode the username and groupname.
17269 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17271 2009-10-17 Eric Ludlam <zappo@gnu.org>
17273 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17274 contains multibyte characters, choose first applicable coding
17275 system automatically.
17277 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17279 * international/mule-cmds.el (select-safe-coding-system): If the file
17280 has a coding cookie, use it regardless of any other setting (bug#4712).
17282 2009-10-17 Glenn Morris <rgm@gnu.org>
17284 * foldout.el (foldout-mouse-swallow-events):
17285 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17287 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17288 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17289 (dired-keep-marker-symlink, dired-dwim-target)
17290 (dired-copy-preserve-time): Do not autoload these defcustoms.
17292 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17293 messages from messing up the file coding. (Bug#4623)
17295 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17297 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17298 if no match is found for the current dictionary. (Bug#4578)
17300 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17301 optional, since that is how it is documented, and this is often called
17302 with a nil argument. (Bug#4577)
17303 (flyspell-external-point-words, flyspell-auto-correct-word)
17304 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17305 (flyspell-word-search-backward): Remove nil argument in calls to
17306 flyspell-get-word, since it is not needed now.
17308 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17310 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17312 2009-10-16 Glenn Morris <rgm@gnu.org>
17314 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17316 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17318 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17319 (ange-ftp-file-size): New function.
17320 (ange-ftp-file-attributes): Use it.
17322 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17324 * net/tramp-smb.el (tramp-smb-version): New defvar.
17325 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17328 2009-10-16 Glenn Morris <rgm@gnu.org>
17330 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17331 Maybe copy some custom properties from old to new name. (Bug#4706)
17333 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17335 * subr.el (error, sit-for, start-process-shell-command)
17336 (start-file-process-shell-command): Set the calling convention
17337 after the function definition.
17339 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17341 * subr.el (error, sit-for, start-process-shell-command)
17342 (start-file-process-shell-command): Use the new
17343 set-advertised-calling-convention feature.
17345 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17347 * international/ucs-normalize.el (ucs-normalize-version):
17349 (check-range): Adjust for Unicode 5.2.
17351 2009-10-15 Juri Linkov <juri@jurta.org>
17353 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17354 to the `menu-item' format.
17356 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17358 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17359 if the environment variable does not exist.
17361 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17362 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17364 (tramp-smb-handle-add-name-to-file)
17365 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17366 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17367 (tramp-smb-handle-file-attributes)
17368 (tramp-smb-do-file-attributes-with-stat)
17369 (tramp-smb-handle-file-local-copy)
17370 (tramp-smb-handle-insert-directory)
17371 (tramp-smb-handle-make-directory)
17372 (tramp-smb-handle-make-directory-internal)
17373 (tramp-smb-handle-make-symbolic-link)
17374 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17375 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17376 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17377 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17378 Handle long file names.
17379 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17380 process is running.
17381 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17382 Read share names with "-g" option.
17384 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17386 * net/rcirc.el (rcirc-view-log-file): New command.
17387 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17388 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17391 2009-10-15 Glenn Morris <rgm@gnu.org>
17393 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17394 from the second command-line argument.
17395 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17396 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17397 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17398 w32-batch-update-autoloads.
17399 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17400 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17402 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17403 the headers cannot be located. Simplify, subtracting superflous
17406 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17408 Replace completion-base-size by completion-base-position to fix bugs
17409 such as (bug#4699).
17410 * simple.el (completion-base-position): New var.
17411 (completion-base-size): Mark as obsolete.
17412 (choose-completion): Make it work for mouse events as well.
17413 Pass the new base-position to choose-completion-string.
17414 (choose-completion-guess-base-position): New function, extracted from
17415 choose-completion-delete-max-match.
17416 (choose-completion-delete-max-match): Use it. Make obsolete.
17417 (choose-completion-string): Use the new base-position info.
17418 (completion-root-regexp): Delete.
17419 (completion-setup-function): Preserve completion-base-position.
17420 Eliminate obsolete base-size manipulation.
17421 * minibuffer.el (display-completion-list): Don't mess with base-size.
17422 (minibuffer-completion-help): Set completion-base-position instead.
17423 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17425 * textmodes/bibtex.el (bibtex-complete):
17426 * emacs-lisp/crm.el (crm--choose-completion-string):
17427 Adjust to new calling convention.
17428 * complete.el (partial-completion-mode): Use minibufferp to avoid
17429 bumping into incompatible change to choose-completion-string-functions.
17430 * ido.el (ido-choose-completion-string): Make its calling convention
17432 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17433 base-size manipulation.
17434 (comint-dynamic-list-input-ring): Use dotimes and push.
17435 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17436 fundamental-mode. Use `or'.
17438 2009-10-14 Juri Linkov <juri@jurta.org>
17440 * misearch.el (multi-isearch-next-buffer-from-list)
17441 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17443 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17445 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17448 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17449 string we return is all made up of text from the completions rather
17450 than part from the completions and part from the input (bug#4219).
17452 * ido.el (ido-everywhere): Use define-minor-mode.
17454 * buff-menu.el (list-buffers, ctl-x-map):
17455 Mark the entry points with ;;;###autoload cookies.
17457 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17459 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17460 correctly in the detached head case.
17461 (vc-git-print-log): Remove unused binding.
17463 * vc.el (vc-responsible-backend): When a directory is passed for
17464 for registration create a VC repository if no backend is
17465 responsible for the directory argument.
17466 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17468 * vc.el: Move comments about RCS and SCCS ...
17470 * vc-sccs.el: ... here, respectively.
17472 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17474 * minibuffer.el (completion--file-name-table): Return nil if there's
17475 no file completion, even if substitute-in-file-name changed
17476 the string (bug#4708).
17478 2009-10-13 Juri Linkov <juri@jurta.org>
17480 * files-x.el (read-file-local-variable-value): Don't filter out
17481 minor modes from mode name completion (bug#4664).
17483 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17485 * international/mule-cmds.el (ucs-names): Remove exclusion of
17486 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17488 2009-10-13 Kenichi Handa <handa@m17n.org>
17490 * international/uni-name.el: Regenerated.
17492 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17494 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17495 should be automatically buffer-local, but isn't.)
17497 2009-10-12 Sam Steingold <sds@gnu.org>
17499 * progmodes/compile.el (compilation-next-error-function): Fix the
17500 timestamps if the buffer has been visited before.
17501 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17502 non-anchored patterns, like the perl one (bug#3928).
17504 2009-10-12 Glenn Morris <rgm@gnu.org>
17506 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17509 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17511 * proced.el (proced-unload-function): New function.
17513 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17514 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17517 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17519 2009-10-11 Juri Linkov <juri@jurta.org>
17521 * files-x.el (read-file-local-variable-value):
17522 Provide default value only for bound variables (bug#4664).
17524 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17526 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17527 connection methods like smb.
17529 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17532 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17533 (tramp-smb-file-name-handler-alist): Add handlers for
17534 `add-name-to-file', `make-symbolic-link'.
17535 (tramp-smb-handle-add-name-to-file)
17536 (tramp-smb-do-file-attributes-with-stat)
17537 (tramp-smb-handle-make-symbolic-link)
17538 (tramp-smb-get-cifs-capabilities): New defuns.
17539 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17540 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17541 (tramp-smb-handle-file-local-copy)
17542 (tramp-smb-handle-make-directory-internal)
17543 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17544 The file name syntax depends on cifs capabilities.
17545 (tramp-smb-handle-file-attributes):
17546 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17547 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17548 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17550 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17552 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17553 (eieio-defclass): Apply deftype handler and setf-method properties
17555 (eieio-add-new-slot): Avoid union function from cl library.
17556 (eieio--typep): New function.
17557 (eieio-perform-slot-validation): Use it.
17559 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17561 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17562 Update documentation to refer to the variables documented in r1.135.
17565 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17567 * bookmark.el (Info-suffix-list): Remove this unused variable.
17568 (bookmark-current-point): Remove this obsolete variable.
17569 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17570 Adjust for removal of bookmark-current-point.
17572 (bookmarks-already-loaded, bookmark-current-buffer)
17573 (bookmark-yank-point): Document. (Bug#4188)
17575 2009-10-10 Glenn Morris <rgm@gnu.org>
17577 * frame.el (frame-height): Doc fix.
17579 * calendar/calendar.el (calendar-split-width-threshold): New option.
17580 (calendar-basic-setup): Use calendar-split-width-threshold.
17582 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17584 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17585 Ideographic Supplement" range (U+1F200..U+1F2FF).
17587 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17589 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17590 since the list will have been rebuilt anyway. (Bug#4349)
17592 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17594 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17595 (bookmark-bmenu-execute-deletions): Don't save here, as
17596 bookmark-delete will now do so if necessary.
17597 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17600 2009-10-09 Glenn Morris <rgm@gnu.org>
17602 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17604 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17606 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17607 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17608 argument now, so the two function's behaviors will match. (Bug#3645)
17610 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17612 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17613 (tramp-file-name-real-host, tramp-file-name-port):
17614 Apply `save-match-data'.
17616 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17617 case both directories are remote.
17618 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17619 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17621 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17623 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17625 2009-10-07 Glenn Morris <rgm@gnu.org>
17627 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17630 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17632 * files-x.el (read-file-local-variable): Include some
17633 non-user-variables in the completion table (bug#4664).
17635 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17637 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17640 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17641 (tramp-smb-file-name-handler-alist): Add handler for
17642 `copy-directory', `expand-file-name', `set-file-modes'.
17643 (tramp-smb-handle-copy-directory)
17644 (tramp-smb-handle-expand-file-name)
17645 (tramp-smb-handle-set-file-modes): New defuns.
17646 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17647 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17649 (tramp-smb-handle-insert-directory): Don't flush the cache.
17650 (tramp-smb-maybe-open-connection): Check for samba client and
17653 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17655 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17656 to not error out of search for "^lisp=" fails.
17658 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17660 * makefile.w32-in (WINS_UPDATES): New macro.
17661 (custom-deps, finder-data, autoloads): Use it.
17663 2009-10-07 Glenn Morris <rgm@gnu.org>
17665 * Makefile.in (autoloads): Revert previous change.
17666 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17667 the list of preloaded files passed on the command-line, get
17668 it from src/Makefile.
17670 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17671 show the original buffer rather than a random one.
17673 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17675 * help.el (describe-no-warranty): Place point in a slightly better
17676 position in the GPLv3 text.
17678 2009-10-06 Sam Steingold <sds@gnu.org>
17680 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17681 the comm attribute is present before calling regexp-quote.
17683 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17685 * play/animate.el (animate-string): For good effect, make sure
17686 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17688 * play/animate.el (animate-sequence, animate-birthday-present):
17689 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17691 2009-10-06 Glenn Morris <rgm@gnu.org>
17693 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17695 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17696 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17697 (batch-update-autoloads): Process a string value of autoload-excludes,
17698 set during the build process.
17699 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17701 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17702 inside with-parsed... macro so that `v' is defined.
17704 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17705 * progmodes/fortran.el (fortran-end-of-block)
17706 (fortran-beginning-of-block):
17707 Also push mark in the macro case.
17709 * emerge.el (emerge-show-file-name):
17710 * calc/calc.el (calc-quit):
17711 * calc/calc-misc.el (calc-big-or-small):
17712 * calc/calc-graph.el (calc-graph-view):
17713 * calc/calc-ext.el (calc-reset):
17714 * calendar/calendar.el (calendar-basic-setup):
17715 Use window-full-height-p.
17717 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17718 header we don't understand, don't insert another. (Bug#4624)
17719 If changing mime charset, insert the new one in the right place.
17721 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17723 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17724 (cal-tex-cursor-month): Correctly increment the end date for diary and
17725 holiday listing. (Bug#4626)
17727 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17729 * help-fns.el (describe-function-1): Don't burp if the function is not
17732 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17734 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17735 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17736 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17737 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17739 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17740 (eieio-default-superclass): Reflow docstrings.
17741 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17742 (eieio-unbind-method-implementations, defmethod)
17743 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17744 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17745 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17746 (eieio-slot-originating-class-p, eieio-slot-name-index)
17747 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17748 (constructor, initialize-instance, no-next-method, object-print)
17749 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17750 Fix typos in docstrings.
17751 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17752 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17753 (next-method-p): Doc fixes.
17754 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17755 Fix typos in error messages.
17756 (eieio-defmethod): Fix typo in description of generic method.
17758 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17759 (eieio-persistent-save-interactive, slot-missing):
17760 Fix typos in docstrings.
17761 (eieio-instance-inheritor-slot-boundp): Doc fix.
17763 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17764 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17766 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17767 (eieio-custom-object-apply-reset):
17768 Fix typos in docstrings and error messages.
17770 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17771 Fix typo in docstring.
17773 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17774 (eieio-browse-tree): Doc fix.
17775 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17776 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17777 Fix typos in docstrings.
17779 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17780 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17781 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17782 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17785 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17787 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17788 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17789 Set log-view-vc-backend so that diff can work.
17791 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17793 (vc-diff-internal): Autoload this instead of vc-version-diff.
17795 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17797 * simple.el (eval-expression): Doc fix.
17799 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17801 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17803 * files.el (directory-files-no-dot-files-regexp): New defconst.
17804 (delete-directory): Use it.
17805 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17807 * net/tramp.el (tramp-verbose): Fix docstring.
17808 (tramp-methods): Add recursive option to `tramp-copy-args'.
17809 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17810 "scp1_old", "scp2_old", "rsync", "rsyncc".
17811 (tramp-default-method): Check also for `auth-source-user-or-password'.
17812 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17813 Add handler for `copy-directory'.
17814 (tramp-handle-copy-directory): New defun.
17815 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17816 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17817 Optimize sent command.
17819 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17821 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17822 window if necessary.
17824 * calendar/calendar.el (calendar-basic-setup): Don't call
17825 switch-to-buffer in a dedicated window.
17827 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17829 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17830 don't do anything related to relocating, just return nil.
17831 (bookmark-error-no-filename): New error.
17832 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17833 bookmark has no file. Don't even attempt to handle things that
17834 are not files; the whole point of custom handlers is to keep that
17835 knowledge elsewhere anyway. Tighten some comments.
17836 (bookmark-file-or-variation-thereof): Remove now-unused function.
17837 (bookmark-location): Doc string fix.
17840 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17842 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17843 don't use a file dialog, because they usually don't know how to read
17844 a directory target from the user. (Bug#4230)
17845 Also, make sure the prompt can display directories as well as files.
17847 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17849 * bookmark.el (bookmark-set, bookmark-buffer-name):
17850 Improve doc strings. (Bug#1193)
17852 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17854 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17855 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17856 (bookmark-get-annotation, bookmark-set-annotation)
17857 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17858 (bookmark-set-position, bookmark-get-front-context-string)
17859 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17860 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17861 (bookmark-jump-other-window, bookmark-handle-bookmark)
17862 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17863 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17864 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17865 Improve doc strings to say whether bookmark can be a string or
17866 a record or both, and make other consistency and clarity fixes.
17867 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17868 (bookmark-default-annotation-text, bookmark-yank-word)
17869 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17870 (bookmark-import-new-list, bookmark-maybe-rename)
17871 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17872 (bookmark-bmenu-bookmark): Give these doc strings.
17873 (bookmark-bmenu-check-position): Give this a doc string, but also
17874 add a FIXME comment about how the function may be pointless.
17875 (bookmark-default-handler): Rework doc string and change a
17876 parameter name, to clarify that this takes a bookmark record
17877 not a bookmark name.
17878 (bookmark-set): Change a parameter name to indicate its meaning,
17879 and improve the doc string a bit.
17882 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17884 * bookmark.el (bookmark-alist): Document the new `handler' element
17885 in the param alist.
17886 (bookmark-make-record-function): Adjust documentation for above.
17889 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17891 * info.el (Info-bookmark-make-record): Document this function.
17892 (Info-bookmark-jump): Document with a doc string, not just a comment.
17895 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17897 * files.el (copy-directory): New defun.
17899 * dired-aux.el (dired-copy-file-recursive): Use it.
17901 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17903 * files-x.el (modify-dir-local-variable)
17904 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17907 * recentf.el (recentf-unload-function): New function.
17909 2009-10-04 Glenn Morris <rgm@gnu.org>
17911 * window.el (window-full-height-p): Add doc string.
17913 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17915 * window.el (window-full-height-p): New function. (Bug#4543)
17917 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17919 * vc.el: Remove commented out code.
17920 (vc-derived-from-dir-mode): Remove, unused.
17921 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17923 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17925 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17926 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17927 there could be recursive loading when `default-directory' is a
17928 remote file name. (Bug#4614)
17930 2009-10-03 Glenn Morris <rgm@gnu.org>
17932 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17934 (calendar-generate-window): Test for shrinkability rather than width.
17936 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17937 reusing existing buffers, in case we happen to visit two files with the
17938 same basename. (Bug#4593)
17940 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17942 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17943 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17944 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17945 subdirs of cedet as well.
17946 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17948 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17950 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17951 Obey advertised-signature-table.
17953 * help-fns.el (help-function-arglist): Don't check
17954 advertised-signature-table.
17955 (describe-function-1): Do it here instead so it also applies to subrs.
17957 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17959 * simple.el (start-file-process): Say in the doc-string, that file
17960 handlers might not support pty association, if PROGRAM is nil.
17962 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17963 HOST and USER are strings. They are nil, when there are
17964 incomplete entries in ~/.netrc, for example.
17965 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17966 root directory ("device busy" error otherwise).
17968 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17969 Flush file properties of created directory.
17971 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17973 * makefile.w32-in (WINS_BASIC): Remove cedet.
17974 (WINS_CEDET): Add cedet.
17975 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17977 2009-10-02 Kevin Ryde <user42@zip.com.au>
17979 * net/browse-url.el (browse-url): Pass any symbol in
17980 browse-url-browser-function to `apply', since if you've mistakenly put
17981 an unbound symbol then the error is clearer. (Bug#4531)
17983 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17985 * allout.el (allout-init, allout-back-to-current-heading)
17986 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17987 (allout-ascend, allout-up-current-level, allout-end-of-level)
17988 (allout-previous-visible-heading, allout-forward-current-level)
17989 (allout-backward-current-level, allout-show-children):
17990 * apropos.el (apropos-describe-plist):
17991 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17992 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17993 * completion.el (add-completion, add-permanent-completion):
17994 * descr-text.el (describe-text-category, describe-char):
17995 * desktop.el (desktop-lazy-abort):
17996 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17997 * dired.el (dired-build-subdir-alist):
17998 * ediff.el (ediff-version):
17999 * elide-head.el (elide-head, elide-head-show):
18000 * emerge.el (emerge-version):
18002 * face-remap.el (variable-pitch-mode):
18003 * faces.el (describe-face):
18004 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18006 * files.el (find-file-existing, auto-save-mode):
18007 * font-lock.el (font-lock-fontify-buffer):
18008 * help-fns.el (describe-function, describe-variable)
18009 (describe-syntax, describe-categories):
18010 * help.el (view-lossage, describe-bindings, describe-key)
18012 * hexl.el (hexl-current-address):
18013 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18014 * info.el (Info-goto-emacs-key-command-node):
18015 * log-edit.el (log-edit-insert-cvs-template)
18016 (log-edit-insert-cvs-rcstemplate):
18017 * menu-bar.el (menu-bar-mode):
18018 * mouse.el (mouse-appearance-menu):
18019 * newcomment.el (comment-indent-new-line):
18020 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18021 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18022 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18023 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18024 * recentf.el (recentf-mode):
18025 * savehist.el (savehist-mode, savehist-save):
18026 * shadowfile.el (shadow-copy-files):
18027 * simple.el (kill-ring-save, next-line, previous-line)
18028 (normal-erase-is-backspace-mode):
18029 * strokes.el (strokes-update-window-configuration)
18030 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18031 (strokes-xpm-for-stroke):
18032 * time.el (emacs-uptime, emacs-init-time):
18033 * tutorial.el (tutorial--describe-nonstandard-key)
18034 (tutorial--detailed-help):
18035 * type-break.el (type-break-mode)
18036 (type-break-mode-line-message-mode, type-break-query-mode)
18037 (type-break-guesstimate-keystroke-threshold):
18038 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18039 * version.el (emacs-version):
18040 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18041 * winner.el (winner-mode):
18042 * calendar/timeclock.el (timeclock-in, timeclock-out)
18043 (timeclock-status-string, timeclock-change)
18044 (timeclock-workday-remaining-string)
18045 (timeclock-workday-elapsed-string)
18046 (timeclock-when-to-leave-string):
18047 * calendar/todo-mode.el (todo-add-category):
18048 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18049 * emacs-lisp/autoload.el (update-file-autoloads):
18050 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18051 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18052 (checkdoc-message-text, checkdoc-defun):
18053 * emacs-lisp/debug.el (debugger-list-functions):
18054 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18055 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18056 (eieio-describe-generic):
18057 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18058 * emacs-lisp/shadow.el (list-load-path-shadows):
18059 * emulation/cua-base.el (cua-mode):
18060 * emulation/edt.el (edt-set-scroll-margins):
18061 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18062 (tpu-toggle-regexp, tpu-toggle-search-direction)
18063 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18064 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18065 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18066 (viper-set-parsing-style-toggling-macro)
18067 (viper-set-emacs-state-searchstyle-macros):
18068 * emulation/viper.el (viper-set-hooks):
18069 * eshell/esh-mode.el (eshell-truncate-buffer):
18070 * international/mule-cmds.el (prefer-coding-system)
18071 (describe-input-method, describe-language-environment):
18072 * international/mule-diag.el (list-character-sets)
18073 (describe-character-set, describe-coding-system)
18074 (describe-fontset, list-fontsets, list-input-methods):
18075 * mail/sendmail.el (mail-signature):
18076 * net/ange-ftp.el (ange-ftp-copy-file):
18077 * net/browse-url.el (browse-url):
18078 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18079 * net/quickurl.el (quickurl-add-url):
18080 * net/rcirc.el (names, topic):
18081 * net/xesam.el (xesam-mode):
18082 * play/5x5.el (5x5-new-game):
18083 * play/yow.el (apropos-zippy):
18084 * progmodes/ada-mode.el (ada-mode-version):
18085 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18087 (f90-beginning-of-block):
18088 * progmodes/fortran.el (fortran-end-of-block)
18089 (fortran-beginning-of-block):
18090 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18091 * progmodes/python.el (python-describe-symbol, python-shell):
18092 * term/ns-win.el (ns-print-buffer):
18093 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18094 * textmodes/flyspell.el (flyspell-mode-on):
18095 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18096 (pages-directory-for-addresses):
18097 * textmodes/table.el (table-recognize-cell)
18098 (table-query-dimension, table-generate-source)
18099 (table-insert-sequence, table--warn-incompatibility):
18100 * textmodes/tex-mode.el (tex-validate-buffer):
18101 * textmodes/texinfmt.el (texinfmt-version)
18102 (texinfo-format-buffer):
18103 Use `called-interactively-p' instead of `interactive-p'.
18105 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18107 * image-mode.el (image-toggle-display):
18108 * emacs-lisp/elp.el (elp-instrument-function):
18109 * emacs-lisp/advice.el (ad-make-advised-definition):
18110 * emacs-lisp/easy-mmode.el (define-minor-mode):
18111 * net/browse-url.el (browse-url-maybe-new-window):
18112 * progmodes/sh-script.el (sh-learn-buffer-indent):
18113 Pass new argument 'any to `called-interactively-p'.
18115 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18117 * international/uni-bidi.el:
18118 * international/uni-category.el:
18119 * international/uni-combining.el:
18120 * international/uni-comment.el:
18121 * international/uni-decimal.el:
18122 * international/uni-decomposition.el:
18123 * international/uni-digit.el:
18124 * international/uni-lowercase.el:
18125 * international/uni-mirrored.el:
18126 * international/uni-name.el:
18127 * international/uni-numeric.el:
18128 * international/uni-old-name.el:
18129 * international/uni-titlecase.el:
18130 * international/uni-uppercase.el:
18131 Regenerate from Unicode 5.2.0 data.
18133 2009-10-01 Glenn Morris <rgm@gnu.org>
18135 * Makefile.in (ELCFILES): Regenerate.
18137 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18139 * subr.el (interactive-p): Mark obsolete.
18140 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18141 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18142 advertised-signature-table for subroutines as well.
18144 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18145 (set-advertised-calling-convention): New function.
18146 (make-obsolete, define-obsolete-function-alias)
18147 (make-obsolete-variable, define-obsolete-variable-alias):
18148 Make the optional-ness of `when' obsolete.
18149 (define-obsolete-face-alias): Make `when' non-optional.
18150 * help-fns.el (help-function-arglist):
18151 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18152 Use advertised-signature-table.
18154 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18156 * files.el (delete-directory): New defun. The original function
18157 in fileio.c has been renamed to `delete-directory-internal'.
18159 * dired.el (dired-delete-file): Call `delete-directory' with
18160 RECURSIVE parameter.
18162 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18163 parameter RECURSIVE. Implementation is missing.
18165 * net/tramp.el (tramp-handle-make-directory): Flush upper
18166 directory's file properties.
18167 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18168 (tramp-handle-dired-recursive-delete-directory): Flush directory
18169 properties after the remove command only.
18171 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18172 Handle optional parameter RECURSIVE.
18174 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18175 Handle optional parameter RECURSIVE.
18177 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18178 connection timeout.
18179 (tramp-smb-handle-delete-directory): Handle optional parameter
18182 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18184 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18185 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18186 (byte-compile-defmacro): Use backquotes.
18188 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18190 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18191 has no associated file.
18192 (vc-resynch-buffer): Use vc-dir-buffers.
18194 2009-10-01 Glenn Morris <rgm@gnu.org>
18196 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18197 (chart-file-count):
18198 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18199 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18200 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18201 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18202 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18203 (eieio-copy-parents-into-subclass, make-instance, class-children)
18204 (eieio-generic-form):
18206 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18207 match-data. (Bug#4555).
18209 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18210 rather than parsing it as a regexp. This relaxes the layout
18211 requirements and makes errors easier to detect.
18212 (check-declare-verify): Check file is regular.
18213 (check-declare-directory): Doc fix.
18214 * subr.el (declare-function): Doc fix.
18216 * ibuffer.el (ibuffer-format-qualifier):
18217 * isearch.el (hi-lock-regexp-okay):
18218 * calc/calc.el (math-zerop):
18219 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18220 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18221 Remove unused declarations.
18223 2009-09-30 Eric Ludlam <zappo@gnu.org>
18225 * emacs-lisp/eieio.el (boolean-p): Delete.
18227 2009-09-30 Glenn Morris <rgm@gnu.org>
18229 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18231 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18232 filename is not a string.
18234 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18236 * files.el (safe-local-eval-forms): Fix typo.
18238 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18240 * vc-hooks.el (vc-dir-buffers): New var.
18241 (vc-state-refresh): New function.
18242 (vc-state): Use it.
18243 (vc-after-save): Always ask the backend to recompute the new state.
18244 Always call vc-dir if necessary, using vc-dir-buffers.
18245 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18246 Use vc-dir-buffers.
18247 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18248 (vc-dir-prepare-status-buffer, vc-dir-update)
18249 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18250 Don't call expand-file-name on default-directory.
18252 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18254 * speedbar.el (speedbar-item-delete):
18255 * calc/calc-prog.el (calc-kbd-if):
18256 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18258 * epa.el (epa-key-list-mode-map):
18259 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18261 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18262 (hs-show-hook): Fix typo in docstring.
18264 2009-09-29 Glenn Morris <rgm@gnu.org>
18266 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18267 file-name-nondirectory call preventing location of cedet files.
18268 (check-declare-verify): Use literal search rather than re-search.
18269 Add basic defmethod and defclass, and define-overloadable-function.
18271 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18272 Use tramp-compat-file-attributes rather than nonexistent
18273 tramp-compat-handle-file-attributes.
18275 * Makefile.in (lisptagsfiles4): New.
18276 (AUTOGENEL): Add cedet loaddefs files.
18277 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18278 (update-elclist, compile-always, backup-compiled-files)
18279 (bootstrap-clean): Add yet another directory level.
18280 (update-elclist): Use LC_COLLATE rather than COLLATE.
18281 (ELCFILES): Update, via `make update-elclist'.
18283 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18285 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18286 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18287 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18289 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18291 * Makefile.in (lisptagsfiles3): Define.
18292 (TAGS, TAGS-LISP): Use it.
18293 (update-elclist): Add third directory level to look for elc files.
18294 (compile-always): Likewise.
18295 (backup-compiled-files): Likewise.
18296 (bootstrap-clean): Likewise.
18297 (ELCFILES): Update.
18299 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18301 * Makefile.in (ELCFILES): Add CEDET files.
18303 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18305 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18307 * net/tramp.el (top): Require tramp-imap.
18309 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18310 Use `tramp-compat-handle-file-attributes'.
18312 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18314 * net/tramp-imap.el: New package.
18316 2009-09-28 Eric Ludlam <zappo@gnu.org>
18318 * emacs-lisp/chart.el:
18319 * emacs-lisp/eieio-base.el:
18320 * emacs-lisp/eieio-comp.el:
18321 * emacs-lisp/eieio-custom.el:
18322 * emacs-lisp/eieio-datadebug.el:
18323 * emacs-lisp/eieio-opt.el:
18324 * emacs-lisp/eieio-speedbar.el:
18325 * emacs-lisp/eieio.el: New files.
18327 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18329 * whitespace.el (whitespace-trailing-regexp)
18330 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18333 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18335 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18338 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18339 menu-bar-ediff-menu.
18341 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18342 define-overloadable-function.
18344 * progmodes/autoconf.el: Provide autoconf as well, so that this
18345 file can be `require'd.
18347 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18349 * emacs-lisp/autoload.el (generated-autoload-feature)
18350 (generated-autoload-load-name): New vars.
18351 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18352 (make-autoload): Recognize define-overloadable-function and
18353 defclass forms (for EIEIO).
18355 * Makefile.in (update-subdirs): Exclude cedet directory.
18357 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18359 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18361 * faces.el: Default light-background background for region face to
18362 ns_selection_color under NS.
18364 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18366 * net/imap-hash.el: New library, see NEWS.
18368 * Makefile.in (ELCFILES): Add imap-hash.el.
18370 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18372 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18373 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18374 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18375 definition where the docstring could be taken for the return value.
18377 2009-09-26 Glenn Morris <rgm@gnu.org>
18379 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18380 Add option to only show images below a certain size.
18381 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18382 save-excursion calls.
18384 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18386 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18387 subdirectories) and eieio.
18389 2009-09-26 Alan Mackenzie <acm@muc.de>
18391 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18392 Correct buggy bracketing. (Bug#4289)
18394 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18395 character constants (as case labels). (Bug#4289)
18397 2009-09-25 Juri Linkov <juri@jurta.org>
18399 * files.el (safe-local-eval-forms): Allow time-stamp in
18400 before-save-hook (Bug#4554).
18402 2009-09-25 Drew Adams <drew.adams@oracle.com>
18404 * menu-bar.el (list-buffers-directory): Doc fix.
18406 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18408 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18409 Try and avoid copying twice the same paragraph.
18410 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18411 Remove save-excursion.
18412 (log-edit-changelog-entry): Do it here instead.
18414 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18416 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18417 when available, instead of hardcoding mode names. Doc fix.
18419 * menu-bar.el (list-buffers-directory): Add docstring.
18420 Make automatically buffer-local.
18422 * dired.el (dired-mode):
18423 * files.el (cd-absolute):
18424 * pcvs.el (cvs-temp-buffer):
18425 * pcvs-util.el (cvs-get-buffer-create):
18426 * shell.el (shell-mode):
18427 * vc-dir.el (vc-dir-mode):
18428 Don't make `list-buffers-directory' buffer local.
18430 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18432 * comint.el (comint-exec, comint-run, make-comint):
18433 Doc fixes (Bug#4542).
18435 2009-09-25 Glenn Morris <rgm@gnu.org>
18437 * mail/rmailmm.el (rmail-mime): New custom group.
18438 Move all defcustoms in this file into this group.
18439 (rmail-mime-media-type-handlers-alist): Revert previous change.
18440 (rmail-mime-show-images): New option.
18441 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18442 references to it, since it wasn't actually used for anything.
18443 (rmail-mime-insert-image): New function.
18444 (rmail-mime-image): Use rmail-mime-insert-image.
18445 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18446 obey the value of `rmail-mime-show-images' option. Print the size of
18449 2009-09-25 David Engster <deng@randomsample.de>
18451 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18453 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18455 * whitespace.el: Does not highlight trailing spaces While point is
18456 at end of line. Does not highligt spaces at beginning of buffer
18457 while point is at beginning of buffer. Does not highlight spaces
18458 at end of buffer while point is at end of buffer. (Bug#4177)
18460 (whitespace-display-mappings): Adjust initialization.
18461 (whitespace-point, whitespace-font-lock-refontify): New vars.
18462 (whitespace-color-on, whitespace-color-off): Adjust code.
18463 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18464 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18465 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18467 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18469 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18471 * textmodes/sgml-mode.el: Remove xml-mode alias.
18473 * files.el (auto-mode-alist, conf-mode-maybe)
18474 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18476 2009-09-24 Alan Mackenzie <acm@muc.de>
18478 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18479 c-forward-conditionals, but it doesn't move point and doesn't set
18481 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18482 (c-down-conditional-with-else, c-backward-conditional)
18483 (c-forward-conditional): Refactor to use c-scan-conditionals.
18485 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18487 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18488 (help-default-arg-highlight): Remove.
18489 (help-highlight-arg): New function.
18490 (help-do-arg-highlight): Use it.
18491 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18493 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18495 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18496 Undo last change, which didn't fix the problem and introduced others.
18498 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18500 * progmodes/gdb-mi.el: Don't require speedbar.
18501 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18503 2009-09-24 Glenn Morris <rgm@gnu.org>
18505 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18507 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18509 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18510 there is no newline after the final mime boundary. (Bug#4539)
18511 Move markers on insertion so that any buttons inserted don't end up in
18512 the next part of a multipart message.
18513 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18514 (rmail-mime-bulk-handler): Optionally handle images.
18515 (rmail-mime-image): New button action.
18516 (rmail-mime-image-handler): New function.
18517 (rmail-mime-mode): New mode.
18518 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18520 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18522 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18523 than just dropping elements from it (bug#4504).
18525 * term.el (term-set-scroll-region): Don't move cursor any more.
18526 (term-handle-ansi-escape): Call term-goto here instead.
18527 Suggested by Ivan Kanis <apple@kanis.eu>.
18529 * term.el: Require CL.
18530 (term-ansi-reset): New function.
18531 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18532 (term-handle-colors-array): Simplify.
18534 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18536 * allout.el (allout-overlay-interior-modification-handler)
18537 (allout-obtain-passphrase):
18538 * epa-file.el (epa-file-write-region):
18539 * ps-print.el (ps-begin-job):
18540 * vc-hooks.el (vc-toggle-read-only):
18541 * vc-rcs.el (vc-rcs-rollback):
18542 * vc-sccs.el (vc-sccs-rollback):
18543 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18544 (vc-version-diff, vc-revert, vc-rollback):
18545 * wdired.el (wdired-check-kill-buffer):
18546 * emacs-lisp/authors.el (authors):
18547 * net/socks.el (socks-open-connection):
18548 * net/zeroconf.el (zeroconf-service-add-hook):
18549 * obsolete/vc-mcvs.el (vc-mcvs-register):
18550 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18551 (gdb-select-frame):
18552 * progmodes/grep.el (lgrep, rgrep):
18553 * progmodes/idlw-help.el (idlwave-help-check-locations)
18554 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18555 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18556 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18557 (reftex-toc-rename-label): Fix typos in error messages.
18559 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18560 (dired-copy-how-to-fn): Doc fix.
18561 (dired-files-attributes, dired-read-shell-command):
18562 Fix typos in docstrings.
18564 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18565 (dired-x-find-file-other-window): Reflow docstrings.
18566 (dired-omit-marker-char, dired-read-shell-command)
18567 (dired-x-submit-report): Fix typos in docstrings.
18569 * shell.el (shell-mode-hook):
18570 * view.el (View-scroll-line-forward):
18571 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18572 Fix typos in docstrings.
18574 * net/dig.el (dig-invoke): Fix typo in docstring.
18575 (query-dig): Reflow docstring.
18577 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18578 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18579 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18580 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18581 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18582 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18583 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18584 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18585 (idlwave-completion-map, idlwave-current-indent)
18586 (idlwave-custom-ampersand-surround, idlwave-customize)
18587 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18588 (idlwave-define-abbrev, idlwave-determine-class-special)
18589 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18590 (idlwave-end-block-reg, idlwave-end-of-statement)
18591 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18592 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18593 (idlwave-explicit-class-listed, idlwave-file-header)
18594 (idlwave-fill-paragraph, idlwave-find-class-definition)
18595 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18596 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18597 (idlwave-in-quote, idlwave-indent-action-table)
18598 (idlwave-indent-expand-table, idlwave-indent-line)
18599 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18600 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18601 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18602 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18603 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18604 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18605 (idlwave-outlawed-buffers, idlwave-popup-select)
18606 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18607 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18608 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18609 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18610 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18611 (idlwave-statement-type, idlwave-struct-skip)
18612 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18613 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18614 (idlwave-what-module-find-class): Fix typos in docstrings.
18615 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18616 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18617 (idlwave-find-module, idlwave-find-structure-definition)
18618 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18619 (idlwave-list-load-path-shadows, idlwave-next-statement)
18620 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18621 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18622 (idlwave-template): Reflow docstrings.
18624 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18625 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18626 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18627 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18628 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18629 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18630 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18631 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18632 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18633 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18634 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18635 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18636 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18637 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18638 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18639 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18640 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18641 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18642 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18643 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18644 Fix typos in docstrings.
18645 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18646 (idlwave-shell-hide-output, idlwave-shell-mode)
18647 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18650 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18652 2009-09-24 Ivan Kanis <apple@kanis.eu>
18654 * term.el (term-bold-attribute): New var.
18655 (term-handle-colors-array): Use it.
18657 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18659 * progmodes/gdb-mi.el (gdb-version): New variable.
18660 (gdb-non-stop-handler): Set gdb-version.
18661 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18662 Condition "--thread" option on gdb-version.
18663 (gdb-invalidate-threads): Remove unused argument.
18665 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18667 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18668 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18670 2009-09-23 Glenn Morris <rgm@gnu.org>
18672 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18673 replying to mail without References or Message-Id. (Bug#4525)
18675 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18677 * term/ns-win.el (ns-reg-to-script): New variable.
18679 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18681 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18683 2009-09-22 Sam Steingold <sds@gnu.org>
18685 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18686 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18687 to 1 because hg returns status 1 when nothing is found.
18688 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18690 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18692 * textmodes/fill.el: Convert to utf-8 encoding.
18693 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18696 * add-log.el (change-log-fill-forward-paragraph): New function.
18697 (change-log-mode): Use it so fill-region DTRT.
18698 Set fill-indent-according-to-mode here rather than in
18699 change-log-fill-paragraph.
18700 (change-log-fill-paragraph): Remove.
18702 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18704 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18705 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18707 2009-09-22 Glenn Morris <rgm@gnu.org>
18709 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18710 the scroll-bar scroll the calendar window rather than the buffer.
18712 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18713 commands that move point (as opposed to scrolling).
18715 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18717 * emacs-lisp/elint.el (elint): New custom group.
18718 (elint-log-buffer): Make it a defcustom.
18719 (elint-scan-preloaded, elint-ignored-warnings)
18720 (elint-directory-skip-re): New options.
18721 (elint-builtin-variables): Doc fix.
18722 (elint-preloaded-env): New variable.
18723 (elint-unknown-builtin-args): Add an entry for encode-time.
18724 (elint-extra-errors): Make it a variable rather than a constant.
18725 (elint-preloaded-skip-re): New constant.
18726 (elint-directory): Skip files matching elint-directory-skip-re.
18727 (elint-features): New variable, local to linted buffers.
18728 (elint-update-env): Initialize elint-features. Possibly add
18729 elint-preloaded-env to the buffer's environment.
18730 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18732 (elint-init-form): New function, extracted from elint-init-env.
18733 Make non-list forms a warning rather than an error.
18734 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18735 easy-menu-define, put that adds an error-condition, and provide.
18736 When requiring cl, also require cl-macs. Really require cl, to handle
18737 some cl macros. Store required libraries in the list elint-features,
18738 so as not to re-load them. Treat cc-require like require.
18739 (elint-init-env): Call elint-init-form to do the work.
18740 Handle eval-and-compile and such like.
18741 (elint-add-required-env): Do not clear messages.
18742 (elint-special-forms): Add handlers for function, defalias, if, when,
18744 (elint-form): Add optional argument to ignore elint-special-forms,
18745 useful to prevent recursive calls from handlers. Doc fix.
18746 Respect elint-ignored-warnings.
18747 (elint-form): Respect elint-ignored-warnings.
18748 (elint-bound-variable, elint-bound-function): New variables.
18749 (elint-unbound-variable): Respect elint-bound-variable.
18750 (elint-get-args): Respect elint-bound-function.
18751 (elint-check-cond-form): Add some simple handling for (f)boundp and
18753 (elint-check-defalias-form): New handler.
18754 (elint-check-let-form): Make an empty let a warning rather than an
18756 (elint-check-setq-form): Make an empty setq a warning rather than an
18757 error. Respect elint-ignored-warnings.
18758 (elint-check-defvar-form): Accept null doc-strings.
18759 (elint-check-conditional-form): New handler. Does some simple-minded
18760 checking of featurep and (f)boundp tests.
18761 (elint-put-function-args): New function.
18762 (elint-initialize): Use elint-scan-doc-file rather than
18763 elint-find-builtin-variables. Use elint-put-function-args.
18764 Possibly scan preloaded-file-list.
18765 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18766 extend to handle functions as well.
18768 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18770 * linum.el (linum-delete-overlays, linum-update-window):
18771 Do not modify the right margin. (Bug#3971)
18773 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18775 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18776 Use nxml-mode instead of xml-mode.
18778 2009-09-21 Kevin Ryde <user42@zip.com.au>
18780 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18782 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18784 * net/dig.el (dig-mode): Use define-derived-mode.
18786 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18788 * vc-dispatcher.el (vc-do-command): Return the process object in
18789 the asynchronous case. Use when instead of if. Do not run
18790 vc-exec-after to display a message if not enabled. (Bug#4463)
18792 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18793 properties to the stash strings.
18794 (vc-git-stash-list): Return a list of strings.
18795 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18796 (vc-git-stash-show-at-point): New functions.
18797 (vc-git-stash-map): New keymap.
18799 * register.el (ctl-x-r-map): Define the keys here instead of
18802 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18804 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18805 list, to workaround performance problem (bug#4485).
18807 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18809 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18811 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18813 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18814 Document that this option is not recommended to use.
18816 2009-09-19 Glenn Morris <rgm@gnu.org>
18818 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18821 * calc/calc-alg.el (var):
18822 * calc/calcalg2.el (var): Define for compiler.
18824 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18826 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18827 Doc fix (Bug#3932).
18829 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18831 * time-stamp.el (time-stamp-month-dd-yyyy)
18832 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18833 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18834 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18835 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18836 Remove functions that have been obsolete since 1995 (Bug#4436).
18838 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18839 indent buffer only if called interactively (Bug#4452).
18841 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18842 Eli Zaretskii <eliz@gnu.org>
18844 This fixes bug#4197 (merged to bug#865, though not identical).
18845 * server.el (server-auth-dir): Add docstring note about FAT32.
18846 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18847 but warn against using them.
18849 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18851 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18852 older GDB where there is no has_more field.
18854 2009-09-19 Glenn Morris <rgm@gnu.org>
18856 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18858 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18860 * files.el (auto-mode-alist): Change default for XML files to nXML
18863 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18865 * server.el (server-ensure-safe-dir): Pass 'integer
18866 to `file-attributes', as suggested.
18868 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18870 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18871 (dired-query): Use read-key.
18873 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18875 * cus-start.el (ns-use-qd-smoothing): Remove.
18877 2009-09-18 Glenn Morris <rgm@gnu.org>
18879 * allout.el (top-level): Remove unnecessary progn.
18881 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18883 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18884 definition of abbrev table.
18886 * speedbar.el (speedbar-track-mouse):
18887 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18888 * net/eudc.el (eudc-expand-inline):
18889 * net/newst-backend.el (newsticker--cache-read-feed):
18890 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18891 condition-case handlers.
18893 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18895 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18896 (gdb-var-list): Add an element for has_more field.
18897 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18898 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18899 (gdb-var-update-handler-1): Parse output of dynamic variable
18900 objects (STL containers).
18901 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18902 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18904 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18906 (gud-speedbar-buttons): Make node expandable if expression "has more"
18909 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18911 * startup.el (emacs-quick-startup): Remove variable and all uses.
18912 (command-line): Set `inhibit-x-resources' instead.
18913 (command-line-1): Use `inhibit-x-resources' instead.
18915 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18917 * subr.el: Fix last change to avoid using the `unless' macro,
18918 which breaks bootstrapping.
18920 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18922 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18923 extended definitions, in case we reload subr.el after having
18925 (eval-next-after-load): Mark as obsolete.
18927 2009-09-17 Juri Linkov <juri@jurta.org>
18929 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18930 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18931 (menu-bar-showhide-menu, menu-bar-tools-menu)
18932 (menu-bar-describe-menu, menu-bar-help-menu)
18933 (minibuffer-local-completion-map, minibuffer-local-map):
18936 2009-09-17 Glenn Morris <rgm@gnu.org>
18938 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18939 arguments, whether or not it has a handler.
18941 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18943 * simple.el (hard-newline): Give it a doc-string.
18945 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18946 (lisp-mode-syntax-table): Give them doc-strings.
18948 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18950 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18951 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18952 (menu-bar-options-menu, menu-bar-showhide-menu)
18953 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18954 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18955 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18956 (menu-bar-options-menu, menu-bar-tools-menu)
18957 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18958 (menu-bar-help-menu):
18959 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18962 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18963 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18964 calls for the menu names and :help.
18966 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18968 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18969 to :minor-mode-function (bug#4455).
18971 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18973 * startup.el (command-line): Initialize the window-system after
18974 processing the command-line.
18976 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18977 page-delimiter matches the empty string.
18979 2009-09-16 Glenn Morris <rgm@gnu.org>
18981 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18982 byte-compile-not-obsolete-var. It's a list now.
18983 (byte-compile-not-obsolete-funcs): New variable.
18984 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18985 byte-compile-not-obsolete-funcs.
18986 (byte-compile-variable-ref, byte-compile-defvar): Update for
18987 byte-compile-not-obsolete-vars name-change and list nature.
18988 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18989 and variables behind (f)boundp tests.
18990 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18992 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18994 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18996 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18998 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18999 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19002 2009-09-15 Stephen Eglen <stephen@gnu.org>
19004 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19005 the virtual-buffers, use the name of the buffer specified by
19006 find-file-noselect, as the match may be a symlink. (This was a
19007 problem if the target and the symlink had different names.)
19009 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19011 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19013 * desktop.el (desktop-path): Check user-emacs-directory.
19015 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19017 * loadup.el: Use after-load-functions to GC after loading each file.
19018 Remove the explicit GC calls that used to be sprinkled around.
19020 * subr.el (after-load-functions): New hook.
19021 (do-after-load-evaluation): Run it. Use string-match-p to detect
19022 `obsolete' packages, rather than painfully extracting the relevant
19025 2009-09-15 Glenn Morris <rgm@gnu.org>
19027 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19028 free variable `doc'.
19030 * dired.el (dired-mode-map): Add menu entry for async shell command.
19032 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19033 variables, also consider the .elc files, since the .el files are
19034 normally gzipped (subsequent code locates the .el.gz from the .elc).
19036 * calc/calc-prog.el (arglist): Define for compiler.
19038 * calendar/diary-lib.el (diary-display-function): Change the default to
19040 (body): Define for compiler.
19042 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19043 (byte-compile-file-form, byte-compile-lambda)
19044 (byte-compile-top-level-body, byte-compile-form)
19045 (byte-compile-variable-ref, byte-compile-setq)
19046 (byte-compile-setq-default, byte-compile-body)
19047 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19048 (batch-byte-compile): Give some more local variables with common names
19049 a "bytecomp-" prefix to avoid masking warnings about free variables.
19051 * startup.el (command-line-1): Give local variables with common names a
19052 distinguishing prefix, so as not to hide free variable warnings during
19055 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19056 clever and add a suffix to make a unique name, just let the user decide
19057 whether or not to overwrite it. If the input is a directory, write the
19058 default filename to that directory. (Bug#4388)
19059 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19060 is a filename-as-a-directory.
19062 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19064 * textmodes/page.el (what-page): Don't move to beginning of line.
19065 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19067 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19069 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19071 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19073 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19074 * help.el (help-for-help-internal): Add purecopy calls for text.
19076 * vc.el (top): print-log method now takes an optional SHORTLOG
19077 argument. Add a new method: root.
19078 (vc-root-diff, vc-print-root-log): New functions.
19079 (vc-log-short-style): New variable.
19080 (vc-print-log-internal): Add support for showing short logs.
19082 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19083 vc-print-root-log and vc-print-root-diff.
19085 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19086 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19087 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19090 * vc-cvs.el (vc-cvs-print-log):
19091 * vc-mtn.el (vc-mtn-print-log):
19092 * vc-rcs.el (vc-rcs-print-log):
19093 * vc-sccs.el (vc-sccs-print-log):
19094 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19095 that is ignored for now.
19097 * vc-mtn.el (vc-mtn-annotate-command):
19098 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19100 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19102 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19103 to function-key-map, and give them ascii-character property.
19104 * term/x-win.el (x-alternatives-map):
19105 * term/ns-win.el (ns-alternatives-map):
19106 * term/internal.el (msdos-key-remapping-map):
19107 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19109 2009-09-14 Glenn Morris <rgm@gnu.org>
19111 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19112 temp-buffers (2009-09-12).
19114 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19116 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19117 the new read-key function.
19119 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19121 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19122 is defined (Bug#4405).
19124 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19126 * recentf.el (recentf-cleanup): Use a hash table to find
19127 duplicates (Bug#4407).
19129 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19131 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19132 kp-0 to ascii equivalents (Bug#4325).
19134 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19136 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19138 * eshell/em-hist.el:
19139 * eshell/em-dirs.el (eshell-complete-user-reference):
19140 Declare pcomplete functions and variables to avoid compiler warnings.
19142 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19144 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19145 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19146 * eshell/em-alias.el (eshell-aliases-file):
19147 * eshell/em-hist.el (eshell-history-file-name):
19148 Use expand-file-name instead of concat to make file names (Bug#4308).
19150 2009-09-13 Glenn Morris <rgm@gnu.org>
19152 * ediff-merg.el (ediff-do-merge):
19153 * filesets.el (filesets-run-cmd):
19154 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19155 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19156 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19157 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19158 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19159 Replace empty `let's with `progn'.
19161 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19163 * mail/sendmail.el (send-mail-function):
19164 * tooltip.el (tooltip-mode):
19165 * simple.el (transient-mark-mode):
19166 * rfn-eshadow.el (file-name-shadow-mode):
19167 * frame.el (blink-cursor-mode):
19168 * font-core.el (global-font-lock-mode):
19169 * files.el (temporary-file-directory)
19170 (small-temporary-file-directory, auto-save-file-name-transforms):
19171 * epa-hook.el (auto-encryption-mode):
19172 * composite.el (global-auto-composition-mode):
19173 Use custom-initialize-delay.
19174 * startup.el (command-line): Don't explicitly call
19175 custom-reevaluate-setting for all the above vars.
19176 * custom.el (custom-initialize-safe-set)
19177 (custom-initialize-safe-default): Delete.
19179 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19181 * term/x-win.el (x-initialize-window-system):
19182 * term/w32-win.el (w32-initialize-window-system):
19183 * term/ns-win.el (ns-initialize-window-system): Don't call
19184 mouse-wheel-mode since it's enabled globally by default already.
19186 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19187 actually define the variable, but only silences the byte-compiler.
19188 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19189 before looking it up.
19190 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19193 2009-09-12 Glenn Morris <rgm@gnu.org>
19195 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19197 (elint-add-required-env): Don't beep on error.
19198 (elint-forms): In case of error, return ENV unchanged.
19199 (elint-init-env): Skip non-list forms.
19200 (elint-log): Handle unknown file positions.
19202 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19204 * epg.el (epg-make-context): Add autoload cookie.
19205 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19206 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19207 (epg-verify-string, epg-start-sign, epg-sign-file)
19208 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19209 (epg-encrypt-string, epg-start-export-keys)
19210 (epg-export-keys-to-file, epg-export-keys-to-string)
19211 (epg-start-import-keys, epg-import-keys-from-file)
19212 (epg-import-keys-from-string, epg-start-receive-keys)
19213 (epg-receive-keys, epg-import-keys-from-server)
19214 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19215 (epg-sign-keys, epg-start-generate-key)
19216 (epg-generate-key-from-file, epg-generate-key-from-string):
19217 Remove autoload cookie.
19219 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19221 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19222 reevaluation of trash-directory.
19224 * mwheel.el: Fix last change.
19225 (mouse-wheel-mode): New defvar.
19226 (mouse-wheel-mode): Remove autoload cookie.
19228 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19230 * mwheel.el (mwheel-installed-bindings): New var.
19231 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19232 the bindings we set last time. Use custom-initialize-delay.
19233 * loadup.el: Load mwheel after term/*-win.el.
19234 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19235 and mouse-wheel-up-event now that their first evaluation is done
19236 sufficiently late to be correct.
19238 * startup.el (tutorial-directory): Make it a defcustom.
19239 Use custom-initialize-delay rather than eval-at-startup to set it.
19240 * image.el (image-load-path): Make it a defcustom.
19241 Use custom-initialize-delay rather than eval-at-startup to set it.
19242 * subr.el (eval-at-startup): Remove.
19243 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19245 * subr.el (do-after-load-evaluation): Warn the user after loading an
19248 2009-09-12 Glenn Morris <rgm@gnu.org>
19250 * proced.el (proced-mark-alt): Remove alias.
19251 (proced-mode-map): Remove proced-mark-alt.
19253 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19254 Elint file and directory. Remove initialization entry.
19256 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19258 (elint-current-buffer): Set mode-line-process.
19259 (elint-init-env): Handle define-derived-mode.
19260 Fix declare-function with unspecified arglist. Guard against odd
19261 defalias statements (eg iso-insert's 8859-1-map).
19262 (elint-add-required-env): Use a temp buffer.
19263 (elint-form): Just print the function/macro name, not the whole form.
19264 Return env unchanged if we fail to parse a macro.
19265 (elint-forms): Guard against parse errors.
19266 (elint-output): New function, to handle batch mode.
19267 (elint-log-message): Add optional argument. Use elint-output.
19268 (elint-set-mode-line): New function.
19270 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19272 * emacs-lisp/elp.el (elp-not-profilable): Add more
19273 functions (Bug#4233).
19275 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19277 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19278 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19280 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19282 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19283 (gdb-var-list-children): Use json parsing.
19285 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19287 * progmodes/js.el (js--proper-indentation): Handle the case where
19288 char-before is null. Reported by Deniz Dogan.
19290 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19292 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19294 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19296 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19297 (epg-digest-algorithm-alist): Add SHA224.
19298 (epg-context-set-passphrase-callback)
19299 (epg-context-set-progress-callback): Add description about
19302 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19304 * custom.el (custom-delayed-init-variables): New var.
19305 (custom-initialize-delay): New function.
19306 * startup.el (command-line): "Re"evaluate all vars in
19307 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19308 explicitly any more.
19309 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19310 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19312 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19314 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19316 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19317 (gdb-var-update-handler): Use json parsing.
19319 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19321 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19322 decode annotated text, regardless of language environment. (Bug#2741)
19324 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19326 * Makefile.in (autoloads): Make rmail.el writable as well.
19328 2009-09-11 Glenn Morris <rgm@gnu.org>
19330 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19332 * dired.el: Regenerate with extracted autoloads.
19333 * Makefile.in (autoloads): Make dired.el writable.
19335 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19336 * ibuffer.el: Regenerate with extracted autoloads.
19337 * Makefile.in (autoloads): Make ibuffer.el writable.
19339 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19340 * version.el (emacs-copyright, emacs-major-version)
19341 (emacs-minor-version): Reformat doc-strings for make-docfile.
19343 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19344 functions and variables, since they must be stuff specific to some other
19346 (apropos-print): Make mouse-click message less specific about button.
19348 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19349 that records where a macro was defined.
19350 * help-fns.el (describe-function-1): Mention if a function has a
19352 * help-mode.el (help-function-cmacro): New button.
19354 * locate.el (top-level): Always require dired.
19355 (locate-mode-map): Initialize inside the defvar.
19357 * net/ange-ftp.el (dired-compress-file): Declare.
19358 (ange-ftp-dired-compress-file): Add doc string.
19360 * term/ns-win.el (x-display-name, x-setup-function-keys):
19361 Unify doc-strings with X versions.
19363 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19365 * emulation/crisp.el (crisp-mode-map): Move initialization
19367 (crisp-mode): Use define-minor-mode.
19369 * progmodes/xscheme.el (xscheme-evaluation-commands):
19370 Put a :advertised-binding property rather than using
19371 advertised-xscheme-send-previous-expression.
19372 (advertised-xscheme-send-previous-expression): Declare obsolete.
19373 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19375 (crisp-mode): Add corresponding bindings to
19376 undo's :advertised-binding instead.
19377 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19378 than using dired-advertised-find-file.
19379 (dired-advertised-find-file):
19380 * simple.el (advertised-undo):
19381 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19382 (widget-keymap): Put a :advertised-binding property rather
19383 than using advertised-widget-backward.
19384 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19385 than using advertised-undo.
19386 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19388 2009-09-10 Simon South <ssouth@slowcomputing.org>
19390 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19391 Mark mode is enabled and region is active; otherwise indent or
19392 insert TAB as usual.
19393 (delphi-mode): Update description of TAB-key binding.
19395 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19397 * subr.el (define-key-rebound-commands): Mark obsolete.
19398 * startup.el (precompute-menubar-bindings): Remove.
19399 (normal-top-level): Remove obsolete code that tried to precompute
19401 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19402 define-key-rebound-commands and precompute-menubar-bindings.
19404 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19406 * net/imap.el (imap-interactive-login): Better messages.
19407 (imap-open): Fix bug with renamed buffer on reconnect.
19408 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19409 for easier debugging and cleaner code. On successful (guessed based on
19410 server capabilities) secondary authentication, set imap-state
19412 (imap-last-authenticator): Define imap-last-authenticator as a variable
19415 2009-09-10 Glenn Morris <rgm@gnu.org>
19417 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19419 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19420 (byte-compile-file-form-autoload): Don't warn about unknown functions
19421 where the autoload statement comes after the use.
19422 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19423 that any handlers inside the body (eg require) are in turn respected.
19425 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19428 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19429 and syntax and abbrev tables basic docs, if they don't have any.
19431 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19433 * international/mule-cmds.el (top-level): Require cl when compiling.
19434 (view-hello-file): Use default-value rather than
19435 default-enable-multibyte-characters.
19437 * progmodes/fortran.el: Move all safe and risky properties into the
19440 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19441 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19442 * mail/undigest.el:
19443 Put autoloads in rmail.el rather than loaddefs.el.
19444 * mail/rmail.el: Regenerate with extracted autoloads.
19446 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19447 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19449 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19451 Reported in thread for Bug#4375.
19452 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19453 "-data-evaluate-expression" instead of print.
19454 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19455 (gdb-tooltip-print): Parse output from above MI command.
19456 (gdb): Revert 2009-08-11 change. User should detach inferior
19459 Remove the word "separate" from IO functions as inferior
19460 output is now never displayed in the GUD buffer.
19462 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19464 * startup.el (command-line-normalize-file-name): On Windows and
19465 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19467 2009-09-10 Juri Linkov <juri@jurta.org>
19469 * isearch.el (isearch-text-char-description): Propertize escape
19470 character sequences with the `escape-glyph' face. (Bug#4344)
19472 * simple.el (shell-command): Set asynchronous process filter to
19473 `comint-output-filter'. (Bug#4343)
19475 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19476 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19477 the list. Move "asm" to the bottom.
19478 (grep-find-ignored-directories): Add `choice' with nil value
19479 to empty the list easily.
19480 (grep-find-ignored-files): New option.
19481 (grep-files-history): Set to nil by default instead of '("ch" "el").
19482 (grep-compute-defaults): Add "<X>" to `grep-template'.
19483 (grep-read-files): Bind new local variables `default-alias' and
19484 `default-extension'. Use a list of default values for the file prompt.
19485 (lgrep): Add `--exclude=' command line options composed from
19486 `grep-find-ignored-files'.
19487 (rgrep): Add `-name' command line options composed from
19488 `grep-find-ignored-files'. (Bug#4301)
19490 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19492 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19495 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19497 * calendar/time-date.el (autoload):
19498 Expand define-obsolete-function-alias into defalias and make-obsolete
19499 for old Emacsen that Gnus supports.
19500 (with-no-warnings): Define it for old Emacsen.
19501 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19503 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19504 float-time is available; suppress compile warning for time-to-seconds.
19506 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19508 * net/imap.el (imap-message-map): Docstring fix.
19510 2009-09-09 Glenn Morris <rgm@gnu.org>
19512 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19513 line numbers too. (Bug#4374)
19515 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19517 * smerge-mode.el (smerge-remove-props, smerge-refine):
19518 Use with-silent-modifications (bug#4342).
19520 * subr.el (with-silent-modifications): New macro.
19522 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19524 * files.el (top-level): Require `cl' when compiling.
19526 2009-09-07 Glenn Morris <rgm@gnu.org>
19528 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19530 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19531 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19533 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19535 * vc-git.el (vc-git-annotate-command): Use separator to parse
19536 arguments correctly.
19538 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19540 * proced.el (proced-mode): Doc fix.
19542 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19544 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19546 (tramp-do-file-attributes-with-ls): Check for file existence at
19548 (tramp-do-file-attributes-with-stat): Likewise.
19549 (tramp-convert-file-attributes): Return nil when attr is nil.
19551 2009-09-05 Glenn Morris <rgm@gnu.org>
19553 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19554 properties to this button.
19555 (diary-fancy-display): Don't extend the button to the final newline.
19556 (diary-fancy-display-mode): Continue to define "q" as a local key.
19558 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19561 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19563 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19564 (byte-compile-dest-file-function): New option.
19565 (byte-compile-dest-file): Doc fix.
19566 Obey byte-compile-dest-file-function.
19567 (byte-compile-cl-file-p): New function.
19568 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19569 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19570 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19571 than for file being previously loaded.
19572 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19573 (byte-compile-file-form-require): Handle the case where requiring a file
19574 indirectly causes CL to be loaded.
19576 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19578 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19579 before killing the old buffer, since by the time `kill-buffer' is
19580 run so many buffer variables have been set to nil that it may not
19581 behave as expected. (Bug#4061)
19583 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19585 * files.el (find-alternate-file): If the old buffer is modified
19586 and visiting a file, behave similarly to `kill-buffer' when
19587 killing it, thus reverting to the pre-1.878 behavior; see
19588 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19589 for discussion. Also, consult `buffer-file-name' as a variable
19590 not as a function, for consistency with the rest of the code.
19592 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19594 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19595 also when adding a new directory.
19597 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19600 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19602 * files.el (locate-file-completion-table): Make it provide boundary
19603 information, so partial-completion works better.
19605 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19607 * mail/footnote.el (Footnote-text-under-cursor):
19608 Check footnote-text-marker-alist before using it (bug#4324).
19610 2009-09-04 Glenn Morris <rgm@gnu.org>
19612 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19613 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19614 * play/solitaire.el, play/tetris.el:
19615 Remove leading * from defcustom and defface docs.
19617 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19619 (diary-fancy-overriding-map): New variable.
19620 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19623 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19626 2009-09-03 Glenn Morris <rgm@gnu.org>
19628 * arc-mode.el (archive-mode):
19629 * dos-fns.el (set-default-process-coding-system):
19630 * man.el (Man-getpage-in-background):
19631 * menu-bar.el (menu-bar-describe-menu):
19632 * server.el (server-process-filter):
19633 * startup.el (command-line):
19634 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19635 * w32-fns.el (set-default-process-coding-system):
19636 * x-dnd.el (x-dnd-handle-file-name):
19637 * international/mule-cmds.el (mule-menu-keymap)
19638 (set-default-coding-systems, language-info-alist, set-language-info)
19639 (set-language-environment, standard-display-european-internal)
19640 (set-locale-environment):
19641 * international/mule-diag.el (mule-diag):
19642 * mail/emacsbug.el (report-emacs-bug):
19643 * mail/rmail.el (rmail-mode):
19644 * mail/sendmail.el (mail-setup):
19645 Use default-value rather than default-enable-multibyte-characters.
19647 * progmodes/f90.el: Move all safe properties into the defcustoms.
19648 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19650 * calendar/appt.el (appt-check):
19651 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19652 (diary-check-diary-file, diary-list-entries)
19653 (diary-include-other-diary-files, diary-simple-display)
19654 (diary-fancy-display, diary-print-entries)
19655 (diary-mark-included-diary-files, diary-make-entry):
19656 Don't call substitute-in-file-name on diary-file.
19658 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19659 Stefan Monnier <monnier@iro.umontreal.ca>
19661 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19662 (footnote-mode-map): Move initialization into the declaration.
19663 (footnote-minor-mode-map): Define it rather than changing global-map.
19664 (footnote-mode): Use define-minor-mode.
19666 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19668 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19669 (tramp-do-file-attributes-with-perl)
19670 (tramp-do-file-attributes-with-stat): Rename from
19671 `tramp-handle-file-attributes-with-*'.
19672 (tramp-handle-file-attributes): Use them.
19673 (tramp-do-directory-files-and-attributes-with-perl)
19674 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19675 `tramp-handle-directory-files-and-attributes-with-*'.
19676 (tramp-handle-directory-files-and-attributes): Use them.
19677 (tramp-method-out-of-band-p): Additional parameter SIZE.
19678 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19679 (tramp-handle-write-region): Use it.
19680 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19681 (tramp-handle-vc-registered): Check, whether the first run did
19682 return files to be tested.
19683 (tramp-advice-make-auto-save-file-name): Do not call directly
19684 `tramp-handle-make-auto-save-file-name', because this would bypass
19685 the locking mechanism.
19687 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19688 (file-remote-p, process-file, start-file-process, set-file-times)
19689 (tramp-compat-file-attributes): Compatibility functions shall not
19690 call directly `tramp-handle-*', because this would bypass the
19692 (tramp-compat-number-sequence): New defun.
19694 2009-09-02 Glenn Morris <rgm@gnu.org>
19696 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19697 alias for float-time.
19698 (time-to-number-of-days): In Emacs, use float-time.
19699 * net/newst-backend.el (time-add): Suppress warnings from compat
19701 * time.el (emacs-uptime, emacs-init-time):
19702 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19703 Use float-time rather than time-to-seconds.
19705 * minibuffer.el (completion-initials-expand): Fix typo.
19707 * faces.el (modeline, modeline-inactive, modeline-highlight)
19708 (modeline-buffer-id):
19709 * info.el (info-menu-5): Mark these face aliases as obsolete.
19711 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19713 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19715 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19716 no "--thread" option.
19717 (gdb-stopped): Don't print "Switched to thread" message when it is
19720 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19722 * minibuffer.el (completion-try-completion)
19723 (completion-all-completions): Remove ill-defined (and
19724 mistakenly installed and luckily never used nor documented)
19725 `completion-styles' property.
19726 (completion-initials-expand, completion-initials-all-completions)
19727 (completion-initials-try-completion): New functions.
19728 (completion-styles-alist): Add doc to each entry.
19729 Add new `initials' entry.
19731 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19733 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19734 MI command -var-evaluate-expression.
19735 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19736 and tweak for case of string child.
19737 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19739 2009-09-01 Glenn Morris <rgm@gnu.org>
19741 * add-log.el (change-log-date-face, change-log-name-face)
19742 (change-log-email-face, change-log-file-face, change-log-list-face)
19743 (change-log-conditionals-face, change-log-function-face)
19744 (change-log-acknowledgement-face):
19745 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19746 (custom-modified-face, custom-set-face, custom-changed-face)
19747 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19748 (custom-documentation-face, custom-state-face, custom-comment-face)
19749 (custom-comment-tag-face, custom-variable-tag-face)
19750 (custom-variable-button-face, custom-face-tag-face)
19751 (custom-group-tag-face-1, custom-group-tag-face):
19752 * diff-mode.el (diff-header-face, diff-file-header-face)
19753 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19754 (diff-added-face, diff-changed-face, diff-function-face)
19755 (diff-context-face, diff-nonexistent-face):
19756 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19757 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19758 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19759 (Info-title-4-face):
19760 * isearch.el (isearch-lazy-highlight-face):
19761 * log-view.el (log-view-file-face, log-view-message-face):
19762 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19763 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19764 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19766 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19767 (smerge-base-face, smerge-markers-face):
19768 * wid-edit.el (widget-documentation-face, widget-button-face)
19769 (widget-field-face, widget-single-line-field-face)
19770 (widget-inactive-face, widget-button-pressed-face):
19771 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19772 (woman-addition-face):
19773 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19774 (eshell-ls-executable-face, eshell-ls-readonly-face)
19775 (eshell-ls-unreadable-face, eshell-ls-special-face)
19776 (eshell-ls-missing-face, eshell-ls-archive-face)
19777 (eshell-ls-backup-face, eshell-ls-product-face)
19778 (eshell-ls-clutter-face):
19779 * eshell/em-prompt.el (eshell-prompt-face):
19780 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19781 * obsolete/old-whitespace.el (whitespace-highlight-face):
19782 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19783 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19784 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19785 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19786 (antlr-font-lock-literal-face):
19787 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19788 (ebrowse-root-class-face, ebrowse-file-name-face)
19789 (ebrowse-default-face, ebrowse-member-attribute-face)
19790 (ebrowse-member-class-face, ebrowse-progress-face):
19791 * progmodes/make-mode.el (makefile-space-face):
19792 * progmodes/sh-script.el (sh-heredoc-face):
19793 * textmodes/flyspell.el (flyspell-incorrect-face)
19794 (flyspell-duplicate-face):
19795 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19796 * textmodes/texinfo.el (texinfo-heading-face):
19797 Mark face aliases with "-face" suffix as obsolete.
19799 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19802 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19803 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19804 easy-menu-define wants to modify these.
19806 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19808 * net/browse-url.el (browse-url-file-url):
19809 * term/internal.el (dos-codepage-setup):
19810 Use default-value rather than default-enable-multibyte-characters.
19812 * progmodes/etags.el (etags-goto-tag-location):
19813 * progmodes/flymake.el (flymake-highlight-line)
19814 (flymake-goto-file-and-line, flymake-goto-line):
19815 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19816 (gdb-goto-breakpoint):
19817 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19818 * progmodes/python.el (python-find-function)
19819 (python-pdbtrack-track-stack-file):
19820 * progmodes/verilog-mode.el (verilog-surelint-off):
19821 * term/ns-win.el (ns-open-file-select-line):
19822 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19823 Use forward-line rather than goto-line.
19825 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19826 * textmodes/reftex-index.el (reftex-display-index):
19827 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19828 * textmodes/reftex-toc.el (reftex-toc):
19829 Remove unnecessary bindings of default-major-mode (all are followed by
19830 major-mode check and possible mode switch).
19832 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19834 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19835 Handle watchpoints (bug#4282).
19836 (def-gdb-thread-buffer-command): Enable thread to be selected by
19837 clicking without selecting threads buffer first.
19838 (gdb-current-context-command): Use selected frame so that "up",
19839 "down" etc work in the GUD buffer.
19840 (gdb-update): Find selected frame before rendering stack buffer.
19841 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19843 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19845 * progmodes/sym-comp.el (displayed-completions): Remove.
19846 (symbol-complete): Use minibuffer-complete.
19848 2009-08-31 Glenn Morris <rgm@gnu.org>
19850 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19852 * apropos.el (apropos-symbols-internal):
19853 Handle (obsolete) face aliases.
19855 * faces.el (describe-face): Adjust the output format to be more like
19856 describe-variable, and to mention (obsolete) face aliases.
19857 Adjust the whitespace so that help-setup-xref works.
19859 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19860 * calendar/diary-lib.el (diary-button-face):
19861 Mark these face aliases as obsolete.
19863 * calendar/calendar.el (calendar-today): Doc fix.
19865 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19867 * progmodes/gdb-mi.el (gdb-control-all-threads)
19868 (gdb-control-current-thread): Force tool bar update.
19869 (gdb-non-stop-handler): New function.
19870 (gdb-init-1): Use it to test if non-stop mode is supported.
19871 Remove unused gdbmi buffer type.
19873 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19875 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19876 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19878 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19880 * comint.el (comint-exec-1): Check command is non-null first.
19881 Part of gdb-mi.el change (2009-08-28).
19883 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19885 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19887 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19889 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19890 instead of `dolist' to avoid a recursive require when bootstrapping.
19892 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19894 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19896 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19898 * net/imap.el (imap-send-command): Simplify.
19899 (imap-wait-for-tag): point-max -> buffer-size.
19901 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19903 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19904 with constant argument.
19906 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19908 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19910 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19911 Change default, since most of our files don't have a history.
19912 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19915 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19918 * calc/calc.el: Improve commenting convention.
19919 (calc-digit-map, toplevel): Simplify.
19921 * comint.el (comint-insert-input): Be careful to only set point if we
19922 don't delegate to some other command.
19924 * proced.el (proced-signal-list): Make it an alist.
19925 (proced-grammar-alist): Capitalize names.
19926 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19927 Disable undo manually and make it read-only.
19928 Use completion-annotate-function.
19930 * minibuffer.el (minibuffer-message): If the current buffer is not
19931 a minibuffer, insert the message in the echo area rather than at the
19933 (completion-annotate-function): New variable.
19934 (minibuffer-completion-help): Use it.
19935 (completion--embedded-envvar-table): Environment vars are
19936 always case-sensitive.
19938 2009-08-30 Glenn Morris <rgm@gnu.org>
19940 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19941 from fortran-current-defun.
19942 (fortran-beginning-of-subprogram): Be more precise about finding the
19943 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19944 (fortran-end-of-subprogram): Simplify.
19945 (fortran-current-defun): Use fortran-start-prog-re.
19947 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19949 * subr.el (do-after-load-evaluation): Simplify.
19951 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19953 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19955 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19956 (vc-rcs-print-log): Use it.
19958 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19960 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19962 * paths.el (abbrev-file-name): Move to abbrev.el.
19963 * abbrev.el (abbrev-file-name): Move from paths.el.
19964 Obey user-emacs-directory.
19965 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19966 user-emacs-directory.
19967 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19968 abbrev-file-name and calc-settings-file any more.
19969 * startup.el (command-line): Recompute abbrev-file-name and
19970 abbreviated-home-dir.
19971 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19972 of the special code for when C-h bindings haven't been changed.
19973 (display-startup-echo-area-message): Use with-current-buffer.
19974 (command-line-1): Use a list of strings, rather than a list of lists
19975 of strings for longopts.
19977 * files.el (get-free-disk-space): Use / for default-directory.
19979 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19980 Use with-current-buffer.
19982 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19983 Recognize immutable variables like most-positive-fixnum.
19984 (byte-compile-setq-default): Check and warn if trying to assign
19985 to an immutable variable, or a non-variable.
19987 * progmodes/cc-vars.el (c-comment-continuation-stars):
19988 * progmodes/cc-engine.el (c-looking-at-bos):
19989 * progmodes/cc-cmds.el (c-toggle-auto-state)
19990 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19991 (c-comment-line-break-function): Add version of obsolescence.
19993 2009-08-28 Juri Linkov <juri@jurta.org>
19995 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19996 associated with `archive-mode'.
19998 * image.el (image-type-header-regexps): Use only JPEG magic number
19999 to determine JPEG images, and don't use `image-jpeg-p' because
20000 Emacs can display non-JFIF non-Exif JPEG images.
20002 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20004 * arc-mode.el (archive-mode):
20005 * emacs-lisp/re-builder.el (re-builder-unload-function):
20006 Protect against the default value of `major-mode' being nil.
20008 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20010 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20011 Fix typos in docstrings.
20013 * progmodes/js.el (js--macro-decl-re): Doc fix.
20014 (js--plain-method-re, js--split-name): Refloc docstring.
20015 (js--class-styles, js--make-merged-item, js--splice-into-items):
20016 Fix typos in docstrings; reflow docstrings.
20017 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20018 (js--variable-decl-matcher, js--inside-pitem-p)
20019 (js--parse-state-at-point, js--get-all-known-symbols)
20020 (js--symbol-history, js-find-symbol, js--js-references)
20021 (js--moz-interactor, js--js-encode-value, js--read-tab):
20022 Fix typos in docstrings.
20024 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20026 * textmodes/reftex.el (reftex-get-file-buffer-force):
20027 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20028 * emulation/viper.el (viper-go-away, viper-set-hooks):
20029 * emacs-lisp/re-builder.el (re-builder-unload-function):
20030 * emacs-lisp/bytecomp.el (byte-compile-file):
20031 * ses.el (ses-unload-function):
20032 * hexl.el (hexl-find-file):
20033 * files.el (normal-mode):
20034 * ehelp.el (with-electric-help):
20035 * autoinsert.el (auto-insert-alist):
20036 * arc-mode.el (archive-mode):
20037 Use (default-value 'major-mode) instead of default-major-mode.
20039 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20040 * international/mule.el (load-with-code-conversion):
20041 * emacs-lisp/debug.el (debug):
20042 * ediff-vers.el (ediff-rcs-get-output-buffer):
20043 * dired.el (dired-internal-noselect): Don't let-bind
20044 default-major-mode around code that doesn't use it.
20045 E.g. buffer creation via get-buffer-create doesn't use it.
20047 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20049 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20050 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20051 when writing the temp file. Otherwise, epa-file gets confused.
20052 (tramp-register-file-name-handlers): Make it a defun. Move also
20053 `epa-file-handler' to the front of `file-name-handler-alist'.
20055 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20057 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20058 start right after a ^M.
20059 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20060 (tramp-completion-file-name-regexp-separate)
20061 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20062 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20063 Don't modify last-coding-system-used by accident.
20064 (tramp-completion-file-name-handler): Apply the checks here,
20065 instead during registration.
20066 (tramp-register-file-name-handlers): Rename from
20067 `tramp-register-file-name-handler'. Register both
20068 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20069 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20071 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20073 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20074 Remove variable ...
20075 (gdb-init-1, gdb-display-separate-io-buffer)
20076 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20078 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20079 (gdb-inferior-filter): Use comint-output-filter to stop
20080 echoing and remove ^M characters.
20082 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20084 * emulation/viper-init.el (viper-restore-cursor-type):
20085 * emulation/cua-base.el (cua--update-indications):
20086 Replace default-cursor-type with (default-value 'cursor-type).
20088 * mail/sendmail.el (mail-recover-1):
20089 * international/mule-diag.el (describe-current-coding-system-briefly)
20090 (describe-current-coding-system):
20091 * international/mule-cmds.el (select-safe-coding-system)
20092 (select-message-coding-system)
20093 (set-language-environment-coding-systems, set-locale-environment):
20094 * hexl.el (hexl-insert-multibyte-char):
20095 * dos-w32.el (find-buffer-file-type-coding-system):
20096 * simple.el (what-cursor-position):
20097 Replace uses of default-buffer-file-coding-system
20098 with (default-value 'buffer-file-coding-system).
20100 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20101 Replace uses of default-cursor-in-non-selected-windows
20102 with (default-value 'cursor-in-non-selected-windows).
20103 Use with-current-buffer.
20105 * mail/feedmail.el: Use CL macros.
20106 (feedmail-run-the-queue, feedmail-send-it-immediately):
20107 * dos-w32.el (find-buffer-file-type): Replace uses of
20108 default-buffer-file-type with (default-value 'buffer-file-type).
20110 2009-08-28 Glenn Morris <rgm@gnu.org>
20112 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20113 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20114 Use default-value of major-mode rather than default-major-mode.
20116 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20118 * Makefile.in (update-elcfiles): Report left over elc files.
20120 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20121 expand-file-name and with-current-buffer.
20122 (mail-get-names, mail-directory): Use with-current-buffer.
20124 * vc.el (vc-read-revision): New function.
20125 (vc-version-diff, vc-merge): Use it.
20127 2009-08-27 Sam Steingold <sds@gnu.org>
20129 * simple.el (kill-do-not-save-duplicates): New user option.
20130 (kill-new): When it is non-nil, and the new string is the same as
20131 the latest kill, set replace to t to avoid duplicates in kill-ring.
20133 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20135 * net/tramp.el (tramp-handle-process-file): Do not flush all
20136 caches when `process-file-side-effects' is set.
20137 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20138 instead of `tramp-find-file-exists-command'.
20139 Unset `process-file-side-effects'.
20141 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20143 * net/tramp.el (tramp-methods): New method "rsyncc".
20144 (top): Add completion function for "rsyncc".
20145 (tramp-message-show-message): New defvar.
20146 (tramp-message, tramp-error): Use it.
20147 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20149 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20150 `tramp-methods' entry `copy-env' of "rsyncc".
20151 (tramp-vc-registered-read-file-names): New defconst.
20152 (tramp-vc-registered-file-names): New defvar.
20153 (tramp-handle-vc-registered): Implement optimization strategy.
20154 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20155 (tramp-vc-file-name-handler): New defun.
20156 (tramp-get-ls-command, tramp-get-test-command)
20157 (tramp-get-file-exists-command, tramp-get-remote-ln)
20158 (tramp-get-remote-perl, tramp-get-remote-stat)
20159 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20161 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20162 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20164 (tramp-get-file-property): Check for timestamps in
20165 `tramp-cache-inhibit-cache'.
20166 (tramp-set-file-property): Write timestamp.
20168 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20170 * language/japan-util.el (japanese-symbol-table): Add entries for
20173 * international/characters.el: Add category `j' to cp932-2-byte.
20175 2009-08-27 Kenichi Handa <handa@m17n.org>
20177 * international/fontset.el (build-default-fontset-data): New macro.
20178 (setup-default-fontset): Use build-default-fontset-data for CJK,
20179 tibetan, ethiopic, and ipa.
20181 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20183 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20184 (enable-multibyte-characters): Not customizable any more.
20186 * subr.el (default-mode-line-format, default-header-line-format)
20187 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20188 (default-direction-reversed, default-truncate-lines)
20189 (default-left-margin, default-tab-width, default-case-fold-search)
20190 (default-left-margin-width, default-right-margin-width)
20191 (default-left-fringe-width, default-right-fringe-width)
20192 (default-fringes-outside-margins, default-scroll-bar-width)
20193 (default-vertical-scroll-bar, default-indicate-empty-lines)
20194 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20195 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20196 (default-scroll-down-aggressively, default-fill-column)
20197 (default-cursor-type, default-buffer-file-type)
20198 (default-cursor-in-non-selected-windows)
20199 (default-buffer-file-coding-system, default-major-mode)
20200 (default-enable-multibyte-characters): Mark as obsolete.
20202 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20204 * vc-dir.el (vc-dir-update): Remove debug helper.
20206 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20208 2009-08-26 Sam Steingold <sds@gnu.org>
20210 * simple.el (save-interprogram-paste-before-kill): New user option.
20211 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20212 save the interprogram-paste into kill-ring before overriding it
20213 with the Emacs kill.
20215 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20217 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20218 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20219 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20220 and move to vc-rcs.el.
20221 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20223 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20224 (vc-rcs-update-changelog): Remove.
20225 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20226 and move to vc-rcs.el.
20228 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20229 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20231 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20232 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20233 vc.el, renamed to be RCS specific.
20235 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20237 (vc-cvs-update-changelog): Move here from vc.el.
20239 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20242 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20244 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20246 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20248 * vc-git.el (vc-git-register): Use "git add" for directories.
20249 (vc-git-stash, vc-git-stash-show): New functions.
20250 (vc-git-extra-menu-map): Bind them.
20252 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20253 directory correctly in case the item is a directory itself.
20255 * vc.el: Document the desired behavior for reverted files in the
20257 (vc-default-prettify-state-info): Remove function, unused.
20259 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20261 2009-08-26 Glenn Morris <rgm@gnu.org>
20263 * bindings.el (standard-mode-line-format): Reposition dashes in
20264 which-func entry. (Bug#4217)
20266 * files.el (enable-local-variables, enable-local-eval)
20267 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20269 (auto-mode-alist, ignored-local-variables)
20270 (save-some-buffers-action-alist): Move risky declarations to the
20272 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20273 (font-lock-defaults, format-alist, imenu--index-alist)
20274 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20275 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20276 (mode-line-modified, mode-line-mule-info, mode-line-position)
20277 (mode-line-process, mode-line-remote, outline-level)
20278 (parse-time-rules, rmail-output-file-alist)
20279 (special-display-buffer-names, vc-mode):
20280 Move risky declarations to the relevant files.
20281 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20282 (mode-line-modified, mode-line-process, mode-line-position)
20283 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20284 * font-core.el (font-lock-defaults):
20285 * format.el (format-alist):
20286 * vc-hooks.el (vc-mode):
20287 * window.el (special-display-buffer-names):
20288 * international/mule-cmds.el (input-method-alist):
20289 Define riskiness here (dumped file) rather than in files.el.
20290 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20291 * imenu.el (imenu-generic-expression, imenu--index-alist):
20292 * outline.el (outline-level):
20293 * time.el (display-time-string):
20294 * calendar/parse-time.el (parse-time-rules):
20295 * mail/rmailout.el (rmail-output-file-alist):
20296 Autoload riskiness here, rather than placing in files.el.
20298 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20300 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20302 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20304 * simple.el (process-file-side-effects): New defvar.
20306 * dired-aux.el (dired-show-file-type):
20307 * vc.el (vc-diff-internal):
20308 * vc-arch.el (vc-arch-diff):
20309 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20310 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20311 * vc-git.el (vc-git-registered, vc-git-working-revision)
20312 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20313 (vc-git--empty-db-p):
20314 * vc-hooks.el (vc-user-login-name):
20315 * vc-svn.el (vc-svn-registered, vc-svn-state)
20316 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20317 * progmodes/grep.el (grep-probe): Let-bind
20318 `process-file-side-effects' with nil.
20320 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20322 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20323 daemon. Replace ping by checking for running service for bluez
20324 and zeroconf. (Bug#4239)
20326 2009-08-25 Kevin Ryde <user42@zip.com.au>
20328 * net/dig.el (dig): Add autoload cookie.
20330 2009-08-25 Glenn Morris <rgm@gnu.org>
20332 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20333 load-history for absolute file-names.
20334 (byte-compile-file-form-require): Warn about use of the cl package.
20336 * format.el (format-alist): Doc fix.
20338 * play/bubbles.el (top-level): Don't require cl at run-time.
20340 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20343 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20345 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20347 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20349 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20351 * calc/calc-alg.el (math-trig-rewrite)
20352 (math-hyperbolic-trig-rewrite): New functions.
20353 (calc-simplify): Simplify trig functions when asked.
20355 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20357 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20359 2009-08-24 Kenichi Handa <handa@m17n.org>
20361 * language/ind-util.el (mapthread): Delete it.
20362 (combinatorial): New function.
20363 (indian--puthash-cv): Use combinatorial instead of mapthread.
20365 2009-08-22 Kevin Ryde <user42@zip.com.au>
20367 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20368 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20369 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20370 Clarify docstring that the value is strings not symbols.
20371 (checkdoc-list-of-strings-p): New function.
20373 2009-08-22 Glenn Morris <rgm@gnu.org>
20375 * files.el (auto-mode-alist):
20376 * hippie-exp.el (he-concat-directory-file-name):
20377 * lpr.el (lpr-windows-system, printer-name):
20378 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20379 * ps-print.el (ps-windows-system):
20380 * startup.el (command-line):
20381 * emulation/viper-ex.el (viper-glob-function):
20382 * international/mule-cmds.el (set-language-environment-coding-systems):
20383 * net/ange-ftp.el (ange-ftp-write-region):
20384 * obsolete/fast-lock.el (fast-lock-cache-name):
20385 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20386 unisoft-unix, vax-vms, win32, w32.
20388 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20389 given name if the pattern is not more specific.
20391 * calendar/lunar.el (lunar-phase-names): New option.
20392 (lunar-phase): Doc fix.
20393 (lunar-cycles-per-year): New constant.
20394 (lunar-index): New function.
20395 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20396 (lunar-phase-name): Use lunar-phase-names.
20397 (calendar-lunar-phases): Use format.
20398 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20400 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20401 Copy imenu-example--name-and-position function here for own use.
20402 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20404 * bs.el (bs--redisplay):
20405 * cus-edit.el (custom-redraw):
20406 * ibuffer.el (ibuffer-bury-buffer):
20407 * server.el (server-goto-line-column):
20408 * startup.el (command-line-1):
20409 * strokes.el (strokes-xpm-for-stroke):
20410 * term.el (term-display-buffer-line):
20411 * view.el (View-goto-line):
20412 * calc/calc.el (calc-do, calc-trail-buffer):
20413 * play/gamegrid.el (gamegrid-add-score-insecure):
20414 * progmodes/ada-mode.el (ada-compile-goto-error):
20415 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20416 (ebrowse-select-1st-to-9nth):
20417 * progmodes/cperl-mode.el (cperl-time-fontification):
20418 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20419 * progmodes/gud.el (gud-display-line):
20420 (idlwave-shell-display-line):
20421 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20422 * progmodes/make-mode.el (makefile-browser-toggle):
20423 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20424 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20425 * textmodes/picture.el (picture-draw-rectangle):
20426 * textmodes/reftex-index.el (reftex-index-goto-letter):
20427 (reftex-select-jump-to-previous):
20428 * textmodes/reftex-sel.el (reftex-find-start-point)
20429 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20430 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20431 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20432 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20433 * textmodes/two-column.el (2C-associated-buffer):
20434 Use forward-line rather than goto-line.
20436 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20439 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20440 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20441 (quick-check-list-to-regexp): Declare.
20443 * progmodes/make-mode.el (makefile-browser-insert-selection):
20444 Use goto-char rather than goto-line.
20446 * progmodes/prolog.el (compilation-error-regexp-alist)
20447 (compilation-forget-errors): Declare.
20449 2009-08-22 Juri Linkov <juri@jurta.org>
20451 * progmodes/grep.el (lgrep, rgrep): At the beginning
20452 set `dir' to `default-directory' unless `dir' is a non-nil
20453 readable directory. (Bug#4052)
20454 (lgrep, rgrep): Change a weird way to report an error
20455 from using `read-string' to using `error'.
20456 Instead of using interactive arguments in the function body,
20457 add new argument `confirm'.
20459 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20461 * textmodes/remember.el (remember-buffer):
20462 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20463 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20464 (icalendar-extract-ical-from-buffer):
20465 * net/newst-treeview.el (newsticker-groups-filename):
20466 * net/newst-backend.el (newsticker-cache-filename):
20467 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20468 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20469 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20470 (speedbar-buffers-line-path, speedbar-path-line)
20471 (speedbar-buffers-line-path):
20472 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20474 * epa.el (epa-display-verify-result):
20475 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20477 2009-08-21 Glenn Morris <rgm@gnu.org>
20479 * progmodes/js.el (inferior-moz-process): Fix declaration.
20481 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20483 * obsolete/rnewspost.el (news-mail-reply):
20484 Use goto-char rather than goto-line.
20486 * term/ns-win.el (ns-open-file-select-line):
20487 Use line-beginning-position rather than goto-line.
20489 * apropos.el (apropos-command):
20490 * ehelp.el (electric-helpify):
20491 * printing.el (pr-show-setup):
20492 * strokes.el (strokes-help):
20493 * tutorial.el (tutorial--describe-nonstandard-key)
20494 (tutorial--detailed-help):
20495 * woman.el (woman-mini-help, woman-display-extended-fonts):
20496 * calc/calc-help.el (calc-describe-key):
20497 * emulation/edt.el (edt-electric-helpify):
20498 * international/mule-diag.el (mule-diag):
20499 * play/yow.el (apropos-zippy):
20500 * progmodes/python.el (python-describe-symbol):
20501 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20502 * textmodes/table.el (*table--cell-describe-mode)
20503 (*table--cell-describe-bindings):
20504 Use help-print-return-message rather than the now obsolete alias.
20506 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20507 (calendar-cursor-to-visible-date):
20508 * play/5x5.el (5x5-position-cursor):
20509 * play/decipher.el (decipher):
20510 * play/gomoku.el (gomoku-goto-xy):
20511 * play/landmark.el (lm-goto-xy):
20512 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20513 (mpuz-paint-digit):
20514 Use forward-line, not goto-line.
20516 * mail/rmail.el (rmail-obsolete): Delete custom group.
20517 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20518 (rmail-remote-password, rmail-remote-password-required):
20519 Remove unneeded :set-after and :set properties.
20521 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20523 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20525 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20527 * loadup.el: Remove leftover macos code.
20529 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20530 Explicitly pass the date format to git blame so that user local
20531 so that the output format can be parsed.
20533 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20535 * net/dbus.el (top): Don't check for (getenv
20536 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20538 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20540 * log-edit.el (log-edit-strip-single-file-name): New var.
20541 (log-edit-insert-changelog): Use it. Bug#3571
20543 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20545 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20548 * help.el (help-print-return-message): Rename from
20549 print-help-return-message.
20551 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20552 cvs-mode-map parent hack.
20553 (log-view-mode): Derive from special-mode.
20555 * linum.el (linum-mode): window-size-change-functions is redundant.
20556 Adapt to new window-configuration-change-hook behavior.
20557 (linum-after-size, linum-after-config): Remove.
20559 * imenu.el (imenu-example--name-and-position)
20560 (imenu-example--lisp-extract-index-name)
20561 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20564 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20565 (inferior-prolog-mode): Use it.
20566 (inferior-prolog-load-file): Reset list of errors.
20568 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20570 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20572 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20574 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20576 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20577 is running already.
20579 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20581 * subr.el (listify-key-sequence-1): Use normal syntax since those
20582 integers are nowadays always represented by the same (positive) number
20584 (read-key-empty-map): New const.
20585 (read-key-delay): New var.
20586 (read-key): New function.
20587 (force-mode-line-update): Use with-current-buffer.
20588 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20589 (start-process-shell-command, start-file-process-shell-command):
20590 Discourage the use of command-args.
20592 2009-08-19 Glenn Morris <rgm@gnu.org>
20594 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20596 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20598 * simple.el (choose-completion-string): Don't rely on
20599 minibuffer-completing-file-name and ad-hoc checks to decide whether
20600 to continue completion or not.
20602 * minibuffer.el (minibuffer-hide-completions): New function.
20603 (completion--do-completion): Use it.
20604 (completions-annotations): New face.
20605 (completion--insert-strings): Use it.
20606 (completion-pcm--delim-wild-regex): Add docstring.
20607 (completion-pcm--string->pattern): Add support for 0-width delimiters
20608 in completion-pcm--delim-wild-regex.
20610 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20612 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20613 Remove unused var `buffer-modified-p'.
20615 * minibuffer.el (completion--do-completion): Move point for the #b001
20616 case as well (bug#4176).
20617 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20619 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20621 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20622 and :session buses.
20624 2009-08-18 Kenichi Handa <handa@m17n.org>
20626 * international/ucs-normalize.el (ucs-normalize-version):
20628 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20629 (utf-8-hfs): Make it perform normalization on encoding too.
20631 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20632 (sentence-end-without-space): Delete duplicated chars.
20633 (sentence-end-base): Likewise.
20635 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20636 (html-mode): Delete duplicated chars from sentence-end-base.
20638 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20639 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20641 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20643 * files.el (hack-one-local-variable): If the mode function is for
20644 a minor mode, pass it an argument (Bug#4148).
20646 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20648 * net/tramp.el (tramp-register-completion-file-name-handler):
20649 Check also for (member 'partial-completion completion-styles).
20651 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20653 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20656 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20658 * progmodes/cperl-mode.el: Merge upstream 6.2.
20659 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20660 (cperl-forward-re): Check cperl-brace-recursing.
20661 (cperl-highlight-charclass): New function.
20662 (cperl-find-pods-heres): Use it.
20663 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20664 (cperl-beautify-regexp-piece): Fix column calculation.
20665 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20666 (cperl-beautify-level): Don't process entire regexp.
20667 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20669 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20670 (cperl-init-faces): Build a list in the normal way.
20672 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20674 * calendar/parse-time.el (parse-time-string-chars): Save match
20677 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20679 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20680 (sql-product): Use it.
20681 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20682 (sql-set-product): Add completion.
20683 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20684 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20685 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20686 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20687 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20688 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20689 (sql-highlight-db2-keywords): Remove.
20690 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20691 (sql-highlight-product): Use derived-mode-p.
20692 (sql-set-sqli-buffer): Use with-current-buffer.
20693 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20696 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20698 * term.el: Fix commenting convention, turn comments into docstrings.
20700 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20702 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20704 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20706 * calendar/parse-time.el (parse-time-string-chars): Compute using
20707 character classes, to handle non-ascii characters (Bug#3190).
20709 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20711 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20712 another heredoc if the user adds another < (Bug#3226).
20714 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20715 Don't initialize based on window-system (Bug#4124).
20717 * facemenu.el (facemenu-read-color): Use a completion function
20718 that accepts any defined color, such as RGB triplets (Bug#3677).
20720 * files.el (get-free-disk-space): Change fallback default
20721 directory to /. Expand DIR argument before switching to fallback.
20722 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20724 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20726 * files.el (load-library): Doc fix.
20728 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20730 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20731 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20732 incremental search string.
20734 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20737 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20738 (ediff-merge-region-is-non-clash)
20739 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20740 Also check if the job is really a merge job.
20742 * ediff.el (ediff-current-file): New function.
20744 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20746 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20748 (js-insert-and-indent): Delete function.
20749 (js-mode-map): Don't bind keys to js-insert-and-indent.
20750 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20751 (js-end-of-defun): Rename from js--end-of-defun.
20752 (js-auto-indent-flag): Delete variable.
20754 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20756 * progmodes/js.el: Remove proclaim statement.
20757 Defvar which-func-imenu-joiner-function to silence compiler.
20759 * files.el (auto-mode-alist): Use js-mode for .js files.
20761 * progmodes/js2-mode.el: Remove file.
20763 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20765 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20767 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20769 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20770 Karl Landstrom <karl.landstrom@brgeight.se>
20772 * progmodes/js.el: New file.
20774 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20776 * timezone.el (timezone-parse-date): Add ability to understand ISO
20777 basic format (minimal separators) dates in addition to the
20778 already-supported extended format dates.
20780 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20782 * international/ucs-normalize.el: Add a `coding' file variable.
20784 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20786 2009-08-14 Sam Steingold <sds@gnu.org>
20788 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20790 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20792 * faces.el (help-argument-name): Define it here instead of
20793 help-fns.el, because in daemon mode help-fns.el may be loaded when
20794 faces are still uninitialized (Bug#1078).
20796 * help-fns.el (help-argument-name): Move defface to faces.el.
20798 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20800 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20801 create buffer with a pty but no process so that GDB can make the
20802 inferior the controlling process.
20804 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20806 * international/ucs-normalize.el: New file.
20808 2009-08-13 Richard Stallman <rms@gnu.org>
20810 * mail/rmail.el (rmail-get-attr-names):
20811 Accept an attribute header that is too short.
20813 * mail/rmail.el (rmail-forget-messages):
20814 Ignore nil elt in rmail-message-vector. Use dotimes.
20816 * progmodes/compile.el (compilation-goto-locus):
20817 Use next-error-move-function.
20819 * simple.el (next-error-move-function): New variable.
20821 2009-08-12 Juri Linkov <juri@jurta.org>
20823 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20824 always non-nil. (Bug#4052)
20826 * replace.el (read-regexp): Return empty string when
20827 `default-value' is nil.
20828 (keep-lines-read-args): Don't use empty string as the
20829 default value for `read-regexp'. (Bug#2495)
20831 2009-08-12 Juri Linkov <juri@jurta.org>
20833 * international/mule-cmds.el (ucs-insert): Change arguments
20834 from `arg' to `character', `count', `inherit' to be the same
20835 as in `insert-char'. Doc fix. (Bug#4039)
20837 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20839 2009-08-12 Juri Linkov <juri@jurta.org>
20841 * files-x.el: New file.
20843 * files.el: Move code that deals with adding/deleting
20844 file/directory-local variables to files-x.el.
20846 * Makefile.in (ELCFILES): Add files-x.elc.
20848 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20850 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20851 to use `goto-line'.
20852 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20854 (gdb-invalidate-disassembly): Do not refresh upon receiving
20855 'update signal. Instead, update all disassembly buffers only after
20857 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20858 (gdb-starting): Move -data-list-register-names...
20859 (gdb-stopped): ...here so it's sent when first thread stops.
20860 (gdb-registers-handler-custom): Do nothing if register names are
20863 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20864 from `gdb-mi.el' to avoid extra tangling.
20866 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20867 change which breaks `gud-def' definitions used in `gdb'.
20868 (gdb-update-gud-running): No extra fuss for updating frame number.
20870 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20872 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20873 (describe-language-environment-map, setup-language-environment-map)
20874 (set-coding-system-map): Move initialization into declaration.
20875 (set-language-info-alist): Last arg to define-key-after can be skipped.
20877 * international/quail.el (quail-completion-1): Simplify.
20878 (quail-define-rules): Use slightly more compact code.
20879 (quail-insert-decode-map): Propertize keys, compact columns.
20881 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20884 2009-08-10 Miles Bader <miles@gnu.org>
20886 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20887 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20888 (js2-instance-member, js2-private-member, js2-private-function-call)
20889 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20890 (js2-magic-paren, js2-external-variable):
20891 Remove "-face" suffix from face names.
20892 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20893 (js2-highlight-undeclared-vars, js2-peek-token)
20894 (js2-parse-function-params, js2-mode-show-errors)
20895 (js2-mode-show-warnings, js2-make-magic-delimiter)
20896 (js2-mode-highlight-magic-parens): Update to use new face names.
20898 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20900 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20901 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20903 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20905 * subr.el: Provide hashtable-print-readable.
20907 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20908 hs-c-like-adjust-block-beginning.
20909 (hs-hide-block-at-point): Stop hiding at the beginning of
20910 hs-block-end-regexp (Bug#700).
20912 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20914 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20916 (gdb-registers-handler-custom): Do not fail when register names
20919 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20921 * progmodes/gdb-mi.el (gdb-control-all-threads)
20922 (gdb-control-current-thread): Interactive setters for
20923 `gdb-gud-control-all-threads' to use in menu.
20924 (gdb-show-run-p): Show «Go» when process is not active.
20925 (gud-tool-bar-map): Add non-stop/A,T indicator.
20926 Uses gud/thread.xpm and gud/all.xpm.
20928 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20930 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20931 (nslookup-font-lock-keywords): Make it a variable.
20932 (net-utils-mode): New mode for viewing diagnostic network output.
20933 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20934 (net-utils-run-simple): New function.
20935 (ifconfig, iwconfig, netstat, arp, route): Use it.
20937 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20939 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20940 (gdb-memory-set-address, def-gdb-set-positive-number)
20941 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20942 after changing settings.
20943 (gdb-invalidate-disassembly): Update when first shown.
20944 (gdb-edit-locals-value): Fix.
20945 (gdb-registers-handler-custom): Print registers in right order and
20946 allow changing register values (only for current thread yet).
20947 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20948 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20949 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20950 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20951 Thread info in mode name.
20952 (gdb-registers-mode-map): TAB to switch to locals.
20954 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20956 * mail/rmail.el (rmail-add-mbox-headers)
20957 (rmail-set-message-counters-counter): Search for
20958 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20960 2009-08-08 Glenn Morris <rgm@gnu.org>
20962 * Makefile.in (ELCFILES): Update.
20964 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20966 * mail/sendmail.el (mail-yank-original):
20967 Set buffer-file-coding-system from the one used by the message whose
20970 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20971 to "windows" when "pgnuplot" is used.
20972 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20973 Don't call accept-process-output if "pgnuplot" is used.
20974 (calc-graph-init): Don't send -display and -geometry to
20975 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20976 running "pgnuplot -V" with shell-command-to-string.
20978 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20981 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20983 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20986 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20988 * vc-dispatcher.el (vc-resynch-window): Update comment.
20990 * term.el (term-handle-ansi-escape): Add comments with the
20991 terminfo capabilities implemented.
20993 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20995 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
20996 (gdb-var-create-handler): Rewritten using JSON parser.
20997 (gdb-propertize-header): Move earlier.
20998 (gdb-set-header): Remove to avoid duplication.
20999 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21000 Refresh disassembly buffers only after threads list have been
21002 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21005 2009-08-04 Juri Linkov <juri@jurta.org>
21007 * files.el: Commands to add/delete file/directory-local variables.
21008 (read-file-local-variable, read-file-local-variable-value)
21009 (read-file-local-variable-mode, modify-file-local-variable)
21010 (modify-file-local-variable-prop-line)
21011 (modify-dir-local-variable): New functions.
21012 (add-file-local-variable, delete-file-local-variable)
21013 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21014 (add-dir-local-variable, delete-dir-local-variable)
21015 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21016 (copy-dir-locals-to-file-locals-prop-line): New commands.
21018 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21020 * abbrev.el (insert-abbrev-table-description): Prettify output.
21021 Suggested by Karl Chen.
21023 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21025 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21026 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21027 (gdb-overlay-arrow-position, gdb-thread-position)
21028 (gdb-disassembly-position): Declare variables.
21029 (gdb-wait-for-pending): Function now.
21030 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21031 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21032 compilation goes smoothly.
21033 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21034 (gdb-non-stop-setting): New customization setting which replaces
21035 `gdb-non-stop' so changing it doesn't break active GDB session.
21036 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21037 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21038 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21039 (gdb-show-threads-by-default): New customization options.
21040 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21042 (gdb-get-buffer-create): Send buffers update signal when they are
21044 (gdb-invalidate-locals, gdb-invalidate-registers)
21045 (gdb-invalidate-breakpoints)
21046 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21047 (gdb-invalidate-memory): Accept update signal.
21048 (gdb-current-context-command): Use --frame option.
21049 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21050 Implement `gdb-frame-number' selection logic.
21051 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21052 whether to show GUD toolbar buttons.
21053 (gdb-thread-exited): Unselect current thread when it exits.
21054 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21055 (gdb-mark-line): Routine which sets overlay arrow or inverses
21056 video on fringeless displays.
21057 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21058 to build aligned columns of data in GDB buffers and set text
21059 properties line-by-line.
21060 (gdb-invalidate-breakpoints)
21061 (gdb-breakpoints-list-handler-custom)
21062 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21063 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21064 (gdb-registers-handler-custom): Align data columns.
21065 (gdb-locals-handler-custom): Now prints data like in variable
21067 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21068 Remove confusing buttons.
21069 (gdb-invalidate-threads): Append --frame.
21070 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21071 between breakpoints/threads buffers.
21072 (gdb-set-window-buffer): Now can ignore dedicated windows.
21073 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21074 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21075 (def-gdb-thread-buffer-gud-command): Replaces
21076 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21077 for fine thread control.
21078 (gdb-preempt-existing-or-display-buffer): New function used to
21079 display bound buffers without breaking window layout.
21080 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21081 (gdb-select-frame): New version of `gdb-frames-select' which now
21082 sets `gdb-frame-number' so commands may use --frame option instead
21083 of inner debugger state.
21084 (gdb-frame-handler): Do not set `gdb-frame-number'.
21085 (gdb-threads-mode-map): Select threads with mouse.
21087 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21088 avoid compilation warning.
21089 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21092 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21093 Argument `key' renamed to `buffer-type'.
21094 (gdb-current-context-buffer-name): Do not add thread info to
21095 buffer name when no thread is selected.
21096 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21097 command (bug 3794).
21098 (gdb-thread-selected): Handle `=thread-selected' notification.
21099 (gdb-wait-for-pending): New macro to deal with congestion problems.
21100 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21102 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21103 This fixes problem similar to one described in bug 3947.
21104 (gud-menu-map): More menu items.
21105 (gdb-init-1): Reset `gdb-thread-number' to nil.
21107 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21110 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21111 (gdb-current-context-command): Do not append --thread if
21112 `gdb-thread-number' is nil.
21113 (gdb-running-threads-count, gdb-stopped-threads-count):
21115 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21116 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21117 New customization options.
21118 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21120 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21121 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21122 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21123 set `gdb-thread-number' and update `gud-running' properly.
21124 (gdb-running): Update threads list when new threads appear.
21125 (gdb-stopped): Support non-stop operation and new thread switching
21127 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21128 (gdb-json-partial-output): New set of JSON routines.
21129 (def-gdb-auto-update-trigger): New `signal-list' optional
21131 (gdb-thread-list-handler-custom): Update `gud-running',
21132 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21133 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21134 (gdb-continue-thread, gdb-step-thread): New commands for fine
21135 thread execution control.
21136 (gud-menu-map): New menu items to switch non-stop options.
21137 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21138 (gdb-send): Mimic RET properly (bug 3794).
21140 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21141 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21143 (def-gdb-auto-update-handler): New nopreserve optional argument.
21144 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21146 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21147 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21148 (gdb-parent-mode): New mode to derive other GDB modes from.
21149 (gdb-display-disassembly-for-thread)
21150 (gdb-frame-disassembly-for-thread): New commands for threads
21153 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21154 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21155 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21156 (gdb-update): We now store all GDB buffers in a list so that they
21157 can be updated by traversing a list instead of calling invalidate
21158 triggers explicitly.
21159 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21160 pair for GDB buffer.
21161 (gdb-stack-buffer-name): Add thread information.
21162 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21163 handle pending triggers.
21164 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21165 (def-gdb-thread-buffer-simple-command)
21166 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21167 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21168 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21169 New commands which show buffers bound to thread.
21170 (gdb-stack-list-locals-regexp): Remove unused regexp.
21172 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21173 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21174 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21175 to (gud-comint-buffer) in *-buffer-name functions
21176 because (gdb-get-target-string) already does that.
21177 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21178 (gdb-changed-registers-handler): Rewritten without regexps.
21180 * progmodes/gdb-mi.el: Basic thread selection support.
21181 (gdb-thread-number): New variable.
21182 (gdb-current-context-command): New macro which adds --thread
21184 (gdb-threads-mode-map): Select thread with SPC.
21185 (gdb-thread-list-handler-custom): Mark current thread with overlay
21186 arrow. Synchronize GDB thread and Emacs thread.
21187 (gdb-select-thread): New command which selects current thread.
21188 (gdb-invalidate-frames, gdb-invalidate-locals)
21189 (gdb-invalidate-registers): Use --thread option.
21191 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21193 * net/tramp.el (top): Make check for tramp-gvfs loading more
21195 (tramp-handle-insert-file-contents): `unwind-protect' must be
21196 inside `with-parsed-tramp-file-name'.
21198 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21201 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21203 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21204 directory if CLASSPATH is not set.
21206 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21208 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21210 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21212 2009-08-02 Kevin Ryde <user42@zip.com.au>
21214 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21215 Update freshmeat link. Delete newsforge.com as it seems gone.
21217 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21219 * select.el (x-set-selection): Doc fix (Bug#4021).
21221 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21223 * help-fns.el (describe-variable): Treat list return values from
21224 dir-locals-find-file properly (Bug#4005).
21226 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21228 * net/tramp.el (tramp-debug-message): Print also microseconds.
21230 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21232 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21234 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21235 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21238 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21239 (tramp-get-file-property): Use it.
21241 * autorevert.el (auto-revert-handler):
21242 Allow `auto-revert-tail-mode' for remote files.
21244 2009-08-02 Jason Rumney <jasonr@gnu.org>
21246 * minibuffer.el (read-file-name): Treat confirm options to
21247 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21249 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21251 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21252 (font-lock-variable-name-face, font-lock-constant-face):
21253 Darken the colors for light backgrounds.
21255 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21257 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21258 month names. (Bug#3987)
21260 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21262 * simple.el (line-move-finish): Pass whole number to
21263 line-move-to-column.
21264 (line-move-visual): Perform hscroll to the recorded position.
21266 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21268 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21270 2009-07-29 Alan Mackenzie <acm@muc.de>
21272 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21274 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21276 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21277 (gdb-place-breakpoints): Use full path when setting breakpoints.
21279 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21281 * calc/calc.el (calc-mode-map): Add keybinding for
21282 `calc-transpose-lines'.
21284 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21286 * calc/calc-misc.el (calc-transpose-lines): New function.
21288 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21290 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21291 Simplify check for out-of-band methods.
21292 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21293 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21295 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21297 * vc-git.el (vc-git-checkin): Fix typo.
21299 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21301 * progmodes/js2-mode.el: New file.
21303 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21305 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21306 (gud-menu-map): Adjust tooltip accordingly.
21308 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21310 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21311 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21313 * add-log.el (change-log-mode-map): Add a menu.
21315 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21317 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21318 function returns nil.
21319 (dbus-handle-event): Handle special return value :ignore.
21320 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21322 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21324 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21327 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21331 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21333 * term/pc-win.el (x-display-name, x-colors)
21334 (x-select-enable-clipboard, x-select-text): Doc fix.
21336 * term/common-win.el (x-display-name, x-colors): Doc fix.
21338 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21339 (xw-defined-colors): Doc fix.
21341 * w32-fns.el (x-select-text, x-setup-function-keys)
21342 (x-get-selection, x-set-selection): Doc fix.
21344 * term/x-win.el (x-select-text, x-setup-function-keys)
21345 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21347 * select.el (x-set-selection): Doc fix.
21349 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21351 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21352 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21353 "IsNSSSupportAvailable" method is not available.
21354 Reported by Steve Youngs <steve@sxemacs.org>.
21356 2009-07-24 Kenichi Handa <handa@m17n.org>
21358 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21359 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21360 (build-unicode-category-table): Fix range checks.
21362 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21364 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21365 the buffer we try to sync is current when calling
21368 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21369 not show up to date files.
21371 2009-07-24 Glenn Morris <rgm@gnu.org>
21373 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21374 Add autoload cookies. If necessary, initialize.
21375 (elint-log): Handle non-file buffers.
21376 (elint-initialize): Add optional argument to reinitialize.
21377 (elint-find-builtin-variables): Save excursion.
21379 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21381 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21384 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21386 * vc.el (vc-print-log-internal): New function, split out from ...
21387 (vc-print-log): ... here.
21388 (vc-dir-move-to-goal-column): Declare.
21390 * vc-git.el (vc-git-add-signoff): New variable.
21391 (vc-git-checkin): Use it.
21392 (vc-git-toggle-signoff): New function.
21393 (vc-git-extra-menu-map): Bind it to menu.
21394 (vc-git--run-command-string): Accept a nil FILE argument.
21395 (vc-git-stash-list): New function.
21396 (vc-git-dir-extra-headers): Use it.
21398 2009-07-23 Glenn Morris <rgm@gnu.org>
21400 * help-fns.el (describe-variable): Describe ignored and risky local
21401 variables in a similar way to that in which we describe safe ones.
21403 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21404 (byte-compile-output-file-form, byte-compile-output-docform)
21405 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21406 Give some more local variables with common names a "bytecomp-" prefix,
21407 so as not to shadow things during compilation.
21408 * emacs-lisp/cl-macs.el (load-time-value)
21409 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21410 `outbuffer' to `bytecomp-outbuffer'.
21412 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21413 since the next two variables cover them automatically now.
21414 (elint-builtin-variables, elint-autoloaded-variables): New.
21415 (elint-unknown-builtin-args): Remove all members, since they can be
21416 parsed automatically now.
21417 (elint-extra-errors): New.
21418 (elint-env-add-env, elint-env-add-macro): Use cadr.
21419 (elint-current-buffer): Use or. Change final message.
21420 (elint-get-top-forms): Use line-end-position.
21421 (elint-init-env): Use cadr. Handle autoload, declare-function,
21423 (elint-add-required-env): Doc fix. Use or. Standardize error.
21424 (regexp-assoc): Remove unused function.
21425 (elint-top-form): Set elint-current-pos, to record the start of the
21426 top-level form, for compilation-mode.
21427 (elint-form): Trap errors in macro expansion. Use dolist.
21428 (elint-unbound-variable): Use elint-builtin-variables and
21429 elint-autoloaded-variables.
21430 (elint-get-args): Use cadr, or.
21431 (elint-check-cond-form): Use dolist, cadr.
21432 (elint-check-condition-case-form): Doc fix. Use cadr.
21433 Use elint-extra-errors.
21434 (elint-log): New function.
21435 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21436 Distinguish errors and warnings.
21437 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21438 Use a bytecomp-style format.
21439 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21440 (elint-get-log-buffer): Use compilation mode. Disable undo.
21441 Don't truncate lines.
21442 (elint-initialize): Set builtin and autoloaded variable lists.
21443 Only process elint-unknown-builtin-args if non-nil.
21444 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21446 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21448 2009-07-22 Kevin Ryde <user42@zip.com.au>
21450 * net/newst-backend.el (newsticker--parse-atom-1.0)
21451 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21452 (newsticker--parse-rss-1.0):
21453 * progmodes/idlwave.el (idlwave-mode):
21454 * progmodes/idlw-shell.el (idlwave-shell-mode):
21455 * progmodes/vera-mode.el (vera-mode):
21456 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21457 * progmodes/vhdl-mode.el (vhdl-mode):
21458 * textmodes/table.el (table-generate-source)
21459 (table--warn-incompatibility):
21460 Hyperlink urls in docstrings with URL `...'.
21462 2009-07-22 Glenn Morris <rgm@gnu.org>
21464 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21465 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21466 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21467 Remove leading * from defcustom docs.
21469 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21471 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21473 (list-load-path-shadows): Optionally, just return shadows as a string.
21475 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21477 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21479 * mail/rmailedit.el (rmail-edit-mode):
21480 Use auto-save-include-big-deletions.
21482 * mail/rmail.el (rmail-variables):
21483 Use auto-save-include-big-deletions.
21485 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21488 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21490 * calc/calc.el (calc-undo-length): New variable.
21491 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21493 2009-07-21 Richard Stallman <rms@gnu.org>
21495 * files.el (auto-save-mode): Handle buffer-save-size = -2
21498 2009-07-21 Glenn Morris <rgm@gnu.org>
21500 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21502 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21504 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21505 silence compiler. Instead...
21506 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21507 (ps-print-ensure-fontified): Update for above function name changes.
21509 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21510 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21511 silence compiler. Instead...
21512 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21513 (mh-show-buffer): Only define for compiler.
21514 (pr-mh-current-message): Update for above function name changes.
21516 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21518 (find-file-noselect, insert-file-1): Update for above change.
21520 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21522 * mail/mailclient.el (mailclient-send-it): Fix message.
21524 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21525 (edebug-eval): Check cl-debug-env is bound.
21526 (print-level, print-circle): Don't redefine built-in variables.
21528 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21529 (custom-print-vectors): Remove old comments from doc.
21531 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21532 (emerge-version): Make the variable an obsolete alias for the
21533 emacs-version variable. Make the function obsolete.
21534 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21535 Emerge options, rather than merging in into the main Options menu.
21536 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21537 and auto advance modes. Disable edit/fast items when not relevant.
21539 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21541 * term/vt420.el (terminal-init-vt420): Fix typo.
21543 2009-07-20 Sam Steingold <sds@gnu.org>
21545 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21546 variable (removed from compile.el on 2004-03-11).
21548 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21550 * files.el (hack-local-variables-filter): Fix last change.
21552 2009-07-19 Juri Linkov <juri@jurta.org>
21554 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21555 (dir-local-variables-alist): New buffer-local variable.
21556 (hack-local-variables-filter): If variable is not dir-local,
21557 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21558 because file-local overrides dir-local.
21559 (c-postprocess-file-styles) <declare-function>:
21560 Remove obsolete declaration.
21561 (hack-dir-local-variables): Add dir-local variable/value pair to
21562 `dir-local-variables-alist' and remove duplicates. Doc fix.
21564 * help-fns.el (describe-variable): Add information about
21565 file-local and dir-local variables.
21567 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21569 * files.el (hack-local-variables-filter): Rewrite.
21571 2009-07-19 Glenn Morris <rgm@gnu.org>
21573 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21574 Silence compiler by only defining on XEmacs.
21576 * international/mule.el (auto-coding-regexp-alist): Only match
21577 BABYL... at the start of buffer, not of lines. (Bug#3790)
21579 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21580 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21581 (cal-menu-context-mouse-menu): Doc fix.
21583 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21585 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21587 2009-07-18 Juri Linkov <juri@jurta.org>
21589 * info.el: Virtual Info keyword finder.
21590 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21591 (Info-finder-file): New variable.
21592 (Info-finder-find-file): New function.
21593 (finder-known-keywords, finder-package-info)
21594 (find-library-name, lm-commentary): Use defvar and
21595 declare-function to silence compiler warnings.
21596 (Info-finder-find-node): New function.
21597 (info-finder): New command.
21599 * subr.el (process-kill-buffer-query-function): New function.
21600 (add-hook)<kill-buffer-query-functions>: Add hook
21601 `process-kill-buffer-query-function'.
21603 2009-07-18 Alan Mackenzie <acm@muc.de>
21605 * progmodes/cc-mode.el (c-before-hack-hook)
21606 (c-postprocess-file-styles): Give invocation of `c-set-style'
21607 DONT-OVERRIDE parameter of t. Already set style variables will
21608 thus not be overridden by style settings given by `c-file-syle'.
21610 * files.el (hack-local-variables-filter): Remove entries with
21611 duplicate keys from `file-local-variables-alist'.
21613 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21615 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21616 x-set-selection if display-selections-p returns nil for the
21619 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21621 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21623 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21625 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21626 Accept nil in addition to a regexp.
21627 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21628 Accept nil in addition to a regexp.
21629 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21630 buffers that have an associated file. Handle nil values of
21631 desktop-buffers-not-to-save and desktop-files-not-to-save.
21634 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21635 (x-disown-selection-internal): New functions.
21637 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21639 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21641 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21642 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21644 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21646 * simple.el (set-mark): Revert last change.
21648 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21650 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21651 rendering of pngs is not possible instead of messaging a long
21654 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21656 * w32-fns.el (x-selection-owner-p): New function.
21658 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21659 (mouse-yank-at-click, mouse-yank-primary):
21660 If select-active-regions is non-nil, deactivate the mark before
21663 * simple.el (deactivate-mark, set-mark): Only save selection if we
21666 2009-07-17 Kenichi Handa <handa@m17n.org>
21668 * case-table.el (describe-buffer-case-table): Fix for the case
21669 that KEY is a cons.
21671 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21673 * vc-rcs.el (vc-rcs-find-file-hook):
21674 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21676 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21678 * net/tramp.el (tramp-wait-for-output): Handle the case when
21679 commands do not return a newline but a null byte before the shell
21682 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21684 * term/ns-win.el (ns-set-alpha): Don't declare.
21685 (ns-set-background-alpha): Remove function.
21687 2009-07-16 Kevin Ryde <user42@zip.com.au>
21689 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21690 y-or-n-p, for safety.
21692 2009-07-16 Richard Stallman <rms@gnu.org>
21694 * files.el (auto-save-mode): If buffer-saved-size is -2,
21697 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21698 (rmail-retry-ignored-headers): Add more uninteresting fields.
21700 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21702 * net/rcirc.el (rcirc): Use history variables.
21703 (rcirc-server-name-history, rcirc-nick-name-history)
21704 (rcirc-server-port-history): New variables.
21706 2009-07-15 Kenichi Handa <handa@m17n.org>
21708 * international/mule-cmds.el (set-language-environment-charset):
21709 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21712 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21713 Delete unibyte-display.
21715 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21717 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21719 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21721 * simple.el (deactivate-mark): Optional argument FORCE.
21722 (set-mark): Use deactivate-mark.
21724 * info.el (Info-search): No need to check transient-mark-mode
21725 before calling deactivate-mark.
21727 * select.el (x-set-selection): Doc fix.
21728 (x-valid-simple-selection-p): Allow buffer values.
21729 (xselect--selection-bounds): Handle buffer values.
21730 Suggested by David De La Harpe Golden.
21732 * mouse.el (mouse-set-region, mouse-drag-track):
21733 Call copy-region-as-kill before setting the mark, to let
21734 select-active-regions work.
21736 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21738 * simple.el (deactivate-mark): If select-active-regions is
21739 non-nil, copy the selection data into a string.
21740 (activate-mark): If select-active-regions is non-nil, set the
21741 selection to the current buffer.
21742 (set-mark): Update selection if select-active-regions is non-nil.
21744 * select.el (x-valid-simple-selection-p): Allow buffer values.
21746 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21748 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21749 and more featureful message-mode.
21751 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21753 * select.el (x-set-selection): Doc fix.
21754 (x-valid-simple-selection-p): Disallow selection data consisting
21755 of a list or cons of integers, since that is not used.
21756 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21757 (xselect-convert-to-string, xselect-convert-to-length)
21758 (xselect-convert-to-filename, xselect-convert-to-charpos)
21759 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21761 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21763 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21764 output in -break-info command (Emacs bug #3794).
21766 2009-07-14 Glenn Morris <rgm@gnu.org>
21768 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21769 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21770 (edebug-print-length, edebug-print-level, edebug-print-circle)
21771 (edebug-sit-for-seconds, edebug-view-outside)
21772 (edebug-bounce-point, edebug-set-global-break-condition)
21773 (edebug-Go-nonstop-mode, edebug-trace-mode)
21774 (edebug-Trace-fast-mode, edebug-continue-mode)
21775 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21776 (edebug-visit-eval-list): Doc fixes.
21778 * subr.el (def-edebug-spec): Doc fix.
21780 2009-07-14 Kenichi Handa <handa@m17n.org>
21782 * international/characters.el: Fix setting of category ?C.
21784 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21786 * term/ns-win.el (x-select-font): defalias x-select-font to
21787 ns-popup-font-panel instead of generate-fontset-menu.
21789 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21791 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21793 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21795 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21796 the PK\003\004 header (Bug#3770).
21798 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21800 * pcomplete.el (pcomplete-comint-setup): Check for
21801 shell-dynamic-complete-filename too.
21803 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21805 * simple.el (temporary-goal-column): Change the value for
21806 line-move-visual to a cons cell.
21807 (line-move-visual): Record or set the window hscroll, if
21808 necessary (Bug#3494).
21809 (line-move-1): Handle cons value of temporary-goal-column.
21811 2009-07-11 Kenichi Handa <handa@m17n.org>
21813 * international/mule-diag.el (describe-character-set): Don't show
21816 2009-07-10 Sam Steingold <sds@gnu.org>
21818 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21819 Omake sometimes indents the errors it prints, so allow all
21820 regexps to start with spaces.
21822 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21824 * cus-edit.el (customize-changed-options-previous-release):
21825 Bump value to 22.1. (Bug#3804)
21827 2009-07-08 Sam Steingold <sds@gnu.org>
21829 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21830 to be a cons cell (test . ignored-directory) to selectively ignore
21831 some directories depending on the location of the search.
21833 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21835 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21836 remote user is root, on the local host.
21837 (tramp-local-host-p): Either the local user or the remote user
21838 must be root. (Bug#3771)
21840 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21842 * progmodes/gdb-mi.el (gdb): Remove description of
21843 gdb-use-separate-io-buffer.
21844 (menu): Don't allow toggling of or enable
21845 gdb-use-separate-io-buffer from menubar.
21847 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21849 * mail/unrmail.el (unrmail): Make sure the message ends with two
21850 newlines (Bug#3769).
21852 2009-07-08 Glenn Morris <rgm@gnu.org>
21854 * calendar/calendar.el (calendar-current-date): Rework previous change.
21856 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21858 * calendar/calendar.el (calendar-current-date):
21859 Add an optional argument giving an offset from today.
21861 2009-07-08 Glenn Morris <rgm@gnu.org>
21863 * tutorial.el (tutorial--describe-nonstandard-key):
21864 Adjust the message for when a key has been unbound.
21865 (help-with-tutorial): Hide the arch-tag.
21867 2009-07-08 Kenichi Handa <handa@m17n.org>
21869 * international/fontset.el (setup-default-fontset): For each
21870 script, append (not set) font-specs.
21872 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21875 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21877 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21878 -data-list-register-names to ...
21879 (gdb-starting): ... here because GDB 7.0 requires execution to
21880 have started when using this MI command.
21881 (gdb-set-header): New function to distinguish select and
21882 unselected tabs in gdb buffers.
21883 (gdb-propertize-header): New macro that uses gdb-set-header.
21884 (gdb-breakpoints-header, gdb-locals-header): Use it.
21885 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21887 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21889 * Makefile.in (ELCFILES): Remove fadr.elc.
21891 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21893 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21894 may contain frame information, so `string-match' should be used.
21895 (gdb-update): Disassembly is invalidated through
21896 `gdb-get-selected-frame'.
21897 (gdb-pad-string): New function to pad string with spaces.
21898 (gdb-invalidate-disassembly): Invalidate only if the buffer
21900 (gdb-disassembly-handler-custom): Column alignment.
21901 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21903 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21905 (gdb-frame-handler): Match convention to for disassembly buffer
21907 (gdb-stack-list-frames-handler): Rewritten without regexps.
21908 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21909 not highlight breakpoints without line information.
21910 (gdb-input): Add trailing newline to command.
21912 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21914 (gdb-breakpoints-list-handler-custom): Replacement for
21915 `gdb-break-list-handler'. Using real parser instead of regexps
21917 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21918 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21919 to place breakpoints.
21920 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21922 (gdb-disassembly-handler-custom): Show overlay arrow.
21923 (gdb-disassembly-place-breakpoints): Show breakpoints in
21924 disassembly buffer.
21925 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21926 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21927 instead of parsing breakpoints buffer. Fixed old menu references
21932 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21933 (gdb-memory-address): New variable which holds top address of
21934 memory page shown in memory buffer.
21935 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21936 New customization variables.
21938 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21939 display the memory buffer.
21940 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21941 buffer display parameters.
21942 (def-gdb-memory-format, gdb-memory-format-binary)
21943 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21944 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21945 Functions for setting memory buffer format.
21946 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21947 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21948 unit size used in memory buffer.
21949 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21950 Switch to next/previous page of memory buffer.
21951 Now using (bindat-get-field) instead of fadr functions.
21953 2009-07-07 Sam Steingold <sds@gnu.org>
21955 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21956 non-top-level files.
21958 2009-07-07 Kenichi Handa <handa@m17n.org>
21960 * international/mule-cmds.el (reset-language-environment):
21961 Put the highset priority to the charset iso-8859-1.
21963 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21965 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21966 to the end of the line when locating the block (Bug#700).
21968 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21970 * net/tramp.el (tramp-handle-write-region): Flush file properties
21971 in case of short track.
21973 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21975 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21976 Coded custom representation of verilog error regular expressions
21977 to work with Emacs-22's new format.
21978 (verilog-error-regexp-xemacs-alist): Coded custom representation
21979 of verilog error regular expressions to work with XEmacs format.
21980 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21981 error recognition into XEmacs.
21982 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21983 error recognition into Emacs-22.
21985 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21987 * woman.el: Remove stand-alone closing parentheses.
21988 (woman-file-name, woman2-format-paragraphs)
21989 (woman-leave-blank-lines): Code cleanup.
21990 (woman-use-own-frame): Change default to nil.
21991 (woman-italic, woman-bold, woman-unknown, woman-addition):
21992 Change defaults to inherit from default faces.
21993 (woman2-process-escapes): Consume the newline after a stand-alone
21994 filler character (Bug#3651).
21996 2009-07-06 Glenn Morris <rgm@gnu.org>
21998 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21999 (top-level): Move provide to the end.
22000 (ffap): Remove defunct URL from custom group.
22002 * subr.el (eval-after-load): Doc fix.
22004 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22006 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22007 `calc-embedded-word' is called twice.
22009 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22011 * files.el (find-alternate-file-other-window, find-alternate-file):
22012 Obey confirm-nonexistent-file-or-buffer.
22014 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22016 * dired-aux.el (dired-show-file-type): Handle remote files.
22018 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22020 * desktop.el (desktop-globals-to-save):
22021 Add file-name-history (Bug#2750).
22023 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22025 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22027 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22029 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22030 property on entire argument since this is what eshell-lisp-command
22033 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22035 * net/tramp-gvfs.el (tramp-gvfs-methods)
22036 (tramp-gvfs-zeroconf-domain)
22037 (tramp-bluez-discover-devices-timeout): Add version flag.
22038 (tramp-gvfs-handler-mounted-unmounted)
22039 (tramp-gvfs-connection-mounted-p): Polish handling of
22040 incompatibilities between GVFS 0.2 and 1.0.
22042 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22044 * cus-start.el (all): Add make-pointer-invisible.
22046 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22048 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22049 formatted correctly.
22051 2009-07-02 Juri Linkov <juri@jurta.org>
22053 * info.el: Virtual Info files and nodes.
22054 (Info-virtual-files, Info-virtual-nodes): New variables.
22055 (Info-current-node-virtual): New variable.
22056 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22058 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22059 to check for a virtual file instead of checking a fixed list
22061 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22062 instead of ad-hoc processing of "dir" and (apropos history toc).
22063 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22064 instead of ad-hoc processing of "dir" and (apropos history toc).
22065 Reread a file when moving from a virtual node.
22066 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22067 (Info-directory-toc-nodes, Info-directory-find-file)
22068 (Info-directory-find-node): New functions.
22069 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22070 (Info-history): Move part of code to
22071 `Info-history-find-node'.
22072 (Info-history-toc-nodes, Info-history-find-file)
22073 (Info-history-find-node): New functions.
22074 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22075 (Info-toc): Move part of code to `Info-toc-find-node'.
22076 (Info-toc-find-node): New function.
22077 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22078 the current Info file name to references because now the node
22079 "*TOC*" belongs to the same Info manual.
22080 (Info-toc-build): Rename from `Info-build-toc'.
22081 (Info-toc-nodes): Rename input argument `file' to `filename'.
22082 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22083 instead of ad-hoc processing of ("dir" apropos history toc).
22084 (Info-index-nodes): Use Info-virtual-file-p
22085 to check for a virtual file instead of checking a fixed list
22087 (Info-index-node): Add check for `Info-current-node-virtual'.
22088 Raise `save-match-data' higher up the tree to contain
22089 `search-forward' too (bug fix).
22090 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22091 (Info-virtual-index-nodes): New variable.
22092 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22093 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22094 (Info-apropos-file, Info-apropos-nodes): New variables.
22095 (Info-apropos-toc-nodes, Info-apropos-find-file)
22096 (Info-apropos-find-node, Info-apropos-matches): New functions.
22097 (info-apropos): Move part of code to `Info-apropos-find-node' and
22098 `Info-apropos-matches'.
22099 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22100 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22101 for a virtual file instead of checking a fixed list of node names.
22103 * simple.el (async-shell-command): New command.
22105 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22107 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22108 instead of `mount-info'.
22110 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22112 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22113 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22115 2009-07-02 Kenichi Handa <handa@m17n.org>
22117 * international/mule.el (set-keyboard-coding-system): Force *-unix
22118 coding-system to avoid eol conversion.
22120 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22122 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22123 Add handler for `process-file', `shell-command' and
22124 `start-file-process'.
22125 (tramp-gvfs-handle-shell-command)
22126 (tramp-gvfs-handle-start-file-process)
22127 (tramp-gvfs-handle-process-file): New defuns.
22128 (tramp-synce-list-devices): Simplify check for existence of property.
22130 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22132 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22134 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22136 * language/korean.el (set-language-info-alist): Add korean-cp949,
22139 2009-07-01 Kenichi Handa <handa@m17n.org>
22141 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22143 * international/encoded-kb.el: Deleted.
22145 * international/mule.el (set-keyboard-coding-system): Perform the
22146 necessary setup here instead of calling encoded-kbd-setup-display.
22148 2009-07-01 Glenn Morris <rgm@gnu.org>
22150 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22152 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22154 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22156 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22158 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22159 Handle also the 'rename case, when setting file modes. (Bug#3712)
22160 (tramp-default-file-modes): Remove execute permissions.
22162 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22163 (top): Add a default for "synce" in `tramp-default-user-alist'.
22164 Add completion function for "synce" method.
22165 (tramp-hal-service, tramp-hal-path-manager)
22166 (tramp-hal-interface-manager, tramp-hal-interface-device):
22168 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22169 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22172 * net/trampver.el: Update release number.
22174 2009-06-30 Kenichi Handa <handa@m17n.org>
22176 * international/fontset.el (setup-default-fontset): Add CJK fonts
22177 for symbols and the other miscellaneous characters.
22179 * language/korea-util.el (setup-korean-environment-internal):
22180 Make char-width-table suitable for Korean environments.
22181 (exit-korean-environment): Cancel above.
22183 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22184 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22185 setup-function to make char-width-table suitable for respective
22186 environments, and an exit-function to cancel that.
22188 * language/japan-util.el (setup-japanese-environment-internal):
22189 Call use-cjk-char-width-table with arg `ja_JP'.
22191 * international/characters.el (cjk-char-width-table): Delete it.
22192 (cjk-char-width-table-list): New variable.
22193 (use-cjk-char-width-table): New arg local-name.
22194 (use-default-char-width-table): Fix for the case that Emacs is
22195 already using the default char-width-table.
22197 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22199 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22200 modes mandatory. (Bug#3712)
22202 2009-06-29 Alan Mackenzie <acm@muc.de>
22204 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22205 correction between the visible width of TABs and their number of bytes.
22207 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22209 * server.el (server-buffer-done): Prevent kill-buffer from
22210 prompting by clearing the buffer modification flag (Bug#3696).
22212 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22214 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22215 (verilog-endcomment-reason-re): Support unique case and priority case.
22216 (verilog-basic-complete-re): Support localparam lineup.
22217 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22218 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22220 (verilog-leap-to-case-head): Now support *nested* unique &
22221 priority case statements.
22222 (verilog-auto-lineup): Make just declarations the default (as it
22224 (verilog-leap-to-case-head): Support priority/unique case statements.
22225 (verilog-auto-lineup): Rework to give users radio buttons to
22226 select the various styles of automatic lineup.
22227 (verilog-error-regexp-alist): Rework to support the XEmacs style
22228 of error regular expressions from compilers, lint tools &
22229 simulators. Note that GNU Emacs has made it impossible for a mode
22230 to load such things.
22231 (electric-verilog-terminate-line, verilog-indent-declaration)
22232 (verilog-auto-wiure): Rework for radio button selection of
22233 auto-lineup selection of specification of auto lineup.
22234 (verilog-beg-of-statement-1): Redesign to support proper operation
22235 in additional code, based on testing with auto-lineup.
22236 (verilog-calculate-indent, assignments & declarations)
22237 (verilog-backward-token): Enhance to support auto-lineup of
22238 assignments & declarations.
22239 (verilog-in-directive-p, verilog-at-struct-p): New function for
22240 easy test of whether we are.
22241 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22242 to support safe execution at almost anyline.
22243 (verilog-calc-1): Properly support indenting deep inside generate
22245 (verilog-init-font): Remove definition & use of verilog-init-font,
22246 as it is redundant with font-lock-defaults.
22247 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22248 to avoid circular calls if syntax-ppss is a function (as is the
22249 case now in 22.x GNU Emacs) as that function would sometimes call
22250 itself, leading to (nearly) infinite recursion.
22251 (verilog-ovm-begin-re, verilog-ovm-end-re)
22252 (verilog-ovm-statement-re, verilog-leap-to-head)
22253 (verilog-backward-token): Add support for OVM macros. Some are
22254 complete statements, and others open and close scopes like begin
22256 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22257 (verilog-defun-level-generate-only-re): Really fix the defun-list
22259 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22260 coverpoint, constraint and cross statements.
22261 (verilog-defun-level-list, verilog-generate-defun-level-list)
22262 (verilog-all-defun-level-list): Redo these specifications - it is
22263 too hard to support eval-when compile aggregation of lists also
22264 built at when-compile time.
22265 (verilog-defun-level-list): Place defconsts of variables used in
22266 building regular expressions which are built in eval-when-compile
22267 bodies in the same eval-when-compile body to facilitate compile
22269 (verilog-beg-block-re-ordered): Support indenting
22270 virtual/protected tasks and functions.
22271 (verilog-defun-level-list, verilog-in-generate-region-p)
22272 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22273 indentation of some module items (generate items).
22274 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22275 across virtual/protected tasks and functions.
22277 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22279 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22280 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22281 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22282 in concatenations. Reported by Yishay Belkind.
22283 (verilog-auto-ascii-enum): Support one-hot state machines in
22284 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22285 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22286 modport in AUTOINST and add vl-modport for users.
22287 Reported by David Rogoff.
22288 (verilog-auto-inout-module, verilog-auto-inst)
22289 (verilog-decls-get-interfaces, verilog-insert-definition)
22290 (verilog-insert-one-definition, verilog-read-decls)
22291 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22292 (verilog-sig-modport, verilog-signals-combine-bus)
22293 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22294 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22295 Suggested by David Rogoff.
22296 (verilog-repair-open-comma): Fix non-insertion of comma when
22297 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22298 (verilog-make-width-expression): Simplify [A-1:0] expression
22299 widths to just {A{1'b0}}.
22300 (verilog-mode): Cleanup checkdoc warnings.
22301 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22302 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22303 inputs/outputs or data type. Suggested by Vasu Kandadi.
22304 (next-error-last-buffer): Fix byte-compiler warning.
22305 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22306 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22307 or shell command text during AUTO expansion. Suggested by Tad Truex.
22308 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22309 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22310 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
22311 in AUTOINOUT. Reported by Matthew Lovell.
22312 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22313 causing use of <= assignments. Reported by Alex Reed.
22314 (verilog-read-decls): Fix triand, trior, wand, wor to be
22315 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22316 (verilog-extended-complete-re): Support import "DPI-C" functions.
22317 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22318 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22319 (verilog-insert-date, verilog-insert-year)
22320 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22321 Windows systems. Reported by Michael Potts.
22322 (verilog-read-module-name): Fix AUTOINST when the child module
22323 declaration's name is a tick define. Reported by Elliot Mednick.
22324 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22325 passed to next parameter's definition. Reported by Bruce T.
22326 (verilog-read-decls): Fix detecting "parameter int" when using
22327 AUTOINSTPARAM. Reported by Bruce T.
22328 (verilog-goto-defun): Fix goto not finding modules unless first
22329 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22330 (verilog-mode): Expand -f flag arguments on entry to mode so
22331 verilog-goto-defun will work. Reported by Lawrence Butcher.
22332 (verilog-getopt): Expand environment variables in -f file
22333 arguments. Suggested by Lawrence Butcher.
22334 (verilog-set-define): Fix "Symbol's value as variable is void"
22335 when reading enumerations.
22336 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22337 Suggested by Stephen Peltan.
22338 (verilog-read-defines): Fix reading of enumerations in include
22339 files. Reported by Steve Peltan.
22341 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22343 * files.el (trash-directory): Fix defcustom type.
22345 2009-06-28 Juri Linkov <juri@jurta.org>
22347 * help-fns.el (describe-function-1): Correctly locate adviced
22348 functions in hyperlink (Bug#2438).
22350 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22352 * files.el (trash-directory): Change default to nil.
22353 (move-file-to-trash): If trash-directory is nil and
22354 system-move-file-to-trash is unbound, perform freedesktop-style
22357 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22359 * files.el (move-file-to-trash): Add freedesktop trash
22362 2009-06-28 Glenn Morris <rgm@gnu.org>
22364 * autorevert.el (global-auto-revert-non-file-buffers)
22365 (global-auto-revert-mode): Doc fixes.
22367 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22369 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22371 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22373 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22374 opened an X connection before calling x-get-resource (Bug#3194).
22376 * play/doctor.el: Remove reference to obsolete website.
22377 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22379 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22381 Remove find-file-not-found-hook VC method. (Bug#2757)
22382 * vc-hooks.el (vc-file-not-found-hook)
22383 (vc-default-find-file-not-found-hook): Remove functions.
22384 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22385 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22388 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22390 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22392 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22393 compatibility function for `looking-back'.
22395 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22396 Use `ispell-looking-back'.
22398 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22400 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22401 rather than `filename'.
22403 2009-06-23 Miles Bader <miles@gnu.org>
22405 * face-remap.el (text-scale-set): New function.
22407 2009-06-23 Glenn Morris <rgm@gnu.org>
22409 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22411 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22413 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22415 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22417 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22418 Simplify Persian conditionals.
22420 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22421 variable `filename'.
22423 * comint.el (comint-insert-input): Doc fix.
22425 * Makefile.in (ELCFILES): Fix typo in previous change.
22427 2009-06-23 Miles Bader <miles@gnu.org>
22429 * cus-start.el: Add entry for `recenter-redisplay'.
22431 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22433 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22434 Add an optional argument for the backend, use it instead of
22435 calling vc-backend.
22436 (vc-mode-line): Add an optional argument for the backend.
22437 Pass the backend to vc-state and vc-working-revision. Move code for
22438 special handling for vc-state being a buffer to ...
22440 * vc-rcs.el (vc-rcs-find-file-hook):
22441 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22443 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22444 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22445 vc-stay-local-p and vc-mode-line calls.
22447 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22448 (vc-cvs-diff, vc-cvs-annotate-command)
22449 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22450 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22451 vc-mode-line calls.
22453 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22455 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22456 backend when calling vc-mode-line.
22457 (vc-register): Do not create a closure for calling the vc register
22458 function, call it directly.
22460 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22462 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22463 to make it obvious item can be clicked.
22465 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22467 2009-06-23 Kenichi Handa <handa@m17n.org>
22469 * language/korea-util.el (korean-key-bindings): Change the binding
22470 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22473 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22475 Sync with Tramp 2.1.16.
22477 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22479 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22480 when a loading of a package fails. Completion function for rsync
22481 is `tramp-completion-function-alist-ssh'.
22482 (all): Replace all calls of `split-string' and
22483 `tramp-split-string' by `tramp-compat-split-string'.
22484 (tramp-default-method): Use `tramp-compat-process-running-p'.
22485 (tramp-default-proxies-alist): Allow also Lisp forms.
22486 (tramp-remote-path): Add choice "Private Directories".
22487 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22488 (tramp-domain-regexp): Allow also "-", "_" and ".".
22489 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22490 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22491 (tramp-debug-message): Insert header line in debug buffer.
22492 (tramp-handle-directory-files-and-attributes-with-stat):
22493 Care about filenames with spaces, or starting with "-".
22494 (tramp-handle-dired-uncache): New defun.
22495 (tramp-handle-insert-directory): Don't flush the directory from
22496 cache, this is handled by `dired-uncache' now.
22497 (tramp-handle-insert-file-contents): Improve error handling.
22498 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22499 Quote `tramp-end-of-output'.
22500 (tramp-action-password): Improve trace message.
22501 (tramp-check-for-regexp): Both echoes must be present, before removing.
22502 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22503 (tramp-compute-multi-hops): Eval cons cells of
22504 `tramp-default-proxies-alist'.
22505 (tramp-maybe-open-connection): Use the same command pattern for
22506 first hop and further hops.
22507 (tramp-wait-for-output): Remove handling of newlines.
22508 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22509 (tramp-split-string): Remove function. It is handled in
22512 * net/tramp-cmds.el (tramp-bug):
22513 Recommend `tramp-cleanup-all-connections' in the bug mail.
22515 * net/tramp-compat.el (tramp-compat-split-string)
22516 (tramp-compat-process-running-p): New defuns.
22518 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22519 for `dired-uncache'.
22521 * net/tramp-gvfs.el: New package.
22523 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22524 Add handler for `dired-uncache'.
22525 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22527 * net/trampver.el: Update release number. Make version check fit
22530 2009-06-22 Jim Meyering <meyering@redhat.com>
22532 Automatically handle .xz suffix (XZ-compressed files), too.
22533 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22534 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22536 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22537 Nick Roberts <nickrob@snap.net.nz>
22539 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22540 repository (http://sphinx.net.ru/hg/gdb-mi/).
22542 2009-06-22 Glenn Morris <rgm@gnu.org>
22544 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22545 `mode' and `eval' entries. (Bug#3430)
22547 * Makefile.in (ELCFILES): Add fadr.elc.
22549 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22550 differing behavior of \n and ^ in strings. (Bug#3385)
22552 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22554 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22556 (lisp-indent-function): Make it a defcustom.
22558 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22560 * progmodes/gdb-ui.el: Replace with ...
22561 * progmodes/gdb-mi.el: ... this file.
22562 * progmodes/gud.el: Modify for gdb-mi.el.
22564 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22566 * fadr.el: New file.
22568 See ChangeLog.14 for earlier changes.
22570 ;; Local Variables:
22574 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22576 This file is part of GNU Emacs.
22578 GNU Emacs is free software: you can redistribute it and/or modify
22579 it under the terms of the GNU General Public License as published by
22580 the Free Software Foundation, either version 3 of the License, or
22581 (at your option) any later version.
22583 GNU Emacs is distributed in the hope that it will be useful,
22584 but WITHOUT ANY WARRANTY; without even the implied warranty of
22585 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22586 GNU General Public License for more details.
22588 You should have received a copy of the GNU General Public License
22589 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.