1 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
3 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
5 2011-02-27 Prestoo Ten <prestooten@gmail.com>
7 * term/screen.el: New file (Bug#2650).
9 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
12 (pcase-mutually-exclusive-predicates): New var.
13 (pcase--split-consp, pcase--split-pred): Use it.
14 (pcase--split-equal, pcase--split-member): When splitting against
15 a pure predicate, run it to know the outcome.
16 (pcase--u1): Mark vars that are actually used.
17 (pcase--q1): Avoid introducing unused vars.
19 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
21 * calc/calc-ext.el (calc-init-extensions):
22 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
24 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
27 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
28 argument is a variable.
30 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
32 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
33 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
34 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
36 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
38 * password-cache.el (password-in-cache-p): Convenience function to
39 check if a key is in the cache, even if the value is nil.
41 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
43 * emacs-lisp/package-x.el (package--archive-contents-from-url)
44 (package--archive-contents-from-file): New functions.
45 (package-update-news-on-upload): New var.
46 (package-upload-buffer-internal): Extract archive-contents from
47 package-archive-upload-base if it is not found at archive-url.
48 Obey package-update-news-on-upload.
49 (package-upload-buffer, package-upload-file): Doc fix.
51 2011-02-24 Glenn Morris <rgm@gnu.org>
53 * files-x.el (modify-dir-local-variable): Handle dir-locals from
54 the cache, and from non-file sources.
56 * help-fns.el (describe-variable): Return consistent results when a
57 dir-local from a file came from the cache or did not. (Bug#8095)
58 If a dir-local has no associated file, say it came from a "directory".
60 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
61 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
63 * files.el (dir-locals-find-file): Doc fix.
64 Fix the check for cache elements that have no associated file,
65 and the mtime check for those that do. (Bug#8095)
67 * dired-x.el (dired-hack-local-variables):
68 Handle interrupts during hacking local variables. (Bug#5216)
70 * emacs-lisp/autoload.el (autoload-save-buffers)
71 (autoload-find-destination, update-directory-autoloads):
72 Avoid prompts when updating autoloads.
74 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
76 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
78 2011-02-23 Kenichi Handa <handa@m17n.org>
80 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
81 error when a multipart boundary in the nested multipart is found.
83 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
86 2011-02-23 Glenn Morris <rgm@gnu.org>
88 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
89 * dired-x.el (dired-omit-mode): Safe if boolean.
90 (dired-enable-local-variables): Fix doc and custom type.
91 (dired-enable-local-variables, dired-local-variables-file)
92 (dired-hack-local-variables): Make obsolete.
93 (dired-omit-here-always): Use dir-locals.el instead.
95 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
97 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
99 * help-fns.el (describe-function-1): Don't signal an error just because
100 the DOC file disappeared.
102 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
104 * eshell/esh-ext.el (eshell-external-command): Do not restrict
105 remote check to "ftp". (Bug#8089)
107 2011-02-21 Alan Mackenzie <acm@muc.de>
110 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
111 in macros finding their way into c-state-nonlit-pos-cache.
112 Strengthen the comments.
113 (c-state-dump): New commented out diagnostic routine.
115 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
117 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
118 `field' property of `rfn-eshadow-overlay'.
120 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
122 * net/netrc.el (netrc-parse): Comment fix.
124 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
126 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
127 Autoload. Add optional arg FRAME, and pass it to color-values.
128 (color-complement): Caller changed. Doc fix.
129 (color-gradient): Rewrite for better clarity and efficiency.
131 * faces.el (color-values): Use cond for clarity. Doc fix.
133 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
135 (list-colors-sort-key, list-colors-print):
136 Use color-normalized-values.
138 2011-02-20 Drew Adams <drew.adams@oracle.com>
140 * color.el: First part of merge from hexrgb.el.
141 (color-rgb-to-hex): Rename from color-rgb->hex.
142 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
143 saturation to zero if the value is too small.
144 (color-rgb-to-hsl): Rename from color-rgb->hsl.
145 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
146 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
147 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
148 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
149 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
150 (color-cie-de2000): Doc fix.
152 2011-02-20 Alan Mackenzie <acm@muc.de>
154 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
155 locating the beginning of a macro. (Bug#7595)
157 2011-02-20 Glenn Morris <rgm@gnu.org>
159 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
162 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
163 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
165 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
166 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
168 * progmodes/hideshow.el (hs-find-block-beginning)
169 (hs-hide-level-recursive): Ignore comments when parsing braces
172 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
174 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
175 (vc-bzr-pull): Use it.
177 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
179 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
180 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
181 but returning an alist. Ignore comments in bzr conffile.
182 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
183 (vc-bzr-error-regex-alist): New var.
184 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
186 * vc/vc-dispatcher.el (vc-do-async-command):
187 Bind inhibit-read-only to t.
189 * progmodes/compile.el (compilation--flush-directory-cache):
190 Handle the case where cdr of compilation--flush-directory-cache
191 points to no buffer, which can occur if we previously switched to
192 compilation-mode in a pregenerated buffer.
194 2011-02-19 Kenichi Handa <handa@m17n.org>
196 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
197 get the header copy into the temporary buffer.
198 (rmail-mime-insert-decoded-text): Ignore us-ascii.
199 (rmail-show-mime): When rmail-mime-coding-system is nil, set
200 buffer-file-coding-system to undecided.
202 2011-02-19 Eli Zaretskii <eliz@gnu.org>
204 * international/mule-cmds.el (read-char-by-name, ucs-insert):
205 Document completion with asterisk and a substring.
207 2011-02-19 Glenn Morris <rgm@gnu.org>
209 * files.el (find-file-literally): Doc fix.
211 * simple.el (rfc822-goto-eoh): Give it a doc-string.
213 * log-edit.el (log-edit-insert-changelog):
214 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
216 2011-02-19 Glenn Morris <rgm@gnu.org>
218 * dired-x.el: Don't require dired-aux.
219 (dired-do-create-files, dired-mark-read-regexp)
220 (dired-do-create-files-regexp): Autoload from dired-aux.
222 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
223 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
225 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
226 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
228 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
229 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
230 (dired-clean-up-buffers-too): Declare.
232 * dired-x.el (dired-initial-position): Merge into dired.el's version.
233 * dired.el (dired-initial-position): Merge dired-x's version here.
234 (dired-find-subdir): Declare.
236 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
237 * dired-aux.el (dired-add-entry): Give it a doc-string.
238 Merge dired-x's dired-omit handling here.
239 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
241 * international/mule-diag.el (list-input-methods-1):
242 Indent all lines of multi-line doc-strings. (Bug#8066)
244 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
246 Fix 2011-02-02 changes.
248 * apropos.el (apropos-print): Call apropos-mode before setting up
249 buffer variables. Use inhibit-read-only.
251 * emacs-lisp/package.el (package--list-packages):
252 Call package-menu-mode before setting up buffer variables.
254 * play/solitaire.el (solitaire): Call solitaire-mode before
255 setting up buffer variables. Use inhibit-read-only.
257 2011-02-18 Lawrence Mitchell <wence@gmx.li>
259 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
260 Bind case-fold-search to nil when looking for end of here-doc.
262 2011-02-18 Eli Zaretskii <eliz@gnu.org>
264 * image-mode.el (image-toggle-display-image):
265 Set find-file-literally non-nil in buffers visiting binary image
268 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
270 * files.el (cd): Make completion obey cd-path (bug#7924).
272 2011-02-18 Glenn Morris <rgm@gnu.org>
274 * progmodes/prolog.el: Don't require compile when compiling.
275 (compilation-shell-minor-mode, compilation-error-regexp-alist)
276 (compilation-forget-errors, compilation-fake-loc)
277 (compilation-parse-errors-function, compilation-error-list): Declare.
278 (prolog-inferior-mode): Require 'compile.
280 * emulation/cua-base.el (pc-selection-mode): Declare.
282 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
283 (customize-object): Add autoload cookie.
284 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
285 (eieio-browse, describe-class, eieio-describe-class)
286 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
287 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
288 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
289 * Makefile.in (autoloads): Make eieio.el writable.
291 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
292 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
293 (dired-hack-local-variables): Use inhibit-read-only.
294 (dired-guess-default): Simplify.
295 (dired-make-relative-symlink): Use dotimes.
296 (dired-simultaneous-find-file): Use dolist.
297 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
298 (dired-x-hands-off-my-keys): Doc fix.
299 (dired-x-bind-find-file): Doc fix. Use remapping.
300 (after-init-hook): No need to add dired-x-bind-find-file.
301 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
302 No need to call expand-file-name.
303 (dired-filename-at-point): Remove unused locals `end', `filename'.
305 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
307 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
309 2011-02-18 Christian Ohler <ohler@gnu.org>
311 * emacs-lisp/ert.el (ert--setup-results-buffer)
312 (ert-results-pop-to-backtrace-for-test-at-point)
313 (ert-results-pop-to-messages-for-test-at-point)
314 (ert-results-pop-to-should-forms-for-test-at-point)
315 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
316 were incorrect and unnecessary. This should make `make check'
319 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
321 * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
322 (allout-widgets-icons-dark-subdir): Track relocations of icons
323 * lisp/allout.el: Remove commentary about remove encryption
324 passphrase mnemonic support and verification.
325 (allout-encrypt-string): (allout-encrypt-string): Recognize epg
326 failure to decrypt gpg2 armored text using gpg1, and indicate that
327 the gpg version *might* be the problem in the error message.
329 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
331 * net/rcirc.el (rcirc-float-time): New function.
332 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
333 (rcirc-ctcp-sender-PING): Use it.
335 2011-02-17 Glenn Morris <rgm@gnu.org>
337 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
338 (speedbar-update-flag, speedbar-fetch-etags-command)
339 (speedbar-fetch-etags-arguments):
340 * term.el (term-buffer-maximum-size, term-input-chunk-size)
341 (term-completion-autolist, term-completion-addsuffix)
342 (term-completion-recexact, term-completion-fignore):
343 * term/sup-mouse.el (sup-mouse-fast-select-window):
344 * term/x-win.el (x-select-request-type):
345 Convert some defvars with "*" to defcustoms.
347 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
349 * vc/vc.el (vc-default-previous-version):
350 Remove alias that points nowhere. (Bug#4496)
352 * dired-x.el (dired-clean-up-after-deletion):
353 kill-buffer does not need save-excursion.
354 (dired-do-run-mail): Doc fix.
355 (dired-filename-at-point): Doc fix.
356 Use looking-at, and skip-chars rather than re search.
358 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
360 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
362 * allout-widgets.el: New allout extension that shows allout
363 outline structure with graphical widgets. 'allout-widgets'
364 customize group is an 'allout' subgroup, for easy discovery.
366 * allout.el: Include PGP and GnuPG in Keywords, and other
367 commentary refinements.
368 (allout-abbreviate-flattened-numbering): Rename to
369 allout-flattened-numbering-abbreviation, and
370 define-obsolete-variable-alias the old name.
371 (allout-flattened-numbering-abbreviation): Rename from
372 allout-abbreviate-flattened-numbering.
373 (allout-mode-p): Include among autoloads, for use by other modes
375 (allout-listify-exposed):
376 Use allout-flattened-numbering-abbreviation.
377 (allout-encrypt-string): Use set-buffer-multibyte directly.
378 (allout-set-buffer-multibyte): Remove.
380 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
382 * simple.el (just-one-space): Remove useless `or' call.
384 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
386 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
387 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
388 (soap-decoded-multi-refs, soap-current-wsdl)
389 (soap-encoded-namespaces): Rename CL-style *...* variables.
391 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
393 * net/soap-client.el: Add "comm" and "hypermedia" to the
394 keywords. Reflow too long lines.
396 * net/soap-inspect.el: Ditto. Require 'cl.
398 2011-02-16 Bastien Guerry <bzg@altern.org>
400 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
401 in a `doctor-type' argument.
403 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
405 * net/soap-client.el:
406 * net/soap-inspect.el: New files.
408 2011-02-16 Leo <sdl.web@gmail.com>
410 * dired-x.el (dired-mode-map, dired-extra-startup):
411 Remove dired-copy-filename-as-kill since it's already in dired.el.
413 2011-02-16 Glenn Morris <rgm@gnu.org>
415 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
416 Doc fixes. Add :set property, replacing top-level calls.
417 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
418 (dired-guess-shell-gnutar): Test tar version rather than system-type.
419 (dired-extra-startup, dired-man, dired-info): Doc fixes.
420 (dired-clean-up-after-deletion): Use when and dolist.
421 (dired-jump): Use unless and when.
422 (dired-virtual): Use line-end-position.
423 (dired-default-directory-alist): Rename from default-directory-alist.
424 (dired-default-directory): Update for above name change.
425 (dired-vm): Drop VM < 5 and simplify.
426 (dired-buffer-more-recently-used-p): Rewrite.
427 (dired-filename-at-point): Use when and or.
428 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
431 2011-02-15 Glenn Morris <rgm@gnu.org>
433 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
435 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
437 * vc/vc-git.el (vc-git-root-log-format): New option for
438 customizing log format.
439 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
440 (vc-git-log-view-mode): Use it.
441 (vc-git-expanded-log-entry): New function.
442 (vc-git-log-view-mode): Use it. Truncate lines in root log.
444 * vc/vc-hg.el (vc-hg-root-log-template): New option for
445 customizing log format.
446 (vc-hg-print-log): Use it.
447 (vc-hg-expanded-log-entry): New function.
448 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
449 vc-hg-expanded-log-entry. Truncate lines in root log.
451 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
453 * vc/log-view.el (log-view-mode-menu):
454 Add log-view-toggle-entry-display.
456 2011-02-14 Glenn Morris <rgm@gnu.org>
458 * dired-x.el: Don't require man when compiling.
459 (dired-omit-extensions, dired-local-variables-file)
460 (dired-x-hands-off-my-keys): Make them defcustoms.
461 (Man-support-local-filenames, Man-getpage-in-background): Declare.
462 (vm-visit-folder): Declare rather than defining.
463 (dired-x-help-address, dired-x-variable-list): Remove.
464 (dired-x-submit-report): Make it an obsolete alias.
466 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
468 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
470 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
472 * net/imap.el: Bring it back.
474 2011-02-13 Alan Mackenzie <acm@muc.de>
476 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
477 narrow-to-region call that cuts context off the end (Bug#7722).
479 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
480 Refactor nested if-forms with a simple cond.
481 (c-forward-<>-arglist): Revert 2011-01-31 change.
483 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
485 * vc/log-view.el: New command log-view-toggle-entry-display for
486 toggling log entries between concise and detailed forms.
487 (log-view-toggle-entry-display): New command.
488 (log-view-mode-map): Bind RET to it.
489 (log-view-expanded-log-entry-function): New variable.
490 (log-view-current-entry, log-view-inside-comment-p)
491 (log-view-current-tag): New functions.
492 (log-view-toggle-mark-entry): Use log-view-current-entry and
493 log-view-end-of-defun instead of searching directly with
495 (log-view-end-of-defun): Likewise. Add optional ARG for
496 compatibility with end-of-defun.
497 (log-view-end-of-defun): Ignore comments and VC buttons.
499 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
500 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
502 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
504 * net/imap.el: Remove file. All the functionality is in nnimap.el.
506 * net/imap-hash.el: Remove file.
508 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
510 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
512 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
515 * net/tramp-imap.el: Remove file.
517 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
519 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
520 widget library for buttons, just use button.el.
522 * vc/log-view.el (log-view-mode-map): Don't inherit from
525 2011-02-12 Glenn Morris <rgm@gnu.org>
527 * emacs-lisp/cl-seq.el (union, nunion, intersection)
528 (nintersection, set-difference, nset-difference)
529 (set-exclusive-or, nset-exclusive-or): Doc fix.
531 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
533 * faces.el (face-attr-match-p): Handle the obsolete :bold and
534 :italic props, so that frame-set-background-mode works. (Bug#7966)
536 * simple.el (next-error): Doc fix.
538 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
540 * dired-aux.el (dired-create-files): Adapt destination name to
541 match the new behavior of copy-directory.
543 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
545 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
546 from rmail-dont-reply-to-names. Callers changed.
547 (mail-dont-reply-to): Rename from mail-dont-reply-to.
548 (rmail-dont-reply-to): Make it an obsolete alias.
550 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
551 nil, and make obsolete (Bug#7888).
552 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
554 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
556 * mail/rmailsort.el (rmail-sort-by-correspondent)
557 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
559 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
561 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
563 * files.el (copy-directory): New argument COPY-CONTENTS for
564 copying directory contents into another existing directory.
566 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
568 * minibuffer.el (completion-table-case-fold): New function for
569 creating a case-insensitive completion table.
571 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
573 * net/tramp.el (tramp-default-method): Also check if
574 `auth-source-search' is bound.
575 (tramp-read-passwd): Use `auth-source-search' instead of
576 `auto-source-user-or-password'.
578 * net/tramp-imap.el: Autoload `auto-source-search' instead of
579 `auto-source-user-or-password.
580 (tramp-imap-passphrase-callback-function): Use it.
582 * net/imap-hash.el: Autoload `auto-source-search' instead of
583 `auto-source-user-or-password.
584 (imap-hash-open-connection): Use it.
586 * mail/smtpmail.el: Autoload `auto-source-search' instead of
587 `auto-source-user-or-password.
588 (smtpmail-try-auth-methods): Use it.
590 2011-02-12 Phil Hagelberg <phil@hagelb.org>
592 * emacs-lisp/package.el: Allow packages to be reinstalled.
593 (package--write-file-no-coding): Remove EXCL arg.
594 (package-unpack-single): Don't use it.
596 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
598 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
599 in each sub directory.
600 (vc-svn-registered): Use vc-svn-root.
601 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
602 (vc-svn-repository-hostname): Use "svn info".
604 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
606 * simple.el (delete-trailing-whitespace): New optional buffer
609 2011-02-11 Bastien Guerry <bzg@altern.org>
611 * files.el (basic-save-buffer): save unmodified buffers when
612 the file pointed by buffer-file-name doesn't exist.
614 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
616 * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
618 2011-02-11 Glenn Morris <rgm@gnu.org>
620 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
622 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
624 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
626 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
628 * server.el (server-process-filter): Use pcase.
630 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
632 (smie-indent--parent): Extend to "parent of arg".
633 (smie-indent-inside-string): New function.
634 (smie-indent-functions): Use it.
636 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
637 bzr locking race condition.
639 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
640 still valid before using it.
642 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
643 `message' -> `compilation-message' rename (bug#8004).
645 Move keymap initialization into declaration.
646 * textmodes/enriched.el (enriched-mode-map):
647 * textmodes/bib-mode.el (bib-mode-map):
648 * term/lk201.el (lk201-function-map):
649 * tar-mode.el (tar-mode-map):
650 * replace.el (occur-mode-map):
651 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
652 * progmodes/idlw-help.el (idlwave-help-mode-map):
653 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
654 * play/solitaire.el (solitaire-mode-map):
655 * play/snake.el (snake-mode-map, snake-null-map):
656 * play/pong.el (pong-mode-map):
657 * play/handwrite.el (menu-bar-handwrite-map):
658 * play/gametree.el (gametree-mode-map):
659 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
660 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
661 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
662 (newsticker--url-keymap):
663 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
664 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
665 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
666 (menu-bar-edit-menu, menu-bar-custom-menu)
667 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
668 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
669 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
670 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
671 (menu-bar-tools-menu, menu-bar-describe-menu)
672 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
673 (menu-bar-help-menu):
674 * mail/rmailsum.el (rmail-summary-mode-map):
675 * kmacro.el (kmacro-step-edit-map):
676 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
677 (ibuffer-mode-operate-map):
678 * hi-lock.el (hi-lock-menu, hi-lock-map):
679 * emulation/vip.el (vip-mode-map):
680 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
681 * bookmark.el (bookmark-bmenu-mode-map):
682 * help-mode.el (help-mode-map): Move initialization into declaration.
684 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
686 * net/rcirc.el: Add PRIVMSG and CTCP functions.
687 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
688 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
689 (rcirc-cmd-me, rcirc-authenticate): Use them.
691 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
693 * allout.el: Synopsis: Change allout user configuration so
694 auto-activation is controlled solely by customization
695 `allout-auto-activation'.
697 (allout-auto-activation-helper) (allout-setup): New autoloads
698 implement new custom set procedure for allout-auto-activation.
699 Also, explicitly invoke
700 (allout-setup) after allout-auto-activation is custom-defined, to
701 effect the settings in emacs sessions besides the few where
702 allout-auto-activation customization is donea.
703 (allout-auto-activation): Use allout-auto-activation-helper to
704 :set. Revise the docstring.
705 (allout-init): Reduce functionality to just customizing
706 allout-auto-activation, and mark obsolete.
707 (allout-mode): Respect string values for allout-auto-activation.
708 Run allout-after-copy-or-kill-hook without any args.
709 (allout-mode) (allout-layout) (allout-default-layout)
710 (outlineify-sticky): Adjust docstring for new scheme.
711 (allout-after-copy-or-kill-hook): No arguments - hook implementers
712 should concentrate on the kill ring.
714 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
716 * password-cache.el (password-cache-remove): Accept secrets that are
719 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
721 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
722 of here-doc that immediately follows a comment.
724 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
726 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
728 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
730 (rcirc-ctcp-sender-PING): New function.
732 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
734 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
735 Remove the mark/nomark handling, and activate shift-select-mode instead.
737 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
739 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
741 * calc/calc-units.el (math-logunits-quant): Add support for
742 non-logarithmic units.
744 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
746 * allout.el (allout-after-copy-or-kill-hook): New hook for
747 extension-specific processing of killed text.
748 (allout-mode): Include new allout-after-copy-or-kill-hook among
750 (allout-kill-line) (allout-kill-topic): Ensure that processing
751 after kill happens even if barf-if-buffer-read-only is raised.
752 Include new allout-after-copy-or-kill-hook among that subsequent
754 (allout-deannotate-hidden): Actually remove the annotation text
757 * allout.el (allout-listify-exposed): Copy text sans text properties.
759 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
761 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
763 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
765 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
767 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
769 * calc/calc.el (calc-logunits-field-reference): Rename from
770 `calc-default-field-reference-level'.
771 (calc-logunits-power-reference): Rename from
772 `calc-default-power-reference-level'
774 * calc/calc-units.el (math-logunits-quant): Rename from
775 `math-logunits-level'
776 (math-logunits-plus): Rename from math-logcombine.
777 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
778 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
779 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
781 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
782 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
783 (calc-logunits-quantity): Rename from `calc-level'.
784 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
785 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
786 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
787 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
788 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
791 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
792 (calc-ul-prefix-help): Remove.
793 (calc-l-prefix-help): New function.
794 (calc-full-help): Add reference to `calc-l-prefix-help'.
796 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
798 * calc/README: Mention logarithmic units.
800 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
802 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
803 non-ASCII characters (Bug#7925).
805 2011-02-05 Glenn Morris <rgm@gnu.org>
807 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
809 * calendar/diary-lib.el (diary-font-lock-keywords):
810 Tweak diary-time-regexp match. (Bug#7891)
812 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
813 (f90-mode): Use it for mode's `find-tag-default-function' property.
815 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
817 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
819 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
821 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
824 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
826 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
827 font-lock-syntax-table remappings.
828 (sh-here-doc-markers, sh-here-doc-re): Remove.
829 (sh-font-lock-close-heredoc): Remove.
830 (sh-syntax-propertize-here-doc): New function.
831 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
832 instead of the sh-here-doc-re.
833 (sh-font-lock-paren): Don't do anything in comments or strings.
834 Handle line continuations. Accept a few more chars.
835 Don't rely on the font-lock-syntax-table remappings.
836 `esac' is not a valid pattern.
837 (sh-syntax-propertize-function): Handle here-docs differently, so we
838 don't bother syntax-propertizing the insides.
840 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
841 Handle new bashisms ";&" and ";;&" (bug#7947).
843 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
845 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
846 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
848 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
850 * net/tramp.el (tramp-postfix-method-format)
851 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
852 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
853 (tramp-postfix-user-regexp, tramp-prefix-port-format)
854 (tramp-prefix-port-regexp, tramp-postfix-host-format)
855 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
858 2011-02-04 Sam Steingold <sds@gnu.org>
860 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
862 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
864 * international/mule-util.el (with-coding-priority): Doc fix.
866 2011-02-04 Eli Zaretskii <eliz@gnu.org>
868 * arc-mode.el (archive-mode-map): Fix a typo in last change.
870 2011-02-03 Sam Steingold <sds@gnu.org>
872 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
873 Do not error out when `func' is nil.
875 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
877 * net/tramp-sh.el (tramp-remote-path): Add default settings for
878 `tramp-default-remote-path' to the docstring.
879 (tramp-get-remote-path): Suppress error message when `getconf
882 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
884 2011-02-03 Glenn Morris <rgm@gnu.org>
886 * vc/vc-hg.el (vc-hg-command): Doc fix.
888 * term/w32-win.el (libpng-version): Declare for compiler.
890 * msb.el: No need to load dired while compiling.
892 * emacs-lisp/elint.el (elint-standard-variables):
893 Remove a couple of built-ins that now have doc-strings.
895 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
896 `require' is automatically `eval-and-compile'd.
898 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
899 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
901 * strokes.el (strokes-fill-current-buffer-with-whitespace):
902 Move definition before use.
903 (strokes-report-bug): Make it obsolete.
905 2011-02-02 Sam Steingold <sds@gnu.org>
907 * apropos.el (apropos-print): Now that `apropos-mode' inherits
908 from `special-mode', entering it makes the buffer read-only, so
909 call it only when everything has been already inserted.
910 * emacs-lisp/ert.el (ert--setup-results-buffer)
911 (ert-results-pop-to-backtrace-for-test-at-point)
912 (ert-results-pop-to-messages-for-test-at-point)
913 (ert-results-pop-to-timings): Ditto.
914 * emacs-lisp/package.el (package--list-packages): Ditto.
915 * play/solitaire.el (solitaire): Ditto.
917 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
919 * progmodes/compile.el: Make all faces inherit.
920 (compilation-warning): Inherit from font-lock-variable-name-face.
921 (compilation-info): Inherit from font-lock-type-face.
922 (compilation-line-number): Reassign to font-lock-keyword-face.
923 (compilation-column-number): Reassign to font-lock-doc-face.
924 (compilation-leave-directory-face): Reassign to
925 font-lock-builtin-face.
927 2011-02-02 Eli Zaretskii <eliz@gnu.org>
929 * dired.el (dired-insert-directory): Don't invoke `ls' when
930 ls-lisp.el is used to emulate it.
932 2011-02-01 Julien Danjou <julien@danjou.info>
934 * color.el (color-gradient): Add a color-gradient function.
936 2011-02-01 Sam Steingold <sds@gnu.org>
938 * simple.el (special-mode-map): Bind "h" to `describe-mode';
939 bind "z" to `kill-this-buffer'.
940 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
941 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
942 (apropos-mode): Inherit from `special-mode'.
943 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
944 * bookmark.el (bookmark-bmenu-mode): Define using
945 `define-derived-mode' inheriting from `special-mode'.
946 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
947 * image-mode.el (image-mode-map): Ditto.
948 * replace.el (occur-mode): Define using
949 `define-derived-mode' inheriting from `special-mode'.
950 * tar-mode.el (tar-mode): Inherit from `special-mode'.
951 * calendar/diary-lib.el (diary-fancy-display-mode):
952 Inherit from `special-mode-map'.
953 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
954 Inherit from `special-mode'.
955 * emacs-lisp/package.el (package-menu-mode-map): Copy from
957 (package-menu-mode): Define using `define-derived-mode'
958 inheriting from `special-mode'.
959 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
960 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
961 (xesam-mode-map): Define separately.
962 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
963 * progmodes/compile.el (compilation-minor-mode-map)
964 (compilation-mode-map): Inherit from `special-mode-map'.
965 * vc/diff-mode.el (diff-mode-shared-map):
966 Inherit from `special-mode-map'.
967 * vc/log-view.el (log-view-mode-map): Add a comment.
969 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
971 * custom.el (load-theme): Define return value. Drop use of
972 unsafep; call custom-theme-load-confirm for non-known-safe themes.
973 (custom-theme-load-confirm): Scroll in the correct window.
974 (custom-enabled-themes): Add custom-safe-themes to :set-after.
976 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
977 checkbox if load-theme fails.
979 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
981 * progmodes/compile.el (compilation-next-error): Check there's
982 a message before using it (bug#7941).
984 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
986 * calc/calc-mtx.el (math-lud-pivot-check): New function.
987 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
990 2011-01-31 Alan Mackenzie <acm@muc.de>
992 * progmodes/cc-cmds.el (c-forward-over-illiterals):
993 Continue parsing if we encounter a naked # (Bug#7595).
994 (c-beginning-of-statement): Avoid loop in locating the beginning
995 of a macro. (Not actually committed until 2011-02-20, see above).
997 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
999 * files.el (copy-directory): Fix arguments to recursive call.
1001 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1003 * files.el (copy-directory): If destination is an existing
1004 directory, copy into a subdirectory there.
1006 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1008 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1011 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1013 * image-dired.el (image-dired-mouse-display-image): No-op if no
1014 file is found (Bug#7817).
1016 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1018 2011-01-31 Kenichi Handa <handa@m17n.org>
1020 * international/quail.el (quail-keyboard-layout-alist):
1021 Remove superfluous SPC for "pc105-uk" (bug#7927).
1023 2011-01-31 Glenn Morris <rgm@gnu.org>
1025 * msb.el (msb-menu-bar-update-buffers): Update for changed
1026 argument handling of menu-bar-select-frame. (Bug#7902)
1028 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1030 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1031 to the recursion depth (Bug#7722).
1033 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1035 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1036 command-line-default-directory (Bug#7872).
1038 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1040 * progmodes/compile.el (compilation--flush-directory-cache):
1041 New function, extracted from compilation--remove-properties.
1042 (compilation--remove-properties, compilation--parse-region): Use it.
1043 (compilation--previous-directory): Handle one more case.
1044 (compilation-enable-debug-messages): Remove.
1045 (compilation-parse-errors, compilation--flush-parse): Just remove the
1046 left over debug messages.
1048 2011-01-31 Sam Steingold <sds@gnu.org>
1050 * progmodes/compile.el (compilation-enable-debug-messages):
1051 Add a variable to make the parsing messages introduced in
1052 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1053 (compilation-parse-errors, compilation--flush-parse): Use it.
1055 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1057 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1058 (rcirc-nick-completion-format): New defcustom.
1059 (rcirc-complete): Use it.
1061 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1063 * net/rcirc.el: Clean log filenames (Bug#7933).
1064 (rcirc-log-write): Use convert-standard-filename.
1065 (rcirc-log-filename-function): Documentation updates.
1067 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1069 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1070 Check report-emacs-bug-can-use-osx-open and use that if t.
1071 (report-emacs-bug-can-use-osx-open): New function.
1072 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1073 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1075 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1077 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1078 updating Dired or VC-dir buffers after async command completes.
1080 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1081 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1083 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1084 completions if it exists. Use vc-set-async-update.
1085 (vc-git-pull): Use vc-set-async-update.
1087 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1088 read-shell-command. Use vc-set-async-update.
1089 (vc-hg-merge-branch): Use vc-set-async-update.
1091 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1093 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1094 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1097 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1099 * progmodes/compile.el: Avoid an N² behavior in grep.
1100 (compilation--previous-directory): New fun.
1101 (compilation--previous-directory-cache): New var.
1102 (compilation--remove-properties): Flush it.
1103 (compilation-directory-properties, compilation-error-properties):
1104 Use the new fun to speed up looking for the current directory.
1106 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1108 * vc/vc-hg.el (vc-hg-history): New var.
1109 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1110 (vc-hg-merge-branch): New function.
1112 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1113 the other way around.
1115 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1116 (vc-git-merge-branch): New functions.
1117 (vc-git-history): New var.
1119 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1121 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1123 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1124 vc-do-async-command.
1126 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1129 2011-01-28 Leo <sdl.web@gmail.com>
1131 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1132 highlighting to the "this function is advised" message.
1134 * help-mode.el (help-mode-finish): Apply highlighting here, to
1135 avoid clobbering by substitute-command-keys (Bug#6304).
1137 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1139 * woman.el (woman0-roff-buffer): Process roff escape sequences
1140 occurring prior to the first request (Bug#7843).
1142 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1144 * progmodes/compile.el: Don't use font-lock any more.
1145 (compilation-error-regexp-alist-alist): Change handling of makepp
1146 so it preserves the warning/error distinction on subsequent files.
1147 Simplify various rules.
1148 (compilation-directory-properties): Use font-lock-face.
1149 Add a compilation-message property.
1150 (compilation-internal-error-properties): Use font-lock-face.
1151 Don't set the compilation-debug property here.
1152 (compilation--put-prop, compilation--remove-properties)
1153 (compilation--parse-region, compilation--ensure-parse)
1154 (compilation--ensure-parse): New functions.
1155 (compilation-parse-errors): New function, largely inspired of
1156 compilation-mode-font-lock-keywords. Set compilation-debug here.
1157 (compilation--parsed): New var.
1158 (compilation--flush-parse): Use compilation--ensure-parse.
1159 (compilation-start): Don't call font-lock.
1160 (compilation-turn-on-font-lock): Remove.
1161 (compilation-setup): Don't set font-lock-extra-managed-props not change
1162 other font-lock settings, other than keywords.
1163 Don't activate font-lock-mode.
1164 Set change-major-mode-hook and before-change-functions.
1165 (compilation--unsetup): Remove properties and hooks.
1166 (compilation-next-single-property-change): New function.
1167 (compilation-next-error): Use it to parse when needed.
1168 (compile-goto-error): Parse buffer as needed.
1169 (compilation--compat-error-properties): Don't need a dummy `face'
1172 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1174 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1175 (compilation-process-setup-function): Fix docstring's false promises.
1176 (compilation-error-regexp-alist-alist): Catch omake's continuous
1177 recompilation message and avoid reuse of old markers.
1178 (compilation-parse-errors-function): Declare obsolete.
1179 (compilation-buffer-modtime): Remove.
1180 (compilation--make-cdrloc, compilation--loc->col)
1181 (compilation--loc->line, compilation--loc->file-struct)
1182 (compilation--loc->marker, compilation--loc->visited)
1183 (compilation--make-file-struct, compilation--file-struct->file-spec)
1184 (compilation--file-struct->formats)
1185 (compilation--file-struct->loc-tree): New macros. Use them.
1186 (compilation--message): New defstruct. Use them.
1187 (compilation-next-error-function): Don't mess with timestamps to try
1188 and guess when to reparse.
1190 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1192 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1193 (tex-old-error-file-name): New function,
1194 extracted from tex-compilation-parse-errors.
1195 (tex-compilation-parse-errors): Remove.
1196 (tex-error-regexp-alist): New var.
1197 (tex-shell): Use it to avoid compilation-parse-errors-function.
1199 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1200 (grep-mode-font-lock-keywords): Remove regexp that seems like
1201 a left-over from before we used compile.el.
1202 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1203 modifying the buffer within with-silent-modifications.
1205 * progmodes/compile.el: Cleanup text-properties namespace by using
1206 `compilation-message' instead of `message', `compilation-directory'
1207 instead of `directory', and `compilation-debug' instead of `debug'.
1208 (compilation-last-buffer, compilation-parsing-end)
1209 (compilation-error-list, compilation-old-error-list): Move to the
1210 compatibility part of the code.
1211 (compilation-error-properties): If `file' is a function, let it return
1213 (compilation-mode-font-lock-keywords): Be more conservative with the
1214 omake "^ *" pattern prefix, to try and minimize the risk of
1215 pathologically slow regexp matching.
1216 (compilation-start): Use inhibit-read-only.
1217 (compilation--unsetup): New function.
1218 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1219 (compilation-filter): Minor tweaks.
1220 (compilation-next-error-function): Try and avoid abusing variables.
1221 (compilation--flush-file-structure): New fun.
1222 (compilation-fake-loc): Use it to improve behavior when file is reused.
1223 (debug-ignored-errors): Add "Moved past last ...".
1224 (compilation--compat-error-properties)
1225 (compilation--compat-parse-errors): Rename by doubling the "-".
1227 Port features from the previous prolog.el to the new one.
1228 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1229 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1230 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1231 variable and use a function to compute the value dynamically.
1232 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1233 (prolog-continued-prompt-regexp): Remove, unused.
1234 (prolog-find-value-by-system): Try and use the value of prolog-system
1235 in the *prolog* buffer if it helps.
1236 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1237 (prolog-zip-on): ..and check prolog-system and version here instead.
1238 (prolog-inferior-self-insert-command): New command.
1239 (prolog-inferior-mode-map): Use it.
1240 (prolog-inferior-error-regexp-alist): New var.
1241 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1242 (prolog-input-filter): Use derived-mode-p.
1243 (prolog-inferior-guess-flavor): New function.
1244 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1245 make-comint to avoid running comint-mode twice.
1246 (prolog-inferior-buffer): New fun.
1247 (prolog-old-process-region, prolog-old-process-file):
1248 Don't call prolog-bsts here...
1249 (prolog-build-prolog-command): ...do it here instead.
1250 (prolog-old-process-region, prolog-old-process-file):
1251 Use compilation-fake-loc and compilation-forget-errors.
1252 (prolog-consult-compile-region): Use bolp.
1254 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1256 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1258 2011-01-27 Sam Steingold <sds@gnu.org>
1260 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1261 Remove "*server*" which is never created by emacs server.
1263 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1265 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1266 there are some diff switches.
1268 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1270 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1271 Copy change made to ruby-font-lock-syntactic-keywords.
1273 * htmlfontify.el: Make it obey the font-lock-face text property.
1274 Miscellaneous cleanup such as:
1275 - Don't hide expressions after a closing paren.
1276 - Move initial setq into let.
1277 - Hoist common parts out of ifs.
1278 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1279 (hfy-face-at): Use get-text-property instead.
1280 (hfy-prop-invisible-p): Use invisible-p if available.
1281 (htmlfontify-manual): Use \\[...].
1282 (hfy-html-quote-regex): Use [...].
1283 (hfy-combined-face-spec): Simplify.
1284 (hfy-compile-face-map): Don't presume point-min==1.
1285 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1286 match end of string.
1287 (hfy-text-p): η-reduce.
1288 (hfy-tags-for-file): Receive cache-hash directly.
1289 (hfy-mark-tag-names): Adjust call.
1291 2011-01-27 Glenn Morris <rgm@gnu.org>
1293 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1294 (msb-after-load-hook): Remove eval-after-load wackiness.
1296 2011-01-25 Sam Steingold <sds@gnu.org>
1298 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1299 literal "diff" (important for windows-nt).
1301 2011-01-25 Glenn Morris <rgm@gnu.org>
1303 * emacs-lisp/copyright.el (copyright-at-end-flag)
1304 (copyright-names-regexp): Add safety properties.
1305 (copyright-year-ranges): New option.
1306 (copyright-find-end): New function, split from copyright-update-year.
1307 (copyright-update-year): Use copyright-find-end.
1308 (copyright-fix-years): Optionally, convert years to ranges.
1309 Handle years continued over comment lines.
1310 Do not mess with the fill-prefix.
1311 Do not call copyright-update.
1312 (copyright-update-directory): Optionally, fix years rather than update.
1313 Skip directories. Find files with only safe local vars.
1315 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1317 * files.el (file-name-non-special): Only change buffer-file-name after
1318 insert-file-contents if it's `visit'ing the file (bug#7854).
1320 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1322 * dired.el (dired-revert): Doc fix (Bug#7758).
1324 * simple.el (line-move-visual): Doc fix (Bug#7594).
1326 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1328 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1329 here-doc which ends with an underscore.
1330 (ruby-mode-set-encoding): Skip shebang line always.
1331 (ruby-mode-map): Bind C-c C-c to comment-region.
1332 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1333 (ruby-forward-sexp): Stop after literal hash key labels.
1334 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1337 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1339 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1340 the correct buffer (Bug#7650).
1342 2011-01-25 Glenn Morris <rgm@gnu.org>
1344 * comint.el (comint-mode): Doc fix. (Bug#7897)
1346 * simple.el (do-auto-fill): Give it a doc string.
1348 * button.el (make-text-button): Doc fix. (See bug#7881)
1350 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1352 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1353 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1355 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1356 Handle ?" and friends differently (e.g. don't use backrefs).
1358 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1360 * calc/calc.el (calc-default-power-reference-level)
1361 (calc-default-field-reference-level): New variables.
1362 * calc/calc-units.el (math-standard-units): Add dB and Np.
1363 (math-logunits): New variable.
1364 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1365 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1366 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1368 (math-find-base-units-rec): Add entry for ln(10).
1369 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1370 (calc-ul-prefix-help): New function.
1371 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1372 functions. Add keybindings for new units functions.
1374 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1376 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1377 rcirc buffers. (Bug#4940)
1379 2011-01-22 Glenn Morris <rgm@gnu.org>
1381 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1382 split out from copyright-update-year.
1383 (copyright-update): Don't mess with the GPL version if we don't own the
1384 copyright. Update license regexp, and remove no longer needed
1386 (copyright-fix-years): Use copyright-find-copyright.
1388 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1390 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1392 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1394 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1395 (lm): Rename to landmark.
1396 (lm-test-run): Rename to landmark-test-run.
1398 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1400 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1401 "Case sensitive" menu item.
1403 2011-01-22 Roland McGrath <roland@frob.com>
1405 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1406 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1408 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1410 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1412 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1414 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1415 Assume foo(bar) is a manpage reference rather than some unquoted
1418 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1420 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1421 Suggested by Flo <sensorflo@gmail.com>.
1423 2011-01-22 Glenn Morris <rgm@gnu.org>
1425 * progmodes/compile.el (compilation-error-regexp-alist):
1426 Fix custom type. (Bug#7812)
1428 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
1430 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1431 allout-number-siblings, in keeping with what obtained due to
1432 (now-defunct) allout-keybindings-list. Ditch repeat binding to
1434 (allout-before-change-handler): Better expose spots affected by
1437 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1439 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1441 2011-01-22 Phil Hagelberg <phil@evri.com>
1443 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1444 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1445 (pcmpl-ssh-config-hosts): New function.
1446 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1447 pcmpl-ssh-known-hosts.
1449 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1451 * calc/calc-undo.el (calc-undo): Autoload it.
1452 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1453 and autoload for `calc-undo'.
1454 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1455 * calc/calc-prog.el:
1456 * calc/calc-graph.el:
1457 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1459 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
1461 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1462 keybindings to `calc-undo'.
1464 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1466 Don't mess with *temp*.
1467 * obsolete/spell.el: Move from textmodes/spell.el.
1469 * term.el (term-read-input-ring):
1470 * startup.el (display-startup-echo-area-message):
1471 * progmodes/antlr-mode.el (antlr-directory-dependencies):
1472 * comint.el (comint-read-input-ring): Use with-temp-buffer.
1473 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1476 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
1478 * allout.el (allout-institute-keymap): Use fset instead of
1479 reapplying defalias.
1481 (allout-hotspot-key-handler): Check for non-control-modified
1482 bindings for hotspot characters if there are no control-modified
1485 * allout.el: Summary - migrate to defining allout mode using
1486 define-minor-mode instead of defun. Significantly clean-up
1487 internal keymap provisions, refactoring and, in the process,
1488 removing a lot of accumulated cruft.
1490 allout-mode-map is now a keymap by virtue of being a defalias to
1491 allout-mode-map-value, which contains the actual keymap structure.
1493 (allout-mode): Use define-minor-mode rather than defun.
1494 Remove now-unnecessary minor-mode setup activities from the body.
1495 Specify :keymap as allout-mode-map so the minor-mode-map-alist
1496 entry will be '(allout-mode . allout-mode-map) - see
1497 allout-mode-map-value, below. Adjust docstring to track changes.
1498 (allout-minor-mode): Remove this defalias, now that we're using
1500 (allout-mode-map): Set value to be 'allout-mode-map. The actual
1501 keymap is allout-mode-map-value, via defalias.
1502 (allout-mode-map-value): The variable holding the actual mode
1503 keymap structure, by virtue of defalias from allout-mode-map.
1504 (allout-compose-and-institute-keymap): Rename from
1505 allout-bind-keys, and including the binding-composition
1506 functionality of the former produce-allout-mode-map and
1507 allout-setup-mode-map.
1508 (allout-institute-keymap): Take over the "setup" part of the former
1509 allout-setup-mode-map. Reassign allout-mode-map-value value and
1510 update the defalias.
1511 (allout-command-prefix) (allout-prefixed-keybindings)
1512 (allout-unprefixed-keybindings):
1513 Use allout-compose-and-institute-keymap to process the bindings.
1514 (allout-unprefixed-keybindings): Remove extraneous '?' question
1516 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1517 user can customize if they want to use that binding.
1518 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1519 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
1520 elided that, previously, instead of the one for \C-h.)
1521 (allout-hotspot-key-handler): Remove attempt to resolve the key
1522 through the literal key-string lookup on allout-keybindings-list.
1523 That probably hasn't worked for a Long Time, and removal of
1524 allout-keybindings-list further simplifies the keybindings
1526 (allout-pre-command-business): Use allout-mode-map-value instead
1528 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1529 the bindings if they want to use a keybinding having a trailing
1530 \C-h. No deprecation needed since this feature was never in a
1532 (allout-keybindings-list): Remove. It's not been useful for a
1533 while. (See allout-hotspot-key-handler changes, above.)
1534 (produce-allout-mode-map): Remove. Consolidate into
1535 allout-compose-and-institute-keymap.
1536 (allout-mode-map-adjustments): Remove. No longer necessary with
1537 removal of allout-preempt-trailing-ctrl-h.
1538 (allout-setup-mode-map): Remove. Consolidate into
1539 allout-compose-and-institute-keymap and allout-institute-keymap.
1541 2011-01-20 Glenn Morris <rgm@gnu.org>
1543 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1545 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1547 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1549 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1551 * files.el (find-alternate-file, basic-save-buffer)
1552 (basic-save-buffer-2, revert-buffer, recover-file)
1553 (kill-buffer-ask, abort-if-file-too-large)
1554 (set-visited-file-name, write-file, backup-buffer)
1555 (basic-save-buffer, save-some-buffers):
1556 * dired-aux.el (dired-compress-file): Callers changed.
1558 2011-01-19 Glenn Morris <rgm@gnu.org>
1560 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1561 Also check the property status. (Bug#7861)
1563 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1565 * net/tramp.el (tramp-debug-message): Extend function exclude
1566 list. Use `regexp-opt'.
1568 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1570 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1571 highlighting doesn't spill over subsequent lines.
1573 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1574 keymap expression. Improve docstring.
1576 * electric.el (electric-indent-post-self-insert-function):
1577 Don't auto-indent for indent-to-left-margin, it's too often
1580 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1582 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1583 spaces if the frame was resized, so that the full visible buffer
1584 serves as canvas for strokes.
1586 2011-01-16 Glenn Morris <rgm@gnu.org>
1588 * info-xref.el (info-xref-docstrings): Replace cl function.
1589 Also skip directories.
1591 2011-01-16 Kevin Ryde <user42@zip.com.au>
1593 * info-xref.el: Version 3.
1594 (info-xref-check, info-xref-check-all): Move commentary details
1595 into docstrings for better visibility.
1596 Use compilation-mode for the results buffer.
1597 (info-xref-output, info-xref-output-error, info-xref-with-output)
1598 (info-xref-filename, info-xref-in-progress):
1599 New internals for this.
1600 (info-xref-check-list, info-xref-check-buffer)
1601 (info-xref-check-all-custom): Use those.
1602 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1603 (info-xref-output-heading): Rename from info-xref-filename-heading.
1604 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1605 (info-xref-filename-heading): Move to output managing section.
1606 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1607 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1608 (info-xref-subfile-p): Move to generic section with those two.
1609 (info-xref-check-node): New function split from
1610 info-xref-check-buffer, shared by info-xref-docstrings.
1611 (info-xref-goto-node-p): Move to a checking section with that func.
1612 (info-xref-unavail): New counter.
1613 (info-xref-check-node): Use it.
1614 (info-xref-with-output): Show count of unavailables at end of output.
1615 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1616 symlinks. Exclude .texi files. Exclude Emacs backup files.
1617 (info-xref-check-all-custom): Fix quietening viper-mode and
1618 gnus-registry-install -- use setq not let so as not to unbind
1621 2011-01-16 Juri Linkov <juri@jurta.org>
1623 * isearch.el (isearch-abort): Don't quit if search has
1624 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1626 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1628 * files.el (backup-buffer): Make last-resort backup file in
1629 .emacs.d (Bug#6953).
1631 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1632 make it with permission 700.
1634 2011-01-15 Kenichi Handa <handa@m17n.org>
1636 * mail/rmailmm.el (rmail-mime-insert-header):
1637 Set rmail-mime-coding-system to a cons whose car is the last coding
1638 system used to decode the header.
1639 (rmail-mime-find-header-encoding): New function.
1640 (rmail-mime-insert-decoded-text):
1641 Override rmail-mime-coding-system if it is a cons.
1642 (rmail-show-mime): If only a header part was decoded, find the
1643 coding system while ignoring mm-charset-override-alist.
1645 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1647 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1649 2011-01-15 Kenichi Handa <handa@m17n.org>
1651 * mail/rmailmm.el (rmail-mime-next-item)
1652 (rmail-mime-previous-item): Delete them.
1653 (rmail-mime-shown-mode): Recursively call for children.
1654 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1656 (rmail-mime-raw-mode): Recursively call for children.
1657 (rmail-mode-map): Change mapping of tab and backtab to
1658 forward-button and backward-button respectively.
1659 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1661 (rmail-mime-update-tagline): New function.
1662 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1663 body display is changed.
1664 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1665 (rmail-mime-image): Delete this button type.
1666 (rmail-mime-toggle): New button type.
1667 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1668 body display is changed. Change the save button label to "Save".
1669 Don't process show/hide button here.
1670 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1671 the body display is changed. Unconditionally call
1672 rmail-mime-insert for children.
1673 (rmail-mime-handle): Update `display' vector of the just inserted
1675 (rmail-mime-process): If mail-header-parse-content-type returns
1676 nil, use "text/plain" as the fallback type.
1677 (rmail-mime-insert): For raw-mode, recursively call
1678 rmail-mim-insert for children.
1679 (rmail-mime): Handle the case that the current buffer is not rmail
1680 buffer (e.g. in summary buffer).
1682 2011-01-15 Kenichi Handa <handa@m17n.org>
1684 * mail/rmailmm.el (rmail-mime-next-item)
1685 (rmail-mime-previous-item): Skip the body of a non-multipart
1686 entity if a tagline is shown.
1688 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1690 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1691 (tmm-prompt): Simplify.
1692 (tmm-add-prompt): Remove unused var `win'.
1694 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1695 to minor mode which used nil accidentally to mean "turn off".
1697 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1699 * net/tramp-sh.el (tramp-find-inline-compress)
1700 (tramp-get-inline-coding): Quote command after pipe symbol for
1701 local calls under W32. (Bug#6784)
1703 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1705 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1706 only when running under W32.
1708 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1710 * progmodes/grep.el (grep-compute-defaults): Quote the program
1711 file name after the pipe symbol in Grep templates. (Bug#6784)
1712 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1714 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1716 * buff-menu.el (Buffer-menu-buffer-list): New var.
1717 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1718 restricted buffer list is not lost on revert (Bug#7749).
1720 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1722 * net/ldap.el (ldap-search-internal): Discard stderr output.
1724 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1726 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1728 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1730 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1732 2011-01-15 Kenichi Handa <handa@m17n.org>
1734 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1735 part as a plain text.
1736 (rmail-mime-process-multipart): Set the default content-type to
1737 nil for unknown multipart subtypes (bug#7651).
1739 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1741 * hexl.el (hexl-mode-old-*): Remove.
1742 (hexl-mode--old-var-vals): New var to replace them.
1743 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1744 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1745 Use them to set local vars (bug#7846).
1746 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1747 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1748 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1750 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1751 (smerge-resolve--normalize-re): New var.
1752 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1753 (smerge-resolve): Use them.
1754 * newcomment.el (comment-only-p): New function.
1755 (comment-or-uncomment-region): Use it.
1757 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1759 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1760 table, get the value before switching to the output buffer. (Bug#7733)
1762 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1764 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1766 2011-01-14 Kim F. Storm <storm@cua.dk>
1768 * emulation/cua-base.el (cua--init-keymaps):
1769 Remap exchange-point-and-mark in cua-global-keymap.
1771 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1773 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1776 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1778 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1780 (easy-menu-create-menu, easy-menu-convert-item-1):
1781 Use :label rather than nil for labels. Use `case'.
1782 Add :enable as alias for :active.
1783 (easy-menu-binding): Obey :label.
1785 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1787 Use run-mode-hooks for major mode hooks (bug#513).
1788 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1789 Rename from reftex-toc-map.
1790 (reftex-toc-mode): Use define-derived-mode.
1791 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1792 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1793 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1794 (reftex-select-label-mode, reftex-select-bib-mode):
1795 Use define-derived-mode.
1796 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1797 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1798 Move init into delcaration.
1799 (reftex-index-mode, reftex-index-phrases-mode):
1800 Use define-derived-mode.
1801 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1802 speedbar-syntax-table. Move init into declaration.
1803 (speedbar-mode-map): Rename from speedbar-key-map.
1804 Move init into declaration.
1805 (speedbar-file-key-map): Move init into declaration.
1806 (speedbar-mode): Use define-derived-mode.
1807 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1808 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1809 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1810 (chart-face-list): Move initialization into declaration.
1811 (chart-mode): Use define-derived-mode.
1812 * calculator.el (calculator-mode-map): Move init into declaration.
1813 (calculator-mode): Use define-derived-mode.
1815 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1816 work for nested comments.
1818 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1819 (prolog-use-prolog-tokenizer-flag): Change default when
1820 syntax-propertize can be used.
1821 (prolog-syntax-propertize-function): New var.
1822 (prolog-mode-variables): Move make-local-variable into `set'.
1823 Don't make comment-column local since we don't set it.
1824 Set comment-add (as it was in previous prolog.el). Use dolist.
1825 Set syntax-propertize-function.
1826 (prolog-mode, prolog-inferior-mode):
1827 Call prolog(-inferior)-menu directly, not through the mode-hook.
1828 (prolog-buffer-module, prolog-indent-level)
1829 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1830 (prolog-comment-limits, prolog-goto-comment-column):
1831 Use line-(end|beginning)-position.
1832 (prolog-build-prolog-command): Tighten up regexp.
1833 (prolog-consult-compile): Move make-local-variable into `set'.
1834 (prolog-consult-compile-filter, prolog-goto-next-paren)
1835 (prolog-help-on-predicate, prolog-clause-info)
1836 (prolog-mark-predicate): Don't let+setq.
1837 (prolog-indent-line): Use indent-line-to.
1838 Only call prolog-goto-comment-column if necessary.
1839 (prolog-indent-level): Use bobp.
1840 (prolog-first-pos-on-line): Remove, not used any more.
1841 (prolog-in-string-or-comment): Use syntax-ppss if available.
1842 (prolog-help-on-predicate): Use read-string.
1843 (prolog-goto-predicate-info): Simplify.
1844 (prolog-read-predicate): Use `default' rather than `initial'.
1845 (prolog-temporary-file): Use make-temp-file to close a security hole.
1846 (prolog-toggle-sicstus-sd): New command.
1847 (prolog-electric-underscore, prolog-variables-to-anonymous):
1848 Use dynamic-scoping as it was meant.
1849 (prolog-menu): Move menu definitions to top-level.
1850 Use a toggle-button for Sicstus's source debugger.
1851 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1853 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1854 Move other menu definition to top-level.
1856 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1858 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1859 name. Keep original document's directory as default-directory
1861 (doc-view-initiate-display): Fall back to normal mode when
1862 doc-view-mode cannot be enabled, also when extracting the document
1863 text into a separate buffer (bug#6446).
1865 * simple.el (shell-command): Don't error out if shell command
1866 buffer contains text with non-nil read-only property when erasing
1869 2011-01-13 Kim F. Storm <storm@cua.dk>
1871 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1872 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1873 items when cycling through the matches.
1875 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1877 * dired-x.el (dired-omit-verbose): New defcustom that allows
1878 disabling the omit messages.
1879 (dired-omit-expunge): Use it.
1881 2011-01-13 Christian Ohler <ohler@gnu.org>
1883 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1885 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1887 * font-lock.el (font-lock-verbose): Default to nil.
1889 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1891 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1892 (compose-mail): New arg RETURN-ACTION.
1893 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1895 * mail/sendmail.el (mail-return-action): New var.
1896 (mail-mode): Make it buffer-local.
1897 (mail-bury): Obey it. Move special Rmail window handling to
1899 (mail, mail-setup): New arg RETURN-ACTION.
1900 (sendmail-user-agent-compose): Move from simple.el.
1902 * mail/rmail.el (rmail-mail-return): New function.
1903 (rmail-start-mail): Pass it to compose-mail.
1905 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1907 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1908 menus. Add menu item for customize-themes.
1910 * cus-theme.el (customize-themes):
1911 * emacs-lisp/package.el (package--list-packages):
1912 Use switch-to-buffer.
1914 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1916 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1918 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1920 * progmodes/prolog.el: Fix up coding convention and such.
1921 (prolog-indent-width): Use the same default as in
1922 previous prolog.el rather than tab-width which depends on which buffer
1923 is current when the file is loaded.
1924 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1926 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1927 (prolog-known-systems): Remove.
1928 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1929 Move initialization into declaration.
1930 (prolog-mode-map): Move initialization into declaration.
1931 Remove system-specific mode-map vars, since they referred to the same
1933 (prolog-mode-variables): Obey the user's preference w.r.t
1934 adaptive-fill-mode. Prefer symbol-value to `eval'.
1935 (prolog-mode-keybindings-edit): Add compatibility bindings.
1936 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1937 (mercury-mode-map): New var.
1938 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1939 (prolog-ensure-process, prolog-process-insert-string)
1940 (prolog-consult-compile): Use with-current-buffer.
1941 (prolog-guess-fill-prefix): Simplify data flow.
1942 (prolog-replace-in-string): New function to use instead of
1944 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1945 (prolog-uncomment-region): Use `uncomment-region' when available.
1946 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1947 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1948 of int-to-char and char-to-int.
1949 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1951 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1953 * progmodes/prolog.el: Replace by a whole new file.
1955 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1957 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1958 (declare-function, undefined, insert-for-yank)
1959 (replace-regexp-in-string): Follow checkdoc's recommendations.
1961 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1963 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1964 refreshing the diary buffer.
1966 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1968 * allout.el: Add 2011 to the file copyright.
1969 (allout-encrypt-string): Prevent encryption from adding an extra
1970 newline at the end of the topic body.
1971 (allout-version): Increment to 2.3.
1973 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1975 * net/dbus.el (dbus-unregister-service): Complete doc.
1976 Fix call of dbus-error signal.
1977 (dbus-register-property): Use `dont-register' keyword.
1979 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1981 * net/dbus.el (dbus-unregister-service): Translate returned
1982 integer into a symbol.
1983 (dbus-register-property): Use `dbus-register-service' to do the
1986 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1988 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1989 Suggested by Joakim Verona.
1991 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1993 * wid-edit.el (visibility): Replace :on-image and :off-image
1994 widget properties with :on-glyph and :off-glyph, for consistency
1995 with the `visibility' widget.
1996 (widget-toggle-value-create, widget-visibility-value-create):
1997 Merge into a single function `widget-toggle-value-create'.
1999 * cus-edit.el (custom-variable-value-create, custom-visibility)
2000 (custom-face-edit-value-create, custom-face-value-create):
2001 Replace :on-image and :off-image widget properties with :on-glyph and
2002 :off-glyph, for consistency with the `visibility' widget.
2004 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2006 * net/ldap.el (ldap-search-internal): Don't use eval.
2008 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2010 * subr.el (read-char-choice): Use read-key.
2012 * custom.el (custom-safe-themes): Rename from
2013 custom-safe-theme-files. Add :risky tag.
2014 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2015 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2017 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2019 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2020 from Search and add a label to Undo.
2022 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2023 inappropriate buttons and adding :vert-only tags.
2025 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2026 removal of Help tool-bar button. Remove Undo button for space.
2028 * info.el (info-tool-bar-map): Add :vert-only tags.
2030 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2032 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2033 image backend support. Either of them is fine.
2035 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2037 * subr.el (y-or-n-p): Doc fix.
2039 * custom.el (custom-safe-theme-files): New defcustom.
2040 (custom-theme-load-confirm): New function.
2041 (load-theme): Load theme using `load', confirming with
2042 custom-theme-load-confirm if necessary.
2044 * subr.el (read-char-choice): New function, factored out from
2045 dired-query and hack-local-variables-confirm.
2047 * dired-aux.el (dired-query):
2048 * files.el (hack-local-variables-confirm): Use it.
2050 * dired-aux.el (dired-compress-file):
2051 * files.el (abort-if-file-too-large, find-alternate-file)
2052 (set-visited-file-name, write-file, backup-buffer)
2053 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2054 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2055 Use new format string args for y-or-n-p and yes-or-no-p.
2057 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2059 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2060 [gcc-include]: Tighten file name match, add match for column
2062 [gnu]: Remove unused group.
2064 2011-01-08 Glenn Morris <rgm@gnu.org>
2066 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2068 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2070 2011-01-07 Sam Steingold <sds@gnu.org>
2072 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2073 the `explicit-shell-file-name' because that is the
2074 non-interactive shell.
2076 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2078 * subr.el (y-or-n-p): Accept format string args.
2080 2011-01-07 Glenn Morris <rgm@gnu.org>
2082 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2084 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2086 * allout.el (allout-back-to-current-heading): Ensure return to
2087 the visible containing topic, rather than a collapsed one.
2088 (allout-view-change-hook): Remove hook that was deprecated long ago.
2089 (allout-exposure-change-hook): Remove documentation remarks
2090 concerning removed allout-view-change-hook.
2091 (allout-flag-region): Remove invocation of and documentation
2092 remarks concerning allout-view-change-hook.
2094 2011-01-06 Glenn Morris <rgm@gnu.org>
2096 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2097 (vc-bzr-annotate-extract-revision-at-line):
2098 Handle authors with embedded spaces. (Bug#7792)
2100 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2102 * doc-view.el (doc-view-image-width): New variable.
2103 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2104 backend for PNG images, and do dynamic rescaling instead of
2105 reconverting the whole doc.
2107 2011-01-05 Glenn Morris <rgm@gnu.org>
2109 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2111 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2113 * allout.el: Reconcile with changes in line movement behavior for
2114 long text lines that cross more than a single physical window
2115 line, ie when truncate-lines is nil.
2116 (allout-next-visible-heading): Provide for change in line-move
2117 behavior on long lines when truncate-lines is nil. In that case,
2118 line-move can wind up on the same textual line when it moves to
2119 the next window line, and moving to the bullet position after the
2120 move yields zero advancement. Add logic to detect and compensate
2121 for the lack of progress.
2122 (allout-current-topic-collapsed-p): move-end-of-line respect for
2123 field boundaries is different when operating with body lines
2124 shorter than window width versus ones greater than window width,
2125 which can yield false negatives in this function. Avoid
2126 difference by applying move-end-of-line while field-text-motion is
2129 2011-01-04 Glenn Morris <rgm@gnu.org>
2131 * textmodes/rst.el (rst-compile-toolsets):
2132 Add pdf and s5 to option alist.
2134 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2136 * net/dbus.el (dbus-register-property): Add optional parameter
2137 dont-register-service. Updated docstring accordingly.
2139 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2141 * textmodes/rst.el (rst-compile-pdf-preview)
2142 (rst-compile-slides-preview): Remove extra line.
2144 2011-01-04 Glenn Morris <rgm@gnu.org>
2146 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2147 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2148 default to `prog' without a .py extension.
2149 (rst-compile-pdf-preview, rst-compile-slides-preview):
2150 Use program names from rst-compile-toolsets, rather than hard-coding.
2151 (rst-portable-mark-active-p): Fix presumed typo.
2153 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2155 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2156 libpng versions both before and after 1.4.0. (Bug#7716)
2158 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2160 * time.el (display-time-mode): Mention display-time-interval in
2161 the doc string. (Bug#7713)
2163 2011-01-02 Kenichi Handa <handa@m17n.org>
2165 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2166 condition-case and return an error message string if something
2168 (rmail-show-mime): Adjust for the above change. Insert the
2169 header by rmail-mime-insert-header.
2171 2011-01-02 Kenichi Handa <handa@m17n.org>
2173 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2174 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2175 (rmail-mime-mbox-buffer)
2176 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2177 (rmail-mime-entity): Argument changed. All codes handling an
2178 entity object are changed.
2179 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2181 (rmail-mime-entity-children, rmail-mime-entity-handler)
2182 (rmail-mime-entity-tagline): New functions.
2183 (rmail-mime-message-p): New function.
2184 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2185 (rmail-mime-entity-segment, rmail-mime-next-item)
2186 (rmail-mime-previous-item, rmail-mime-shown-mode)
2187 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2188 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2189 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2191 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2192 (rmail-mime-insert-decoded-text): New function.
2193 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2194 (rmail-mime-insert-image): Argument changed. Caller changed.
2195 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2196 (rmail-mime-set-bulk-data): New function.
2197 (rmail-mime-insert-bulk): Argument changed.
2198 (rmail-mime-multipart-handler): Return t.
2199 (rmail-mime-process-multipart): Argument changed.
2200 Handle "multipart/alternative" here.
2201 (rmail-mime-process): Argument changed.
2202 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2203 (rmail-mime-insert): Argument changed. Handle raw display mode.
2204 (rmail-mime): Argument changed. Handle toggling of raw display
2206 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2207 rmail-mime-view-buffer.
2208 (rmail-insert-mime-forwarded-message): Likewise.
2209 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2211 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2212 non-nil, handle the header in rmail-show-mime-function.
2214 2011-01-02 Leo <sdl.web@gmail.com>
2216 * help-fns.el (describe-variable): Fix previous change.
2218 2011-01-02 Juri Linkov <juri@jurta.org>
2220 * isearch.el (isearch-lazy-highlight-error): New variable.
2221 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2222 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2223 to the current value of `isearch-error' (Bug#7468).
2225 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2227 * help-fns.el (describe-variable): Don't emit trailing whitespace
2230 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2232 * textmodes/rst.el (rst-compile-pdf-preview)
2233 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2235 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2237 * emulation/edt-mapper.el: Override mapping of function keys so
2238 that the later call to read-key-sequence works.
2240 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2242 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2243 Unix EOLs. (Bug#7589)
2245 2011-01-02 Leo <sdl.web@gmail.com>
2247 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2248 if point is not behind eshell-last-output-end (Bug#7585).
2250 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2252 * files.el (file-local-variables-alist):
2253 Make permanent-local (bug#7767).
2255 2011-01-02 Glenn Morris <rgm@gnu.org>
2257 * version.el (emacs-copyright): Set short copyright year to 2011.
2259 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2261 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2262 an existing temp buffer. (Bug#7746)
2264 2011-01-02 Glenn Morris <rgm@gnu.org>
2266 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2267 multiple addresses. (Bug#7760)
2269 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2271 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2272 do-auto-fill if everything points back to allout-auto-fill.
2273 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2274 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2276 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2278 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2281 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2283 * doc-view.el (doc-view-set-doc-type): New function refactored
2285 (doc-view-fallback-mode): New function.
2286 (doc-view-mode): Use it.
2287 (doc-view-mode-maybe): New function that checks if doc-view-mode
2288 can be used and falls back to the next best mode otherwise.
2290 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2291 DVI, OpenDocument, and MS Office files.
2293 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2295 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2297 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2299 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2300 on a copy of auto-mode-alist, because that deletes with side
2303 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2305 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2306 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2307 fallback instead of hard coding fundamental mode.
2309 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2311 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2312 Office) files also for searching.
2314 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2316 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2317 Office) files. Not yet enabled via auto-mode-list.
2318 (doc-view-unoconv-program): New custom variable.
2319 (doc-view-mode-p): Handle new odf document type.
2320 (doc-view-odf->pdf): New conversion function.
2321 (doc-view-convert-current-doc): Call it for odf files.
2322 (doc-view-mode): Recognize newly supported file extensions.
2324 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2326 * net/tramp.el (tramp-default-method-alist)
2327 (tramp-default-user-alist)
2328 (tramp-local-host-regexp, tramp-prefix-domain-format)
2329 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2332 * net/tramp-gvfs.el:
2334 * net/tramp-imap.el:
2336 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2337 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2339 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2341 * saveplace.el (save-place-alist-to-file): Save list sorted and
2342 pretty-printed, so that it is mergeable by line-based text merging,
2343 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2345 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2347 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2348 (allout-mode): Argument "toggle" => "force".
2349 Refine the docstring.
2350 Remove special provisions for reactivation, besides the 'force'
2352 Consolidate layout provisions coce directly into the activation
2353 condition branch, now that we've removed those provisions.
2354 (allout-unload-function): Explicitly activate the mode before
2355 deactivating, if it's initially deactivated.
2356 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2357 warnings for version of function used only where
2358 set-buffer-multibyte is unavailable.
2360 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2362 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2363 are handled by the menu-bar entries. As before, don't use
2364 :visibile to avoid changing the tool-bar.
2366 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2368 * net/secrets.el (secrets-delete-alias): New defun.
2370 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2372 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2373 methods, otherwise ~/.ssh/config would be ignored.
2375 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2377 * emacs-lisp/rx.el: Make it a superset of sregex.
2378 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2379 of args, add `regex' alias.
2380 (rx-info): Add arg to distinguish head and standalone forms.
2381 (rx-check, rx-form): Pass the corresponding arg.
2383 (rx-repeat): Make it work for any number of args.
2384 (rx-syntax): Make it accept syntax chars as is.
2385 * obsolete/sregex.el: Move from emacs-lisp/.
2386 * emacs-lisp/re-builder.el: Remove sregex support.
2387 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2389 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2391 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2392 PRIMARY first, then the clipboard. (Bug#7699)
2394 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2396 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2399 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2401 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2402 .emacs.elc (Bug#7530).
2404 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2405 image spec (Bug#7480).
2407 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2409 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2410 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2413 2010-12-20 Leo <sdl.web@gmail.com>
2415 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2416 always be performed (Bug#7680).
2418 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2420 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2421 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
2424 * color.el: Move from gnus/.
2426 * vc/diff.el (diff-better-file-name): Function deleted.
2427 abbreviating file names causes problems with shell-quote-argument.
2428 (diff-no-select): Just use expand-file-name.
2430 * tool-bar.el (tool-bar--image-expression): New function.
2431 (tool-bar-local-item, tool-bar--image-exp): Use it.
2432 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2433 Use :enable instead of :visible to avoid changing the tool-bar
2434 configuration unnecessarily.
2436 * info.el (info-tool-bar-map): Add separators.
2438 2010-12-17 Ken Brown <kbrown@cornell.edu>
2440 * loadup.el: Use version numbers in Cygwin build.
2442 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
2444 * ido.el (ido-file-internal): Ask for confirmation before
2445 overwriting an existing file (Bug#1238).
2447 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
2449 * tool-bar.el (tool-bar-setup): Add separators.
2451 * menu-bar.el (featurep): Use menu-bar-separator.
2453 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
2455 Migrate allout encryption provisions from pgg to epg.
2457 * allout.el (allout-toggle-current-subtree-encryption)
2458 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2459 defaulting policy and other changes. Change fetch-pass to keymode-cue,
2460 for simpler universal argument interpretation.
2461 (allout-toggle-subtree-encryption): Adjust docstring to describe
2462 changed encryption provisions. Change fetch-pass to keymode-cue, for
2463 simpler universal argument interpretation. Remove provisions for
2464 handling key type and identity - they'll all be within
2465 allout-encrypt-string or epg/epg or even contained all the way in gpg.
2466 (allout-encrypt-string): Include keymode-cue, for optionally prompting
2467 for keypair recipients (universal argument > 1) and, in addition,
2468 associating the specified recipients with the outline (universal
2469 argument > 4) using a file local variable setting for
2470 'epa-file-encrypt-to'.
2471 Require epa, for recipients handling.
2472 Change how regexp filtering elements are named.
2473 Describe the problem with caching of incorrect symmetric-decryption
2475 Use the epa-passphrase-callback-function, in case the user is using
2477 Support saving of the selected keypair recipients when invoked with a
2479 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2481 Establish epg-context with armoring and default epg-protocol.
2482 Remove all passphrase cache, verification, and hinting code.
2483 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2484 No longer used, delete.
2485 (allout-mode): Adjust docstring to describe changed encryption
2486 provisions. Describe the problem with caching of incorrect
2487 symmetric-decryption keys.
2488 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2489 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2490 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2491 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2494 2010-12-16 Daiki Ueno <ueno@unixuser.org>
2496 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2497 key selection prompt; make 'silent as default (Bug#7487).
2499 2010-12-16 Leo <sdl.web@gmail.com>
2501 * eshell/eshell.el (eshell-directory-name):
2502 Use locate-user-emacs-file (Bug#7578).
2504 2010-12-15 Glenn Morris <rgm@gnu.org>
2506 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2508 2010-12-15 Jari Aalto <jari.aalto@cante.net>
2509 Scott Evans <gse@antisleep.com>
2511 * rect.el (rectange--default-line-number-format)
2512 (rectangle-number-line-callback): New functions.
2513 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2515 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
2517 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2518 Delete unused variables.
2519 (move-to-column-force): Remove function obsolete since 21.2.
2521 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
2523 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2524 (tramp-handle-insert-file-contents): Do not set permanent-local
2527 * net/tramp-cache.el (tramp-persistency-file-name):
2528 Use `locate-user-emacs-file' if fboundp.
2530 * net/tramp-sh.el (tramp-methods): Add "ksu".
2531 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2534 2010-12-14 Glenn Morris <rgm@gnu.org>
2536 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2537 (find-tag-marker-ring): Declare.
2538 (js-find-symbol): Require etags.
2540 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2542 (mail-alias-file): Don't autoload. Doc fix.
2543 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2544 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2545 Mark as obsolete, and risky.
2546 (mail-setup): Simplify.
2548 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2549 * mail/sendmail.el (build-mail-aliases): Update autoload.
2551 * dired.el (dired-trivial-filenames, dired-chown-program)
2552 (dired-auto-revert-buffer): Remove autoload cookies.
2553 * mail/sendmail.el (mail-recover-1): Require 'dired.
2555 * dired.el (dired-subdir-switches, dired-chown-program)
2556 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2557 Make into defcustoms.
2558 (dired-chown-program): Simplify initialization.
2560 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2562 2010-12-13 Romain Francoise <romain@orebokech.com>
2564 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2566 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2568 * net/netrc.el (netrc-point-at-eol): Remove the unused
2569 netrc-point-at-old and netrc-bound-and-true-p bindings.
2570 (netrc-parse): Cache the netrc contents.
2572 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2574 * subr.el (posn-col-row): Evaluate header-line-format in the
2575 context of the POSITION window's buffer.
2577 2010-12-13 Glenn Morris <rgm@gnu.org>
2579 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2580 (with-silent-modifications): Doc fixes.
2582 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2584 * net/tramp.el (tramp-action-password, tramp-process-actions):
2585 Revert previous from. Use `save-restriction'.
2587 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2589 * calendar/diary-lib.el (diary-list-sexp-entries):
2590 Handle case of no newline at end of file. (Bug#7536)
2592 2010-12-13 Glenn Morris <rgm@gnu.org>
2594 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2596 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2598 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2599 (tramp-process-actions): Do not widen.
2601 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2602 Protect buffer-modified value. (Bug#7557)
2604 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2606 * log-edit.el (log-edit-changelog-entries):
2607 Regexp quote filename. (Bug#7505)
2609 2010-12-13 Tom Breton <tehom@panix.com>
2611 * cus-edit.el (custom-save-all):
2612 Bind print-length and print-level to nil. (Bug#7581)
2614 2010-12-13 Glenn Morris <rgm@gnu.org>
2616 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2617 Run hooks to update menu contents. (Bug#7586)
2619 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2620 file names, for the sake of MS Windows. (Bug#7588)
2622 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2624 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2625 empty lines without a leading space.
2627 2010-12-13 Leo <sdl.web@gmail.com>
2629 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2630 while mapping over marks (Bug#6810).
2632 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2634 * image-dired.el (image-dired-db-file)
2635 (image-dired-temp-image-file, image-dired-gallery-dir)
2636 (image-dired-temp-rotate-image-file): Set default values relative
2637 to image-dired-dir (Bug#7518).
2639 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2641 * format.el (format-decode-run-method): Pass args FROM and TO, not
2642 point-min and point-max, to shell-command-on-region (Bug#7488).
2644 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2646 * frame.el (blink-cursor-mode): Make default t for ns.
2648 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2650 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2652 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2654 * comint.el (comint-dynamic-list-input-ring)
2655 (comint-dynamic-complete-filename)
2656 (comint-replace-by-expanded-filename)
2657 (comint-dynamic-simple-complete)
2658 (comint-dynamic-list-filename-completions)
2659 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2661 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2664 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2666 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2669 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2671 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2674 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2676 * files.el (file-relative-name): Handle UNC file names on
2677 DOS/Windows. (Bug#4674)
2679 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2681 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2682 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2683 (epg-context-set-passphrase-callback): Mention that the callback
2684 is not called when used with GnuPG 2.x.
2686 2010-12-13 Glenn Morris <rgm@gnu.org>
2688 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2689 Ensure ps-footer-font-size-internal is initialized.
2690 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2692 2010-12-13 Kenichi Handa <handa@m17n.org>
2694 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2695 within condition-case.
2696 (rmail-show-mime): Don't use condition-case.
2697 (rmail-search-mime-message): New function.
2698 (rmail-search-mime-message-function): Set to
2699 rmail-search-mime-message.
2701 2010-12-13 Leo <sdl.web@gmail.com>
2703 * ido.el (ido-common-initialization): New function. (bug#3274)
2705 (ido-completing-read): Call it.
2707 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2709 * bookmark.el (bookmark-name-from-full-record): Rename back to
2710 this original name from `bookmark-name-from-record' reverting part
2711 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2712 As Drew Adams pointed out, there was no reason to cause churn for
2713 third-party callers.
2715 2010-12-12 Alan Mackenzie <acm@muc.de>
2717 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2718 template arglist, check that the current language supports this.
2720 2010-12-11 Glenn Morris <rgm@gnu.org>
2722 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2723 state of the file matches. (Bug#7544)
2724 (vc-bzr-register, vc-bzr-checkin)
2725 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2726 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2728 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2730 2010-12-11 Karel Klíč <kklic@redhat.com>
2732 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2734 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2736 Derive from prog-mode, use derived-mode-p, and fix up various
2737 minor style issues in lisp/progmodes.
2739 * progmodes/vhdl-mode.el (vhdl-mode):
2740 * progmodes/verilog-mode.el (verilog-mode):
2741 * progmodes/vera-mode.el (vera-mode):
2742 * progmodes/sql.el (sql-mode):
2743 * progmodes/scheme.el (scheme-mode):
2744 * progmodes/perl-mode.el (perl-mode):
2745 * progmodes/octave-inf.el (inferior-octave-mode):
2746 * progmodes/autoconf.el (autoconf-mode):
2747 * progmodes/m4-mode.el (m4-mode):
2748 * progmodes/inf-lisp.el (inferior-lisp-mode):
2749 * progmodes/idlwave.el (idlwave-mode):
2750 * progmodes/icon.el (icon-mode):
2751 * progmodes/idlw-help.el (idlwave-help-mode):
2752 * progmodes/dcl-mode.el (dcl-mode):
2753 * progmodes/idlw-shell.el (idlwave-shell-mode):
2754 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2755 (ebrowse-member-mode, ebrowse-electric-position-mode):
2756 Use define-derived-mode.
2758 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2759 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2760 (xscheme-debugger-mode-p, xscheme-send-string-1):
2761 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2762 (tcl-load-file, tcl-restart-with-file):
2763 * progmodes/ps-mode.el (ps-run-running):
2764 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2765 * progmodes/js.el (js--get-all-known-symbols):
2766 * progmodes/inf-lisp.el (inferior-lisp-proc):
2767 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2768 (idlwave-template, idlwave-update-buffer-routine-info)
2769 (idlwave-update-current-buffer-info)
2770 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2771 (idlwave-scan-class-info, idlwave-fix-keywords)
2772 (idlwave-list-buffer-load-path-shadows):
2773 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2774 (idlwave-toolbar-remove):
2775 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2776 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2777 (idlwave-shell-menu-def):
2778 * progmodes/idlw-complete-structtag.el
2779 (idlwave-prepare-structure-tag-completion):
2780 * progmodes/gud.el (gud-set-buffer):
2781 * progmodes/f90.el (f90-backslash-not-special):
2782 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2784 * progmodes/xscheme.el (xscheme-start)
2785 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2786 * progmodes/which-func.el (which-function):
2787 * progmodes/vhdl-mode.el (vhdl-set-style):
2788 * progmodes/verilog-mode.el (verilog-set-compile-command)
2789 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2790 (verilog-set-define, verilog-auto-reeval-locals):
2791 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2792 * progmodes/simula.el (simula-mode):
2793 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2794 * progmodes/python.el (python-check, python-mode):
2795 * progmodes/prolog.el (prolog-mode-variables):
2796 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2797 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2798 * progmodes/delphi.el (delphi-mode):
2799 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2800 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2801 (c-font-lock-init): Move make-local-variable to their setq.
2803 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2804 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2806 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2807 (sh-set-shell): Don't set require-final-newline since it's already done
2809 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2810 since we never set it.
2811 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2812 Use read-string and standard prompt.
2813 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2814 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2815 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2816 (meta-common-mode-map): Rename from meta-mode-map.
2817 Remove C-m binding, which is a user preference, not mode specific.
2818 (meta-common-mode): New major mode; replace meta-common-initialization.
2819 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2820 around with font-lock.
2821 * progmodes/etags.el (select-tags-table-mode):
2822 Derive from special-mode.
2823 * progmodes/octave-mod.el (octave-mode):
2824 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2825 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2826 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2827 Let define-derived-mode do its job.
2828 * progmodes/cpp.el (cpp-edit-mode-map):
2829 Move initialization into declaration.
2830 (cpp-edit-mode): Use define-derived-mode.
2831 (cpp-edit-load): Use derived-mode-p.
2832 * progmodes/mixal-mode.el (mixal-mode):
2833 * progmodes/f90.el (f90-mode):
2834 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2835 require-final-newline since prog-mode does it already.
2836 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2837 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2838 * progmodes/antlr-mode.el: Require cc-mode upfront.
2839 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2841 (antlr-directory-dependencies, antlr-show-makefile-rules):
2843 (antlr-language-option): Don't assume point-min==1.
2844 (antlr-mode): Use define-derived-mode.
2845 * progmodes/ada-mode.el: Use derived-mode-p.
2846 (ada-mode): Use define-derived-mode.
2847 Use hack-local-variables-hook.
2849 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2851 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2852 (texinfo-mode): Don't disable adaptive-fill-mode.
2853 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2854 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2855 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2856 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2857 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2858 (texinfo-insert-@quotation, texinfo-insert-@samp)
2859 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2860 (texinfo-insert-@uref): Use define-skeleton.
2861 (texinfo-insert-@-with-arg): Delete.
2863 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2865 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2866 nil, do quote archive member names. (Bug#6144)
2868 2010-12-10 Glenn Morris <rgm@gnu.org>
2870 * files.el (diff-no-select): Declare.
2872 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2873 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2875 * comint.el (comint-input-ring-file-name): Doc fix.
2877 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2879 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2881 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2882 Use them instead of `nil' and `>', respectively.
2883 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2885 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2886 and menu-bar-positive-p instead of `nil' and `>', respectively.
2889 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2891 * whitespace.el (whitespace-newline-mode): Code fix.
2893 2010-12-09 Glenn Morris <rgm@gnu.org>
2895 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2896 Rename functions without commas, update callers.
2898 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2900 * whitespace.el (whitespace-cleanup-region):
2901 Clean up spaces before tabs. (Bug#7582)
2903 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2905 * bookmark.el: Adjust parameter names and doc strings to resolve
2906 confusion over whether "bookmark" meant a bookmark name or a
2907 bookmark record. Along the way, shorten one function's name for
2908 similar reasons. (Issue #7548)
2909 (bookmark-name-from-record): New name for
2910 `bookmark-name-from-full-record'. All callers changed.
2911 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2912 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2913 (bookmark-get-annotation, bookmark-set-annotation)
2914 (bookmark-get-filename, bookmark-set-filename)
2915 (bookmark-get-position, bookmark-set-position)
2916 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2917 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2918 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2919 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2920 Rename `bookmark' parameter to `bookmark-name-or-record', to
2921 clearly show its role, and shorten or adjust doc strings accordingly.
2922 (bookmark-set-name): Same, and pass the parameter directly to
2923 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2924 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2925 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2926 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2927 and in some cases shorten doc string accordingly.
2928 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2929 and `new-name', and adjust an internal variable to avoid confusion.
2930 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2931 parameter in doc string.
2933 2010-12-08 Glenn Morris <rgm@gnu.org>
2935 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2936 from gdb's history file. (Bug#7575)
2938 * mail/emacsbug.el (report-emacs-bug):
2939 Try to handle some other mail clients.
2941 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2943 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2944 Use string-prefix-p.
2945 (file-name-version-regexp): New var.
2946 (file-name-sans-versions):
2947 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2948 (jka-compr-get-compression-info): Use dolist.
2949 (jka-compr-compression-info-list): Don't bother specifying
2950 version/backup regexps.
2952 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2954 * simple.el (just-one-space): Make argument n default to 1 if
2957 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2959 * electric.el (electric-indent-post-self-insert-function):
2960 Delete trailing newlines even if we don't reindent.
2962 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2964 * minibuffer.el (completion-at-point): Remove the `arg'.
2965 * bindings.el (complete-symbol): Move back from minibuffer.el.
2967 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2969 * simple.el (just-one-space): Delete newlines for negative arg.
2971 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2973 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2974 (ansi-color-filter-apply): Simplify.
2975 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2977 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2979 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2981 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2983 * dired.el (dired-use-ls-dired): Set default to a special
2984 "unspecified" value.
2985 (dired-insert-directory): When called the first time, check
2986 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2988 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2990 * replace.el: Add "collect" feature to occur.
2991 (occur-collect-regexp-history): New var.
2992 (occur-read-primary-args): Return a replace string for nlines,
2994 (occur): Extend the meaning of nlines.
2996 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2998 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2999 (which-func-update-1): Distinguish symbols from strings.
3000 (which-function): Stay within 80 columns.
3002 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3004 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3006 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3008 (comment-style): Use comment-styles's docs to describe values.
3010 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3012 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3013 and ns-show-prefs (Bug#7535).
3015 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3016 bindings (Bug#7535).
3018 2010-12-03 Glenn Morris <rgm@gnu.org>
3020 * nxml/nxml-mode.el: Require rng-nxml.
3021 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3022 Remove declarations.
3024 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3025 * nxml/rng-nxml.el, nxml/rng-valid.el:
3026 Remove leading `*' from defcustom docs.
3028 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3029 (normal-top-level-add-to-load-path, tty-handle-args):
3030 Convert comments to basic doc-strings.
3032 * net/browse-url.el (browse-url-url-at-point)
3033 (browse-url-default-browser): Remove autoload cookies.
3035 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3036 Remove more undefined cl functions.
3038 * vc/diff.el (diff-sentinel): Make new arguments optional.
3039 * ibuf-ext.el (diff-sentinel): Update declaration.
3041 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3043 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3044 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3045 (epg-context-set-passphrase-callback): Mention that the callback
3046 is not called when used with GnuPG 2.x.
3048 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3050 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3051 (tramp-file-name-port): Check also for `tramp-default-port'.
3052 (tramp-get-connection-name): New defun.
3053 (tramp-get-connection-process): Use it.
3054 (tramp-debug-message): Extend function exclude list.
3055 (tramp-drop-volume-letter): Fix doc string.
3057 * net/tramp-cmds.el: Remove solved todo item.
3061 * net/tramp-gvfs.el:
3063 * net/tramp-imap.el:
3064 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3065 and `tramp-default-user-alist', respectively.
3067 * net/tramp-gw.el (tramp-gw-open-connection):
3068 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3070 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3071 `tramp-file-name-port'.
3073 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3074 and "psftp". Exchange "%k" marker with options.
3075 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3076 Compute size of link target.
3077 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3078 `tramp-current-*' up due to gateway methods. Optimize computing of
3079 copy arguments. Use `tramp-get-connection-name' and
3080 `tramp-get-connection-buffer'. Improve debug messages.
3081 (tramp-compute-multi-hops): Remove port determination.
3082 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3084 * net/trampver.el: Update release number.
3086 2010-12-02 Glenn Morris <rgm@gnu.org>
3088 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3089 Avoid infinite loop over windows. (Bug#7492)
3091 * progmodes/flymake.el (flymake-check-file-limit):
3092 Allow nil to mean "no limit".
3093 (flymake-check-patch-master-file-buffer): Update for above change.
3094 Allow a .tex file-name extension to be optional.
3095 (flymake-master-tex-init): Also match \include statements.
3097 2010-11-30 Sam Steingold <sds@gnu.org>
3099 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3100 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3101 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3102 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3103 define-derived-mode').
3104 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3105 users who want to call `nxml-parent-document-set'.
3107 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3109 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3110 stand-alone lines, since that is handled by log-edit-match-to-eoh
3113 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3115 * dired.el (dired-get-filename): Replace backslashes with slashes
3116 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3117 * locate.el (locate-default-make-command-line): Don't consider
3118 drive letter and root directory part of
3119 `directory-listing-before-filename-regexp'. (Bug#7308)
3120 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3122 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3124 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3125 of :smie-open/close-alist.
3126 (smie-next-sexp): Make it accept a "start token" as argument.
3127 (smie-indent-keyword): Be careful not to misidentify tokens that span
3128 more than one line, as empty lines. Add argument `token'.
3130 2010-11-27 Kenichi Handa <handa@m17n.org>
3132 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3133 multipart subtypes, insert all as usual.
3135 * mail/rmail.el: Require rfc2047.
3137 2010-11-27 Kenichi Handa <handa@m17n.org>
3139 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3140 (rmail-mime-entity-disposition)
3141 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3142 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3143 (rmail-mime-save): Handle the case that the button's `data' is a
3145 (rmail-mime-insert-text): New function.
3146 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3147 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3148 (rmail-mime-insert-bulk): New function mostly copied from the old
3149 rmail-mime-bulk-handler.
3150 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3151 (rmail-mime-process-multipart): New function mostly copied from
3152 the old rmail-mime-multipart-handler.
3153 (rmail-mime-show): Just call rmail-mime-process.
3154 (rmail-mime-process): New function mostly copied from the old
3156 (rmail-mime-insert-multipart, rmail-mime-parse)
3157 (rmail-mime-insert, rmail-show-mime)
3158 (rmail-insert-mime-forwarded-message)
3159 (rmail-insert-mime-resent-message): New functions.
3160 (rmail-insert-mime-forwarded-message-function): Set to
3161 rmail-insert-mime-forwarded-message.
3162 (rmail-insert-mime-resent-message-function): Set to
3163 rmail-insert-mime-resent-message.
3165 * mail/rmailsum.el: Require rfc2047.
3166 (rmail-header-summary): Handle multiline Subject: field.
3167 (rmail-summary-line-decoder): Change the default to
3168 rfc2047-decode-string.
3170 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3171 (rmail-mime-feature): Change the default to `rmailmm'.
3172 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3173 (rmail-display-labels): Likewise.
3174 (rmail-show-message-1): Check rmail-enable-mime, and use
3175 rmail-show-mime-function for a MIME message. Decode the headers
3176 according to RFC2047.
3178 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3180 * progmodes/which-func.el (which-func-imenu-joiner-function):
3181 Return a string, as expected.
3182 (which-function-mode): Make sure we stop any previous timer before
3185 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3187 * net/tramp.el (tramp-default-method-alist)
3188 (tramp-default-user-alist, tramp-default-proxies-alist):
3189 Adapt custom options type. (Bug#7445)
3191 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3193 * progmodes/python.el: Add Ipython support (Bug#5390).
3194 (python-shell-prompt-alist)
3195 (python-shell-continuation-prompt-alist): New options.
3196 (python--set-prompt-regexp): New function.
3197 (inferior-python-mode, run-python, python-shell):
3198 Require ansi-color. Use python--set-prompt-regexp to set the comint
3199 prompt based on the Python interpreter.
3200 (python--prompt-regexp): New var.
3201 (python-check-comint-prompt)
3202 (python-comint-output-filter-function): Use it.
3203 (run-python): Use a pipe (Bug#5694).
3205 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3207 * progmodes/python.el (run-python): Doc fix.
3208 (python-keep-current-directory-in-path): New var (Bug#7454).
3210 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3212 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3213 Prompt user before actually printing.
3215 2010-11-27 Glenn Morris <rgm@gnu.org>
3217 * startup.el (package-enable-at-startup, package-initialize):
3218 Remove unnecessary declarations.
3220 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3222 * international/characters.el (glyphless-char-display-control):
3223 Exclude newline and TAB from the c0-control group.
3225 2010-11-27 Glenn Morris <rgm@gnu.org>
3227 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3228 (expand-mail-aliases): Remove unnecessary autoload.
3230 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3232 * shell.el (shell-dir-cookie-re): Move definition before use.
3234 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3235 Replace undefined CL functions.
3237 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3239 * simple.el (prog-mode): Set bidi-paragraph-direction to
3242 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3244 2010-11-26 Glenn Morris <rgm@gnu.org>
3246 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3247 diary-outlook-formats can be sensitive to calendar-date-style.
3248 (diary-outlook-formats): Simplify the default setting.
3249 (diary-from-outlook-internal): Pass subject and body as arguments.
3250 Use dolist rather than dotimes. Don't save the diary buffer.
3251 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3252 Pass subject and body as explicit arguments to the -internal function.
3254 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3256 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3257 parsing them. This makes mailto:...?subject=foo\nbar work.
3259 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3261 * vc/diff.el (diff): Fix last change.
3263 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3265 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3266 (pcase--dontcare-upats): New var.
3267 (pcase-let, pcase-let*): Generate better code.
3268 Accept the same bodies as `let'.
3269 (pcase-dolist): New macro.
3270 (pcase--trivial-upat-p): New helper function.
3271 (pcase--expand): Strip leading "(let nil" if any.
3273 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3275 * mail/mailclient.el (browse-url): Require.
3276 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3277 use the external browser function to send the mail (bug#7469).
3279 * net/browse-url.el (browse-url-browser-function): Revert the
3280 default back to the previous value, since the new value broke
3282 (browse-url-mailto-function): New variable for mailto: URLs.
3283 (browse-url): Use the new variable for mailto: URLs.
3285 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3287 * eshell/esh-cmd.el (eshell-parse-command):
3288 * eshell/esh-arg.el (eshell-parse-arguments):
3289 * eshell/em-script.el (eshell-source-file):
3290 Use with-silent-modifications.
3292 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3294 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3295 for a merge location.
3297 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3298 (vc-bzr-merge-branch): Always prompt.
3299 (vc-bzr-async-command): Use the full branch filename.
3301 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3303 * shell.el (shell): Use current-buffer by default if it's already
3304 a shell mode buffer and its process is dead.
3305 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3307 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3309 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3310 Mention that the keywords should be comma separated.
3312 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3314 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3315 Accept optional prefix arg meaning to prompt for a command.
3316 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3317 prefix arg meaning to prompt for a command.
3318 (vc-pull): Alias for vc-update.
3320 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3321 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3322 (vc-bzr-merge-branch): New functions, implementing merge-branch
3323 and pull operations.
3325 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3327 * Makefile.in: Fix up last merge.
3329 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3330 (diff-sentinel): Get them as arguments instead.
3331 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3332 (diff-file-local-copy, diff-better-file-name): New funs.
3333 (diff-no-select): Rename from diff-into-buffer.
3334 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3335 Prefer closures to buffer-local variables.
3336 (diff): Adjust accordingly.
3337 (diff-buffer-with-file): Move from files.el.
3338 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3339 (diff-buffer-internal): Remove.
3340 (diff-buffer-buffer): Remove.
3341 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3342 the buffer name used, and so as not to mess up windows and frames.
3344 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3346 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3347 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3348 (diff-buffer-with-file): Use it.
3349 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3352 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3354 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3355 \ref's or \pageref's value as default instead of initial input.
3357 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3359 * files.el (backup-by-copying-when-mismatch): The default value is
3362 * startup.el (normal-top-level):
3363 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3364 `backup-by-copying-when-mismatch'.
3366 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3368 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3370 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3372 * progmodes/python.el (python-font-lock-keywords):
3373 Highlight top-level augmented assignments (Bug#6445).
3375 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3377 * term/ns-win.el (ns-right-control-modifier)
3378 (ns-right-command-modifier): Defvar them.
3380 * cus-start.el (all): Add ns-right-control-modifier and
3381 ns-right-command-modifier (Bug#7458).
3383 2010-11-20 Glenn Morris <rgm@gnu.org>
3385 * emacs-lisp/authors.el (authors-ignored-files)
3386 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3388 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3390 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3391 (report-emacs-bug-parse-query-results)
3392 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3393 keywords used for querying the bug database to show them in the
3394 existing bugs buffer.
3396 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3398 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3400 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3402 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3404 * international/characters.el (glyphless-char-display-control):
3405 Make it a defcustom, with update-glyphless-char-display as its
3407 (top level): Don't call update-glyphless-char-display.
3409 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3411 Sync with Tramp 2.2.0.
3413 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3414 `file-remote-p' (due to compatibility).
3416 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3417 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3419 * net/trampver.el: Update release number.
3421 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3423 * faces.el (glyphless-char): Define value for `pc'.
3425 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3427 Implemented a bug querying mechanism.
3428 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3429 (report-emacs-bug-create-existing-bugs-buffer)
3430 (report-emacs-bug-parse-query-results)
3431 (report-emacs-bug-query-existing-bugs): New functions.
3433 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
3435 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3436 a \ref{} or \pageref{} macro, then use its value as initial input.
3438 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3440 * calc/calc-units.el (math-build-units-table-buffer):
3441 calc/README: Mention that the TeX specific units won't use the
3442 `tex' prefix in TeX mode.
3443 calc/calc-lang.el (math-variable-table): Don't use the `tex'
3444 prefix for units in TeX mode.
3446 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3448 * simple.el (kill-new, kill-append, kill-region):
3449 * comint.el (comint-kill-region): Make the yank-handler argument
3452 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3454 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3455 that are both openers (resp. closers) and something else.
3456 (smie-grammar): Loosen definition of valid values.
3457 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3458 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3459 (smie-indent-after-keyword): Adjust users.
3460 (smie-indent-keyword): Don't indent empty lines.
3462 * vc-hg.el (vc-hg-program): New var.
3463 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3464 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3466 2010-11-18 Glenn Morris <rgm@gnu.org>
3468 * emacs-lisp/autoload.el (autoload-find-destination): The function
3469 coding-system-eol-type may return non-numeric values. (Bug#7414)
3471 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
3473 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3475 2010-11-18 Eli Zaretskii <eliz@gnu.org>
3477 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
3479 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
3481 * textmodes/picture.el (picture-mouse-set-point): Don't use
3482 posn-col-row; explicitly compute the motion based on the posn at
3483 the window-start (Bug#7390).
3485 2010-11-18 Glenn Morris <rgm@gnu.org>
3487 * novice.el (disabled-command-function):
3488 Fix 2009-11-15 change. (Bug#7384)
3490 2010-11-18 Glenn Morris <rgm@gnu.org>
3492 * calendar/calendar.el (diary-iso-date-forms): Make elements
3493 mutually exclusive. (Bug#7377)
3495 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3497 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3498 when filling the remaining "unconstrained" values.
3500 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3502 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3505 * files.el (safe-local-variable-p): Gracefully handle errors.
3507 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3508 Use smie-indent-virtual when indenting relative to an opener.
3509 (smie-rule-separator): Use smie-rule-parent.
3510 (smie-indent-keyword): Consult rules, even for openers at bol.
3511 (smie-indent-comment-close): Try to align closer's content.
3513 2010-11-18 Glenn Morris <rgm@gnu.org>
3515 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3517 2010-11-18 Glenn Morris <rgm@gnu.org>
3519 * printing.el (pr-menu-bind): Doc fix.
3521 * speedbar.el (speedbar-toggle-images): Doc fix.
3523 * progmodes/python.el (python-shell): Doc fix.
3525 * wid-edit.el (widget-field-use-before-change)
3526 (widget-use-overlay-change): Doc fixes.
3528 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3530 Minor cleanup to improve style.
3531 * textmodes/rst.el (rst-update-section): Use point-marker.
3532 (rst-get-decoration): Eliminate unneeded assignment.
3533 (rst-promote-region, rst-straighten-decorations)
3534 (rst-section-tree, rst-adjust): Use point-marker.
3535 (rst-toc-mode-mouse-goto): Avoid setq.
3536 (rst-shift-region-guts, rst-shift-region-left)
3537 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3538 (rst-convert-bullets-to-enumeration): Use copy-marker.
3540 * minibuffer.el (completion-fail-discreetly): New var.
3541 (completion--do-completion): Use it.
3543 * electric.el (electric-pair-pairs): New var.
3544 (electric-pair-post-self-insert-function): Use it.
3545 (electric-layout-post-self-insert-function): Don't insert a before
3546 newline unless it's actually needed.
3548 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3550 * progmodes/python.el (run-python): Explain why we remove the current
3551 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3553 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3555 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3557 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3558 (octave-mode-map): Don't bind ;, SPC, and LF.
3559 (octave-auto-indent, octave-auto-newline): Remove.
3560 (electric-layout-rules): Declare.
3561 (octave-mode): Set electric-layout-rules.
3562 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3563 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3564 (octave-electric-space): Remove.
3566 * electric.el (electric-layout-mode): New minor mode.
3567 (electric--after-char-pos): New function.
3568 (electric-indent-post-self-insert-function): Use it.
3569 (electric-layout-rules): New var.
3570 (electric-layout-post-self-insert-function): New function.
3571 (electric-indent-mode): Make them interact better.
3573 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3575 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3576 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3577 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3579 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3581 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3582 Make sure to check inside the word (Bug#6761).
3584 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3586 * startup.el (command-line): If the cursorColor resource is set,
3587 change the cursor face-spec (Bug#7392).
3589 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3591 The main features of the following allout.el changes are:
3592 - implement user customization for the allout key bindings
3593 - add a customization control by which the user can inhibit use of
3594 a trailing Ctrl-H, so by default it's reserved for use with
3595 describe-prefix-bindings
3596 - adapt to new version of called-interactively-p, while
3597 maintaining backwards compatibility with old version
3598 - fix hotspot navigation so i works properly with meta-modified keys
3600 * allout.el (allout-keybindings, allout-bind-keys)
3601 (allout-keybindings-binding, allout-prefixed-keybindings)
3602 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3603 (allout-keybindings-list, allout-mode-map-adjustments)
3604 (allout-setup-mode-map): Establish allout-mode keymaps as user
3605 customizable settings, and also establish a customizable setting which
3606 regulates whether or not a trailing control-h is reserved for use with
3607 describe-prefix-bindings - and inhibit it by default, so that control-h
3608 *is* reserved for describe-prefix-bindings unless the user changes it.
3610 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3611 and accurately between modified and unmodified events, and handle
3612 modified events more comprehensively.
3614 * allout.el (allout-substring-no-properties):
3615 Alias to use or provide version of `substring-no-properties'.
3616 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3618 * allout.el (allout-next-single-char-property-change):
3619 Alias to use or provide version of `next-single-char-property-change'.
3620 (allout-annotate-hidden, allout-hide-by-annotation):
3621 Use `allout-next-single-char-property-change'.
3623 * allout.el (allout-select-safe-coding-system):
3624 Alias to use or provide version of `select-safe-coding-system'.
3625 (allout-toggle-subtree-encryption):
3626 Use `allout-select-safe-coding-system'.
3628 * allout.el (allout-set-buffer-multibyte):
3629 Alias to use or provide version of `set-buffer-multibyte'.
3630 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3632 * allout.el (allout-called-interactively-p): Macro for using the
3633 different versions of called-interactively-p identically, depending on
3634 the subroutine's argument signature.
3635 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3636 Use `(interactive "p")' instead of `(called-interactively-p)'.
3638 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3639 (allout-previous-visible-heading, allout-forward-current-level)
3640 (allout-backward-current-level, allout-show-children):
3641 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3643 * allout.el (allout-before-change-handler):
3644 Exempt edits to the (overlaid) character after the allout outline
3645 bullet from edit confirmation prompt.
3647 * allout.el (allout-add-resumptions):
3648 Ensure that it respects correct buffer for keybindings.
3650 * allout.el (allout-beginning-of-line):
3651 Use `allout-previous-single-char-property-change' alias for the sake of
3652 diverse compatibility.
3654 * allout.el (allout-end-of-line):
3655 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3657 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3659 * frame.el (frame-notice-user-settings): Don't clobber other
3660 user-set parameters when calling face-set-after-frame-default in
3661 response to background-color parameter (Bug#7373).
3663 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3665 * international/characters.el (glyphless-char-display-control):
3666 Rename from glyphless-char-control; all users changed. Doc fix.
3667 Signal an error if display method is not one of the recognized
3670 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3672 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3673 (tramp-compat-line-end-position): Remove them.
3675 * net/tramp.el (tramp-parse-rhosts-group)
3676 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3677 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3678 (tramp-parse-netrc-group, tramp-parse-putty-group)
3679 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3680 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3681 (tramp-sh-handle-file-selinux-context)
3682 (tramp-sh-handle-file-name-all-completions)
3683 (tramp-sh-handle-insert-directory)
3684 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3685 (tramp-wait-for-output, tramp-send-command-and-read)
3686 * net/tramp-smb.el (tramp-smb-read-file-entry)
3687 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3689 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3691 (tramp-remote-coding-commands): Add an alternative using "base64
3692 -d -i". This is needed for older base64 versions from GNU
3693 coreutils. Reported by Klaus Reichl
3694 <Klaus.Reichl@thalesgroup.com>.
3696 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3698 * simple.el (count-words-region): New function.
3700 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3702 * shell.el (shell-dir-cookie-re): New custom variable.
3703 (shell-dir-cookie-watcher): New function.
3705 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3706 and compilation-mode (bug#7350).
3708 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3709 highlight when one of them is empty.
3711 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3713 (skeleton-newline): New function.
3714 (skeleton-internal-1): Use it.
3716 * simple.el (open-line): `newline' may strip trailing space.
3718 2010-11-12 Kevin Ryde <user42@zip.com.au>
3720 * international/mule-cmds.el (princ-list): Use mapc.
3722 2010-11-12 Glenn Morris <rgm@gnu.org>
3724 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3725 Use it to replace all instances of "*Compile-Log*"
3727 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3729 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3732 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3734 * progmodes/modula2.el: Use SMIE and skeleton.
3735 (m2-mode-syntax-table): (*..*) can be nested.
3736 Add //...\n. Fix paren syntax.
3737 (m2-mode-map): Remove LF and TAB bindings.
3738 (m2-indent): Add safety property.
3739 (m2-smie-grammar): New var.
3740 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3741 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3742 (m2-mode): Use define-derived-mode.
3743 (m2-newline, m2-tab): Remove.
3744 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3745 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3746 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3747 (m2-import): Use define-skeleton.
3749 2010-11-11 Glenn Morris <rgm@gnu.org>
3751 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3753 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3754 (ls-lisp-verbosity): Add custom :set-after property.
3755 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3756 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3757 (ls-lisp-insert-directory): Update caller.
3758 (ls-lisp-set-options): New function.
3759 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3762 * play/landmark.el (lm-prompt-for-move):
3763 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3765 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3767 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3768 (idlwave-study-twins): Prefix dynamic local variable `name'.
3769 (idlwave-routine-twin-compare): Update for above change.
3771 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3772 Prefix dynamic local variables `name', `kwd', and `link'.
3773 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3774 * progmodes/idlw-complete-structtag.el
3775 (idlwave-complete-structure-tag-help):
3776 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3777 (idlwave-complete-sysvar-tag-help)
3778 (idlwave-complete-class-structure-tag-help):
3779 Update for above name changes.
3781 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3783 * net/browse-url.el (browse-url-browser-function): Change the
3784 default to use `browse-url-mail' on mailto: URLs.
3786 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3788 * emacs-lisp/package.el (package-read-all-archive-contents):
3789 Reset package-archive-contents to nil before re-reading.
3791 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3793 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3794 already found as misspellings by (flyspell-large-region), just
3795 do highlighting (bug#7322).
3797 2010-11-10 Glenn Morris <rgm@gnu.org>
3799 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3801 * emulation/edt.el (edt-with-position): New macro.
3802 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3803 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3804 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3806 * emulation/tpu-extras.el (tpu-with-position): New macro.
3807 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3809 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3811 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3812 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3813 (texinfo-master-menu, texinfo-insert-node-lines)
3814 (texinfo-multiple-files-update):
3815 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3816 Use line-beginning-position.
3818 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3819 No recent Emacs supports system-type `emx'.
3821 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3822 (ada-command-separator, ada-default-prj-properties)
3823 (ada-find-any-references): Update for above name change.
3825 * dirtrack.el (dirtrack-directory-function)
3826 (dirtrack-canonicalize-function):
3827 * filecache.el (file-cache-completion-ignore-case)
3828 (file-cache-case-fold-search, file-cache-ignore-case):
3829 * term.el (serial-port-is-file-p): Cosmetic change.
3831 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3832 Remove non-existent `windows-95' system-type.
3833 * dired.el (dired-chown-program): Remove non-existent `linux'
3836 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3837 (ping-program-options): Remove non-existent `linux' system-type.
3839 * startup.el (package-initialize): Update declaration.
3841 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3842 (ls-lisp-handle-switches): Use time-less-p.
3843 (ls-lisp-format-time): Use float-time.
3845 * textmodes/remember.el (remember-time-to-seconds): Remove.
3846 (remember-store-in-mailbox): Use float-time.
3848 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3850 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3851 never a real function.
3852 (with-no-warnings): Remove compat stub, now unused.
3853 (time-less-p): Doc fix.
3854 (time-to-number-of-days): Simplify.
3856 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3858 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3859 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3860 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3861 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3862 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3864 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3865 (eshell-shuffle-files, eshell-shorthand-tar-command)
3866 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3867 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3868 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3869 Prefix dynamic local variable `matches'.
3871 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3872 Prefix dynamic local variable `skeleton'.
3874 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3876 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3877 in mail buffer; make yank-action always a command that yanks original
3880 2010-11-09 Glenn Morris <rgm@gnu.org>
3882 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3884 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3886 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3887 completion field (bug#7211).
3889 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3890 Fix handling of backslash escapes.
3891 (python-quote-syntax): Adjust accordingly.
3893 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3895 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3896 (vc-mtn-workfile-branch): Adjust to new output format.
3898 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3900 * international/mule-cmds.el (princ-list): Mark as obsolete.
3902 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3904 * emacs-lisp/smie.el: New package.
3906 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3908 * files.el (backup-by-copying-when-mismatch):
3909 Set `permanent-local' property.
3911 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3912 `permanent-local' property for `backup-by-copying-when-mismatch'.
3914 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3916 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3918 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3920 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3921 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3922 AUTOINOUT for SV style multidimensional arrays, bug294.
3923 Reported by Eric Mastromarchi.
3924 (verilog-preprocess): Use with-current-buffer and
3925 font-lock-fontify-buffer to cleanup style issues.
3927 2010-11-09 Glenn Morris <rgm@gnu.org>
3929 * locate.el (locate, locate-mode): Doc fixes.
3931 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3933 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3934 user for confirmation.
3935 (server-force-stop): Use it.
3936 (server-start): Use server-force-stop for kill-emacs-hook, to
3937 avoid user interaction while killing Emacs.
3939 2010-11-09 Glenn Morris <rgm@gnu.org>
3941 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3942 (meta-indent-line): Simplify.
3944 * vc/emerge.el (emerge-line-number-in-buf):
3945 * textmodes/ispell.el (ispell-region):
3946 * textmodes/fill.el (current-fill-column):
3947 * progmodes/xscheme.el (xscheme-send-current-line):
3948 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3949 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3950 * progmodes/sh-script.el (sh-handle-prev-do):
3951 * progmodes/meta-mode.el (meta-indent-line):
3952 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3954 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3955 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3956 * progmodes/fortran.el (fortran-looking-at-if-then):
3957 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3958 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3959 (cperl-find-pods-heres):
3960 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3961 * net/quickurl.el (quickurl-list-insert):
3962 * net/ldap.el (ldap-search-internal):
3963 * net/eudc.el (eudc-expand-inline):
3964 * mail/sendmail.el (sendmail-send-it):
3965 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3966 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3967 (viper-brac-function):
3968 * calc/calc-yank.el (calc-do-grab-region):
3969 * calc/calc-keypd.el (calc-keypad-press):
3970 * term.el (term-move-columns, term-insert-spaces):
3971 * speedbar.el (speedbar-highlight-one-tag-line):
3972 * simple.el (current-word):
3973 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3974 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3976 * hippie-exp.el (he-line-beg):
3977 * epa.el (epa--marked-keys):
3978 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3979 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3980 (dired-relist-entry):
3981 * buff-menu.el (Buffer-menu-buffer):
3982 * array.el (current-line):
3983 * allout.el (allout-resolve-xref)
3984 (allout-latex-verbatim-quote-curr-line):
3985 Replace yet more uses of end-of-line etc with line-end-position, etc.
3987 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3989 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3990 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3991 (checkdoc-syntax-table): Initialize in the declaration.
3992 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3993 the mode on unconditionally.
3995 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3996 (extent-end-position, extent-start-position): Remove setf method for
3997 non-existing functions (bug#7319).
3999 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4001 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4002 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4003 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4004 (smie-prec2->grammar): Rename from smie-prec2-levels.
4005 (smie-grammar): Rename from smie-op-levels.
4006 (smie-indent--hanging-p): Rename from smie-hanging-p.
4007 (smie-rule-hanging-p): New alias.
4008 (smie-indent--bolp): Rename from smie-bolp.
4009 (smie-indent--hanging-p): New alias.
4010 (smie--token): New dynamically bound variable.
4011 (smie-indent--parent): New function.
4012 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4013 (smie-rule-next-p): Rename from smie-next-p.
4014 (smie-rule-prev-p): Rename from smie-prev-p.
4015 (smie-rule-sibling-p, smie-rule-parent)
4016 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4017 (smie-rule-separator-outdent): New var.
4018 (smie-indent--rule): Merge with smie-indent--column.
4019 (smie-indent-forward-token, smie-indent-backward-token):
4020 Also recognize close parens.
4021 (smie-indent-keyword): Don't use smie-indent--column any more.
4022 (smie-indent-after-keyword): Ignore closers by default.
4023 (smie-indent-line): Use with-demoted-errors.
4024 * progmodes/octave-mod.el (octave-smie-grammar):
4025 Rename from octave-smie-op-levels.
4026 (octave-smie-rules): Adjust to new behavior.
4027 * progmodes/prolog.el (prolog-smie-grammar):
4028 Rename from prolog-smie-op-levels.
4030 2010-11-07 Glenn Morris <rgm@gnu.org>
4032 * eshell/esh-util.el (subst-char-in-string)
4033 (directory-files-and-attributes): These compatibility definitions are
4034 not needed on any version of Emacs since at least 21.4.
4036 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4037 (verilog-get-end-of-line): Remove.
4038 (verilog-within-string, verilog-re-search-forward-substr)
4039 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4040 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4041 Use point-at-bol, point-at-eol.
4042 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4044 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4045 (electric-pascal-terminate-line, pascal-set-auto-comments)
4046 (pascal-indent-paramlist, pascal-indent-declaration)
4047 (pascal-get-lineup-indent, pascal-func-completion)
4048 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4049 Use point-at-bol, point-at-eol.
4050 * progmodes/flymake.el (flymake-line-beginning-position)
4051 (flymake-line-end-position): Remove.
4052 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4053 * eshell/esh-util.el (line-end-position, line-beginning-position):
4054 Remove compat definitions.
4056 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4058 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4059 Use line-end-position.
4061 * emacs-lisp/chart.el (chart-zap-chars):
4062 * play/decipher.el (decipher-set-map):
4063 * progmodes/ada-mode.el (ada-get-current-indent)
4064 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4065 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4066 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4067 (ada-get-all-references):
4068 * progmodes/cperl-mode.el (cperl-electric-paren)
4069 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4070 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4071 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4072 (cperl-word-at-point-hard):
4073 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4074 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4075 (idlwave-shell-display-line):
4076 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4077 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4078 * progmodes/js.el (js--re-search-forward-inner)
4079 (js--re-search-backward-inner):
4080 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4081 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4082 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4083 * textmodes/flyspell.el (flyspell-process-localwords):
4084 * textmodes/ispell.el (ispell-buffer-local-parsing)
4085 (ispell-buffer-local-dict, ispell-buffer-local-words):
4086 Use point-at-bol and point-at-eol.
4088 * speedbar.el (speedbar-generic-item-info)
4089 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4090 (speedbar-add-indicator, speedbar-check-vc-this-line)
4091 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4092 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4093 Replace more uses of end-of-line etc with line-end-position.
4095 2010-11-06 Glenn Morris <rgm@gnu.org>
4097 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4098 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4099 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4100 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4101 (texinfo-multiple-files-update):
4102 * textmodes/table.el (table--probe-cell-left-up)
4103 (table--probe-cell-right-bottom):
4104 * textmodes/picture.el (picture-tab-search):
4105 * textmodes/page-ext.el (pages-copy-header-and-position)
4106 (pages-directory-for-addresses):
4107 * progmodes/vera-mode.el (vera-get-offset):
4108 * progmodes/simula.el (simula-calculate-indent):
4109 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4110 * progmodes/prolog.el (end-of-prolog-clause):
4111 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4112 * progmodes/icon.el (indent-icon-exp):
4113 * progmodes/etags.el (tag-re-match-p):
4114 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4115 * progmodes/ebnf2ps.el (ebnf-begin-file):
4116 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4117 (dcl-save-local-variable):
4118 * play/life.el (life-setup):
4119 * play/gametree.el (gametree-looking-at-ply):
4120 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4121 * mail/sendmail.el (mail-mode-auto-fill):
4122 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4123 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4124 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4125 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4126 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4127 * type-break.el (type-break-file-keystroke-count):
4128 * term.el (term-replace-by-expanded-history-before-point)
4129 (term-skip-prompt, term-extract-string):
4130 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4131 (speedbar-contract-line, speedbar-toggle-line-expansion)
4132 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4133 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4134 * sort.el (sort-skip-fields):
4135 * skeleton.el (skeleton-internal-list):
4136 * simple.el (line-move-finish, line-move-to-column):
4137 * shell.el (shell-forward-command):
4138 * misc.el (copy-from-above-command):
4139 * makesum.el (double-column):
4140 * ebuff-menu.el (electric-buffer-update-highlight):
4141 * dired.el (dired-move-to-end-of-filename):
4142 * dframe.el (dframe-popup-kludge):
4143 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4144 * arc-mode.el (archive-get-lineno):
4145 Use line-end-position and line-beginning-position.
4147 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4148 (idlwave-study-twins): Prefix dynamic local `class'.
4149 (idlwave-routine-twin-compare): Update for above name change.
4151 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4152 Use boundp tests to silence compiler. Update for changed name of
4153 bytecomp-filename variable.
4155 * emulation/viper-cmd.el (viper-read-string-with-history):
4156 Prefix dynamic local `initial'.
4157 (viper-minibuffer-standard-hook): Update for above name change.
4159 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4160 (elint-init-form): Update for above name change.
4162 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4163 local variables `cbeg' and `cend' a prefix.
4164 (mail-extr-voodoo): Update for above name change.
4166 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4167 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4168 (reftex-toc-promote-action): Doc fix.
4170 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4171 `prompt', `data' a prefix.
4172 (reftex-select-post-command-hook, reftex-select-callback)
4173 (reftex-select-mouse-accept, reftex-select-read-cite):
4174 Update for above name changes.
4176 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4177 `refstyle' to reftex-refstyle.
4178 (reftex-offer-label-menu): Update for above name change.
4179 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4180 `refstyle' name change.
4182 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4183 with with-current-buffer.
4184 (diff, template): Give dynamic local variables a prefix.
4185 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4186 (emerge-line-number-in-buf): Update for above name change.
4187 (emerge-combine-versions-internal): Rename local `template' to
4188 emerge-combine-template.
4189 (emerge-combine-versions-edit): Update for above name change.
4191 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4193 * textmodes/reftex-cite.el
4194 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4195 entries with whitespace after \bibitem.
4196 (reftex-create-bibtex-file): Match entries containing numbers and
4197 symbol constituents. Make sure that entries with whitespace at
4198 various places are found.
4200 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4202 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4204 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4206 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4208 2010-11-05 Glenn Morris <rgm@gnu.org>
4210 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4211 (woman2-roff-buffer): Give local variable `request' a prefix.
4212 (woman0-macro): Rename argument `request' in the same way.
4213 (woman-request): New name for `request' dynamic variable.
4214 (woman-unquote, woman-forward-arg): Update for above name change.
4215 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4216 (woman1-unquote): New name for `unquote' dynamic variable.
4217 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4218 (woman-translations): Rename from `translations'. No longer global.
4219 (woman2-tr, woman-translate): Update for above name change.
4220 (woman-translate): Check for bound variable.
4221 (woman2-roff-buffer): Give local variable `translations' a prefix.
4223 * play/doctor.el: Give all local variables a prefix. Update callers.
4224 (doc$, doctor-put-meaning): Use backquote.
4226 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4227 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4229 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4230 variables bytes, ptr, op a prefix.
4231 (disassemble-offset): Update for above change.
4233 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4235 * emacs-lisp/package.el (package-unpack): Remove no-op.
4236 (package--builtins, package--dir): Doc fix.
4237 (package-activate-1, package-activate, package-install)
4238 (package-compute-transaction): Fix error message.
4239 (package-delete): Use delete-directory. Omit system packages.
4240 (package-initialize): Set package-alist to nil first.
4241 (package-menu-mark-delete, package-menu-mark-install): Don't add
4242 symbols that are inconsistent with the package state.
4243 (package-menu-execute): Perform deletions and installations as
4244 single batch operations.
4246 2010-11-03 Glenn Morris <rgm@gnu.org>
4248 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4249 (props): Remove unnecessary declaration.
4251 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4252 set-process-query-on-exit-flag.
4254 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4255 (reftex-toc-do-promote): Remove unused local `mpos'.
4256 (reftex-toc-restore-region): Make `mpos' local to this function.
4258 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4260 * play/landmark.el (lm-losing-threshold): Correct spelling.
4261 (lm-human-plays): Use new name.
4263 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4264 (gomoku-human-plays): Use new name.
4266 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4267 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4268 (gomoku-score-trans-table, gomoku-winning-threshold)
4269 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4271 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4273 * emacs-lisp/package.el: Don't put built-in packages in
4274 package-alist, to avoid loading inefficiencies.
4275 (package-built-in-p): Make VERSION optional, and treat it as a
4276 minimum acceptable version.
4277 (package-activate): Search separately for built-in packages.
4278 Emit a warning if a dependency fails.
4279 (define-package): Handle most common case, where there is no
4280 obsolete package, first.
4281 (package-compute-transaction): Print required version in error.
4282 (package--initialized): New variable.
4283 (list-packages): Use it.
4284 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4285 built-in packages in packages-alist; keep it separate.
4286 Set package--initialized.
4287 (describe-package): Avoid activating packages as a side-effect.
4288 Search separately for built-in packages.
4289 (describe-package-1): Handle the case where an elpa package is
4290 simultaneously built-in and available/installed.
4291 (package-installed-p, package--generate-package-list):
4292 Search separately for built-in packages.
4293 (package-load-descriptor): Doc fix.
4295 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4297 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4298 Handle __DATA__ and __END__.
4300 2010-11-02 Noah Friedman <friedman@splode.com>
4302 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4303 nil, do not ask to recompile files that are not already compiled,
4304 and do not recompile them.
4306 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4308 * emacs-lisp/package.el (package-initialize): Ensure that
4309 obsoleted built-in packages are not in package-activated-list
4311 (describe-package-1): Make the "installed" status override
4314 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4316 * subr.el (version-separator, version-regexp-alist): Remove '*'
4318 (version-list-<=, version<=, version=): Doc fix.
4320 2010-11-01 Kenichi Handa <handa@m17n.org>
4322 * faces.el (glyphless-char): Inherit underline for tty.
4324 2010-11-01 Kenichi Handa <handa@m17n.org>
4326 Implement various display methods for glyphless characters.
4328 * international/characters.el (char-acronym-table): New variable.
4329 (glyphless-char-control): New variable.
4330 (update-glyphless-char-display): New function.
4332 * faces.el (glyphless-char): New face.
4334 2010-11-01 Glenn Morris <rgm@gnu.org>
4336 * calendar/holidays.el (general-holidays, oriental-holidays)
4337 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4338 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4339 the definitions of their targets.
4341 * emacs-lisp/smie.el (smie): New custom group.
4342 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4344 * faces.el (xw-defined-colors, x-setup-function-keys):
4345 * mouse-sel.el (x-select-text):
4346 * term/w32console.el (x-setup-function-keys): Update declarations.
4348 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4350 * textmodes/ispell.el (comment-add): Declare.
4352 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4355 * info.el (finder-keywords-hash, package-alist): Declare.
4357 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4359 * finder.el (finder-compile-keywords): Don't use intern-soft,
4360 since package names may not yet exist in the obarray.
4362 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4364 * vc/vc-arch.el (vc-arch-checkin):
4365 * vc/vc-cvs.el (vc-cvs-checkin):
4366 * vc/vc-mtn.el (vc-mtn-checkin):
4367 * vc/vc-rcs.el (vc-rcs-checkin):
4368 * vc/vc-sccs.el (vc-sccs-checkin):
4369 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4370 since 2010-04-21 commit by Stefan Monnier.
4372 2010-11-01 Glenn Morris <rgm@gnu.org>
4374 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4376 * startup.el (package-enable-at-startup, package-initialize):
4379 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4382 2010-10-31 Julien Danjou <julien@danjou.info>
4384 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4385 (byte-recompile-directory):
4386 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4387 Use `byte-recompile-file'.
4389 2010-10-31 Glenn Morris <rgm@gnu.org>
4391 * cus-start.el: Handle standard values via a keyword.
4392 Only set version property if specified.
4393 (cursor-in-non-selected-windows, menu-bar-mode)
4394 (tool-bar-mode, show-trailing-whitespace):
4395 Do not specify standard values.
4396 (transient-mark-mode, temporary-file-directory): Use :standard.
4398 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4400 * term/x-win.el (x-get-selection-value): New function that gets
4401 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4403 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4405 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4406 preserve owner and group when editing files. (Bug#7289)
4408 2010-10-31 Glenn Morris <rgm@gnu.org>
4410 * speedbar.el (speedbar-mode):
4411 * play/fortune.el (fortune-in-buffer, fortune):
4412 * play/gomoku.el (gomoku-mode):
4413 * play/landmark.el (lm-mode):
4414 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4415 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4417 * select.el (x-selection): Mark it as an obsolete alias.
4419 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4421 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4422 major-mode (bug#7284).
4424 2010-10-31 Glenn Morris <rgm@gnu.org>
4426 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4427 rather than just an unused variable that inherits from the real one.
4429 2010-10-31 Alan Mackenzie <acm@muc.de>
4431 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4432 This fixes bug #7185.
4434 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
4436 * startup.el (command-line): Search for package directories, and
4437 don't load package.el if none are found.
4439 * emacs-lisp/package.el (describe-package, list-packages):
4440 Call package-initialize if it has not been called yet.
4442 2010-10-30 Alan Mackenzie <acm@muc.de>
4444 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4445 which fontifies the tail of an enum.
4446 (c-basic-matchers-after): Insert a call to the above new function.
4447 This fixes bug #7264.
4449 2010-10-30 Glenn Morris <rgm@gnu.org>
4451 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4452 tool-bar-mode, transient-mark-mode. (Bug#7306)
4453 Include the :set property in the dumped Emacs.
4455 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4457 SMIE: change indent rules format, improve smie-setup.
4458 * emacs-lisp/smie.el (smie-precs-precedence-table)
4459 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4460 Mark them pure so the tables gets built at compile time.
4461 (smie-bnf-precedence-table): Store the closer-alist in the table.
4462 (smie-prec2-levels): Preserve the closer-alist.
4463 (smie-blink-matching-open): Be more forgiving in case of indentation.
4464 (smie-hanging-p): Rename from smie-indent--hanging-p.
4465 (smie-bolp): Rename from smie-indent--bolp.
4466 (smie--parent, smie--after): New dynamic vars.
4467 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4468 (smie-indent-rules): Remove.
4469 (smie-indent--offset-rule): Remove fun.
4470 (smie-rules-function): New var.
4471 (smie-indent--rule): New fun.
4472 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4473 (smie-indent-exps): Use it.
4474 (smie-setup): Setup paren blinking; add keyword args for token
4475 functions; extract closer-alist from op-levels.
4476 (smie-indent-debug-log): Remove var.
4477 (smie-indent-debug): Remove fun.
4478 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4479 (prolog-smie-rules): New fun to replace it.
4480 (prolog-mode-variables): Simplify.
4481 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4482 it's setup automatically.
4483 (octave-smie-indent-rules): Remove.
4484 (octave-smie-rules): New fun to replace it.
4485 (octave-mode): Simplify.
4487 2010-10-29 Glenn Morris <rgm@gnu.org>
4489 * files.el (temporary-file-directory): Remove (already defined in C).
4490 * cus-start.el: Add temporary-file-directory.
4492 * abbrev.el (abbrev-mode):
4493 * composite.el (auto-composition-mode):
4494 * menu-bar.el (menu-bar-mode):
4495 * simple.el (transient-mark-mode):
4496 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4497 that they do not define the associated variables twice.
4498 * simple.el (transient-mark-mode): Remove defvar.
4499 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4500 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4501 Handle multiple groups, and also custom-delayed-init-variables.
4502 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4504 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4506 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4507 (pcase-if): Add one minor optimization.
4508 (pcase-split-equal): Rename from pcase-split-eq.
4509 (pcase-split-member): Rename from pcase-split-memq.
4510 (pcase-u1): Add strings to the member optimization.
4511 Add `guard' variant of predicates.
4512 (pcase-q1): Add string patterns.
4514 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4516 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4518 2010-10-28 Glenn Morris <rgm@gnu.org>
4520 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4521 Move menu-bar related settings to ../menu-bar.el.
4522 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4523 Move ns-specific settings here from term/ns-win.el.
4525 * simple.el (x-selection-owner-p): Remove unused declaration.
4527 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4529 * minibuffer.el (completion-cycling): New var (bug#7266).
4530 (minibuffer-complete, completion--do-completion):
4531 Use completion--flush-all-sorted-completions.
4532 (minibuffer-complete): Only cycle if completion-cycling is set.
4533 (completion--flush-all-sorted-completions): Unset completion-cycling.
4534 (minibuffer-force-complete): Set completion-cycling.
4535 (completion-all-sorted-completions): Move declaration before first use.
4537 2010-10-28 Leo <sdl.web@gmail.com>
4539 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4540 which changes the order of matches seen by users (bug#7231).
4542 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4544 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4545 Don't confuse -omega as "-o mega".
4547 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4549 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4550 (log-edit-author): New dynamic var.
4551 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4552 to return the author if different from committer.
4553 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4555 * play/landmark.el: Adjust commenting convention.
4556 (lm-nil-score): Rename from nil-score.
4557 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4558 (OOOOscore): Move into a let in lm-score-trans-table.
4559 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4561 * electric.el (electric-indent-chars): Autoload.
4562 * progmodes/octave-mod.el (octave-mode):
4563 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4564 (ruby-mode-abbrev-table): Merge initialization and declaration.
4566 2010-10-27 Glenn Morris <rgm@gnu.org>
4568 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4571 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4573 * term/ns-win.el: Restore require of cl when compiling.
4574 (menu-bar-final-items): Remove non-existent `windows' menu.
4575 (ns-handle-nxopen): Optionally handle the temp-case.
4576 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4577 (ns-insert-file, ns-find-file): Use `pop'.
4579 2010-10-26 Glenn Morris <rgm@gnu.org>
4581 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4583 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4585 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4587 * term/common-win.el (x-setup-function-keys): Remove most of the
4588 keymappings. Comment on the remaining ones.
4590 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4592 * server.el (server-port): New option. (Bug#854)
4593 (server-start): Use server-port.
4595 2010-10-26 Glenn Morris <rgm@gnu.org>
4597 * term/ns-win.el (ns-version-string): Remove unused declaration.
4598 (ns-invocation-args): Change to x-invocation-args.
4599 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4600 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4601 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4602 Use x-invocation-args instead of ns-invocation-args.
4603 (ns-initialize-window-system, handle-args-function-alist):
4604 Use x-handle-args instead of ns-handle-args.
4605 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4606 * startup.el (command-line-ns-option-alist): Replace
4607 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4608 ns-handle-iconic with the x- equivalents.
4610 * term/common-win.el (x-select-enable-clipboard):
4611 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4613 * term/ns-win.el: No need to require cl when compiling.
4614 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4615 (xw-defined-colors): Use the common-win definitions.
4616 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4617 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4618 * term/common-win.el (x-select-text, x-alternatives-map)
4619 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4620 * loadup.el [ns]: Load common-win.
4622 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4624 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4625 recipients; expand mail aliases (Bug#7280).
4627 2010-10-25 Glenn Morris <rgm@gnu.org>
4629 * term/common-win.el (x-handle-switch): Simplify with pop.
4630 Optionally handle numeric switches.
4631 (x-handle-numeric-switch): Just call x-handle-switch.
4632 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4633 (x-handle-name-switch, x-handle-display, x-handle-args):
4636 * term/ns-win.el: Do not require easymenu.
4637 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4638 <spell>: Move adjustments to menu-bar.el.
4639 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4640 <separator-undo, spell>: Move ns-win's adjustments here.
4641 * loadup.el [ns]: Do not load easymenu.
4643 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4645 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4648 * startup.el (fancy-startup-tail): Instead of using inline images,
4649 refer to image files from etc/.
4651 * wid-edit.el (checkbox): Likewise.
4652 (widget-image-find): Center image specs.
4654 2010-10-24 Glenn Morris <rgm@gnu.org>
4656 * term/ns-win.el (x-select-text): Doc fix.
4657 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4658 (x-select-text): Move to term/common-win.
4659 * term/w32-win.el (xw-defined-colors): Move to common-win.
4660 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4661 (x-setup-function-keys, x-select-text): Move to common-win.
4662 * term/common-win.el (x-select-text, x-alternatives-map)
4663 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4666 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4668 * net/mairix.el (mairix-searches-mode-map):
4669 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4671 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4673 * verilog-mode.el (verilog-directive-re): Make this variable
4674 auto-built for efficiency of execution and updating.
4675 (verilog-extended-complete-re): Support 'pure' fucntion & task
4676 declarations (these have no bodies).
4677 (verilog-beg-of-statement): General cleanup to enable support of
4678 'pure' fucntion & task declarations (these have no bodies).
4679 These efforts together fix Verilog bug210 from veripool; which was also
4680 noticed by Steve Pearlmutter.
4681 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4682 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4683 Support `elsif. Reported by Shankar Giri.
4684 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4685 attribute handling for lining up declarations and assignments.
4686 (verilog-beg-of-statement-1): Fix issue where continued declaration
4687 is indented differently if it is after a begin..end clock.
4688 (verilog-in-attribute-p, verilog-skip-backward-comments)
4689 (verilog-skip-forward-comment-p): Support proper treatment of
4690 attributes by indent code. Reported by Jeff Steele.
4691 (verilog-in-directive-p): Fix comment to correctly describe function.
4692 (verilog-backward-up-list, verilog-in-struct-region-p)
4693 (verilog-backward-token, verilog-in-struct-p)
4694 (verilog-in-coverage-p, verilog-do-indent)
4695 (verilog-pretty-declarations): Use verilog-backward-up-list as
4696 wrapper around backward-up-list inorder to properly skip comments.
4697 Reported by David Rogoff.
4698 (verilog-property-re, verilog-endcomment-reason-re)
4699 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4700 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4701 of if). Reported by Max Bjurling and
4702 (verilog-calc-1): Fix for clocking block in modport
4703 declaration. Reported by Brian Hunter.
4705 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4707 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4708 (verilog-gate-keywords, verilog-read-sub-decls)
4709 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4710 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4711 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4712 (verilog-read-decls): Fix spaces in V2K module parameters causing
4713 mis-identification as interfaces, bug287.
4714 (verilog-read-decls): Fix not treating "parameter string" as a
4715 parameter in AUTOINSTPARAM.
4716 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4717 treating `elsif similar to `endif inside AUTOSENSE.
4718 (verilog-do-indent): Implement correct automatic or static task or
4719 function end comment highlight. Reported by Steve Pearlmutter.
4720 (verilog-font-lock-keywords-2): Fix highlighting of single
4721 character pins, bug264. Reported by Michael Laajanen.
4722 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4723 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4724 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4725 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4726 (verilog-pretty-expr): Fix interactive arguments, bug272.
4727 Reported by Mark Johnson.
4728 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4729 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4730 bug269. Suggested by Gary Delp.
4731 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4732 (verilog-preprocessor, verilog-set-compile-command):
4733 Create verilog-preprocess and verilog-preprocessor to show
4734 preprocessed output.
4735 (verilog-get-beg-of-line, verilog-get-end-of-line)
4736 (verilog-modi-file-or-buffer, verilog-modi-name)
4737 (verilog-modi-point, verilog-within-string): Move defmacro's
4738 before first use to avoid warning. Reported by Steve Pearlmutter.
4739 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4740 (verilog-colorize-region, verilog-highlight-buffer)
4741 (verilog-highlight-includes, verilog-highlight-modules)
4742 (verilog-highlight-region, verilog-mode): Rename colorize to
4743 highlight to match other packages. Disable module highlighting,
4744 as received speed complaints, reenable for experimentation only
4745 using new verilog-highlight-modules.
4746 (verilog-read-decls): Fix regexp stack overflow in very large
4747 AUTO_TEMPLATEs, bug250.
4748 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4749 (verilog-scan): Create verilog-save-buffer-state to standardize
4750 making insignificant changes that shouldn't call hooks.
4751 (verilog-save-no-change-functions, verilog-save-scan-cache)
4752 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4753 Create verilog-save-no-change-functions to wrap verilog-scan
4754 preservation, and fix to work with nested preserved calls.
4755 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4756 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4757 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4758 (verilog-submit-bug-report): Update variable list to be complete.
4759 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4760 breaking on-the-fly font-locking.
4761 (verilog-colorize-buffer, verilog-colorize-include-files)
4762 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4763 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4764 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4765 AUTOINST cell instance name, middle mouse button now finds-file on
4766 it. Suggested by Brad Dobbie.
4767 (verilog-alw-get-temps, verilog-auto-reset)
4768 (verilog-auto-sense-sigs, verilog-read-always-signals)
4769 (verilog-read-always-signals-recurse): Fix loop indexes being
4770 AUTORESET. AUTORESET now assumes any variables in the
4771 initialization section of a for() should be ignored.
4772 Reported by Dan Dever.
4773 (verilog-error-font-lock-keywords)
4774 (verilog-error-regexp-emacs-alist)
4775 (verilog-error-regexp-xemacs-alist): Fix error detection of
4776 Cadence HAL, reported by David Asher. Repair drift between the
4777 three similar error variables.
4778 (verilog-modi-lookup, verilog-modi-lookup-cache)
4779 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4780 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4781 Fix slow verilog-auto expansion on very large files.
4782 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4783 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4784 "{1*2{...". Broke in last revision.
4785 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4786 submodule connections with replications "{#{a},#{b}}".
4788 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4790 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4791 Fix typo in docstring.
4793 2010-10-24 Kenichi Handa <handa@m17n.org>
4795 * face-remap.el (text-scale-adjust): Call read-event with a proper
4798 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4800 * emacs-lisp/unsafep.el: Don't mark functions that display
4801 messages as safe. Suggested by Johan Bockgård.
4803 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4805 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4806 Turn comments into docstrings.
4808 * minibuffer.el (completion--replace): Move point where it belongs
4809 when there's a common suffix (bug#7215).
4811 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4813 Merge read-color and facemenu-read-color (Bug#7242).
4815 * faces.el (read-color): Use the completion code from
4816 facemenu-read-color. Require match in completion. Doc fix.
4818 * facemenu.el (facemenu-read-color): Alias for read-color.
4819 (facemenu-set-foreground, facemenu-set-background):
4822 * frame.el (set-background-color, set-foreground-color)
4823 (set-cursor-color, set-mouse-color, set-border-color):
4826 2010-10-24 Leo <sdl.web@gmail.com>
4828 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4829 argument of delete-file and delete-directory (Bug#7011).
4831 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4833 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4836 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4838 * emacs-lisp/package.el (package--generate-package-list): Make the
4839 *Packages* buffer read-only.
4841 2010-10-24 Alan Mackenzie <acm@muc.de>
4843 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4844 result of `c-beginning-of-decl-1' between invocations of a lambda
4845 function (Bug #7265).
4847 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4849 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4850 executable is not available on the system (Bug#7268).
4852 2010-10-24 Glenn Morris <rgm@gnu.org>
4854 * select.el (selection-coding-system, next-selection-coding-system):
4855 Sync doc with C versions.
4857 * w32-vars.el (x-select-enable-clipboard):
4858 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4859 * term/common-win.el (x-select-enable-clipboard): Move here.
4861 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4862 definition of C variable.
4864 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4865 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4866 Don't redefine things that are defined in C.
4867 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4868 (show-trailing-whitespace, auto-hscroll-mode)
4869 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4870 Set up the appropriate custom properties.
4872 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4875 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4876 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4877 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4878 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4880 2010-10-23 Glenn Morris <rgm@gnu.org>
4882 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4885 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4886 Sync docs with C version.
4888 * term/ns-win.el (xw-defined-colors):
4889 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4891 * term/pc-win.el (x-select-enable-clipboard):
4892 * term/x-win.el (x-select-enable-clipboard):
4893 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4895 * comint.el (comint-password-prompt-regexp): Make it less vague.
4898 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4900 * help.el (finder-by-keyword): Remove unnecessary autoload.
4902 2010-10-22 Glenn Morris <rgm@gnu.org>
4904 * loadup.el: Unconditionally load float-sup.
4905 * paren.el (show-paren-delay):
4906 * emacs-lisp/float-sup.el:
4907 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4908 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4909 (lazy-lock-stealth-verbose): Assume float support.
4910 * ps-print.el: Assume float support on Emacs.
4911 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4912 Remove non-float branch.
4914 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4915 src/Makefile no longer being pre-processed.
4917 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4919 * emacs-lisp/find-func.el (find-library): Use test-completion.
4921 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4923 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4925 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4927 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4928 space in stat format string.
4929 (tramp-send-command): Unset $PS1 when using here documents, in
4930 order not to get several prompts.
4931 (tramp-get-inline-coding): Return `nil' in case of errors.
4933 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4935 * hexl.el (hexl-mode, hexl-mode-exit):
4936 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4937 (hexl-revert-buffer-function): New function.
4938 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4940 2010-10-19 Alan Mackenzie <acm@muc.de>
4942 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4943 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4944 that these keywords aren't wrongly matched as identifiers.
4946 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4947 setting of c-new-BEG and c-new-END from c-before-change to
4948 c-after-change. (Bug#7181)
4950 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4952 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4955 * custom.el (custom-theme-set-variables): Likewise.
4956 (load-theme): Add custom-theme-set-faces and
4957 custom-theme-set-variables to safe-functions while loading.
4958 (custom-enabled-themes): Mark as risky.
4960 2010-10-18 Julien Danjou <julien@danjou.info>
4962 * bindings.el: Remove end dashes in default mode-line-format.
4964 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4966 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4967 to delete-forward-char.
4969 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4970 deletechar, and hence delete-forward-char.
4972 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4974 * repeat.el (repeat): Use read-key (bug#6256).
4976 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4978 * emacs-lisp/unsafep.el: Don't mark functions that display
4979 messages as safe. Suggested by Johan Bockgård.
4981 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4983 * minibuffer.el (completion--replace): Move point where it belongs
4984 when there's a common suffix (bug#7215).
4986 2010-10-19 Kenichi Handa <handa@m17n.org>
4988 * international/characters.el: Add category '|' (word breakable)
4989 to fullwidth characters.
4991 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4993 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4994 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4995 order to make stat results a float. Patch by Andreas Schwab
4996 <schwab@linux-m68k.org>.
4998 2010-10-18 Julien Danjou <julien@danjou.info>
5000 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5001 hidden by `make-pointer-invisible'.
5003 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5005 * files.el (locate-file-completion-table): Strip non-matching elements
5006 before checking length of list (bug#7238).
5008 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5010 * custom.el (custom-theme-set-variables): Mark as a safe function.
5011 (load-theme): Check forms using unsafep.
5013 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5015 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5017 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5018 Fix aspell data file searching (bug#7230).
5020 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5022 * cus-theme.el (custom-theme--migrate-settings): New var.
5023 (customize-create-theme): Allow editing the `user' theme.
5024 (custom-theme-add-variable, custom-theme-add-var-1)
5025 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5026 to the front of each variable or face widget.
5027 (custom-theme-write): Save theme settings in the correct order.
5028 Optionally, remove saved settings from user customizations.
5029 (custom-theme-write-variables, custom-theme-write-faces):
5030 Save only the checked widgets.
5031 (customize-themes): Add a link for migrating custom settings.
5033 * custom.el (custom-declare-theme, provide-theme):
5034 Use custom-theme-name-valid-p.
5035 (custom-theme-name-valid-p): Remove checks that are now
5036 unnecessary since themes no longer obey load-path.
5038 * cus-edit.el (custom-variable-value-create): For the simple
5039 style, hide documentation string when hidden.
5041 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5043 * cus-edit.el (custom-variable, custom-face): Combine the
5044 :inhibit-magic and :display-style properties into a single
5045 :custom-style property.
5046 (custom-toggle-hide-variable, custom-toggle-hide-face):
5047 New functions. If hiding an edited value, save it to :shown-value.
5048 (custom-variable-value-create, custom-face-value-create): Use them.
5049 (custom-magic-reset): Allow magic property to be unset.
5051 * custom.el: Custom themes no longer use load-path.
5052 (custom-theme-load-path): New option. Change built-in theme
5054 (custom-enabled-themes): Add custom-theme-load-path dependency.
5055 (custom-theme--load-path): New function.
5056 (load-theme, custom-available-themes): Use it.
5058 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5059 (customize-themes): Link to custom-theme-load-path variable.
5060 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5061 :custom-style property.
5063 * themes/*.el: Moved to etc/.
5065 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5067 * textmodes/reftex-cite.el
5068 (reftex-extract-bib-entries-from-thebibliography): Do not move
5069 point when searching for \bibitem entries. Match entries with
5070 spaces or tabs in front of arguments.
5072 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5074 * cus-theme.el (customize-create-theme): Delete overlays after
5075 erasing. If given a THEME arg, display only the faces of that arg
5076 instead of custom-theme--listed-faces.
5077 (custom-theme-variable-menu, custom-theme-variable-action)
5078 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5079 (custom-theme-add-variable, custom-theme-add-face): Apply value
5080 from the theme settings, instead of the current value.
5081 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5082 (custom-theme-visit-theme): Allow calling outside theme buffers.
5083 (custom-theme-merge-theme): Don't enable the theme when merging.
5084 (custom-theme-write-variables, custom-theme-write-faces): Use the
5085 :shown-value properties to save buffer values, not global ones.
5086 (customize-themes): Display a warning about user customizations.
5088 * cus-edit.el (custom-variable-value-create)
5089 (custom-face-value-create): Obey new special properties
5090 :shown-value and :inhibit-magic.
5092 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5094 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5095 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5098 2010-10-14 Kenichi Handa <handa@m17n.org>
5100 * mail/rmail.el (rmail-show-message-1): Catch an error of
5101 base64-decode-region and just show an error message (bug#7165).
5103 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5104 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5105 a font-spec (bug#7197).
5107 2010-10-14 Glenn Morris <rgm@gnu.org>
5109 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5111 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5113 * international/mule.el (define-coding-system):
5114 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5115 * composite.el (compose-region): Fix typo in docstring.
5117 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5119 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5120 only after checking the theme-face property.
5122 * faces.el (face-spec-reset-face): Reset all attributes in one
5123 single call to set-face-attribute.
5124 (face-spec-match-p): Make it a defsubst.
5125 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5126 (x-create-frame-with-faces, tty-create-frame-with-faces)
5127 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5128 frame-set-background-mode, since they are recomputed immediately
5129 afterwards in face-set-after-frame-default.
5130 (face-set-after-frame-default): Minor optimization.
5131 (cursor): Provide non-trivial defface spec.
5133 * custom.el (custom-theme-recalc-face): Simplify.
5135 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5137 * calc/calc-alg.el (math-var): Rename from `var'.
5138 (math-is-polynomial, math-is-poly-rec): Replace `var'
5141 * calc/calcalg2.el (math-var): Rename from `var'.
5142 (calcFunc-table, math-scan-for-limits): Replace `var'
5145 2010-10-13 Glenn Morris <rgm@gnu.org>
5147 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5149 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5151 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5153 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5155 * net/tls.el (tls-program): Remove spurious %s from openssl.
5156 (tls-starttls-switches): Remove starttls hack.
5157 (open-tls-stream): Ditto.
5158 (tls-find-starttls-argument): Ditto.
5160 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5162 * image.el (image-library-alist): Declare as obsolete alias.
5163 (image-type-available-p): Use `dynamic-library-alist'.
5165 * term/w32-win.el (dynamic-library-alist):
5166 Use instead of `image-library-alist'.
5168 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5170 * subr.el (last): Make it faster. (Bug#7174)
5172 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5174 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5176 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5178 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5179 (describe-theme-1): Extract doc from unloaded themes.
5181 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5183 * themes/tango-theme.el:
5184 * themes/tango-dark-theme.el:
5185 * themes/wheatgrass-theme.el: New files.
5187 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5189 * cus-theme.el (describe-theme, customize-themes)
5190 (custom-theme-save): New commands.
5191 (custom-new-theme-mode-map): Bind C-x C-s.
5192 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5193 (customize-create-theme): New optional arg THEME.
5194 (custom-theme-revert): Use it.
5195 (custom-theme-visit-theme): Remove dead code.
5196 (custom-theme-merge-theme): Use custom-available-themes.
5197 (custom-theme-write): Make interactive.
5198 (custom-theme-write): Use custom-theme-name-valid-p.
5199 (describe-theme-1, custom-theme-choose-revert)
5200 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5202 (custom-theme-allow-multiple-selections): New option.
5203 (custom-theme-choose-mode): New major mode.
5205 * custom.el (custom-theme-set-variables): Remove dead code.
5206 Obey custom--inhibit-theme-enable.
5207 (custom--inhibit-theme-enable): New var.
5208 (provide-theme): Obey it.
5209 (load-theme): Replace load with manual read/eval, in order to
5210 check for correctness. Use custom-theme-name-valid-p.
5211 (custom-theme-name-valid-p): New function.
5212 (custom-available-themes): Use it.
5214 * cus-edit.el (custom--initialize-widget-variables): New function.
5215 (Custom-mode): Use it.
5217 * cus-face.el (custom-theme-set-faces): Remove dead code.
5218 Obey custom--inhibit-theme-enable.
5220 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5222 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5224 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5226 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5228 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5229 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5230 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5232 * cus-start.el (all): ns-right-alternate-modifier is new.
5234 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5236 * emacs-lisp/lisp.el (lisp-completion-at-point):
5237 Use emacs-lisp-mode-syntax-table for the whole function.
5239 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5241 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5242 instead of font-lock-mode before adding keywords.
5243 Remove hi-lock-mode off code. Remove inhibit hack.
5244 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5245 non-nil; removed hook inhibit hack.
5247 2010-10-12 Glenn Morris <rgm@gnu.org>
5249 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5250 (load-path-shadows-find): ... to this.
5251 (list-load-path-shadows): Update for above change.
5253 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5255 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5257 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5258 Fix comment for declare-function.
5260 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5262 * custom.el (custom-fix-face-spec): New function; code moved from
5263 custom-face-edit-fix-value.
5264 (custom-push-theme): Use it when checking if a face has been
5265 changed outside customize.
5266 (custom-available-themes): New function.
5267 (load-theme): Use it.
5269 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5271 * custom.el (custom-push-theme): Cleanup (use cond).
5272 (disable-theme): Recompute the saved-face property.
5273 (custom-theme-recalc-face): Follow face alias before setting prop.
5275 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5276 New variables, containing checkbox images.
5278 * startup.el (fancy-startup-tail):
5279 * wid-edit.el (checkbox): Use them.
5281 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5283 * shell.el (shell-mode-map):
5284 * progmodes/modula2.el (m2-mode-map):
5285 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5286 * play/mpuz.el (mpuz-mode-map):
5287 * play/landmark.el (lm-mode-map):
5288 * play/decipher.el (decipher-mode-map):
5289 * play/5x5.el (5x5-mode-map):
5290 * net/telnet.el (telnet-mode-map):
5291 * net/quickurl.el (quickurl-list-mode-map):
5292 * net/mairix.el (mairix-searches-mode-map):
5293 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5294 * net/dig.el (dig-mode-map):
5295 * mail/mspools.el (mspools-mode-map):
5296 * hexl.el (hexl-mode-map):
5297 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5298 (wordstar-C-o-map, wordstar-C-q-map):
5299 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5300 * emacs-lisp/chart.el (chart-map):
5301 * edmacro.el (edmacro-mode-map):
5302 * erc/erc-list.el (erc-list-menu-mode-map):
5303 * array.el (array-mode-map): Declare and define in one step.
5305 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5307 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5309 * epa.el (epa-passphrase-callback-function): Display filename
5310 passed as the 3rd arg.
5311 * epa-file.el (epa-file-passphrase-callback-function):
5312 Pass filename to epa-passphrase-callback-function.
5314 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5316 * cus-edit.el (custom-face-widget-to-spec)
5317 (custom-face-get-current-spec, custom-face-state): New functions.
5318 (custom-face-set, custom-face-mark-to-save)
5319 (custom-face-value-create, custom-face-state-set): Use them.
5321 * cus-theme.el (custom-theme--listed-faces): New var.
5322 (customize-create-theme): Use *Custom Theme* as the buffer name.
5323 Set revert-buffer-function. Optional arg BUFFER. Insert all
5324 faces listed in custom-theme--listed-faces.
5325 (custom-theme-revert): New function.
5326 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5328 (custom-theme-write): Prompt for theme name if empty.
5329 (custom-theme-write-variables): Use dolist.
5330 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5332 2010-10-09 Alan Mackenzie <acm@muc.de>
5334 Enhance fontification of declarators to take account of the
5335 presence/absence of "typedef".
5337 * cc-engine.el (c-forward-type): New &optional param
5339 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5340 presence of either or both of a "struct"-like keyword and "typedef".
5342 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5343 fontification of declarators which follow a "}".
5344 (c-font-lock-declarations): Fontify declarators according to the
5345 presence/absence of "typedef".
5347 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5349 (c-typedef-decl-key): New lang variable built from
5350 c-typedef-decl-kwds.
5352 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5354 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5355 since that's too annoying. Move the filter groups commands to
5358 * epa.el (epa-passphrase-callback-function): Say what we're
5359 querying the password for.
5361 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5362 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5364 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5366 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5367 (custom-magic-value-create): Pad button tags with spaces.
5368 (custom-face-edit): New variable.
5369 (custom-face-value-create): Determine whether to use the usual
5370 face editor here, instead of using custom-face-selected.
5371 Pass face defaults to custom-face-edit widget.
5372 (custom-face-selected, custom-display-unselected): Delete widgets.
5373 (custom-display-unselected-match): Function removed.
5374 (custom-face-set, custom-face-mark-to-save):
5375 Accept custom-face-edit widgets as the direct widget child.
5377 * wid-edit.el (widget--completing-widget): New var.
5378 (widget-default-complete): Bind it when doing completion.
5379 (widget-string-complete, widget-file-complete): Use it.
5381 2010-10-09 Glenn Morris <rgm@gnu.org>
5383 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5384 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5385 (holiday-hebrew-misc): Small simplifications.
5387 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5389 * net/browse-url.el: Don't require thingatpt, term, dired,
5390 executable, or w3-auto when compiling.
5391 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5393 (browse-url-text-emacs): Require term.
5395 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5397 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5399 2010-10-08 Glenn Morris <rgm@gnu.org>
5401 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5403 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5404 (shadows-compare-text-p): Make it an obsolete alias for...
5405 (load-path-shadows-compare-text): ... new name.
5406 (find-emacs-lisp-shadows): Update for above name change.
5407 (load-path-shadows-same-file-or-nonexistent): New name for the old
5408 shadow-same-file-or-nonexistent.
5410 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5412 * minibuffer.el (completion--some, completion--do-completion)
5413 (minibuffer-complete-and-exit, minibuffer-completion-help)
5414 (completion-basic-try-completion)
5415 (completion-basic-all-completions)
5416 (completion-pcm--find-all-completions): Use lexical-let to
5417 avoid some false matches in variable completion (Bug#7056)
5419 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
5421 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
5423 2010-10-08 Leo <sdl.web@gmail.com>
5425 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5426 return non-nil if the file exists (Bug#7090).
5428 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5430 * minibuffer.el (completion--replace):
5431 Better preserve markers (bug#7138).
5433 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
5435 * server.el (server-process-filter): Doc fix.
5437 2010-10-08 Drew Adams <drew.adams@oracle.com>
5439 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
5441 2010-10-08 Glenn Morris <rgm@gnu.org>
5443 * vc/ediff-wind.el (ediff-setup-control-frame):
5444 * vc/ediff-ptch.el (ediff-default-backup-extension):
5445 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5446 (ediff-exec-process): Remove system-types emx, windows-95.
5448 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
5450 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
5452 * cus-edit.el (custom-variable, custom-face): Doc fix.
5453 (custom-face-edit): Add value-create attribute.
5454 (custom-face-edit-value-create)
5455 (custom-face-edit-value-visibility-action): New functions.
5456 Hide unused face attributes by default, and add a visibility toggle.
5457 (custom-face-edit-deactivate): Show empty values with shadow face.
5458 (custom-face-selected): Only use this for face specs with default
5460 (custom-face-value-create): Cleanup.
5462 * wid-edit.el (widget-checklist-value-create): Use dolist.
5463 (widget-checklist-match-find): Make second arg optional.
5465 2010-10-07 Glenn Morris <rgm@gnu.org>
5467 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5470 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5471 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5472 load-path-shadows-mode, update references.
5473 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5474 Rename variable and button.
5475 (list-load-path-shadows): Update button caller.
5477 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5479 * emacs-lisp/smie.el (smie-bnf-classify): New function.
5480 (smie-bnf-precedence-table): Use it to remember the closers/openers.
5481 (smie-merge-prec2s): Handle those new entries.
5482 (smie-prec2-levels): Only set precedence to nil for actual
5484 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5485 that is now unnecessary.
5487 2010-10-07 Miles Bader <miles@gnu.org>
5489 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5491 2010-10-07 Glenn Morris <rgm@gnu.org>
5493 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5494 (mail-position-on-field): Remove declarations.
5495 (mail-position-on-field): Autoload it.
5496 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5497 and mail-header-end. Don't require sendmail.
5499 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5500 (shadow-mode): New mode.
5501 (shadow-find-file): New button.
5502 (list-load-path-shadows): Use shadow-mode and buttons.
5504 * iimage.el (iimage-version): Remove.
5505 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5506 Turn into defcustoms.
5507 (iimage-mode-map): Give it a doc string.
5509 * calendar/appt.el (appt-activate): Give a warning rather than an error
5510 if there is no diary-file.
5512 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
5514 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5515 Use `tramp-handle-find-backup-file-name'.
5517 2010-10-06 Glenn Morris <rgm@gnu.org>
5519 * font-core.el (font-lock-defaults-alist): Remove variable.
5520 (font-lock-mode): Doc fix.
5521 (font-lock-default-function): Do not consult font-lock-defaults-alist.
5522 * font-lock.el (font-lock-refresh-defaults): Doc fix.
5523 (font-lock-set-defaults): Doc fix.
5524 Do not consult font-lock-defaults-alist.
5526 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5528 * emacs-lisp/cl.el: No longer provide cl-19.
5530 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
5532 * net/tramp.el (tramp-handle-directory-files-and-attributes)
5533 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5534 New defuns, taken from tramp-smb.el.
5535 (tramp-coding-system-change-eol-conversion)
5536 (tramp-set-process-query-on-exit-flag): Remove.
5538 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5539 (tramp-compat-coding-system-change-eol-conversion)
5540 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5543 * net/tramp-gvfs.el:
5544 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5545 by `tramp-compat-set-process-query-on-exit-flag'.
5547 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5548 Use `tramp-handle-directory-files-and-attributes',
5549 `tramp-handle-file-exists-p' and
5550 `tramp-handle-file-newer-than-file-p'.
5551 (tramp-imap-handle-file-exists-p)
5552 (tramp-imap-handle-file-executable-p)
5553 (tramp-imap-handle-file-readable-p)
5554 (tramp-imap-handle-directory-files-and-attributes)
5555 (tramp-imap-handle-file-newer-than-file-p): Remove.
5557 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5558 by `tramp-compat-set-process-query-on-exit-flag' and
5559 `tramp-coding-system-change-eol-conversion' by
5560 `tramp-compat-coding-system-change-eol-conversion'.
5562 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5563 Use `tramp-handle-directory-files-and-attributes',
5564 `tramp-handle-file-exists-p' and
5565 `tramp-handle-file-newer-than-file-p'.
5566 (tramp-smb-handle-directory-files-and-attributes)
5567 (tramp-smb-handle-file-exists-p)
5568 (tramp-smb-handle-file-newer-than-file-p): Remove.
5569 (tramp-smb-maybe-open-connection):
5570 Replace `tramp-set-process-query-on-exit-flag' by
5571 `tramp-compat-set-process-query-on-exit-flag'.
5573 2010-10-05 Glenn Morris <rgm@gnu.org>
5575 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5577 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5579 Continue reorganization of load dependencies. (Bug#7156)
5581 * net/tramp.el (tramp-handle-file-local-copy-hook)
5582 (tramp-delete-temp-file-function): Move down.
5583 (tramp-exists-file-name-handler): Move up.
5584 (tramp-register-file-name-handlers): Simplify autoload.
5585 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5586 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5587 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5588 (tramp-handle-file-name-completion)
5589 (tramp-handle-file-name-directory)
5590 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5591 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5592 (tramp-handle-find-backup-file-name)
5593 (tramp-handle-insert-file-contents, tramp-handle-load)
5594 (tramp-handle-substitute-in-file-name)
5595 (tramp-handle-unhandled-file-name-directory)
5596 (tramp-mode-string-to-int, tramp-local-host-p)
5597 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5599 * net/tramp-gvfs.el (top):
5600 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5602 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5603 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5605 2010-10-04 Glenn Morris <rgm@gnu.org>
5607 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5608 (appt-activate): Give status messages.
5610 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5612 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5613 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5614 `gnutls-negotiate' (formerly `starttls-negotiate').
5615 Remove trivial wrapper `starttls-open-stream'.
5617 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5619 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5620 log-outgoing commands.
5621 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5622 to create a buffer local revert-buffer-function variable.
5623 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5624 revert-buffer-function lambda.
5626 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5628 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5629 `gnutls-boot'. Make TYPE the only required parameter.
5630 Allow TRUSTFILES and KEYFILES to be lists.
5631 (open-ssl-stream): Use it.
5633 2010-10-03 Glenn Morris <rgm@gnu.org>
5635 * subr.el (directory-sep-char): Remove obsolete variable.
5636 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5639 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5640 * vc/vc.el (vc-static-header-alist): Doc fix.
5641 * vc/vc-cvs.el (vc-cvs-header):
5642 * vc/vc-rcs.el (vc-rcs-header):
5643 * vc/vc-sccs.el (vc-sccs-header):
5644 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5645 * obsolete/vc-mcvs.el (vc-mcvs-header):
5646 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5649 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5651 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5652 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5654 2010-10-03 Glenn Morris <rgm@gnu.org>
5656 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5658 * textmodes/rst.el (rst-font-lock-keywords-function):
5661 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5663 * printing.el: Drop Emacs 20 code.
5665 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5666 without having used appt.el already).
5668 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5669 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5670 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5672 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5673 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5675 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5676 (charset-width, find-charset-region, chars-in-region, forward-point)
5677 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5678 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5679 Remove compatibility cruft (none of these are used by ps*.el).
5681 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5683 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5685 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5687 * server.el (server-process-filter, server-return-error):
5688 Give emacsclient time to shut down after receiving an error string.
5690 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5692 * files.el (remote-file-name-inhibit-cache): New defcustom.
5694 * time.el (display-time-file-nonempty-p):
5695 Use `remote-file-name-inhibit-cache'.
5697 * net/tramp.el (tramp-completion-reread-directory-timeout):
5700 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5701 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5702 `remote-file-name-inhibit-cache'. Check also for an integer
5703 value. Add/increase counter when `tramp-verbose' >= 10.
5704 (tramp-set-file-property): Add/increase counter when
5705 `tramp-verbose' >= 10.
5707 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5708 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5709 (tramp-bug): Set tramp-autoload cookie. Report all interned
5710 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5711 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5712 characters only in strings.
5714 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5715 to backward compatibility.
5717 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5718 (tramp-handle-file-name-all-completions)
5719 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5720 (tramp-open-connection-setup-interactive-shell):
5721 Call `tramp-cleanup-connection' directly.
5723 2010-10-02 Glenn Morris <rgm@gnu.org>
5725 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5727 * subr.el (char-bytes): Remove obsolete function.
5729 * isearch.el (isearch-return-char): Remove obsolete function.
5731 * mouse.el: No longer provide mldrag.
5732 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5733 Remove obsolete aliases.
5735 * comint.el (comint-kill-output): Remove obsolete alias.
5737 * composite.el (decompose-composite-char): Remove obsolete function.
5738 * ps-def.el (decompose-composite-char): Remove unused function.
5740 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5742 * outline.el (outline-visible): Remove obsolete function.
5744 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5745 * faces.el (internal-find-face, internal-get-face)
5746 (frame-update-faces, frame-update-face-colors)
5747 (x-frob-font-weight, x-frob-font-slant)
5748 (internal-frob-font-weight, internal-frob-font-slant)
5749 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5750 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5751 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5753 * emulation/viper-util.el (viper-get-face):
5754 * obsolete/lucid.el (find-face, get-face): Use facep.
5755 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5756 Remove unused functions.
5757 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5759 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5760 delete tempfile if interrupted during compilation.
5762 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5764 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5766 (tls-program): Add --insecure to be consistent with the defaults from
5767 openssl s_client. Now all three commands are insecure.
5769 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5771 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5772 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5773 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5775 2010-10-01 Glenn Morris <rgm@gnu.org>
5777 * obsolete/sc.el: Remove file.
5779 * files.el (temporary-file-directory): On darwin, also try
5780 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5782 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5784 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5785 Let's not break compatibility gratuitously, shall we?
5787 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5789 * net/tls.el (tls-starttls-switches): New variable.
5790 (tls-find-starttls-argument): Use it.
5791 (open-tls-stream): Ditto.
5793 * net/netrc.el (netrc-credentials): Return the value of the "default"
5795 (netrc-machine): Ditto.
5797 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5799 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5801 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5803 * server.el (server-start): Don't write pid to the authentication file.
5804 (server-create-tty-frame): Don't send pid.
5805 (server-process-filter): Send pid at the start of every connection.
5807 2010-09-30 Glenn Morris <rgm@gnu.org>
5809 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5810 (show-all-diary-entries): Remove obsolete function aliases.
5812 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5813 Remove options, obsolete since 22.1.
5814 (appt-display-format, appt-display-message):
5815 Remove backwards-compatibility code.
5816 (appt-check): No longer check appt-issue-message.
5817 (appt-make-list): No longer autoload it. Doc fix. No longer
5818 activate the package.
5820 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5822 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5823 (starttls-negotiate): Just call boot, and let the handshake be
5824 triggered from the read loop.
5826 2010-09-29 Glenn Morris <rgm@gnu.org>
5828 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5829 not displaying the diary.
5830 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5831 * calendar/appt.el (appt-check): No longer need to kill diary.
5833 * calendar/diary-lib.el (diary-list-entries): Move the
5834 "Preparing..." message entirely here.
5835 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5836 messages to diary-list-entries.
5837 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5838 diary-display-function.
5840 * calendar/diary-lib.el (diary-include-other-diary-files):
5841 Trap some recursive includes.
5843 * calendar/appt.el (appt-activate): Check diary file.
5845 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5847 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5850 * calendar/time-date.el: No need to require cl for Emacs 21.
5852 2010-09-28 Glenn Morris <rgm@gnu.org>
5854 * calendar/appt.el (appt-check): Minor simplification.
5856 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5858 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5861 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5863 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5864 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5866 2010-09-27 Kenichi Handa <handa@m17n.org>
5868 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5871 2010-09-27 Kenichi Handa <handa@m17n.org>
5873 * international/mule.el (define-coding-system): Docstring fixed.
5875 * international/mule-diag.el (describe-character-set): Use princ
5876 with proper print-length and print-level instead of insert.
5878 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5880 * window.el (walk-windows): Doc fix (bug#7105).
5882 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5884 * emacs-lisp/float-sup.el (e): Remove.
5886 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5888 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5890 (starttls-negotiate): Use it.
5892 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5894 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5897 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5899 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5901 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5903 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5905 * net/netrc.el (netrc-store-data): New function.
5907 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5909 * net/gnutls.el: GnuTLS glue code to set up a connection.
5911 2010-09-25 Julien Danjou <julien@danjou.info>
5913 * notifications.el: Call dbus-register-signal only if it is bound.
5915 2010-09-25 Glenn Morris <rgm@gnu.org>
5917 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5918 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5919 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5920 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5921 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5922 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5923 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5924 * eshell/esh-util.el, eshell/esh-var.el:
5925 Remove leading `*' from docs of faces and defcustoms.
5927 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5929 * eshell/em-ls.el (eshell-ls-archive-regexp):
5930 * eshell/esh-util.el (eshell-tar-regexp):
5931 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5932 * info.el (Info-suffix-list):
5933 * international/mule.el (auto-coding-alist):
5934 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5935 * progmodes/etags.el (tags-compression-info-list):
5936 Support xz compression.
5938 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5940 * files.el (get-free-disk-space): Don't assume the "df" output
5941 columns line up (Bug#6995).
5943 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5945 * finder.el (finder-unknown-keywords):
5946 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5947 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5949 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5951 * server.el (server-start): Revert part of 2010-08-08 change. Using
5952 address 127.0.0.1 for local host is now done in Fmake_network_process.
5954 2010-09-24 Glenn Morris <rgm@gnu.org>
5956 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5957 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5958 * textmodes/css-mode.el, textmodes/dns-mode.el:
5959 Move autoloaded auto-mode-alist entries to files.el.
5960 * files.el (auto-mode-alist): Move entries here.
5962 2010-09-23 Glenn Morris <rgm@gnu.org>
5964 * isearch.el (isearch-lazy-highlight-cleanup)
5965 (isearch-lazy-highlight-initial-delay)
5966 (isearch-lazy-highlight-interval)
5967 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5968 * net/net-utils.el (ipconfig-program-options):
5969 Move aliases to options before the associated definitions.
5971 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5973 * newcomment.el (comment-normalize-vars): Better test validity of
5976 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5978 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5979 (float-e): New name for `e'.
5980 (degrees-to-radians, radians-to-degrees):
5981 * calendar/solar.el (solar-longitude):
5982 * calculator.el (calculator-registers, calculator-funcall):
5983 * textmodes/artist.el (artist-spray-random-points):
5984 * play/bubbles.el (bubbles--initialize-images): Use new names.
5986 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5988 Update to CEDET 1.0's version of EIEIO.
5990 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5992 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5993 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5994 (class-precedence-list): If class is nil, return nil.
5995 (eieio-generic-call): If class of first input arg is nil, don't
5996 look up static methods, and do check for primary methods.
5997 (initialize-instance): See if the default needs to be evaluated
5998 during the constructor.
5999 (eieio-perform-slot-validation-for-default): Don't do the check
6000 for values that will eventually be evaluated.
6001 (eieio-eval-default-p): New function.
6002 (eieio-default-eval-maybe): Use it.
6004 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6006 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6007 method-invocation-order.
6008 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6009 (eieio-class-precedence-dfs): Compute class precedence list using
6011 (eieio-class-precedence-bfs): Compute class precedence list using
6013 (eieio-class-precedence-c3): Compute class precedence list using
6015 (class-precedence-list): New function.
6016 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6017 (inconsistent-class-hierarchy): New error symbol.
6018 (call-next-method): Stow the replacement argument list for future
6019 call-next-method invocations.
6021 2010-09-23 Glenn Morris <rgm@gnu.org>
6023 * calendar/appt.el (appt-check): If not displaying the diary,
6024 use (diary 1) to only get the entries we need.
6025 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6026 that it is in day order. (Bug#7019)
6028 * calendar/appt.el (appt-check): Rather than showing the diary,
6029 just turn off invisible display, and only if needed.
6031 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6033 2010-09-23 Glenn Morris <rgm@gnu.org>
6035 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6036 (byte-compile-defvar, byte-compile-cl-warn):
6037 Start warnings with lower-case, like the majority.
6039 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6041 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6043 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6044 * files.el (auto-mode-alist): Move ld-script entries here, further down
6047 * vc/add-log.el: Don't require timezone when compiling.
6048 (timezone-make-date-sortable): Autoload it.
6049 (change-log-sortable-date-at): Don't require timezone.
6050 Use `ignore-errors'.
6052 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6053 Move alias before definition, so it does not need autoloading.
6055 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6056 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6057 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6058 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6059 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6060 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6061 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6062 * textmodes/tex-mode.el, textmodes/two-column.el:
6063 Remove leading `*' from docs of defcustoms etc.
6065 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6067 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6069 2010-09-22 Dan Christensen <jdc@uwo.ca>
6071 * calendar/time-date.el (date-to-time): Try using parse-time-string
6072 first before using the slower timezone-make-date-arpa-standard.
6074 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6076 * calendar/time-date.el (format-seconds): Comment fix.
6078 2010-09-22 Glenn Morris <rgm@gnu.org>
6080 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6081 is not automatically buffer-local.
6083 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6085 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6086 (smie-indent-comment): Be more careful with comment-start-skip.
6087 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6088 (smie-indent-functions): Use them.
6090 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6092 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6094 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6096 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6097 tool-bar-position. Don't modify frame parameters here.
6098 (menu-bar-options-save): Add tool-bar-position.
6100 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6102 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6104 * textmodes/reftex-parse.el (reftex-what-macro)
6105 (reftex-context-substring): Let-bind forward-sexp-function to nil
6106 since we don't need/want to treat \begin...\end as a block (bug#7053).
6108 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6110 * simple.el (blink-matching-open): Use syntax-class.
6112 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6113 Set invisibility spec for pascal's outline mode.
6114 (pascal-outline-change): Clean up calling convention.
6115 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6117 * progmodes/prolog.el (prolog-smie-forward-token)
6118 (prolog-smie-backward-token): New functions.
6119 (prolog-mode-variables): Use them to parse "!," correctly.
6120 Set up smie-blink-matching for ".".
6122 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6124 (ispell-region, ispell-process-line): Update users.
6126 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6129 * textmodes/ispell.el: Fix commenting convention.
6130 (ispell-parse-output): Simplify, use push.
6131 (ispell-region): Use match-string-no-properties.
6132 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6133 (ispell-minor-mode): Use define-minor-mode.
6134 (ispell-message): Remove unused var `skip-regexp'.
6135 (ispell-add-per-file-word-list): Use dynamic let-binding.
6136 Try and use the proper comment marker.
6138 * mail/sendmail.el: Fix commenting convention.
6139 (sendmail-send-it): Use line-beginning-position.
6141 * help-fns.el (describe-variable): Add original value, if applicable.
6143 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6145 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6147 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6149 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6151 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6152 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6153 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6154 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6155 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6156 something like "." can also be a closer.
6157 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6158 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6159 Rename internal functions to use "--". Update callers.
6161 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6163 * fringe.el (fringe-styles): New var.
6164 (fringe-mode, fringe-query-style): Use it.
6166 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6168 * progmodes/sql.el: Version 2.8
6169 (sql-login-params): Update widget structure; changes still needed.
6170 (sql-product-alist): Add :list-all and :list-table features for
6171 SQLite, Postgres and MySQL products.
6172 (sql-redirect): Handle default value.
6173 (sql-execute, sql-execute-feature): New functions.
6174 (sql-read-table-name): New function.
6175 (sql-list-all, sql-list-table): New functions. User API.
6176 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6177 for above functions.
6178 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6179 for above functions.
6180 (sql-postgres-login-params): Add user and database defaults.
6181 (sql-buffer-live-p): Bug fix.
6182 (sql-product-history): New variable.
6183 (sql-read-product): New function. Use it.
6184 (sql-set-product, sql-product-interactive): Use it.
6185 (sql-connection-history): New variable.
6186 (sql-read-connection): New function. Use it.
6187 (sql-connect): New function.
6188 (sql-for-each-login): Redesign function interface.
6189 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6190 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6191 (sql-comint): Check for program. Existing live buffer.
6192 (sql-comint-postgres): Add port parameter.
6194 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6196 * emacs-lisp/warnings.el: Fix commenting convention.
6197 (display-warning): Use special mode and make the buffer read-only.
6199 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6201 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6202 empty string when it follows a repeated or optional pattern.
6204 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6206 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6207 (indent-region): Use indent-according-to-mode.
6209 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6211 * fringe.el (fringe-mode): Doc fix.
6213 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6215 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6216 refreshing the preview buffer.
6218 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6220 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6221 (latex-syntax-propertize-rules): New consts; replace
6222 tex-font-lock-syntactic-keywords.
6223 (tex-env-mark, latex-env-before-change): New functions.
6224 (latex-electric-env-pair-mode): New minor mode.
6225 (tex-font-lock-verb): Change arguments; do move point.
6226 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6227 representation as a form of comment.
6228 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6229 (doctex-syntax-propertize-rules): New const; replaces
6230 doctex-font-lock-syntactic-keywords.
6231 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6233 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6234 (fortran-make-syntax-propertize-function): New function; replaces
6235 fortran-font-lock-syntactic-keywords.
6236 (fortran-mode): Use it.
6237 (fortran-line-length): Use it. Improve interactive spec.
6239 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6240 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6241 when adding surrounding \(..\).
6243 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6245 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6247 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6248 Use with-current-buffer.
6250 * isearch.el (isearch-face): Rename from `isearch'.
6251 (isearch-highlight): Use new name.
6253 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6255 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6256 5, for `half' width fringes. (Bug#6933)
6258 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6260 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6261 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6263 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6265 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6267 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6268 in calculating new frame position. Add more space between new and
6269 parent on the left (Bug#7048).
6271 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6273 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6276 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6278 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6280 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6281 obsolete alias for x-selection-value.
6283 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6285 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6287 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6290 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6292 * net/tramp-compat.el (tramp-compat-with-temp-message)
6293 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6294 (tramp-compat-process-put): New defuns.
6296 * net/tramp.el (top):
6297 * net/tramp-gvfs.el (top):
6298 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6300 * net/tramp.el (tramp-progress-reporter-update):
6301 Use `tramp-compat-funcall'.
6303 * net/tramp.el (tramp-process-actions):
6304 * net/tramp-gvfs.el (tramp-handle-vc-registered):
6305 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
6306 (tramp-get-remote-stat, tramp-get-remote-readlink):
6307 Use `tramp-compat-with-temp-message'.
6309 * net/tramp-sh.el (top): Require 'cl.
6310 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6311 (tramp-open-connection-setup-interactive-shell):
6312 Use `tramp-compat-process-put'.
6314 2010-09-15 Alan Mackenzie <acm@muc.de>
6316 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6318 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6320 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6322 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6323 `lexical' for warnings related to lexical scoping.
6324 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6325 global vars which don't have a prefix and could hence affect lexical
6326 scoping in unrelated files.
6328 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6330 * net/imap.el: Revert back to version
6331 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6334 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6336 * obsolete/old-whitespace.el (whitespace-unload-function):
6337 Explicitly pass `obarray' to `unintern' to avoid a warning.
6339 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6341 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6342 Add `when' argument. Update callers.
6344 * subr.el (unintern): Declare the obarray arg mandatory.
6346 2010-09-14 Glenn Morris <rgm@gnu.org>
6348 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6351 * calendar/diary-lib.el (diary-included-files): New variable.
6352 (diary-list-entries): Maybe initialize diary-included-files.
6353 (diary-include-other-diary-files): Append to diary-included-files.
6354 * calendar/appt.el (appt-update-list): Also check the members of
6355 diary-included-files. (Bug#6999)
6356 (appt-check): Doc fix.
6358 2010-09-14 David Reitter <david.reitter@gmail.com>
6360 * simple.el (line-move-visual): Do not truncate goal column to
6361 integer size. (Bug#7020)
6363 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6365 * repeat.el (repeat): Allow repeating when the last event is a click.
6366 Suggested by Drew Adams (bug#6256).
6368 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6370 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6371 Replace setting HGRCPATH to "" by some less invasive --config options.
6373 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6375 * font-lock.el (font-lock-beginning-of-syntax-function):
6378 2010-09-14 Glenn Morris <rgm@gnu.org>
6380 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6381 and tool-bar modes. (Bug#6211)
6382 (menu-bar-mode): Move setting of standard-value after the
6383 minor-mode definition, otherwise it seems to have no effect.
6385 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6387 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6388 Fix typo. (Bug#6976)
6390 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6392 * whitespace.el: Allow cleaning up blanks without blank
6393 visualization (Bug#6651). Adjust help window for
6394 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6395 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6396 (whitespace-style): Add new value 'face. Adjust docstring.
6397 (whitespace-space, whitespace-hspace, whitespace-tab):
6398 Adjust foreground property face.
6399 (whitespace-line-column): Adjust docstring and type declaration.
6400 (whitespace-style-value-list, whitespace-toggle-option-alist)
6401 (whitespace-help-text): Adjust const initialization.
6402 (whitespace-toggle-options, global-whitespace-toggle-options):
6404 (whitespace-display-window, whitespace-interactive-char)
6405 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6406 (whitespace-help-scroll): New fun.
6408 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6410 * calendar/time-date.el (format-seconds): Comment fix.
6412 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
6414 * progmodes/sql.el: Version 2.7.
6415 (sql-buffer-live-p): Improve detection.
6416 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6417 (sql-set-sqli-buffer): Use it.
6418 (sql-product-interactive): Run `sql-set-sqli-hook'.
6419 (sql-rename-buffer): Code cleanup.
6420 (sql-redirect, sql-redirect-value): New functions. More to come.
6422 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
6424 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.
6425 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6426 (TRAMP_SRC): New macro.
6427 ($(lisp)/net/tramp-loaddefs.el): New target.
6429 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
6431 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
6433 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
6435 * net/tramp.el (top): Don't show loading message. Require just
6436 'tramp-compat, everything else is required there.
6437 Use `ignore-errors' where appropriate.
6438 (tramp-inline-compress-start-size, tramp-copy-size-limit)
6439 (tramp-terminal-type, tramp-end-of-output)
6440 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6441 (tramp-completion-function-alist-ssh)
6442 (tramp-completion-function-alist-telnet)
6443 (tramp-completion-function-alist-su)
6444 (tramp-completion-function-alist-putty, tramp-remote-path)
6445 (tramp-remote-process-environment, tramp-sh-extra-args)
6446 (tramp-actions-before-shell, tramp-uudecode)
6447 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6448 (tramp-perl-file-attributes)
6449 (tramp-perl-directory-files-and-attributes)
6450 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6451 (tramp-perl-encode, tramp-perl-decode)
6452 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6453 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6454 (tramp-handle-make-symbolic-link, tramp-handle-load)
6455 (tramp-handle-file-name-as-directory)
6456 (tramp-handle-file-name-directory)
6457 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6458 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6459 (tramp-do-file-attributes-with-ls)
6460 (tramp-do-file-attributes-with-perl)
6461 (tramp-do-file-attributes-with-stat)
6462 (tramp-handle-set-visited-file-modtime)
6463 (tramp-handle-verify-visited-file-modtime)
6464 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6465 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6466 (tramp-handle-file-selinux-context)
6467 (tramp-handle-set-file-selinux-context)
6468 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6469 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6470 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6471 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6472 (tramp-handle-file-ownership-preserved-p)
6473 (tramp-handle-directory-file-name, tramp-handle-directory-files)
6474 (tramp-handle-directory-files-and-attributes)
6475 (tramp-do-directory-files-and-attributes-with-perl)
6476 (tramp-do-directory-files-and-attributes-with-stat)
6477 (tramp-handle-file-name-all-completions)
6478 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6479 (tramp-handle-copy-file, tramp-handle-copy-directory)
6480 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6481 (tramp-do-copy-or-rename-file-via-buffer)
6482 (tramp-do-copy-or-rename-file-directly)
6483 (tramp-do-copy-or-rename-file-out-of-band)
6484 (tramp-handle-make-directory, tramp-handle-delete-directory)
6485 (tramp-handle-delete-file)
6486 (tramp-handle-dired-recursive-delete-directory)
6487 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6488 (tramp-handle-insert-directory)
6489 (tramp-handle-unhandled-file-name-directory)
6490 (tramp-handle-expand-file-name)
6491 (tramp-handle-substitute-in-file-name)
6492 (tramp-handle-executable-find, tramp-process-sentinel)
6493 (tramp-handle-start-file-process, tramp-handle-process-file)
6494 (tramp-handle-call-process-region, tramp-handle-shell-command)
6495 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6496 (tramp-handle-insert-file-contents)
6497 (tramp-handle-insert-file-contents-literally)
6498 (tramp-handle-find-backup-file-name)
6499 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6500 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6501 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6502 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6503 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6504 (tramp-find-file-exists-command, tramp-open-shell)
6505 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6506 (tramp-open-connection-setup-interactive-shell)
6507 (tramp-local-coding-commands, tramp-remote-coding-commands)
6508 (tramp-find-inline-encoding, tramp-call-local-coding-command)
6509 (tramp-inline-compress-commands, tramp-find-inline-compress)
6510 (tramp-compute-multi-hops, tramp-maybe-open-connection)
6511 (tramp-send-command, tramp-wait-for-output)
6512 (tramp-send-command-and-check, tramp-barf-unless-okay)
6513 (tramp-send-command-and-read, tramp-mode-string-to-int)
6514 (tramp-convert-file-attributes, tramp-check-cached-permissions)
6515 (tramp-file-mode-from-int, tramp-file-mode-permissions)
6516 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6517 (tramp-method-out-of-band-p, tramp-local-host-p)
6518 (tramp-get-remote-path, tramp-get-remote-tmpdir)
6519 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6520 (tramp-get-test-command, tramp-get-test-nt-command)
6521 (tramp-get-file-exists-command, tramp-get-remote-ln)
6522 (tramp-get-remote-perl, tramp-get-remote-stat)
6523 (tramp-get-remote-readlink, tramp-get-remote-trash)
6524 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6525 (tramp-get-local-uid, tramp-get-local-gid)
6526 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6528 (tramp-methods, tramp-default-method-alist)
6529 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6530 Move initialization to tramp-sh.el.
6531 (tramp-temp-name-prefix): Make it a defconst.
6532 (tramp-dissect-file-name): Don't check anymore for multi-hop
6534 (tramp-debug-outline-regexp): Add a docstring.
6535 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6536 (tramp-get-debug-buffer): Use it.
6538 * net/tramp-cache.el (top): Set tramp-autoload cookie for
6539 initialization forms.
6540 (tramp-set-connection-property): Don't protect `tramp-message'
6541 call, it isn't necessary any longer.
6542 (tramp-dump-connection-properties): Use `ignore-errors'.
6544 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6545 'password-cache and 'auth-source.
6547 * net/tramp-gvfs.el (top):
6548 * net/tramp-smb.el (top): Require 'tramp-sh.
6550 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6552 * net/tramp-sh.el: New file, derived from tramp.el.
6553 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6554 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6555 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6556 Use `ignore-errors' where appropriate.
6557 (tramp-sh-file-name-handler-alist): Rename from
6558 `tramp-file-name-handler-alist'.
6559 (tramp-send-command-and-check): Return t or nil. Remove all
6560 `zerop' checks, where called.
6561 (tramp-handle-set-file-modes)
6562 (tramp-do-copy-or-rename-file-directly)
6563 (tramp-handle-delete-directory, tramp-handle-delete-file)
6564 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6565 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6566 (tramp-get-remote-ln): Set tramp-autoload cookie.
6568 * net/tramp-fish.el: Remove file.
6570 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6572 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6573 buffer-file-name to avoid file-locking. (Bug#7026)
6575 2010-09-13 Julien Danjou <julien@danjou.info>
6577 * notifications.el (notifications-notify): Add support for
6578 image-path and sound-name.
6579 (notifications-specification-version): Add this variable.
6581 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6583 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6585 2010-09-12 Leo <sdl.web@gmail.com>
6587 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6588 (rcirc-completion-start): New variables.
6589 (rcirc-nick-completions): Rename to rcirc-completions.
6590 (rcirc-nick-completion-start-offset): Delete.
6591 (rcirc-completion-at-point): New function for constructing
6592 completion data for both nicks and irc commands. Add to
6593 completion-at-point-functions in rcirc mode.
6594 (rcirc-complete): Rename from rcirc-nick-complete; use
6595 rcirc-completion-at-point.
6596 (defun-rcirc-command): Update rcirc-client-commands.
6598 2010-09-11 Glenn Morris <rgm@gnu.org>
6600 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6601 atomically, to avoid parallel build errors. (Bug#4196)
6603 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6605 * progmodes/sql.el: Version 2.6
6606 (sql-dialect): Synonym for "sql-product".
6607 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6608 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6609 Set "sql-buffer" to buffer name not buffer object so multiple sql
6610 interactive buffers work properly. Reverts misguided changes in
6612 (sql-comint): Make sure different buffer name is used if "*SQL*"
6613 buffer is for a different product.
6614 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6616 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6617 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6618 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6619 Accept new buffer name or prompt for one.
6620 (sql-port): Default to zero.
6621 (sql-comint-mysql): Handle "sql-port" as a numeric.
6622 (sql-port-history): Delete unused variable.
6623 (sql-get-login): Default "sql-port" to a number.
6624 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6625 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6626 "sqlite3" executables.
6627 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6628 (sql-buffer-live-p): New function.
6629 (sql-mode-menu, sql-send-string): Use it.
6630 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6632 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6633 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6635 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6637 * net/netrc.el (netrc-credentials): New convenience function.
6639 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6641 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6642 to replace texinfo-font-lock-syntactic-keywords.
6643 (texinfo-mode): Use it.
6645 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6646 Use syntax-propertize-function.
6648 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6649 replace sgml-font-lock-syntactic-keywords.
6650 (sgml-mode): Use it.
6652 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6653 since we don't use it.
6655 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6657 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6659 (vhdl-fontify-buffer): Adjust.
6661 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6662 replace tcl-font-lock-syntactic-keywords.
6665 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6666 replace simula-font-lock-syntactic-keywords.
6667 (simula-mode): Use it.
6669 * progmodes/sh-script.el (sh-st-symbol): Remove.
6670 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6671 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6672 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6673 (sh-font-lock-paren): Set syntax-multiline.
6674 (sh-font-lock-syntactic-keywords): Remove.
6675 (sh-syntax-propertize-function): New function to replace it.
6678 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6679 Define while compiling.
6680 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6681 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6682 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6683 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6684 (ruby-here-doc-end-syntax): Only define when
6685 syntax-propertize is not available.
6686 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6688 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6689 (electric-indent-chars): Silence bytecompiler.
6690 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6691 electric-indent-chars.
6693 * progmodes/python.el (python-syntax-propertize-function): New var to
6694 replace python-font-lock-syntactic-keywords.
6695 (python-mode): Use it.
6696 (python-quote-syntax): Simplify and adjust to new use.
6698 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6699 replace perl-font-lock-syntactic-keywords.
6700 (perl-syntax-propertize-special-constructs): New fun to replace
6701 perl-font-lock-special-syntactic-constructs.
6702 (perl-font-lock-syntactic-face-function): New fun.
6703 (perl-mode): Use it.
6705 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6706 to replace octave-font-lock-close-quotes.
6707 (octave-syntax-propertize-function): New function to replace
6708 octave-font-lock-syntactic-keywords.
6709 (octave-mode): Use it.
6711 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6712 replaces mixal-font-lock-syntactic-keywords.
6713 (mixal-mode): Use it.
6715 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6716 New var; replaces makefile-font-lock-syntactic-keywords.
6717 (makefile-mode): Use it.
6718 (makefile-imake-mode): Adjust.
6720 * progmodes/js.el (js--regexp-literal): Define while compiling.
6721 (js-syntax-propertize-function): New var; replaces
6722 js-font-lock-syntactic-keywords.
6725 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6726 replaces gdb-script-font-lock-syntactic-keywords.
6727 (gdb-script-mode): Use it.
6729 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6730 (fortran--font-lock-syntactic-keywords): New var.
6731 (fortran-line-length): Update syntax-propertize-function and
6732 fortran--font-lock-syntactic-keywords.
6734 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6736 * progmodes/cfengine.el (cfengine-mode):
6737 Use syntax-propertize-function.
6738 (cfengine-font-lock-syntactic-keywords): Remove.
6740 * progmodes/autoconf.el (autoconf-mode):
6741 Use syntax-propertize-function.
6742 (autoconf-font-lock-syntactic-keywords): Remove.
6744 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6745 (ada-after-change-function, ada-initialize-syntax-table-properties)
6746 (ada-handle-syntax-table-properties): Only define when
6747 syntax-propertize is not available.
6748 (ada-mode): Use syntax-propertize-function.
6750 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6751 (font-lock-fontify-syntactic-keywords-region): Move handling of
6752 font-lock-syntactically-fontified to...
6753 (font-lock-default-fontify-region): ...here.
6754 Let syntax-propertize-function take precedence.
6755 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6757 * emacs-lisp/syntax.el (syntax-propertize-function)
6758 (syntax-propertize-chunk-size, syntax-propertize--done)
6759 (syntax-propertize-extend-region-functions): New vars.
6760 (syntax-propertize-wholelines, syntax-propertize-multiline)
6761 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6762 (syntax-propertize): New functions.
6763 (syntax-propertize-rules): New macro.
6764 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6765 (syntax-ppss): Call syntax-propertize.
6767 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6769 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6771 * textmodes/ispell.el (ispell-init-process): Improve comments.
6772 XEmacs compatibility changes regarding (add-hook) 'local option
6773 and (set-process-query-on-exit-flag).
6775 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6777 * net/tramp-cache.el (tramp-parse-connection-properties):
6778 Set tramp-autoload cookie.
6780 2010-09-09 Glenn Morris <rgm@gnu.org>
6782 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6783 (imagemagick-register-types): Doc fix.
6785 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6787 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6789 * progmodes/js.el (require): Require is already "eval-and-compile".
6790 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6791 (js--re-search-backward): Use js--re-search-forward.
6793 * progmodes/fortran.el (fortran-line-length): Don't recompute
6794 syntactic keywords redundantly a second time.
6796 * progmodes/ada-mode.el: Replace "(set '" with setq.
6797 (ada-mode): Simplify.
6798 (ada-create-case-exception, ada-adjust-case-interactive)
6799 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6800 (ada-search-ignore-string-comment, ada-move-to-start)
6801 (ada-move-to-end): Use with-syntax-table.
6803 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6804 (font-lock-unfontify-region, font-lock-default-fontify-region):
6805 Update usage correspondingly.
6806 (font-lock-fontify-syntactic-keywords-region):
6807 Set parse-sexp-lookup-properties buffer-locally here.
6808 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6810 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6812 2010-09-08 Glenn Morris <rgm@gnu.org>
6814 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6815 Error if not compiled with -DBYTE_CODE_METER.
6817 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6818 Ignore dir-locals-file.
6820 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6822 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6824 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6825 for the `gnu' messages.
6826 (compilation-set-skip-threshold): New command.
6827 (compilation-start): Use \' rather than $.
6828 (compilation-forget-errors): Use clrhash.
6830 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6832 * textmodes/ispell.el (ispell-valid-dictionary-list):
6835 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6837 Migrate to Tramp 2.2. Rearrange load dependencies.
6838 (Bug#1529, Bug#5448, Bug#5705)
6840 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6841 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6842 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6844 * net/tramp.el (top): Remove all other tramp-* loads except
6845 tramp-compat.el. Remove all changes to tramp-unload-hook for
6846 other tramp-* packages. Rearrange defun order. Change calls of
6847 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6848 `tramp-compat-octal-to-decimal' to new function names.
6849 (tramp-terminal-type, tramp-initial-end-of-output)
6850 (tramp-methods, tramp-foreign-file-name-handler-alist)
6851 (tramp-tramp-file-p, tramp-completion-mode-p)
6852 (tramp-send-command-and-check, tramp-get-remote-path)
6853 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6854 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6855 (with-file-property, with-connection-property): Move to
6857 (tramp-local-call-process, tramp-decimal-to-octal)
6858 (tramp-octal-to-decimal): Move to tramp-compat.el.
6859 (tramp-handle-shell-command): Do not require 'shell.
6860 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6862 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6864 * net/tramp-cache.el (top): Require 'tramp. Add to
6865 `tramp-unload-hook'.
6866 (tramp-cache-data, tramp-get-file-property)
6867 (tramp-set-file-property, tramp-flush-file-property)
6868 (tramp-flush-directory-property, tramp-get-connection-property)
6869 (tramp-set-connection-property, tramp-flush-connection-property)
6870 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6872 (with-file-property, with-connection-property): New defuns, moved
6874 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6877 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6878 (tramp-version): Set tramp-autoload cookie.
6880 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6881 changes to tramp-unload-hook for other tramp-* packages. Add to
6882 `tramp-unload-hook'.
6883 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6884 (tramp-compat-call-process): New defuns, moved from tramp.el.
6886 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6887 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6888 Add to `tramp-unload-hook'. Change call of
6889 `tramp-compat-decimal-to-octal' to new function name.
6890 (tramp-fish-method): Make it a defconst.
6891 (tramp-fish-file-name-p): Make it a defsubst.
6892 (tramp-fish-method, tramp-fish-file-name-handler)
6893 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6895 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6896 `tramp-foreign-file-name-handler-alist'. Add to
6897 `tramp-unload-hook'.
6898 (tramp-ftp-method): Make it a defconst.
6899 (tramp-ftp-file-name-p): Make it a defsubst.
6900 (tramp-ftp-method, tramp-ftp-file-name-handler)
6901 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6903 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6904 `tramp-foreign-file-name-handler-alist'. Add to
6905 `tramp-unload-hook'. Change checks, whether package can be
6907 (tramp-gvfs-file-name-p): Make it a defsubst.
6908 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6909 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6910 (tramp-gvfs-handle-file-directory-p): New defun.
6911 (tramp-gvfs-file-name-handler-alist): Use it.
6913 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6914 `tramp-foreign-file-name-handler-alist'. Add to
6915 `tramp-unload-hook'.
6916 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6917 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6919 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6920 (tramp-gw-open-connection): Set tramp-autoload cookie.
6922 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6923 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6924 Add to `tramp-unload-hook'. Change checks, whether package can be
6926 (tramp-imap-file-name-p): Make it a defsubst.
6927 (tramp-imap-method, tramp-imaps-method)
6928 (tramp-imap-file-name-handler)
6929 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6931 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6932 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6933 Add to `tramp-unload-hook'. Change checks, whether package can be
6934 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6936 (tramp-smb-tunnel-method): Make it a defconst.
6937 (tramp-smb-file-name-p): Make it a defsubst.
6938 (tramp-smb-method, tramp-smb-file-name-handler)
6939 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6941 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6942 (tramp-uuencode-region): Set tramp-autoload cookie.
6944 * net/trampver.el (top) Add to `tramp-unload-hook'.
6945 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6946 cookie. Update release number.
6948 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6950 * textmodes/ispell.el (ispell-start-process): Make sure original
6951 arg list is properly initialized (Bug#6993, Bug#6994).
6953 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6955 * files.el (directory-abbrev-alist): Use \` as default regexp.
6957 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6958 chars like - or ] (bug#6984).
6959 (rx-any-condense-range): Explode 2-char ranges.
6961 2010-09-06 Glenn Morris <rgm@gnu.org>
6963 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6965 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6967 * textmodes/bibtex.el:
6968 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6970 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6972 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6973 since no callers use it.
6974 (imap-message-get): Ditto.
6975 (imap-message-put): Ditto.
6976 (imap-mailbox-map): Ditto.
6977 (imap-mailbox-put): Ditto.
6978 (imap-mailbox-get): Ditto.
6979 (imap-mailbox-get): Revert last change for this function.
6981 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6983 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6984 callers to use `imap-fetch' instead. According to the comments, this
6985 should be safe, since all other IMAP clients use the 1:* syntax.
6986 (imap-enable-exchange-bug-workaround): Remove.
6987 (imap-debug): Remove -- doesn't seem very useful.
6989 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6991 * net/imap.el (imap-log): New convenience function used throughout
6992 instead of repeating the same code all over the place.
6994 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6996 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6997 when mouse-drag-copy-region is non-nil (Bug#6956).
6999 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7001 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7002 Improve regexps (Bug#6987).
7003 (dired-sort-toggle): Search more robustly for -t flag.
7005 * files.el (get-free-disk-space): Search more robustly for
7006 "available" column. Suggested by Ehud Karni
7007 <ehud@unix.mvs.co.il>.
7009 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7011 * international/uni-bidi.el:
7012 * international/uni-category.el:
7013 * international/uni-combining.el:
7014 * international/uni-decimal.el:
7015 * international/uni-mirrored.el:
7016 * international/uni-name.el: Regenerate.
7018 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7020 * electric.el (electric-indent-post-self-insert-function):
7021 Don't reindent with a sloppy indentation function.
7023 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7024 border case in change-log-mode.
7026 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7028 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7029 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7030 Recognize leading tab in gcc-include regexp. Ignore names with
7031 leading "from" or "in" in gnu regexp (Bug#6937).
7033 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7035 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7036 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7037 (ispell-start-process): Avoid setq and simplify logic.
7038 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7039 (kill-buffer-hook): Don't use it globally with code that uses
7040 expand-file-name since that may call kill-buffer via
7041 code_conversion_restore.
7043 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7045 * emacs-lisp/package.el (package-directory-list): Only call
7046 file-name-nondirectory on a string.
7048 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7050 * emacs-lisp/package.el (package--download-one-archive):
7051 Ensure that archive-contents is valid before saving it.
7052 (package-activate-1, package-mark-obsolete, define-package)
7053 (package-compute-transaction, package-list-maybe-add): Use push.
7055 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7057 Use SMIE's blink-paren for octave-mode.
7058 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7059 Backslashes do not escape single-quotes, single-quotes do.
7060 (octave-block-else-regexp, octave-block-end-regexp)
7061 (octave-block-match-alist): Remove.
7062 (octave-smie-bnf-table): New var, with old content.
7063 (octave-smie-op-levels): Use it.
7064 (octave-smie-closer-alist): New var.
7065 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7066 (octave-blink-matching-block-open): Remove.
7067 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7068 (octave-electric-space): Let self-insert-command run expand-abbrev and
7071 * electric.el (electricity): New group.
7072 (electric-indent-chars): New var.
7073 (electric-indent-post-self-insert-function): New fun.
7074 (electric-indent-mode): New minor mode.
7075 (electric-pair-skip-self): New custom.
7076 (electric-pair-post-self-insert-function): New function.
7077 (electric-pair-mode): New minor mode.
7079 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7080 calcAlg-blink-matching-open.
7081 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7082 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7083 Use the new blink-matching-check-function.
7085 Provide blink-matching support to SMIE.
7086 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7087 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7088 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7090 * simple.el (newline): Fix last change to properly remove itself from
7093 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7095 * simple.el (newline): Eliminate optimization.
7096 Use post-self-insert-hook to set hard-newline and things before
7097 running post-self-insert-hook.
7098 (blink-matching-check-mismatch): New function.
7099 (blink-matching-check-function): New variable.
7100 (blink-matching-open): Use them.
7101 Skip back forward over prefix chars skipped by forward-sexp.
7102 Don't check if the parens are backslash escaped.
7103 (blink-paren-post-self-insert-function): Check backslash escaping here.
7105 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7107 * emacs-lisp/package.el (package-menu-mode-map):
7108 Change package-menu-revert bindings to revert-buffer.
7109 (package-menu-mode): Set revert-buffer-function.
7110 (package-menu-revert): Doc fix.
7112 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7114 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7115 `default-directory' unless using Ispell per-directory personal
7116 dictionaries and not in a mini-buffer under XEmacs.
7117 (kill-buffer-hook): Do not kill ispell process on exit when
7118 `ispell-process-directory' is "~/". (Bug#6143)
7120 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7122 * simple.el (kill-new): Call interprogram-cut-function with only
7125 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7126 Remove cut buffer from error message.
7128 * term/x-win.el (x-select-text):
7129 * term/pc-win.el (x-selection-value):
7130 * term/ns-win.el (x-selection-value):
7131 * eshell/em-term.el:
7132 * w32-fns.el (x-get-selection-value):
7133 * mouse-sel.el (mouse-sel-set-selection-function):
7134 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7136 * term/x-win.el: Update documentation for x-last-selected-text-*.
7137 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7138 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7139 (x-select-text): Remove argument PUSH, update documentation.
7140 Remove cut-buffer code.
7141 (x-selection-value-internal): Was previously x-selection-value.
7142 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7143 Update documentation, remove cut-buffer code.
7144 Call x-selection-value-internal.
7145 (x-clipboard-yank): Call x-selection-value-internal.
7146 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7148 * term/pc-win.el (x-last-selected-text):
7149 x-cut-buffer-or-selection-value renamed to x-selection-value
7150 (x-select-text): Remove argument PUSH, update documentation.
7152 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7153 x-cut-buffer-or-selection-value renamed to x-selection-value
7154 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7155 (x-select-text): Remove argument PUSH, update documentation.
7157 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7159 * w32-fns.el (x-last-selected-text):
7160 x-cut-buffer-or-selection-value renamed to x-selection-value.
7161 (x-cut-buffer-max): Remove.
7162 (x-select-text): Remove argument PUSH, update documentation.
7164 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7166 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7168 * mouse-sel.el (mouse-sel-get-selection-function):
7169 x-cut-buffer-or-selection-value renamed to x-selection-value.
7170 (x-select-text): Remove optional push.
7172 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7174 * simple.el (blink-paren-function): Move from C to here.
7175 (blink-paren-post-self-insert-function): New function.
7176 (post-self-insert-hook): Use it.
7178 * emacs-lisp/pcase.el (pcase-split-memq):
7179 Fix overenthusiastic optimisation.
7180 (pcase-u1): Handle the case of a lambda pred.
7182 2010-08-31 Kenichi Handa <handa@m17n.org>
7184 * international/mule-cmds.el (standard-display-european-internal):
7185 Setup standard-display-table for 8-bit characters by storing 8-bit
7186 characters in the element vector.
7188 * disp-table.el (standard-display-8bit):
7189 Setup standard-display-table for 8-bit characters by storing 8-bit
7190 characters in the element vector.
7191 (standard-display-european): Likewise.
7193 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7195 * textmodes/nroff-mode.el (nroff-view): New command.
7196 (nroff-mode-map): Bind it to C-c C-c.
7198 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7200 * emacs-lisp/smie.el (smie-down-list): New command.
7202 Remove old indentation and navigation code on octave-mode.
7203 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7204 smie-down-list rather than add a binding for octave-down-block.
7205 (octave-mark-block, octave-blink-matching-block-open):
7206 Rely on forward-sexp-function.
7207 (octave-fill-paragraph): Don't narrow, so you can use
7208 indent-according-to-mode.
7209 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7210 (octave-in-block-p, octave-re-search-forward-kw)
7211 (octave-re-search-backward-kw, octave-indent-calculate)
7212 (octave-end-as-array-index-p, octave-block-end-offset)
7213 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7214 (octave-down-block, octave-backward-up-block, octave-up-block)
7215 (octave-before-magic-comment-p, octave-indent-line): Remove.
7217 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7219 * emacs-lisp/package.el (package--read-archive-file): Just use
7220 `read', to avoid copying an additional string.
7221 (package-menu-mode): Set header-line-format here.
7222 (package-menu-refresh, package-menu-revert): Signal an error if
7223 not in the Package Menu.
7224 (package-menu-package-list): New var.
7225 (package--generate-package-list): Operate on the current buffer;
7226 don't assume that it is *Packages*, since the user may rename it.
7227 Allow persistent package listings and sort keys using
7228 package-menu-package-list and package-menu-package-sort-key.
7229 (package-menu--version-predicate): Fix version calculation.
7230 (package-menu-sort-by-column): Don't select the window.
7231 (package--list-packages): Create the *Packages* buffer.
7232 Set package-menu-package-list-key.
7233 (list-packages): Sorting by status is now the default.
7234 (package-buffer-info): Use match-string-no-properties.
7235 (define-package): Add a &rest argument for future proofing, but
7237 (package-install-from-buffer, package-install-buffer-internal):
7238 Merge into a single function, package-install-from-buffer.
7239 (package-install-file): Change caller.
7241 * finder.el: Load finder-inf using `require'.
7242 (finder-list-matches): Sorting by status is now the default.
7243 (finder-compile-keywords): Simpify printing.
7245 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7247 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7248 (octave-mode-map): Remove special bindings for forward/backward-block
7249 and octave-backward-up-block. Use smie-close-block.
7250 (octave-continuation-marker-regexp): New var.
7251 (octave-continuation-regexp): Use it.
7252 (octave-operator-table, octave-smie-op-levels)
7253 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7254 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7255 (octave-mode): Use SMIE.
7256 (octave-close-block): Delete.
7258 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7260 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7261 CLIPBOARD, not in PRIMARY. (Bug#6944)
7263 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7265 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7267 (smie-indent-column): Allow indirection through variables.
7269 * composite.el (save-buffer-state): Delete, unused.
7270 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7271 (font-lock-default-fontify-region): Use with-syntax-table.
7272 * jit-lock.el (with-buffer-unmodified): Remove.
7273 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7275 Use `declare' in defmacros.
7276 * window.el (save-selected-window):
7277 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7278 * progmodes/python.el (def-python-skeleton):
7279 * net/dbus.el (dbus-ignore-errors):
7280 * jka-cmpr-hook.el (with-auto-compression-mode):
7281 * international/mule.el (with-category-table):
7282 * emacs-lisp/timer.el (with-timeout):
7283 * emacs-lisp/lisp-mnt.el (lm-with-file):
7284 * emacs-lisp/eieio.el (with-slots):
7285 * emacs-lisp/easymenu.el (easy-menu-define):
7286 * emacs-lisp/debug.el (debugger-env-macro):
7287 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7288 (Multiple-value-call, Multiple-value-prog1):
7289 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7290 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7291 edebug rule to definition.
7292 * emacs-lisp/lisp-mode.el (save-selected-window)
7293 (with-current-buffer, combine-after-change-calls)
7294 (with-output-to-string, with-temp-file, with-temp-buffer)
7295 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7296 (dolist, dotimes, when, unless):
7297 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7299 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7301 * finder.el: Require `package'.
7302 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7303 (finder-package-info): Var deleted.
7304 (finder-keywords-hash, finder--builtins-alist): New vars.
7305 (finder-compile-keywords): Compute package--builtins and
7306 finder-keywords-hash instead of finder-keywords-hash, respecting
7307 the "Package" header.
7308 (finder-unknown-keywords, finder-list-matches):
7309 Use finder-keywords-hash and package--list-packages.
7310 (finder-mode): Don't set font-lock-defaults.
7311 (finder-exit): We don't use "*Finder-package*" and "*Finder
7312 Category*" buffers anymore.
7314 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7315 (package--builtins): Set default value to nil.
7316 (package-initialize): Load precomputed value of package--builtins
7318 (package-alist, package-compute-transaction)
7319 (package-download-transaction): Improve docstring.
7320 (package-read-all-archive-contents): Do not change
7321 package--builtins here.
7322 (list-packages): Make package-list-packages an alias for this.
7323 Sort by status by default.
7324 (package--list-packages): Add optional PACKAGES arg.
7325 (describe-package-1): Use font-lock-face property. For built-in
7326 packages, insert file commentary.
7327 (package--generate-package-list): Rename from
7328 package-list-packages-internal; all callers changed. Add optional
7329 PACKAGES arg. Add alphabetical sort fallbacks.
7330 (package-menu--version-predicate, package-menu--status-predicate)
7331 (package-menu--description-predicate)
7332 (package-menu--name-predicate): New functions.
7334 * info.el (Info-finder-find-node): Search package-alist instead of
7335 finder-package-info.
7337 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7339 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7341 (version-to-list): Handle versions like "10.3d".
7343 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7345 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7346 (macroexp-accumulate): Use `declare'.
7348 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7350 * whitespace.el (whitespace-style): Adjust type declaration.
7352 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
7354 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7355 empty argument to gvfs-copy.
7357 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7359 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7360 handle new TRASH arg of `delete-file'.
7362 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7364 * net/tramp.el (tramp-handle-insert-directory): Don't use
7365 `forward-word', its default syntax could be changed.
7367 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7368 Michael Albinus <michael.albinus@gmx.de>
7370 Implement compression for inline methods.
7372 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7373 (tramp-copy-size-limit): Allow also nil.
7374 (tramp-inline-compress-commands): New defconst.
7375 (tramp-find-inline-compress, tramp-get-inline-compress)
7376 (tramp-get-inline-coding): New defuns.
7377 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7378 replaced by `tramp-get-inline-coding'.
7379 (tramp-handle-file-local-copy, tramp-handle-write-region)
7380 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7382 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
7384 Detect ssh 'ControlMaster' argument automatically in some cases.
7386 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7387 (tramp-default-method): Use it.
7389 2010-08-26 Karel Klíč <kklic@redhat.com>
7391 * net/tramp.el (tramp-file-name-for-operation):
7392 Add file-selinux-context.
7394 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7396 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7398 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7400 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7403 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7405 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7406 (js-paren-indent-offset, js-square-indent-offset)
7407 (js-curly-indent-offset): New options.
7408 (js--proper-indentation): Use them.
7410 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7412 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7413 instead of inspecting font-lock properties (Bug#6916).
7415 2010-08-26 David Reitter <david.reitter@gmail.com>
7417 * server.el (server-visit-files): Run pre-command-hook and
7418 post-command-hook for each buffer while it is current (Bug#6910).
7419 (server-execute): Do not run hooks here.
7421 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7423 Sync with Tramp 2.1.19.
7425 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7426 (tramp-reporter-dump-variable, tramp-load-report-modules)
7427 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
7428 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
7430 * net/tramp-compat.el (top): Do not autoload
7431 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7432 only when `start-file-process' is not bound.
7433 (byte-compile-not-obsolete-vars): Define if not bound.
7434 (tramp-compat-funcall): New defmacro.
7435 (tramp-compat-line-beginning-position)
7436 (tramp-compat-line-end-position)
7437 (tramp-compat-temporary-file-directory)
7438 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7439 (tramp-compat-copy-file, tramp-compat-copy-directory)
7440 (tramp-compat-delete-file, tramp-compat-delete-directory)
7441 (tramp-compat-number-sequence, tramp-compat-process-running-p):
7443 (tramp-advice-file-expand-wildcards): Do not use
7444 `tramp-handle-file-remote-p'.
7445 (tramp-compat-make-temp-file): Simplify fallback implementation.
7446 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7447 (tramp-compat-copy-tree): Remove function.
7448 (tramp-compat-delete-file): New defun.
7449 (tramp-compat-delete-directory): Provide implementation for older
7451 (tramp-compat-file-attributes): Handle only
7452 `wrong-number-of-arguments' error.
7454 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7455 Add PRESERVE_SELINUX_CONTEXT.
7456 (tramp-fish-handle-delete-file): Add TRASH arg.
7457 (tramp-fish-handle-directory-files-and-attributes):
7458 Do not use `tramp-fish-handle-file-attributes.
7459 (tramp-fish-handle-file-local-copy)
7460 (tramp-fish-handle-insert-file-contents)
7461 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
7463 * net/tramp-gvfs.el (top): Require url-util.
7464 (tramp-gvfs-mount-point): Remove.
7465 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
7466 and `set-file-selinux-context'.
7467 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
7468 (tramp-gvfs-handle-file-selinux-context)
7469 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7470 (with-tramp-dbus-call-method): Format trace message.
7471 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7472 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7473 Implement backup call, when operation on local files fails.
7474 Use progress reporter. Flush properties of changed files.
7475 (tramp-gvfs-handle-delete-file): Add TRASH arg.
7476 Use `tramp-compat-delete-file'.
7477 (tramp-gvfs-handle-expand-file-name): Expand "~/".
7478 (tramp-gvfs-handle-make-directory): Make more traces.
7479 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
7480 (tramp-gvfs-url-file-name): Hexify file name in url.
7481 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7482 into account for the resulting file name.
7483 (tramp-gvfs-handler-askquestion): Preserve current message, in
7484 order to let progress reporter continue afterwards. (Bug#6257)
7485 Return dummy mountpoint, when the answer is "no".
7486 See `tramp-gvfs-maybe-open-connection'.
7487 (tramp-gvfs-handler-mounted-unmounted)
7488 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7489 attribute "default_location". Set "prefix" property.
7490 Handle default-location.
7491 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7492 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7493 exists. Raise an error, if not (due to a corresponding answer
7494 "no" in interactive questions, for example).
7495 Use `tramp-compat-funcall'.
7497 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7498 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7499 (tramp-imap-do-copy-or-rename-file)
7500 (tramp-imap-handle-insert-file-contents)
7501 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7502 (tramp-imap-handle-delete-file): Add TRASH arg.
7504 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7505 Add PRESERVE-SELINUX-CONTEXT.
7506 (tramp-smb-handle-copy-file)
7507 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7508 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7509 Use `with-progress-reporter'.
7510 (tramp-smb-handle-delete-file): Add TRASH arg.
7512 * net/tramp.el (tramp-methods): Move hostname to the end in all
7513 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
7515 (tramp-verbose): Describe verbose level 9.
7516 (tramp-completion-function-alist)
7517 (tramp-file-name-regexp, tramp-chunksize)
7518 (tramp-local-coding-commands, tramp-remote-coding-commands)
7519 (with-connection-property, tramp-completion-mode-p)
7520 (tramp-action-process-alive, tramp-action-out-of-band)
7521 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7522 (tramp-exists-file-name-handler): Fix docstring.
7523 (tramp-remote-process-environment): Use `format' instead of
7524 `concat'. Protect version string by apostroph.
7525 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7527 (tramp-file-name-regexp-unified)
7528 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7529 not regard the volume letter as remote filename. (Bug#5447)
7530 (tramp-perl-file-attributes)
7531 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7532 (tramp-vc-registered-read-file-names): Read input as
7533 here-document, otherwise the command could exceed maximum length
7535 (tramp-file-name-handler-alist): Add `file-selinux-context' and
7536 `set-file-selinux-context'.
7537 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
7538 backtrace functions.
7539 (tramp-error-with-buffer): Don't show the connection buffer when
7540 we are in completion mode.
7541 (tramp-progress-reporter-update, tramp-remote-selinux-p)
7542 (tramp-handle-file-selinux-context)
7543 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
7544 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
7546 (with-progress-reporter): New defmacro.
7547 (tramp-debug-outline-regexp): New defconst.
7548 (top, tramp-rfn-eshadow-setup-minibuffer)
7549 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7550 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7551 (tramp-completion-mode-p, tramp-check-for-regexp)
7552 (tramp-open-connection-setup-interactive-shell)
7553 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7554 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7555 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
7556 Use `tramp-compat-funcall'.
7557 (tramp-handle-make-symbolic-link): Flush file properties.
7558 (tramp-handle-load, tramp-handle-file-local-copy)
7559 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7560 (tramp-handle-vc-registered, tramp-maybe-send-script)
7561 (tramp-find-shell): Use `with-progress-reporter'.
7562 (tramp-do-file-attributes-with-stat): Add space in format string,
7563 in order to work around a bug in pdksh. Reported by Gilles Pion
7565 (tramp-handle-verify-visited-file-modtime): Do not send a command
7566 when the connection is not established.
7567 (tramp-handle-set-file-times): Simplify the check for utc.
7568 (tramp-handle-directory-files-and-attributes)
7569 (tramp-get-remote-path): Use `copy-tree'.
7570 (tramp-completion-handle-file-name-all-completions): Ensure, that
7571 non remote files are still checked. Oops.
7572 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7573 Handle PRESERVE-SELINUX-CONTEXT.
7574 (tramp-do-copy-or-rename-file): Add progress reporter.
7575 (tramp-do-copy-or-rename-file-directly): Do not use
7576 `tramp-handle-file-remote-p'.
7577 (tramp-do-copy-or-rename-file-out-of-band):
7578 Use `tramp-compat-delete-directory'.
7579 (tramp-do-copy-or-rename-file-out-of-band)
7580 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7581 Use `format-spec-make'.
7582 (tramp-handle-delete-file): Add TRASH arg.
7583 (tramp-handle-dired-uncache): Flush directory cache, not only file
7585 (tramp-handle-expand-file-name)
7586 (tramp-completion-handle-file-name-all-completions)
7587 (tramp-completion-handle-file-name-completion):
7588 Use `tramp-connectable-p'.
7589 (tramp-handle-start-file-process): Set connection property "vec".
7590 Use it, in order to invalidate file caches. Check only for
7591 `remote-tty' process property.
7592 Implement tty setting. (Bug#4604, Bug#6360)
7593 (tramp-file-name-for-operation): Add `call-process-region' and
7594 `set-file-selinux-context'.
7595 (tramp-find-foreign-file-name-handler)
7596 (tramp-advice-make-auto-save-file-name)
7597 (tramp-set-auto-save-file-modes): Remove superfluous check for
7598 `stringp'. This is done inside `tramp-tramp-file-p'.
7599 (tramp-file-name-handler): Trace 'quit. Catch the error for some
7600 operations when we are in completion mode. This gives the user
7601 the chance to correct the file name in the minibuffer.
7602 (tramp-completion-mode-p): Use `non-essential'.
7603 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7604 compatibility: Use `completion-ignore-case' if
7605 `read-file-name-completion-ignore-case' does not exist.
7606 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
7607 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7609 (tramp-action-password): Hide password prompt before next run.
7610 (tramp-process-actions): Widen connection buffer for the trace.
7611 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7612 process property. Trace stty settings if `tramp-verbose' >= 9.
7613 Apply workaround for IRIX64 bug. Move argument of last
7614 `tramp-send-command' where it belongs to.
7615 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7616 front of `login-args'.
7617 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7618 on "/dev/null" instead of "/".
7619 (tramp-get-ls-command-with-dired): Make test for "--dired"
7621 (tramp-set-auto-save-file-modes): Adapt version check.
7622 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7623 (tramp-handle-process-file): Call the program in a subshell, in
7624 order to preserve working directory.
7625 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7626 `tramp-remote-sh' from `tramp-methods'.
7627 (tramp-get-ls-command): Make test for "--color=never" stronger.
7628 (tramp-check-for-regexp): Use (forward-line 1).
7630 * net/trampver.el: Update release number.
7632 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7634 * help.el (help-map): Bind `C-h P' to describe-package.
7636 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7638 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7639 when downloading archives.
7640 (describe-package-1): Add package commentary.
7641 (package-install-button-action): New function.
7642 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7643 (package-menu-view-commentary): Function removed.
7644 (package-list-packages-internal): Hide the `package' package too.
7646 2010-08-25 Kenichi Handa <handa@m17n.org>
7648 * language/misc-lang.el ("Arabic"): New language environment.
7649 Setup composition-function-table for Arabic characters.
7651 * international/fontset.el (setup-default-fontset): Fix typo for
7652 arabic OTF spec (fini->fina).
7654 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7656 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7659 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7661 * whitespace.el: Allow cleaning up blanks without blank
7662 visualization (Bug#6651). Adjust help window for
7663 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7664 instead of whitespace-line-column (from EmacsWiki). New version
7666 (whitespace-style): Add new value 'face. Adjust docstring.
7667 (whitespace-space, whitespace-hspace, whitespace-tab):
7668 Adjust foreground property face.
7669 (whitespace-line-column): Adjust docstring and type declaration.
7670 (whitespace-style-value-list, whitespace-toggle-option-alist)
7671 (whitespace-help-text): Adjust const initialization.
7672 (whitespace-toggle-options, global-whitespace-toggle-options):
7674 (whitespace-display-window, whitespace-interactive-char)
7675 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7676 (whitespace-help-scroll): New fun.
7678 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7680 * emacs-lisp/package.el (list-packages): Alias for
7681 package-list-packages.
7683 2010-08-24 Kevin Ryde <user42@zip.com.au>
7685 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7688 * progmodes/ruby-mode.el (ruby): Add defgroup.
7690 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7692 * progmodes/python.el: Add Ipython support (Bug#5390).
7693 (python-shell-prompt-alist)
7694 (python-shell-continuation-prompt-alist): New options.
7695 (python--set-prompt-regexp): New function.
7696 (inferior-python-mode, run-python, python-shell):
7697 Require ansi-color. Use python--set-prompt-regexp to set the comint
7698 prompt based on the Python interpreter.
7699 (python--prompt-regexp): New var.
7700 (python-check-comint-prompt)
7701 (python-comint-output-filter-function): Use it.
7702 (run-python): Use a pipe (Bug#5694).
7704 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7706 * progmodes/python.el (python-send-region): Send a different
7707 Python command if Ipython is in use.
7708 (python-check-version): Use a Python command to find the version.
7710 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7712 * mouse.el (mouse-yank-primary): Avoid setting primary when
7713 deactivating the mark (Bug#6872).
7715 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7717 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7718 with "else" (Bug#3991).
7720 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7722 * net/dbus.el: Accept UNIX domain sockets as bus address.
7723 (top): Don't initialize `dbus-registered-objects-table' anymore,
7724 this is done in dbusbind,c.
7725 (dbus-check-event): Adapt test for bus.
7726 (dbus-return-values-table, dbus-unregister-service)
7727 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7730 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7732 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7734 2010-08-22 Juri Linkov <juri@jurta.org>
7736 * simple.el (read-extended-command): New function with the logic
7737 for `completing-read' moved to Elisp from `execute-extended-command'.
7738 Use `function-called-at-point' in `minibuffer-default-add-function'
7739 to get a command name for M-n (bug#5364, bug#5214).
7741 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7743 * startup.el (command-line-1): Issue warning for ignored arguments
7744 --unibyte, etc (Bug#6886).
7746 2010-08-22 Leo <sdl.web@gmail.com>
7748 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7749 (ignore, bright, dim, keyword): Split list of nicknames before
7750 passing to rcirc-add-or-remove (Bug#6894).
7752 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7754 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7756 2010-08-22 Leo <sdl.web@gmail.com>
7758 Fix buffer-list rename&refresh after killing a buffer in ido.
7759 * ido.el: Revert Óscar's.
7760 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7761 Remember the buffers at head, rather than their name.
7762 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7764 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7765 Stefan Monnier <monnier@iro.umontreal.ca>
7767 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7768 extra backslash added to each line (bug#6890).
7770 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7772 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7774 2010-08-22 Glenn Morris <rgm@gnu.org>
7776 * menu-bar.el (menu-bar-games-menu): Add landmark.
7778 2010-08-22 Glenn Morris <rgm@gnu.org>
7780 * align.el (align-regexp): Make group and spacing arguments
7781 use the interactive defaults when non-interactive. (Bug#6698)
7783 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7784 expansion, so as not to need sendmail.
7785 (mail-text-start): Remove declaration.
7786 (rmail-retry-failure): Require sendmail.
7788 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7790 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7792 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7794 * progmodes/flymake.el (flymake-start-syntax-check-process):
7795 Use `start-file-process' in order to let it run also on remote hosts.
7797 2010-08-22 Kenichi Handa <handa@m17n.org>
7799 * files.el: Add `word-wrap' as safe local variable.
7801 2010-08-22 Glenn Morris <rgm@gnu.org>
7803 * woman.el (woman-translate): Case matters. (Bug#6849)
7805 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7807 * simple.el (kill-region): Doc fix (Bug#6787).
7809 2010-08-22 Glenn Morris <rgm@gnu.org>
7811 * calendar/diary-lib.el (diary-header-line-format):
7812 Fit it to the window, not the frame.
7814 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7816 * subr.el (ignore-errors): Add debug declaration.
7818 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7820 * whitespace.el (whitespace-color-off): Remove post-command-hook
7823 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7825 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7827 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7829 * cus-edit.el (custom-group-value-create): Add extra newline
7830 before end line (Bug#6876).
7832 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7834 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7835 when extending it. Before killing on the second click, check if
7836 the buffer is the correct one. Doc fix.
7837 (mouse-secondary-save-then-kill): Allow usage without first
7838 calling mouse-start-secondary, by defaulting to point. Don't save
7839 an empty secondary selection. Doc fix.
7841 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7843 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7844 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7846 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7847 Adjust initialization.
7848 (whitespace-bob-marker, whitespace-eob-marker)
7849 (whitespace-buffer-changed): New vars.
7850 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7851 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7852 (whitespace-post-command-hook, whitespace-display-char-on):
7854 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7855 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7857 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7859 * files.el (locate-file-completion-table): Only list the .el and .elc
7860 extensions if there's no other choice (bug#5955).
7862 * facemenu.el (facemenu-self-insert-data): New var.
7863 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7865 (facemenu-add-face): Use them.
7867 * simple.el (blink-matching-open): Obey forward-sexp-function.
7869 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7871 * simple.el (prog-mode-map): New var.
7872 (prog-indent-sexp): New command.
7874 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7876 * progmodes/prolog.el (smie): Require.
7878 * emacs-lisp/smie.el (smie-default-backward-token)
7879 (smie-default-forward-token): Strip properties.
7880 (smie-next-sexp): Be more careful with associative operators.
7881 (smie-forward-sexp-command): Generalize.
7882 (smie-backward-sexp-command): Simplify.
7883 (smie-closer-alist): New var.
7884 (smie-close-block): New command.
7885 (smie-indent-debug-log): New var.
7886 (smie-indent-offset-rule): Add a few more cases.
7887 (smie-indent-column): New function.
7888 (smie-indent-after-keyword): Use it.
7889 (smie-indent-keyword): Use it.
7890 Fix up the opener code's point position.
7891 (smie-indent-comment): Only applies at BOL.
7892 (smie-indent-debug): New command.
7894 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7895 declarations that are useful before running the macro.
7897 2010-08-18 Joakim Verona <joakim@verona.se>
7899 * image.el (imagemagick-types-inhibit): New variable.
7900 (imagemagick-register-types): New function.
7901 * image-mode.el (image-transform-properties): New function.
7902 (image-transform-set-scale, image-transform-fit-to-height)
7903 (image-transform-set-rotation, image-transform-set-resize)
7904 (image-transform-fit-to-width, image-transform-fit-to-height):
7906 (image-toggle-display-image): Support image transforms.
7908 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7910 * image.el (create-animated-image): Don't add heuristic mask to image
7913 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7915 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7916 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7918 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7920 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7922 Font-lock '...' strings, plus various simplifications and fixes.
7923 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7924 (octave-font-lock-close-quotes): New function.
7925 (octave-font-lock-syntactic-keywords): New var.
7926 (octave-mode): Use it. Set beginning-of-defun-function.
7927 (octave-mode-map): Don't override the <foo>-defun commands.
7928 (octave-mode-menu): Pass it directly to easy-menu-define;
7929 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7930 (octave-block-match-alist): Fix up last change so that
7931 octave-close-block uses the more specific keyword.
7932 (info-lookup-mode): Silence byte-compiler.
7933 (octave-beginning-of-defun): Not interactive any more.
7935 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7936 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7937 (octave-completion-at-point-function): Make sure point is within
7939 (octave-reindent-then-newline-and-indent):
7940 Use reindent-then-newline-and-indent.
7941 (octave-add-octave-menu): Remove.
7943 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7945 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7946 (report-emacs-bug-can-use-xdg-email): New functions.
7947 (report-emacs-bug): Set can-xdg-email to result of
7948 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7949 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7952 * net/browse-url.el (browse-url-default-browser): Add cond
7953 for browse-url-xdg-open.
7954 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7956 2010-08-17 Glenn Morris <rgm@gnu.org>
7958 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7959 (c-fontify-recorded-types-and-refs): Define for compiler.
7960 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7963 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7966 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7968 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7970 (tramp-handle-process-file): Call the program in a subshell, in
7971 order to preserve working directory.
7972 (tramp-action-password): Hide password prompt before next run.
7973 (tramp-process-actions): Widen connection buffer for the trace.
7975 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7977 * net/rcirc.el (rcirc-log-process-buffers): New option.
7978 (rcirc-print): Use it.
7979 (rcirc-generate-log-filename): New function.
7980 (rcirc-log-filename-function): Change default to
7981 rcirc-generate-log-filename (Bug#6828).
7983 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7985 * simple.el (deactivate-mark): If select-active-regions is `only',
7986 only set selection for temporarily active regions.
7988 * cus-start.el: Change defcustom for select-active-regions.
7990 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7992 * mouse.el (mouse--drag-set-mark-and-point): New function.
7993 (mouse-drag-track): Use LOCATION arg to push-mark.
7994 Use mouse--drag-set-mark-and-point to take click-count into
7995 consideration when updating point and mark (Bug#6840).
7997 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7999 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8000 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8002 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8004 * font-lock.el (lisp-font-lock-keywords-2):
8005 Add combine-after-change-calls, condition-case-no-debug,
8006 with-demoted-errors, and with-silent-modifications (Bug#6025).
8008 2010-08-14 Kevin Ryde <user42@zip.com.au>
8010 * emacs-lisp/copyright.el (copyright-update-year)
8011 (copyright-update): Temporary switch-to-buffer to ensure the
8012 buffer change being queried is visible (Bug#5394).
8014 2010-08-14 Tom Tromey <tromey@redhat.com>
8016 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8019 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8021 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8024 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8026 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8027 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8028 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8029 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8030 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8031 Call menu-bar-set-tool-bar-position.
8033 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8035 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8036 comment style (bug#6834).
8037 * progmodes/scheme.el (scheme-mode-syntax-table):
8038 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8039 "b" flag in "' 14b" syntax.
8041 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8042 for (un)commenting the region and performing completion.
8043 (octave-mode-menu): Use standard commands for help and completion.
8044 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8045 (octave-mode): Use define-derived-mode.
8046 Set completion-at-point-functions and don't set columns.
8047 Don't disable adaptive-fill-regexp.
8048 (octave-describe-major-mode, octave-comment-region)
8049 (octave-uncomment-region, octave-comment-indent)
8050 (octave-indent-for-comment): Remove.
8051 (octave-indent-calculate): Rename from calculate-octave-indent.
8052 (octave-indent-line, octave-fill-paragraph): Update caller.
8053 (octave-initialize-completions): No need to make an alist.
8054 (octave-completion-at-point-function): New function.
8055 (octave-complete-symbol): Use it.
8056 (octave-insert-defun): Use define-skeleton.
8058 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8059 (octave-mode-map): Use comment-dwim (bug#6829).
8061 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
8063 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8064 indentation of inserted comment.
8066 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8068 * faces.el (region): Add type gtk that uses gtk colors.
8070 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8071 Handle theme-name change.
8073 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8075 * progmodes/sql.el: Version 2.5
8076 (sql-product-alist): Add :prompt-cont-regexp property for several
8078 (sql-prompt-cont-regexp): New variable.
8079 (sql-output-newline-count, sql-output-by-send):
8080 New variables. Record number of newlines in input text.
8081 (sql-send-string): Handle multiple filters and count newlines.
8082 (sql-send-magic-terminator): Count terminator newline.
8083 (sql-interactive-remove-continuation-prompt): Filters output to
8084 remove continuation prompts; one for each newline.
8085 (sql-interactive-mode): Set up new variables, prompt regexp and
8087 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8088 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8090 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8092 * emacs-lisp/pcase.el: New file.
8094 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8096 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8097 as here-document, otherwise the command could exceed maximum
8098 length of command line.
8099 (tramp-handle-vc-registered): Call script accordingly.
8100 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8102 2010-08-10 Kenichi Handa <handa@m17n.org>
8104 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8107 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8109 * emacs-lisp/package.el (package-version-split)
8110 (package--version-first-nonzero, package-version-compare):
8112 (package-directory-list, package-load-all-descriptors)
8113 (package--built-in, package-activate, define-package)
8114 (package-installed-p, package-compute-transaction)
8115 (package-read-all-archive-contents)
8116 (package--add-to-archive-contents, package-buffer-info)
8117 (package-tar-file-info, package-list-packages-internal):
8118 Use version-to-list and version-list-*.
8120 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8121 Use version-to-list.
8122 (package-upload-buffer-internal): Use version-list-<=.
8124 2010-08-09 Kenichi Handa <handa@m17n.org>
8126 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8129 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8131 * tutorial.el (tutorial--default-keys): C-d is now bound to
8132 delete-forward-char (Bug#6826).
8134 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8135 for `double' value of mouse-1-click-follows-link (Bug#6807).
8137 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8139 * replace.el (replace-highlight): Bind isearch-forward and
8140 isearch-error, ensuring that highlighting is updated if the user
8141 switches the search direction (Bug#6808).
8143 * isearch.el (isearch-lazy-highlight-forward): New var.
8144 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8145 (isearch-lazy-highlight-update): Use it.
8147 2010-08-08 Kenichi Handa <handa@m17n.org>
8149 * international/mule.el (define-charset): Store NAME as :base property.
8150 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8151 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8152 current priority. Force using the designation of the specific
8153 charset by adding `charset' text property. Improve the whole algorithm.
8155 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8157 * emulation/pc-select.el (pc-selection-mode-hook)
8158 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8159 (pc-selection-mode): Fix typos in docstrings.
8161 2010-08-08 Kenichi Handa <handa@m17n.org>
8163 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8164 ctext-non-standard-encodings-alist here.
8166 * international/mule.el (ctext-non-standard-encodings-alist):
8167 Add "koi8-r" and "microsoft-cp1251".
8168 (ctext-standard-encodings): New variable.
8169 (ctext-non-standard-encodings-table): List only elements for
8170 non-standard encodings.
8171 (ctext-pre-write-conversion): Adjust for the above change.
8172 Check ctext-standard-encodings.
8174 * international/mule-conf.el (compound-text): Doc fix.
8175 (ctext-no-compositions): Doc fix.
8176 (compound-text-with-extensions): Doc fix.
8178 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8180 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8182 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8184 * progmodes/which-func.el (which-func-format): Split help-echo text
8185 into lines, like other mode-line tooltips.
8187 * server.el (server-start): When using TCP sockets, force IPv4
8188 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8190 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8192 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8194 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8196 * term.el (term-delimiter-argument-list): Reflow docstring.
8197 (term-read-input-ring, term-write-input-ring, term-send-input)
8198 (term-bol, term-erase-in-display, serial-supported-or-barf):
8199 Fix typos in docstrings.
8201 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8203 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8205 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8207 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8209 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8211 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8212 Fix typo in docstring (bug#6747).
8214 2010-08-08 Leo <sdl.web@gmail.com>
8216 * eshell/esh-io.el (eshell-get-target): Better detection of
8217 read-only file (Bug#6762).
8219 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8221 * align.el (align-default-spacing): Doc fix.
8222 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8224 2010-08-08 Stephen Peters <speters@itasoftware.com>
8226 * calendar/icalendar.el
8227 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8228 (icalendar--get-weekday-numbers): New.
8229 (icalendar--convert-recurring-to-diary): Handle multiple byday
8230 values in weekly rules. (Bug#6766)
8232 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8234 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8235 (icalendar--create-uid, icalendar-export-region)
8236 (icalendar--parse-summary-and-rest): Code formatting.
8238 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8240 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
8241 to italicize headers.
8242 (calc-highlight-selections-with-faces): New variable.
8243 (calc-selected-face, calc-nonselected-face): New faces.
8245 * calc/calccomp.el (math-comp-highlight-string): Use
8246 `calc-highlight-selections-with-faces' to determine how to highlight
8249 * calc/calc-sel.el (calc-show-selections): Change message to when
8250 using faces to highlight selections.
8252 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8254 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8255 Add SQLite 3 keywords, functions and datatypes.
8256 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8259 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8261 * simple.el (select-active-regions): Move to keyboard.c.
8262 (deactivate-mark): Used saved-region-selection.
8263 (select-active-region): Function removed.
8264 (activate-mark, set-mark, push-mark-command)
8265 (handle-shift-selection): Don't call it.
8266 (keyboard-quit): Avoid adding the region to the window selection.
8268 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8269 select-active-regions implementation.
8270 (mouse-yank-at-click): Doc fix.
8272 * cus-start.el: Add custom declaration for select-active-regions.
8274 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8276 * simple.el (delete-forward-char): Doc fix.
8278 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8279 after reading the tutorial.
8281 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8283 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8284 Fix for the case that a C style comment has its delimiters alone on
8285 their respective lines.
8287 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8289 * net/tramp.el (tramp-handle-start-file-process): Set connection
8291 (tramp-process-sentinel): Use it for flushing the cache.
8292 We cannot do it via the process buffer, the buffer could be deleted
8293 already when running the sentinel.
8295 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8297 * comint.el (comint-mode): Make directory tracking functions
8298 functional on remote files. (Bug#6764)
8300 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8302 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8304 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8306 * emacs-lisp/find-gc.el (find-gc-source-files):
8307 Rename unexec.c => unexcoff.c.
8309 * emacs-lisp/authors.el (authors-fixed-entries):
8310 Rename unexec.c => unexcoff.c.
8312 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8314 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8315 cache, not only file cache.
8316 (tramp-process-sentinel): New defun.
8317 (tramp-handle-start-file-process): Use it, in order to invalidate
8320 2010-08-03 Leo <sdl.web@gmail.com>
8322 * server.el (server-start): Simplify loop.
8324 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8326 * frame.el (screen-height, screen-width, set-screen-width)
8327 (set-screen-height): Remove ancient compatibility aliases.
8329 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8330 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8332 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8333 that change current buffer.
8335 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8337 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8338 beginning of the string. Use `string-match-p'. (Bug#6765)
8340 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8342 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8344 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8346 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8347 (package--builtins): Tweak descriptions.
8348 (package-print-package): Upcase descriptions if necessary.
8349 Show all built-in packages in font-lock-builtin-face.
8350 (package-list-packages-internal): Omit "emacs" package.
8351 Show status of built-in packages as "built-in".
8353 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8355 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8356 before killing to preserve the primary selection (Bug#6701).
8358 * term/x-win.el (x-select-text): Doc fix.
8360 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8362 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8363 (objc-font-lock-extra-types):
8364 * progmodes/cc-mode.el (c-basic-common-init):
8365 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8366 (c++-make-template-syntax-table)
8367 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8368 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8369 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8370 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8371 * progmodes/cc-fonts.el (c-make-inverse-face)
8372 (c-basic-matchers-after):
8373 * progmodes/cc-engine.el (c-forward-keyword-clause)
8374 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8375 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8376 (c-guess-continued-construct, c-guess-basic-syntax):
8377 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8378 The above functions were modified or created.
8380 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8382 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8384 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8386 * files.el (bidi-paragraph-direction): Define safe local values.
8388 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8389 language-info-alist. Remove outdated FIXME in a comment.
8391 2010-07-31 Alan Mackenzie <acm@muc.de>
8393 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8394 Auto-fill broken in C/C++ modes.
8396 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8398 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8399 (menu-bar-showhide-tool-bar-menu-customize-disable)
8400 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8401 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8402 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8403 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8404 make a menu for Options => toolbar that can move it.
8406 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8408 * emacs-lisp/package-x.el (package--make-rss-entry):
8409 (package-maint-add-news-item, package--update-news)
8410 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8412 * emacs-lisp/package.el (package-archive-url): Rename from
8414 (package-install): Doc fix.
8415 (package-download-single, package-download-tar, package-install)
8416 (package-menu-view-commentary): Callers changed.
8418 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8420 * net/tramp.el (tramp-handle-start-file-process): Check only for
8421 `remote-tty' process property.
8422 (tramp-open-shell): Don't check for tty.
8423 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8426 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8429 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8431 * emacs-lisp/package.el (package-load-list, package-archives)
8432 (package-archive-contents, package-user-dir)
8433 (package-directory-list, package--builtins, package-alist)
8434 (package-activated-list, package-obsolete-alist): Mark as risky.
8436 2010-07-28 Phil Hagelberg <phil@evri.com>
8438 Add support for non-default package repositories.
8439 * emacs-lisp/package.el (package-archive-base): Var deleted.
8440 (package-archives): New variable.
8441 (package-archive-contents): Doc fix.
8442 (package-load-descriptor): Do nothing if descriptor file is missing.
8443 (package--write-file-no-coding): New function.
8444 (package-unpack-single): Use it.
8445 (package-archive-id): New function.
8446 (package-download-single, package-download-tar)
8447 (package-menu-view-commentary): Use it.
8448 (package-installed-p): Make second argument optional.
8449 (package-read-all-archive-contents): New function.
8450 (package-initialize): Use it.
8451 (package-read-archive-contents): Add ARCHIVE argument.
8452 (package--add-to-archive-contents): New function.
8453 (package-install): Don't call package-read-archive-contents.
8454 (package--download-one-archive): Store archive file in a
8455 subdirectory of package-user-dir.
8456 (package-menu-execute): Remove spurious line movement.
8458 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8460 * cus-start.el (tool-bar-style): Add text-image-horiz.
8462 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8464 * progmodes/gud.el (gud-common-init): Check for remoteness of
8465 `file', and not of `default-directory'.
8467 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8469 * net/tramp.el (tramp-methods): Move hostname to the end in all
8470 ssh `tramp-login-args'.
8471 (tramp-verbose): Describe verbose level 9.
8472 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8473 (tramp-open-connection-setup-interactive-shell): Trace stty
8474 settings if `tramp-verbose' >= 9.
8475 (tramp-handle-start-file-process): Implement tty setting.
8476 (Bug#4604, Bug#6360)
8478 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8479 `tramp-verbose' to 9.
8481 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8483 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8484 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8485 Remove references to package `lisp-re' (bug#4369).
8487 2010-07-27 Tom Tromey <tromey@redhat.com>
8489 * progmodes/js.el (js-mode):
8490 * progmodes/make-mode.el (makefile-mode):
8491 * progmodes/simula.el (simula-mode):
8492 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8494 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8496 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8498 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8499 (display-time-world-buffer-name, display-time-world-mode-map):
8500 Fix typos in docstrings.
8502 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8504 * image-mode.el (image-display-size): New function.
8505 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8506 (image-mode-fit-frame): Use it (Bug#6639).
8508 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8510 * dired.el (dired-buffers-for-dir): Handle list values of
8511 dired-directory (Bug#6636).
8513 2010-07-26 Sam Steingold <sds@gnu.org>
8515 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8516 Do not call `x-get-selection' the second time, reuse the value.
8518 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8520 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8521 which consist of control chars only. Suggested by Richard Stallman.
8523 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8525 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8526 exists before passing an error to find-file-not-found-functions
8529 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8531 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8532 Remove leading nil element, adjust values.
8533 (tetris-shapes, tetris-shape-scores):
8534 Change representation of shapes and remove some redundancy.
8535 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8536 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8537 Adjust for working with new representation of shapes.
8538 (tetris-shape-rotations): New function.
8539 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8540 (tetris-rotate-prev, tetris-rotate-next):
8541 Adjust for working with the new version of tetris-test-shape.
8543 2010-07-23 Markus Triska <markus.triska@gmx.at>
8545 * progmodes/ps-mode.el: Use comint (bug#5954).
8546 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8547 (ps-mode-other-newline): Simplify.
8548 (ps-run-mode): Derive from comint-mode instead of
8549 fundamental-mode, yielding input history etc.
8550 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8551 (ps-run-send-string): Adapt for comint-mode.
8552 (ps-run-newline): Remove now unneeded function.
8554 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8556 * net/tramp.el (tramp-methods): Move hostname to the end in all
8557 plink `tramp-login-args'.
8559 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8561 * net/tramp.el (tramp-open-shell): New defun.
8562 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8565 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8567 * net/tramp.el (tramp-file-name-regexp-unified)
8568 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8569 not regard the volume letter as remote filename. (Bug#5447)
8571 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8573 * custom.el (custom-declare-variable): Give a clearer error message
8574 when the docstring is missing (bug#6476).
8576 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8578 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8579 (sql-login-params): New widget definition.
8580 (sql-oracle-login-params, sql-mysql-login-params)
8581 (sql-solid-login-params, sql-sybase-login-params)
8582 (sql-informix-login-params, sql-ingres-login-params)
8583 (sql-ms-login-params, sql-postgres-login-params)
8584 (sql-interbase-login-params, sql-db2-login-params)
8585 (sql-linter-login-params): Use it.
8586 (sql-sqlite-login-params): Use it; Define "database" parameter as
8588 (sql-sqlite-program): Change to "sqlite3".
8589 (sql-comint-sqlite): Make sure database name is complete.
8590 (sql-for-each-login): New function.
8591 (sql-connect, sql-save-connection): Use it.
8592 (sql-get-login-ext): New function.
8593 (sql-get-login): Use it.
8594 (sql-make-alternate-buffer-name): Handle :file parameters.
8596 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8598 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8599 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8601 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8603 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8605 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8607 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8609 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8611 * net/tramp.el (tramp-get-ls-command)
8612 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8615 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8617 * progmodes/sql.el: Version 2.3.
8618 (sql-connection-alist): Change keys from symbols to strings;
8619 enhanced the widget definition.
8620 (sql-mode-menu): Add submenu to select connections.
8621 (sql-interactive-mode-menu): Add "Save Connection" item.
8622 (sql-add-product): Fix menu item.
8623 (sql-get-product-feature): Improved error handling.
8624 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8625 (sql-make-alternate-buffer-name): Simplified.
8626 (sql-product-interactive): Handle missing product.
8627 (sql-connect): Support string keys, minor improvements.
8628 (sql-save-connection): New function.
8629 (sql-connection-menu-filter): New function.
8631 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8633 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8634 (tramp-open-connection-setup-interactive-shell):
8635 Apply workaround for IRIX64 bug. Move argument of last
8636 `tramp-send-command' where it belongs to.
8638 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8640 * net/tramp.el (tramp-perl-file-attributes)
8641 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8642 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8643 front of `login-args'.
8645 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8647 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8648 Set `show-trailing-whitespace' to nil.
8649 (display-time-world-display): Simplify.
8651 2010-07-18 Alan Mackenzie <acm@muc.de>
8653 Enhance `c-file-style' in file/directory local variables.
8654 * progmodes/cc-mode.el (c-count-cfss): New function.
8655 (c-before-hack-hook): Call `c-set-style' differently according to
8656 whether c-file-style was set in file or directory local
8659 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8661 * progmodes/sql.el: Version 2.2.
8662 (sql-product, sql-user, sql-database, sql-server, sql-port):
8663 Use defcustom :safe keyword rather than putting safe-local-variable
8665 (sql-password): Use defcustom :risky keyword rather than putting
8666 risky-local-variable property.
8667 (sql-oracle-login-params, sql-sqlite-login-params)
8668 (sql-solid-login-params, sql-sybase-login-params)
8669 (sql-informix-login-params, sql-ingres-login-params)
8670 (sql-ms-login-params, sql-postgres-login-params)
8671 (sql-interbase-login-params, sql-db2-login-params)
8672 (sql-linter-login-params): Add `port' option.
8673 (sql-get-product-feature): Add NO-INDIRECT parameter.
8674 (sql-comint-oracle, sql-comint-sybase)
8675 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8676 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8677 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8678 (sql-comint-linter): Rename sql-connect-* functions to
8680 (sql-product-alist, sql-mode-menu): Rename as above and
8681 :sqli-connect-func to :sqli-comint-func.
8682 (sql-connection): New variable.
8683 (sql-interactive-mode): Set it.
8684 (sql-connection-alist): New variable.
8685 (sql-connect): New function.
8686 (sql--alt-buffer-part, sql--alt-if-not-empty)
8687 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8689 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8691 * image-mode.el (image-bookmark-make-record): Do not set context
8692 in an image (Bug#6650).
8694 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8696 * simple.el (select-active-region): New function.
8697 (push-mark-command, set-mark, activate-mark)
8698 (handle-shift-selection): Use it.
8699 (deactivate-mark): Don't check for size of region.
8701 * mouse.el (mouse-drag-track): Use select-active-region.
8703 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8705 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8708 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8710 * term/x-win.el (x-select-enable-primary): Change default to nil.
8711 (x-select-enable-clipboard): Add :version keyword.
8713 * mouse.el (mouse-drag-copy-region):
8714 * simple.el (select-active-regions): Likewise.
8716 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8718 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8719 (vc-coding-system-for-diff): Use it to decide whether to inherit
8720 from the file the EOL format for reading the diffs of that file.
8723 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8725 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8726 unibyte, so compressed attachments are not compressed again.
8728 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8730 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8731 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8732 (tramp-find-shell): Simplify setting connection property.
8733 (tramp-get-ls-command): Make test for "--color=never" stronger.
8735 2010-07-15 Simon South <ssouth@member.fsf.org>
8737 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8738 blocks within record declarations (i.e. variant parts) correctly.
8740 2010-07-15 Simon South <ssouth@member.fsf.org>
8742 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8743 over literal tokens when parsing so newlines aren't "absorbed" by
8744 single-line comments. Corrects the indentation of case blocks
8745 that have a comment on the first line.
8747 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8749 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8750 by Drew Adams (Bug#5504).
8752 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8754 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8755 now that Unicode is used (Bug#6594).
8757 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8759 * term/x-win.el (x-select-enable-clipboard): Default to t.
8760 (x-initialize-window-system): Don't overwrite Paste menu item.
8762 * simple.el (select-active-regions): Default to t.
8763 (push-mark-command): Don't overwrite primary with empty string.
8765 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8766 (mouse-drag-copy-region): Default to nil.
8768 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8769 Cut/Copy/Paste menu bar items.
8771 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8773 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8774 Patch applied by Karl Fogel.
8776 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8777 and `bookmark-current-buffer' if they have been already set in
8778 another buffer (e.g gnus-art).
8780 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8781 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8783 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8785 * bookmark.el (bookmark-make-record-default): Allow unneeded
8786 information to be omitted from the record.
8788 Adjust declarations and calls:
8790 * info.el (bookmark-make-record-default): Adjust declaration.
8791 (Info-bookmark-make-record): Adjust call.
8793 * woman.el (bookmark-make-record-default): Adjust declaration.
8794 (woman-bookmark-make-record): Adjust call.
8796 * man.el (bookmark-make-record-default): Adjust declaration.
8797 (Man-bookmark-make-record): Adjust call.
8799 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8801 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8803 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8805 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8806 This is also from Thierry Volpiatto's patch in bug #6444. However,
8807 because it was extraneous to the functional change in that patch,
8808 and causes a re-indendation, I am committing it separately.
8810 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8812 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8813 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8814 Patch applied by Karl Fogel (Bug#6444).
8816 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8818 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8820 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8822 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8823 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8824 (ns-alternatives-map): Change S-tab binding to backtab
8827 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8830 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8832 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8835 * language/tv-util.el (tai-viet-re): Remove format.
8837 2010-07-12 Kenichi Handa <handa@m17n.org>
8839 * language/hebrew.el: Remove no-byte-compile declaration.
8840 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8841 composition-function-table for 3-character looking back.
8842 (hebrew-font-get-precomposed): New function.
8843 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8845 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8847 * mouse.el (mouse-drag-track): Handle select-active-regions
8850 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8852 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8853 empty argument to gvfs-copy.
8855 2010-07-10 Glenn Morris <rgm@gnu.org>
8857 * calendar/calendar.el (calendar-week-end-day): New function.
8858 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8859 Respect calendar-week-start-day. (Bug#6606)
8860 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8861 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8862 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8863 respect calendar-week-start-day.
8865 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8867 * simple.el (use-region-p): Doc fix (Bug#6607).
8869 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8871 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8872 Add regexps for cucumber and ruby.
8874 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8876 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8877 (epa-file-insert-file-contents): Hack to prevent
8878 find-file from opening empty buffer when decryption failed
8881 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8883 * textmodes/ispell.el (ispell-alternate-dictionary):
8884 Use file-readable-p.
8885 Return nil if no word-list is found at default locations.
8886 (ispell-complete-word-dict): Default to nil.
8887 (ispell-command-loop): Use 'word-list' when using lookup-words.
8888 (lookup-words): Use ispell-complete-word-dict or
8889 ispell-alternate-dictionary. Check for word-list availability
8890 and handle errors if needed with better messages (Bug#6539).
8891 (ispell-complete-word): Use ispell-complete-word-dict or
8892 ispell-alternate-dictionary.
8894 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8896 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8897 builtins (BufferError, BytesWarning, WindowsError; callables
8898 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8900 2010-07-07 Glenn Morris <rgm@gnu.org>
8902 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8903 (zone-shift-left): Ignore intangibility, and any errors from
8905 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8906 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8907 deleting, and copying text properties.
8908 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8909 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8910 to point-max is hard.
8911 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8912 (zone-fill-out-screen): Ignore intangibility.
8914 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8916 * menu-bar.el (menu-bar-mode):
8917 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8920 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8921 word/line selection (Bug#6565).
8923 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8925 * net/dbus.el (dbus-send-signal): Declare function.
8927 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8929 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8930 (dbus-register-property): New optional argument EMITS-SIGNAL.
8931 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8933 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8935 * mouse.el (mouse-drag-overlay): Variable deleted.
8936 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8937 (mouse--remap-link-click-p): New function.
8938 (mouse-drag-track): Handle dragging by using temporary Transient
8939 Mark mode, instead of a special overlay.
8940 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8943 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8946 2010-07-02 Juri Linkov <juri@jurta.org>
8948 * autoinsert.el (auto-insert-alist): Fix readability
8949 by using dotted pair notation for lambda.
8951 2010-07-02 Juri Linkov <juri@jurta.org>
8953 * faces.el (read-face-name): Rename arg `string-describing-default'
8954 to `default'. Doc fix. Display the default value in quotes
8955 in the prompt. With empty input, return the `default' arg,
8956 unless the default value is a string (in which case return nil).
8957 (describe-face): Replace the string `default' arg of `read-face-name'
8958 with the symbol `default'.
8960 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8962 * emulation/viper-cmd.el (viper-delete-backward-char)
8963 (viper-del-backward-char-in-insert)
8964 (viper-del-backward-char-in-replace, viper-change)
8965 (viper-backward-indent): Replace delete-backward-char with
8966 delete-char (Bug#6552).
8968 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8970 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8972 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8974 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8975 argument passed to frame-creation-function (Bug#5378).
8977 * faces.el (x-handle-named-frame-geometry)
8978 (x-handle-reverse-video, x-create-frame-with-faces)
8979 (face-set-after-frame-default, tty-create-frame-with-faces):
8980 Don't separately consult default-frame-alist. It is now passed as the
8983 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8985 * startup.el (command-line): Don't call tool-bar-setup in a
8988 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8990 * ruler-mode.el (ruler--save-header-line-format): New fun.
8991 (ruler-mode): Use it as a setter function, so as not to overwrite
8992 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8994 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8996 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8997 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8998 (vc-log-outgoing): Use it.
8999 (vc-diff-internal): Set diff-vc-backend.
9001 * vc/diff-mode.el (diff-vc-backend): New var.
9003 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9005 * dynamic-setting.el (font-setting-change-default-font):
9006 Remove call to message.
9008 2010-06-28 Kenichi Handa <handa@m17n.org>
9010 * international/quail.el (quail-insert-kbd-layout): Fix the
9011 showing of untranslated characters.
9013 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9015 * simple.el (delete-active-region): New option.
9016 (delete-backward-char): Implement in Lisp.
9017 (delete-forward-char): New command.
9019 * mouse.el (mouse-region-delete-keys): Delete.
9020 (mouse-show-mark): Simplify.
9022 * bindings.el (global-map): Bind delete and DEL, the former to
9023 delete-forward-char.
9025 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9027 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9028 (ruby-mode): Bind indent-line-function (Bug#5119).
9030 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9032 * startup.el (command-line): Recognize "0" X resource value.
9034 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9036 * startup.el (command-line): Use X resources to set the value of
9037 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9039 * menu-bar.el (menu-bar-mode):
9040 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9041 Set init-value to t.
9043 * frame.el (frame-notice-user-settings): Don't change
9044 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9045 vice versa (Bug#2249).
9047 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9049 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9051 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9053 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9054 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9056 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9057 default directories are expanded (Bug#6143).
9059 2010-06-24 Juri Linkov <juri@jurta.org>
9061 * minibuffer.el (completions-format): Change default from nil to
9062 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9064 2010-06-24 Juri Linkov <juri@jurta.org>
9066 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9067 buffer-locally to lambda that re-runs the vc diff command.
9070 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9072 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9073 echo area is in use (Bug#3412).
9075 2010-06-22 Glenn Morris <rgm@gnu.org>
9077 * textmodes/texinfmt.el (texinfo-format-region)
9078 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9079 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9080 (texinfo-format-option, texinfo-noindent):
9081 Use line-beginning-position and line-end-position.
9083 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9084 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9085 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9088 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9090 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9091 forward-line fallout.
9093 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9095 * mouse.el (mouse-appearance-menu): Add docstring.
9097 * help.el (describe-key): Print up-event using key-description.
9099 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9101 * net/zeroconf.el (zeroconf-resolve-service)
9102 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9103 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9105 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9107 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9109 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9111 Avoid displaying files with a nil state in vc-dir.
9112 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9113 cases that cause insertion.
9114 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9117 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9119 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9121 2010-06-29 Leo <sdl.web@gmail.com>
9123 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9125 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9127 * generic-x.el (bat-generic-mode): Fix regexp for command line
9128 switches (Bug#5719).
9130 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9132 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9133 of nconc to avoid pure storage error (Bug#6239).
9135 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9137 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9138 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9139 bindings of bookmark-automatically-show-annotations (Bug#6515).
9141 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9143 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9144 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9146 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9148 * comint.el (make-comint, make-comint-in-buffer): Mention return
9149 value in the docstrings. (Bug#6498)
9151 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9153 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9154 since it is not present when using some non-default switches.
9156 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9158 * simple.el (compose-mail): Fix doc string to refer to
9159 `compose-mail-user-agent-warnings', instead of to the
9160 nonexistent `compose-mail-check-user-agent'.
9162 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9164 Fix an indentation bug:
9166 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9167 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9170 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9171 (c-clear->-pair-props-if-match-before): now return t when they've
9172 cleared properties, nil otherwise.
9173 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9174 by taking account of the existing value.
9176 * progmodes/cc-defs.el
9177 (c-clear-char-property-with-value-function): Fix this to clear the
9178 property rather than overwriting it with nil.
9180 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9182 * emacs-lisp/package.el (package-print-package): Add link to
9183 package description via describe-package.
9184 (describe-package-1): List package requirements. Add button to
9185 perform installation.
9186 (package-menu-describe-package): New command.
9188 * help-mode.el (help-package): New button type.
9190 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9192 * emacs-lisp/package.el: Move package-list-packages binding to
9194 (describe-package, describe-package-1, package--dir): New funs.
9195 (package-activate-1): Use package--dir.
9197 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9199 * help-mode.el (help-package-def): New button type.
9201 * menu-bar.el: Move package-list-packages binding here from
9204 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9206 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9208 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9210 * emacs-lisp/edebug.el (edebug-read-list):
9211 Phase out old-style backquotes.
9213 2010-06-17 Juri Linkov <juri@jurta.org>
9215 * help-mode.el (help-mode): Set buffer-local variable
9216 revert-buffer-function to help-mode-revert-buffer.
9217 (help-mode-revert-buffer): New function.
9219 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9220 before popping to "*info*" (like in other Info functions).
9221 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9222 old-history-forward. Pop to old-buffer-name or "*info*" to
9223 recreate the killed buffer. Set Info-history-forward from
9224 old-history-forward.
9225 (Info-breadcrumbs-depth): Add :group and :version.
9227 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9229 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9231 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9233 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9234 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9236 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9238 * emacs-lisp/package.el (package-menu-mode-map):
9239 Move initialization into declaration.
9241 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9243 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9245 * emacs-lisp/package.el (package-archive-base): Point to
9247 (package-enable, package-load-list): New defcustoms.
9248 (package-user-dir, package-directory-list): Turn into defcustoms.
9249 Don't include package-user-dir in package-directory-list.
9250 (package--builtins-base): Don't include Emacs as a "package".
9251 (package-subdirectory-regexp): New var.
9252 (package-load-all-descriptors, package-compute-transaction)
9253 (package-download-transaction): Obey package-load-list.
9254 (package-activate-1): Rename from package-do-activate.
9255 (package-list-packages-internal): Check package-load-list.
9256 (package-load-descriptor, package-generate-autoloads)
9257 (package-unpack, package-unpack-single)
9258 (package--read-archive-file, package-delete):
9259 Use expand-file-name.
9261 * emacs-lisp/package-x.el: New file. Package uploading
9262 functionality split out from package.el.
9264 * startup.el (command-line): Load packages after reading init file.
9266 2010-06-17 Tom Tromey <tromey@redhat.com>
9268 * emacs-lisp/package.el: New file.
9270 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9272 Fix vc-annotate for renamed files when using Git.
9273 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9274 ls-files. Doe not pass the object as a file name to cat-file, it
9276 (vc-git-annotate-command): Pass the file name using -- to avoid
9277 ambiguity with the revision.
9278 (vc-git-previous-revision): Pass a relative file name.
9280 2010-06-22 Glenn Morris <rgm@gnu.org>
9282 * progmodes/js.el (js-mode-map): Use standard capitalization and
9283 ellipses for menu entries.
9285 * wid-edit.el (widget-complete): Doc fix.
9287 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9289 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9291 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9293 Fix annotating other revisions for renamed files in vc-annotate.
9294 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9295 VC backend. Use it when non-nil.
9296 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9299 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9300 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9301 Do not pass the file name to the 'previous-revision call when we
9302 don't want a file diff. (Bug#6489)
9304 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9306 Fix finding revisions for renamed files in vc-annotate.
9307 * vc/vc.el (vc-find-revision): Add an optional argument for
9308 the VC backend. Use it when non-nil.
9309 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9310 backend to vc-find-revision. (Bug#6487)
9312 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9314 Fix reading file names in Git annotate buffers.
9315 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9316 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9318 2010-06-20 Alan Mackenzie <acm@muc.de>
9320 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9321 in file local variables, set it first.
9323 2010-06-19 Glenn Morris <rgm@gnu.org>
9325 * descr-text.el (describe-char-unicode-data): Insert separating
9326 space when needed. (Bug#6422)
9328 * progmodes/idlwave.el (idlwave-action-and-binding):
9329 Fix typo in 2009-12-03 change. (Bug#6450)
9331 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9333 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9334 handling for `lambda' (misunderstanding).
9336 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9338 * calc/calc-poly.el (math-accum-factors): Make sure that
9339 constants aren't distributed after they are factored out.
9341 2010-06-16 Juri Linkov <juri@jurta.org>
9343 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9344 `list-colors-print'. (Bug#6332)
9346 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9348 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9350 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9351 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9353 * font-lock.el (font-lock-major-mode): Rename from
9354 font-lock-mode-major-mode to distinguish it from
9355 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9356 (font-lock-set-defaults):
9357 * font-core.el (font-lock-default-function): Adjust users.
9358 (font-lock-mode): Don't set it at all.
9360 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9362 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9364 2010-06-16 Glenn Morris <rgm@gnu.org>
9366 * calendar/appt.el (appt-time-msg-list): Doc fix.
9367 (appt-check): Let-bind appt-warn-time.
9368 (appt-add): Make the 3rd argument optional.
9369 Simplify argument names. Doc fix. Check for integer WARNTIME.
9370 Only add WARNTIME to the output list if non-nil.
9372 2010-06-16 Ivan Kanis <apple@kanis.eu>
9374 * calendar/appt.el (appt-check): Let the 3rd element of
9375 appt-time-msg-list specify the warning time.
9376 (appt-add): Add new argument with the warning time. (Bug#5176)
9378 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9380 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9381 older than version 1.6. (Bug#6361)
9383 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9385 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9386 used by cl-do-arglist. (Bug#6408)
9388 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9390 * textmodes/ispell.el (ispell-dictionary-base-alist):
9391 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9392 Suggested by Rolando Pereira (bug#6434).
9394 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9396 * facemenu.el (list-colors-sort): Doc fix.
9398 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9400 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9402 2010-06-14 Juri Linkov <juri@jurta.org>
9404 Add sort option `list-colors-sort'. (Bug#6332)
9405 * facemenu.el (color-rgb-to-hsv): New function.
9406 (list-colors-sort): New defcustom.
9407 (list-colors-sort-key): New function.
9408 (list-colors-display): Doc fix. Sort list according to the option
9410 (list-colors-print): Add HSV values to `help-echo' property of
9413 2010-06-14 Juri Linkov <juri@jurta.org>
9415 * compare-w.el: Move to the "vc" subdirectory.
9417 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9419 * image-mode.el (image-mode-map): Remap left-char and right-char.
9421 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9423 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9425 * term/common-win.el (x-colors): Add all the color names defined
9426 in rgb.txt (Bug#6332).
9428 * facemenu.el (list-colors-print): Don't print extra names if it
9429 will overflow the window width.
9431 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9434 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9436 * files.el (make-directory): Doc fix (bug#6396).
9438 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9440 * net/tramp.el (tramp-remote-process-environment): Protect version
9441 string by apostroph.
9442 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9444 (tramp-file-name-for-operation): Add `call-process-region'.
9445 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9447 * net/tramp-compat.el (top): Do not autoload
9448 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9449 only when `start-file-process' is not bound.
9450 (tramp-advice-file-expand-wildcards): Do not use
9451 `tramp-handle-file-remote-p'.
9452 (tramp-compat-make-temp-file): Handle the case, that
9453 `make-temp-file' has no third argument EXTENSION.
9455 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9457 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9459 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9461 2010-06-11 Juri Linkov <juri@jurta.org>
9463 * finder.el (finder-known-keywords): Add keyword "vc"
9464 for version control.
9466 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9467 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9468 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9469 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9471 2010-06-11 Juri Linkov <juri@jurta.org>
9473 Move version control related files to the "vc" subdirectory.
9474 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9475 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9476 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9477 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9478 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9479 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9480 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9481 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9482 Move files to the "vc" subdirectory.
9484 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9486 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9489 2010-06-11 Stephen Eglen <stephen@gnu.org>
9491 * shell.el: Bind `shell-resync-dirs' to M-RET.
9493 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9495 * notifications.el: Move file from lisp/net, because it is
9496 supposed to talk locally to the user.
9498 2010-06-10 Julien Danjou <julien@danjou.info>
9500 * net/notifications.el (notifications-on-action-signal)
9501 (notifications-on-closed-signal): Pass notification id as first
9502 argument to the callback functions. Add docstrings.
9503 (notifications-notify): Fix docstring.
9505 2010-06-10 Glenn Morris <rgm@gnu.org>
9507 * emacs-lisp/authors.el (authors-ignored-files)
9508 (authors-valid-file-names): Add some files.
9510 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9512 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9513 merge conflict, giving preference to the emacs-23 version of the code.
9515 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9517 * emacs-lisp/advice.el (ad-compile-function):
9518 Define warning-suppress-types before we let-bind it (bug#6275).
9520 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9521 declare it, make it buffer-local and permanent-local (bug#6324).
9522 (vc-resynch-window): Adjust name.
9523 * vc-hooks.el (vc-find-file-hook): Adjust name.
9525 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9527 * net/notifications.el (notifications-notify): Fix docstring.
9529 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9531 Update to Unicode 6.0.0 beta.
9532 * international/charprop.el: Update copyright.
9533 * international/mule-cmds.el (ucs-names): Update character ranges.
9534 * international/uni-bidi.el:
9535 * international/uni-category.el:
9536 * international/uni-combining.el:
9537 * international/uni-comment.el:
9538 * international/uni-decimal.el:
9539 * international/uni-decomposition.el:
9540 * international/uni-digit.el:
9541 * international/uni-lowercase.el:
9542 * international/uni-mirrored.el:
9543 * international/uni-name.el:
9544 * international/uni-numeric.el:
9545 * international/uni-old-name.el:
9546 * international/uni-titlecase.el:
9547 * international/uni-uppercase.el: Regenerate.
9549 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9551 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9552 (smie-precs-precedence-table): Fix typo in docstring.
9554 * vc-mtn.el (log-edit-extract-headers): Declare function.
9556 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9558 * net/notifications.el (dbus-register-signal): Declare function.
9559 (notifications-notify): Fix typos and reflow docstring.
9561 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9563 Improve VC create/retrieve tag/branch.
9564 * vc.el (vc-create-tag): Do not read the directory name for VCs
9565 with repository revision granularity. Adjust the tag/branch
9566 prompt. Reset VC properties.
9567 (vc-retrieve-tag): Do not read the directory name for VCs
9568 with repository revision granularity. Reset VC properties.
9570 2010-06-09 Julien Danjou <julien@danjou.info>
9572 * net/notifications.el: New file.
9574 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9576 Add optional support for resetting VC properties.
9577 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9578 call vc-file-clearprops when true.
9579 (vc-resynch-buffer): Add new optional argument, pass it down.
9580 (vc-resynch-buffers-in-directory): Likewise.
9582 Improve support for special markup in the VC commit message.
9583 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9584 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9585 * vc-git.el (vc-git-checkin):
9586 * vc-bzr.el (vc-bzr-checkin): Likewise.
9588 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9590 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9591 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9593 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9595 * iimage.el: Remove images as soon as the underlying text is modified.
9596 (iimage-modification-hook): New function.
9597 (iimage-mode-buffer): Use it.
9599 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9601 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9602 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9603 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9604 (smie-indent-keyword): Add handling of open-paren keywords.
9605 (smie-indent-comment-continue): Don't assume comment-continue.
9607 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9609 * window.el (pop-to-buffer): Remove the conditional that
9610 compares new-window and old-window, so it will reselect
9611 the selected window unconditionally.
9612 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9614 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9616 * emacs-lisp/smie.el (smie-indent-offset-after)
9617 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9618 (smie-indent-after-keyword): Use them.
9619 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9620 (smie-indent-keyword): Tweak the black magic.
9621 (smie-indent-comment-continue): Strip comment-continue before use.
9622 (smie-indent-functions): Indent comments before keywords.
9624 2010-06-06 Juri Linkov <juri@jurta.org>
9626 * isearch.el (isearch-lazy-highlight-search): Fix looping
9627 by checking for empty match. This syncs this loop with the
9628 similar loop in `isearch-search'. (Bug#6362)
9630 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9632 * net/dbus.el (dbus-register-method): Declare function.
9633 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9634 (dbus-introspect): Doc fix.
9635 (dbus-event-bus-name, dbus-introspect-get-interface)
9636 (dbus-introspect-get-argument): Reflow docstrings.
9638 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9640 vc-log-incoming/vc-log-outgoing fixes for Git.
9641 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9642 incoming/outgoing logs.
9643 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9644 instead of vc-git-compute-remote.
9645 (vc-git-compute-remote): Remove.
9647 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9649 * term/common-win.el (x-colors): Add "dark green" and "dark
9650 turquoise" (Bug#6332).
9652 2010-06-04 Juri Linkov <juri@jurta.org>
9654 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9655 Instead of setting `replace' to t and replacing the same string
9656 with itself, don't do certain actions when
9657 kill-do-not-save-duplicates is non-nil and string is equal to car
9658 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9659 interprogram-paste strings to kill-ring, and don't push the input
9660 argument `string' to kill-ring.
9661 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9663 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9665 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9667 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9669 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9670 (tramp-gvfs-handler-mounted-unmounted)
9671 (tramp-gvfs-connection-mounted-p): Handle default-location.
9673 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9674 move files to trash.
9676 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9678 * international/mule-cmds.el (nonascii-insert-offset)
9679 (nonascii-translation-table): Add obsolescence information.
9681 * international/mule.el (make-translation-table-from-vector): Doc fix.
9683 2010-06-03 Glenn Morris <rgm@gnu.org>
9685 * desktop.el (desktop-clear-preserve-buffers):
9686 Add "*Warnings*" buffer. (Bug#6336)
9688 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9690 vc-log-incoming/vc-log-outgoing improvements for Git.
9691 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9693 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9695 Add bindings for vc-log-incoming and vc-log-outgoing.
9696 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9697 and vc-log-outgoing.
9698 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9699 and vc-log-outgoing.
9701 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9703 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9704 (rcirc-handler-366): Always sort nicknames.
9706 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9708 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9710 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9712 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9714 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9716 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9717 (rcirc-sort-nicknames-join): Avoid setq.
9719 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9721 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9722 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9723 (rcirc-handler-366): Use them.
9725 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9727 Split smie-indent-calculate into more manageable chunks.
9728 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9729 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9730 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9731 (smie-indent-exps): Extract from smie-indent-calculate.
9732 (smie-indent-functions): New var.
9733 (smie-indent-functions): Use them.
9735 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9737 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9738 (smie-indent-calculate): Simplify and cleanup.
9740 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9742 * net/tramp-gvfs.el (top): Require url-util.
9743 (tramp-gvfs-mount-point): Remove.
9744 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9746 (with-tramp-dbus-call-method): Format trace message.
9747 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9748 Implement backup call, when operation on local files fails.
9749 Use progress reporter. Flush properties of changed files.
9750 (tramp-gvfs-handle-make-directory): Make more traces.
9751 (tramp-gvfs-url-file-name): Hexify file name in url.
9752 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9753 into account for the resulting file name.
9754 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9755 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9756 (tramp-gvfs-handler-mounted-unmounted)
9757 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9758 attribute "default_location". Set "prefix" property.
9759 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9760 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9761 exists. Raise an error, if not (due to a corresponding answer
9762 "no" in interactive questions, for example).
9764 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9766 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9768 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9770 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9773 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9775 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9776 * vc-git.el (vc-git-compute-remote): New function.
9777 (vc-git-log-outgoing): Use it instead of hard coding a value.
9778 (vc-git-log-incoming): New function.
9780 Improve state updating for VC tag commands.
9781 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9782 to update the state of all buffers in the directory.
9784 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9786 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9788 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9789 `file-directory-p' to the filename part rather than to the whole text.
9791 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9793 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9795 2010-05-31 Drew Adams <drew.adams@oracle.com>
9797 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9799 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9801 * subr.el (momentary-string-display): Just use read-event to read
9802 the exit event (Bug#6238).
9804 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9806 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9808 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9810 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9811 Suggested by Eli Zaretskii <eliz@gnu.org>.
9813 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9815 * minibuffer.el (completion-file-name-table): Don't return a boundary
9816 past the end of `string' (bug#6299).
9817 (completion--file-name-table): Delegate to completion-file-name-table
9818 for the `boundaries' case.
9820 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9822 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9825 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9826 `path-separator', but maintain compatibility with Emacs 20.2.
9828 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9830 * server.el (server-process-filter): Receive parent-id argument
9832 (server-create-window-system-frame): New arg. Pass parent-id as
9835 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9837 Bidi-sensitive word movement with arrow keys.
9838 * subr.el (right-arrow-command, left-arrow-command): Move to
9841 * bindings.el (right-char, left-char): Move from subr.el and
9842 rename from right-arrow-command and left-arrow-command.
9843 (right-word, left-word): New functions.
9844 (global-map) <right>: Bind to right-char.
9845 (global-map) <left>: Bind to left-char.
9846 (global-map) <C-right>: Bind to right-word.
9847 (global-map) <C-left>: Bind to left-word.
9849 * ls-lisp.el (ls-lisp-classify-file): New function.
9850 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9851 (ls-lisp-classify): Call ls-lisp-classify-file.
9852 (insert-directory): Remove blanks from switches.
9854 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9856 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9857 (ansi-color-drop-regexp): New constant.
9858 (ansi-color-apply, ansi-color-filter-region)
9859 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9860 (ansi-color-apply): Build string list before calling concat.
9862 2010-05-28 Juri Linkov <juri@jurta.org>
9864 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9865 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9868 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9870 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9871 to ignored backtrace functions.
9872 (with-progress-reporter): Expand docstring.
9873 (tramp-handle-delete-file): Implement TRASH argument.
9874 (tramp-get-remote-trash): New defun.
9876 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9878 * net/tramp-compat.el (tramp-compat-delete-file):
9879 Use `symbol-value' for backward compatibility.
9881 * net/tramp.el (tramp-handle-make-symbolic-link)
9883 (tramp-do-copy-or-rename-file-via-buffer)
9884 (tramp-do-copy-or-rename-file-directly)
9885 (tramp-do-copy-or-rename-file-out-of-band)
9886 (tramp-handle-process-file, tramp-handle-call-process-region)
9887 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9888 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9889 (tramp-delete-temp-file-function): Use `delete-file' instead
9890 of `tramp-compat-delete-file'.
9892 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9893 (tramp-fish-handle-make-symbolic-link)
9894 (tramp-fish-handle-process-file): Use `delete-file' instead
9895 of `tramp-compat-delete-file'.
9897 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9898 Use `delete-file' instead of `tramp-compat-delete-file'.
9900 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9901 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9902 `tramp-compat-delete-file'.
9904 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9905 Use `delete-file' instead of `tramp-compat-delete-file'.
9907 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9908 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9909 (tramp-smb-handle-write-region): Use `delete-file' instead of
9910 `tramp-compat-delete-file'.
9911 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9913 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9915 * dired.el (dired-delete-file): New arg TRASH.
9916 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9917 (dired-do-flagged-delete, dired-do-delete): Use trash.
9919 * speedbar.el (speedbar-item-delete): Allow trashing.
9921 * files.el (delete-directory): New arg TRASH.
9923 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9924 (ange-ftp-rename-remote-to-remote)
9925 (ange-ftp-rename-local-to-remote)
9926 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9927 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9929 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9932 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9933 handle new TRASH arg of `delete-file'.
9935 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9936 (tramp-handle-make-symbolic-link, tramp-handle-load)
9937 (tramp-do-copy-or-rename-file-via-buffer)
9938 (tramp-do-copy-or-rename-file-directly)
9939 (tramp-do-copy-or-rename-file-out-of-band)
9940 (tramp-handle-process-file, tramp-handle-call-process-region)
9941 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9942 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9943 (tramp-delete-temp-file-function): Use null TRASH arg in
9944 tramp-compat-delete-file call.
9946 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9947 (tramp-fish-handle-delete-file)
9948 (tramp-fish-handle-make-symbolic-link)
9949 (tramp-fish-handle-process-file): Use null TRASH arg in
9950 `tramp-compat-delete-file' call.
9952 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9953 arg in `tramp-compat-delete-file' call.
9955 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9956 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9957 `tramp-compat-delete-file' call.
9959 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9960 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9961 `tramp-compat-delete-file' call.
9963 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9964 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9965 (tramp-smb-handle-write-region): Use null TRASH arg in
9966 tramp-compat-delete-file call.
9967 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9968 (tramp-smb-handle-delete-file): Rename arg.
9970 * diff.el (diff-sentinel):
9971 * epg.el (epg--make-temp-file, epg-decrypt-string)
9972 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9973 * jka-compr.el (jka-compr-partial-uncompress)
9974 (jka-compr-call-process, jka-compr-write-region):
9975 * server.el (server-sentinel): Remove optional arg from
9976 delete-file, reverting 2010-05-03 change.
9978 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9980 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9981 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9983 2010-05-27 Kenichi Handa <handa@m17n.org>
9985 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9986 element of GSTRING is nil.
9988 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9990 * emacs-lisp/smie.el (smie-forward-token-function)
9991 (smie-backward-token-function): New vars.
9992 (smie-backward-sexp, smie-forward-sexp)
9993 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9994 (smie-default-backward-token): Rename from smie-backward-token and
9996 (smie-default-forward-token): Rename from smie-forward-token and
9998 (smie-next-sexp): Handle nil results from next-token.
9999 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10001 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10003 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10004 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10006 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10008 * htmlfontify.el (hfy-face-resolve-face): New function.
10009 (hfy-face-to-style): Use it (Bug#6279).
10011 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10013 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10014 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10016 2010-05-26 Glenn Morris <rgm@gnu.org>
10018 * emulation/edt.el (edt-load-keys): Use locate-library.
10020 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10022 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10023 (log-edit-changelog-entries): Doc fix.
10024 (log-edit-changelog-insert-entries): Args changed.
10025 Rename relative filenames in ChangeLog entries. Delete tabs.
10026 (log-edit-insert-changelog-entries): Reorganize return value of
10027 `log-edit-changelog-entries' to pass filenames to
10028 log-edit-changelog-insert-entries.
10030 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10032 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10033 `image-dired-dired-insert-marked-thumbs' to
10034 `image-dired-dired-toggle-marked-thumbs'.
10036 * image-dired.el: Require cl when compiling.
10037 (image-dired-dired-toggle-marked-thumbs): Rename from
10038 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10039 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10040 to 'no-dir. Skip files whose names don't match
10041 `image-file-name-regexp'. When file has a thumbnail overlay,
10042 delete it. (Bug#5270)
10044 2010-05-25 Juri Linkov <juri@jurta.org>
10046 * image-mode.el (image-mode): Add image-after-revert-hook to
10048 (image-after-revert-hook): New function. (Bug#5669)
10050 2010-05-25 Juri Linkov <juri@jurta.org>
10052 * image.el (image-animated-p): When delay between animated images
10053 is 0, set it to 10 (0.1 sec). (Bug#6258)
10055 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10057 * net/tramp.el (tramp-handle-insert-directory): Don't use
10058 `forward-word', its default syntax could be changed.
10060 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10062 * net/tramp.el (tramp-progress-reporter-update): New defun.
10063 (with-progress-reporter): Use it.
10064 (tramp-process-actions):
10065 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10066 Preserve current message, in order to let progress reporter continue
10067 afterwards. (Bug#6257)
10069 2010-05-25 Glenn Morris <rgm@gnu.org>
10071 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10074 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10076 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10077 (rcirc-default-full-name): Change to "unknown".
10078 (rcirc-user-name-history): Add variable.
10080 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10081 Jonathan Rockway <jon@jrock.us>
10083 * net/rcirc.el (rcirc-server-alist): Add :pass.
10084 (rcirc): When prompting for connection parameters, also prompt for
10085 username and password.
10086 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10087 value to server when connecting.
10089 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10091 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10092 (smie-merge-prec2s): Pass the tables as separate args.
10093 (smie-bnf-precedence-table): Adjust call accordingly.
10094 (smie-prec2-levels): Set levels at the end.
10096 Replace Lisp calls to delete-backward-char by delete-char.
10097 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10098 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10099 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10100 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10101 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10102 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10103 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10104 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10105 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10106 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10107 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10108 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10109 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10110 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10111 delete-backward-char by calls to delete-char.
10113 2010-05-25 Kenichi Handa <handa@m17n.org>
10115 * language/hebrew.el (hebrew-shape-gstring): New function.
10116 Register it in composition-function-table for all Hebrew combining
10119 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10121 * epa.el (epa--select-keys): Don't explicitly delete the window since
10122 that can fail (e.g. sole window in frame). Use dedication instead.
10124 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10126 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10128 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10130 * image.el (image-refresh): Define as an alias for image-flush.
10132 * image-mode.el (image-toggle-display-image): Caller changed.
10134 2010-05-21 Juri Linkov <juri@jurta.org>
10136 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10137 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10138 whitespace, call wildcard-to-regexp on substrings and concat them
10139 with "\\|". (Bug#6114)
10141 2010-05-21 Alan Mackenzie <acm@muc.de>
10143 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10144 Replace parameter `here' with `here-' and `here-plus', which sandwich
10145 any pertinent CPP construct.
10146 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10147 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10148 CPP construct from taking part in the scanning.
10150 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10152 * net/tramp.el (tramp-do-copy-or-rename-file)
10153 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10154 Tune `with-progress-reporter' messages.
10155 (tramp-handle-vc-registered):
10156 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10157 (tramp-fish-handle-insert-file-contents)
10158 (tramp-fish-maybe-open-connection):
10159 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10160 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10161 (tramp-imap-handle-insert-file-contents)
10162 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10164 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10166 * add-log.el (change-log-font-lock-keywords):
10167 Highlight all authors in multi-author entries.
10169 * smerge-mode.el (smerge-refine-ignore-whitespace)
10170 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10171 Fix typos in docstrings.
10172 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10174 2010-05-21 Glenn Morris <rgm@gnu.org>
10176 * progmodes/fortran.el (fortran-mode):
10177 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10179 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10180 having a relative path in src/Makefile.in.
10182 2010-05-20 Kevin Ryde <user42@zip.com.au>
10184 * help-mode.el (help-make-xrefs): For Info node links turn
10185 newlines into spaces. Link node names with newlines are matched
10186 by help-xref-info-regexp and buttonized, this change ensures they
10187 can be followed successfully with RET. (Bug#6206)
10189 2010-05-20 Juri Linkov <juri@jurta.org>
10191 * locate.el (locate): Use pop-to-buffer instead of
10192 switch-to-buffer-other-window. (Bug#6204)
10194 2010-05-20 Juri Linkov <juri@jurta.org>
10196 * replace.el (replace-highlight): Fix lazy-highlighting
10197 for `M-s w str M-% str RET'.
10199 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10201 * isearch.el (isearch-yank-word-or-char): Pull next subword
10202 when `subword-mode' is activated. (Bug#6220)
10204 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10206 * isearch.el (isearch-update-post-hook): New hook.
10207 (isearch-update): Use the new hook. (Bug#6225)
10209 2010-05-20 Juri Linkov <juri@jurta.org>
10211 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10212 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10215 2010-05-20 Juri Linkov <juri@jurta.org>
10217 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10220 2010-05-20 Juri Linkov <juri@jurta.org>
10222 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10223 FILE-NAME to read from the minibuffer when called interactively
10224 with prefix argument instead of using buffer-file-name.
10225 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10227 * dired.el: Update autoloads.
10229 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10231 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10232 nxml-finish-element, for consistency with SGML mode.
10234 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10235 octave-close-block.
10237 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10239 * composite.el: Require cl when compiling.
10240 (reference-point-alist, compose-gstring-for-graphic)
10241 (compose-gstring-for-terminal): Fix typos in docstrings.
10243 2010-05-19 Juri Linkov <juri@jurta.org>
10245 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10246 set-window-parameter.
10248 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10250 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10252 (tramp-maybe-open-connection): Use it.
10254 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10256 * simple.el (move-end-of-line): Make sure we are at line beginning
10257 before backing up to end of previous line.
10259 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10261 * password-cache.el (password-cache-remove): Fix docstring.
10263 * net/secrets.el: Autoload the widget functions.
10264 (secrets-search-items, secrets-create-item)
10265 (secrets-get-attributes, secrets-expand-item): Attributes will be
10266 stored on the password database without leading ":", as all other
10267 clients do as well.
10268 (secrets-mode): Fix docstring.
10269 (secrets-show-secrets): Provide it as autoloaded command only when
10270 D-Bus support is available. Check existence of Secret Service API.
10272 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10274 * indent.el (indent-region): Deactivate region (bug#6200).
10276 2010-05-19 Glenn Morris <rgm@gnu.org>
10278 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10280 2010-05-19 Kenichi Handa <handa@m17n.org>
10282 * composite.el: Register compose-gstring-for-graphic in
10283 composition-function-table only for combining characters (Mn, Mc, Me).
10285 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10287 * calc/calc-trail.el (calc-trail-isearch-forward)
10288 (calc-trail-isearch-backward): Ensure that the new window
10289 point is set correctly.
10291 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10293 * subr.el (read-quoted-char): Resolve modifiers after key
10294 remapping (bug#6212).
10296 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10298 Add visualization code for secrets.
10299 * net/secrets.el (secrets-mode): New major mode.
10300 (secrets-show-secrets, secrets-show-collections)
10301 (secrets-expand-collection, secrets-expand-item)
10302 (secrets-tree-widget-after-toggle-function)
10303 (secrets-tree-widget-show-password): New defuns.
10305 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10307 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10308 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10309 handled in smie-next-sexp.
10310 (smie-indent-calculate): Provide a starting indentation (so the
10311 recursion is well-founded ;-).
10313 Fix handling of non-associative equal levels.
10314 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10315 when it's not needed.
10316 (smie-op-left, smie-op-right): New functions.
10317 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10318 Better handle equal levels to distinguish the associative case from
10319 the "multi-keyword construct" case.
10320 (smie-backward-sexp, smie-forward-sexp): Use it.
10322 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10324 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10326 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10327 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10329 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10331 Provide a simple generic indentation engine and use it for Prolog.
10332 * emacs-lisp/smie.el: New file.
10333 * progmodes/prolog.el (prolog-smie-op-levels)
10334 (prolog-smie-indent-rules): New var.
10335 (prolog-mode-variables): Use them to configure SMIE.
10336 (prolog-indent-line, prolog-indent-level): Remove.
10338 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10340 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10341 order before computing the averages.
10343 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10345 * calc/calc-vec.el (calc-histogram):
10346 (calcFunc-histogram): Allow vectors as inputs.
10347 (math-vector-avg): New function.
10349 * calc/calc-ext.el (math-group-float): Have the number of digits
10350 being grouped depend on the radix (Bug#6189).
10352 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10354 * version.el (emacs-copyright, emacs-version): Don't define here,
10355 now that emacs.c defines it.
10357 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10359 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10360 "Describe Language Environment" menu item.
10362 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10364 Bidi-sensitive movement with arrow keys.
10365 * subr.el (right-arrow-command, left-arrow-command): New functions.
10367 * bindings.el (global-map): Bind them to right and left arrow keys.
10369 Don't override standard definition of convert-standard-filename.
10370 * files.el (convert-standard-filename):
10371 Call w32-convert-standard-filename and dos-convert-standard-filename on
10372 the corresponding systems.
10374 * w32-fns.el (w32-convert-standard-filename): Rename from
10375 convert-standard-filename. Doc fix.
10377 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10378 (convert-standard-filename): Don't defalias.
10379 (register-name-alist, make-register, register-value)
10380 (set-register-value, intdos): Obsolete aliases for the
10381 corresponding dos-* functions and variables.
10382 (dos-intdos): Add a doc string.
10384 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10386 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10387 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10388 (math-compose-tex-func):
10389 * calc/calccomp.el (math-compose-expr):
10390 * calc/calc-ext.el (math-format-flat-expr-fancy):
10391 * calc/calc-store.el (calc-read-var-name):
10392 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10394 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10395 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10396 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10397 (math-standard-units): Add units.
10399 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10401 * progmodes/asm-mode.el (asm-mode):
10402 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10404 * pcomplete.el (pcomplete-completions-at-point): New function,
10405 extracted from pcomplete-std-complete.
10406 (pcomplete-std-complete): Use it.
10408 2010-05-15 Glenn Morris <rgm@gnu.org>
10410 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10411 Remove references to CVS, RCS and Old directories.
10413 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10415 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10418 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10420 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10421 (sh-mode-syntax-table): Give it a default value instead.
10422 (sh-header-marker): Make buffer-local.
10423 (sh-mode): Move make-local-variable to the corresponding setq.
10424 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10425 Use complete-with-action.
10427 * simple.el (prog-mode): New (abstract) major mode.
10428 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10429 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10431 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10433 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10434 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10435 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10436 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10437 (sql-escape-newlines-filter, sql-input-sender)
10438 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10440 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10442 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10444 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10445 latex-open-block and C-c / to latex-close-block.
10447 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10448 and C-c C-e to sgml-close-tag.
10450 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10452 * net/tramp.el (with-progress-reporter): Create reporter object
10453 only when the message would be displayed. Handle nested calls.
10454 (tramp-handle-load, tramp-handle-file-local-copy)
10455 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10456 (tramp-maybe-send-script, tramp-find-shell):
10457 Use `with-progress-reporter'.
10458 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10461 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10462 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10463 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10464 Use `with-progress-reporter'.
10466 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10468 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10469 process everytime when spellchecking from the minibuffer (bug#6143).
10471 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10473 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10475 * dos-fns.el: Add "dos-" prefix for namespace control.
10476 (convert-standard-filename): Define as alias for
10477 dos-convert-standard-filename but only if applicable.
10479 2010-05-12 Alan Mackenzie <acm@muc.de>
10481 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10482 Push the mark at the start of these functions when appropriate.
10484 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10486 * minibuffer.el (completion-cycle-threshold): New custom var.
10487 (completion--do-completion): Use it.
10488 (minibuffer-complete): Use cycling if appropriate.
10490 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10492 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10493 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10495 2010-05-11 Juri Linkov <juri@jurta.org>
10497 * scroll-all.el (scroll-all-check-to-scroll):
10498 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10500 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10502 * iimage.el (iimage-mode-map): Move initialization into declaration.
10503 (iimage-mode-buffer): Use with-silent-modifications.
10504 Simplify calling convention. Adjust callers.
10505 (iimage-mode): Don't run hook redundantly.
10507 * minibuffer.el (completion-pcm--pattern->regex):
10508 Fix last change (bug#6160).
10510 2010-05-10 Juri Linkov <juri@jurta.org>
10512 Remove nodes visited during Isearch from the Info history.
10513 * info.el (Info-isearch-initial-history)
10514 (Info-isearch-initial-history-list): New variables.
10515 (Info-isearch-start): Record initial values of
10516 Info-isearch-initial-history and Info-isearch-initial-history-list.
10517 Add Info-isearch-end to isearch-mode-end-hook.
10518 (Info-isearch-end): New function.
10520 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10522 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10523 format string, in order to work around a bug in pdksh.
10524 Reported by Gilles Pion <gpion@lfdj.com>.
10525 (tramp-handle-verify-visited-file-modtime): Do not send a command
10526 when the connection is not established.
10527 (tramp-handle-set-file-times): Simplify the check for utc.
10529 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10531 Fix use of `filter-buffer-substring' (rework previous change).
10532 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10533 (cua-repeat-replace-region):
10534 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10535 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10536 (cua-cut-region-to-global-mark): Use it.
10538 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10540 * progmodes/sql.el: Version 2.1.
10541 (sql-product-alist): Redesign structure of product info.
10542 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10543 (sql-port, sql-port-history): New variables.
10544 (sql-interactive-product): New variable.
10545 (sql-send-terminator): New variable.
10546 (sql-imenu-generic-expression): Add "Types" imenu entry.
10547 (sql-oracle-login-params, sql-sqlite-login-params)
10548 (sql-mysql-login-params, sql-solid-login-params)
10549 (sql-sybase-login-params, sql-informix-login-params)
10550 (sql-ingres-login-params, sql-ms-login-params)
10551 (sql-postgres-login-params, sql-interbase-login-params)
10552 (sql-db2-login-params, sql-linter-login-params)
10553 (sql-oracle-scan-on): New variables.
10554 (sql-mode-map): Add C-c C-i to start interactive mode.
10555 (sql-mode-menu): Update existing menu entries.
10556 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10557 (sql-mode-oracle-font-lock-keywords)
10558 (sql-mode-postgres-font-lock-keywords)
10559 (sql-mode-ms-font-lock-keywords)
10560 (sql-mode-sybase-font-lock-keywords)
10561 (sql-mode-informix-font-lock-keywords)
10562 (sql-mode-interbase-font-lock-keywords)
10563 (sql-mode-ingres-font-lock-keywords)
10564 (sql-mode-solid-font-lock-keywords)
10565 (sql-mode-mysql-font-lock-keywords)
10566 (sql-mode-sqlite-font-lock-keywords)
10567 (sql-mode-db2-font-lock-keywords)
10568 (sql-mode-linter-font-lock-keywords): Update initialization to
10569 reduce run-time complexity.
10570 (sql-add-product, sql-del-product): New functions.
10571 (sql-set-product-feature, sql-get-product-feature): New functions.
10572 (sql-product-font-lock): Update product API.
10573 (sql-add-product-keywords): New function.
10574 (sql-highlight-product): Update product API.
10575 (sql-help-list-products): New function.
10576 (sql-help): Dynamically lists free and non-free products.
10577 (sql-get-login): Correct bug in handling history and added
10579 (sql-copy-column): Copy without properties.
10580 (sqli-input-sender): Apply filters to SQLi input.
10581 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10582 Implement as a filter.
10583 (sql-escape-newlines-filter): Implement as a filter.
10584 (sql-remove-tabs-filter): New function.
10585 (sql-send-magic-terminator): New function.
10586 (sql-send-string): Implement magic terminator.
10587 (sql-send-region): Use `sql-send-string'.
10588 (sql-interactive-mode): Use product API.
10589 (sql-product-interactive): Use product API.
10590 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10591 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10592 (sql-db2, sql-linter): Use `sql-product-interactive'.
10593 (sql-connect): New function.
10594 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10595 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10596 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10597 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10600 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10602 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10603 New custom variable.
10604 (completion-pcm--string->pattern): Use it.
10605 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10606 Make it handle any symbol as `any'.
10607 (completion-pcm--merge-completions): Extract common suffix for the new
10608 `prefix' symbol as well.
10609 (completion-substring--all-completions): Use the new `prefix' symbol.
10611 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10613 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10615 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10616 (tramp-compat-funcall): New defmacro.
10617 (tramp-compat-line-beginning-position)
10618 (tramp-compat-line-end-position)
10619 (tramp-compat-temporary-file-directory)
10620 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10621 (tramp-compat-copy-file, tramp-compat-copy-directory)
10622 (tramp-compat-delete-file, tramp-compat-delete-directory)
10623 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10624 * net/tramp.el (top, with-progress-reporter)
10625 (tramp-rfn-eshadow-setup-minibuffer)
10626 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10627 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10628 (tramp-completion-mode-p, tramp-check-for-regexp)
10629 (tramp-open-connection-setup-interactive-shell)
10630 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10631 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10632 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10633 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10634 (tramp-reporter-dump-variable, tramp-load-report-modules)
10635 (tramp-append-tramp-buffers)
10636 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10638 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10640 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10642 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10643 buffer-modtime. Adjust users.
10645 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10647 * international/mule.el (auto-coding-alist): Only purecopy
10648 car of each item, not the whole list (Bug#6083).
10650 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10652 * progmodes/js.el (js-mode): Make paragraph variables local before
10653 calling c-setup-paragraph-variables (Bug#6071).
10655 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10657 * composite.el (compose-region, reference-point-alist): Fix typos
10658 in the doc strings.
10660 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10662 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10663 gnuplot's "set" command.
10665 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10667 * abbrev.el (last-abbrev-text): Doc fix.
10668 (abbrev-prefix-mark): Don't escape parenthesis.
10670 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10672 * composite.el (find-composition): Doc fix.
10674 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10676 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10677 (sql-oracle-program, sql-sqlite-options)
10678 (sql-query-placeholders-and-send): Doc fixes.
10679 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10680 (sql-imenu-generic-expression, sql-buffer)
10681 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10682 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10683 (sql-mode-sybase-font-lock-keywords)
10684 (sql-mode-informix-font-lock-keywords)
10685 (sql-mode-interbase-font-lock-keywords)
10686 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10687 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10688 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10689 (sql-product-feature, sql-highlight-product)
10690 (comint-line-beginning-position, sql-rename-buffer)
10691 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10692 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10693 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10694 Fix typos in docstrings.
10696 2010-05-08 Juri Linkov <juri@jurta.org>
10698 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10699 property instead of `invisible' and `after-string' (bug#5998).
10701 2010-05-08 Juri Linkov <juri@jurta.org>
10703 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10705 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10707 * filecache.el (file-cache-add-directory-list)
10708 (file-cache-add-directory-recursively): Fix typos in docstrings.
10710 2010-05-08 Kenichi Handa <handa@m17n.org>
10712 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10713 (gujarati-composable-pattern): Fix typo.
10715 2010-05-08 Kenichi Handa <handa@m17n.org>
10717 * language/indian.el (oriya-composable-pattern)
10718 (tamil-composable-pattern, malayalam-composable-pattern):
10719 Add two-part vowels to "v" (vowel sign).
10721 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10723 * files.el (copy-directory): Handle symlinks (Bug#5982).
10725 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10727 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10728 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10731 2010-05-08 Glenn Morris <rgm@gnu.org>
10733 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10735 * minibuffer.el (completion-at-point): Doc fix.
10737 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10739 * electric.el (Electric-command-loop): Minor tweak.
10741 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10742 better with dedicated windows.
10744 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10746 * Version 23.2 released.
10748 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10749 Stefan Monnier <monnier@iro.umontreal.ca>
10751 Highlight vendor specific properties.
10752 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10753 (css-proprietary-property): New face.
10754 (css-font-lock-keywords): Use them.
10756 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10758 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10760 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10762 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10763 * files.el (auto-mode-alist): Remove redundant entries.
10765 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10766 * simple.el (auto-save-mode): Move from files.el.
10767 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10769 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10771 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10773 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10775 * mail/binhex.el (binhex-decode-region-internal)
10776 * mail/uudecode.el (uudecode-decode-region-internal)
10777 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10778 (dns-read-type, dns-query)
10779 * pgg-parse.el (pgg-parse-armor)
10780 * pgg.el (pgg-verify-region)
10781 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10784 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10786 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10788 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10790 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10791 * emulation/cua-base.el (cua-repeat-replace-region):
10792 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10793 (cua-cut-region-to-global-mark):
10794 Remove text properties with `set-text-properties'.
10796 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10798 * net/tramp.el (top, with-progress-reporter):
10799 Use `symbol-function' inside `funcall'.
10801 * net/tramp-compat.el (tramp-compat-file-attributes)
10802 (tramp-compat-delete-file, tramp-compat-delete-directory):
10803 Handle only `wrong-number-of-arguments' error.
10805 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10806 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10809 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10811 * minibuffer.el (completion--sreverse, completion--common-suffix):
10813 (completion-pcm--merge-completions): Extract common suffix when safe.
10815 * emacs-lisp/easy-mmode.el (define-minor-mode):
10816 Make :variable more flexible.
10817 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10819 2010-05-05 Juri Linkov <juri@jurta.org>
10821 Add `slow' and `history' tags to the desktop data.
10823 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10824 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10825 (Info-finder-find-node): Require `finder.el' to be able
10826 to restore node from the desktop.
10827 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10828 data `Info-history' and `slow' tag in the assoc list.
10829 (Info-restore-desktop-buffer): Don't restore nodes with the
10830 `slow' tag. Restore `Info-history'.
10832 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10834 Add FORCE argument to `delete-file'.
10836 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10837 forcing to delete the temporary file.
10838 (ange-ftp-delete-file): Add FORCE arg.
10839 (ange-ftp-rename-remote-to-remote)
10840 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10841 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10842 Force file deletion.
10844 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10846 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10847 (tramp-handle-make-symbolic-link, tramp-handle-load)
10848 (tramp-do-copy-or-rename-file-via-buffer)
10849 (tramp-do-copy-or-rename-file-directly)
10850 (tramp-do-copy-or-rename-file-out-of-band)
10851 (tramp-handle-process-file, tramp-handle-call-process-region)
10852 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10853 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10854 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10856 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10857 (tramp-fish-handle-make-symbolic-link)
10858 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10860 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10861 Use `tramp-compat-delete-file'.
10863 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10864 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10866 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10867 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10869 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10870 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10871 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10872 Use `tramp-compat-delete-file'.
10874 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10877 * subr.el (add-minor-mode): Use push.
10878 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10879 * emulation/edt.el (edt-select-mode): Simplify.
10881 Use define-minor-mode in more cases.
10882 * term/tvi970.el (tvi970-set-keypad-mode):
10883 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10884 (normal-erase-is-backspace-mode):
10885 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10886 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10887 (get-scroll-bar-mode): New function.
10888 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10890 Use define-minor-mode for less obvious cases.
10891 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10892 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10893 * international/iso-ascii.el (iso-ascii-mode):
10894 * frame.el (auto-raise-mode, auto-lower-mode):
10895 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10897 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10899 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10900 in order to see error messages for failed logins.
10902 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10904 * diff.el (diff-sentinel):
10906 * epg.el (epg--make-temp-file, epg-decrypt-string)
10907 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10909 * jka-compr.el (jka-compr-partial-uncompress)
10910 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10912 * server.el (server-sentinel): Use delete-file's new FORCE arg
10915 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10917 Use define-minor-mode where applicable.
10918 * view.el (view-mode):
10919 * type-break.el (type-break-query-mode)
10920 (type-break-mode-line-message-mode):
10921 * textmodes/reftex.el (reftex-mode):
10922 * term/vt100.el (vt100-wide-mode):
10923 * tar-mode.el (tar-subfile-mode):
10924 * savehist.el (savehist-mode):
10925 * ibuf-ext.el (ibuffer-auto-mode):
10926 * composite.el (auto-composition-mode):
10927 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10928 Use define-minor-mode.
10929 (vhdl-mode): Use static mode-line format.
10930 (vhdl-mode-line-update): Delete.
10931 (vhdl-create-mode-menu, vhdl-activate-customizations)
10932 (vhdl-hs-minor-mode): Don't bother calling it.
10934 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10936 * simple.el (with-wrapper-hook): Move.
10937 (buffer-substring-filters): Mark obsolete.
10938 (filter-buffer-substring-functions): New variable.
10939 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10941 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10942 Michael Albinus <michael.albinus@gmx.de>
10944 Implement compression for inline methods.
10946 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10947 (tramp-copy-size-limit): Allow also nil.
10948 (tramp-inline-compress-commands): New defconst.
10949 (tramp-find-inline-compress, tramp-get-inline-compress)
10950 (tramp-get-inline-coding): New defuns.
10951 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10952 replaced by `tramp-get-inline-coding'.
10953 (tramp-handle-file-local-copy, tramp-handle-write-region)
10954 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10956 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10958 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10959 Remove unused functions.
10961 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10962 Set find-tag-default-function as a variable rather than a property.
10964 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10965 * progmodes/etags.el (tags-completion-at-point-function):
10966 Remove left over interactive spec. Add autoloading stub.
10967 (complete-tag): Use tags-completion-at-point-function.
10969 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10971 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10973 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10975 * ido.el (ido-init-completion-maps): Remove C-v binding.
10976 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10978 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10980 * minibuffer.el (tags-completion-at-point-function): New function.
10981 (completion-at-point-functions): Use it.
10983 * progmodes/etags.el (complete-tag): Revert last change.
10985 2010-04-29 Alan Mackenzie <acm@muc.de>
10987 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10988 off-by-one error (in end of macro position).
10990 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10992 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10993 firefox is absent. Don't autoload.
10994 (browse-url-galeon-program): Don't autoload.
10996 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10998 * bindings.el (complete-symbol): Move into minibuffer.el.
11000 * minibuffer.el (complete-tag): Move from etags.el. If tags
11001 completion cannot be performed, return nil instead of signalling
11003 (completion-at-point): Make it an alias for complete-symbol.
11004 (complete-symbol): Move from bindings.el, and replace with the
11005 body of completion-at-point.
11007 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11009 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11011 * net/tramp.el (tramp-remote-selinux-p): New defun.
11012 (tramp-handle-file-selinux-context)
11013 (tramp-handle-set-file-selinux-context): Use it.
11015 2010-04-28 Sam Steingold <sds@gnu.org>
11017 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11018 `safe-local-variable' if the value is a string or a symbol with
11019 the property `bug-reference-url-format'.
11021 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11023 * progmodes/bug-reference.el (bug-reference-url-format):
11024 Revert 2010-04-27 change due to security risk.
11026 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11028 Make it possible to locally disable a globally enabled mode.
11029 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11030 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11031 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11032 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11033 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11034 that subsequent hooks get a chance to disable it.
11036 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11038 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11039 Avoid re-enabling a minor mode after the user turned the minor mode
11040 off if MODE-enable-in-buffers is run twice (typically once from
11041 fundamental-mode's after-change-major-mode-hook and a second time from
11042 run-mode-hook's own after-change-major-mode-hook).
11044 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11046 2010-04-27 Sam Steingold <sds@gnu.org>
11048 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11049 `safe-local-variable' if the value is a string or a function, as
11050 documented and implemented on 2010-04-02.
11052 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11054 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11055 when method is 'kill.
11057 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11059 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11060 condition in default directory check.
11061 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
11062 Kill ispell process when killing its associated buffer.
11064 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11066 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11067 but we aren't using it.
11069 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11071 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11072 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11074 2010-04-24 Glenn Morris <rgm@gnu.org>
11076 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11077 Ignore VCS-ignore files, and deleted nextstep preferences files.
11078 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11079 (authors-ambiguous-files): New list.
11080 (authors-valid-file-names): Add some deleted files.
11081 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11082 (authors-disambiguate-file-name): New function. (Bug#5501)
11083 (authors-canonical-file-name): Doc fix.
11084 Don't warn about obsolete files.
11085 (authors-canonical-file-name, authors-scan-el):
11086 Use authors-disambiguate-file-name.
11088 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11089 Add autoload cookies.
11090 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11091 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11092 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11093 They have definitions / compiler macros in cl.el.
11094 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11095 Replace manual autoloads with generated ones.
11096 (htmlfontify-unload-rgb-file): Remove autoload.
11097 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11099 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11101 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11102 (byte-compile-setq-default): Optimize for the
11103 single-var case and don't call byte-compile-form in this case to avoid
11104 inf-loop with byte-compile-set-default.
11106 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11108 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11110 Implement SELINUX backends.
11112 * net/tramp.el (tramp-file-name-handler-alist):
11113 Add `file-selinux-context' and `set-file-selinux-context'.
11114 (tramp-handle-file-selinux-context)
11115 (tramp-handle-set-file-selinux-context): New defuns.
11116 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11117 Handle PRESERVE-SELINUX-CONTEXT.
11119 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11120 Add `file-selinux-context' and `set-file-selinux-context'.
11121 (tramp-gvfs-handle-file-selinux-context)
11122 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11123 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11125 * net/ange-ftp.el (ange-ftp-copy-file):
11126 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11127 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11128 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11129 Add PRESERVE-SELINUX-CONTEXT.
11131 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11133 Synchronize with Tramp repository.
11135 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11136 (tramp-action-process-alive, tramp-action-out-of-band)
11137 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11138 (tramp-exists-file-name-handler): Fix docstring.
11139 (with-progress-reporter): New defmacro.
11140 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11141 (tramp-maybe-open-connection): Use it.
11143 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11145 Detect ssh 'ControlMaster' argument automatically in some cases.
11147 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11148 (tramp-default-method): Use it.
11150 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11152 * net/tramp.el (tramp-handle-copy-file): Add new optional
11153 parameter `preserve-selinux-context'.
11154 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11156 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11158 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11159 Ensure, that non remote files are still checked. Oops.
11161 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11165 * icomplete.el (icomplete-completions): Use `non-essential'.
11167 * net/tramp.el (tramp-connectable-p): New defun.
11168 (tramp-handle-expand-file-name)
11169 (tramp-completion-handle-file-name-all-completions)
11170 (tramp-completion-handle-file-name-completion): Use it.
11172 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11174 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11176 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11178 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11180 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11182 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11185 * info.el (info-tool-bar-map): Add labels.
11187 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11189 * cus-edit.el (custom-commands): Add labels for tool bar.
11190 (custom-buffer-create-internal, Custom-mode): Adjust for
11191 labels in custom-commands.
11193 * dynamic-setting.el: Renamed from font-setting.el.
11195 2010-04-21 John Wiegley <jwiegley@gmail.com>
11197 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11198 toggles the use of virtual buffers.
11199 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11200 (ido-toggle-virtual-buffers): New function.
11202 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11204 Use `define-derived-mode'; fix window selection; doc fixes.
11205 * play/tetris.el (tetris, tetris-update-speed-function)
11206 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11207 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11208 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11209 (tetris-pause-game): Fix typos in docstrings.
11210 (tetris-mode-map, tetris-null-map):
11211 Move initialization into declaration.
11212 (tetris-mode): Define with `define-derived-mode';
11213 set show-trailing-whitespace to nil.
11214 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11216 2010-04-21 Karel Klíč <kklic@redhat.com>
11218 * files.el (backup-buffer): Handle SELinux context, and return it
11219 if a backup was made by renaming.
11220 (backup-buffer-copy): Set SELinux context to the target file.
11221 (basic-save-buffer): Set SELinux context of the newly written file.
11222 (basic-save-buffer-1): Now it also returns any SELinux context.
11223 (basic-save-buffer-2): Set SELinux context of the newly created file,
11225 * net/tramp.el (tramp-file-name-for-operation):
11226 Add file-selinux-context.
11228 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11230 Make the log-edit comments use RFC822 format throughout.
11232 * vc.el (vc-checkin, vc-modify-change-comment):
11233 Adjust to new vc-start/finish-logentry.
11234 (vc-find-conflicted-file): New command.
11235 (vc-transfer-file): Adjust to new vc-checkin.
11236 (vc-next-action): Improve scoping.
11238 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11239 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11241 * vc-git.el (vc-git-log-edit-mode): Remove.
11242 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11243 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11245 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11246 (vc-start-logentry): Remove argument `extra'.
11247 (vc-finish-logentry): Remove extra args.
11249 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11250 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11251 (vc-bzr-conflicted-files): New function.
11253 * log-edit.el (log-edit-extra-flags)
11254 (log-edit-before-checkin-process): Remove.
11255 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11256 (log-edit-headers-alist): New var.
11257 (log-edit-header-contents-regexp): New const.
11258 (log-edit-match-to-eoh): New function.
11259 (log-edit-font-lock-keywords): Use them.
11260 (log-edit): Insert a "Summary:" header as default.
11261 (log-edit-mode): Mark font-lock rules as case-insensitive.
11262 (log-edit-done): Cleanup headers.
11263 (log-view-process-buffer): Remove.
11264 (log-edit-extract-headers): New function to replace it.
11266 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11268 * subr.el (default-direction-reversed): Remove obsolescence info.
11270 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11272 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11275 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11276 I.e. include text after point in the completion region.
11277 Also, return nil when we're not after/in a symbol.
11279 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11280 default enable-multibyte-characters.
11282 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11284 * international/mule.el: Help the user choose a valid coding-system.
11285 (read-buffer-file-coding-system): New function.
11286 (set-buffer-file-coding-system): Use it. Prompt the user if the
11287 coding-system cannot encode all the chars.
11289 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11290 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11291 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11292 Don't use *vc-bzr-shelve*.
11294 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11296 Fix the version number for added files.
11297 * vc-hg.el (vc-hg-working-revision): Check if the file is
11298 registered after hg parent fails (Bug#5961).
11300 2010-04-19 Glenn Morris <rgm@gnu.org>
11302 * htmlfontify.el (htmlfontify-buffer)
11303 (htmlfontify-copy-and-link-dir): Autoload entry points.
11305 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11307 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11308 name relative to the project root (Bug#5960).
11310 2010-04-19 Glenn Morris <rgm@gnu.org>
11312 * vc-git.el (vc-git-print-log): Doc fix.
11314 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11316 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11318 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11320 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11321 default settings (Bug#5928).
11323 2010-04-19 Glenn Morris <rgm@gnu.org>
11325 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11327 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11329 2010-04-19 Kenichi Handa <handa@m17n.org>
11331 * language/indian.el (malayalam-composable-pattern): Fix previous
11332 change (add U+0D4D "SIGN VIRAMA").
11333 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11334 (tamil-composable-pattern): Fix typo in the regexp.
11335 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11336 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11337 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11339 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11341 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11342 paragraph-separate (Bug#5821).
11344 2010-04-19 Juri Linkov <juri@jurta.org>
11346 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11348 * info.el (Info-find-node-2): Comment out code that skips
11350 (Info-mouse-follow-link): New command.
11351 (Info-link-keymap): New keymap.
11352 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11353 Return a string with links instead of inserting breadcrumbs
11354 to the Info buffer.
11355 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11356 Instead of putting the `invisible' text property over the Info
11357 header, make an overlay over the Info header with the `invisible'
11358 property and `after-string' set to the string returned by
11359 `Info-breadcrumbs'.
11361 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11363 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11364 Reported by monkey@sandpframing.com.
11366 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11368 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11369 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11370 available in the "keyseq cache" any more.
11372 * custom.el (defcustom): Add edebug spec.
11374 2010-04-18 Juri Linkov <juri@jurta.org>
11376 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11378 * view.el (view-file, view-buffer): Move test for special mode-class
11379 from view-file to view-buffer.
11381 * tar-mode.el (tar-extract): Turn if's into one cond
11382 like in arc-mode.el.
11384 2010-04-18 Juri Linkov <juri@jurta.org>
11386 Add 7z archive format support (bug#5475).
11388 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11389 (archive-7z-extract): New defcustom.
11390 (archive-find-type): Add magic string for 7z.
11391 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11392 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11393 `buffer' arg of `call-process'.
11394 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11395 call the function `archive-7z-extract' with the variable
11396 `archive-7z-extract' let-bound to `archive-zip-extract'.
11397 (archive-7z-summarize, archive-7z-extract): New functions.
11399 * international/mule.el (auto-coding-alist):
11400 * files.el (auto-mode-alist): Add 7z file extension.
11402 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11404 * loadup.el: Setup hash-cons for pure data.
11406 Fix duplicate entries in cedet's loaddefs.el files.
11407 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11408 Should make most file-local generated-autoload-file unnecessary.
11409 (print-readably): Silence warnings.
11410 (autoload-find-destination): Take load-name as an arg to make sure
11411 it's the same as the one that will be in the file.
11412 (autoload-generate-file-autoloads): Adjust to above changes.
11413 Try to make the dataflow a bit simpler.
11415 * cvs-status.el (cvs-refontify): Remove unused.
11417 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11419 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11421 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11422 twos-complement mode.
11424 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11426 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11427 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11428 (calc-inverse): Add "Option" to message, as appropriate.
11429 (calc-hyperbolic): Add "Option" to message, as appropriate.
11430 (calc-option, calc-is-option): New functions.
11432 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11433 (calc-option-prefix-help): New function.
11435 * calc/calc-misc.el (calc-help): Add "Option" entry.
11437 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11438 (calc-option-flag): New variable.
11439 (calc-do): Set `calc-option-flag to nil.
11440 (calc-set-mode-line): Add "Opt " as appropriate.
11442 2010-04-16 Juri Linkov <juri@jurta.org>
11444 Move scrolling commands from simple.el to window.el
11445 because their primitives are implemented in window.c.
11447 * simple.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 * window.el (scroll-error-top-bottom)
11452 (scroll-up-command, scroll-down-command, scroll-up-line)
11453 (scroll-down-line, scroll-other-window-down)
11454 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11455 Move from simple.el to window.el because their primitives are
11456 implemented in window.c.
11458 2010-04-16 Juri Linkov <juri@jurta.org>
11460 * isearch.el (isearch-lookup-scroll-key): Check both
11461 `isearch-scroll' and `scroll-command' properties.
11462 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11464 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11466 * simple.el (scroll-up-command, scroll-down-command)
11467 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11469 2010-04-15 Juri Linkov <juri@jurta.org>
11471 * simple.el (scroll-up-command, scroll-down-command)
11472 (scroll-up-line, scroll-down-line): Put `scroll-command'
11473 property on the these symbols. Remove them from
11474 `scroll-preserve-screen-position-commands'.
11476 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11477 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11478 Remove it from `scroll-preserve-screen-position-commands'.
11480 * isearch.el (isearch-allow-scroll): Doc fix.
11482 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11484 * net/tramp.el (tramp-error-with-buffer): Don't show the
11485 connection buffer when we are in completion mode.
11486 (tramp-file-name-handler): Catch the error for some operations
11487 when we are in completion mode. This gives the user the chance to
11488 correct the file name in the minibuffer.
11490 2010-04-15 Glenn Morris <rgm@gnu.org>
11492 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11494 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11496 Simplify by using `define-derived-mode'.
11497 * info.el (Info-mode):
11498 * calendar/todo-mode.el (todo-mode):
11499 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11500 (gomoku-mode-map): Move initialization into declaration.
11502 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11505 * ido.el (ido-file-name-all-completions-1):
11506 * minibuffer.el (minibuffer-completion-help):
11507 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11509 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11511 * simple.el (non-essential): New var.
11513 Add a new field `location' to bookmarks for non-file bookmarks.
11514 * bookmark.el (bookmark-location): Use the new field, if present.
11515 (bookmark-insert-location): Undo last change, not needed any more.
11516 * man.el (Man-bookmark-make-record):
11517 * woman.el (woman-bookmark-make-record): Add `location' field.
11519 2010-04-14 Juri Linkov <juri@jurta.org>
11521 * simple.el (scroll-error-top-bottom): New defcustom.
11522 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11524 * emulation/pc-select.el (pc-select-override-scroll-error):
11525 Obsolete in favor of `scroll-error-top-bottom'.
11527 2010-04-14 Juri Linkov <juri@jurta.org>
11529 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11530 `scroll-up-command' and `M-v' to `scroll-down-command'.
11532 * emulation/cua-rect.el (cua--init-rectangles):
11533 * forms.el (forms--change-commands):
11534 * image-mode.el (image-mode-map):
11535 Remap scroll-down-command and scroll-up-command
11536 in addition to scroll-down and scroll-up.
11538 2010-04-14 Juri Linkov <juri@jurta.org>
11540 * mwheel.el (scroll-preserve-screen-position-commands):
11541 Add mwheel-scroll to this list of commands.
11543 * simple.el (scroll-preserve-screen-position-commands):
11544 Add scroll-up-command, scroll-down-command, scroll-up-line,
11545 scroll-down-line to this list of commands.
11547 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11549 * obsolete/complete.el: Move from lisp/complete.el.
11551 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11553 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11554 to the minor mode function now turns the mode ON unconditionally.
11556 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11558 * vc-dir.el (vc-dir-kill-line): New command.
11559 (vc-dir-mode-map): Bind it to C-k.
11561 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11563 * woman.el: Add bookmark declarations to silence the compiler.
11564 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11565 step to compatibility between man and woman bookmarks.
11566 Adjust for Man-default-bookmark-title renaming.
11567 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11569 * man.el: Add bookmark declarations to silence the compiler.
11570 (Man-name-local-regexp): Make it match NAME as well.
11571 (Man-getpage-in-background): Return the buffer.
11572 (Man-notify-when-ready): Use `case'.
11573 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11574 Don't hardcode "NAME". Simplify.
11575 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11576 Rename from Man-bookmark-make-record.
11577 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11578 we have the actual man-args. Use Man-getpage-in-background rather
11579 than `man' since the arg is already processed. Let bookmark.el do the
11580 window handling. Only wait for the relevant process.
11581 Don't forget to autoload.
11583 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11585 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11587 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11589 (woman-mode): Setup bookmark support.
11591 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11592 (man-bookmark-jump): New functions.
11593 (Man-mode): Setup bookmark support.
11595 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11597 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11598 recognize ssh-keygen prompt (Bug#2817).
11600 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11602 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11604 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11606 Synchronize with Tramp repository.
11608 * net/tramp.el (tramp-completion-function-alist)
11609 (tramp-file-name-regexp, tramp-chunksize)
11610 (tramp-local-coding-commands, tramp-remote-coding-commands):
11612 (tramp-remote-process-environment): Use `format' instead of `concat'.
11613 (tramp-handle-directory-files-and-attributes)
11614 (tramp-get-remote-path): Use `copy-tree'.
11615 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11616 compatibility: Use `completion-ignore-case' if
11617 `read-file-name-completion-ignore-case' does not exist.
11618 (tramp-do-copy-or-rename-file-directly): Do not use
11619 `tramp-handle-file-remote-p'.
11620 (tramp-do-copy-or-rename-file-out-of-band):
11621 Use `tramp-compat-delete-directory'.
11622 (tramp-do-copy-or-rename-file-out-of-band)
11623 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11624 Use `format-spec-make'.
11625 (tramp-find-foreign-file-name-handler)
11626 (tramp-advice-make-auto-save-file-name)
11627 (tramp-set-auto-save-file-modes): Remove superfluous check for
11628 `stringp'. This is done inside `tramp-tramp-file-p'.
11629 (tramp-debug-outline-regexp): New defconst.
11630 (tramp-get-debug-buffer): Use it.
11631 (tramp-check-for-regexp): Use (forward-line 1).
11632 (tramp-set-auto-save-file-modes): Adapt version check.
11634 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11635 Wrap call of `featurep' for 2nd argument.
11636 (tramp-compat-make-temp-file): Simplify fallback implementation.
11637 (tramp-compat-copy-tree): Remove function.
11638 (tramp-compat-delete-directory): Provide implementation for older
11641 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11642 Do not use `tramp-fish-handle-file-attributes.
11644 * net/trampver.el: Update release number.
11646 2010-04-10 Glenn Morris <rgm@gnu.org>
11648 * progmodes/compile.el (compilation-save-buffers-predicate):
11649 Add missing :version tag.
11651 2010-04-09 Sam Steingold <sds@gnu.org>
11653 * progmodes/compile.el (compilation-save-buffers-predicate):
11654 Remove the "autoload" cookie.
11656 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11657 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11658 and `bug-reference-prog-mode' can be used in hooks directly.
11660 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11662 Add --author support to git commit.
11663 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11664 (vc-git-log-edit-mode): New minor mode.
11665 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11668 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11670 * vc-hooks.el, vc-git.el: Improve documentation comments.
11672 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11674 Fix some of the problems in defsubst* (bug#5728).
11675 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11676 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11678 2010-04-07 Sam Steingold <sds@gnu.org>
11680 * progmodes/compile.el (compilation-save-buffers-predicate):
11681 New custom variable.
11682 (compile, recompile): Pass it to `save-some-buffers'.
11684 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11686 * wid-edit.el (widget-choose): Move cursor to the second line of
11687 the buffer (Bug#5695).
11689 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11691 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11692 * vc.el (vc-print-log-setup-buttons): New function split out from
11693 vc-print-log-internal.
11694 (vc-log-internal-common): New function, a parametrized version of
11695 vc-print-log-internal.
11696 (vc-print-log-internal): Just call vc-log-internal-common with the
11698 (vc-incoming-outgoing-internal):
11699 (vc-log-incoming, vc-log-outgoing): New functions.
11700 (vc-log-view-type): New permanent local variable.
11702 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11704 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11705 of the dynamic bound vc-short-log.
11706 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11708 * vc-git.el (vc-git-log-outgoing): New function.
11709 (vc-git-log-view-mode): Use vc-log-view-type instead
11710 of the dynamic bound vc-short-log.
11712 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11713 of the dynamic bound vc-short-log. Highlight the tag.
11714 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11715 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11716 (vc-hg-incoming-mode): Remove.
11717 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11719 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11721 Fix default-directory for vc-root-diff.
11722 * vc.el (vc-root-diff): Bind default-directory to the root
11723 directory for the diff command.
11725 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11727 * progmodes/verilog-mode.el (verilog-forward-sexp):
11728 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11729 word keywords, suggested by Steve Pearlmutter.
11730 (verilog-pretty-declarations): Support lineup of declarations in
11732 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11733 fix bug for /* / comments.
11734 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11735 Speed up and simplfy as this is never called with a bound.
11736 (verilog-pretty-declarations): Enhance to line up declarations
11737 inside a parameter list, suggested by Alan Morgan.
11738 (verilog-pretty-expr): Tune assignment regular expression match
11739 string for corner cases; also use markers instead of character
11740 number as indent changes the later.
11742 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11744 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11745 as missing keyword.
11746 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11747 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11748 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11749 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11751 (verilog-keywords):
11752 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11753 1800-2009 keywords, including "global.".
11755 2010-04-06 John Wiegley <jwiegley@gmail.com>
11757 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11758 appearing in buffer list (if a live buffer name matched a recentf
11759 file basename). Should use uniquify to offer a real solution.
11761 2010-04-06 John Wiegley <jwiegley@gmail.com>
11763 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11764 comment to code, and add a :version tag.
11765 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11767 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11769 Enable recentf-mode if using virtual buffers.
11770 * ido.el (recentf-list): Declare for byte-compiler.
11771 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11772 (ido-make-buffer-list): Simplify.
11773 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11775 2010-04-05 Juri Linkov <juri@jurta.org>
11777 Scrolling commands which scroll a line instead of full screen.
11778 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11780 * simple.el (scroll-up-line, scroll-down-line): New commands.
11781 Put property isearch-scroll=t on them.
11783 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11786 2010-04-05 Juri Linkov <juri@jurta.org>
11788 Scrolling commands which do not signal errors at top/bottom.
11789 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11791 * simple.el (scroll-up-command, scroll-down-command): New commands.
11792 Put property isearch-scroll=t on them.
11794 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11795 `scroll-down-command' and [next] from `scroll-up' to
11796 `scroll-up-command'.
11798 * emulation/cua-base.el: Put property CUA=move on
11799 `scroll-up-command' and `scroll-down-command'.
11800 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11801 and `scroll-down-command' to `cua-scroll-down'.
11803 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11805 * help.el (describe-mode): Return nil.
11807 2010-04-04 John Wiegley <jwiegley@gmail.com>
11809 * ido.el (ido-use-virtual-buffers): New variable to indicate
11810 whether "virtual buffer" support is enabled for IDO.
11811 (ido-virtual): Face used to indicate virtual buffers in the list.
11812 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11813 exists, but a virtual buffer of that name does (which would be why
11814 it was in the list), recreate the buffer by reopening the file.
11815 (ido-make-buffer-list): If virtual buffers are being used, call
11816 `ido-add-virtual-buffers-to-list' before the make list hook.
11817 (ido-virtual-buffers): New variable which contains a copy of the
11818 current contents of the `recentf-list', albeit pared down for the
11819 sake of speed, and with proper faces applied.
11820 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11821 create a list of "virtual buffers" to present to the user in
11822 addition to the currently open set. Note that this logic could
11823 get rather slow if that list is too large. With the default
11824 `recentf-max-saved-items' of 200, there is little speed penalty.
11826 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11828 * font-lock.el: Require CL when compiling.
11829 (font-lock-turn-on-thing-lock): Use `case'.
11831 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11833 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11836 2010-04-02 Juri Linkov <juri@jurta.org>
11838 * ehelp.el (electric-help-orig-major-mode):
11839 New buffer-local variable.
11840 (electric-help-mode): Set it to original major-mode. Doc fix.
11841 (with-electric-help): Use `electric-help-orig-major-mode' instead
11842 of (default-value 'major-mode). Doc fix.
11843 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11845 2010-04-02 Sam Steingold <sds@gnu.org>
11847 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11848 `vc-hg-command' with a list of flags.
11850 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11851 Also accept "patch" and "RFE".
11852 (bug-reference-fontify): `bug-reference-url-format' can also be a
11853 function to be able to handle the bug kind.
11854 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11856 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11858 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11859 value to fboundp, it may not be a symbol.
11861 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11863 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11865 2010-03-31 Juri Linkov <juri@jurta.org>
11867 * simple.el (next-line, previous-line): Re-throw a signal
11868 with `signal' instead of using `ding'.
11869 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11871 2010-03-31 Juri Linkov <juri@jurta.org>
11873 * simple.el (keyboard-escape-quit): Raise deselecting the active
11874 region higher than exiting the minibuffer.
11875 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11877 2010-03-31 Juri Linkov <juri@jurta.org>
11879 * image.el (image-animated-p): Use `image-metadata' instead of
11880 `image-extension-data'. Get GIF extenstion data from metadata
11881 property `extension-data'.
11883 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11885 * simple.el (append-to-buffer): Simplify.
11887 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11889 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11890 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11892 2010-03-31 Kenichi Handa <handa@m17n.org>
11894 * language/sinhala.el (composition-function-table): Fix regexp for
11895 the new Unicode specification.
11897 * language/indian.el (devanagari-composable-pattern)
11898 (tamil-composable-pattern, kannada-composable-pattern)
11899 (malayalam-composable-pattern): Adjust for the new Unicode
11901 (bengali-composable-pattern, gurmukhi-composable-pattern)
11902 (gujarati-composable-pattern, oriya-composable-pattern)
11903 (telugu-composable-pattern): New variables to cope with the new
11904 Unicode specification. Use them in composition-function-table.
11906 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11908 Make tmm-menubar work for the Buffers menu again (bug#5726).
11909 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11910 vectors rather than cons cells, as used in menu-bar-update-buffers.
11912 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11914 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11915 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11916 electric punctuation for "{}();,:" (Bug#5586).
11918 * mail/sendmail.el (mail-default-directory): Doc fix.
11920 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11922 * mail/sendmail.el (mail-default-directory): Doc fix.
11924 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11926 * subr.el (version-regexp-alist, version-to-list)
11927 (version-list-<, version-list-=, version-list-<=)
11928 (version-list-not-zero, version<, version<=, version=): Doc fix.
11931 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11933 * vc.el (vc-root-diff): Doc fix.
11935 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11937 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11939 * simple.el (append-to-buffer): Fix last change.
11941 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11943 * simple.el (append-to-buffer): Ensure that point is preserved if
11944 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11947 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11949 * files.el (auto-mode-case-fold): Change default to t.
11951 2010-03-30 Juri Linkov <juri@jurta.org>
11953 * dired-x.el (dired-omit-mode): Doc fix.
11955 2010-03-30 Juri Linkov <juri@jurta.org>
11957 * replace.el (occur-accumulate-lines): Move occur-engine related
11958 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11959 to be located after `occur-engine'.
11961 2010-03-30 Juri Linkov <juri@jurta.org>
11963 Make occur handle multi-line matches cleanly with context.
11964 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11966 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11967 (occur-engine): Add local variables `ret', `prev-after-lines',
11968 `prev-lines'. Use more arguments for `occur-context-lines'.
11969 Set first elem of its returned list to `data', and the second elem
11970 to `prev-after-lines'. Don't print the separator line.
11971 In the end, print remaining context after-lines.
11972 (occur-context-lines): Add new arguments `begpt', `endpt',
11973 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11974 after-lines of the previous match with before-lines of the
11975 current match and not overlap them. Return a list with two
11976 values: the output line and the list of context after-lines.
11978 2010-03-30 Juri Linkov <juri@jurta.org>
11980 * replace.el (occur-accumulate-lines): Fix a bug where the first
11981 context line at the beginning of the buffer was missing.
11983 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11985 * files.el: Make bidi-display-reordering safe variable for boolean
11988 2010-03-29 Phil Hagelberg <phil@evri.com>
11989 Chong Yidong <cyd@stupidchicken.com>
11991 * subr.el: Extend progress reporters to perform "spinning".
11992 (progress-reporter-update, progress-reporter-do-update):
11993 Handle non-numeric value arguments.
11994 (progress-reporter--pulse-characters): New var.
11996 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11998 * progmodes/compile.el (compilation-start): Fix regexp detection
11999 of initial cd command (Bug#5771).
12001 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12003 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12005 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12007 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12008 * progmodes/gdb-mi.el: Restore.
12009 * progmodes/gdb-ui.el: Remove.
12010 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12012 2010-03-25 Glenn Morris <rgm@gnu.org>
12014 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12015 all dired buffers, even tramp ones. (Bug#5755)
12017 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12019 Add "union tags" in mpc.el.
12020 * mpc.el: Remove backward compatibility code.
12021 (mpc-browser-tags): Change default.
12022 (mpc--find-memoize-union-tags): New var.
12023 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12024 (mpc-cmd-find): Handle the case where the playlist does not exist.
12026 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12027 (mpc-cmd-add): Use mpc-cmd-flush.
12028 (mpc-tagbrowser-tag-name): New fun.
12029 (mpc-tagbrowser-buf): Use it.
12030 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12032 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12035 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12036 Use replace-regexp-in-string.
12037 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12038 (makefile-imake-mode-syntax-table): Move init into defvar.
12039 (makefile-mode): Use define-derived-mode.
12041 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12042 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12043 not be present any more.
12045 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12047 * faces.el (set-face-attribute): Fix typo in docstring.
12048 (face-valid-attribute-values): Reflow docstring.
12050 2010-03-24 Glenn Morris <rgm@gnu.org>
12052 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12054 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12056 * indent.el (indent-for-tab-command): Doc fix.
12058 2010-03-24 Alan Mackenzie <acm@muc.de>
12060 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12061 Fix off-by-one error. Fixes bug #5747.
12063 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12065 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12066 (image-dired-read-comment): Doc fix.
12068 * json.el (json-object-type, json-array-type, json-key-type)
12069 (json-false, json-null, json-read-number):
12070 * minibuffer.el (completion-in-region-functions):
12071 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12072 (cal-tex-cursor-week):
12073 * emacs-lisp/trace.el (trace-function):
12074 * eshell/em-basic.el (eshell/printnl):
12075 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12076 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12077 * obsolete/levents.el (allocate-event, event-key, event-object)
12078 (event-point, event-process, event-timestamp, event-to-character)
12079 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12080 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12081 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12082 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12083 (reftex-highlight-selection): Fix typos in docstrings.
12085 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12087 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12089 2010-03-24 Glenn Morris <rgm@gnu.org>
12091 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12092 2008-02-13 without comment; mark it obsolete.
12093 (rmail-highlight-headers): Use rmail-highlight-face once more.
12095 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12097 * woman.el (woman2-process-escapes): Only consume the newline if
12098 the filler character is on a line by itself (Bug#5729).
12100 2010-03-24 Kenichi Handa <handa@m17n.org>
12102 * language/indian.el (devanagari-composable-pattern): Add more
12105 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12107 * net/trampver.el: Update release number.
12109 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12111 * net/tramp.el (tramp-find-executable):
12112 Use `tramp-get-connection-buffer'. Make the regexp for checking
12113 output of "wc -l" more robust.
12114 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12115 (tramp-open-connection-setup-interactive-shell): Remove workaround
12116 for OpenSolaris bug, it is not needed anymore.
12118 2010-03-24 Glenn Morris <rgm@gnu.org>
12120 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12122 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12124 * files.el (auto-mode-alist): Accept more verilog file patterns.
12126 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12128 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12130 2010-03-24 Glenn Morris <rgm@gnu.org>
12132 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12133 log-edit-before-checkin-process.
12135 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12137 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12139 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12140 (log-view-process-buffer, log-edit-extra-flags): Declare.
12142 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12144 2010-03-23 Sam Steingold <sds@gnu.org>
12146 Fix bug#5620: recalculate all markers on compilation buffer
12147 modifications, not on file modifications.
12148 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12149 variable: the buffer modification time, for buffers not associated with
12151 (compilation-mode): Create it.
12152 (compilation-filter): Update it.
12153 (compilation-next-error-function): Use it instead of
12154 `visited-file-modtime' for timestamp.
12156 2010-03-23 Juri Linkov <juri@jurta.org>
12158 Implement Occur multi-line matches.
12159 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12161 * replace.el (occur): Doc fix.
12162 (occur-engine): Set `begpt' to the beginning of the first line.
12163 Set `endpt' to the end of the last match line. At first, count
12164 line numbers between `origpt' and `begpt'. Split out code from
12165 `out-line' variable to new let-bindings `match-prefix' and
12166 `match-str'. In `out-line' add non-numeric prefix to all
12167 non-first lines of multi-line matches. Finally, count lines
12168 between `begpt' and `endpt' and add to `lines'.
12170 2010-03-23 Juri Linkov <juri@jurta.org>
12172 * replace.el (occur-accumulate-lines, occur-engine):
12173 Use `occur-engine-line' instead of duplicate code.
12174 (occur-engine-line): New function created from duplicate code
12175 in `occur-accumulate-lines' and `occur-engine'.
12177 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12178 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12180 2010-03-23 Juri Linkov <juri@jurta.org>
12182 * finder.el: Remove TODO tasks.
12184 * info.el (Info-finder-find-node): Add node "all"
12185 with all package info. Handle a list of multiple keywords
12186 separated by comma.
12187 (info-finder): In interactive use with a prefix argument,
12188 use `completing-read-multiple' to read a list of keywords
12189 separated by comma.
12191 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12193 Add a new completion style `substring'.
12194 * minibuffer.el (completion-basic--pattern): New function.
12195 (completion-basic-try-completion, completion-basic-all-completions):
12197 (completion-substring--all-completions)
12198 (completion-substring-try-completion)
12199 (completion-substring-all-completions): New functions.
12200 (completion-styles-alist): New style `substring'.
12202 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12204 Get rid of .elc files after removal of the corresponding .el.
12205 * Makefile.in (compile-clean): New target.
12206 (compile-main): Use it.
12208 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12210 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12211 don't do make there. When compiling with separate object dir, there
12212 is no Makefile there.
12214 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12216 Get rid of the ELCFILES abomination, again.
12217 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12218 (all, compile): Don't call compile-last.
12219 (compile-main): Build the "elcfiles" list dynamically.
12220 (compile-targets): New (internal) target.
12222 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12224 * Makefile.in (top_srcdir): Define.
12225 (abs_top_builddir): Define.
12226 (srcdir): Don't append `/..'.
12227 (EMACS): Use ${abs_top_builddir}.
12228 (all, compile, compile-always, compile-last): Don't set emacswd.
12229 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12231 (lisp): Use $(srcdir) instead of @srcdir@.
12233 2010-03-21 Juri Linkov <juri@jurta.org>
12235 Fix message of multi-line occur regexps and multi-buffer header lines.
12236 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12238 * replace.el (occur-1): Don't display regexp if it is longer
12239 than window-width. Use `query-replace-descr' to display regexp.
12240 (occur-engine): Don't display regexp in the buffer header for
12241 multi-buffer occur. Display a separate header line with total
12242 match count and regexp for multi-buffer occur.
12243 Use `query-replace-descr' to display regexp.
12245 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12247 * net/secrets.el: Fix parenthesis.
12248 (secrets-enabled): Fix parenthesis.
12250 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12252 Use more relative file and directory names.
12253 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12254 (setwins, setwins_almost, setwins_for_subdirs):
12255 Don't `cd'; output relative names.
12256 (all, compile, compile-always, compile-last): Set emacswd.
12257 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12258 Just cd to the lisp source dir so we can use relative file names.
12260 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12262 2010-03-20 Glenn Morris <rgm@gnu.org>
12264 * textmodes/rst.el: Use faces for font-lock customization, and make the
12265 old -face variables obsolete.
12266 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12267 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12268 (rst-block-face, rst-external-face, rst-definition-face)
12269 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12270 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12272 (rst-font-lock-keywords-function): Update for above changes.
12274 2010-03-20 Juri Linkov <juri@jurta.org>
12277 * obsolete/s-region.el: Move to obsolete.
12279 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12281 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12283 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12285 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12287 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12289 Add special markup processing for commit logs.
12290 * log-edit.el (log-edit-extra-flags): New variable.
12291 (log-edit): Add new argument MODE. Use that mode when non-nil
12292 instead of the log-view-mode.
12293 (log-view-process-buffer): New function.
12295 * vc.el: Document that the checkin method takes optional
12296 arguments. Document new backend specific method: log-view-mode.
12297 (vc-default-log-edit-mode): New function.
12298 (vc-checkin): Use a backend specific log-view-mode.
12299 Pass extra arguments to the checkin method.
12300 (vc-modify-change-comment): Pass a dummy extra argument.
12302 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12304 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12305 (vc-finish-logentry): Process the log buffer before passing it
12306 down. Pass log-edit-extra-flags.
12308 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12310 (log-edit-extra-flags, log-edit-before-checkin-process):
12313 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12315 (log-edit-extra-flags, log-edit-before-checkin-process):
12317 (vc-hg-log-edit-mode): New derived mode.
12319 * vc-arch.el (vc-arch-checkin):
12320 * vc-cvs.el (vc-cvs-checkin):
12321 * vc-git.el (vc-git-checkin):
12322 * vc-mtn.el (vc-mtn-checkin):
12323 * vc-rcs.el (vc-rcs-checkin):
12324 * vc-sccs.el (vc-sccs-checkin):
12325 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12327 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12329 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12332 2010-03-19 Glenn Morris <rgm@gnu.org>
12334 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12336 2010-03-18 Glenn Morris <rgm@gnu.org>
12338 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12340 * replace.el (query-replace-history): Give it a doc string.
12341 (map-query-replace-regexp): Use query-replace-from-history-variable
12342 and query-replace-to-history-variable.
12344 * mail/hashcash.el (declare-function): Remove duplicate definition.
12346 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12347 Make it an obsolete alias for report-emacs-bug-address.
12348 (message-strip-special-text-properties): Declare.
12349 (report-emacs-bug): Remove test for a pretest bug address.
12350 Combine message-mode-specific code.
12352 * mail/supercite.el: Don't require sendmail.
12353 (mh-in-header-p): Declare rather than using with-no-warnings.
12354 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12355 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12357 * calendar/cal-french.el: Convert to utf-8.
12359 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12362 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12364 * net/secrets.el (secrets-enabled): New variable. Use it instead
12367 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12369 * net/secrets.el (top): Register the D-Bus signals only when the
12370 service "org.freedesktop.secrets" can be pinged.
12371 Provide subfeature `enabled'.
12373 2010-03-14 Juri Linkov <juri@jurta.org>
12375 Add finder unknown keywords.
12377 * finder.el (finder-unknown-keywords): New function.
12379 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12380 to create a Finder node with unknown keywords.
12382 2010-03-14 Juri Linkov <juri@jurta.org>
12384 * finder.el (finder-compile-keywords): Replace `princ' with
12385 `prin1' on a list of symbols interned from keyword strings.
12387 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12388 a comma, then split keywords using a comma and optional whitespace.
12389 Otherwise, split by whitespace.
12397 * progmodes/mixal-mode.el: Fix keywords.
12399 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12401 * Makefile.in (ELCFILES): Add net/secrets.elc.
12403 * net/secrets.el: New file.
12405 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12407 * facemenu.el (list-colors-display, list-colors-print): New arg
12408 callback. Use it to allow selecting colors.
12410 * wid-edit.el (widget-image-insert): Insert image prop even if the
12411 current display is non-graphic.
12412 (widget-field-value-set): New fun.
12413 (editable-field): Use it.
12414 (widget-field-value-get): Clean up unused var.
12415 (widget-color-value-create, widget-color--choose-action):
12416 New funs. Allow using list-colors-display to choose color.
12418 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12420 * cus-edit.el: Resort topmost custom groups.
12421 (custom-buffer-sort-alphabetically): Default to t.
12422 (customize-apropos): Use apropos-parse-pattern.
12423 (custom-search-field): New var.
12424 (custom-buffer-create-internal): Add custom-apropos search field.
12425 (custom-add-parent-links): Don't display parent doc.
12426 (custom-group-value-create): Don't sort top-level custom group.
12427 (custom-magic-value-create): Show visibility button before option name.
12429 (custom-variable-state): New fun, from custom-variable-state-set.
12430 (custom-variable-state-set): Use it.
12431 (custom-group-value-create): Hide options with standard values
12432 using the :hidden-states property. Use progress reporter.
12434 (custom-show): Simplify.
12435 (custom-visibility): Disable images by default.
12436 (custom-variable): New property :hidden-states.
12437 (custom-variable-value-create): Enable images for
12438 custom-visibility widgets. Use :hidden-states property to
12439 determine initial visibility.
12441 * wid-edit.el (widget-image-find): Give images center ascent.
12442 (visibility): Add :on-image and :off-image properties.
12443 (widget-visibility-value-create): Use them.
12445 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12447 * cus-edit.el (processes): Remove from development group.
12448 (oop, hypermedia): Delete group.
12449 (comm): Promote to top-level group.
12451 * net/browse-url.el (browse-url):
12452 * net/xesam.el (xesam):
12453 * net/tramp.el (tramp):
12454 * net/goto-addr.el (goto-address):
12455 * net/ange-ftp.el (ange-ftp): Put in comm group.
12457 * view.el (view): Remove from editing group.
12459 * uniquify.el (uniquify): Put in files group.
12461 * net/browse-url.el (browse-url):
12462 * ps-print.el (postscript): Put in external group.
12464 * cus-edit.el (outlines):
12465 * textmodes/text-mode.el (text-mode-hook):
12466 * textmodes/table.el (table):
12467 * textmodes/picture.el (picture):
12468 * outline.el (outlines): Put in wp group.
12470 * nxml/nxml-mode.el (nxml): Remove from wp group.
12472 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12474 * mail/metamail.el (metamail): Remove from hypermedia group.
12476 * cus-edit.el (abbrev):
12477 * whitespace.el (whitespace):
12478 * vcursor.el (vcursor):
12479 * reveal.el (reveal):
12480 * hl-line.el (hl-line): Put in convenience group.
12482 * epg-config.el (epg): Put in data group.
12484 * emulation/pc-select.el (pc-select): Put in emulations group.
12486 * calculator.el (calculator): Put in applications group.
12488 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12490 Add .dir-locals.el support for file-less buffers.
12491 * files.el (hack-local-variables): Split out code to apply local
12492 variable settings ...
12493 (hack-local-variables-apply): ... here. New function.
12494 (hack-dir-local-variables): Use the default directory for when the
12495 buffer does not have an associated file.
12496 (hack-dir-local-variables-non-file-buffer): New function.
12497 * diff-mode.el (diff-mode):
12498 * vc-annotate.el (vc-annotate-mode):
12499 * vc-dir.el (vc-dir-mode):
12500 * log-edit.el (log-edit-mode):
12501 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12503 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12505 Add support for shelving snapshots and for showing shelves.
12506 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12507 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12509 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12510 (vc-bzr-extra-menu-map): Map them.
12512 2010-03-11 Glenn Morris <rgm@gnu.org>
12514 * cus-edit.el (customize-changed-options-previous-release):
12517 * image.el (image-animate-max-time): Fix :version tag.
12519 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12523 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12525 * vc-git.el (vc-git-revision-table): Include remote branches.
12527 2010-03-10 Kim F. Storm <storm@cua.dk>
12529 Animated image API.
12530 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12532 * image.el (image-animate-max-time): New defcustom.
12533 (image-animated-types): New defconst.
12534 (create-animated-image, image-animate-timer)
12535 (image-animate-start, image-animate-stop, image-animate-timeout)
12536 (image-animated-p): New functions.
12538 * image-mode.el (image-toggle-display-image):
12539 Replace `create-image' with `create-animated-image'.
12541 2010-03-09 Miles Bader <miles@gnu.org>
12543 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12544 instead of "format:"; this ensures that the output is
12545 newline-terminated.
12547 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12549 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12550 that all errors are caught, and that the return value is always a
12553 2010-03-08 Kenichi Handa <handa@m17n.org>
12555 * language/misc-lang.el (windows-1256): New coding system.
12556 (cp1256): New alias of windows-1256 (bug#5690).
12558 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12560 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12561 call to rfc822-bad-address. (Bug#5692)
12563 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12565 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12566 Use vc-git-root as default directory for revision path (Bug#5657).
12568 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12570 * calculator.el (calculator): Don't bind split-window-keep-point
12573 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12575 * vc-git.el: Re-flow to fit into 80 columns.
12576 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12577 Remove spurious `quote' element in each case alternative.
12578 (vc-git-show-log-entry): Use prog1.
12579 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12581 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12583 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12585 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12587 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12588 definition, not the name (Bug#5481).
12590 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12592 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12593 argument with a local variable. (Bug#5670)
12595 2010-03-02 Juri Linkov <juri@jurta.org>
12597 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12599 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12601 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12602 error when FILENAME and NEWNAME are existing remote directories.
12604 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12605 parameter DIR-FLAG.
12607 2010-03-02 Glenn Morris <rgm@gnu.org>
12609 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12610 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12612 2010-03-01 Kenichi Handa <handa@m17n.org>
12614 * language/burmese.el (burmese-composable-pattern): Rename from
12615 myanmar-composable-pattern.
12617 * international/characters.el (script-list):
12618 * international/fontset.el (script-representative-chars):
12619 Change myanmar to burmese.
12620 (otf-script-alist): Likewise.
12621 (setup-default-fontset): Likewise. Re-fix :otf spec.
12623 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12625 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12627 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12629 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12631 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12633 * net/tramp.el (tramp-handle-write-region): START can be a string.
12634 Take care in the checks. Reported by Dan Davison
12635 <davison@stats.ox.ac.uk>.
12637 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12639 * net/dbus.el (dbus-introspect, dbus-get-property)
12640 (dbus-set-property, dbus-get-all-properties):
12641 Use `dbus-call-method' when noninteractive. (Bug#5645)
12643 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12645 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12646 * emacs-lisp/elint.el (elint-add-required-env):
12647 * calendar/icalendar.el (icalendar--add-diary-entry):
12648 * calc/calcalg2.el (math-tracing-integral):
12649 * files.el (recover-session-finish): Use with-current-buffer
12650 instead of save-excursion.
12652 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12654 Fix in-buffer completion when after-change-functions modify the buffer.
12655 * minibuffer.el (completion--replace): New function.
12656 (completion--do-completion): Use it and use relative movement.
12658 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12660 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12662 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12664 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12665 Allow the characters _<> in the stack entry (Bug#5653).
12667 2010-02-26 Kenichi Handa <handa@m17n.org>
12669 * language/burmese.el: Fix entries in composition-function-table.
12670 (myanmar-composable-pattern): New variable.
12672 * international/fontset.el (setup-default-fontset): Add an entry
12675 * international/characters.el (script-list): Add Myanmar
12678 2010-02-26 Glenn Morris <rgm@gnu.org>
12680 * custom.el (custom-initialize-delay): Doc fix.
12682 * mail/sendmail.el (send-mail-function): Autoload the call
12683 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12685 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12687 * files.el (hack-local-variables-filter): For eval forms, also
12688 check safe-local-variable-p (Bug#5636).
12690 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12692 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12693 setting the modes by `ignore-errors'. It might fail, for example
12694 if the file is not owned by the user but the group.
12695 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12697 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12699 * files.el (directory-listing-before-filename-regexp):
12700 Use stricter matching for iso-style dates, to avoid false matches with
12701 date-like filenames (Bug#5597).
12703 * htmlfontify.el (htmlfontify): Doc fix.
12705 * eshell/eshell.el (eshell): Doc fix.
12707 * startup.el (fancy-about-screen): In mode-line, apply
12708 mode-line-buffer-id face only to the buffer name (Bug#5613).
12710 2010-02-20 Kevin Ryde <user42@zip.com.au>
12712 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12713 In `watcom' anchor regexp to start of line, to avoid slowness
12716 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12718 * subr.el (remove-yank-excluded-properties): Explain in a comment
12719 why `category' property is removed.
12721 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12723 * isearch.el (isearch-update-post-hook, isearch-update):
12724 Revert 2010-02-17 change.
12726 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12728 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12729 (icalendar--convert-weekly-to-ical)
12730 (icalendar--convert-yearly-to-ical)
12731 (icalendar--convert-block-to-ical)
12732 (icalendar--convert-cyclic-to-ical)
12733 (icalendar--convert-anniversary-to-ical): Take care of time
12734 specifications where hour has 1-digit only (Bug#5549).
12736 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12738 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12739 of disassemble output in GDB 7.1.
12741 2010-02-19 Glenn Morris <rgm@gnu.org>
12743 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12744 property. (Bug#5593)
12746 2010-02-18 Sam Steingold <sds@gnu.org>
12748 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12750 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12752 Use abbreviated file names in bookmarks (bug#5591).
12753 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12754 calls to expand-file-name.
12755 (bookmark-relocate): Use abbreviated file names in bookmarks.
12756 (bookmark-load): Use abbreviated file names in messages.
12758 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12760 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12761 expand "." and "..". Reported by Thierry Volpiatto
12762 <thierry.volpiatto@gmail.com>.
12764 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12766 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12767 permissions of the temporary file to "0600". In case the remote
12768 file has no read permissions for the owner, there might be
12769 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12771 22010-02-18 Glenn Morris <rgm@gnu.org>
12773 * emacs-lisp/authors.el (authors-renamed-files-alist):
12774 Add entries for INSTALL.CVS.
12776 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12778 * vc-bzr.el: Fix typo in Known Bugs section.
12780 * isearch.el (isearch-update-post-hook): New hook.
12781 (isearch-update): Use the new hook.
12783 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12785 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12786 Fix errors in copying directories.
12787 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12788 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12789 (tramp-handle-delete-file)
12790 (tramp-handle-dired-recursive-delete-directory)
12791 (tramp-handle-write-region): Flush also the cache for the upper
12794 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12796 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12798 * cus-edit.el (hardware): Doc fix.
12800 * man.el (man): Add to external custom group.
12802 * delim-col.el (columns): Move to wp custom group.
12804 * doc-view.el (doc-view): Add to data custom group.
12806 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12808 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12809 by ispell-parse-output (Bug#5575).
12811 2010-02-16 Kenichi Handa <handa@m17n.org>
12813 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12814 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12815 (skkdic-convert): Use `euc-japan' coding system for writing.
12817 2010-02-16 Glenn Morris <rgm@gnu.org>
12819 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12820 tex-main-file before using it. (Bug#5562)
12822 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12824 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12825 warnings, since it is annoying for the user to see them each time he
12828 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12830 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12831 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12832 instead of PROC for caching "first-password-request". Otherwise,
12833 new processes would not profit from passwords already entered.
12835 * net/tramp-cache.el (tramp-dump-connection-properties):
12836 Don't save "first-password-request" property.
12838 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12840 * outline.el (outline-head-from-level):
12841 * simple.el (with-wrapper-hook):
12842 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12843 (elint-defun, elint-buffer-env, elint-top-form-logged)
12844 (elint-unbound-variable):
12845 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12846 Fix typos in docstrings.
12848 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12850 * files.el (insert-directory): When WILDCARD-REGEXP and
12851 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12852 whole directory. (Bug#5551)
12854 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12855 dired's alignment sanity. (Bug#5516)
12857 2010-02-14 Juri Linkov <juri@jurta.org>
12859 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12860 Remove remaining ^H with their preceding chars. (Bug#5566)
12862 2010-02-13 Glenn Morris <rgm@gnu.org>
12864 * simple.el (transpose-subr): Give it a doc-string.
12866 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12869 2010-02-12 Juri Linkov <juri@jurta.org>
12871 * arc-mode.el (archive-unique-fname): Make directories for nested
12872 archives. (Bug#5540)
12874 2010-02-12 Juri Linkov <juri@jurta.org>
12876 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12878 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12880 * subr.el (copy-overlay): Handle deleted overlays.
12882 * man.el (Man-completion-table): Don't signal an error if we can't run
12883 manual-program (bug#4056).
12885 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12887 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12889 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12891 * info.el (Info-bookmark-jump): Simplify.
12893 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12894 (bookmark-default-handler): Accept new bookmark field `buffer'.
12896 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12898 * iswitchb.el (iswitchb-completions): Revert last change.
12900 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12902 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12903 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12904 This prevents file names like "~/" being listed literally.
12906 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12908 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12909 Remove dead code. (Bug#5546)
12911 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12913 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12914 correctly (Bug#5548).
12916 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12918 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12919 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12921 2010-02-08 Kenichi Handa <handa@m17n.org>
12923 * international/mule-util.el (with-coding-priority): Add autoload
12924 cookie for putting `lisp-indent-function'.
12926 2010-02-07 Glenn Morris <rgm@gnu.org>
12928 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12929 Move F2003 named interfaces from keywords-2 to keywords-1, and
12930 use function-name-face rather than constant-face.
12931 Simplify "abstract interface" regexp.
12933 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12935 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12936 ID-FORMAT. Pass it to `file-attributes'.
12938 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12940 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12942 * faces.el (set-face-attribute): Allow calling
12943 internal-set-lisp-face-attribute with 'unspecified family and
12944 foundry argument (Bug#5536).
12946 2010-02-07 Glenn Morris <rgm@gnu.org>
12948 * progmodes/f90.el (f90-font-lock-keywords-2)
12949 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12950 Handle F2003 named interfaces.
12952 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12954 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12955 beg and end before calling c-get-state-before-change-functions.
12957 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12959 * vc-bzr.el (vc-bzr-dir-extra-headers):
12960 Disable the pending merges header.
12962 2010-02-05 Juri Linkov <juri@jurta.org>
12964 * doc-view.el (doc-view-mode):
12965 * image-mode.el (image-mode): Put property mode-class=special.
12968 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12970 * vc-svn.el (vc-svn-revision-table): New function.
12972 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12974 * net/ange-ftp.el (ange-ftp-insert-directory):
12975 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12976 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12977 Handle also directories. (Bug#5478)
12979 2010-02-05 Glenn Morris <rgm@gnu.org>
12981 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12983 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12985 * startup.el (command-line-1): Convert options beginning with a
12986 single dash as well (Bug#5519).
12988 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12990 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12991 * minibuffer.el (completion-initials-expand): Only check the presence
12992 of delims *within* the boundaries, since otherwise the / delim is
12993 always found for files.
12995 Fix up various corner case problems.
12996 * doc-view.el (doc-view-last-page-number): New function.
12997 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12998 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12999 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13000 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13001 (doc-view-convert-current-doc): Don't create the resolution.el file
13003 (doc-view-pdf/ps->png): Do it here instead.
13004 (doc-view-already-converted-p): Check that resolution.el is present.
13005 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13006 windows that are not yet showing images.
13008 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13010 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13011 `dired-uncache' for every elemnt which is an absolute file name.
13013 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13014 directory, handle its directory component.
13015 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13016 function is called permanently and creates noise, otherwise.
13018 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13019 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13020 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13022 2010-02-04 David Burger <dburger@google.com> (tiny change)
13024 * macros.el (apply-macro-to-region-lines):
13025 Minor simplification. (Bug#5485)
13027 2010-02-04 Glenn Morris <rgm@gnu.org>
13029 * mail/rmail.el (rmail-show-message-1): Handle malformed
13030 quoted-printable text. (Bug#5441)
13032 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13034 * simple.el (visual-line-mode): Capitalize lighter.
13036 2010-02-03 John Wiegley <jwiegley@gmail.com>
13038 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13039 list of files considered for "virtual buffer" completions.
13041 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13043 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13044 also in case of (and (not full) (not wildcard)). This is needed
13045 when dired is called with a list of files, which are not in
13046 `default-directory'. (Bug#5478)
13048 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13050 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13052 2010-02-02 Juri Linkov <juri@jurta.org>
13054 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13055 from unidiff to allow function-line after @@.
13057 2010-02-02 Juri Linkov <juri@jurta.org>
13059 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13060 '(RCS SCCS) with inverted condition.
13062 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13064 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13067 2010-02-01 Juri Linkov <juri@jurta.org>
13069 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13070 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13071 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13072 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13074 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13076 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13077 (doc-view-revert-buffer): New command.
13078 (doc-view-mode-map): Use it.
13080 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13082 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13083 pending merge is detected.
13085 2010-01-31 Juri Linkov <juri@jurta.org>
13087 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13088 beginning of interactive spec like all other grep commands do.
13089 Put "all" in front of "gz". (Bug#5260)
13091 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13093 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13095 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13097 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13098 regexp is incorrect (Bug#5476).
13100 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13102 * net/tramp.el (tramp-handle-insert-directory): Handle also
13103 symlinks, when FILENAME is not in `default-directory'.
13105 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13107 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13108 FILE is not in `default-directory'. (Bug#5478)
13110 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13111 of SWITCHES. Handle the case, FILENAME is not in
13112 `default-directory'. (Bug#5478)
13113 (tramp-register-file-name-handlers): Add safe-magic property.
13115 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13117 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13120 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13122 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13123 (flymake-master-make-header-init): Add other C++ filename masks.
13124 (flymake-find-possible-master-files)
13125 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13127 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13129 Fix some busybox annoyances.
13131 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13132 not responding." string.
13133 (tramp-open-connection-setup-interactive-shell): Dump stty
13134 settings. Enable "neveropen" arg for all `tramp-send-command'
13135 calls. Handle "=" in variable values properly.
13136 (tramp-find-inline-encoding): Raise an error, when no encoding is
13138 (tramp-wait-for-output): Check, whether PROC buffer is available.
13139 Remove spurious " ^H" sequences, sent by busybox.
13140 (tramp-get-ls-command): Suppress coloring, if possible.
13142 2010-01-28 Glenn Morris <rgm@gnu.org>
13144 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13146 * log-edit.el (log-edit-strip-single-file-name): Add missing
13147 :safe, :group, and :version tags.
13149 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13151 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13152 buffers. (Bug#5477)
13154 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13156 * files.el (delete-directory): Handle moving to trash without
13157 first doing recursion (Bug#5436).
13159 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13161 * vc-hooks.el (vc-path): Mark as obsolete.
13163 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13165 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13168 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13170 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13172 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13174 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13176 * vc-bzr.el (vc-bzr-revision-table): New function.
13178 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13180 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13181 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13183 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13185 Remove support for adding --signoff on commit.
13186 Future support will use an incompatible generic mechanism.
13187 * vc-git.el (vc-git-add-signoff): Remove variable.
13188 (vc-git-toggle-signoff): Remove function.
13189 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13191 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13192 Rename from xterm-set-background-mode. Return t if the background mode
13194 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13195 earlier, call it again in case the background mode has changed.
13197 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13199 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13202 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13204 * emacs-lisp/assoc.el (aelement): Doc fix.
13205 (aput, adelete, amake): Use lexical-let (Bug#5450).
13207 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13209 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13210 is the same as subprogram call, not declaration. (Bug#5435).
13212 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13214 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13215 (tramp-smb-maybe-open-connection): Use it.
13217 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13219 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13221 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13223 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13224 just because we see "encoding: 8bit".
13225 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13227 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13229 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13231 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13233 * jka-compr.el (jka-compr-load): If load-file is not in
13234 load-history, try its file-truename version. (bug#5447)
13236 2010-01-21 Alan Mackenzie <acm@muc.de>
13238 Fix a situation where deletion of a cpp construct throws an error.
13239 * progmodes/cc-engine.el (c-invalidate-state-cache):
13240 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13241 special cpp construct is still in the buffer.
13242 (c-parse-state): Record the special cpp with markers, not numbers.
13244 2010-01-21 Kenichi Handa <handa@m17n.org>
13246 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13247 process last-command-event, as it is now decoded first (Bug#5380).
13249 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13251 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13253 2010-01-20 Glenn Morris <rgm@gnu.org>
13255 * indent.el (tab-always-indent): Fix custom-type.
13257 2010-01-19 Alan Mackenzie <acm@muc.de>
13259 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13260 buffer throws "args out of range".
13261 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13262 playing the role of delimiter.
13264 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13266 * progmodes/ada-mode.el: Fix bug#5400.
13267 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13268 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13269 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13270 Improve comments in "is" portion. Handle null procedure declaration.
13271 (ada-move-to-end): Improve doc string.
13273 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13275 * ido.el (ido-cur-list): Initialize to nil.
13276 Remove obsolete information from commentary.
13277 (ido-choice-list): Initialize to nil.
13278 (ido-get-bufname): Reject minibuffers.
13279 (ido-make-buffer-list): If "default" is a nonexistent
13280 buffer, ignore it, as per the function's comment.
13281 (ido-kill-buffer-internal): New function.
13282 (ido-kill-buffer-at-head): Use it.
13283 (ido-visit-buffer): Likewise.
13285 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13287 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13289 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13291 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13292 Fix typos in chart titles.
13294 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13295 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13296 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13297 (describe-class, eieio-describe-generic, describe-generic):
13298 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13299 (eieio-speedbar-expand):
13300 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13301 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13302 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13303 (viper-del-backward-char-in-replace, viper-backward-indent)
13304 (viper-brac-function, viper-register-to-point, viper-submit-report):
13305 * net/tramp.el (tramp-remote-coding-commands):
13306 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13307 Fix typos in docstrings.
13309 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13311 * mail/sendmail.el (mail-yank-original): Set the mark if the
13312 specified function for yanking does not do it.
13314 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13316 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13318 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13319 resyncing a directory.
13321 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13323 * progmodes/ada-mode.el: Fix bug#1920.
13324 (ada-ident-re): Delete ., allow multibyte characters.
13325 (ada-goto-label-re): New; matches goto labels.
13326 (ada-block-label-re): New; matches block labels.
13327 (ada-label-re): New; matches both.
13328 (ada-named-block-re): Delete; callers changed to use
13329 `ada-block-label-re' instead.
13330 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13331 Use `ada-block-label-re'.
13332 (ada-indent-on-previous-lines): Improve handling of goto labels.
13333 (ada-get-indent-block-start): Special-case block label.
13334 (ada-get-indent-label): Split into `ada-indent-block-label' and
13335 `ada-indent-goto-label'.
13336 (ada-goto-stmt-start, ada-goto-next-non-ws):
13337 Optionally ignore goto labels.
13338 (ada-goto-next-word): Simplify.
13339 (ada-indent-newline-indent-conditional): Insert newline before
13340 trying to fix indentation; doc fix.
13342 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13344 * calc/calc.el (calc-command-flags): Give it an initial value.
13346 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13348 * files.el (minibuffer-with-setup-hook):
13349 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13350 (artist-key-draw-continously, artist-key-do-continously-continously)
13351 (artist-key-set-point-continously, artist-mouse-draw-continously):
13352 Fix typos in docstrings.
13354 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13356 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13357 Never return t (Bug#3898).
13359 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13361 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13362 can parse the output of the external commands (Bug#5279).
13364 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13366 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13368 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13370 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13372 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13374 * startup.el (command-line): Remove unused --icon-type arg.
13375 Handle --display arg, passing it to command-line-1 (Bug#5392).
13377 2010-01-16 Mario Lang <mlang@delysid.org>
13379 * emacs-lisp/chart.el (chart-translate-namezone):
13380 * textmodes/artist.el (artist-compute-popup-menu-table):
13381 Remove duplicated words in doc-strings.
13383 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13385 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13386 to mairix-search to suppress threading (Bug#5342).
13388 2010-01-15 Kenichi Handa <handa@m17n.org>
13390 * international/mule-cmds.el (canonicalize-coding-system-name):
13391 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13393 2010-01-15 Glenn Morris <rgm@gnu.org>
13395 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13397 * wid-edit.el (widget-keymap): Doc fix.
13399 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13400 former seems to be more widely accepted by various svn versions.
13402 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13404 * find-cmd.el (find-constituents):
13405 * vc-arch.el (vc-arch-root):
13406 * window.el (window-body-height, pop-up-frames):
13407 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13408 * progmodes/ada-stmt.el (ada-if):
13409 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13410 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13411 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13412 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13414 * progmodes/flymake.el (flymake-post-syntax-check):
13415 Fix typo in error message.
13417 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13419 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13420 which is always a string. (Bug#5313)
13422 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13424 * progmodes/ada-xref.el (ada-default-prj-properties):
13425 Simplify previous change.
13427 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13429 * progmodes/ada-xref.el (ada-default-prj-properties):
13430 Default ada_project_path to $ADA_PROJECT_PATH.
13432 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13434 * progmodes/ada-mode.el (ada-create-keymap):
13435 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13437 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13439 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13440 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13441 (ada-get-current-indent, ada-imenu-generic-expression)
13442 (ada-which-function): Check for it.
13444 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13446 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13447 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13449 2010-01-14 Glenn Morris <rgm@gnu.org>
13451 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13453 2010-01-14 Kenichi Handa <handa@m17n.org>
13455 * composite.el (auto-composition-mode): Make it a buffer local
13456 variable (permanent-local).
13457 (auto-composition-function): Set the default value to
13458 auto-compose-chars.
13459 (auto-composition-mode): Make it a simple function, not a minor mode.
13460 (global-auto-composition-mode): Likewise.
13461 (turn-on-auto-composition-if-enabled): Delete it.
13463 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13465 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13467 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13469 * files.el (copy-directory): Compute target for recursive
13470 directories with identical names. (Bug#5343)
13472 2010-01-12 Glenn Morris <rgm@gnu.org>
13474 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13475 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13477 2010-01-11 Sam Steingold <sds@gnu.org>
13479 * imenu.el (imenu-default-create-index-function): Detect infinite
13480 loops caused by imenu-prev-index-position-function.
13482 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13484 * htmlfontify.el (htmlfontify-load-rgb-file)
13485 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13486 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13487 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13488 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13489 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13490 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13491 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13492 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13493 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13494 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13495 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13496 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13497 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13498 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13499 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13500 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13501 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13502 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13503 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13504 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13505 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13506 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13507 backslash-quoting from parentheses, etc.
13509 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13511 * progmodes/js.el: Autoload javascript-mode alias.
13513 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13515 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13516 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13517 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13518 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13519 Fix typos in docstrings.
13520 (ffap-url-regexp): Doc fix.
13521 (ffap-at-mouse): Fix typo in message.
13523 2010-01-11 Glenn Morris <rgm@gnu.org>
13525 * version.el (emacs-copyright): Set copyright year to 2010.
13527 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13529 * format.el (format-annotate-function): Only set
13530 write-region-post-annotation-function after running to-fn so as not to
13531 affect nested write-region calls (bug#5273).
13533 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13535 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13538 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13540 * man.el (Man-goto-section): Signal error if the section is not
13543 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13545 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13546 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13548 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13550 * progmodes/compile.el: Don't treat compile-command as safe if
13551 compilation-read-command might be nil (Bug#4218).
13553 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13555 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13558 2010-01-08 Kenichi Handa <handa@m17n.org>
13560 * international/fontset.el (build-default-fontset-data):
13561 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13563 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13565 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13566 to `create-file-buffer' as it expects, not just a buffer name.
13567 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13568 to help uniquify. (Bug#3224)
13570 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13572 * font-setting.el (font-setting-change-default-font): Use user-spec
13575 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13577 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13579 2010-01-05 Tom Tromey <tromey@redhat.com>
13581 * progmodes/python.el (python-font-lock-keywords):
13582 Handle qualified decorators (Bug#881).
13584 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13586 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13587 in a lightweight checkout.
13589 2010-01-05 Kenichi Handa <handa@m17n.org>
13591 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13593 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13595 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13597 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13599 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13600 checkouts. (Bug#618)
13601 (vc-bzr-log-view-mode): Also highlight the author.
13602 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13603 (vc-bzr-shelve-menu-map):
13604 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13605 (vc-bzr-shelve-apply): Make prompt more explicit.
13607 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13609 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13610 They are valid characters in URL paths (rfc3986), and at least
13611 Firefox does not understand the encoded version (Bug#3166).
13613 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13615 * progmodes/octave-mod.el (octave-end-keywords)
13616 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13617 Add "end" keyword (Bug#3061).
13618 (octave-end-as-array-index-p): New function.
13619 (calculate-octave-indent): Use it.
13621 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13623 * bookmark.el: Consistently put the text property on the bookmark name.
13624 (bookmark-bmenu-marks-width): Bump back to 2, to include
13626 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13627 property on the bookmark name, instead of not putting it at all.
13628 (bookmark-bmenu-list): Fix where we put the text property.
13630 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13632 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13633 for showing buffer modified state (as added in the previous change).
13635 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13637 * bookmark.el: Show modified state of bookmark buffer more accurately.
13638 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13639 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13640 (with-buffer-modified-unmodified): New macro.
13641 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13642 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13643 Use new macro to preserve the buffer modified state.
13645 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13647 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13648 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13649 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13650 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13651 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13652 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13653 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13655 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13657 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13658 Make the lines in the generated doc string shorter. (Bug#4668)
13660 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13662 * net/rcirc.el: Add follow-link binding (Bug#4738).
13664 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13666 * Makefile.in (bzr-update): Rename from cvs-update.
13667 (cvs-update): New target for backward compatibility.
13669 * makefile.w32-in (bzr-update): Rename from cvs-update.
13670 (cvs-update): New target for backward compatibility.
13672 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13674 * bookmark.el: Remove gratuitous gratitude.
13676 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13678 * bookmark.el (bookmark-bmenu-any-marks): New function.
13679 (bookmark-bmenu-save): Clear buffer modification if no marks.
13681 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13683 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13684 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13685 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13686 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13688 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13689 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13690 To: emacs-devel {_AT_} gnu.org
13691 Subject: bookmark.el bug report
13692 Date: Mon, 28 Dec 2009 14:19:16 +0800
13693 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13695 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13697 * bookmark.el: Improvements suggested by Drew Adams:
13698 (bookmark-bmenu-ensure-position): New name for
13699 `bookmark-bmenu-check-position'. Just ensure the position,
13700 don't return any meaningful value.
13701 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13704 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13706 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13707 (bookmark-yank-point, bookmark-bmenu-check-position):
13708 Fix typos in docstrings.
13709 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13710 (bookmark-name-from-full-record, bookmark-get-position)
13711 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13712 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13713 Remove useless quoting of parenthesis, etc. in docstrings.
13715 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13716 (ediff-append-custom-diff): Fix typo in error message.
13717 (ediff-meta-mark-equal-files): Fix typos in messages.
13719 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13721 * net/imap-hash.el (imap-hash-make): Doc fix.
13722 (imap-hash-test): Fix typo in error message; reflow docstring.
13723 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13724 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13725 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13726 Fix typos in docstrings.
13727 (imap-hash-open-connection): Fix typo in error message.
13729 * play/gomoku.el (gomoku): Fix typos in docstring.
13731 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13732 (gdb-jsonify-buffer): Fix typos in docstring.
13733 (gdb-goto-breakpoint): Fix typo in error message.
13734 ("Display Other Windows"): Fix typo in help message.
13735 (gdb-speedbar-expand-node): Fix typo in question.
13737 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13738 (idlwave-html-system-help-location, idlwave-html-help-location)
13739 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13740 (idlwave-help-browser-generic-args, idlwave-help-directory)
13741 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13742 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13743 (idlwave-online-help, idlwave-help-html-link)
13744 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13745 Fix typos in docstrings.
13746 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13748 (idlwave-help-assistant-start): Fix typo in error message.
13750 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13751 (octave-electric-space): Fix typos in docstrings.
13753 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13755 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13757 2010-01-01 Juri Linkov <juri@jurta.org>
13759 * comint.el (comint-input-ring-size): Make it a defcustom and
13760 increase the default to 500 (Bug#5148).
13762 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13764 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13765 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13766 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13768 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13770 Show working revision correctly for mercurial.
13771 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13772 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13774 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13776 Declare some functions for the byte-compiler.
13777 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13778 (speedbar-timer-fn, speedbar-change-expand-button-char)
13779 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13781 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13783 This changeset reverts GDB Graphical Interface to use annotations.
13784 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13786 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13788 Make vc-dir work on subdirectories of the bzr root.
13789 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13790 Return file names relative to it.
13791 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13792 relative directory to vc-bzr-after-dir-status.
13794 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13796 * font-lock.el (font-lock-refresh-defaults): New function, which
13797 can be used to let font-lock react to external changes in
13798 variables like font-lock-defaults and keywords.
13799 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13801 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13803 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13805 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13807 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13809 Supersede color.diff settings in git log (bug#5211).
13811 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13812 escape chars in its output when the user has color.diff set to `always'.
13813 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13815 2009-12-26 Kevin Ryde <user42@zip.com.au>
13817 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13818 node. Keep previous "Index" name to work with past coreutils too.
13820 * man.el (man): Revise docstring a bit to show -a and -l as
13821 examples. Add -k description since support for it has otherwise
13822 been a secret. (Further to bug#3717.)
13823 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13824 "no matches" rather than "Can't find manpage", as the latter reads
13825 like -k was interpreted as a page name, which is not so. (Bug#5431)
13827 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13829 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13830 switches. Check also for //SUBDIRED// line.
13832 2009-12-25 Kenichi Handa <handa@m17n.org>
13834 * language/indian.el (devanagari-composable-pattern): Fix to
13835 handle ZWNJ and ZWJ. Use it in composition-function-table for
13837 (malayalam-composable-pattern): Fix previous change.
13839 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13841 * ps-print.el (ps-face-attributes): It was not returning the
13842 attribute face for faces specified as string. Reported by harven
13843 <harven@free.fr>. (Bug#5254)
13844 (ps-print-version): New version 7.3.5.
13846 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13848 * calendar/icalendar.el (icalendar--convert-tz-offset):
13849 Fix timezone names.
13850 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13851 (icalendar--add-diary-entry): Remove the trailing blank that
13852 diary-make-entry inserts.
13854 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13856 Make `file-expand-wildcards' work for remote files.
13858 * files.el (file-expand-wildcards): In case of remote files, check
13859 only local file name part for wildcards. Provide feature 'files
13860 and subfeature 'remote-wildcards. (Bug#5198)
13862 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13863 if there is already an established connection.
13864 (tramp-advice-file-expand-wildcards): Remove it.
13866 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13867 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13868 Activate advice for older GNU Emacs versions. (Bug#5237)
13870 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13872 Some doc fixes (more needed).
13874 * find-cmd.el (find-constituents): Reflow docstring.
13875 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13876 (find-generic): Doc fix.
13878 2009-12-17 Juri Linkov <juri@jurta.org>
13880 Fix regression from 23.1 to allow multiple modes in Local Variables.
13882 * files.el (hack-local-variables-filter): While ignoring duplicates,
13883 don't take `mode' into account.
13884 (hack-local-variables-filter, hack-dir-local-variables):
13885 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13887 2009-12-17 Juri Linkov <juri@jurta.org>
13889 Make `dired-diff' safer. (Bug#5225)
13891 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13892 `current' or when `file' is a directory of the `current' file.
13894 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13896 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13897 unconditionally preloaded files.
13899 2009-12-16 Juri Linkov <juri@jurta.org>
13901 Revert to old 23.1 logic of using the file at the mark as default.
13902 * dired-aux.el (dired-diff): Use the file at the mark as default
13903 if it's not the same as the current file, and the target dir is
13904 the current dir or the mark is active. Add the current file
13905 as the arg of `dired-dwim-target-defaults'. Use the default file
13906 in the prompt. (Bug#5225)
13908 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13910 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13911 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13912 (tramp-check-for-regexp): Check also, when an echoing shell stops
13913 to echo sent commands.
13915 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13917 * Makefile.in: Revert last change (Bug#5191).
13919 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13921 * vc-hg.el (vc-hg-print-log): Fix argument order.
13922 (vc-hg-working-revision): Make sure the command is executed in a
13923 known environment so that we can parse the output. (Bug#4417)
13925 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13927 * progmodes/python.el (python-symbol-completions): Remove text
13928 properties from symbol string before calling python-send-receive.
13930 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13932 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13933 when there are values for both file and line. (Bug#5060)
13935 2009-12-14 Juri Linkov <juri@jurta.org>
13937 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13938 whitespace after the file name of the first line of unified format,
13939 because git-diff doesn't output whitespace and file modification time
13940 after the file name.
13942 2009-12-14 David Kastrup <dak@gnu.org>
13944 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13945 check if it already has the `display' property added by
13946 `Info-display-images-node', and not put the `invisible' property
13949 2009-12-13 Glenn Morris <rgm@gnu.org>
13951 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13952 (report-emacs-bug): In message-mode, sort manually before storing
13953 original report text. (Bug#5178)
13954 Remove superfluous save-excursion.
13956 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13958 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13959 when responding to "GetAll" properties.
13961 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13963 * simple.el (compose-mail): Remove mail-setup-with-from from
13964 customization checks.
13966 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13968 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13969 RAR archives created on Unix systems.
13971 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13973 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13974 the varalias that was accidentally removed by the 2009-11-19 change
13977 2009-12-12 Kenichi Handa <handa@m17n.org>
13979 * language/indian.el (indian-compose-regexp): New function.
13980 (malayalam-composable-pattern): Fix the pattern.
13981 (composition-function-table): Set malayalam-composable-pattern for
13982 Malayalam characters.
13984 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13986 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13987 rather than down-mouse-1, based on follow-link conventions.
13989 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13992 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13994 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13995 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13996 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13997 (verilog-leap-to-head, verilog-backward-token):
13998 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14000 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14002 * progmodes/verilog-mode.el (verilog-auto-lineup)
14003 (verilog-nameable-item-re): Cleanup user-visible spelling and
14004 documentation errors. One reported by Gary Delp.
14005 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14006 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14007 package, bug195. Reported by Pierre-David Pfister.
14009 2009-12-11 Glenn Morris <rgm@gnu.org>
14011 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14013 * mail/emacsbug.el: No longer require sendmail.
14014 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14015 (report-emacs-bug-orig-text): Doc fix.
14016 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14017 New local variables, to adapt to different mail-user-agents.
14018 (report-emacs-bug): Fix test for a gnu.org address.
14019 Use overlays for emphasis, since font-lock defeats 'face property.
14020 Pretest bugs also end up at the newsgroup these days.
14021 Stop message-mode stripping text properties.
14022 Set and use the new buffer-local variables.
14023 (report-emacs-bug-hook): Add doc-string.
14024 Remove some unnecessary save-excursions and simplify.
14025 Use the appropriate hook and send-command.
14027 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14028 capitalization of some menu entries.
14030 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14032 * whitespace.el (whitespace-display-char-on):
14033 Ensure `buffer-display-table' is unique when two or more windows are
14034 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14037 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14039 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14040 characters in the Attribute field.
14042 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14044 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14046 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14048 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14049 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14050 Disregard autoload-excludes.
14051 (update-directory-autoloads): Obey autoload-excludes here instead.
14052 But don't store its contents in no-autoloads and remove entries that
14053 refer to excludes files.
14055 2009-12-10 Glenn Morris <rgm@gnu.org>
14057 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14058 (expand-mail-aliases): Define for compiler.
14060 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14061 Define for compiler.
14063 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14064 appropriate for the mail-user-agent in use.
14066 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14068 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14070 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14072 Fix short log parsing and fontification.
14073 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14074 Fix fontification for the [merge] label.
14076 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14078 Drop some properties to avoid surprises (bug#5002).
14079 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14080 (hfy-fontify-buffer): Use it.
14082 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14085 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14086 Adjust all callers.
14087 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14088 args compulsory. Adjust callers.
14089 (ffap-gopher-at-point): Remove unused var `name'.
14091 Get rid of the ELCFILES abomination.
14092 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14093 (compile-elcfiles): New phony target.
14094 (compile-main): Compute ELCFILES dynamically.
14095 (compile-clean): New target to remove left-over elc files.
14096 (compile, all): Use it.
14098 2009-12-09 Kenichi Handa <handa@etlken>
14100 * international/mule-diag.el: Require help-mode instead of help-fns.
14102 2009-12-09 Kenichi Handa <handa@m17n.org>
14104 * international/mule-cmds.el (ucs-names): Supply sufficiently
14105 fine ranges instead of pre-calculating accurate ranges.
14106 Iterate with bigger gc-cons-threshold.
14108 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14110 Add support for stashing a snapshot of the current tree.
14111 * vc-git.el (vc-git-stash-snapshot): New function.
14112 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14114 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14116 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14117 instead of `(beginning|end)-of-line'.
14119 2009-12-08 Glenn Morris <rgm@gnu.org>
14121 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14123 * Makefile.in (ELCFILES): Regenerate.
14125 2009-12-07 Juri Linkov <juri@jurta.org>
14127 Don't lazy-highlight the comint output in history Isearch mode.
14129 * comint.el (comint-history-isearch-search): Instead of
14130 `comint-line-beginning-position', use `comint-after-pmark-p'
14131 to check if point if before the process mark, and go to
14132 `process-mark' in this case.
14134 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14136 * textmodes/tex-mode.el (latex-complete)
14137 (latex-indent-or-complete): Remove.
14138 (latex-mode): Set completion-at-point-functions instead.
14140 Provide a standard completion command and hook it into TAB.
14141 * minibuffer.el (completion-at-point-functions): New var.
14142 (completion-at-point): New command.
14143 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14144 * progmodes/python.el (python-mode-map): Use completion-at-point.
14145 (python-completion-at-point): Rename from python-partial-symbol and
14146 adjust for use in completion-at-point-functions.
14147 (python-mode): Setup completion-at-point for Python completion.
14148 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14149 extracted from lisp-complete-symbol.
14150 (lisp-complete-symbol): Use it.
14151 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14152 setup completion-at-point for Elisp completion.
14153 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14154 Use completion-at-point.
14155 * ielm.el (ielm-map): Use completion-at-point.
14156 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14157 * progmodes/sym-comp.el: Move to...
14158 * obsolete/sym-comp.el: Move from progmodes.
14160 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14162 Prevent save-buffer in Rmail buffers from using the coding-system
14163 of the current message, and from clobbering the encoding mnemonics
14164 in the mode line (Bug#4623).
14166 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14168 (rmail-message-encoding): New variable.
14169 (rmail-write-region-annotate): Record the encoding of the current
14170 message in rmail-message-encoding.
14171 (rmail-after-save-hook): New function, restores the encoding of
14172 the current message after the message collection is saved.
14174 2009-12-07 Juri Linkov <juri@jurta.org>
14176 * progmodes/grep.el (grep-read-files): Use `completing-read'
14177 instead of `read-string'. Set its `collection' arg to
14178 `read-file-name-internal'. (Bug#4301)
14180 2009-12-07 Juri Linkov <juri@jurta.org>
14182 Correctly restore original Isearch point. (Bug#4994)
14184 * isearch.el (isearch-mode): Move `isearch-push-state' after
14185 `(run-hooks 'isearch-mode-hook)'.
14186 (isearch-cancel): When `isearch-push-state-function' is defined,
14187 let-bind `isearch-cmds' to the first state (the last element of
14188 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14189 function and restores the original point). Otherwise, move point
14190 to `isearch-opoint'.
14192 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14194 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14195 chars that don't have names, so the table can be built much faster at
14198 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14200 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14201 change. Suggested by David Kastrup.
14203 * simple.el (compose-mail): Check for incompatibilities and warn.
14204 (compose-mail-user-agent-warnings): New option.
14206 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14208 Support showing a single log entry from vc-annotate.
14209 * vc.el (print-log): Add a new argument: START-REVISION.
14210 (vc-print-log-internal): Add a new optional argument and
14211 pass it to the backend.
14212 (vc-print-log, vc-print-root-log): Adjust callers.
14213 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14214 buffer already displays the requested log entry, use it.
14215 Otherwise display only the log entry in question.
14216 * vc-svn.el (vc-svn-print-log):
14217 * vc-mtn.el (vc-mtn-print-log):
14218 * vc-hg.el (vc-hg-state):
14219 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14220 (vc-git-show-log-entry): Return t on success.
14221 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14222 (vc-bzr-show-log-entry): Return t on success.
14223 * vc-rcs.el (vc-rcs-print-log):
14224 * vc-sccs.el (vc-sccs-print-log):
14225 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14227 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14229 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14230 Add menus to the meta mode. (Bug#5043)
14232 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14234 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14237 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14239 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14241 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14242 Berbain <raphael.berbain@gmail.com>.
14244 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14246 (tramp-initial-end-of-output): New defconst.
14247 (tramp-methods, tramp-find-shell)
14248 (tramp-open-connection-setup-interactive-shell)
14249 (tramp-maybe-open-connection): Use it.
14250 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14251 Handle existence of `#' and `$'.
14253 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14254 Use `tramp-initial-end-of-output'.
14256 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14258 Get the background mode from the terminal for xterm, and set
14260 * term/xterm.el (xterm-set-background-mode): New function.
14261 (terminal-init-xterm): Use it in case xterm supports background
14262 color queries. Recompute faces after getting the background
14265 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14267 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14268 number comment back on its own line, for easier parsing.
14270 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14272 Make it work for non-file buffers (bug#5102).
14273 * doc-view.el (doc-view-current-cache-dir):
14274 Use doc-view-buffer-file-name rather than buffer-file-name.
14275 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14277 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14279 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14280 author field is too short.
14282 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14284 * vc-git.el (vc-git-print-log): Handle a limit argument.
14285 Display the short log in graph form and with labels.
14286 (vc-git-log-view-mode): Handle labels.
14288 Make vc-revert change VC state from 'added to 'unregistered.
14289 * vc-git.el (vc-git-revert): Call git reset first.
14291 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14293 * net/newst-backend.el, net/newst-plainview.el:
14294 * net/newst-reader.el, net/newst-ticker.el:
14295 * net/newst-treeview.el, net/newsticker.el:
14296 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14298 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14300 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14302 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14303 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14304 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14305 Update annotation regexp.
14307 * simple.el (beginning-of-visual-line): Constrain to field
14308 boundaries (Bug#5106).
14310 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14312 * xml.el (xml-substitute-numeric-entities):
14313 Move newsticker--decode-numeric-entities in newst-backend.el to
14314 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14315 * net/newst-backend.el (newsticker--parse-generic-feed)
14316 (newsticker--parse-generic-items)
14317 (newsticker--decode-numeric-entities):
14318 Move newsticker--decode-numeric-entities in newst-backend.el to
14319 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14321 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14323 * progmodes/js.el (js--js-not): Add null to the list of values.
14325 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14327 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14329 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14331 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14332 delimiter if it is at the end of the current line.
14333 (bibtex-generate-url-list): Fix docstring.
14335 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14337 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14338 minibuffer's content with itself.
14339 Fold the confirm-after-completion case into the `confirm' case.
14340 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14342 2009-12-06 Kevin Ryde <user42@zip.com.au>
14344 * ffap.el (ffap-rfc-path): Make this a defcustom since
14345 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14347 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14348 manuals, similar to existing setup for help-mode. (Bug#3913.)
14350 2009-12-05 Juri Linkov <juri@jurta.org>
14352 Save and restore dired buffer's point positions too. (Bug#4880)
14354 * dired.el (dired-save-positions): Return in the first element
14355 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14357 (dired-restore-positions): First restore buffer's position.
14358 While restoring window's positions, check if window still displays
14359 the original buffer.
14361 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14363 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14366 * shell.el (shell): Require ansi-color (Bug#5113).
14368 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14370 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14372 2009-12-05 Alan Mackenzie <acm@muc.de>
14374 * progmodes/cc-mode.el (c-before-hack-hook)
14375 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14376 `c-file-style' to work again. This reversion restores the current
14377 software to its state in Emacs 23.1. (Bug#4146)
14379 2009-12-05 Kevin Ryde <user42@zip.com.au>
14381 * textmodes/sgml-mode.el (sgml-lexical-context):
14382 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14384 2009-12-05 Juri Linkov <juri@jurta.org>
14386 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14387 for virtual nodes. (Bug#4147)
14388 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14389 when moving from a virtual node.
14390 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14391 (Info-mode): Add `Info-virtual-index' to the docstring.
14393 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14395 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14396 track of the buffer position of the end of a BibTeX entry as this
14397 position may change during reformatting.
14398 (bibtex-format-entry): Remove whitespace before processing
14399 numerical fields so that we recognize the latter properly.
14400 (bibtex-reformat): Do not use push which changes the global value
14401 of bibtex-entry-format.
14402 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14403 (bibtex-field-re-init): Replace only space characters by regexp
14405 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14406 (bibtex-initialize): Also update bibtex-strings.
14407 (bibtex-kill-field): Preserve white space at end of entry.
14408 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14409 Update bibtex-reference-keys.
14411 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14413 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14414 point after a star, if that's the only place where modifications can
14417 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14419 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14422 2009-12-04 Juri Linkov <juri@jurta.org>
14424 * proced.el (proced): Call `(proced-update t)' to update process
14425 information instead of only running proced-post-display-hook.
14426 (proced-send-signal): Add a leading space to the buffer name
14427 " *Marked Processes*" to make this buffer ephemeral.
14429 2009-12-04 Juri Linkov <juri@jurta.org>
14431 * dired.el (dired-auto-revert-buffer): New defcustom.
14432 (dired-internal-noselect): Use it.
14434 2009-12-04 Juri Linkov <juri@jurta.org>
14436 Change roles of modes and functions in image-mode.el (Bug#5062).
14438 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14439 in `auto-mode-alist'.
14440 (image-mode-previous-major-mode): New variable.
14441 (image-minor-mode-map): Rename from `image-mode-text-map'.
14442 (image-mode): Move graceful error-handling code from
14443 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14444 (image-minor-mode): Remove all image-handling code.
14445 Replace `image-mode-text-map' with `image-minor-mode-map'.
14446 Check for `image-type' in mode-line format string.
14447 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14448 (image-mode-as-text): New function with most code from
14449 `image-mode-maybe'.
14450 (image-toggle-display-text): Move code that removes image
14451 properties from `image-toggle-display' to here.
14452 (image-toggle-display-image): New function with code that adds
14453 image properties copied from `image-toggle-display'.
14454 (image-toggle-display): Remove most code with leaving only code
14455 that toggles between `image-mode-as-text' and `image-mode'.
14457 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14459 * net/newst-treeview.el
14460 (newsticker--treeview-list-highlight-start): Restored call to
14461 save-excursion: Selected item was stuck.
14462 (newsticker--treeview-list-select): New.
14463 (newsticker--treeview-item-show-text)
14464 (newsticker--treeview-item-show)
14465 (newsticker--treeview-item-update): Use new
14466 newsticker-treeview-item-mode.
14467 (newsticker-treeview-update): Keep current item.
14468 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14469 (newsticker--treeview-first-feed): Doc change.
14470 (newsticker-treeview-list-menu)
14471 (newsticker-treeview-item-menu): Add menu entries.
14472 (newsticker-treeview-item-mode): New.
14474 * net/newst-backend.el (newsticker-customize): Delete other
14477 2009-12-04 Sam Steingold <sds@gnu.org>
14479 * log-view.el (log-view-mode-map): "q" calls quit-window,
14480 like in all the other non-self-insert buffers.
14482 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14485 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14486 key decoding rather than do it manually via last-input-event +
14488 (term-exec): Use delete-and-extract-region.
14489 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14490 (term-process-pager): Remove unused var `i'.
14491 (term-dynamic-simple-complete): Make obsolete.
14492 (serial-update-config-menu): Remove unused vars `y' and `str'.
14493 (term-update-mode-line): Remove unused var `temp'.
14495 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14497 Limit the number of log entries displayed by default.
14498 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14499 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14500 using a prefix argument.
14502 2009-12-03 Glenn Morris <rgm@gnu.org>
14504 * progmodes/idlwave.el (class): Restore still useful declaration.
14506 2009-12-03 Alan Mackenzie <acm@muc.de>
14508 Enhance `c-parse-state' to run efficiently in "brace deserts".
14510 * progmodes/cc-mode.el (c-basic-common-init):
14511 Call c-state-cache-init.
14512 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14513 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14514 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14516 * progmodes/cc-langs.el (c-before-font-lock-function):
14517 c-extend-and-neutralize-syntax-in-CPP has been renamed
14518 c-neutralize-syntax-in-and-mark-CPP.
14520 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14521 with `category' properties now, not `syntax-table' ones.
14523 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14524 enhanced (but slower) version of c-end-of-macro that won't land
14525 inside a literal or on another awkward character.
14526 (c-state-cache-too-far, c-state-cache-start)
14527 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14528 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14529 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14530 (c-state-min-scan-pos, c-state-brace-pair-desert)
14531 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14532 buffer local variables.
14533 (c-state-literal-at, c-state-lit-beg)
14534 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14535 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14536 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14537 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14538 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14539 (c-renarrow-state-cache)
14540 (c-append-lower-brace-pair-to-state-cache)
14541 (c-state-push-any-brace-pair, c-append-to-state-cache)
14542 (c-remove-stale-state-cache)
14543 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14544 (c-invalidate-state-cache-1, c-parse-state-1)
14545 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14546 (c-parse-state): Enhance and refactor.
14547 (c-debug-parse-state): Amend to deal with all the new variables.
14549 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14550 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14551 modify to use category text properties rather than syntax-table ones.
14552 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14553 to switch off/on the syntactic paren property of C++ template
14554 delimiters using the category property.
14555 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14556 template delims suppressed.
14557 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14558 New constant/macros which apply category properties to the start
14559 and end of preprocessor constructs.
14560 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14561 "comment out" the syntactic value of characters in preprocessor
14563 (c-with-cpps-commented-out)
14564 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14565 with characters in all or all but one preprocessor constructs
14568 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14570 * proced.el (proced-filter-alist): Use regexp-quote.
14572 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14575 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14576 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14577 arguments. Expand `default-directory'.
14579 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14580 the benefit of returning an expanded localname.
14581 (tramp-tramp-file-p): Handle the case NAME is not a string.
14583 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14585 Add support for bzr shelve/unshelve.
14586 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14587 (vc-bzr-extra-menu-map): New variables.
14588 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14589 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14590 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14591 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14592 (vc-bzr-dir-extra-headers): Display shelves.
14594 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14596 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14598 * textmodes/bibtex.el (bibtex-complete-internal):
14599 Use completion-in-region.
14600 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14602 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14604 Support applying stashes. Improve UI.
14605 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14606 (vc-git-stash-apply, vc-git-stash-pop)
14607 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14608 (vc-git-stash-menu): New functions.
14609 (vc-git-stash-menu-map): New variable.
14610 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14612 2009-12-03 Glenn Morris <rgm@gnu.org>
14614 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14615 (vc-print-log-internal): Fix previous change.
14616 (vc-revert): Correct pluralization.
14618 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14620 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14621 it to be an alist any more.
14622 (makefile-complete): Use completion-in-region.
14624 * progmodes/octave-mod.el (octave-complete-symbol):
14625 Use completion-in-region.
14628 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14629 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14630 (idlwave-complete-class): Don't quote lambda.
14631 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14632 (idlwave-mode-map): Move initialization into declaration.
14633 (idlwave-action-and-binding): Use backquotes.
14634 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14636 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14637 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14638 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14639 `parts', and `all-parts'.
14640 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14641 (idlwave-convert-xml-system-routine-info): Remove unused string
14643 (idlwave-display-user-catalog-widget): Use dolist.
14644 (idlwave-scanning-lib): Declare dynamically-scoped var.
14645 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14646 (completion-highlight-first-word-only): Declare to silence bytecomp.
14647 (idlwave-popup-select): Tighten scope of `resp'.
14648 (idlwave-find-struct-tag): Remove unused var `beg'.
14649 (idlwave-after-load-rinfo-hook): Declare.
14650 (idlwave-sintern-class-info): Remove unused var `taglist'.
14651 (idlwave-find-class-definition): Remove unused var `list'.
14652 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14653 (idlwave-what-module-find-class): Remove unused var `classes'.
14655 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14657 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14659 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14661 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14662 buffers visited. Remove redundant current-buffer-saving.
14664 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14666 Use completion-in-buffer and remove uses of dynamic scoping.
14667 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14668 (pascal-buffer-to-use, pascal-flag): Don't declare.
14669 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14670 (pascal-get-completion-decl, pascal-keyword-completion):
14671 Add `pascal-str' argument, save-excursion,
14672 return the found completions, and don't filter with pascal-pred.
14673 (pascal-completion-cache): New var.
14674 (pascal-completion): Don't switch buffer any more (it was never
14675 necessary). Don't save-excursion any more (it's done by the called
14676 subroutines). Use a cache to avoid redundant computations.
14677 Use complete-with-action rather than pascal-completion-response and
14678 let it apply the predicate as well.
14679 (pascal-complete-word): Use completion-in-buffer when
14680 pascal-toggle-completions is nil.
14681 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14683 (pascal-comp-defun): Don't change buffer any more.
14684 Use complete-with-action rather than pascal-completion-response and
14685 let it apply the predicate as well.
14686 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14689 2009-12-02 Kenichi Handa <handa@m17n.org>
14691 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14692 shape for all Indic scripts.
14694 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14696 Use completion-in-buffer.
14697 * wid-edit.el (widget-field-text-end): New function.
14698 (widget-field-value-get): Use it.
14699 (widget-string-complete, widget-file-complete)
14700 (widget-color-complete): Use it and completion-in-region.
14701 (widget-complete): Don't narrow the buffer.
14703 2009-12-02 Glenn Morris <rgm@gnu.org>
14705 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14706 (rmail-select-summary): Use rmail-pop-to-buffer.
14707 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14708 rmail-pop-to-buffer, to prevent horizontal splits.
14710 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14711 save-excursion with save-current-buffer.
14712 Widen before searching. (Bug#5093)
14713 (diary-list-sexp-entries): Remove superfluous save-excursion.
14715 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14717 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14720 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14722 * ido.el (ido-file-internal): Handle filenames at point that do
14723 not have a directory part. (Bug#5049)
14725 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14727 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14728 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14730 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14732 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14733 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14736 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14738 * comint.el (comint-insert-input): Ignore clicks to the right of
14739 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14741 * vc.el (vc-print-log-internal): Don't wait for the process to
14742 terminate before setting up the major mode.
14744 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14747 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14750 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14752 2009-12-01 Glenn Morris <rgm@gnu.org>
14754 * window.el (window--display-buffer-2): Fix previous changes.
14756 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14758 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14760 2009-12-01 Glenn Morris <rgm@gnu.org>
14762 * Makefile.in (ELCFILES): Add mpc.elc.
14764 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14766 * mpc.el: New file.
14768 2009-12-01 Glenn Morris <rgm@gnu.org>
14770 * window.el (window-to-use): Define for compiler.
14772 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14773 consistent with others (no final period).
14775 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14776 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14778 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14780 Make vc-print-log buttons work.
14781 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14783 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14785 * savehist.el (savehist-autosave-interval): Allow setting to nil
14786 through customize. (Bug#5056)
14788 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14790 Fix references to jit-lock properties.
14791 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14792 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14793 (perl-font-lock-special-syntactic-constructs):
14794 Quote jit-lock-defer-multiline property.
14796 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14798 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14800 2009-11-30 Juri Linkov <juri@jurta.org>
14802 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14803 value `buffer' of `multi-isearch-next-buffer-current-function'.
14804 Use `(current-buffer)' when `buffer' is nil.
14805 (multi-isearch-next-buffer-from-list): Don't fallback to
14806 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14808 2009-11-30 Juri Linkov <juri@jurta.org>
14810 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14811 of buffers with `get-buffer' to `multi-isearch-buffers'.
14812 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14813 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14814 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14815 FILES with `expand-file-name' converting relative file names
14816 to absolute. Doc fix. (Bug#4727)
14818 2009-11-30 Juri Linkov <juri@jurta.org>
14820 * misearch.el (multi-isearch-read-buffers)
14821 (multi-isearch-read-matching-buffers): New functions.
14822 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14823 Use them in the `interactive' spec. Doc fix.
14824 (multi-isearch-read-files, multi-isearch-read-matching-files):
14826 (multi-isearch-files, multi-isearch-files-regexp):
14827 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14829 2009-11-30 Juri Linkov <juri@jurta.org>
14831 * doc-view.el (doc-view-continuous):
14832 Rename from `doc-view-continuous-mode'.
14833 (doc-view-menu): Move "Toggle display" to the top.
14834 Add submenu "Continuous" with radio buttons "Off"/"On"
14835 and "Save as Default".
14836 (doc-view-scroll-up-or-next-page)
14837 (doc-view-scroll-down-or-previous-page)
14838 (doc-view-next-line-or-next-page)
14839 (doc-view-previous-line-or-previous-page):
14840 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14842 2009-11-30 Juri Linkov <juri@jurta.org>
14844 * comint.el (comint-mode-map): Rebind `M-r' from
14845 `comint-previous-matching-input' to
14846 `comint-history-isearch-backward-regexp'.
14847 Unbind `M-s' to allow global key binding `M-s'.
14848 Add menu items for `comint-history-isearch-backward' and
14849 `comint-history-isearch-backward-regexp'. (Bug#3746)
14851 2009-11-30 Juri Linkov <juri@jurta.org>
14853 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14854 For def=recenter, replace `recenter' with `recenter-top-bottom'
14855 that is called with `this-command' and `last-command' let-bound
14856 to `recenter-top-bottom'. When the last `def' was not `recenter',
14857 set `recenter-last-op' to nil. (Bug#4981)
14859 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14861 Minor cleanup and simplification.
14862 * filecache.el (file-cache-add-directory)
14863 (file-cache-add-directory-recursively)
14864 (file-cache-add-from-file-cache-buffer)
14865 (file-cache-delete-file-regexp, file-cache-delete-directory)
14866 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14867 (file-cache-temp-minibuffer-message): Delete function.
14868 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14870 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14871 Don't signal an error when bumping into EOB in tr, s, or y.
14873 2009-11-29 Juri Linkov <juri@jurta.org>
14875 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14878 * descr-text.el (describe-char-unidata-list): Use lowercase name
14879 for "Unicode name" like in other tags.
14881 2009-11-29 Juri Linkov <juri@jurta.org>
14883 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14884 New compatibility macro.
14885 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14887 2009-11-29 Juri Linkov <juri@jurta.org>
14889 Add defcustom to define the cycling order of `recenter-top-bottom'.
14892 * window.el (recenter-last-op): Doc fix.
14893 (recenter-positions): New defcustom.
14894 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14895 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14897 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14899 Improve integration of Tramp and ange-ftp in eshell.
14901 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14902 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14903 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14905 * eshell/esh-util.el (top): Require also Tramp when compiling.
14906 (eshell-directory-files-and-attributes): Check for FTP remote
14908 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14909 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14910 (eshell-file-attributes): Handle ".". Return `entry'.
14912 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14913 (ange-ftp-directory-files-and-attributes)
14914 (ange-ftp-real-directory-files-and-attributes): New defuns.
14916 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14917 shell with "exec" when possible. This prevents trailing prompts
14918 in `start-file-process'.
14920 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14922 Try and remove assumptions about point-min==1.
14923 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14924 (rng-compute-mode-line-string): Show the validation percentage in
14925 terms of the narrowed text, not the widened text.
14926 (rng-do-some-validation): Don't catch internal errors when debugging.
14927 (rng-first-error): Simplify.
14928 (rng-after-change-function): Remove work around. AFAIK the bug has
14929 been fixed a while ago.
14931 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14932 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14934 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14936 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14937 `cd' doesn't always do it for us (bug#5067).
14939 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14940 on 2009-10-25 as part of some other change (bug#5067).
14942 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14944 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14946 (byte-compile-warnings): Use byte-compile-warning-types.
14947 (byte-compile-save-excursion): Warn about use of set-buffer right
14948 after save-excursion.
14950 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14951 the excursion as well.
14953 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14955 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14956 providing a Tramp related implementation of "su" and "sudo".
14957 (eshell-unix-initialize): Add "su" and "sudo".
14959 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14961 * net/socks.el (socks-send-command): Convert binary request to
14962 unibyte before sending. This fixes mishandling of some port
14963 numbers such as 129.
14965 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14967 * help.el (describe-bindings-internal): Remove `interactive'.
14969 * man.el (Man-completion-table): Trim a terminating "(".
14970 Remove the space between name page a section.
14971 Add the command's description on the `help-echo' property.
14972 Remove `process-connection-type' binding since it's unused by
14974 Provide completion for the "<section> <name>" format as well.
14975 (Man-default-man-entry): Remove spurious var shadowing the argument.
14977 2009-11-26 Kevin Ryde <user42@zip.com.au>
14979 * log-view.el: Add "Keywords: tools", since its other keywords
14980 aren't in finder-known-keywords, and following vc.el.
14982 * sha1.el (sha1-string-external): default-directory "/" in case
14983 otherwise non-existent. process-connection-type pipe for touch of
14984 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14986 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14988 Misc coding convention cleanups.
14989 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14990 hfy-init-kludge-hooks.
14991 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14992 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14993 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14995 (hfy-slant, hfy-weight): Use tables rather than code.
14996 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14997 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14998 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14999 (hfy-face-to-css): Remove `nconc' with single arg.
15000 (hfy-p-to-face-lennart): Use `or'.
15001 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15002 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15003 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15004 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15005 (hfy-force-fontification): Use run-hooks.
15007 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15009 Various minor fixes.
15010 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15011 Javascript belongs in the header, not the body.
15012 (hfy-javascript): Remove.
15013 (hfy-fontify-buffer): Don't insert it any more.
15014 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15015 Fix bug in invis handling when there were no invis props in a chunk.
15017 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15019 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15021 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15023 * finder.el (finder-mode-map): Add a menu.
15025 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15027 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15028 "unsigned" structs.
15030 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15031 fork" statement better.
15033 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15035 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15036 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15037 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15038 Reported by Clay Douglass.
15040 (verilog-auto-inst, verilog-auto-star-safe)
15041 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15042 Fix removing "// Interfaces" when saving .* expansions.
15043 Reported by Pierre-David Pfister.
15045 2009-11-26 Glenn Morris <rgm@gnu.org>
15047 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15050 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15052 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15053 Really use previous revision.
15055 2009-11-25 Kevin Ryde <user42@zip.com.au>
15057 * man.el (Man-completion-table): default-directory "/" in case
15058 doesn't otherwise exist. process-environment COLUMNS=999 so as
15059 not to truncate long names. process-connection-type pipe to avoid
15060 any chance of hitting the pseudo-tty TIOCGWINSZ.
15061 (man): completion-ignore-case t for friendliness and since man
15062 itself is case-insensitive on the command line.
15063 Further to Bug#3717.
15065 * arc-mode.el: Add "Keywords: files", so the details in its
15066 commentary can be reached from finder-by-keyword.
15067 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15068 editing mode, but it's comms related and sgml-mode.el has "comm"
15070 * textmodes/bibtex-style.el: Add "Keywords: tex".
15071 * international/isearch-x.el, international/ja-dic-cnv.el:
15072 * international/ja-dic-utl.el, international/kkc.el:
15073 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15075 2009-11-25 Juri Linkov <juri@jurta.org>
15077 * man.el (Man-completion-table): Modify regexp to include
15078 section names to completion strings. (Bug#3717)
15080 2009-11-25 Juri Linkov <juri@jurta.org>
15082 Search recursively in gzipped files. (Bug#4982)
15084 * progmodes/grep.el (grep-highlight-matches): Add new options
15085 `always' and `auto'. Doc fix.
15086 (grep-process-setup): Check `grep-highlight-matches' for
15087 `auto-detect' to determine the need to compute grep defaults.
15088 Move Windows/DOS specific --colors settings handling
15089 to `grep-compute-defaults'. Check `grep-highlight-matches'
15090 to get the value of "--color=".
15091 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15092 has the value `auto-detect'. Move Windows/DOS specific settings
15093 from `grep-process-setup'.
15094 (zrgrep): New command with alias `rzgrep'.
15096 2009-11-25 Juri Linkov <juri@jurta.org>
15098 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15099 to nil instead of switching off view-mode. (Bug#4896)
15101 2009-11-25 Juri Linkov <juri@jurta.org>
15103 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15105 * mwheel.el (mwheel-scroll-up-function)
15106 (mwheel-scroll-down-function): New defvars.
15107 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15108 `scroll-up', and `mwheel-scroll-down-function' instead of
15111 * doc-view.el (doc-view-scroll-up-or-next-page)
15112 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15113 Use this ARG in the call to image-scroll-up/image-scroll-down.
15114 Change `interactive' spec to "P". Goto next/previous page only
15115 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15116 SPC/DEL case). Doc fix.
15117 (doc-view-next-line-or-next-page)
15118 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15120 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15121 `doc-view-scroll-up-or-next-page', and buffer-local
15122 `mwheel-scroll-down-function' to
15123 `doc-view-scroll-down-or-previous-page'.
15125 2009-11-25 Juri Linkov <juri@jurta.org>
15127 Provide additional default values (directories at other Dired
15128 windows) via M-n in the minibuffer of some Dired commands.
15130 * dired-aux.el (dired-diff, dired-compare-directories)
15131 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15132 `minibuffer-default' in `minibuffer-with-setup-hook'.
15133 (dired-dwim-target-directory): Find a window that displays Dired
15134 buffer instead of failing when the next window is not Dired.
15135 Use `get-window-with-predicate' to find for the next Dired window.
15136 (dired-dwim-target-defaults): New function.
15138 * ediff-util.el (ediff-read-file-name):
15139 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15140 in `minibuffer-with-setup-hook'.
15142 2009-11-25 Juri Linkov <juri@jurta.org>
15144 Provide additional default values (file name at point or at the
15145 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15147 * minibuffer.el (read-file-name-defaults): New function.
15148 (read-file-name): Reset `minibuffer-default' to nil when
15149 it duplicates initial input `insdef'.
15150 Bind `minibuffer-default-add-function' to lambda that
15151 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15152 (minibuffer-insert-file-name-at-point): New command.
15154 * files.el (file-name-at-point-functions): New defcustom.
15155 (find-file-default): Remove defvar.
15156 (find-file-read-args): Don't use `find-file-default'.
15157 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15158 to `read-file-name'.
15159 (find-file-literally): Use `read-file-name' with
15160 `confirm-nonexistent-file-or-buffer'.
15162 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15164 * dired.el (dired-read-dir-and-switches):
15165 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15166 to `read-file-name'.
15167 (dired-file-name-at-point): New function.
15168 (dired-mode): Add hook `dired-file-name-at-point' to
15169 `file-name-at-point-functions'.
15171 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15173 Really make the *Completions* window soft-dedicated (bug#5030).
15174 * window.el (window--display-buffer-2): Add `dedicated' argument.
15175 (display-buffer): Pass it when needed so the dedicated flag is set
15176 after calling set-window-buffer, which would otherwise reset it.
15178 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15180 * progmodes/meta-mode.el (meta-complete-symbol):
15181 * progmodes/etags.el (complete-tag):
15182 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15183 Use completion-in-region.
15185 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15186 (dabbrev-completion): Use completion-in-region.
15187 (dabbrev--abbrev-at-point): Simplify regexp.
15189 * abbrev.el (abbrev--before-point): Use word-motion functions
15190 if :regexp is not specified (bug#5031).
15192 * subr.el (string-prefix-p): New function.
15194 * man.el (Man-completion-cache): New var.
15195 (Man-completion-table): Use it.
15197 * vc.el (vc-print-log-internal): Make `limit' optional for better
15198 compatibility (e.g. with vc-annotate.el).
15200 2009-11-24 Kevin Ryde <user42@zip.com.au>
15202 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15203 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15205 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15206 when .el source file not found or other error.
15208 2009-11-24 Markus Triska <markus.triska@gmx.at>
15210 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15212 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15214 Handle the [back] button properly (bug#4979).
15215 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15216 Use help-setup-xref, help-buffer, and with-help-window.
15217 (describe-char): Add `buffer' argument.
15218 Pass proper command to help-setup-xref. Don't meddle with
15219 help-xref-stack-item directly.
15220 (describe-text-category): Use with-help-window and help-buffer.
15222 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15223 for the displayed buffer (bug#4887).
15225 * man.el (Man-completion-table): New function.
15228 2009-11-24 David Reitter <david.reitter@gmail.com>
15230 * vc-git.el (vc-git-registered): Use checkout directory (where
15231 .git is) rather than the file's directory and a relative path spec
15232 to work around a bug in git.
15234 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15236 Improve handling of processes on remote hosts.
15238 * eshell/esh-util.el (eshell-path-env): New defvar.
15239 (eshell-parse-colon-path): New defun.
15240 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15242 * eshell/esh-ext.el (eshell-search-path):
15243 Use `eshell-parse-colon-path'.
15244 (eshell-remote-command): Remove argument HANDLER.
15245 (eshell-external-command): Check for FTP remote connection.
15247 * eshell/esh-proc.el (eshell-gather-process-output):
15248 Use `file-truename', in order to start also symlinked files.
15249 Apply `start-file-process' instead of `start-process'.
15250 Shorten `command' to the local file name part.
15252 * eshell/em-cmpl.el (eshell-complete-commands-list):
15253 Use `eshell-parse-colon-path'.
15255 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15257 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15258 to `eshell-directory-change-hook'.
15260 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15262 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15263 because it could be enabled automatically if view-read-only is non-nil.
15265 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15267 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15268 made on 2009-11-22.
15270 2009-11-24 Glenn Morris <rgm@gnu.org>
15272 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15273 deleted variable bookmark-bmenu-bookmark-column.
15275 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15277 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15279 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15281 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15282 two slashes to the "file:" prefix.
15283 (browse-url-file-url): De-munge Cygwin filenames before passing
15284 them to Windows browser.
15285 (browse-url-default-windows-browser): Use call-process.
15287 2009-11-23 Juri Linkov <juri@jurta.org>
15289 Implement DocView Continuous mode. (Bug#4896)
15290 * doc-view.el (doc-view-continuous-mode): New defcustom.
15291 (doc-view-mode-map): Bind C-n/<down> to
15292 `doc-view-next-line-or-next-page', C-p/<up> to
15293 `doc-view-previous-line-or-previous-page'.
15294 (doc-view-next-line-or-next-page)
15295 (doc-view-previous-line-or-previous-page): New commands.
15297 2009-11-23 Juri Linkov <juri@jurta.org>
15299 Implement Isearch in comint input history. (Bug#3746)
15300 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15301 `isearch-mode-hook'.
15302 (comint-history-isearch): New defcustom.
15303 (comint-history-isearch-backward)
15304 (comint-history-isearch-backward-regexp): New commands.
15305 (comint-history-isearch-message-overlay): New buffer-local variable.
15306 (comint-history-isearch-setup, comint-history-isearch-end)
15307 (comint-goto-input, comint-history-isearch-search)
15308 (comint-history-isearch-message, comint-history-isearch-wrap)
15309 (comint-history-isearch-push-state)
15310 (comint-history-isearch-pop-state): New functions.
15312 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15314 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15316 (tramp-handle-make-symbolic-link)
15317 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15319 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15320 (tramp-handle-process-file): Use it.
15322 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15324 * window.el (move-to-window-line-last-op): Remove.
15325 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15327 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15329 Make M-r mirror the new cycling behavior of C-l.
15330 * window.el (move-to-window-line-last-op): New var.
15331 (move-to-window-line-top-bottom): New command.
15332 (global-map): Bind M-r move-to-window-line-top-bottom.
15334 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15336 * dired-x.el (dired-guess-shell-alist-default):
15337 Support xz format. (Bug#4953)
15339 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15341 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15342 last-command-char/last-command-event.
15343 (viper-prefix-arg-value): Do correct conversion of event-char for
15346 * emulation/viper-util.el, emulation/viper.el:
15347 Use viper-last-command-char instead of
15348 last-command-char/last-command-event.
15350 * ediff-init.el, ediff-mult.el, ediff-util.el:
15351 Replace last-command-char and last-command-event
15352 with (ediff-last-command-char) everywhere.
15354 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15355 created in fundamental mode.
15357 * ediff.el (ediff-version): Revert the change of interactive-p to
15358 called-interactively-p.
15360 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15362 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15363 generation from word-movement command names.
15365 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15367 * cus-start.el (all): Add native condition for font-use-system-font.
15369 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15371 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15372 Correct the patch from 2009-11-18. (Bug#3910)
15374 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15376 * progmodes/subword.el: Rename from lisp/subword.el.
15378 * subword.el: Rename to progmodes/subword.el.
15380 * Makefile.in (ELCFILES): Adapt to subword.el move.
15382 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15383 Stefan Monnier <monnier@iro.umontreal.ca>
15385 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15386 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15387 (bookmark-bmenu-show-filenames): Use push.
15388 (bookmark-bmenu-hide-filenames): Use local var instead of
15389 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15390 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15391 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15392 filenames now that the bookmark names are always available.
15394 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15396 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15397 (bookmark-search-pattern): Move and leave unbound.
15398 (bookmark-bmenu-mode-map): Change binding.
15399 (bookmark-read-search-input): Simplify.
15400 Don't use text-char-description. Don't error on non-char events.
15401 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15402 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15403 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15404 Use a local var for the timer.
15405 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15406 (i.e. bookmark-bmenu-search).
15408 2009-11-21 Glenn Morris <rgm@gnu.org>
15410 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15412 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15414 * net/browse-url.el (browse-url-default-windows-browser):
15415 Use cygstart for cygwin.
15417 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15419 * bookmark.el: Formatting and doc fixes only:
15420 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15421 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15422 Minor grammar and punctuation fixes in doc string.
15423 (bookmark-read-search-input): Adjust to fit within 80 columns.
15425 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15427 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15428 (c-backward-into-nomenclature): Adapt to subword renaming.
15430 * subword.el (subword-forward, subword-backward, subword-mark)
15431 (subword-kill, subword-backward-kill, subword-transpose)
15432 (subword-downcase, subword-upcase, subword-capitalize)
15433 (subword-forward-internal, subword-backward-internal):
15434 Rename from forward-subword, backward-subword, mark-subword,
15435 kill-subword, backward-kill-subword, transpose-subwords,
15436 downcase-subword, upcase-subword, capitalize-subword,
15437 forward-subword-internal, backward-subword-internal.
15439 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15441 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15443 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15445 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15446 (bookmark-bmenu-filter-alist-by-regexp)
15447 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15448 (bookmark-bmenu-search): New command.
15449 (bookmark-bmenu-mode-map): Bind it.
15451 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15453 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15454 backward-subword to quit the byte-compiler.
15456 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15458 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15460 * progmodes/cc-cmds.el (c-update-modeline)
15461 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15462 Refer to subword.el functions instead of cc-subword.el.
15464 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15465 subword.el functions instead of cc-subword.el.
15467 * progmodes/cc-subword.el: Rename to subword.el.
15468 * subword.el: Rename from progmodes/cc-subword.el.
15469 (subword-mode-map): Rename from c-subword-mode-map.
15470 (subword-mode): Rename from c-subword-mode.
15471 (global-subword-mode): New global minor mode.
15472 (forward-subword): Rename from c-forward-subword.
15473 (backward-subword): Rename from c-backward-subword.
15474 (mark-subword): Rename from c-mark-subword.
15475 (kill-subword): Rename from c-kill-subword.
15476 (backward-kill-subword): Rename from c-backward-kill-subword.
15477 (transpose-subwords): Rename from c-tranpose-subword.
15478 (downcase-subword): Rename from c-downcase-subword.
15479 (capitalize-subword): Rename from c-capitalize-subword.
15480 (forward-subword-internal): Rename from c-forward-subword-internal.
15481 (backward-subword-internal): Rename from c-backward-subword-internal.
15483 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15485 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15486 from a dired buffer.
15487 (vc-dired-deduce-fileset): New function.
15488 (vc-root-diff, vc-print-root-log): Use it.
15490 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15491 nil LIMIT argument to vc-print-log-internal.
15493 2009-11-20 Glenn Morris <rgm@gnu.org>
15495 * Makefile.in (ELCFILES): Regenerate.
15497 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15499 * calc/calc.el (calc-set-mode-line):
15500 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15501 (math-format-number): Rename `math-format-complement-signed' to
15502 `math-format-twos-complement'.
15504 * calc/calc-bin.el (math-format-twos-complement): Rename from
15505 math-format-complement-signed.
15506 (calc-radix): Rename `calc-complement-signed-mode' to
15507 `calc-twos-complement-mode'.
15508 (calc-octal-radix, calc-hex-radix): Add an argument for
15511 * calc/calc-embed.el (calc-embedded-mode-vars):
15512 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15514 * calc/calc-ext.el (calc-init-extensions):
15515 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15516 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15518 * calc/calc-units.el (math-build-units-table-buffer):
15519 Let `calc-twos-complement-mode' be nil.
15521 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15524 * calc/calc-vec.el (calcFunc-vunpack):
15525 * calc/calc-aent.el (calc-do-calc-eval):
15526 * calc/calc-forms.el (math-format-date):
15527 * calc/calc-graph.el (calc-graph-plot):
15528 * calc/calc-math.el (math-use-emacs-fn):
15529 * calc/calccomp.el (math-compose-expr):
15530 Let `calc-twos-complement-mode' be nil.
15532 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15534 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15535 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15536 * minibuffer.el (completion-in-region-functions): New hook.
15537 (completion-in-region): New function.
15538 * emacs-lisp/lisp.el (lisp-complete-symbol):
15539 * pcomplete.el (pcomplete-std-complete): Use it.
15541 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15543 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15544 (latex-complete-alist): New vars.
15545 (latex-string-prefix-p, latex-complete-bibtex-keys)
15546 (latex-complete-envnames, latex-complete-refkeys)
15547 (latex-complete-data): New functions.
15548 (latex-complete, latex-indent-or-complete): New commands.
15550 * window.el (display-buffer-mark-dedicated): New var.
15551 (display-buffer): Obey it.
15552 * minibuffer.el (minibuffer-completion-help): Use it.
15554 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15556 * filecache.el (file-cache-add-file): Use push and cons.
15557 (file-cache-delete-file-regexp): Use push.
15558 (file-cache-complete): Use completion-in-region.
15560 * simple.el (with-wrapper-hook): Fix thinko.
15562 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15563 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15564 Use with-current-buffer and string-to-number.
15565 (hfy-fallback-colour-values): Use assoc-string.
15566 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15567 (hfy-face-at): Remove unused var `found-face'.
15568 (hfy-compile-stylesheet): Remove unused var `css'.
15569 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15571 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15572 Use with-current-buffer.
15573 (hfy-text-p): Use expand-file-name and fewer setq.
15575 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15577 * htmlfontify.el, hfy-cmap.el: New files.
15579 2009-11-19 Juri Linkov <juri@jurta.org>
15581 * minibuffer.el (completions-format): New defcustom.
15582 (completion--insert-strings): Implement vertical format.
15584 * simple.el (switch-to-completions): Move point to the first
15585 completion when point was at the beginning of the buffer.
15587 2009-11-19 Juri Linkov <juri@jurta.org>
15589 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15591 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15593 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15595 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15596 (mail-signature): Change default to t.
15597 (mail-from-style): Deprecate `system-default' value.
15598 (mail-insert-from-field): For default value of mail-from-style,
15599 default to `angles' unless `angles' needs quoting and `parens'
15601 (mail-citation-prefix-regexp): Use citation regexp from
15604 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15606 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15607 Set variables for computing the prompt for reading password.
15609 2009-11-19 Glenn Morris <rgm@gnu.org>
15611 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15613 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15615 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15616 (newsticker-treeview-listwindow-height): Fix custom type.
15618 2009-11-19 Kenichi Handa <handa@m17n.org>
15620 * descr-text.el (describe-char-padded-string): Compose with TAB
15621 only if there's a font for CH.
15622 (describe-char): Fix the condition for detecting a trivial composition.
15624 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15626 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15627 more accurate version of the regexp. (Bug#3910)
15629 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15631 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15633 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15635 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15636 (font-setting-change-default-font): Fix typo in docstring.
15638 2009-11-18 Alan Mackenzie <acm@muc.de>
15640 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15642 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15644 * font-setting.el (font-use-system-font): Move ...
15646 * cus-start.el (all): ... to here.
15648 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15650 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15651 Don't set `ad-return-value' if `ad-do-it' doesn't.
15653 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15656 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15658 * menu-bar.el: Put "Use system font" in Option-menu.
15659 (menu-bar-options-save): Add font-use-system-font.
15661 * loadup.el: If feature system-font-setting or font-render-setting is
15662 there, load font-setting.
15664 * Makefile.in (ELCFILES): Add font-settings.el.
15665 * font-setting.el: New file.
15667 2009-11-17 Glenn Morris <rgm@gnu.org>
15669 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15671 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15672 Preserve point in the list buffer. (Bug#4939)
15674 (newsticker--treeview-list-update-highlight)
15675 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15677 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15679 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15682 * calc/calc-ext.el (calc-init-extensions): Remove references to
15685 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15687 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15688 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15691 2009-11-16 Kevin Ryde <user42@zip.com.au>
15693 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15694 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15696 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15697 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15698 Ignore trailing spaces by omit-nulls to split-string (fixing
15699 regression from Emacs 21 due to the incompatible split-string
15700 change). (Bug #4928.)
15702 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15704 * vc.el (vc-log-show-limit): Default to 2000.
15705 (vc-print-log-internal): Insert buttons to request more entries
15706 when limiting the output.
15708 * vc-sccs.el (vc-sccs-print-log):
15709 * vc-rcs.el (vc-rcs-print-log):
15710 * vc-cvs.el (vc-cvs-print-log):
15711 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15714 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15716 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15717 error when `tramp-gvfs-dbus-event-vector' is set.
15718 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15720 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15722 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15724 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15726 * net/dbus.el (dbus-unregister-service): New defun.
15727 (dbus-register-property): Register the handlers of
15728 "org.freedesktop.DBus.Properties" for SERVICE.
15729 (dbus-property-handler): Fix docstring.
15731 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15733 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15734 Quote doc string reference in defvaralias as it is not in special form.
15735 (byte-compile-output-docform): Doc fix.
15737 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15739 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15740 (calc-complement-signed-mode): New variables.
15741 (calc-set-mode-line): Add indicator for twos-complements.
15742 (math-format-number): Format twos-complement notation.
15744 * calc/calc-bin.el (calc-word-size): Reset the variables
15745 `math-2-word-size' and `math-half-2-word-size'.
15746 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15747 (calc-symclip): New functions.
15749 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15751 * calc/calc-embed.el (calc-embedded-mode-vars):
15752 Add `calc-complement-signed-mode' to the list of modes.
15754 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15755 (calc-b-oper-keys): Add `calc-symclip' to list.
15757 * calc/calc-ext.el (math-read-number-fancy): Read complement
15759 (calc-init-extensions): Add binding for `calc-symclip'.
15760 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15762 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15764 (calc-modes-menu): Add item for twos complement mode.
15766 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15768 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15770 * register.el (jump-to-register, insert-register): Handle Semantic
15771 tags. From commented-out advice in semantic/senator.el.
15773 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15775 * vc.el (vc-log-show-limit): New variable.
15776 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15777 when using a prefix argument.
15778 (vc-print-log-internal): Add new argument LIMIT.
15780 * vc-svn.el (vc-svn-print-log):
15781 * vc-mtn.el (vc-mtn-print-log):
15782 * vc-hg.el (vc-hg-print-log):
15783 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15784 pass it to the log command when set. Make the BUFFER argument
15787 * vc-sccs.el (vc-sccs-print-log):
15788 * vc-rcs.el (vc-rcs-print-log):
15789 * vc-git.el (vc-git-print-log):
15790 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15791 ignore it. Make the BUFFER argument non-optional
15793 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15795 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15797 * dired.el (dired-mode-map): Move encryption items to "Operate"
15800 * strokes.el (strokes-update-window-configuration): Make strokes
15801 buffer current before erasing (Bug#4906).
15803 2009-11-15 Juri Linkov <juri@jurta.org>
15805 * simple.el (set-mark-default-inactive): Add :type, :group
15806 and :version. (Bug#4876)
15808 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15810 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15811 (archive-unique-fname): ... here. (Bug#4929)
15813 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15815 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15818 * novice.el (disabled-command-function): Add useful args.
15819 Setup the help buffer so that [back] works.
15820 Remove redundant call to help-mode.
15821 (disabled-command-function): Use `case'.
15822 (en/disable-command): New function extracted from enable-command.
15823 (enable-command, disable-command): Use it.
15825 2009-11-14 Glenn Morris <rgm@gnu.org>
15827 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15828 constants. (Bug#4913)
15830 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15832 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15834 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15835 defined in C that have no doc-strings. (Bug#1063)
15837 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15839 * cus-edit.el (data, files):
15840 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15842 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15844 * simple.el (shell-command): Doc fix (Bug#4891).
15846 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15848 2009-11-14 Glenn Morris <rgm@gnu.org>
15850 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15851 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15852 If they are already loaded, eval-after-load will do the right thing.
15854 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15857 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15859 * simple.el (x-selection-owner-p): Declare.
15860 (read-mail-command): Use custom radio type rather than choice.
15861 (completion-no-auto-exit): Doc fix.
15863 * custom.el (defgroup):
15864 * epg-config.el (epg): Doc fixes.
15866 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15868 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15869 * international/ccl.el (define-ccl-program): Do not purecopy the
15870 docstring, defconst does it anyway.
15872 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15874 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15877 * x-dnd.el (x-dnd-maybe-call-test-function):
15878 * window.el (split-window-vertically):
15879 * whitespace.el (whitespace-help-on):
15880 * vc-rcs.el (vc-rcs-consult-headers):
15881 * userlock.el (ask-user-about-lock-help)
15882 (ask-user-about-supersession-help):
15883 * type-break.el (type-break-force-mode-line-update):
15884 * time-stamp.el (time-stamp-conv-warn):
15885 * terminal.el (te-set-output-log, te-more-break, te-filter)
15886 (te-sentinel, terminal-emulator):
15887 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15888 (term-write-input-ring, term-check-source, term-start-output-log):
15889 (term-display-buffer-line, term-dynamic-list-completions):
15890 (term-ansi-make-term, serial-term):
15891 * subr.el (selective-display):
15892 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15893 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15894 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15895 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15896 (speedbar-remove-localized-speedbar-support)
15897 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15898 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15899 (speedbar-buffers-line-directory):
15900 * simple.el (shell-command-on-region, append-to-buffer)
15901 (prepend-to-buffer):
15902 * shadowfile.el (shadow-save-todo-file):
15903 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15904 (scroll-bar-maybe-set-window-start):
15905 * sb-image.el (speedbar-image-dump):
15906 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15907 (load-save-place-alist-from-file):
15908 * ps-samp.el (ps-print-message-from-summary):
15909 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15910 (ps-background-image, ps-begin-job, ps-do-despool):
15911 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15912 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15913 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15914 (pr-call-process, pr-file-list, pr-interface-save):
15915 * novice.el (disabled-command-function)
15916 (enable-command, disable-command):
15917 * mouse.el (mouse-buffer-menu-alist):
15918 * mouse-copy.el (mouse-kill-preserving-secondary):
15919 * macros.el (kbd-macro-query):
15920 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15921 * informat.el (batch-info-validate):
15922 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15923 * hippie-exp.el (try-expand-dabbrev-visible):
15924 * help-mode.el (help-make-xrefs):
15925 * help-fns.el (describe-variable):
15926 * generic-x.el (bat-generic-mode-run-as-comint):
15927 * finder.el (finder-mouse-select):
15928 * find-dired.el (find-dired-sentinel):
15929 * filesets.el (filesets-file-close):
15930 * files.el (list-directory):
15931 * faces.el (list-faces-display, describe-face):
15932 * facemenu.el (list-colors-display):
15933 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15934 * epg.el (epg--process-filter, epg-cancel):
15935 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15936 (epa--read-signature-type):
15937 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15938 (emerge-file-names):
15939 * ehelp.el (electric-helpify):
15940 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15941 * ediff-vers.el (rcs-ediff-view-revision):
15942 * ediff-util.el (ediff-setup):
15943 * ediff-mult.el (ediff-append-custom-diff):
15944 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15946 * echistory.el (Electric-command-history-redo-expression):
15947 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15948 * disp-table.el (describe-display-table):
15949 * dired.el (dired-find-buffer-nocreate):
15950 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15951 * dabbrev.el (dabbrev--same-major-mode-p):
15952 * chistory.el (list-command-history):
15953 * apropos.el (apropos-documentation):
15954 * allout.el (allout-obtain-passphrase):
15955 (allout-copy-exposed-to-buffer):
15956 (allout-verify-passphrase): Use with-current-buffer.
15958 2009-11-13 Glenn Morris <rgm@gnu.org>
15960 * Makefile.in (ELCFILES): Regenerate.
15962 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15964 * net/dbus.el (dbus-registered-objects-table): Rename from
15965 `dbus-registered-functions-table', because it contains also properties.
15966 (dbus-unregister-object): Unregister also properties.
15967 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15968 Use a timeout of 500 msec, in order to not block.
15969 (dbus-register-property, dbus-property-handler): New defuns.
15971 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15973 * simple.el (minibuffer-default-add-completions): Drop deprecated
15976 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15978 * textmodes/artist.el (artist-mouse-choose-operation):
15979 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15980 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15981 (artist-compute-up-event-key): New function.
15982 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15984 2009-11-13 Kenichi Handa <handa@m17n.org>
15986 * language/japan-util.el: Make sure that the value of jisx0208
15987 property is jisx0208 character.
15989 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15991 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15992 car or each item, not the whole list.
15994 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15996 * minibuffer.el (minibuffer-completion-help):
15997 Use minibuffer-hide-completions.
15999 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16001 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16002 (dired-revert): Use them (bug#4880).
16004 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16006 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16008 2009-11-12 Juri Linkov <juri@jurta.org>
16010 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16012 (find-file-literally-at-point): Alias of `ffap-literally'.
16014 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16016 * textmodes/ispell.el (ispell-skip-region-alist):
16017 * textmodes/css-mode.el (auto-mode-alist):
16018 * progmodes/compile.el (auto-mode-alist):
16019 * international/mule.el (ctext-non-standard-encodings-alist)
16020 (ctext-non-standard-encodings-regexp):
16021 * simple.el (shell-command-switch, text-read-only):
16022 * replace.el (occur-mode-map):
16023 * paths.el (rmail-file-name):
16024 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16025 * find-file.el (ff-special-constructs):
16026 * files.el (file-name-handler-alist):
16027 * composite.el: Purecopy strings.
16029 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16031 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16033 * widget.el (define-widget): Purecopy the docstring.
16034 * international/mule-cmds.el (charset): Do not purecopy the
16035 docstring here, define-widget does it.
16037 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16038 * textmodes/bibtex-style.el (auto-mode-alist):
16039 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16040 * progmodes/compile.el (compile-command):
16041 * language/korea-util.el (default-korean-keyboard):
16042 * international/mule-conf.el (file-coding-system-alist):
16043 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16044 * tooltip.el (tooltip-frame-parameters):
16045 * newcomment.el (comment-end, comment-padding):
16046 * dired.el (dired-trivial-filenames):
16047 * comint.el (comint-file-name-prefix): Purecopy initial values.
16049 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16051 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16052 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16054 (tramp-advice-make-auto-save-file-name)
16055 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16056 after removing the advice.
16058 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16060 * progmodes/grep.el (grep-regexp-alist):
16061 * international/mule-cmds.el (iso-2022-control-alist):
16062 * emacs-lisp/timer.el (timer-duration-words):
16063 * subr.el (version-separator, version-regexp-alist):
16064 * minibuffer.el (completion-styles-alist):
16065 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16066 Change defvars to defconsts.
16068 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16069 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16070 * international/mule-conf.el: Allow to be byte compiled.
16072 * international/mule.el (define-charset): Purecopy props.
16073 (load-with-code-conversion): Purecopy doc string and file name.
16074 (put-charset-property): Purecopy strings.
16075 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16077 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16078 (define-char-code-property): Correctly purecopy the table.
16080 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16082 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16084 * subr.el (add-hook): Purecopy strings.
16085 (eval-after-load): Purecopy load-history-regexp and the form.
16087 * custom.el (custom-declare-group): Purecopy load-file-name.
16089 * subr.el (menu-bar-separator): New defconst.
16090 * net/eudc.el (eudc-tools-menu):
16091 * international/mule-cmds.el (set-coding-system-map)
16092 (mule-menu-keymap):
16093 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16094 * vc-hooks.el (vc-menu-map):
16095 * replace.el (occur-mode-map):
16096 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16097 (menu-bar-edit-menu, menu-bar-goto-menu)
16098 (menu-bar-custom-menu, menu-bar-showhide-menu)
16099 (menu-bar-options-menu, menu-bar-tools-menu)
16100 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16101 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16102 (menu-bar-help-menu):
16103 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16104 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16106 * term/x-win.el (x-gtk-stock-map):
16107 * progmodes/vera-mode.el (auto-mode-alist):
16108 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16109 (inferior-lisp-program, inferior-lisp-load-command):
16110 * progmodes/hideshow.el (hs-special-modes-alist):
16111 * progmodes/gud.el (same-window-regexps):
16112 * progmodes/grep.el (grep-program, find-program, xargs-program):
16113 * net/telnet.el (same-window-regexps):
16114 * net/rlogin.el (same-window-regexps):
16115 * language/ethiopic.el (font-ccl-encoder-alist):
16116 * vc-sccs.el (vc-sccs-master-templates):
16117 * vc-rcs.el (vc-rcs-master-templates):
16118 * subr.el (cl-assertion-failed):
16119 * simple.el (next-error-overlay-arrow-position):
16120 * lpr.el (lpr-command):
16121 * locate.el (locate-ls-subdir-switches):
16122 * info.el (same-window-regexps, info)
16123 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16124 * image-mode.el (image-mode, auto-mode-alist):
16125 * hippie-exp.el (hippie-expand-ignore-buffers):
16126 * format.el (format-alist):
16127 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16129 * facemenu.el (facemenu-keybindings):
16130 * dired.el (dired-listing-switches, dired-chown-program):
16131 * diff.el (diff-switches, diff-command):
16132 * cus-edit.el (same-window-regexps):
16133 * bindings.el (mode-line-mule-info)
16134 (mode-line-buffer-identification): Purecopy strings.
16136 2009-11-11 Juri Linkov <juri@jurta.org>
16138 * simple.el (dired-get-filename) <declare-function>:
16139 Tell the byte-compiler about dired-get-filename.
16140 (shell-command): In Dired mode, get filename from the current line
16141 as the default value.
16143 2009-11-10 Glenn Morris <rgm@gnu.org>
16145 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16146 * calendar/holidays.el, progmodes/cperl-mode.el:
16147 Update x-popup-menu declarations.
16149 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16150 (list-load-path-shadows): Use dolist.
16151 (list-load-path-shadows): Use with-current-buffer.
16153 2009-11-10 Juri Linkov <juri@jurta.org>
16155 * minibuffer.el (read-file-name): Support a list of default values
16156 in `default-filename'. Use the first file name where only one
16157 element is required. Doc fix.
16159 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16161 * net/dbus.el (dbus-unregister-object): Release service, if no
16162 other method is registered for it.
16164 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16166 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16167 bookmark-sort-flag is non-nil (Bug#4653).
16169 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16171 * emulation/cua-base.el: Add CUA property to some CC mode commands
16174 2009-11-08 Kevin Ryde <user42@zip.com.au>
16176 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16177 at end of sentence (Bug#4818).
16179 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16181 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16182 Handle "see declaration of" MSFT statements (Bug#4100).
16184 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16186 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16187 (tramp-advice-file-expand-wildcards): Unload via
16188 `ad-remove-advice'.
16190 * net/trampver.el: Update release number.
16192 2009-11-08 Kevin Ryde <user42@zip.com.au>
16194 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16197 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16199 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16200 in order to keep context in SELinux.
16202 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16204 * dired-aux.el (dired-query): Place cursor in echo area and allow
16207 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16208 menu item if not on a directory (Bug#4701).
16210 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16212 Sync with Tramp 2.1.17.
16214 * net/tramp.el (tramp-handle-copy-directory): Don't use
16215 `file-remote-p' (due to compatibility).
16217 * net/tramp-compat.el (tramp-compat-copy-directory)
16218 (tramp-compat-delete-directory): New defuns.
16220 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16221 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16222 Use `tramp-compat-delete-directory'.
16224 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16225 (tramp-smb-handle-delete-directory):
16226 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16228 * net/trampver.el: Update release number.
16230 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16232 * tar-mode.el (tar-copy): Call write-region on the right buffer
16235 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16236 by hand, if necessary (Bug#4878).
16238 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16240 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16241 align size column (Bug#4839).
16243 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16246 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16248 * progmodes/ld-script.el (auto-mode-alist):
16249 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16251 * cus-face.el (custom-declare-face): Purecopy face spec.
16253 2009-11-06 Kenichi Handa <handa@m17n.org>
16255 * international/uni-bidi.el: Re-generated.
16256 * international/uni-category.el: Re-generated.
16257 * international/uni-combining.el: Re-generated.
16258 * international/uni-mirrored.el: Re-generated.
16260 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16262 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16263 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16264 (tex-start-options, slitex-run-command, latex-run-command)
16265 (tex-run-command, tex-directory):
16266 * textmodes/ispell.el (ispell-html-skip-alists)
16267 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16268 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16269 (adaptive-fill-regexp):
16270 * textmodes/dns-mode.el (auto-mode-alist):
16271 * progmodes/python.el (interpreter-mode-alist):
16272 * progmodes/etags.el (tags-compression-info-list):
16273 * progmodes/etags.el (tags-file-name):
16274 * net/browse-url.el (browse-url-galeon-program)
16275 (browse-url-firefox-program):
16276 * mail/sendmail.el (mail-signature-file)
16277 (mail-citation-prefix-regexp):
16278 * international/mule-conf.el (eight-bit):
16279 * international/latexenc.el (latex-inputenc-coding-alist):
16280 * international/fontset.el (x-pixel-size-width-font-regexp):
16281 * emacs-lisp/warnings.el (warning-type-format):
16282 * emacs-lisp/trace.el (trace-buffer):
16283 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16284 (emacs-lisp-mode-map):
16285 * calendar/holidays.el (holiday-solar-holidays)
16286 (holiday-bahai-holidays, holiday-islamic-holidays)
16287 (holiday-christian-holidays, holiday-hebrew-holidays)
16288 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16289 (hebrew-holidays-1, holiday-oriental-holidays)
16290 (holiday-general-holidays):
16291 * x-dnd.el (x-dnd-known-types):
16292 * tool-bar.el (tool-bar):
16293 * startup.el (site-run-file):
16294 * shell.el (shell-dumb-shell-regexp):
16295 * rfn-eshadow.el (file-name-shadow-tty-properties)
16296 (file-name-shadow-properties):
16297 * paths.el (remote-shell-program, news-directory):
16298 * mouse.el ([C-down-mouse-3]):
16299 * menu-bar.el (menu-bar-tools-menu):
16300 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16301 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16302 (jka-compr-compression-info-list):
16303 * isearch.el (search-whitespace-regexp):
16304 * image-file.el (image-file-name-extensions):
16305 * find-dired.el (find-ls-option):
16306 * files.el (directory-listing-before-filename-regexp)
16307 (directory-free-space-args, insert-directory-program)
16308 (list-directory-brief-switches, magic-fallback-mode-alist)
16309 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16310 (automount-dir-prefix):
16311 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16312 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16313 (face-font-registry-alternatives, face-font-registry-alternatives)
16314 (face-font-family-alternatives):
16315 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16316 (facemenu-foreground-menu, facemenu-face-menu):
16317 * epa-hook.el (epa-file-name-regexp):
16318 * dnd.el (dnd-protocol-alist):
16319 * textmodes/rst.el (auto-mode-alist):
16320 * button.el (default-button): Purecopy strings.
16322 2009-11-06 Glenn Morris <rgm@gnu.org>
16324 * Makefile.in (ELCFILES): Update.
16326 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16328 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16329 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16331 * nxml/xsd-regexp.el (xsdre-gen-categories):
16332 * nxml/xmltok.el (xmltok-parse-entity):
16333 * nxml/rng-parse.el (rng-parse-validate-file):
16334 * nxml/rng-maint.el (rng-format-manual)
16335 (rng-manual-output-force-new-line):
16336 * nxml/rng-loc.el (rng-save-schema-location-1):
16337 * nxml/rng-cmpct.el (rng-c-parse-file):
16338 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16339 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16341 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16343 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16344 Remove extra save-excursions and make-variable-buffer-local's.
16345 Suggested by Stefan Monnier.
16347 (verilog-getopt-file, verilog-module-inside-filename-p)
16348 (verilog-set-define): Merge GNU 1.35 and repair changes from
16349 switching to using with-current-buffer.
16351 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16352 being treated as a number and confusing AUTORESET.
16353 Reported by Dan Dever.
16355 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16356 Add verilog-auto-ignore-concat to fix backward compatibility with
16357 older verilog-modes. Reported by Dan Katz.
16359 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16360 containing closing anchors "...$".
16362 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16363 Reported by Wade Smith.
16365 (verilog-batch-execute-func): Comment on function usage.
16367 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16369 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16372 (verilog-label-re, verilog-calc-1): Support proper indent of named
16375 (verilog-backward-token, verilog-basic-complete-re)
16376 (verilog-beg-of-statement, verilog-indent-re): Support proper
16377 indent of the assert statement at the beginning of a block of text.
16379 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16380 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16383 2009-11-05 Glenn Morris <rgm@gnu.org>
16385 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16386 Emacs 19. (Bug#1531)
16387 (byte-compile-fix-header): Update for the above change.
16388 Drop test for epoch::version.
16390 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16391 * cus-dep.el (custom-make-dependencies):
16392 * finder.el (finder-compile-keywords):
16393 Use autoload-rubric's feature argument.
16395 * calendar/diary-lib.el (top-level): Make load behave more like require.
16397 * vc-git.el (vc-git-stash-map): Move definition before use.
16399 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16401 * custom.el (custom-declare-group): Purecopy standard-value.
16402 (custom-declare-group): Purecopy custom-prefix.
16404 * international/mule.el (load-with-code-conversion):
16405 Call do-after-load-evaluation unconditionally.
16407 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16409 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16411 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16413 2009-11-04 Glenn Morris <rgm@gnu.org>
16415 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16416 (byte-compile-compatibility): Remove option.
16417 (byte-compile-close-variables, byte-compile-fix-header)
16418 (byte-compile-insert-header, byte-compile-output-docform)
16419 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16420 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16421 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16422 (byte-compile-insert, byte-compile-defun):
16423 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16424 (byte-defop-compiler19): Remove.
16425 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16426 used by anything. Replace all calls with byte-defop-compiler.
16428 2009-11-04 Juri Linkov <juri@jurta.org>
16430 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16431 (menu-bar-options-menu): Don't quote the `prop' arg of
16432 `menu-bar-make-mm-toggle'.
16434 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16436 * calendar/calendar.el (cal-loaddefs):
16437 * calendar/diary-lib.el (diary-loaddefs):
16438 * calendar/holidays.el (hol-loaddefs):
16439 * eshell/esh-module.el (esh-groups): Load rather than require.
16441 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16443 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16445 (todo-top-priorities): Only display-buffer when called interactively.
16446 (todo-item-start): Don't save excursion point.
16447 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16448 (todo-insert-item-here, todo-file-item, todo-remove-item):
16449 Adjust uses of todo-item-start and todo-item-end.
16451 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16452 (autoload-rubric): Don't use any more.
16454 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16455 and only put a prop if it is non-nil.
16457 2009-11-03 Juri Linkov <juri@jurta.org>
16459 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16460 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16462 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16463 and "Menu" to make top-level menu item visually one unit (like
16464 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16465 multi-word menu items). Fix :help string for quit-window.
16467 2009-11-03 Glenn Morris <rgm@gnu.org>
16469 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16470 (byte-compile-file-form-define-abbrev-table)
16471 (byte-compile-file-form-custom-declare-variable)
16472 (byte-compile-variable-ref, byte-compile-defvar):
16473 Whether or not a warning is enabled should only affect whether we issue
16474 the warning, not whether or not we collect the relevant data.
16475 Eg warnings can be turned on and off throughout the course of a file.
16477 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16478 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16480 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16482 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16483 * play/mpuz.el (mpuz-create-buffer):
16484 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16485 (lm-print-y,s,noise, lm-print-w0, lm-init):
16486 * play/gomoku.el (gomoku-prompt-for-move):
16487 * play/fortune.el (fortune-in-buffer):
16488 * play/dissociate.el (dissociated-press):
16489 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16490 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16491 * mail/supercite.el (sc-eref-show):
16492 * mail/smtpmail.el (smtpmail-send-it):
16493 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16494 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16495 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16496 (rmail-summary-goto-msg, rmail-summary-expunge)
16497 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16498 (rmail-summary-add-label, rmail-summary-output-menu)
16499 (rmail-summary-output-body):
16500 * mail/rfc822.el (rfc822-addresses):
16501 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16502 * mail/mailpost.el (post-mail-send-it):
16503 * mail/hashcash.el (hashcash-generate-payment):
16504 * mail/feedmail.el (feedmail-run-the-queue)
16505 (feedmail-queue-send-edit-prompt-help-first)
16506 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16507 (feedmail-deduce-address-list):
16508 * eshell/esh-ext.el (eshell-remote-command):
16509 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16510 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16511 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16512 (viper-save-string-in-file, viper-valid-marker):
16513 * emulation/viper-keym.el (viper-toggle-key):
16514 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16515 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16516 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16517 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16518 (viper-exec-form-in-emacs, viper-brac-function):
16519 * emulation/viper.el (viper-delocalize-var):
16520 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16521 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16522 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16523 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16524 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16525 * emulation/edt.el (edt-electric-helpify):
16526 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16527 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16528 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16529 (cua-indent-to-global-mark-column):
16530 * calendar/diary-lib.el (calendar-mark-1):
16531 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16532 Use with-current-buffer.
16533 * emulation/viper.el (viper-delocalize-var): Use dolist.
16535 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16537 * comint.el (comint-replace-by-expanded-history-before-point):
16538 Replace !! with the previous input string literally (Bug#1795).
16540 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16542 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16543 to be made up of whitespace.
16545 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16547 * minibuffer.el (read-file-name): Don't use file dialogs for
16548 remote directories (Bug#99).
16550 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16552 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16554 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16556 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16557 instead of deleting the window or frame.
16559 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16561 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16562 Support face colors.
16564 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16565 New function. Support face colors (Bug#1168).
16566 (tex-common-initialization): Use it.
16568 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16569 mode allows it (Bug#1168).
16571 2009-10-31 Juri Linkov <juri@jurta.org>
16573 * facemenu.el (list-colors-display): Don't mark buffer as
16574 modified (Bug#3948).
16576 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16578 * international/mule-diag.el (list-character-sets-1):
16579 Minor message fix (Bug#3526).
16581 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16582 Fix face property (Bug#4834).
16583 (etags-list-tags, etags-tags-apropos-additional)
16584 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16587 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16590 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16592 * textmodes/two-column.el (2C-split):
16593 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16594 * textmodes/tex-mode.el (tex-set-buffer-directory):
16595 * textmodes/spell.el (spell-region, spell-string):
16596 * textmodes/reftex.el (reftex-erase-buffer):
16597 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16598 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16599 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16600 (reftex-select-item):
16601 * textmodes/reftex-ref.el (reftex-label-info-update)
16602 (reftex-offer-label-menu):
16603 * textmodes/reftex-index.el (reftex-index-change-entry)
16604 (reftex-index-phrases-info):
16605 * textmodes/reftex-global.el (reftex-create-tags-file)
16606 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16607 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16608 (reftex-view-crossref-from-bibtex):
16609 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16610 (reftex-extract-bib-entries-from-thebibliography)
16611 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16612 * textmodes/refbib.el (r2b-capitalize-title):
16613 (r2b-convert-buffer, r2b-help):
16614 * textmodes/page-ext.el (pages-directory)
16615 (pages-directory-goto-with-mouse):
16616 * textmodes/bibtex.el (bibtex-validate-globally):
16617 * textmodes/bib-mode.el (bib-capitalize-title):
16618 * textmodes/artist.el (artist-clear-buffer, artist-system):
16619 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16620 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16621 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16622 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16623 (xscheme-send-control-g-interrupt, xscheme-start-process)
16624 (xscheme-process-sentinel, xscheme-cd):
16625 * progmodes/verilog-mode.el (verilog-read-always-signals)
16626 (verilog-set-define, verilog-getopt-file)
16627 (verilog-module-inside-filename-p):
16628 * progmodes/sh-script.el:
16629 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16630 (python-pdbtrack-grub-for-buffer, python-execute-file):
16631 * progmodes/octave-inf.el (inferior-octave):
16632 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16633 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16634 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16635 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16636 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16637 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16638 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16639 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16640 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16641 (idlwave-shell-examine-display, idlwave-shell-run-region)
16642 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16643 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16644 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16645 (idlwave-help-get-help-buffer):
16646 * progmodes/gud.el (gud-basic-call, gud-find-class)
16647 (gud-tooltip-activate-mouse-motions-if-enabled):
16648 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16649 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16650 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16651 (ebrowse-tags-next-file):
16652 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16653 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16654 (ebnf-eps-finish-and-write):
16655 * progmodes/cpp.el (cpp-edit-save):
16656 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16657 * progmodes/cc-defs.el (c-emacs-features):
16658 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16659 (antlr-directory-dependencies):
16660 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16661 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16662 (ada-find-any-references, ada-make-filename-from-adaname)
16663 (ada-make-body-gnatstub):
16664 * obsolete/rnews.el (news-list-news-groups):
16665 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16666 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16667 * net/rcirc.el (rcirc-debug):
16668 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16669 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16670 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16671 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16672 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16673 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16674 (newsticker--treeview-list-clear-highlight)
16675 (newsticker--treeview-list-update-highlight)
16676 (newsticker--treeview-list-highlight-start)
16677 (newsticker--treeview-tree-update-highlight)
16678 (newsticker--treeview-get-selected-item)
16679 (newsticker-treeview-mark-list-items-old)
16680 (newsticker--treeview-set-current-node):
16681 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16682 * net/newst-backend.el (newsticker--get-news-by-funcall)
16683 (newsticker--get-news-by-wget, newsticker--image-get)
16684 (newsticker--image-sentinel):
16685 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16686 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16687 (eudc-ph-close-session):
16688 * net/eudc.el (eudc-save-options):
16689 * language/thai-word.el (thai-update-word-table):
16690 * language/japan-util.el (japanese-string-conversion):
16691 * international/titdic-cnv.el (tsang-quick-converter)
16692 (ziranma-converter, ctlau-converter):
16693 * international/mule-cmds.el (describe-language-environment):
16694 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16695 (skkdic-convert-postfix, skkdic-convert-prefix):
16696 (skkdic-convert-okuri-nasi, skkdic-convert):
16697 * emacs-lisp/re-builder.el (reb-update-overlays):
16698 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16699 * emacs-lisp/gulp.el (gulp-send-requests):
16700 * emacs-lisp/find-gc.el (trace-call-tree):
16701 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16702 (eieio-describe-generic):
16703 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16704 * emacs-lisp/edebug.el (edebug-outside-excursion):
16705 * emacs-lisp/debug.el (debugger-make-xrefs):
16706 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16707 * emacs-lisp/chart.el (chart-new-buffer):
16708 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16709 Use with-current-buffer.
16710 * textmodes/artist.el (artist-system): Don't call
16711 copy-sequence on a fresh string.
16712 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16714 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16716 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16717 is no item to edit. (Bug#4820)
16718 (todo-top-priorities): Restore point and restore narrowing in Todo
16721 2009-10-31 Glenn Morris <rgm@gnu.org>
16723 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16724 (comint-last-output-start, comint-last-input-start)
16725 (comint-last-input-end): Don't defvar when compiling.
16726 (ange-ftp-process-file): Use bound-and-true-p.
16728 * pcmpl-rpm.el (top-level): Move provide statement to end.
16729 (pcmpl-rpm): Remove unused custom group.
16731 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16733 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16735 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16736 (byte-compile-warnings): Add `constants' as an option.
16737 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16738 (display-call-tree): Update for byte-compile-fdefinition possibly
16739 returning `(macro lambda ...)'. (Bug#4778)
16740 (byte-compile-variable-ref, byte-compile-setq-default):
16741 Respect `constants' member of byte-compile-warnings.
16743 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16745 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16746 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16749 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16751 * textmodes/ispell.el (ispell-skip-region-alist):
16752 * international/mule-conf.el (eight-bit):
16753 * international/fontset.el (font-encoding-alist):
16754 * startup.el (pure-space-overflow-message):
16755 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16756 * paths.el (gnus-nntp-service, rmail-spool-directory)
16757 (term-file-prefix):
16758 * files.el (save-some-buffers-action-alist):
16759 * cmuscheme.el (same-window-buffer-names):
16760 * ielm.el (same-window-buffer-names):
16761 * shell.el (same-window-buffer-names):
16762 * mail/sendmail.el (same-window-buffer-names):
16763 * progmodes/inf-lisp.el (same-window-buffer-names):
16764 * bindings.el (mode-line-client)
16765 (mode-line-column-line-number-mode-map):
16766 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16767 (tibetan-precomposed-regexp): Purecopy string arguments.
16769 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16771 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16772 (calcDigit-nondigit):
16773 * calc/calc-yank.el (calc-copy-to-buffer):
16774 * calc/calc-units.el (calc-invalidate-units-table):
16775 * calc/calc-trail.el (calc-trail-yank):
16776 * calc/calc-store.el (calc-insert-variables):
16777 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16778 * calc/calc-prog.el (calc-read-parse-table):
16779 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16780 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16781 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16782 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16783 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16784 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16785 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16786 * calc/calc-ext.el (calc-realign):
16787 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16788 (calc-embedded-finish-edit, calc-embedded-make-info)
16789 (calc-embedded-finish-command, calc-embedded-stack-change):
16790 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16792 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16793 shell-dynamic-complete-filename in preference to
16794 comint-dynamic-complete-filename.
16796 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16797 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16798 Don't consider whether the display supports colors.
16799 (bookmark-import-new-list): Use dolist.
16800 (bookmark-bmenu-mode-map): Move initialization into declaration.
16801 (bookmark-bmenu-list): Use dolist, simplify.
16802 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16803 (menu-bar-final-items): Use push.
16805 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16807 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16808 it works on remote files.
16809 (vc-hg-diff): Don't pass any `--cwd' argument.
16811 2009-10-27 Kevin Ryde <user42@zip.com.au>
16813 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16814 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16815 (Further to Bug#3921).
16817 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16819 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16820 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16821 calling `tramp-imap-put-file'. Add file size to the call.
16822 (tramp-imap-get-file-entries): Compute also user name, file size,
16824 (tramp-imap-handle-insert-directory): Insert uid and gid.
16825 (tramp-imap-handle-file-attributes): Transform uid and gid
16826 according to `id-format'.
16827 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16828 size in header X-Size.
16830 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16832 * simple.el (transpose-subr): Give clearer error when the mark
16833 is not set. (Bug#4807)
16835 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16837 * net/tramp.el (tramp-perl-file-truename): New defconst.
16838 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16839 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16840 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16841 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16843 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16844 Ignore `dired-call-process'.
16845 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16847 2009-10-26 Julian Scheid <julians37@gmail.com>
16849 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16850 (tramp-get-remote-readlink): New defun.
16851 (tramp-handle-file-truename): Use it.
16852 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16853 file exists if cache value present.
16854 (tramp-check-cached-permissions): New defun.
16855 (tramp-handle-file-readable-p): Use it.
16856 (tramp-handle-file-writable-p): Likewise.
16857 (tramp-handle-file-executable-p): Likewise.
16858 (tramp-handle-file-name-all-completions): Try using Perl to get
16859 partial completions. When perl not available, combine `cd' and
16860 `ls' into single remote operation and use shell expansion to get
16861 partial remote directory contents. Set `file-exists-p' cache for
16862 directory and any files returned by ls. Change cache handling to
16863 support partial directory contents. Use error message emitted by
16864 remote `cd' or Perl code for local tramp-error.
16865 (tramp-do-copy-or-rename-file-directly): Avoid separate
16866 tramp-send-command-and-check call.
16867 (tramp-handle-process-file): Merge three remote ops into one.
16868 Do not flush all caches when `process-file-side-effects' is set.
16869 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16870 file-attributes shows uid/gid to be set already.
16872 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16874 * textmodes/tex-mode.el (tex-dvi-view-command)
16875 (tex-show-queue-command, tex-open-quote):
16876 * progmodes/ruby-mode.el (auto-mode-alist)
16877 (interpreter-mode-alist): Purecopy strings.
16879 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16881 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16882 string for the hook, keymap and abbrev table.
16884 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16886 * x-dnd.el (x-dnd-xdnd-to-action):
16887 * startup.el (fancy-startup-text, fancy-about-text): Change to
16888 defconst from defvar.
16890 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16892 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16893 Purecopy initialization strings.
16895 * mail/sendmail.el (mail-header-separator)
16896 (mail-personal-alias-file):
16897 * mail/rmail.el (rmail-default-dont-reply-to-names)
16898 (rmail-ignored-headers, rmail-retry-ignored-headers)
16899 (rmail-highlighted-headers, rmail-secondary-file-directory)
16900 (rmail-secondary-file-regexp):
16901 * files.el (null-device, file-name-invalid-regexp)
16902 (locate-dominating-stop-dir-regexp)
16903 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16904 (interpreter-mode-alist): Use mapcar instead of mapc.
16906 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16908 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16909 (completion-ignored-extensions):
16910 (debug-ignored-errors): Purecopy strings.
16912 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16914 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16915 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16916 (pcomplete--here): Use push.
16918 * subr.el (all-completions): Declare the 4th arg obsolete.
16920 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16922 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16923 (pcomplete-unquote-argument): New function.
16924 (pcomplete--common-suffix): Always pay attention to case.
16925 (pcomplete--table-subvert): Quote and unquote the text.
16926 (pcomplete--common-quoted-suffix): New function.
16927 (pcomplete-std-complete): Use it and pcomplete-begin.
16929 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16930 we're inside a dedicated or minibuffer window.
16932 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16934 * bookmark.el: Update documentation, especially documentation
16935 of `bookmark-alist' and of the bookmark file format.
16936 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16938 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16940 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16941 keybindings apply to the mail buffer (Bug#4003). Shrink help
16944 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16945 (global-whitespace-mode, global-whitespace-newline-mode)
16946 (whitespace-toggle-options, global-whitespace-toggle-options):
16947 Doc fix (Bug#3660).
16949 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16950 of xmltok-start before the end tag was inserted (Bug#2840).
16952 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16953 patterns that are preceded by an open-paren (Bug#1320).
16955 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16957 * files.el (delete-directory): Delete symlinks to directories with
16958 delete-file (Bug#4739).
16960 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16962 * vc.el (vc-backend-for-registration): Rename from
16963 vc-get-backend-for-registration. Update callers.
16965 * international/mule-cmds.el (set-language-info-alist):
16967 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16968 (charset): Purecopy the name.
16969 (define-char-code-property): Purecopy string arguments.
16971 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16972 Purecopy string arguments.
16974 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16975 * ediff-hook.el (menu-bar-ediff-menu):
16976 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16977 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16979 2009-10-24 Glenn Morris <rgm@gnu.org>
16981 * comint.el (comint-dynamic-list-completions):
16982 * term.el (term-dynamic-list-completions): Use choose-completion rather
16983 than obsolete alias mouse-choose-completion.
16985 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16986 file-cache-choose-completion.
16987 (file-cache-choose-completion): Handle an optional event argument.
16988 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16990 * progmodes/octave-mod.el (octave-complete-symbol):
16991 Use choose-completion if mouse-choose-completion is ever removed.
16993 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16996 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16999 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17001 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17003 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17004 Ignore `pred' now that we receive one.
17005 Handle test-completion specially.
17007 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17009 * vc.el (vc-responsible-backend): Throw an error if not backend is
17010 found. Remove the REGISTER argument. Move the code dealing with
17012 (vc-get-backend-for-registration): ... here. New function.
17013 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17014 of vc-responsible-backend, pass the file name instead of the
17017 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17019 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17021 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17022 (pcomplete-comint-setup): Don't modify a global var via
17023 accidental side-effects.
17024 (pcomplete-shell-setup): Adjust call accordingly.
17025 (pcomplete-parse-comint-arguments): Use push.
17027 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17029 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17030 Allow uncapitalized info node names (Bug#3921).
17032 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17033 to the DEBUG file (Bug#3781).
17035 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17037 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17038 dictionary entry (Bug#4579).
17040 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17042 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17043 from `rfn-eshadow-update-overlay-hook' when unloading.
17044 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17045 "rsyncc". Adjust doc string.
17046 (tramp-temp-buffer-file-name): New buffer-local defvar.
17047 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17048 Keep temporary file when indicated by method ("rsync" and
17050 (tramp-handle-write-region): Handle APPEND.
17051 (tramp-delete-temp-file-function): New defun. Added to
17052 `kill-buffer-hook'.
17054 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17056 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17058 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17060 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17061 (color-name-rgb-alist, tty-standard-colors)
17062 (tty-color-mode-alist): Change to defconst.
17064 * simple.el (mark-inactive): Purecopy message.
17066 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17067 (global-map, yank-menu):
17068 * textmodes/ispell.el (ispell-menu-map):
17069 * net/eudc.el (eudc-tools-menu):
17070 * international/mule-cmds.el (describe-language-environment-map)
17071 (setup-language-environment-map, set-coding-system-map)
17072 (mule-menu-keymap):
17073 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17074 * replace.el (occur-mode-map):
17075 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17077 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17079 * calc/calc.el (math-read-number, math-read-number-simple):
17080 Use `save-match-data'.
17082 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17084 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17085 rather than fiddling with global-map bindings, since it should only
17086 affect per-terminal settings.
17087 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17089 * minibuffer.el (completion-table-with-terminator): Allow to specify
17090 the terminator-regexp.
17092 * simple.el (switch-to-completions): Look for *Completions* in other
17095 * pcomplete.el: Allow the use of completion-tables.
17096 (pcomplete-std-complete): New command.
17097 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17098 (pcomplete--here): Use a function for `form' rather than an expression,
17099 so it can be byte-compiled.
17100 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17101 Add edebug declaration.
17102 (pcomplete-show-completions): Remove unused var `curbuf'.
17103 (pcomplete-do-complete, pcomplete-stub):
17104 Don't assume `completions' is a list of strings any more.
17106 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17108 * find-dired.el (find-name-arg): Fix typo in docstring.
17110 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17112 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17113 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17115 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17118 * comint.el (comint-read-input-ring, comint-write-input-ring)
17119 (comint-substitute-in-file-name)
17120 (comint-dynamic-complete-as-filename)
17121 (comint-dynamic-simple-complete)
17122 (comint-dynamic-list-filename-completions)
17123 (comint-dynamic-list-completions)
17124 (comint-redirect-results-list-from-process): Minor simplifications.
17126 2009-10-21 Kevin Ryde <user42@zip.com.au>
17128 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17129 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17130 the first form. And insert a blank line after ";;; Code" since
17131 that's usual style. (Bug#4612)
17133 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17135 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17137 * minibuffer.el (completion-table-with-terminator): Properly implement
17138 boundaries, in case `terminator' appears in the suffix.
17139 (completion--embedded-envvar-table): Don't return boundaries if
17140 there's no valid completion. Simplify.
17141 (completion-file-name-table): New completion table extracted from
17142 completion--file-name-table.
17143 (completion--file-name-table): Use it.
17144 (read-file-name-predicate): Declare obsolete.
17145 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17146 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17147 completion-file-name-table, and use the `pred' argument.
17148 * files.el (locate-file-completion-table): Use the `pred' arg rather
17149 than read-file-name-predicate.
17150 (abbreviate-file-name): Use \` rather than ^ for BOS.
17152 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17154 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17155 vc-responsible-backend to register, it causes problems.
17157 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17159 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17161 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17163 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17164 (tramp-smb-handle-file-attributes): Use it.
17165 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17166 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17167 `mapcar'. Use `tramp-smb-get-stat-capability'.
17168 Add `dired-filename' text properties.
17169 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17170 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17173 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17175 * subr.el (read-key-delay): Reduce to 0.01.
17176 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17179 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17181 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17183 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17184 (Info-menu): Remove unused vars `last' and `completions'.
17185 (Info-index-nodes): Remove unused var `node'.
17187 * info.el (Info-complete-menu-item): Use complete-with-action.
17189 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17191 Make vc-annotate work through copies and renames.
17192 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17193 Return the file name too.
17194 (vc-annotate-revision-at-line)
17195 (vc-annotate-find-revision-at-line)
17196 (vc-annotate-revision-previous-to-line)
17197 (vc-annotate-show-log-revision-at-line): Update to get the file
17198 name from vc-annotate-extract-revision-at-line.
17199 (vc-annotate-show-diff-revision-at-line-internal): Change the
17200 argument to mean whether to show a file diff or not. Get the file
17201 name from vc-annotate-extract-revision-at-line.
17202 (vc-annotate-show-diff-revision-at-line):
17203 Update vc-annotate-show-diff-revision-at-line call.
17204 (vc-annotate-warp-revision): Add an optional file argument.
17206 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17207 (vc-git-annotate-extract-revision-at-line): Also return the file
17210 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17211 command. Remove unused code.
17212 (vc-hg-annotate-re): Update to match --follow output.
17213 (vc-hg-annotate-extract-revision-at-line): Also return the file
17216 * vc.el: Update annotate-extract-revision-at-line documentation.
17218 2009-10-18 Kevin Ryde <user42@zip.com.au>
17220 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17221 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17223 * net/browse-url.el (browse-url): Identify alist with "consp and
17224 not functionp" and let all other things go down the `apply' leg,
17225 as suggested by Stefan. (Further to bug#4531.)
17227 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17229 * minibuffer.el (read-file-name): Check for repeat before putting
17230 a default argument in file-name-history (Bug#4657).
17232 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17233 read syntax (Bug#4737).
17235 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17237 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17239 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17240 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17241 entries and make note of obsolete tags.
17243 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17245 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17247 2009-10-18 Glenn Morris <rgm@gnu.org>
17249 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17250 grep, so that binary files (eg international/uni-bidi.el) can match.
17251 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17252 now, and in any case the file header format has changed.
17254 2009-10-17 Glenn Morris <rgm@gnu.org>
17256 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17257 (flyspell-get-word, flyspell-large-region)
17258 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17260 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17262 * Makefile.in (ELCFILES): Add ede/shell.
17264 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17266 * term/common-win.el (x-colors): Purecopy it.
17268 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17270 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17271 permissive for when the buffer is empty.
17272 (tar-header-block-tokenize): Decode the username and groupname.
17273 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17275 2009-10-17 Eric Ludlam <zappo@gnu.org>
17277 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17278 contains multibyte characters, choose first applicable coding
17279 system automatically.
17281 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17283 * international/mule-cmds.el (select-safe-coding-system): If the file
17284 has a coding cookie, use it regardless of any other setting (bug#4712).
17286 2009-10-17 Glenn Morris <rgm@gnu.org>
17288 * foldout.el (foldout-mouse-swallow-events):
17289 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17291 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17292 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17293 (dired-keep-marker-symlink, dired-dwim-target)
17294 (dired-copy-preserve-time): Do not autoload these defcustoms.
17296 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17297 messages from messing up the file coding. (Bug#4623)
17299 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17301 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17302 if no match is found for the current dictionary. (Bug#4578)
17304 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17305 optional, since that is how it is documented, and this is often called
17306 with a nil argument. (Bug#4577)
17307 (flyspell-external-point-words, flyspell-auto-correct-word)
17308 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17309 (flyspell-word-search-backward): Remove nil argument in calls to
17310 flyspell-get-word, since it is not needed now.
17312 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17314 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17316 2009-10-16 Glenn Morris <rgm@gnu.org>
17318 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17320 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17322 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17323 (ange-ftp-file-size): New function.
17324 (ange-ftp-file-attributes): Use it.
17326 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17328 * net/tramp-smb.el (tramp-smb-version): New defvar.
17329 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17332 2009-10-16 Glenn Morris <rgm@gnu.org>
17334 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17335 Maybe copy some custom properties from old to new name. (Bug#4706)
17337 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17339 * subr.el (error, sit-for, start-process-shell-command)
17340 (start-file-process-shell-command): Set the calling convention
17341 after the function definition.
17343 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17345 * subr.el (error, sit-for, start-process-shell-command)
17346 (start-file-process-shell-command): Use the new
17347 set-advertised-calling-convention feature.
17349 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17351 * international/ucs-normalize.el (ucs-normalize-version):
17353 (check-range): Adjust for Unicode 5.2.
17355 2009-10-15 Juri Linkov <juri@jurta.org>
17357 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17358 to the `menu-item' format.
17360 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17362 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17363 if the environment variable does not exist.
17365 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17366 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17368 (tramp-smb-handle-add-name-to-file)
17369 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17370 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17371 (tramp-smb-handle-file-attributes)
17372 (tramp-smb-do-file-attributes-with-stat)
17373 (tramp-smb-handle-file-local-copy)
17374 (tramp-smb-handle-insert-directory)
17375 (tramp-smb-handle-make-directory)
17376 (tramp-smb-handle-make-directory-internal)
17377 (tramp-smb-handle-make-symbolic-link)
17378 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17379 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17380 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17381 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17382 Handle long file names.
17383 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17384 process is running.
17385 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17386 Read share names with "-g" option.
17388 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17390 * net/rcirc.el (rcirc-view-log-file): New command.
17391 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17392 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17395 2009-10-15 Glenn Morris <rgm@gnu.org>
17397 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17398 from the second command-line argument.
17399 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17400 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17401 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17402 w32-batch-update-autoloads.
17403 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17404 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17406 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17407 the headers cannot be located. Simplify, subtracting superflous
17410 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17412 Replace completion-base-size by completion-base-position to fix bugs
17413 such as (bug#4699).
17414 * simple.el (completion-base-position): New var.
17415 (completion-base-size): Mark as obsolete.
17416 (choose-completion): Make it work for mouse events as well.
17417 Pass the new base-position to choose-completion-string.
17418 (choose-completion-guess-base-position): New function, extracted from
17419 choose-completion-delete-max-match.
17420 (choose-completion-delete-max-match): Use it. Make obsolete.
17421 (choose-completion-string): Use the new base-position info.
17422 (completion-root-regexp): Delete.
17423 (completion-setup-function): Preserve completion-base-position.
17424 Eliminate obsolete base-size manipulation.
17425 * minibuffer.el (display-completion-list): Don't mess with base-size.
17426 (minibuffer-completion-help): Set completion-base-position instead.
17427 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17429 * textmodes/bibtex.el (bibtex-complete):
17430 * emacs-lisp/crm.el (crm--choose-completion-string):
17431 Adjust to new calling convention.
17432 * complete.el (partial-completion-mode): Use minibufferp to avoid
17433 bumping into incompatible change to choose-completion-string-functions.
17434 * ido.el (ido-choose-completion-string): Make its calling convention
17436 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17437 base-size manipulation.
17438 (comint-dynamic-list-input-ring): Use dotimes and push.
17439 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17440 fundamental-mode. Use `or'.
17442 2009-10-14 Juri Linkov <juri@jurta.org>
17444 * misearch.el (multi-isearch-next-buffer-from-list)
17445 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17447 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17449 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17452 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17453 string we return is all made up of text from the completions rather
17454 than part from the completions and part from the input (bug#4219).
17456 * ido.el (ido-everywhere): Use define-minor-mode.
17458 * buff-menu.el (list-buffers, ctl-x-map):
17459 Mark the entry points with ;;;###autoload cookies.
17461 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17463 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17464 correctly in the detached head case.
17465 (vc-git-print-log): Remove unused binding.
17467 * vc.el (vc-responsible-backend): When a directory is passed for
17468 for registration create a VC repository if no backend is
17469 responsible for the directory argument.
17470 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17472 * vc.el: Move comments about RCS and SCCS ...
17474 * vc-sccs.el: ... here, respectively.
17476 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17478 * minibuffer.el (completion--file-name-table): Return nil if there's
17479 no file completion, even if substitute-in-file-name changed
17480 the string (bug#4708).
17482 2009-10-13 Juri Linkov <juri@jurta.org>
17484 * files-x.el (read-file-local-variable-value): Don't filter out
17485 minor modes from mode name completion (bug#4664).
17487 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17489 * international/mule-cmds.el (ucs-names): Remove exclusion of
17490 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17492 2009-10-13 Kenichi Handa <handa@m17n.org>
17494 * international/uni-name.el: Regenerated.
17496 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17498 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17499 should be automatically buffer-local, but isn't.)
17501 2009-10-12 Sam Steingold <sds@gnu.org>
17503 * progmodes/compile.el (compilation-next-error-function): Fix the
17504 timestamps if the buffer has been visited before.
17505 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17506 non-anchored patterns, like the perl one (bug#3928).
17508 2009-10-12 Glenn Morris <rgm@gnu.org>
17510 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17513 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17515 * proced.el (proced-unload-function): New function.
17517 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17518 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17521 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17523 2009-10-11 Juri Linkov <juri@jurta.org>
17525 * files-x.el (read-file-local-variable-value):
17526 Provide default value only for bound variables (bug#4664).
17528 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17530 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17531 connection methods like smb.
17533 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17536 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17537 (tramp-smb-file-name-handler-alist): Add handlers for
17538 `add-name-to-file', `make-symbolic-link'.
17539 (tramp-smb-handle-add-name-to-file)
17540 (tramp-smb-do-file-attributes-with-stat)
17541 (tramp-smb-handle-make-symbolic-link)
17542 (tramp-smb-get-cifs-capabilities): New defuns.
17543 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17544 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17545 (tramp-smb-handle-file-local-copy)
17546 (tramp-smb-handle-make-directory-internal)
17547 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17548 The file name syntax depends on cifs capabilities.
17549 (tramp-smb-handle-file-attributes):
17550 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17551 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17552 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17554 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17556 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17557 (eieio-defclass): Apply deftype handler and setf-method properties
17559 (eieio-add-new-slot): Avoid union function from cl library.
17560 (eieio--typep): New function.
17561 (eieio-perform-slot-validation): Use it.
17563 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17565 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17566 Update documentation to refer to the variables documented in r1.135.
17569 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17571 * bookmark.el (Info-suffix-list): Remove this unused variable.
17572 (bookmark-current-point): Remove this obsolete variable.
17573 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17574 Adjust for removal of bookmark-current-point.
17576 (bookmarks-already-loaded, bookmark-current-buffer)
17577 (bookmark-yank-point): Document. (Bug#4188)
17579 2009-10-10 Glenn Morris <rgm@gnu.org>
17581 * frame.el (frame-height): Doc fix.
17583 * calendar/calendar.el (calendar-split-width-threshold): New option.
17584 (calendar-basic-setup): Use calendar-split-width-threshold.
17586 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17588 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17589 Ideographic Supplement" range (U+1F200..U+1F2FF).
17591 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17593 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17594 since the list will have been rebuilt anyway. (Bug#4349)
17596 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17598 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17599 (bookmark-bmenu-execute-deletions): Don't save here, as
17600 bookmark-delete will now do so if necessary.
17601 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17604 2009-10-09 Glenn Morris <rgm@gnu.org>
17606 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17608 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17610 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17611 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17612 argument now, so the two function's behaviors will match. (Bug#3645)
17614 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17616 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17617 (tramp-file-name-real-host, tramp-file-name-port):
17618 Apply `save-match-data'.
17620 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17621 case both directories are remote.
17622 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17623 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17625 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17627 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17629 2009-10-07 Glenn Morris <rgm@gnu.org>
17631 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17634 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17636 * files-x.el (read-file-local-variable): Include some
17637 non-user-variables in the completion table (bug#4664).
17639 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17641 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17644 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17645 (tramp-smb-file-name-handler-alist): Add handler for
17646 `copy-directory', `expand-file-name', `set-file-modes'.
17647 (tramp-smb-handle-copy-directory)
17648 (tramp-smb-handle-expand-file-name)
17649 (tramp-smb-handle-set-file-modes): New defuns.
17650 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17651 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17653 (tramp-smb-handle-insert-directory): Don't flush the cache.
17654 (tramp-smb-maybe-open-connection): Check for samba client and
17657 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17659 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17660 to not error out of search for "^lisp=" fails.
17662 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17664 * makefile.w32-in (WINS_UPDATES): New macro.
17665 (custom-deps, finder-data, autoloads): Use it.
17667 2009-10-07 Glenn Morris <rgm@gnu.org>
17669 * Makefile.in (autoloads): Revert previous change.
17670 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17671 the list of preloaded files passed on the command-line, get
17672 it from src/Makefile.
17674 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17675 show the original buffer rather than a random one.
17677 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17679 * help.el (describe-no-warranty): Place point in a slightly better
17680 position in the GPLv3 text.
17682 2009-10-06 Sam Steingold <sds@gnu.org>
17684 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17685 the comm attribute is present before calling regexp-quote.
17687 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17689 * play/animate.el (animate-string): For good effect, make sure
17690 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17692 * play/animate.el (animate-sequence, animate-birthday-present):
17693 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17695 2009-10-06 Glenn Morris <rgm@gnu.org>
17697 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17699 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17700 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17701 (batch-update-autoloads): Process a string value of autoload-excludes,
17702 set during the build process.
17703 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17705 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17706 inside with-parsed... macro so that `v' is defined.
17708 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17709 * progmodes/fortran.el (fortran-end-of-block)
17710 (fortran-beginning-of-block):
17711 Also push mark in the macro case.
17713 * emerge.el (emerge-show-file-name):
17714 * calc/calc.el (calc-quit):
17715 * calc/calc-misc.el (calc-big-or-small):
17716 * calc/calc-graph.el (calc-graph-view):
17717 * calc/calc-ext.el (calc-reset):
17718 * calendar/calendar.el (calendar-basic-setup):
17719 Use window-full-height-p.
17721 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17722 header we don't understand, don't insert another. (Bug#4624)
17723 If changing mime charset, insert the new one in the right place.
17725 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17727 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17728 (cal-tex-cursor-month): Correctly increment the end date for diary and
17729 holiday listing. (Bug#4626)
17731 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17733 * help-fns.el (describe-function-1): Don't burp if the function is not
17736 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17738 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17739 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17740 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17741 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17743 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17744 (eieio-default-superclass): Reflow docstrings.
17745 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17746 (eieio-unbind-method-implementations, defmethod)
17747 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17748 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17749 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17750 (eieio-slot-originating-class-p, eieio-slot-name-index)
17751 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17752 (constructor, initialize-instance, no-next-method, object-print)
17753 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17754 Fix typos in docstrings.
17755 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17756 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17757 (next-method-p): Doc fixes.
17758 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17759 Fix typos in error messages.
17760 (eieio-defmethod): Fix typo in description of generic method.
17762 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17763 (eieio-persistent-save-interactive, slot-missing):
17764 Fix typos in docstrings.
17765 (eieio-instance-inheritor-slot-boundp): Doc fix.
17767 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17768 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17770 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17771 (eieio-custom-object-apply-reset):
17772 Fix typos in docstrings and error messages.
17774 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17775 Fix typo in docstring.
17777 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17778 (eieio-browse-tree): Doc fix.
17779 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17780 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17781 Fix typos in docstrings.
17783 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17784 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17785 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17786 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17789 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17791 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17792 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17793 Set log-view-vc-backend so that diff can work.
17795 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17797 (vc-diff-internal): Autoload this instead of vc-version-diff.
17799 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17801 * simple.el (eval-expression): Doc fix.
17803 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17805 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17807 * files.el (directory-files-no-dot-files-regexp): New defconst.
17808 (delete-directory): Use it.
17809 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17811 * net/tramp.el (tramp-verbose): Fix docstring.
17812 (tramp-methods): Add recursive option to `tramp-copy-args'.
17813 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17814 "scp1_old", "scp2_old", "rsync", "rsyncc".
17815 (tramp-default-method): Check also for `auth-source-user-or-password'.
17816 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17817 Add handler for `copy-directory'.
17818 (tramp-handle-copy-directory): New defun.
17819 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17820 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17821 Optimize sent command.
17823 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17825 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17826 window if necessary.
17828 * calendar/calendar.el (calendar-basic-setup): Don't call
17829 switch-to-buffer in a dedicated window.
17831 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17833 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17834 don't do anything related to relocating, just return nil.
17835 (bookmark-error-no-filename): New error.
17836 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17837 bookmark has no file. Don't even attempt to handle things that
17838 are not files; the whole point of custom handlers is to keep that
17839 knowledge elsewhere anyway. Tighten some comments.
17840 (bookmark-file-or-variation-thereof): Remove now-unused function.
17841 (bookmark-location): Doc string fix.
17844 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17846 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17847 don't use a file dialog, because they usually don't know how to read
17848 a directory target from the user. (Bug#4230)
17849 Also, make sure the prompt can display directories as well as files.
17851 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17853 * bookmark.el (bookmark-set, bookmark-buffer-name):
17854 Improve doc strings. (Bug#1193)
17856 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17858 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17859 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17860 (bookmark-get-annotation, bookmark-set-annotation)
17861 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17862 (bookmark-set-position, bookmark-get-front-context-string)
17863 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17864 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17865 (bookmark-jump-other-window, bookmark-handle-bookmark)
17866 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17867 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17868 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17869 Improve doc strings to say whether bookmark can be a string or
17870 a record or both, and make other consistency and clarity fixes.
17871 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17872 (bookmark-default-annotation-text, bookmark-yank-word)
17873 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17874 (bookmark-import-new-list, bookmark-maybe-rename)
17875 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17876 (bookmark-bmenu-bookmark): Give these doc strings.
17877 (bookmark-bmenu-check-position): Give this a doc string, but also
17878 add a FIXME comment about how the function may be pointless.
17879 (bookmark-default-handler): Rework doc string and change a
17880 parameter name, to clarify that this takes a bookmark record
17881 not a bookmark name.
17882 (bookmark-set): Change a parameter name to indicate its meaning,
17883 and improve the doc string a bit.
17886 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17888 * bookmark.el (bookmark-alist): Document the new `handler' element
17889 in the param alist.
17890 (bookmark-make-record-function): Adjust documentation for above.
17893 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17895 * info.el (Info-bookmark-make-record): Document this function.
17896 (Info-bookmark-jump): Document with a doc string, not just a comment.
17899 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17901 * files.el (copy-directory): New defun.
17903 * dired-aux.el (dired-copy-file-recursive): Use it.
17905 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17907 * files-x.el (modify-dir-local-variable)
17908 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17911 * recentf.el (recentf-unload-function): New function.
17913 2009-10-04 Glenn Morris <rgm@gnu.org>
17915 * window.el (window-full-height-p): Add doc string.
17917 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17919 * window.el (window-full-height-p): New function. (Bug#4543)
17921 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17923 * vc.el: Remove commented out code.
17924 (vc-derived-from-dir-mode): Remove, unused.
17925 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17927 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17929 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17930 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17931 there could be recursive loading when `default-directory' is a
17932 remote file name. (Bug#4614)
17934 2009-10-03 Glenn Morris <rgm@gnu.org>
17936 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17938 (calendar-generate-window): Test for shrinkability rather than width.
17940 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17941 reusing existing buffers, in case we happen to visit two files with the
17942 same basename. (Bug#4593)
17944 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17946 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17947 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17948 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17949 subdirs of cedet as well.
17950 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17952 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17954 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17955 Obey advertised-signature-table.
17957 * help-fns.el (help-function-arglist): Don't check
17958 advertised-signature-table.
17959 (describe-function-1): Do it here instead so it also applies to subrs.
17961 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17963 * simple.el (start-file-process): Say in the doc-string, that file
17964 handlers might not support pty association, if PROGRAM is nil.
17966 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17967 HOST and USER are strings. They are nil, when there are
17968 incomplete entries in ~/.netrc, for example.
17969 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17970 root directory ("device busy" error otherwise).
17972 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17973 Flush file properties of created directory.
17975 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17977 * makefile.w32-in (WINS_BASIC): Remove cedet.
17978 (WINS_CEDET): Add cedet.
17979 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17981 2009-10-02 Kevin Ryde <user42@zip.com.au>
17983 * net/browse-url.el (browse-url): Pass any symbol in
17984 browse-url-browser-function to `apply', since if you've mistakenly put
17985 an unbound symbol then the error is clearer. (Bug#4531)
17987 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17989 * allout.el (allout-init, allout-back-to-current-heading)
17990 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17991 (allout-ascend, allout-up-current-level, allout-end-of-level)
17992 (allout-previous-visible-heading, allout-forward-current-level)
17993 (allout-backward-current-level, allout-show-children):
17994 * apropos.el (apropos-describe-plist):
17995 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17996 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17997 * completion.el (add-completion, add-permanent-completion):
17998 * descr-text.el (describe-text-category, describe-char):
17999 * desktop.el (desktop-lazy-abort):
18000 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18001 * dired.el (dired-build-subdir-alist):
18002 * ediff.el (ediff-version):
18003 * elide-head.el (elide-head, elide-head-show):
18004 * emerge.el (emerge-version):
18006 * face-remap.el (variable-pitch-mode):
18007 * faces.el (describe-face):
18008 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18010 * files.el (find-file-existing, auto-save-mode):
18011 * font-lock.el (font-lock-fontify-buffer):
18012 * help-fns.el (describe-function, describe-variable)
18013 (describe-syntax, describe-categories):
18014 * help.el (view-lossage, describe-bindings, describe-key)
18016 * hexl.el (hexl-current-address):
18017 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18018 * info.el (Info-goto-emacs-key-command-node):
18019 * log-edit.el (log-edit-insert-cvs-template)
18020 (log-edit-insert-cvs-rcstemplate):
18021 * menu-bar.el (menu-bar-mode):
18022 * mouse.el (mouse-appearance-menu):
18023 * newcomment.el (comment-indent-new-line):
18024 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18025 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18026 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18027 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18028 * recentf.el (recentf-mode):
18029 * savehist.el (savehist-mode, savehist-save):
18030 * shadowfile.el (shadow-copy-files):
18031 * simple.el (kill-ring-save, next-line, previous-line)
18032 (normal-erase-is-backspace-mode):
18033 * strokes.el (strokes-update-window-configuration)
18034 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18035 (strokes-xpm-for-stroke):
18036 * time.el (emacs-uptime, emacs-init-time):
18037 * tutorial.el (tutorial--describe-nonstandard-key)
18038 (tutorial--detailed-help):
18039 * type-break.el (type-break-mode)
18040 (type-break-mode-line-message-mode, type-break-query-mode)
18041 (type-break-guesstimate-keystroke-threshold):
18042 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18043 * version.el (emacs-version):
18044 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18045 * winner.el (winner-mode):
18046 * calendar/timeclock.el (timeclock-in, timeclock-out)
18047 (timeclock-status-string, timeclock-change)
18048 (timeclock-workday-remaining-string)
18049 (timeclock-workday-elapsed-string)
18050 (timeclock-when-to-leave-string):
18051 * calendar/todo-mode.el (todo-add-category):
18052 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18053 * emacs-lisp/autoload.el (update-file-autoloads):
18054 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18055 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18056 (checkdoc-message-text, checkdoc-defun):
18057 * emacs-lisp/debug.el (debugger-list-functions):
18058 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18059 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18060 (eieio-describe-generic):
18061 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18062 * emacs-lisp/shadow.el (list-load-path-shadows):
18063 * emulation/cua-base.el (cua-mode):
18064 * emulation/edt.el (edt-set-scroll-margins):
18065 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18066 (tpu-toggle-regexp, tpu-toggle-search-direction)
18067 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18068 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18069 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18070 (viper-set-parsing-style-toggling-macro)
18071 (viper-set-emacs-state-searchstyle-macros):
18072 * emulation/viper.el (viper-set-hooks):
18073 * eshell/esh-mode.el (eshell-truncate-buffer):
18074 * international/mule-cmds.el (prefer-coding-system)
18075 (describe-input-method, describe-language-environment):
18076 * international/mule-diag.el (list-character-sets)
18077 (describe-character-set, describe-coding-system)
18078 (describe-fontset, list-fontsets, list-input-methods):
18079 * mail/sendmail.el (mail-signature):
18080 * net/ange-ftp.el (ange-ftp-copy-file):
18081 * net/browse-url.el (browse-url):
18082 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18083 * net/quickurl.el (quickurl-add-url):
18084 * net/rcirc.el (names, topic):
18085 * net/xesam.el (xesam-mode):
18086 * play/5x5.el (5x5-new-game):
18087 * play/yow.el (apropos-zippy):
18088 * progmodes/ada-mode.el (ada-mode-version):
18089 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18091 (f90-beginning-of-block):
18092 * progmodes/fortran.el (fortran-end-of-block)
18093 (fortran-beginning-of-block):
18094 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18095 * progmodes/python.el (python-describe-symbol, python-shell):
18096 * term/ns-win.el (ns-print-buffer):
18097 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18098 * textmodes/flyspell.el (flyspell-mode-on):
18099 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18100 (pages-directory-for-addresses):
18101 * textmodes/table.el (table-recognize-cell)
18102 (table-query-dimension, table-generate-source)
18103 (table-insert-sequence, table--warn-incompatibility):
18104 * textmodes/tex-mode.el (tex-validate-buffer):
18105 * textmodes/texinfmt.el (texinfmt-version)
18106 (texinfo-format-buffer):
18107 Use `called-interactively-p' instead of `interactive-p'.
18109 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18111 * image-mode.el (image-toggle-display):
18112 * emacs-lisp/elp.el (elp-instrument-function):
18113 * emacs-lisp/advice.el (ad-make-advised-definition):
18114 * emacs-lisp/easy-mmode.el (define-minor-mode):
18115 * net/browse-url.el (browse-url-maybe-new-window):
18116 * progmodes/sh-script.el (sh-learn-buffer-indent):
18117 Pass new argument 'any to `called-interactively-p'.
18119 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18121 * international/uni-bidi.el:
18122 * international/uni-category.el:
18123 * international/uni-combining.el:
18124 * international/uni-comment.el:
18125 * international/uni-decimal.el:
18126 * international/uni-decomposition.el:
18127 * international/uni-digit.el:
18128 * international/uni-lowercase.el:
18129 * international/uni-mirrored.el:
18130 * international/uni-name.el:
18131 * international/uni-numeric.el:
18132 * international/uni-old-name.el:
18133 * international/uni-titlecase.el:
18134 * international/uni-uppercase.el:
18135 Regenerate from Unicode 5.2.0 data.
18137 2009-10-01 Glenn Morris <rgm@gnu.org>
18139 * Makefile.in (ELCFILES): Regenerate.
18141 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18143 * subr.el (interactive-p): Mark obsolete.
18144 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18145 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18146 advertised-signature-table for subroutines as well.
18148 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18149 (set-advertised-calling-convention): New function.
18150 (make-obsolete, define-obsolete-function-alias)
18151 (make-obsolete-variable, define-obsolete-variable-alias):
18152 Make the optional-ness of `when' obsolete.
18153 (define-obsolete-face-alias): Make `when' non-optional.
18154 * help-fns.el (help-function-arglist):
18155 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18156 Use advertised-signature-table.
18158 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18160 * files.el (delete-directory): New defun. The original function
18161 in fileio.c has been renamed to `delete-directory-internal'.
18163 * dired.el (dired-delete-file): Call `delete-directory' with
18164 RECURSIVE parameter.
18166 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18167 parameter RECURSIVE. Implementation is missing.
18169 * net/tramp.el (tramp-handle-make-directory): Flush upper
18170 directory's file properties.
18171 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18172 (tramp-handle-dired-recursive-delete-directory): Flush directory
18173 properties after the remove command only.
18175 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18176 Handle optional parameter RECURSIVE.
18178 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18179 Handle optional parameter RECURSIVE.
18181 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18182 connection timeout.
18183 (tramp-smb-handle-delete-directory): Handle optional parameter
18186 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18188 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18189 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18190 (byte-compile-defmacro): Use backquotes.
18192 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18194 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18195 has no associated file.
18196 (vc-resynch-buffer): Use vc-dir-buffers.
18198 2009-10-01 Glenn Morris <rgm@gnu.org>
18200 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18201 (chart-file-count):
18202 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18203 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18204 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18205 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18206 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18207 (eieio-copy-parents-into-subclass, make-instance, class-children)
18208 (eieio-generic-form):
18210 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18211 match-data. (Bug#4555).
18213 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18214 rather than parsing it as a regexp. This relaxes the layout
18215 requirements and makes errors easier to detect.
18216 (check-declare-verify): Check file is regular.
18217 (check-declare-directory): Doc fix.
18218 * subr.el (declare-function): Doc fix.
18220 * ibuffer.el (ibuffer-format-qualifier):
18221 * isearch.el (hi-lock-regexp-okay):
18222 * calc/calc.el (math-zerop):
18223 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18224 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18225 Remove unused declarations.
18227 2009-09-30 Eric Ludlam <zappo@gnu.org>
18229 * emacs-lisp/eieio.el (boolean-p): Delete.
18231 2009-09-30 Glenn Morris <rgm@gnu.org>
18233 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18235 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18236 filename is not a string.
18238 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18240 * files.el (safe-local-eval-forms): Fix typo.
18242 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18244 * vc-hooks.el (vc-dir-buffers): New var.
18245 (vc-state-refresh): New function.
18246 (vc-state): Use it.
18247 (vc-after-save): Always ask the backend to recompute the new state.
18248 Always call vc-dir if necessary, using vc-dir-buffers.
18249 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18250 Use vc-dir-buffers.
18251 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18252 (vc-dir-prepare-status-buffer, vc-dir-update)
18253 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18254 Don't call expand-file-name on default-directory.
18256 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18258 * speedbar.el (speedbar-item-delete):
18259 * calc/calc-prog.el (calc-kbd-if):
18260 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18262 * epa.el (epa-key-list-mode-map):
18263 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18265 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18266 (hs-show-hook): Fix typo in docstring.
18268 2009-09-29 Glenn Morris <rgm@gnu.org>
18270 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18271 file-name-nondirectory call preventing location of cedet files.
18272 (check-declare-verify): Use literal search rather than re-search.
18273 Add basic defmethod and defclass, and define-overloadable-function.
18275 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18276 Use tramp-compat-file-attributes rather than nonexistent
18277 tramp-compat-handle-file-attributes.
18279 * Makefile.in (lisptagsfiles4): New.
18280 (AUTOGENEL): Add cedet loaddefs files.
18281 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18282 (update-elclist, compile-always, backup-compiled-files)
18283 (bootstrap-clean): Add yet another directory level.
18284 (update-elclist): Use LC_COLLATE rather than COLLATE.
18285 (ELCFILES): Update, via `make update-elclist'.
18287 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18289 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18290 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18291 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18293 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18295 * Makefile.in (lisptagsfiles3): Define.
18296 (TAGS, TAGS-LISP): Use it.
18297 (update-elclist): Add third directory level to look for elc files.
18298 (compile-always): Likewise.
18299 (backup-compiled-files): Likewise.
18300 (bootstrap-clean): Likewise.
18301 (ELCFILES): Update.
18303 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18305 * Makefile.in (ELCFILES): Add CEDET files.
18307 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18309 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18311 * net/tramp.el (top): Require tramp-imap.
18313 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18314 Use `tramp-compat-handle-file-attributes'.
18316 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18318 * net/tramp-imap.el: New package.
18320 2009-09-28 Eric Ludlam <zappo@gnu.org>
18322 * emacs-lisp/chart.el:
18323 * emacs-lisp/eieio-base.el:
18324 * emacs-lisp/eieio-comp.el:
18325 * emacs-lisp/eieio-custom.el:
18326 * emacs-lisp/eieio-datadebug.el:
18327 * emacs-lisp/eieio-opt.el:
18328 * emacs-lisp/eieio-speedbar.el:
18329 * emacs-lisp/eieio.el: New files.
18331 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18333 * whitespace.el (whitespace-trailing-regexp)
18334 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18337 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18339 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18342 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18343 menu-bar-ediff-menu.
18345 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18346 define-overloadable-function.
18348 * progmodes/autoconf.el: Provide autoconf as well, so that this
18349 file can be `require'd.
18351 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18353 * emacs-lisp/autoload.el (generated-autoload-feature)
18354 (generated-autoload-load-name): New vars.
18355 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18356 (make-autoload): Recognize define-overloadable-function and
18357 defclass forms (for EIEIO).
18359 * Makefile.in (update-subdirs): Exclude cedet directory.
18361 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18363 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18365 * faces.el: Default light-background background for region face to
18366 ns_selection_color under NS.
18368 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18370 * net/imap-hash.el: New library, see NEWS.
18372 * Makefile.in (ELCFILES): Add imap-hash.el.
18374 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18376 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18377 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18378 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18379 definition where the docstring could be taken for the return value.
18381 2009-09-26 Glenn Morris <rgm@gnu.org>
18383 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18384 Add option to only show images below a certain size.
18385 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18386 save-excursion calls.
18388 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18390 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18391 subdirectories) and eieio.
18393 2009-09-26 Alan Mackenzie <acm@muc.de>
18395 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18396 Correct buggy bracketing. (Bug#4289)
18398 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18399 character constants (as case labels). (Bug#4289)
18401 2009-09-25 Juri Linkov <juri@jurta.org>
18403 * files.el (safe-local-eval-forms): Allow time-stamp in
18404 before-save-hook (Bug#4554).
18406 2009-09-25 Drew Adams <drew.adams@oracle.com>
18408 * menu-bar.el (list-buffers-directory): Doc fix.
18410 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18412 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18413 Try and avoid copying twice the same paragraph.
18414 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18415 Remove save-excursion.
18416 (log-edit-changelog-entry): Do it here instead.
18418 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18420 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18421 when available, instead of hardcoding mode names. Doc fix.
18423 * menu-bar.el (list-buffers-directory): Add docstring.
18424 Make automatically buffer-local.
18426 * dired.el (dired-mode):
18427 * files.el (cd-absolute):
18428 * pcvs.el (cvs-temp-buffer):
18429 * pcvs-util.el (cvs-get-buffer-create):
18430 * shell.el (shell-mode):
18431 * vc-dir.el (vc-dir-mode):
18432 Don't make `list-buffers-directory' buffer local.
18434 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18436 * comint.el (comint-exec, comint-run, make-comint):
18437 Doc fixes (Bug#4542).
18439 2009-09-25 Glenn Morris <rgm@gnu.org>
18441 * mail/rmailmm.el (rmail-mime): New custom group.
18442 Move all defcustoms in this file into this group.
18443 (rmail-mime-media-type-handlers-alist): Revert previous change.
18444 (rmail-mime-show-images): New option.
18445 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18446 references to it, since it wasn't actually used for anything.
18447 (rmail-mime-insert-image): New function.
18448 (rmail-mime-image): Use rmail-mime-insert-image.
18449 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18450 obey the value of `rmail-mime-show-images' option. Print the size of
18453 2009-09-25 David Engster <deng@randomsample.de>
18455 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18457 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18459 * whitespace.el: Does not highlight trailing spaces While point is
18460 at end of line. Does not highligt spaces at beginning of buffer
18461 while point is at beginning of buffer. Does not highlight spaces
18462 at end of buffer while point is at end of buffer. (Bug#4177)
18464 (whitespace-display-mappings): Adjust initialization.
18465 (whitespace-point, whitespace-font-lock-refontify): New vars.
18466 (whitespace-color-on, whitespace-color-off): Adjust code.
18467 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18468 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18469 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18471 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18473 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18475 * textmodes/sgml-mode.el: Remove xml-mode alias.
18477 * files.el (auto-mode-alist, conf-mode-maybe)
18478 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18480 2009-09-24 Alan Mackenzie <acm@muc.de>
18482 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18483 c-forward-conditionals, but it doesn't move point and doesn't set
18485 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18486 (c-down-conditional-with-else, c-backward-conditional)
18487 (c-forward-conditional): Refactor to use c-scan-conditionals.
18489 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18491 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18492 (help-default-arg-highlight): Remove.
18493 (help-highlight-arg): New function.
18494 (help-do-arg-highlight): Use it.
18495 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18497 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18499 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18500 Undo last change, which didn't fix the problem and introduced others.
18502 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18504 * progmodes/gdb-mi.el: Don't require speedbar.
18505 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18507 2009-09-24 Glenn Morris <rgm@gnu.org>
18509 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18511 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18513 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18514 there is no newline after the final mime boundary. (Bug#4539)
18515 Move markers on insertion so that any buttons inserted don't end up in
18516 the next part of a multipart message.
18517 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18518 (rmail-mime-bulk-handler): Optionally handle images.
18519 (rmail-mime-image): New button action.
18520 (rmail-mime-image-handler): New function.
18521 (rmail-mime-mode): New mode.
18522 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18524 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18526 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18527 than just dropping elements from it (bug#4504).
18529 * term.el (term-set-scroll-region): Don't move cursor any more.
18530 (term-handle-ansi-escape): Call term-goto here instead.
18531 Suggested by Ivan Kanis <apple@kanis.eu>.
18533 * term.el: Require CL.
18534 (term-ansi-reset): New function.
18535 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18536 (term-handle-colors-array): Simplify.
18538 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18540 * allout.el (allout-overlay-interior-modification-handler)
18541 (allout-obtain-passphrase):
18542 * epa-file.el (epa-file-write-region):
18543 * ps-print.el (ps-begin-job):
18544 * vc-hooks.el (vc-toggle-read-only):
18545 * vc-rcs.el (vc-rcs-rollback):
18546 * vc-sccs.el (vc-sccs-rollback):
18547 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18548 (vc-version-diff, vc-revert, vc-rollback):
18549 * wdired.el (wdired-check-kill-buffer):
18550 * emacs-lisp/authors.el (authors):
18551 * net/socks.el (socks-open-connection):
18552 * net/zeroconf.el (zeroconf-service-add-hook):
18553 * obsolete/vc-mcvs.el (vc-mcvs-register):
18554 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18555 (gdb-select-frame):
18556 * progmodes/grep.el (lgrep, rgrep):
18557 * progmodes/idlw-help.el (idlwave-help-check-locations)
18558 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18559 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18560 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18561 (reftex-toc-rename-label): Fix typos in error messages.
18563 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18564 (dired-copy-how-to-fn): Doc fix.
18565 (dired-files-attributes, dired-read-shell-command):
18566 Fix typos in docstrings.
18568 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18569 (dired-x-find-file-other-window): Reflow docstrings.
18570 (dired-omit-marker-char, dired-read-shell-command)
18571 (dired-x-submit-report): Fix typos in docstrings.
18573 * shell.el (shell-mode-hook):
18574 * view.el (View-scroll-line-forward):
18575 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18576 Fix typos in docstrings.
18578 * net/dig.el (dig-invoke): Fix typo in docstring.
18579 (query-dig): Reflow docstring.
18581 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18582 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18583 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18584 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18585 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18586 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18587 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18588 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18589 (idlwave-completion-map, idlwave-current-indent)
18590 (idlwave-custom-ampersand-surround, idlwave-customize)
18591 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18592 (idlwave-define-abbrev, idlwave-determine-class-special)
18593 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18594 (idlwave-end-block-reg, idlwave-end-of-statement)
18595 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18596 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18597 (idlwave-explicit-class-listed, idlwave-file-header)
18598 (idlwave-fill-paragraph, idlwave-find-class-definition)
18599 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18600 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18601 (idlwave-in-quote, idlwave-indent-action-table)
18602 (idlwave-indent-expand-table, idlwave-indent-line)
18603 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18604 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18605 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18606 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18607 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18608 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18609 (idlwave-outlawed-buffers, idlwave-popup-select)
18610 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18611 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18612 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18613 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18614 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18615 (idlwave-statement-type, idlwave-struct-skip)
18616 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18617 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18618 (idlwave-what-module-find-class): Fix typos in docstrings.
18619 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18620 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18621 (idlwave-find-module, idlwave-find-structure-definition)
18622 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18623 (idlwave-list-load-path-shadows, idlwave-next-statement)
18624 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18625 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18626 (idlwave-template): Reflow docstrings.
18628 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18629 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18630 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18631 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18632 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18633 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18634 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18635 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18636 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18637 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18638 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18639 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18640 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18641 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18642 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18643 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18644 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18645 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18646 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18647 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18648 Fix typos in docstrings.
18649 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18650 (idlwave-shell-hide-output, idlwave-shell-mode)
18651 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18654 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18656 2009-09-24 Ivan Kanis <apple@kanis.eu>
18658 * term.el (term-bold-attribute): New var.
18659 (term-handle-colors-array): Use it.
18661 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18663 * progmodes/gdb-mi.el (gdb-version): New variable.
18664 (gdb-non-stop-handler): Set gdb-version.
18665 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18666 Condition "--thread" option on gdb-version.
18667 (gdb-invalidate-threads): Remove unused argument.
18669 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18671 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18672 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18674 2009-09-23 Glenn Morris <rgm@gnu.org>
18676 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18677 replying to mail without References or Message-Id. (Bug#4525)
18679 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18681 * term/ns-win.el (ns-reg-to-script): New variable.
18683 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18685 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18687 2009-09-22 Sam Steingold <sds@gnu.org>
18689 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18690 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18691 to 1 because hg returns status 1 when nothing is found.
18692 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18694 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18696 * textmodes/fill.el: Convert to utf-8 encoding.
18697 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18700 * add-log.el (change-log-fill-forward-paragraph): New function.
18701 (change-log-mode): Use it so fill-region DTRT.
18702 Set fill-indent-according-to-mode here rather than in
18703 change-log-fill-paragraph.
18704 (change-log-fill-paragraph): Remove.
18706 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18708 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18709 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18711 2009-09-22 Glenn Morris <rgm@gnu.org>
18713 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18714 the scroll-bar scroll the calendar window rather than the buffer.
18716 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18717 commands that move point (as opposed to scrolling).
18719 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18721 * emacs-lisp/elint.el (elint): New custom group.
18722 (elint-log-buffer): Make it a defcustom.
18723 (elint-scan-preloaded, elint-ignored-warnings)
18724 (elint-directory-skip-re): New options.
18725 (elint-builtin-variables): Doc fix.
18726 (elint-preloaded-env): New variable.
18727 (elint-unknown-builtin-args): Add an entry for encode-time.
18728 (elint-extra-errors): Make it a variable rather than a constant.
18729 (elint-preloaded-skip-re): New constant.
18730 (elint-directory): Skip files matching elint-directory-skip-re.
18731 (elint-features): New variable, local to linted buffers.
18732 (elint-update-env): Initialize elint-features. Possibly add
18733 elint-preloaded-env to the buffer's environment.
18734 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18736 (elint-init-form): New function, extracted from elint-init-env.
18737 Make non-list forms a warning rather than an error.
18738 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18739 easy-menu-define, put that adds an error-condition, and provide.
18740 When requiring cl, also require cl-macs. Really require cl, to handle
18741 some cl macros. Store required libraries in the list elint-features,
18742 so as not to re-load them. Treat cc-require like require.
18743 (elint-init-env): Call elint-init-form to do the work.
18744 Handle eval-and-compile and such like.
18745 (elint-add-required-env): Do not clear messages.
18746 (elint-special-forms): Add handlers for function, defalias, if, when,
18748 (elint-form): Add optional argument to ignore elint-special-forms,
18749 useful to prevent recursive calls from handlers. Doc fix.
18750 Respect elint-ignored-warnings.
18751 (elint-form): Respect elint-ignored-warnings.
18752 (elint-bound-variable, elint-bound-function): New variables.
18753 (elint-unbound-variable): Respect elint-bound-variable.
18754 (elint-get-args): Respect elint-bound-function.
18755 (elint-check-cond-form): Add some simple handling for (f)boundp and
18757 (elint-check-defalias-form): New handler.
18758 (elint-check-let-form): Make an empty let a warning rather than an
18760 (elint-check-setq-form): Make an empty setq a warning rather than an
18761 error. Respect elint-ignored-warnings.
18762 (elint-check-defvar-form): Accept null doc-strings.
18763 (elint-check-conditional-form): New handler. Does some simple-minded
18764 checking of featurep and (f)boundp tests.
18765 (elint-put-function-args): New function.
18766 (elint-initialize): Use elint-scan-doc-file rather than
18767 elint-find-builtin-variables. Use elint-put-function-args.
18768 Possibly scan preloaded-file-list.
18769 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18770 extend to handle functions as well.
18772 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18774 * linum.el (linum-delete-overlays, linum-update-window):
18775 Do not modify the right margin. (Bug#3971)
18777 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18779 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18780 Use nxml-mode instead of xml-mode.
18782 2009-09-21 Kevin Ryde <user42@zip.com.au>
18784 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18786 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18788 * net/dig.el (dig-mode): Use define-derived-mode.
18790 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18792 * vc-dispatcher.el (vc-do-command): Return the process object in
18793 the asynchronous case. Use when instead of if. Do not run
18794 vc-exec-after to display a message if not enabled. (Bug#4463)
18796 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18797 properties to the stash strings.
18798 (vc-git-stash-list): Return a list of strings.
18799 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18800 (vc-git-stash-show-at-point): New functions.
18801 (vc-git-stash-map): New keymap.
18803 * register.el (ctl-x-r-map): Define the keys here instead of
18806 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18808 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18809 list, to workaround performance problem (bug#4485).
18811 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18813 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18815 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18817 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18818 Document that this option is not recommended to use.
18820 2009-09-19 Glenn Morris <rgm@gnu.org>
18822 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18825 * calc/calc-alg.el (var):
18826 * calc/calcalg2.el (var): Define for compiler.
18828 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18830 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18831 Doc fix (Bug#3932).
18833 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18835 * time-stamp.el (time-stamp-month-dd-yyyy)
18836 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18837 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18838 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18839 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18840 Remove functions that have been obsolete since 1995 (Bug#4436).
18842 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18843 indent buffer only if called interactively (Bug#4452).
18845 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18846 Eli Zaretskii <eliz@gnu.org>
18848 This fixes bug#4197 (merged to bug#865, though not identical).
18849 * server.el (server-auth-dir): Add docstring note about FAT32.
18850 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18851 but warn against using them.
18853 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18855 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18856 older GDB where there is no has_more field.
18858 2009-09-19 Glenn Morris <rgm@gnu.org>
18860 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18862 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18864 * files.el (auto-mode-alist): Change default for XML files to nXML
18867 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18869 * server.el (server-ensure-safe-dir): Pass 'integer
18870 to `file-attributes', as suggested.
18872 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18874 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18875 (dired-query): Use read-key.
18877 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18879 * cus-start.el (ns-use-qd-smoothing): Remove.
18881 2009-09-18 Glenn Morris <rgm@gnu.org>
18883 * allout.el (top-level): Remove unnecessary progn.
18885 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18887 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18888 definition of abbrev table.
18890 * speedbar.el (speedbar-track-mouse):
18891 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18892 * net/eudc.el (eudc-expand-inline):
18893 * net/newst-backend.el (newsticker--cache-read-feed):
18894 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18895 condition-case handlers.
18897 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18899 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18900 (gdb-var-list): Add an element for has_more field.
18901 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18902 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18903 (gdb-var-update-handler-1): Parse output of dynamic variable
18904 objects (STL containers).
18905 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18906 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18908 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18910 (gud-speedbar-buttons): Make node expandable if expression "has more"
18913 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18915 * startup.el (emacs-quick-startup): Remove variable and all uses.
18916 (command-line): Set `inhibit-x-resources' instead.
18917 (command-line-1): Use `inhibit-x-resources' instead.
18919 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18921 * subr.el: Fix last change to avoid using the `unless' macro,
18922 which breaks bootstrapping.
18924 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18926 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18927 extended definitions, in case we reload subr.el after having
18929 (eval-next-after-load): Mark as obsolete.
18931 2009-09-17 Juri Linkov <juri@jurta.org>
18933 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18934 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18935 (menu-bar-showhide-menu, menu-bar-tools-menu)
18936 (menu-bar-describe-menu, menu-bar-help-menu)
18937 (minibuffer-local-completion-map, minibuffer-local-map):
18940 2009-09-17 Glenn Morris <rgm@gnu.org>
18942 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18943 arguments, whether or not it has a handler.
18945 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18947 * simple.el (hard-newline): Give it a doc-string.
18949 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18950 (lisp-mode-syntax-table): Give them doc-strings.
18952 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18954 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18955 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18956 (menu-bar-options-menu, menu-bar-showhide-menu)
18957 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18958 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18959 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18960 (menu-bar-options-menu, menu-bar-tools-menu)
18961 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18962 (menu-bar-help-menu):
18963 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18966 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18967 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18968 calls for the menu names and :help.
18970 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18972 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18973 to :minor-mode-function (bug#4455).
18975 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18977 * startup.el (command-line): Initialize the window-system after
18978 processing the command-line.
18980 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18981 page-delimiter matches the empty string.
18983 2009-09-16 Glenn Morris <rgm@gnu.org>
18985 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18986 byte-compile-not-obsolete-var. It's a list now.
18987 (byte-compile-not-obsolete-funcs): New variable.
18988 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18989 byte-compile-not-obsolete-funcs.
18990 (byte-compile-variable-ref, byte-compile-defvar): Update for
18991 byte-compile-not-obsolete-vars name-change and list nature.
18992 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18993 and variables behind (f)boundp tests.
18994 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18996 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18998 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19000 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19002 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19003 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19006 2009-09-15 Stephen Eglen <stephen@gnu.org>
19008 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19009 the virtual-buffers, use the name of the buffer specified by
19010 find-file-noselect, as the match may be a symlink. (This was a
19011 problem if the target and the symlink had different names.)
19013 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19015 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19017 * desktop.el (desktop-path): Check user-emacs-directory.
19019 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19021 * loadup.el: Use after-load-functions to GC after loading each file.
19022 Remove the explicit GC calls that used to be sprinkled around.
19024 * subr.el (after-load-functions): New hook.
19025 (do-after-load-evaluation): Run it. Use string-match-p to detect
19026 `obsolete' packages, rather than painfully extracting the relevant
19029 2009-09-15 Glenn Morris <rgm@gnu.org>
19031 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19032 free variable `doc'.
19034 * dired.el (dired-mode-map): Add menu entry for async shell command.
19036 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19037 variables, also consider the .elc files, since the .el files are
19038 normally gzipped (subsequent code locates the .el.gz from the .elc).
19040 * calc/calc-prog.el (arglist): Define for compiler.
19042 * calendar/diary-lib.el (diary-display-function): Change the default to
19044 (body): Define for compiler.
19046 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19047 (byte-compile-file-form, byte-compile-lambda)
19048 (byte-compile-top-level-body, byte-compile-form)
19049 (byte-compile-variable-ref, byte-compile-setq)
19050 (byte-compile-setq-default, byte-compile-body)
19051 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19052 (batch-byte-compile): Give some more local variables with common names
19053 a "bytecomp-" prefix to avoid masking warnings about free variables.
19055 * startup.el (command-line-1): Give local variables with common names a
19056 distinguishing prefix, so as not to hide free variable warnings during
19059 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19060 clever and add a suffix to make a unique name, just let the user decide
19061 whether or not to overwrite it. If the input is a directory, write the
19062 default filename to that directory. (Bug#4388)
19063 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19064 is a filename-as-a-directory.
19066 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19068 * textmodes/page.el (what-page): Don't move to beginning of line.
19069 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19071 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19073 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19075 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19077 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19078 * help.el (help-for-help-internal): Add purecopy calls for text.
19080 * vc.el (top): print-log method now takes an optional SHORTLOG
19081 argument. Add a new method: root.
19082 (vc-root-diff, vc-print-root-log): New functions.
19083 (vc-log-short-style): New variable.
19084 (vc-print-log-internal): Add support for showing short logs.
19086 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19087 vc-print-root-log and vc-print-root-diff.
19089 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19090 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19091 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19094 * vc-cvs.el (vc-cvs-print-log):
19095 * vc-mtn.el (vc-mtn-print-log):
19096 * vc-rcs.el (vc-rcs-print-log):
19097 * vc-sccs.el (vc-sccs-print-log):
19098 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19099 that is ignored for now.
19101 * vc-mtn.el (vc-mtn-annotate-command):
19102 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19104 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19106 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19107 to function-key-map, and give them ascii-character property.
19108 * term/x-win.el (x-alternatives-map):
19109 * term/ns-win.el (ns-alternatives-map):
19110 * term/internal.el (msdos-key-remapping-map):
19111 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19113 2009-09-14 Glenn Morris <rgm@gnu.org>
19115 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19116 temp-buffers (2009-09-12).
19118 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19120 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19121 the new read-key function.
19123 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19125 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19126 is defined (Bug#4405).
19128 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19130 * recentf.el (recentf-cleanup): Use a hash table to find
19131 duplicates (Bug#4407).
19133 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19135 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19136 kp-0 to ascii equivalents (Bug#4325).
19138 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19140 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19142 * eshell/em-hist.el:
19143 * eshell/em-dirs.el (eshell-complete-user-reference):
19144 Declare pcomplete functions and variables to avoid compiler warnings.
19146 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19148 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19149 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19150 * eshell/em-alias.el (eshell-aliases-file):
19151 * eshell/em-hist.el (eshell-history-file-name):
19152 Use expand-file-name instead of concat to make file names (Bug#4308).
19154 2009-09-13 Glenn Morris <rgm@gnu.org>
19156 * ediff-merg.el (ediff-do-merge):
19157 * filesets.el (filesets-run-cmd):
19158 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19159 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19160 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19161 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19162 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19163 Replace empty `let's with `progn'.
19165 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19167 * mail/sendmail.el (send-mail-function):
19168 * tooltip.el (tooltip-mode):
19169 * simple.el (transient-mark-mode):
19170 * rfn-eshadow.el (file-name-shadow-mode):
19171 * frame.el (blink-cursor-mode):
19172 * font-core.el (global-font-lock-mode):
19173 * files.el (temporary-file-directory)
19174 (small-temporary-file-directory, auto-save-file-name-transforms):
19175 * epa-hook.el (auto-encryption-mode):
19176 * composite.el (global-auto-composition-mode):
19177 Use custom-initialize-delay.
19178 * startup.el (command-line): Don't explicitly call
19179 custom-reevaluate-setting for all the above vars.
19180 * custom.el (custom-initialize-safe-set)
19181 (custom-initialize-safe-default): Delete.
19183 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19185 * term/x-win.el (x-initialize-window-system):
19186 * term/w32-win.el (w32-initialize-window-system):
19187 * term/ns-win.el (ns-initialize-window-system): Don't call
19188 mouse-wheel-mode since it's enabled globally by default already.
19190 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19191 actually define the variable, but only silences the byte-compiler.
19192 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19193 before looking it up.
19194 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19197 2009-09-12 Glenn Morris <rgm@gnu.org>
19199 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19201 (elint-add-required-env): Don't beep on error.
19202 (elint-forms): In case of error, return ENV unchanged.
19203 (elint-init-env): Skip non-list forms.
19204 (elint-log): Handle unknown file positions.
19206 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19208 * epg.el (epg-make-context): Add autoload cookie.
19209 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19210 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19211 (epg-verify-string, epg-start-sign, epg-sign-file)
19212 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19213 (epg-encrypt-string, epg-start-export-keys)
19214 (epg-export-keys-to-file, epg-export-keys-to-string)
19215 (epg-start-import-keys, epg-import-keys-from-file)
19216 (epg-import-keys-from-string, epg-start-receive-keys)
19217 (epg-receive-keys, epg-import-keys-from-server)
19218 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19219 (epg-sign-keys, epg-start-generate-key)
19220 (epg-generate-key-from-file, epg-generate-key-from-string):
19221 Remove autoload cookie.
19223 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19225 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19226 reevaluation of trash-directory.
19228 * mwheel.el: Fix last change.
19229 (mouse-wheel-mode): New defvar.
19230 (mouse-wheel-mode): Remove autoload cookie.
19232 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19234 * mwheel.el (mwheel-installed-bindings): New var.
19235 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19236 the bindings we set last time. Use custom-initialize-delay.
19237 * loadup.el: Load mwheel after term/*-win.el.
19238 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19239 and mouse-wheel-up-event now that their first evaluation is done
19240 sufficiently late to be correct.
19242 * startup.el (tutorial-directory): Make it a defcustom.
19243 Use custom-initialize-delay rather than eval-at-startup to set it.
19244 * image.el (image-load-path): Make it a defcustom.
19245 Use custom-initialize-delay rather than eval-at-startup to set it.
19246 * subr.el (eval-at-startup): Remove.
19247 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19249 * subr.el (do-after-load-evaluation): Warn the user after loading an
19252 2009-09-12 Glenn Morris <rgm@gnu.org>
19254 * proced.el (proced-mark-alt): Remove alias.
19255 (proced-mode-map): Remove proced-mark-alt.
19257 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19258 Elint file and directory. Remove initialization entry.
19260 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19262 (elint-current-buffer): Set mode-line-process.
19263 (elint-init-env): Handle define-derived-mode.
19264 Fix declare-function with unspecified arglist. Guard against odd
19265 defalias statements (eg iso-insert's 8859-1-map).
19266 (elint-add-required-env): Use a temp buffer.
19267 (elint-form): Just print the function/macro name, not the whole form.
19268 Return env unchanged if we fail to parse a macro.
19269 (elint-forms): Guard against parse errors.
19270 (elint-output): New function, to handle batch mode.
19271 (elint-log-message): Add optional argument. Use elint-output.
19272 (elint-set-mode-line): New function.
19274 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19276 * emacs-lisp/elp.el (elp-not-profilable): Add more
19277 functions (Bug#4233).
19279 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19281 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19282 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19284 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19286 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19287 (gdb-var-list-children): Use json parsing.
19289 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19291 * progmodes/js.el (js--proper-indentation): Handle the case where
19292 char-before is null. Reported by Deniz Dogan.
19294 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19296 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19298 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19300 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19301 (epg-digest-algorithm-alist): Add SHA224.
19302 (epg-context-set-passphrase-callback)
19303 (epg-context-set-progress-callback): Add description about
19306 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19308 * custom.el (custom-delayed-init-variables): New var.
19309 (custom-initialize-delay): New function.
19310 * startup.el (command-line): "Re"evaluate all vars in
19311 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19312 explicitly any more.
19313 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19314 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19316 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19318 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19320 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19321 (gdb-var-update-handler): Use json parsing.
19323 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19325 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19326 decode annotated text, regardless of language environment. (Bug#2741)
19328 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19330 * Makefile.in (autoloads): Make rmail.el writable as well.
19332 2009-09-11 Glenn Morris <rgm@gnu.org>
19334 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19336 * dired.el: Regenerate with extracted autoloads.
19337 * Makefile.in (autoloads): Make dired.el writable.
19339 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19340 * ibuffer.el: Regenerate with extracted autoloads.
19341 * Makefile.in (autoloads): Make ibuffer.el writable.
19343 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19344 * version.el (emacs-copyright, emacs-major-version)
19345 (emacs-minor-version): Reformat doc-strings for make-docfile.
19347 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19348 functions and variables, since they must be stuff specific to some other
19350 (apropos-print): Make mouse-click message less specific about button.
19352 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19353 that records where a macro was defined.
19354 * help-fns.el (describe-function-1): Mention if a function has a
19356 * help-mode.el (help-function-cmacro): New button.
19358 * locate.el (top-level): Always require dired.
19359 (locate-mode-map): Initialize inside the defvar.
19361 * net/ange-ftp.el (dired-compress-file): Declare.
19362 (ange-ftp-dired-compress-file): Add doc string.
19364 * term/ns-win.el (x-display-name, x-setup-function-keys):
19365 Unify doc-strings with X versions.
19367 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19369 * emulation/crisp.el (crisp-mode-map): Move initialization
19371 (crisp-mode): Use define-minor-mode.
19373 * progmodes/xscheme.el (xscheme-evaluation-commands):
19374 Put a :advertised-binding property rather than using
19375 advertised-xscheme-send-previous-expression.
19376 (advertised-xscheme-send-previous-expression): Declare obsolete.
19377 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19379 (crisp-mode): Add corresponding bindings to
19380 undo's :advertised-binding instead.
19381 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19382 than using dired-advertised-find-file.
19383 (dired-advertised-find-file):
19384 * simple.el (advertised-undo):
19385 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19386 (widget-keymap): Put a :advertised-binding property rather
19387 than using advertised-widget-backward.
19388 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19389 than using advertised-undo.
19390 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19392 2009-09-10 Simon South <ssouth@slowcomputing.org>
19394 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19395 Mark mode is enabled and region is active; otherwise indent or
19396 insert TAB as usual.
19397 (delphi-mode): Update description of TAB-key binding.
19399 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19401 * subr.el (define-key-rebound-commands): Mark obsolete.
19402 * startup.el (precompute-menubar-bindings): Remove.
19403 (normal-top-level): Remove obsolete code that tried to precompute
19405 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19406 define-key-rebound-commands and precompute-menubar-bindings.
19408 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19410 * net/imap.el (imap-interactive-login): Better messages.
19411 (imap-open): Fix bug with renamed buffer on reconnect.
19412 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19413 for easier debugging and cleaner code. On successful (guessed based on
19414 server capabilities) secondary authentication, set imap-state
19416 (imap-last-authenticator): Define imap-last-authenticator as a variable
19419 2009-09-10 Glenn Morris <rgm@gnu.org>
19421 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19423 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19424 (byte-compile-file-form-autoload): Don't warn about unknown functions
19425 where the autoload statement comes after the use.
19426 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19427 that any handlers inside the body (eg require) are in turn respected.
19429 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19432 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19433 and syntax and abbrev tables basic docs, if they don't have any.
19435 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19437 * international/mule-cmds.el (top-level): Require cl when compiling.
19438 (view-hello-file): Use default-value rather than
19439 default-enable-multibyte-characters.
19441 * progmodes/fortran.el: Move all safe and risky properties into the
19444 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19445 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19446 * mail/undigest.el:
19447 Put autoloads in rmail.el rather than loaddefs.el.
19448 * mail/rmail.el: Regenerate with extracted autoloads.
19450 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19451 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19453 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19455 Reported in thread for Bug#4375.
19456 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19457 "-data-evaluate-expression" instead of print.
19458 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19459 (gdb-tooltip-print): Parse output from above MI command.
19460 (gdb): Revert 2009-08-11 change. User should detach inferior
19463 Remove the word "separate" from IO functions as inferior
19464 output is now never displayed in the GUD buffer.
19466 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19468 * startup.el (command-line-normalize-file-name): On Windows and
19469 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19471 2009-09-10 Juri Linkov <juri@jurta.org>
19473 * isearch.el (isearch-text-char-description): Propertize escape
19474 character sequences with the `escape-glyph' face. (Bug#4344)
19476 * simple.el (shell-command): Set asynchronous process filter to
19477 `comint-output-filter'. (Bug#4343)
19479 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19480 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19481 the list. Move "asm" to the bottom.
19482 (grep-find-ignored-directories): Add `choice' with nil value
19483 to empty the list easily.
19484 (grep-find-ignored-files): New option.
19485 (grep-files-history): Set to nil by default instead of '("ch" "el").
19486 (grep-compute-defaults): Add "<X>" to `grep-template'.
19487 (grep-read-files): Bind new local variables `default-alias' and
19488 `default-extension'. Use a list of default values for the file prompt.
19489 (lgrep): Add `--exclude=' command line options composed from
19490 `grep-find-ignored-files'.
19491 (rgrep): Add `-name' command line options composed from
19492 `grep-find-ignored-files'. (Bug#4301)
19494 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19496 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19499 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19501 * calendar/time-date.el (autoload):
19502 Expand define-obsolete-function-alias into defalias and make-obsolete
19503 for old Emacsen that Gnus supports.
19504 (with-no-warnings): Define it for old Emacsen.
19505 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19507 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19508 float-time is available; suppress compile warning for time-to-seconds.
19510 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19512 * net/imap.el (imap-message-map): Docstring fix.
19514 2009-09-09 Glenn Morris <rgm@gnu.org>
19516 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19517 line numbers too. (Bug#4374)
19519 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19521 * smerge-mode.el (smerge-remove-props, smerge-refine):
19522 Use with-silent-modifications (bug#4342).
19524 * subr.el (with-silent-modifications): New macro.
19526 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19528 * files.el (top-level): Require `cl' when compiling.
19530 2009-09-07 Glenn Morris <rgm@gnu.org>
19532 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19534 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19535 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19537 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19539 * vc-git.el (vc-git-annotate-command): Use separator to parse
19540 arguments correctly.
19542 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19544 * proced.el (proced-mode): Doc fix.
19546 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19548 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19550 (tramp-do-file-attributes-with-ls): Check for file existence at
19552 (tramp-do-file-attributes-with-stat): Likewise.
19553 (tramp-convert-file-attributes): Return nil when attr is nil.
19555 2009-09-05 Glenn Morris <rgm@gnu.org>
19557 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19558 properties to this button.
19559 (diary-fancy-display): Don't extend the button to the final newline.
19560 (diary-fancy-display-mode): Continue to define "q" as a local key.
19562 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19565 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19567 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19568 (byte-compile-dest-file-function): New option.
19569 (byte-compile-dest-file): Doc fix.
19570 Obey byte-compile-dest-file-function.
19571 (byte-compile-cl-file-p): New function.
19572 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19573 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19574 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19575 than for file being previously loaded.
19576 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19577 (byte-compile-file-form-require): Handle the case where requiring a file
19578 indirectly causes CL to be loaded.
19580 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19582 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19583 before killing the old buffer, since by the time `kill-buffer' is
19584 run so many buffer variables have been set to nil that it may not
19585 behave as expected. (Bug#4061)
19587 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19589 * files.el (find-alternate-file): If the old buffer is modified
19590 and visiting a file, behave similarly to `kill-buffer' when
19591 killing it, thus reverting to the pre-1.878 behavior; see
19592 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19593 for discussion. Also, consult `buffer-file-name' as a variable
19594 not as a function, for consistency with the rest of the code.
19596 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19598 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19599 also when adding a new directory.
19601 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19604 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19606 * files.el (locate-file-completion-table): Make it provide boundary
19607 information, so partial-completion works better.
19609 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19611 * mail/footnote.el (Footnote-text-under-cursor):
19612 Check footnote-text-marker-alist before using it (bug#4324).
19614 2009-09-04 Glenn Morris <rgm@gnu.org>
19616 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19617 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19618 * play/solitaire.el, play/tetris.el:
19619 Remove leading * from defcustom and defface docs.
19621 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19623 (diary-fancy-overriding-map): New variable.
19624 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19627 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19630 2009-09-03 Glenn Morris <rgm@gnu.org>
19632 * arc-mode.el (archive-mode):
19633 * dos-fns.el (set-default-process-coding-system):
19634 * man.el (Man-getpage-in-background):
19635 * menu-bar.el (menu-bar-describe-menu):
19636 * server.el (server-process-filter):
19637 * startup.el (command-line):
19638 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19639 * w32-fns.el (set-default-process-coding-system):
19640 * x-dnd.el (x-dnd-handle-file-name):
19641 * international/mule-cmds.el (mule-menu-keymap)
19642 (set-default-coding-systems, language-info-alist, set-language-info)
19643 (set-language-environment, standard-display-european-internal)
19644 (set-locale-environment):
19645 * international/mule-diag.el (mule-diag):
19646 * mail/emacsbug.el (report-emacs-bug):
19647 * mail/rmail.el (rmail-mode):
19648 * mail/sendmail.el (mail-setup):
19649 Use default-value rather than default-enable-multibyte-characters.
19651 * progmodes/f90.el: Move all safe properties into the defcustoms.
19652 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19654 * calendar/appt.el (appt-check):
19655 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19656 (diary-check-diary-file, diary-list-entries)
19657 (diary-include-other-diary-files, diary-simple-display)
19658 (diary-fancy-display, diary-print-entries)
19659 (diary-mark-included-diary-files, diary-make-entry):
19660 Don't call substitute-in-file-name on diary-file.
19662 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19663 Stefan Monnier <monnier@iro.umontreal.ca>
19665 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19666 (footnote-mode-map): Move initialization into the declaration.
19667 (footnote-minor-mode-map): Define it rather than changing global-map.
19668 (footnote-mode): Use define-minor-mode.
19670 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19672 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19673 (tramp-do-file-attributes-with-perl)
19674 (tramp-do-file-attributes-with-stat): Rename from
19675 `tramp-handle-file-attributes-with-*'.
19676 (tramp-handle-file-attributes): Use them.
19677 (tramp-do-directory-files-and-attributes-with-perl)
19678 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19679 `tramp-handle-directory-files-and-attributes-with-*'.
19680 (tramp-handle-directory-files-and-attributes): Use them.
19681 (tramp-method-out-of-band-p): Additional parameter SIZE.
19682 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19683 (tramp-handle-write-region): Use it.
19684 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19685 (tramp-handle-vc-registered): Check, whether the first run did
19686 return files to be tested.
19687 (tramp-advice-make-auto-save-file-name): Do not call directly
19688 `tramp-handle-make-auto-save-file-name', because this would bypass
19689 the locking mechanism.
19691 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19692 (file-remote-p, process-file, start-file-process, set-file-times)
19693 (tramp-compat-file-attributes): Compatibility functions shall not
19694 call directly `tramp-handle-*', because this would bypass the
19696 (tramp-compat-number-sequence): New defun.
19698 2009-09-02 Glenn Morris <rgm@gnu.org>
19700 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19701 alias for float-time.
19702 (time-to-number-of-days): In Emacs, use float-time.
19703 * net/newst-backend.el (time-add): Suppress warnings from compat
19705 * time.el (emacs-uptime, emacs-init-time):
19706 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19707 Use float-time rather than time-to-seconds.
19709 * minibuffer.el (completion-initials-expand): Fix typo.
19711 * faces.el (modeline, modeline-inactive, modeline-highlight)
19712 (modeline-buffer-id):
19713 * info.el (info-menu-5): Mark these face aliases as obsolete.
19715 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19717 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19719 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19720 no "--thread" option.
19721 (gdb-stopped): Don't print "Switched to thread" message when it is
19724 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19726 * minibuffer.el (completion-try-completion)
19727 (completion-all-completions): Remove ill-defined (and
19728 mistakenly installed and luckily never used nor documented)
19729 `completion-styles' property.
19730 (completion-initials-expand, completion-initials-all-completions)
19731 (completion-initials-try-completion): New functions.
19732 (completion-styles-alist): Add doc to each entry.
19733 Add new `initials' entry.
19735 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19737 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19738 MI command -var-evaluate-expression.
19739 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19740 and tweak for case of string child.
19741 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19743 2009-09-01 Glenn Morris <rgm@gnu.org>
19745 * add-log.el (change-log-date-face, change-log-name-face)
19746 (change-log-email-face, change-log-file-face, change-log-list-face)
19747 (change-log-conditionals-face, change-log-function-face)
19748 (change-log-acknowledgement-face):
19749 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19750 (custom-modified-face, custom-set-face, custom-changed-face)
19751 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19752 (custom-documentation-face, custom-state-face, custom-comment-face)
19753 (custom-comment-tag-face, custom-variable-tag-face)
19754 (custom-variable-button-face, custom-face-tag-face)
19755 (custom-group-tag-face-1, custom-group-tag-face):
19756 * diff-mode.el (diff-header-face, diff-file-header-face)
19757 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19758 (diff-added-face, diff-changed-face, diff-function-face)
19759 (diff-context-face, diff-nonexistent-face):
19760 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19761 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19762 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19763 (Info-title-4-face):
19764 * isearch.el (isearch-lazy-highlight-face):
19765 * log-view.el (log-view-file-face, log-view-message-face):
19766 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19767 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19768 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19770 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19771 (smerge-base-face, smerge-markers-face):
19772 * wid-edit.el (widget-documentation-face, widget-button-face)
19773 (widget-field-face, widget-single-line-field-face)
19774 (widget-inactive-face, widget-button-pressed-face):
19775 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19776 (woman-addition-face):
19777 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19778 (eshell-ls-executable-face, eshell-ls-readonly-face)
19779 (eshell-ls-unreadable-face, eshell-ls-special-face)
19780 (eshell-ls-missing-face, eshell-ls-archive-face)
19781 (eshell-ls-backup-face, eshell-ls-product-face)
19782 (eshell-ls-clutter-face):
19783 * eshell/em-prompt.el (eshell-prompt-face):
19784 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19785 * obsolete/old-whitespace.el (whitespace-highlight-face):
19786 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19787 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19788 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19789 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19790 (antlr-font-lock-literal-face):
19791 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19792 (ebrowse-root-class-face, ebrowse-file-name-face)
19793 (ebrowse-default-face, ebrowse-member-attribute-face)
19794 (ebrowse-member-class-face, ebrowse-progress-face):
19795 * progmodes/make-mode.el (makefile-space-face):
19796 * progmodes/sh-script.el (sh-heredoc-face):
19797 * textmodes/flyspell.el (flyspell-incorrect-face)
19798 (flyspell-duplicate-face):
19799 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19800 * textmodes/texinfo.el (texinfo-heading-face):
19801 Mark face aliases with "-face" suffix as obsolete.
19803 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19806 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19807 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19808 easy-menu-define wants to modify these.
19810 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19812 * net/browse-url.el (browse-url-file-url):
19813 * term/internal.el (dos-codepage-setup):
19814 Use default-value rather than default-enable-multibyte-characters.
19816 * progmodes/etags.el (etags-goto-tag-location):
19817 * progmodes/flymake.el (flymake-highlight-line)
19818 (flymake-goto-file-and-line, flymake-goto-line):
19819 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19820 (gdb-goto-breakpoint):
19821 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19822 * progmodes/python.el (python-find-function)
19823 (python-pdbtrack-track-stack-file):
19824 * progmodes/verilog-mode.el (verilog-surelint-off):
19825 * term/ns-win.el (ns-open-file-select-line):
19826 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19827 Use forward-line rather than goto-line.
19829 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19830 * textmodes/reftex-index.el (reftex-display-index):
19831 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19832 * textmodes/reftex-toc.el (reftex-toc):
19833 Remove unnecessary bindings of default-major-mode (all are followed by
19834 major-mode check and possible mode switch).
19836 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19838 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19839 Handle watchpoints (bug#4282).
19840 (def-gdb-thread-buffer-command): Enable thread to be selected by
19841 clicking without selecting threads buffer first.
19842 (gdb-current-context-command): Use selected frame so that "up",
19843 "down" etc work in the GUD buffer.
19844 (gdb-update): Find selected frame before rendering stack buffer.
19845 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19847 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19849 * progmodes/sym-comp.el (displayed-completions): Remove.
19850 (symbol-complete): Use minibuffer-complete.
19852 2009-08-31 Glenn Morris <rgm@gnu.org>
19854 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19856 * apropos.el (apropos-symbols-internal):
19857 Handle (obsolete) face aliases.
19859 * faces.el (describe-face): Adjust the output format to be more like
19860 describe-variable, and to mention (obsolete) face aliases.
19861 Adjust the whitespace so that help-setup-xref works.
19863 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19864 * calendar/diary-lib.el (diary-button-face):
19865 Mark these face aliases as obsolete.
19867 * calendar/calendar.el (calendar-today): Doc fix.
19869 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19871 * progmodes/gdb-mi.el (gdb-control-all-threads)
19872 (gdb-control-current-thread): Force tool bar update.
19873 (gdb-non-stop-handler): New function.
19874 (gdb-init-1): Use it to test if non-stop mode is supported.
19875 Remove unused gdbmi buffer type.
19877 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19879 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19880 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19882 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19884 * comint.el (comint-exec-1): Check command is non-null first.
19885 Part of gdb-mi.el change (2009-08-28).
19887 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19889 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19891 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19893 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19894 instead of `dolist' to avoid a recursive require when bootstrapping.
19896 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19898 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19900 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19902 * net/imap.el (imap-send-command): Simplify.
19903 (imap-wait-for-tag): point-max -> buffer-size.
19905 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19907 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19908 with constant argument.
19910 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19912 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19914 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19915 Change default, since most of our files don't have a history.
19916 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19919 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19922 * calc/calc.el: Improve commenting convention.
19923 (calc-digit-map, toplevel): Simplify.
19925 * comint.el (comint-insert-input): Be careful to only set point if we
19926 don't delegate to some other command.
19928 * proced.el (proced-signal-list): Make it an alist.
19929 (proced-grammar-alist): Capitalize names.
19930 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19931 Disable undo manually and make it read-only.
19932 Use completion-annotate-function.
19934 * minibuffer.el (minibuffer-message): If the current buffer is not
19935 a minibuffer, insert the message in the echo area rather than at the
19937 (completion-annotate-function): New variable.
19938 (minibuffer-completion-help): Use it.
19939 (completion--embedded-envvar-table): Environment vars are
19940 always case-sensitive.
19942 2009-08-30 Glenn Morris <rgm@gnu.org>
19944 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19945 from fortran-current-defun.
19946 (fortran-beginning-of-subprogram): Be more precise about finding the
19947 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19948 (fortran-end-of-subprogram): Simplify.
19949 (fortran-current-defun): Use fortran-start-prog-re.
19951 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19953 * subr.el (do-after-load-evaluation): Simplify.
19955 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19957 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19959 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19960 (vc-rcs-print-log): Use it.
19962 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19964 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19966 * paths.el (abbrev-file-name): Move to abbrev.el.
19967 * abbrev.el (abbrev-file-name): Move from paths.el.
19968 Obey user-emacs-directory.
19969 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19970 user-emacs-directory.
19971 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19972 abbrev-file-name and calc-settings-file any more.
19973 * startup.el (command-line): Recompute abbrev-file-name and
19974 abbreviated-home-dir.
19975 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19976 of the special code for when C-h bindings haven't been changed.
19977 (display-startup-echo-area-message): Use with-current-buffer.
19978 (command-line-1): Use a list of strings, rather than a list of lists
19979 of strings for longopts.
19981 * files.el (get-free-disk-space): Use / for default-directory.
19983 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19984 Use with-current-buffer.
19986 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19987 Recognize immutable variables like most-positive-fixnum.
19988 (byte-compile-setq-default): Check and warn if trying to assign
19989 to an immutable variable, or a non-variable.
19991 * progmodes/cc-vars.el (c-comment-continuation-stars):
19992 * progmodes/cc-engine.el (c-looking-at-bos):
19993 * progmodes/cc-cmds.el (c-toggle-auto-state)
19994 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19995 (c-comment-line-break-function): Add version of obsolescence.
19997 2009-08-28 Juri Linkov <juri@jurta.org>
19999 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20000 associated with `archive-mode'.
20002 * image.el (image-type-header-regexps): Use only JPEG magic number
20003 to determine JPEG images, and don't use `image-jpeg-p' because
20004 Emacs can display non-JFIF non-Exif JPEG images.
20006 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20008 * arc-mode.el (archive-mode):
20009 * emacs-lisp/re-builder.el (re-builder-unload-function):
20010 Protect against the default value of `major-mode' being nil.
20012 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20014 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20015 Fix typos in docstrings.
20017 * progmodes/js.el (js--macro-decl-re): Doc fix.
20018 (js--plain-method-re, js--split-name): Refloc docstring.
20019 (js--class-styles, js--make-merged-item, js--splice-into-items):
20020 Fix typos in docstrings; reflow docstrings.
20021 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20022 (js--variable-decl-matcher, js--inside-pitem-p)
20023 (js--parse-state-at-point, js--get-all-known-symbols)
20024 (js--symbol-history, js-find-symbol, js--js-references)
20025 (js--moz-interactor, js--js-encode-value, js--read-tab):
20026 Fix typos in docstrings.
20028 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20030 * textmodes/reftex.el (reftex-get-file-buffer-force):
20031 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20032 * emulation/viper.el (viper-go-away, viper-set-hooks):
20033 * emacs-lisp/re-builder.el (re-builder-unload-function):
20034 * emacs-lisp/bytecomp.el (byte-compile-file):
20035 * ses.el (ses-unload-function):
20036 * hexl.el (hexl-find-file):
20037 * files.el (normal-mode):
20038 * ehelp.el (with-electric-help):
20039 * autoinsert.el (auto-insert-alist):
20040 * arc-mode.el (archive-mode):
20041 Use (default-value 'major-mode) instead of default-major-mode.
20043 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20044 * international/mule.el (load-with-code-conversion):
20045 * emacs-lisp/debug.el (debug):
20046 * ediff-vers.el (ediff-rcs-get-output-buffer):
20047 * dired.el (dired-internal-noselect): Don't let-bind
20048 default-major-mode around code that doesn't use it.
20049 E.g. buffer creation via get-buffer-create doesn't use it.
20051 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20053 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20054 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20055 when writing the temp file. Otherwise, epa-file gets confused.
20056 (tramp-register-file-name-handlers): Make it a defun. Move also
20057 `epa-file-handler' to the front of `file-name-handler-alist'.
20059 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20061 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20062 start right after a ^M.
20063 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20064 (tramp-completion-file-name-regexp-separate)
20065 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20066 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20067 Don't modify last-coding-system-used by accident.
20068 (tramp-completion-file-name-handler): Apply the checks here,
20069 instead during registration.
20070 (tramp-register-file-name-handlers): Rename from
20071 `tramp-register-file-name-handler'. Register both
20072 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20073 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20075 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20077 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20078 Remove variable ...
20079 (gdb-init-1, gdb-display-separate-io-buffer)
20080 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20082 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20083 (gdb-inferior-filter): Use comint-output-filter to stop
20084 echoing and remove ^M characters.
20086 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20088 * emulation/viper-init.el (viper-restore-cursor-type):
20089 * emulation/cua-base.el (cua--update-indications):
20090 Replace default-cursor-type with (default-value 'cursor-type).
20092 * mail/sendmail.el (mail-recover-1):
20093 * international/mule-diag.el (describe-current-coding-system-briefly)
20094 (describe-current-coding-system):
20095 * international/mule-cmds.el (select-safe-coding-system)
20096 (select-message-coding-system)
20097 (set-language-environment-coding-systems, set-locale-environment):
20098 * hexl.el (hexl-insert-multibyte-char):
20099 * dos-w32.el (find-buffer-file-type-coding-system):
20100 * simple.el (what-cursor-position):
20101 Replace uses of default-buffer-file-coding-system
20102 with (default-value 'buffer-file-coding-system).
20104 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20105 Replace uses of default-cursor-in-non-selected-windows
20106 with (default-value 'cursor-in-non-selected-windows).
20107 Use with-current-buffer.
20109 * mail/feedmail.el: Use CL macros.
20110 (feedmail-run-the-queue, feedmail-send-it-immediately):
20111 * dos-w32.el (find-buffer-file-type): Replace uses of
20112 default-buffer-file-type with (default-value 'buffer-file-type).
20114 2009-08-28 Glenn Morris <rgm@gnu.org>
20116 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20117 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20118 Use default-value of major-mode rather than default-major-mode.
20120 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20122 * Makefile.in (update-elcfiles): Report left over elc files.
20124 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20125 expand-file-name and with-current-buffer.
20126 (mail-get-names, mail-directory): Use with-current-buffer.
20128 * vc.el (vc-read-revision): New function.
20129 (vc-version-diff, vc-merge): Use it.
20131 2009-08-27 Sam Steingold <sds@gnu.org>
20133 * simple.el (kill-do-not-save-duplicates): New user option.
20134 (kill-new): When it is non-nil, and the new string is the same as
20135 the latest kill, set replace to t to avoid duplicates in kill-ring.
20137 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20139 * net/tramp.el (tramp-handle-process-file): Do not flush all
20140 caches when `process-file-side-effects' is set.
20141 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20142 instead of `tramp-find-file-exists-command'.
20143 Unset `process-file-side-effects'.
20145 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20147 * net/tramp.el (tramp-methods): New method "rsyncc".
20148 (top): Add completion function for "rsyncc".
20149 (tramp-message-show-message): New defvar.
20150 (tramp-message, tramp-error): Use it.
20151 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20153 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20154 `tramp-methods' entry `copy-env' of "rsyncc".
20155 (tramp-vc-registered-read-file-names): New defconst.
20156 (tramp-vc-registered-file-names): New defvar.
20157 (tramp-handle-vc-registered): Implement optimization strategy.
20158 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20159 (tramp-vc-file-name-handler): New defun.
20160 (tramp-get-ls-command, tramp-get-test-command)
20161 (tramp-get-file-exists-command, tramp-get-remote-ln)
20162 (tramp-get-remote-perl, tramp-get-remote-stat)
20163 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20165 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20166 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20168 (tramp-get-file-property): Check for timestamps in
20169 `tramp-cache-inhibit-cache'.
20170 (tramp-set-file-property): Write timestamp.
20172 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20174 * language/japan-util.el (japanese-symbol-table): Add entries for
20177 * international/characters.el: Add category `j' to cp932-2-byte.
20179 2009-08-27 Kenichi Handa <handa@m17n.org>
20181 * international/fontset.el (build-default-fontset-data): New macro.
20182 (setup-default-fontset): Use build-default-fontset-data for CJK,
20183 tibetan, ethiopic, and ipa.
20185 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20187 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20188 (enable-multibyte-characters): Not customizable any more.
20190 * subr.el (default-mode-line-format, default-header-line-format)
20191 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20192 (default-direction-reversed, default-truncate-lines)
20193 (default-left-margin, default-tab-width, default-case-fold-search)
20194 (default-left-margin-width, default-right-margin-width)
20195 (default-left-fringe-width, default-right-fringe-width)
20196 (default-fringes-outside-margins, default-scroll-bar-width)
20197 (default-vertical-scroll-bar, default-indicate-empty-lines)
20198 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20199 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20200 (default-scroll-down-aggressively, default-fill-column)
20201 (default-cursor-type, default-buffer-file-type)
20202 (default-cursor-in-non-selected-windows)
20203 (default-buffer-file-coding-system, default-major-mode)
20204 (default-enable-multibyte-characters): Mark as obsolete.
20206 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20208 * vc-dir.el (vc-dir-update): Remove debug helper.
20210 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20212 2009-08-26 Sam Steingold <sds@gnu.org>
20214 * simple.el (save-interprogram-paste-before-kill): New user option.
20215 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20216 save the interprogram-paste into kill-ring before overriding it
20217 with the Emacs kill.
20219 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20221 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20222 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20223 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20224 and move to vc-rcs.el.
20225 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20227 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20228 (vc-rcs-update-changelog): Remove.
20229 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20230 and move to vc-rcs.el.
20232 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20233 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20235 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20236 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20237 vc.el, renamed to be RCS specific.
20239 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20241 (vc-cvs-update-changelog): Move here from vc.el.
20243 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20246 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20248 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20250 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20252 * vc-git.el (vc-git-register): Use "git add" for directories.
20253 (vc-git-stash, vc-git-stash-show): New functions.
20254 (vc-git-extra-menu-map): Bind them.
20256 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20257 directory correctly in case the item is a directory itself.
20259 * vc.el: Document the desired behavior for reverted files in the
20261 (vc-default-prettify-state-info): Remove function, unused.
20263 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20265 2009-08-26 Glenn Morris <rgm@gnu.org>
20267 * bindings.el (standard-mode-line-format): Reposition dashes in
20268 which-func entry. (Bug#4217)
20270 * files.el (enable-local-variables, enable-local-eval)
20271 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20273 (auto-mode-alist, ignored-local-variables)
20274 (save-some-buffers-action-alist): Move risky declarations to the
20276 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20277 (font-lock-defaults, format-alist, imenu--index-alist)
20278 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20279 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20280 (mode-line-modified, mode-line-mule-info, mode-line-position)
20281 (mode-line-process, mode-line-remote, outline-level)
20282 (parse-time-rules, rmail-output-file-alist)
20283 (special-display-buffer-names, vc-mode):
20284 Move risky declarations to the relevant files.
20285 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20286 (mode-line-modified, mode-line-process, mode-line-position)
20287 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20288 * font-core.el (font-lock-defaults):
20289 * format.el (format-alist):
20290 * vc-hooks.el (vc-mode):
20291 * window.el (special-display-buffer-names):
20292 * international/mule-cmds.el (input-method-alist):
20293 Define riskiness here (dumped file) rather than in files.el.
20294 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20295 * imenu.el (imenu-generic-expression, imenu--index-alist):
20296 * outline.el (outline-level):
20297 * time.el (display-time-string):
20298 * calendar/parse-time.el (parse-time-rules):
20299 * mail/rmailout.el (rmail-output-file-alist):
20300 Autoload riskiness here, rather than placing in files.el.
20302 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20304 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20306 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20308 * simple.el (process-file-side-effects): New defvar.
20310 * dired-aux.el (dired-show-file-type):
20311 * vc.el (vc-diff-internal):
20312 * vc-arch.el (vc-arch-diff):
20313 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20314 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20315 * vc-git.el (vc-git-registered, vc-git-working-revision)
20316 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20317 (vc-git--empty-db-p):
20318 * vc-hooks.el (vc-user-login-name):
20319 * vc-svn.el (vc-svn-registered, vc-svn-state)
20320 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20321 * progmodes/grep.el (grep-probe): Let-bind
20322 `process-file-side-effects' with nil.
20324 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20326 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20327 daemon. Replace ping by checking for running service for bluez
20328 and zeroconf. (Bug#4239)
20330 2009-08-25 Kevin Ryde <user42@zip.com.au>
20332 * net/dig.el (dig): Add autoload cookie.
20334 2009-08-25 Glenn Morris <rgm@gnu.org>
20336 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20337 load-history for absolute file-names.
20338 (byte-compile-file-form-require): Warn about use of the cl package.
20340 * format.el (format-alist): Doc fix.
20342 * play/bubbles.el (top-level): Don't require cl at run-time.
20344 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20347 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20349 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20351 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20353 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20355 * calc/calc-alg.el (math-trig-rewrite)
20356 (math-hyperbolic-trig-rewrite): New functions.
20357 (calc-simplify): Simplify trig functions when asked.
20359 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20361 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20363 2009-08-24 Kenichi Handa <handa@m17n.org>
20365 * language/ind-util.el (mapthread): Delete it.
20366 (combinatorial): New function.
20367 (indian--puthash-cv): Use combinatorial instead of mapthread.
20369 2009-08-22 Kevin Ryde <user42@zip.com.au>
20371 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20372 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20373 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20374 Clarify docstring that the value is strings not symbols.
20375 (checkdoc-list-of-strings-p): New function.
20377 2009-08-22 Glenn Morris <rgm@gnu.org>
20379 * files.el (auto-mode-alist):
20380 * hippie-exp.el (he-concat-directory-file-name):
20381 * lpr.el (lpr-windows-system, printer-name):
20382 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20383 * ps-print.el (ps-windows-system):
20384 * startup.el (command-line):
20385 * emulation/viper-ex.el (viper-glob-function):
20386 * international/mule-cmds.el (set-language-environment-coding-systems):
20387 * net/ange-ftp.el (ange-ftp-write-region):
20388 * obsolete/fast-lock.el (fast-lock-cache-name):
20389 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20390 unisoft-unix, vax-vms, win32, w32.
20392 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20393 given name if the pattern is not more specific.
20395 * calendar/lunar.el (lunar-phase-names): New option.
20396 (lunar-phase): Doc fix.
20397 (lunar-cycles-per-year): New constant.
20398 (lunar-index): New function.
20399 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20400 (lunar-phase-name): Use lunar-phase-names.
20401 (calendar-lunar-phases): Use format.
20402 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20404 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20405 Copy imenu-example--name-and-position function here for own use.
20406 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20408 * bs.el (bs--redisplay):
20409 * cus-edit.el (custom-redraw):
20410 * ibuffer.el (ibuffer-bury-buffer):
20411 * server.el (server-goto-line-column):
20412 * startup.el (command-line-1):
20413 * strokes.el (strokes-xpm-for-stroke):
20414 * term.el (term-display-buffer-line):
20415 * view.el (View-goto-line):
20416 * calc/calc.el (calc-do, calc-trail-buffer):
20417 * play/gamegrid.el (gamegrid-add-score-insecure):
20418 * progmodes/ada-mode.el (ada-compile-goto-error):
20419 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20420 (ebrowse-select-1st-to-9nth):
20421 * progmodes/cperl-mode.el (cperl-time-fontification):
20422 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20423 * progmodes/gud.el (gud-display-line):
20424 (idlwave-shell-display-line):
20425 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20426 * progmodes/make-mode.el (makefile-browser-toggle):
20427 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20428 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20429 * textmodes/picture.el (picture-draw-rectangle):
20430 * textmodes/reftex-index.el (reftex-index-goto-letter):
20431 (reftex-select-jump-to-previous):
20432 * textmodes/reftex-sel.el (reftex-find-start-point)
20433 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20434 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20435 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20436 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20437 * textmodes/two-column.el (2C-associated-buffer):
20438 Use forward-line rather than goto-line.
20440 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20443 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20444 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20445 (quick-check-list-to-regexp): Declare.
20447 * progmodes/make-mode.el (makefile-browser-insert-selection):
20448 Use goto-char rather than goto-line.
20450 * progmodes/prolog.el (compilation-error-regexp-alist)
20451 (compilation-forget-errors): Declare.
20453 2009-08-22 Juri Linkov <juri@jurta.org>
20455 * progmodes/grep.el (lgrep, rgrep): At the beginning
20456 set `dir' to `default-directory' unless `dir' is a non-nil
20457 readable directory. (Bug#4052)
20458 (lgrep, rgrep): Change a weird way to report an error
20459 from using `read-string' to using `error'.
20460 Instead of using interactive arguments in the function body,
20461 add new argument `confirm'.
20463 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20465 * textmodes/remember.el (remember-buffer):
20466 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20467 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20468 (icalendar-extract-ical-from-buffer):
20469 * net/newst-treeview.el (newsticker-groups-filename):
20470 * net/newst-backend.el (newsticker-cache-filename):
20471 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20472 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20473 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20474 (speedbar-buffers-line-path, speedbar-path-line)
20475 (speedbar-buffers-line-path):
20476 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20478 * epa.el (epa-display-verify-result):
20479 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20481 2009-08-21 Glenn Morris <rgm@gnu.org>
20483 * progmodes/js.el (inferior-moz-process): Fix declaration.
20485 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20487 * obsolete/rnewspost.el (news-mail-reply):
20488 Use goto-char rather than goto-line.
20490 * term/ns-win.el (ns-open-file-select-line):
20491 Use line-beginning-position rather than goto-line.
20493 * apropos.el (apropos-command):
20494 * ehelp.el (electric-helpify):
20495 * printing.el (pr-show-setup):
20496 * strokes.el (strokes-help):
20497 * tutorial.el (tutorial--describe-nonstandard-key)
20498 (tutorial--detailed-help):
20499 * woman.el (woman-mini-help, woman-display-extended-fonts):
20500 * calc/calc-help.el (calc-describe-key):
20501 * emulation/edt.el (edt-electric-helpify):
20502 * international/mule-diag.el (mule-diag):
20503 * play/yow.el (apropos-zippy):
20504 * progmodes/python.el (python-describe-symbol):
20505 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20506 * textmodes/table.el (*table--cell-describe-mode)
20507 (*table--cell-describe-bindings):
20508 Use help-print-return-message rather than the now obsolete alias.
20510 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20511 (calendar-cursor-to-visible-date):
20512 * play/5x5.el (5x5-position-cursor):
20513 * play/decipher.el (decipher):
20514 * play/gomoku.el (gomoku-goto-xy):
20515 * play/landmark.el (lm-goto-xy):
20516 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20517 (mpuz-paint-digit):
20518 Use forward-line, not goto-line.
20520 * mail/rmail.el (rmail-obsolete): Delete custom group.
20521 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20522 (rmail-remote-password, rmail-remote-password-required):
20523 Remove unneeded :set-after and :set properties.
20525 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20527 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20529 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20531 * loadup.el: Remove leftover macos code.
20533 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20534 Explicitly pass the date format to git blame so that user local
20535 so that the output format can be parsed.
20537 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20539 * net/dbus.el (top): Don't check for (getenv
20540 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20542 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20544 * log-edit.el (log-edit-strip-single-file-name): New var.
20545 (log-edit-insert-changelog): Use it. Bug#3571
20547 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20549 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20552 * help.el (help-print-return-message): Rename from
20553 print-help-return-message.
20555 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20556 cvs-mode-map parent hack.
20557 (log-view-mode): Derive from special-mode.
20559 * linum.el (linum-mode): window-size-change-functions is redundant.
20560 Adapt to new window-configuration-change-hook behavior.
20561 (linum-after-size, linum-after-config): Remove.
20563 * imenu.el (imenu-example--name-and-position)
20564 (imenu-example--lisp-extract-index-name)
20565 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20568 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20569 (inferior-prolog-mode): Use it.
20570 (inferior-prolog-load-file): Reset list of errors.
20572 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20574 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20576 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20578 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20580 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20581 is running already.
20583 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20585 * subr.el (listify-key-sequence-1): Use normal syntax since those
20586 integers are nowadays always represented by the same (positive) number
20588 (read-key-empty-map): New const.
20589 (read-key-delay): New var.
20590 (read-key): New function.
20591 (force-mode-line-update): Use with-current-buffer.
20592 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20593 (start-process-shell-command, start-file-process-shell-command):
20594 Discourage the use of command-args.
20596 2009-08-19 Glenn Morris <rgm@gnu.org>
20598 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20600 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20602 * simple.el (choose-completion-string): Don't rely on
20603 minibuffer-completing-file-name and ad-hoc checks to decide whether
20604 to continue completion or not.
20606 * minibuffer.el (minibuffer-hide-completions): New function.
20607 (completion--do-completion): Use it.
20608 (completions-annotations): New face.
20609 (completion--insert-strings): Use it.
20610 (completion-pcm--delim-wild-regex): Add docstring.
20611 (completion-pcm--string->pattern): Add support for 0-width delimiters
20612 in completion-pcm--delim-wild-regex.
20614 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20616 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20617 Remove unused var `buffer-modified-p'.
20619 * minibuffer.el (completion--do-completion): Move point for the #b001
20620 case as well (bug#4176).
20621 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20623 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20625 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20626 and :session buses.
20628 2009-08-18 Kenichi Handa <handa@m17n.org>
20630 * international/ucs-normalize.el (ucs-normalize-version):
20632 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20633 (utf-8-hfs): Make it perform normalization on encoding too.
20635 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20636 (sentence-end-without-space): Delete duplicated chars.
20637 (sentence-end-base): Likewise.
20639 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20640 (html-mode): Delete duplicated chars from sentence-end-base.
20642 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20643 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20645 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20647 * files.el (hack-one-local-variable): If the mode function is for
20648 a minor mode, pass it an argument (Bug#4148).
20650 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20652 * net/tramp.el (tramp-register-completion-file-name-handler):
20653 Check also for (member 'partial-completion completion-styles).
20655 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20657 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20660 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20662 * progmodes/cperl-mode.el: Merge upstream 6.2.
20663 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20664 (cperl-forward-re): Check cperl-brace-recursing.
20665 (cperl-highlight-charclass): New function.
20666 (cperl-find-pods-heres): Use it.
20667 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20668 (cperl-beautify-regexp-piece): Fix column calculation.
20669 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20670 (cperl-beautify-level): Don't process entire regexp.
20671 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20673 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20674 (cperl-init-faces): Build a list in the normal way.
20676 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20678 * calendar/parse-time.el (parse-time-string-chars): Save match
20681 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20683 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20684 (sql-product): Use it.
20685 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20686 (sql-set-product): Add completion.
20687 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20688 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20689 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20690 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20691 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20692 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20693 (sql-highlight-db2-keywords): Remove.
20694 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20695 (sql-highlight-product): Use derived-mode-p.
20696 (sql-set-sqli-buffer): Use with-current-buffer.
20697 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20700 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20702 * term.el: Fix commenting convention, turn comments into docstrings.
20704 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20706 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20708 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20710 * calendar/parse-time.el (parse-time-string-chars): Compute using
20711 character classes, to handle non-ascii characters (Bug#3190).
20713 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20715 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20716 another heredoc if the user adds another < (Bug#3226).
20718 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20719 Don't initialize based on window-system (Bug#4124).
20721 * facemenu.el (facemenu-read-color): Use a completion function
20722 that accepts any defined color, such as RGB triplets (Bug#3677).
20724 * files.el (get-free-disk-space): Change fallback default
20725 directory to /. Expand DIR argument before switching to fallback.
20726 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20728 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20730 * files.el (load-library): Doc fix.
20732 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20734 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20735 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20736 incremental search string.
20738 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20741 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20742 (ediff-merge-region-is-non-clash)
20743 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20744 Also check if the job is really a merge job.
20746 * ediff.el (ediff-current-file): New function.
20748 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20750 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20752 (js-insert-and-indent): Delete function.
20753 (js-mode-map): Don't bind keys to js-insert-and-indent.
20754 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20755 (js-end-of-defun): Rename from js--end-of-defun.
20756 (js-auto-indent-flag): Delete variable.
20758 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20760 * progmodes/js.el: Remove proclaim statement.
20761 Defvar which-func-imenu-joiner-function to silence compiler.
20763 * files.el (auto-mode-alist): Use js-mode for .js files.
20765 * progmodes/js2-mode.el: Remove file.
20767 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20769 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20771 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20773 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20774 Karl Landstrom <karl.landstrom@brgeight.se>
20776 * progmodes/js.el: New file.
20778 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20780 * timezone.el (timezone-parse-date): Add ability to understand ISO
20781 basic format (minimal separators) dates in addition to the
20782 already-supported extended format dates.
20784 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20786 * international/ucs-normalize.el: Add a `coding' file variable.
20788 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20790 2009-08-14 Sam Steingold <sds@gnu.org>
20792 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20794 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20796 * faces.el (help-argument-name): Define it here instead of
20797 help-fns.el, because in daemon mode help-fns.el may be loaded when
20798 faces are still uninitialized (Bug#1078).
20800 * help-fns.el (help-argument-name): Move defface to faces.el.
20802 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20804 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20805 create buffer with a pty but no process so that GDB can make the
20806 inferior the controlling process.
20808 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20810 * international/ucs-normalize.el: New file.
20812 2009-08-13 Richard Stallman <rms@gnu.org>
20814 * mail/rmail.el (rmail-get-attr-names):
20815 Accept an attribute header that is too short.
20817 * mail/rmail.el (rmail-forget-messages):
20818 Ignore nil elt in rmail-message-vector. Use dotimes.
20820 * progmodes/compile.el (compilation-goto-locus):
20821 Use next-error-move-function.
20823 * simple.el (next-error-move-function): New variable.
20825 2009-08-12 Juri Linkov <juri@jurta.org>
20827 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20828 always non-nil. (Bug#4052)
20830 * replace.el (read-regexp): Return empty string when
20831 `default-value' is nil.
20832 (keep-lines-read-args): Don't use empty string as the
20833 default value for `read-regexp'. (Bug#2495)
20835 2009-08-12 Juri Linkov <juri@jurta.org>
20837 * international/mule-cmds.el (ucs-insert): Change arguments
20838 from `arg' to `character', `count', `inherit' to be the same
20839 as in `insert-char'. Doc fix. (Bug#4039)
20841 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20843 2009-08-12 Juri Linkov <juri@jurta.org>
20845 * files-x.el: New file.
20847 * files.el: Move code that deals with adding/deleting
20848 file/directory-local variables to files-x.el.
20850 * Makefile.in (ELCFILES): Add files-x.elc.
20852 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20854 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20855 to use `goto-line'.
20856 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20858 (gdb-invalidate-disassembly): Do not refresh upon receiving
20859 'update signal. Instead, update all disassembly buffers only after
20861 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20862 (gdb-starting): Move -data-list-register-names...
20863 (gdb-stopped): ...here so it's sent when first thread stops.
20864 (gdb-registers-handler-custom): Do nothing if register names are
20867 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20868 from `gdb-mi.el' to avoid extra tangling.
20870 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20871 change which breaks `gud-def' definitions used in `gdb'.
20872 (gdb-update-gud-running): No extra fuss for updating frame number.
20874 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20876 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20877 (describe-language-environment-map, setup-language-environment-map)
20878 (set-coding-system-map): Move initialization into declaration.
20879 (set-language-info-alist): Last arg to define-key-after can be skipped.
20881 * international/quail.el (quail-completion-1): Simplify.
20882 (quail-define-rules): Use slightly more compact code.
20883 (quail-insert-decode-map): Propertize keys, compact columns.
20885 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20888 2009-08-10 Miles Bader <miles@gnu.org>
20890 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20891 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20892 (js2-instance-member, js2-private-member, js2-private-function-call)
20893 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20894 (js2-magic-paren, js2-external-variable):
20895 Remove "-face" suffix from face names.
20896 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20897 (js2-highlight-undeclared-vars, js2-peek-token)
20898 (js2-parse-function-params, js2-mode-show-errors)
20899 (js2-mode-show-warnings, js2-make-magic-delimiter)
20900 (js2-mode-highlight-magic-parens): Update to use new face names.
20902 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20904 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20905 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20907 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20909 * subr.el: Provide hashtable-print-readable.
20911 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20912 hs-c-like-adjust-block-beginning.
20913 (hs-hide-block-at-point): Stop hiding at the beginning of
20914 hs-block-end-regexp (Bug#700).
20916 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20918 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20920 (gdb-registers-handler-custom): Do not fail when register names
20923 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20925 * progmodes/gdb-mi.el (gdb-control-all-threads)
20926 (gdb-control-current-thread): Interactive setters for
20927 `gdb-gud-control-all-threads' to use in menu.
20928 (gdb-show-run-p): Show «Go» when process is not active.
20929 (gud-tool-bar-map): Add non-stop/A,T indicator.
20930 Uses gud/thread.xpm and gud/all.xpm.
20932 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20934 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20935 (nslookup-font-lock-keywords): Make it a variable.
20936 (net-utils-mode): New mode for viewing diagnostic network output.
20937 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20938 (net-utils-run-simple): New function.
20939 (ifconfig, iwconfig, netstat, arp, route): Use it.
20941 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20943 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20944 (gdb-memory-set-address, def-gdb-set-positive-number)
20945 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20946 after changing settings.
20947 (gdb-invalidate-disassembly): Update when first shown.
20948 (gdb-edit-locals-value): Fix.
20949 (gdb-registers-handler-custom): Print registers in right order and
20950 allow changing register values (only for current thread yet).
20951 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20952 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20953 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20954 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20955 Thread info in mode name.
20956 (gdb-registers-mode-map): TAB to switch to locals.
20958 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20960 * mail/rmail.el (rmail-add-mbox-headers)
20961 (rmail-set-message-counters-counter): Search for
20962 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20964 2009-08-08 Glenn Morris <rgm@gnu.org>
20966 * Makefile.in (ELCFILES): Update.
20968 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20970 * mail/sendmail.el (mail-yank-original):
20971 Set buffer-file-coding-system from the one used by the message whose
20974 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20975 to "windows" when "pgnuplot" is used.
20976 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20977 Don't call accept-process-output if "pgnuplot" is used.
20978 (calc-graph-init): Don't send -display and -geometry to
20979 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20980 running "pgnuplot -V" with shell-command-to-string.
20982 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20985 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20987 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20990 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20992 * vc-dispatcher.el (vc-resynch-window): Update comment.
20994 * term.el (term-handle-ansi-escape): Add comments with the
20995 terminfo capabilities implemented.
20997 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20999 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21000 (gdb-var-create-handler): Rewritten using JSON parser.
21001 (gdb-propertize-header): Move earlier.
21002 (gdb-set-header): Remove to avoid duplication.
21003 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21004 Refresh disassembly buffers only after threads list have been
21006 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21009 2009-08-04 Juri Linkov <juri@jurta.org>
21011 * files.el: Commands to add/delete file/directory-local variables.
21012 (read-file-local-variable, read-file-local-variable-value)
21013 (read-file-local-variable-mode, modify-file-local-variable)
21014 (modify-file-local-variable-prop-line)
21015 (modify-dir-local-variable): New functions.
21016 (add-file-local-variable, delete-file-local-variable)
21017 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21018 (add-dir-local-variable, delete-dir-local-variable)
21019 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21020 (copy-dir-locals-to-file-locals-prop-line): New commands.
21022 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21024 * abbrev.el (insert-abbrev-table-description): Prettify output.
21025 Suggested by Karl Chen.
21027 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21029 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21030 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21031 (gdb-overlay-arrow-position, gdb-thread-position)
21032 (gdb-disassembly-position): Declare variables.
21033 (gdb-wait-for-pending): Function now.
21034 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21035 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21036 compilation goes smoothly.
21037 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21038 (gdb-non-stop-setting): New customization setting which replaces
21039 `gdb-non-stop' so changing it doesn't break active GDB session.
21040 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21041 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21042 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21043 (gdb-show-threads-by-default): New customization options.
21044 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21046 (gdb-get-buffer-create): Send buffers update signal when they are
21048 (gdb-invalidate-locals, gdb-invalidate-registers)
21049 (gdb-invalidate-breakpoints)
21050 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21051 (gdb-invalidate-memory): Accept update signal.
21052 (gdb-current-context-command): Use --frame option.
21053 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21054 Implement `gdb-frame-number' selection logic.
21055 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21056 whether to show GUD toolbar buttons.
21057 (gdb-thread-exited): Unselect current thread when it exits.
21058 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21059 (gdb-mark-line): Routine which sets overlay arrow or inverses
21060 video on fringeless displays.
21061 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21062 to build aligned columns of data in GDB buffers and set text
21063 properties line-by-line.
21064 (gdb-invalidate-breakpoints)
21065 (gdb-breakpoints-list-handler-custom)
21066 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21067 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21068 (gdb-registers-handler-custom): Align data columns.
21069 (gdb-locals-handler-custom): Now prints data like in variable
21071 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21072 Remove confusing buttons.
21073 (gdb-invalidate-threads): Append --frame.
21074 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21075 between breakpoints/threads buffers.
21076 (gdb-set-window-buffer): Now can ignore dedicated windows.
21077 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21078 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21079 (def-gdb-thread-buffer-gud-command): Replaces
21080 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21081 for fine thread control.
21082 (gdb-preempt-existing-or-display-buffer): New function used to
21083 display bound buffers without breaking window layout.
21084 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21085 (gdb-select-frame): New version of `gdb-frames-select' which now
21086 sets `gdb-frame-number' so commands may use --frame option instead
21087 of inner debugger state.
21088 (gdb-frame-handler): Do not set `gdb-frame-number'.
21089 (gdb-threads-mode-map): Select threads with mouse.
21091 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21092 avoid compilation warning.
21093 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21096 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21097 Argument `key' renamed to `buffer-type'.
21098 (gdb-current-context-buffer-name): Do not add thread info to
21099 buffer name when no thread is selected.
21100 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21101 command (bug 3794).
21102 (gdb-thread-selected): Handle `=thread-selected' notification.
21103 (gdb-wait-for-pending): New macro to deal with congestion problems.
21104 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21106 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21107 This fixes problem similar to one described in bug 3947.
21108 (gud-menu-map): More menu items.
21109 (gdb-init-1): Reset `gdb-thread-number' to nil.
21111 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21114 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21115 (gdb-current-context-command): Do not append --thread if
21116 `gdb-thread-number' is nil.
21117 (gdb-running-threads-count, gdb-stopped-threads-count):
21119 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21120 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21121 New customization options.
21122 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21124 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21125 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21126 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21127 set `gdb-thread-number' and update `gud-running' properly.
21128 (gdb-running): Update threads list when new threads appear.
21129 (gdb-stopped): Support non-stop operation and new thread switching
21131 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21132 (gdb-json-partial-output): New set of JSON routines.
21133 (def-gdb-auto-update-trigger): New `signal-list' optional
21135 (gdb-thread-list-handler-custom): Update `gud-running',
21136 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21137 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21138 (gdb-continue-thread, gdb-step-thread): New commands for fine
21139 thread execution control.
21140 (gud-menu-map): New menu items to switch non-stop options.
21141 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21142 (gdb-send): Mimic RET properly (bug 3794).
21144 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21145 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21147 (def-gdb-auto-update-handler): New nopreserve optional argument.
21148 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21150 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21151 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21152 (gdb-parent-mode): New mode to derive other GDB modes from.
21153 (gdb-display-disassembly-for-thread)
21154 (gdb-frame-disassembly-for-thread): New commands for threads
21157 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21158 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21159 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21160 (gdb-update): We now store all GDB buffers in a list so that they
21161 can be updated by traversing a list instead of calling invalidate
21162 triggers explicitly.
21163 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21164 pair for GDB buffer.
21165 (gdb-stack-buffer-name): Add thread information.
21166 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21167 handle pending triggers.
21168 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21169 (def-gdb-thread-buffer-simple-command)
21170 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21171 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21172 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21173 New commands which show buffers bound to thread.
21174 (gdb-stack-list-locals-regexp): Remove unused regexp.
21176 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21177 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21178 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21179 to (gud-comint-buffer) in *-buffer-name functions
21180 because (gdb-get-target-string) already does that.
21181 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21182 (gdb-changed-registers-handler): Rewritten without regexps.
21184 * progmodes/gdb-mi.el: Basic thread selection support.
21185 (gdb-thread-number): New variable.
21186 (gdb-current-context-command): New macro which adds --thread
21188 (gdb-threads-mode-map): Select thread with SPC.
21189 (gdb-thread-list-handler-custom): Mark current thread with overlay
21190 arrow. Synchronize GDB thread and Emacs thread.
21191 (gdb-select-thread): New command which selects current thread.
21192 (gdb-invalidate-frames, gdb-invalidate-locals)
21193 (gdb-invalidate-registers): Use --thread option.
21195 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21197 * net/tramp.el (top): Make check for tramp-gvfs loading more
21199 (tramp-handle-insert-file-contents): `unwind-protect' must be
21200 inside `with-parsed-tramp-file-name'.
21202 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21205 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21207 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21208 directory if CLASSPATH is not set.
21210 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21212 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21214 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21216 2009-08-02 Kevin Ryde <user42@zip.com.au>
21218 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21219 Update freshmeat link. Delete newsforge.com as it seems gone.
21221 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21223 * select.el (x-set-selection): Doc fix (Bug#4021).
21225 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21227 * help-fns.el (describe-variable): Treat list return values from
21228 dir-locals-find-file properly (Bug#4005).
21230 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21232 * net/tramp.el (tramp-debug-message): Print also microseconds.
21234 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21236 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21238 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21239 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21242 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21243 (tramp-get-file-property): Use it.
21245 * autorevert.el (auto-revert-handler):
21246 Allow `auto-revert-tail-mode' for remote files.
21248 2009-08-02 Jason Rumney <jasonr@gnu.org>
21250 * minibuffer.el (read-file-name): Treat confirm options to
21251 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21253 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21255 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21256 (font-lock-variable-name-face, font-lock-constant-face):
21257 Darken the colors for light backgrounds.
21259 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21261 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21262 month names. (Bug#3987)
21264 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21266 * simple.el (line-move-finish): Pass whole number to
21267 line-move-to-column.
21268 (line-move-visual): Perform hscroll to the recorded position.
21270 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21272 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21274 2009-07-29 Alan Mackenzie <acm@muc.de>
21276 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21278 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21280 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21281 (gdb-place-breakpoints): Use full path when setting breakpoints.
21283 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21285 * calc/calc.el (calc-mode-map): Add keybinding for
21286 `calc-transpose-lines'.
21288 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21290 * calc/calc-misc.el (calc-transpose-lines): New function.
21292 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21294 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21295 Simplify check for out-of-band methods.
21296 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21297 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21299 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21301 * vc-git.el (vc-git-checkin): Fix typo.
21303 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21305 * progmodes/js2-mode.el: New file.
21307 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21309 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21310 (gud-menu-map): Adjust tooltip accordingly.
21312 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21314 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21315 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21317 * add-log.el (change-log-mode-map): Add a menu.
21319 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21321 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21322 function returns nil.
21323 (dbus-handle-event): Handle special return value :ignore.
21324 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21326 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21328 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21331 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21335 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21337 * term/pc-win.el (x-display-name, x-colors)
21338 (x-select-enable-clipboard, x-select-text): Doc fix.
21340 * term/common-win.el (x-display-name, x-colors): Doc fix.
21342 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21343 (xw-defined-colors): Doc fix.
21345 * w32-fns.el (x-select-text, x-setup-function-keys)
21346 (x-get-selection, x-set-selection): Doc fix.
21348 * term/x-win.el (x-select-text, x-setup-function-keys)
21349 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21351 * select.el (x-set-selection): Doc fix.
21353 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21355 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21356 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21357 "IsNSSSupportAvailable" method is not available.
21358 Reported by Steve Youngs <steve@sxemacs.org>.
21360 2009-07-24 Kenichi Handa <handa@m17n.org>
21362 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21363 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21364 (build-unicode-category-table): Fix range checks.
21366 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21368 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21369 the buffer we try to sync is current when calling
21372 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21373 not show up to date files.
21375 2009-07-24 Glenn Morris <rgm@gnu.org>
21377 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21378 Add autoload cookies. If necessary, initialize.
21379 (elint-log): Handle non-file buffers.
21380 (elint-initialize): Add optional argument to reinitialize.
21381 (elint-find-builtin-variables): Save excursion.
21383 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21385 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21388 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21390 * vc.el (vc-print-log-internal): New function, split out from ...
21391 (vc-print-log): ... here.
21392 (vc-dir-move-to-goal-column): Declare.
21394 * vc-git.el (vc-git-add-signoff): New variable.
21395 (vc-git-checkin): Use it.
21396 (vc-git-toggle-signoff): New function.
21397 (vc-git-extra-menu-map): Bind it to menu.
21398 (vc-git--run-command-string): Accept a nil FILE argument.
21399 (vc-git-stash-list): New function.
21400 (vc-git-dir-extra-headers): Use it.
21402 2009-07-23 Glenn Morris <rgm@gnu.org>
21404 * help-fns.el (describe-variable): Describe ignored and risky local
21405 variables in a similar way to that in which we describe safe ones.
21407 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21408 (byte-compile-output-file-form, byte-compile-output-docform)
21409 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21410 Give some more local variables with common names a "bytecomp-" prefix,
21411 so as not to shadow things during compilation.
21412 * emacs-lisp/cl-macs.el (load-time-value)
21413 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21414 `outbuffer' to `bytecomp-outbuffer'.
21416 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21417 since the next two variables cover them automatically now.
21418 (elint-builtin-variables, elint-autoloaded-variables): New.
21419 (elint-unknown-builtin-args): Remove all members, since they can be
21420 parsed automatically now.
21421 (elint-extra-errors): New.
21422 (elint-env-add-env, elint-env-add-macro): Use cadr.
21423 (elint-current-buffer): Use or. Change final message.
21424 (elint-get-top-forms): Use line-end-position.
21425 (elint-init-env): Use cadr. Handle autoload, declare-function,
21427 (elint-add-required-env): Doc fix. Use or. Standardize error.
21428 (regexp-assoc): Remove unused function.
21429 (elint-top-form): Set elint-current-pos, to record the start of the
21430 top-level form, for compilation-mode.
21431 (elint-form): Trap errors in macro expansion. Use dolist.
21432 (elint-unbound-variable): Use elint-builtin-variables and
21433 elint-autoloaded-variables.
21434 (elint-get-args): Use cadr, or.
21435 (elint-check-cond-form): Use dolist, cadr.
21436 (elint-check-condition-case-form): Doc fix. Use cadr.
21437 Use elint-extra-errors.
21438 (elint-log): New function.
21439 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21440 Distinguish errors and warnings.
21441 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21442 Use a bytecomp-style format.
21443 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21444 (elint-get-log-buffer): Use compilation mode. Disable undo.
21445 Don't truncate lines.
21446 (elint-initialize): Set builtin and autoloaded variable lists.
21447 Only process elint-unknown-builtin-args if non-nil.
21448 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21450 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21452 2009-07-22 Kevin Ryde <user42@zip.com.au>
21454 * net/newst-backend.el (newsticker--parse-atom-1.0)
21455 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21456 (newsticker--parse-rss-1.0):
21457 * progmodes/idlwave.el (idlwave-mode):
21458 * progmodes/idlw-shell.el (idlwave-shell-mode):
21459 * progmodes/vera-mode.el (vera-mode):
21460 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21461 * progmodes/vhdl-mode.el (vhdl-mode):
21462 * textmodes/table.el (table-generate-source)
21463 (table--warn-incompatibility):
21464 Hyperlink urls in docstrings with URL `...'.
21466 2009-07-22 Glenn Morris <rgm@gnu.org>
21468 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21469 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21470 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21471 Remove leading * from defcustom docs.
21473 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21475 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21477 (list-load-path-shadows): Optionally, just return shadows as a string.
21479 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21481 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21483 * mail/rmailedit.el (rmail-edit-mode):
21484 Use auto-save-include-big-deletions.
21486 * mail/rmail.el (rmail-variables):
21487 Use auto-save-include-big-deletions.
21489 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21492 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21494 * calc/calc.el (calc-undo-length): New variable.
21495 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21497 2009-07-21 Richard Stallman <rms@gnu.org>
21499 * files.el (auto-save-mode): Handle buffer-save-size = -2
21502 2009-07-21 Glenn Morris <rgm@gnu.org>
21504 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21506 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21508 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21509 silence compiler. Instead...
21510 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21511 (ps-print-ensure-fontified): Update for above function name changes.
21513 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21514 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21515 silence compiler. Instead...
21516 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21517 (mh-show-buffer): Only define for compiler.
21518 (pr-mh-current-message): Update for above function name changes.
21520 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21522 (find-file-noselect, insert-file-1): Update for above change.
21524 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21526 * mail/mailclient.el (mailclient-send-it): Fix message.
21528 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21529 (edebug-eval): Check cl-debug-env is bound.
21530 (print-level, print-circle): Don't redefine built-in variables.
21532 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21533 (custom-print-vectors): Remove old comments from doc.
21535 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21536 (emerge-version): Make the variable an obsolete alias for the
21537 emacs-version variable. Make the function obsolete.
21538 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21539 Emerge options, rather than merging in into the main Options menu.
21540 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21541 and auto advance modes. Disable edit/fast items when not relevant.
21543 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21545 * term/vt420.el (terminal-init-vt420): Fix typo.
21547 2009-07-20 Sam Steingold <sds@gnu.org>
21549 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21550 variable (removed from compile.el on 2004-03-11).
21552 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21554 * files.el (hack-local-variables-filter): Fix last change.
21556 2009-07-19 Juri Linkov <juri@jurta.org>
21558 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21559 (dir-local-variables-alist): New buffer-local variable.
21560 (hack-local-variables-filter): If variable is not dir-local,
21561 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21562 because file-local overrides dir-local.
21563 (c-postprocess-file-styles) <declare-function>:
21564 Remove obsolete declaration.
21565 (hack-dir-local-variables): Add dir-local variable/value pair to
21566 `dir-local-variables-alist' and remove duplicates. Doc fix.
21568 * help-fns.el (describe-variable): Add information about
21569 file-local and dir-local variables.
21571 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21573 * files.el (hack-local-variables-filter): Rewrite.
21575 2009-07-19 Glenn Morris <rgm@gnu.org>
21577 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21578 Silence compiler by only defining on XEmacs.
21580 * international/mule.el (auto-coding-regexp-alist): Only match
21581 BABYL... at the start of buffer, not of lines. (Bug#3790)
21583 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21584 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21585 (cal-menu-context-mouse-menu): Doc fix.
21587 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21589 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21591 2009-07-18 Juri Linkov <juri@jurta.org>
21593 * info.el: Virtual Info keyword finder.
21594 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21595 (Info-finder-file): New variable.
21596 (Info-finder-find-file): New function.
21597 (finder-known-keywords, finder-package-info)
21598 (find-library-name, lm-commentary): Use defvar and
21599 declare-function to silence compiler warnings.
21600 (Info-finder-find-node): New function.
21601 (info-finder): New command.
21603 * subr.el (process-kill-buffer-query-function): New function.
21604 (add-hook)<kill-buffer-query-functions>: Add hook
21605 `process-kill-buffer-query-function'.
21607 2009-07-18 Alan Mackenzie <acm@muc.de>
21609 * progmodes/cc-mode.el (c-before-hack-hook)
21610 (c-postprocess-file-styles): Give invocation of `c-set-style'
21611 DONT-OVERRIDE parameter of t. Already set style variables will
21612 thus not be overridden by style settings given by `c-file-syle'.
21614 * files.el (hack-local-variables-filter): Remove entries with
21615 duplicate keys from `file-local-variables-alist'.
21617 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21619 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21620 x-set-selection if display-selections-p returns nil for the
21623 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21625 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21627 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21629 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21630 Accept nil in addition to a regexp.
21631 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21632 Accept nil in addition to a regexp.
21633 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21634 buffers that have an associated file. Handle nil values of
21635 desktop-buffers-not-to-save and desktop-files-not-to-save.
21638 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21639 (x-disown-selection-internal): New functions.
21641 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21643 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21645 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21646 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21648 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21650 * simple.el (set-mark): Revert last change.
21652 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21654 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21655 rendering of pngs is not possible instead of messaging a long
21658 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21660 * w32-fns.el (x-selection-owner-p): New function.
21662 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21663 (mouse-yank-at-click, mouse-yank-primary):
21664 If select-active-regions is non-nil, deactivate the mark before
21667 * simple.el (deactivate-mark, set-mark): Only save selection if we
21670 2009-07-17 Kenichi Handa <handa@m17n.org>
21672 * case-table.el (describe-buffer-case-table): Fix for the case
21673 that KEY is a cons.
21675 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21677 * vc-rcs.el (vc-rcs-find-file-hook):
21678 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21680 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21682 * net/tramp.el (tramp-wait-for-output): Handle the case when
21683 commands do not return a newline but a null byte before the shell
21686 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21688 * term/ns-win.el (ns-set-alpha): Don't declare.
21689 (ns-set-background-alpha): Remove function.
21691 2009-07-16 Kevin Ryde <user42@zip.com.au>
21693 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21694 y-or-n-p, for safety.
21696 2009-07-16 Richard Stallman <rms@gnu.org>
21698 * files.el (auto-save-mode): If buffer-saved-size is -2,
21701 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21702 (rmail-retry-ignored-headers): Add more uninteresting fields.
21704 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21706 * net/rcirc.el (rcirc): Use history variables.
21707 (rcirc-server-name-history, rcirc-nick-name-history)
21708 (rcirc-server-port-history): New variables.
21710 2009-07-15 Kenichi Handa <handa@m17n.org>
21712 * international/mule-cmds.el (set-language-environment-charset):
21713 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21716 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21717 Delete unibyte-display.
21719 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21721 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21723 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21725 * simple.el (deactivate-mark): Optional argument FORCE.
21726 (set-mark): Use deactivate-mark.
21728 * info.el (Info-search): No need to check transient-mark-mode
21729 before calling deactivate-mark.
21731 * select.el (x-set-selection): Doc fix.
21732 (x-valid-simple-selection-p): Allow buffer values.
21733 (xselect--selection-bounds): Handle buffer values.
21734 Suggested by David De La Harpe Golden.
21736 * mouse.el (mouse-set-region, mouse-drag-track):
21737 Call copy-region-as-kill before setting the mark, to let
21738 select-active-regions work.
21740 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21742 * simple.el (deactivate-mark): If select-active-regions is
21743 non-nil, copy the selection data into a string.
21744 (activate-mark): If select-active-regions is non-nil, set the
21745 selection to the current buffer.
21746 (set-mark): Update selection if select-active-regions is non-nil.
21748 * select.el (x-valid-simple-selection-p): Allow buffer values.
21750 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21752 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21753 and more featureful message-mode.
21755 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21757 * select.el (x-set-selection): Doc fix.
21758 (x-valid-simple-selection-p): Disallow selection data consisting
21759 of a list or cons of integers, since that is not used.
21760 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21761 (xselect-convert-to-string, xselect-convert-to-length)
21762 (xselect-convert-to-filename, xselect-convert-to-charpos)
21763 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21765 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21767 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21768 output in -break-info command (Emacs bug #3794).
21770 2009-07-14 Glenn Morris <rgm@gnu.org>
21772 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21773 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21774 (edebug-print-length, edebug-print-level, edebug-print-circle)
21775 (edebug-sit-for-seconds, edebug-view-outside)
21776 (edebug-bounce-point, edebug-set-global-break-condition)
21777 (edebug-Go-nonstop-mode, edebug-trace-mode)
21778 (edebug-Trace-fast-mode, edebug-continue-mode)
21779 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21780 (edebug-visit-eval-list): Doc fixes.
21782 * subr.el (def-edebug-spec): Doc fix.
21784 2009-07-14 Kenichi Handa <handa@m17n.org>
21786 * international/characters.el: Fix setting of category ?C.
21788 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21790 * term/ns-win.el (x-select-font): defalias x-select-font to
21791 ns-popup-font-panel instead of generate-fontset-menu.
21793 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21795 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21797 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21799 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21800 the PK\003\004 header (Bug#3770).
21802 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21804 * pcomplete.el (pcomplete-comint-setup): Check for
21805 shell-dynamic-complete-filename too.
21807 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21809 * simple.el (temporary-goal-column): Change the value for
21810 line-move-visual to a cons cell.
21811 (line-move-visual): Record or set the window hscroll, if
21812 necessary (Bug#3494).
21813 (line-move-1): Handle cons value of temporary-goal-column.
21815 2009-07-11 Kenichi Handa <handa@m17n.org>
21817 * international/mule-diag.el (describe-character-set): Don't show
21820 2009-07-10 Sam Steingold <sds@gnu.org>
21822 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21823 Omake sometimes indents the errors it prints, so allow all
21824 regexps to start with spaces.
21826 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21828 * cus-edit.el (customize-changed-options-previous-release):
21829 Bump value to 22.1. (Bug#3804)
21831 2009-07-08 Sam Steingold <sds@gnu.org>
21833 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21834 to be a cons cell (test . ignored-directory) to selectively ignore
21835 some directories depending on the location of the search.
21837 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21839 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21840 remote user is root, on the local host.
21841 (tramp-local-host-p): Either the local user or the remote user
21842 must be root. (Bug#3771)
21844 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21846 * progmodes/gdb-mi.el (gdb): Remove description of
21847 gdb-use-separate-io-buffer.
21848 (menu): Don't allow toggling of or enable
21849 gdb-use-separate-io-buffer from menubar.
21851 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21853 * mail/unrmail.el (unrmail): Make sure the message ends with two
21854 newlines (Bug#3769).
21856 2009-07-08 Glenn Morris <rgm@gnu.org>
21858 * calendar/calendar.el (calendar-current-date): Rework previous change.
21860 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21862 * calendar/calendar.el (calendar-current-date):
21863 Add an optional argument giving an offset from today.
21865 2009-07-08 Glenn Morris <rgm@gnu.org>
21867 * tutorial.el (tutorial--describe-nonstandard-key):
21868 Adjust the message for when a key has been unbound.
21869 (help-with-tutorial): Hide the arch-tag.
21871 2009-07-08 Kenichi Handa <handa@m17n.org>
21873 * international/fontset.el (setup-default-fontset): For each
21874 script, append (not set) font-specs.
21876 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21879 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21881 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21882 -data-list-register-names to ...
21883 (gdb-starting): ... here because GDB 7.0 requires execution to
21884 have started when using this MI command.
21885 (gdb-set-header): New function to distinguish select and
21886 unselected tabs in gdb buffers.
21887 (gdb-propertize-header): New macro that uses gdb-set-header.
21888 (gdb-breakpoints-header, gdb-locals-header): Use it.
21889 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21891 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21893 * Makefile.in (ELCFILES): Remove fadr.elc.
21895 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21897 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21898 may contain frame information, so `string-match' should be used.
21899 (gdb-update): Disassembly is invalidated through
21900 `gdb-get-selected-frame'.
21901 (gdb-pad-string): New function to pad string with spaces.
21902 (gdb-invalidate-disassembly): Invalidate only if the buffer
21904 (gdb-disassembly-handler-custom): Column alignment.
21905 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21907 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21909 (gdb-frame-handler): Match convention to for disassembly buffer
21911 (gdb-stack-list-frames-handler): Rewritten without regexps.
21912 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21913 not highlight breakpoints without line information.
21914 (gdb-input): Add trailing newline to command.
21916 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21918 (gdb-breakpoints-list-handler-custom): Replacement for
21919 `gdb-break-list-handler'. Using real parser instead of regexps
21921 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21922 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21923 to place breakpoints.
21924 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21926 (gdb-disassembly-handler-custom): Show overlay arrow.
21927 (gdb-disassembly-place-breakpoints): Show breakpoints in
21928 disassembly buffer.
21929 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21930 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21931 instead of parsing breakpoints buffer. Fixed old menu references
21936 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21937 (gdb-memory-address): New variable which holds top address of
21938 memory page shown in memory buffer.
21939 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21940 New customization variables.
21942 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21943 display the memory buffer.
21944 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21945 buffer display parameters.
21946 (def-gdb-memory-format, gdb-memory-format-binary)
21947 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21948 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21949 Functions for setting memory buffer format.
21950 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21951 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21952 unit size used in memory buffer.
21953 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21954 Switch to next/previous page of memory buffer.
21955 Now using (bindat-get-field) instead of fadr functions.
21957 2009-07-07 Sam Steingold <sds@gnu.org>
21959 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21960 non-top-level files.
21962 2009-07-07 Kenichi Handa <handa@m17n.org>
21964 * international/mule-cmds.el (reset-language-environment):
21965 Put the highset priority to the charset iso-8859-1.
21967 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21969 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21970 to the end of the line when locating the block (Bug#700).
21972 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21974 * net/tramp.el (tramp-handle-write-region): Flush file properties
21975 in case of short track.
21977 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21979 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21980 Coded custom representation of verilog error regular expressions
21981 to work with Emacs-22's new format.
21982 (verilog-error-regexp-xemacs-alist): Coded custom representation
21983 of verilog error regular expressions to work with XEmacs format.
21984 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21985 error recognition into XEmacs.
21986 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21987 error recognition into Emacs-22.
21989 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21991 * woman.el: Remove stand-alone closing parentheses.
21992 (woman-file-name, woman2-format-paragraphs)
21993 (woman-leave-blank-lines): Code cleanup.
21994 (woman-use-own-frame): Change default to nil.
21995 (woman-italic, woman-bold, woman-unknown, woman-addition):
21996 Change defaults to inherit from default faces.
21997 (woman2-process-escapes): Consume the newline after a stand-alone
21998 filler character (Bug#3651).
22000 2009-07-06 Glenn Morris <rgm@gnu.org>
22002 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22003 (top-level): Move provide to the end.
22004 (ffap): Remove defunct URL from custom group.
22006 * subr.el (eval-after-load): Doc fix.
22008 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22010 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22011 `calc-embedded-word' is called twice.
22013 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22015 * files.el (find-alternate-file-other-window, find-alternate-file):
22016 Obey confirm-nonexistent-file-or-buffer.
22018 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22020 * dired-aux.el (dired-show-file-type): Handle remote files.
22022 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22024 * desktop.el (desktop-globals-to-save):
22025 Add file-name-history (Bug#2750).
22027 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22029 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22031 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22033 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22034 property on entire argument since this is what eshell-lisp-command
22037 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22039 * net/tramp-gvfs.el (tramp-gvfs-methods)
22040 (tramp-gvfs-zeroconf-domain)
22041 (tramp-bluez-discover-devices-timeout): Add version flag.
22042 (tramp-gvfs-handler-mounted-unmounted)
22043 (tramp-gvfs-connection-mounted-p): Polish handling of
22044 incompatibilities between GVFS 0.2 and 1.0.
22046 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22048 * cus-start.el (all): Add make-pointer-invisible.
22050 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22052 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22053 formatted correctly.
22055 2009-07-02 Juri Linkov <juri@jurta.org>
22057 * info.el: Virtual Info files and nodes.
22058 (Info-virtual-files, Info-virtual-nodes): New variables.
22059 (Info-current-node-virtual): New variable.
22060 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22062 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22063 to check for a virtual file instead of checking a fixed list
22065 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22066 instead of ad-hoc processing of "dir" and (apropos history toc).
22067 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22068 instead of ad-hoc processing of "dir" and (apropos history toc).
22069 Reread a file when moving from a virtual node.
22070 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22071 (Info-directory-toc-nodes, Info-directory-find-file)
22072 (Info-directory-find-node): New functions.
22073 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22074 (Info-history): Move part of code to
22075 `Info-history-find-node'.
22076 (Info-history-toc-nodes, Info-history-find-file)
22077 (Info-history-find-node): New functions.
22078 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22079 (Info-toc): Move part of code to `Info-toc-find-node'.
22080 (Info-toc-find-node): New function.
22081 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22082 the current Info file name to references because now the node
22083 "*TOC*" belongs to the same Info manual.
22084 (Info-toc-build): Rename from `Info-build-toc'.
22085 (Info-toc-nodes): Rename input argument `file' to `filename'.
22086 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22087 instead of ad-hoc processing of ("dir" apropos history toc).
22088 (Info-index-nodes): Use Info-virtual-file-p
22089 to check for a virtual file instead of checking a fixed list
22091 (Info-index-node): Add check for `Info-current-node-virtual'.
22092 Raise `save-match-data' higher up the tree to contain
22093 `search-forward' too (bug fix).
22094 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22095 (Info-virtual-index-nodes): New variable.
22096 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22097 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22098 (Info-apropos-file, Info-apropos-nodes): New variables.
22099 (Info-apropos-toc-nodes, Info-apropos-find-file)
22100 (Info-apropos-find-node, Info-apropos-matches): New functions.
22101 (info-apropos): Move part of code to `Info-apropos-find-node' and
22102 `Info-apropos-matches'.
22103 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22104 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22105 for a virtual file instead of checking a fixed list of node names.
22107 * simple.el (async-shell-command): New command.
22109 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22111 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22112 instead of `mount-info'.
22114 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22116 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22117 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22119 2009-07-02 Kenichi Handa <handa@m17n.org>
22121 * international/mule.el (set-keyboard-coding-system): Force *-unix
22122 coding-system to avoid eol conversion.
22124 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22126 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22127 Add handler for `process-file', `shell-command' and
22128 `start-file-process'.
22129 (tramp-gvfs-handle-shell-command)
22130 (tramp-gvfs-handle-start-file-process)
22131 (tramp-gvfs-handle-process-file): New defuns.
22132 (tramp-synce-list-devices): Simplify check for existence of property.
22134 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22136 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22138 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22140 * language/korean.el (set-language-info-alist): Add korean-cp949,
22143 2009-07-01 Kenichi Handa <handa@m17n.org>
22145 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22147 * international/encoded-kb.el: Deleted.
22149 * international/mule.el (set-keyboard-coding-system): Perform the
22150 necessary setup here instead of calling encoded-kbd-setup-display.
22152 2009-07-01 Glenn Morris <rgm@gnu.org>
22154 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22156 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22158 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22160 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22162 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22163 Handle also the 'rename case, when setting file modes. (Bug#3712)
22164 (tramp-default-file-modes): Remove execute permissions.
22166 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22167 (top): Add a default for "synce" in `tramp-default-user-alist'.
22168 Add completion function for "synce" method.
22169 (tramp-hal-service, tramp-hal-path-manager)
22170 (tramp-hal-interface-manager, tramp-hal-interface-device):
22172 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22173 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22176 * net/trampver.el: Update release number.
22178 2009-06-30 Kenichi Handa <handa@m17n.org>
22180 * international/fontset.el (setup-default-fontset): Add CJK fonts
22181 for symbols and the other miscellaneous characters.
22183 * language/korea-util.el (setup-korean-environment-internal):
22184 Make char-width-table suitable for Korean environments.
22185 (exit-korean-environment): Cancel above.
22187 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22188 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22189 setup-function to make char-width-table suitable for respective
22190 environments, and an exit-function to cancel that.
22192 * language/japan-util.el (setup-japanese-environment-internal):
22193 Call use-cjk-char-width-table with arg `ja_JP'.
22195 * international/characters.el (cjk-char-width-table): Delete it.
22196 (cjk-char-width-table-list): New variable.
22197 (use-cjk-char-width-table): New arg local-name.
22198 (use-default-char-width-table): Fix for the case that Emacs is
22199 already using the default char-width-table.
22201 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22203 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22204 modes mandatory. (Bug#3712)
22206 2009-06-29 Alan Mackenzie <acm@muc.de>
22208 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22209 correction between the visible width of TABs and their number of bytes.
22211 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22213 * server.el (server-buffer-done): Prevent kill-buffer from
22214 prompting by clearing the buffer modification flag (Bug#3696).
22216 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22218 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22219 (verilog-endcomment-reason-re): Support unique case and priority case.
22220 (verilog-basic-complete-re): Support localparam lineup.
22221 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22222 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22224 (verilog-leap-to-case-head): Now support *nested* unique &
22225 priority case statements.
22226 (verilog-auto-lineup): Make just declarations the default (as it
22228 (verilog-leap-to-case-head): Support priority/unique case statements.
22229 (verilog-auto-lineup): Rework to give users radio buttons to
22230 select the various styles of automatic lineup.
22231 (verilog-error-regexp-alist): Rework to support the XEmacs style
22232 of error regular expressions from compilers, lint tools &
22233 simulators. Note that GNU Emacs has made it impossible for a mode
22234 to load such things.
22235 (electric-verilog-terminate-line, verilog-indent-declaration)
22236 (verilog-auto-wiure): Rework for radio button selection of
22237 auto-lineup selection of specification of auto lineup.
22238 (verilog-beg-of-statement-1): Redesign to support proper operation
22239 in additional code, based on testing with auto-lineup.
22240 (verilog-calculate-indent, assignments & declarations)
22241 (verilog-backward-token): Enhance to support auto-lineup of
22242 assignments & declarations.
22243 (verilog-in-directive-p, verilog-at-struct-p): New function for
22244 easy test of whether we are.
22245 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22246 to support safe execution at almost anyline.
22247 (verilog-calc-1): Properly support indenting deep inside generate
22249 (verilog-init-font): Remove definition & use of verilog-init-font,
22250 as it is redundant with font-lock-defaults.
22251 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22252 to avoid circular calls if syntax-ppss is a function (as is the
22253 case now in 22.x GNU Emacs) as that function would sometimes call
22254 itself, leading to (nearly) infinite recursion.
22255 (verilog-ovm-begin-re, verilog-ovm-end-re)
22256 (verilog-ovm-statement-re, verilog-leap-to-head)
22257 (verilog-backward-token): Add support for OVM macros. Some are
22258 complete statements, and others open and close scopes like begin
22260 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22261 (verilog-defun-level-generate-only-re): Really fix the defun-list
22263 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22264 coverpoint, constraint and cross statements.
22265 (verilog-defun-level-list, verilog-generate-defun-level-list)
22266 (verilog-all-defun-level-list): Redo these specifications - it is
22267 too hard to support eval-when compile aggregation of lists also
22268 built at when-compile time.
22269 (verilog-defun-level-list): Place defconsts of variables used in
22270 building regular expressions which are built in eval-when-compile
22271 bodies in the same eval-when-compile body to facilitate compile
22273 (verilog-beg-block-re-ordered): Support indenting
22274 virtual/protected tasks and functions.
22275 (verilog-defun-level-list, verilog-in-generate-region-p)
22276 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22277 indentation of some module items (generate items).
22278 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22279 across virtual/protected tasks and functions.
22281 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22283 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22284 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22285 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22286 in concatenations. Reported by Yishay Belkind.
22287 (verilog-auto-ascii-enum): Support one-hot state machines in
22288 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22289 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22290 modport in AUTOINST and add vl-modport for users.
22291 Reported by David Rogoff.
22292 (verilog-auto-inout-module, verilog-auto-inst)
22293 (verilog-decls-get-interfaces, verilog-insert-definition)
22294 (verilog-insert-one-definition, verilog-read-decls)
22295 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22296 (verilog-sig-modport, verilog-signals-combine-bus)
22297 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22298 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22299 Suggested by David Rogoff.
22300 (verilog-repair-open-comma): Fix non-insertion of comma when
22301 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22302 (verilog-make-width-expression): Simplify [A-1:0] expression
22303 widths to just {A{1'b0}}.
22304 (verilog-mode): Cleanup checkdoc warnings.
22305 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22306 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22307 inputs/outputs or data type. Suggested by Vasu Kandadi.
22308 (next-error-last-buffer): Fix byte-compiler warning.
22309 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22310 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22311 or shell command text during AUTO expansion. Suggested by Tad Truex.
22312 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22313 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22314 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
22315 in AUTOINOUT. Reported by Matthew Lovell.
22316 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22317 causing use of <= assignments. Reported by Alex Reed.
22318 (verilog-read-decls): Fix triand, trior, wand, wor to be
22319 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22320 (verilog-extended-complete-re): Support import "DPI-C" functions.
22321 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22322 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22323 (verilog-insert-date, verilog-insert-year)
22324 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22325 Windows systems. Reported by Michael Potts.
22326 (verilog-read-module-name): Fix AUTOINST when the child module
22327 declaration's name is a tick define. Reported by Elliot Mednick.
22328 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22329 passed to next parameter's definition. Reported by Bruce T.
22330 (verilog-read-decls): Fix detecting "parameter int" when using
22331 AUTOINSTPARAM. Reported by Bruce T.
22332 (verilog-goto-defun): Fix goto not finding modules unless first
22333 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22334 (verilog-mode): Expand -f flag arguments on entry to mode so
22335 verilog-goto-defun will work. Reported by Lawrence Butcher.
22336 (verilog-getopt): Expand environment variables in -f file
22337 arguments. Suggested by Lawrence Butcher.
22338 (verilog-set-define): Fix "Symbol's value as variable is void"
22339 when reading enumerations.
22340 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22341 Suggested by Stephen Peltan.
22342 (verilog-read-defines): Fix reading of enumerations in include
22343 files. Reported by Steve Peltan.
22345 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22347 * files.el (trash-directory): Fix defcustom type.
22349 2009-06-28 Juri Linkov <juri@jurta.org>
22351 * help-fns.el (describe-function-1): Correctly locate adviced
22352 functions in hyperlink (Bug#2438).
22354 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22356 * files.el (trash-directory): Change default to nil.
22357 (move-file-to-trash): If trash-directory is nil and
22358 system-move-file-to-trash is unbound, perform freedesktop-style
22361 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22363 * files.el (move-file-to-trash): Add freedesktop trash
22366 2009-06-28 Glenn Morris <rgm@gnu.org>
22368 * autorevert.el (global-auto-revert-non-file-buffers)
22369 (global-auto-revert-mode): Doc fixes.
22371 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22373 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22375 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22377 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22378 opened an X connection before calling x-get-resource (Bug#3194).
22380 * play/doctor.el: Remove reference to obsolete website.
22381 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22383 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22385 Remove find-file-not-found-hook VC method. (Bug#2757)
22386 * vc-hooks.el (vc-file-not-found-hook)
22387 (vc-default-find-file-not-found-hook): Remove functions.
22388 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22389 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22392 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22394 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22396 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22397 compatibility function for `looking-back'.
22399 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22400 Use `ispell-looking-back'.
22402 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22404 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22405 rather than `filename'.
22407 2009-06-23 Miles Bader <miles@gnu.org>
22409 * face-remap.el (text-scale-set): New function.
22411 2009-06-23 Glenn Morris <rgm@gnu.org>
22413 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22415 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22417 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22419 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22421 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22422 Simplify Persian conditionals.
22424 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22425 variable `filename'.
22427 * comint.el (comint-insert-input): Doc fix.
22429 * Makefile.in (ELCFILES): Fix typo in previous change.
22431 2009-06-23 Miles Bader <miles@gnu.org>
22433 * cus-start.el: Add entry for `recenter-redisplay'.
22435 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22437 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22438 Add an optional argument for the backend, use it instead of
22439 calling vc-backend.
22440 (vc-mode-line): Add an optional argument for the backend.
22441 Pass the backend to vc-state and vc-working-revision. Move code for
22442 special handling for vc-state being a buffer to ...
22444 * vc-rcs.el (vc-rcs-find-file-hook):
22445 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22447 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22448 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22449 vc-stay-local-p and vc-mode-line calls.
22451 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22452 (vc-cvs-diff, vc-cvs-annotate-command)
22453 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22454 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22455 vc-mode-line calls.
22457 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22459 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22460 backend when calling vc-mode-line.
22461 (vc-register): Do not create a closure for calling the vc register
22462 function, call it directly.
22464 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22466 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22467 to make it obvious item can be clicked.
22469 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22471 2009-06-23 Kenichi Handa <handa@m17n.org>
22473 * language/korea-util.el (korean-key-bindings): Change the binding
22474 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22477 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22479 Sync with Tramp 2.1.16.
22481 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22483 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22484 when a loading of a package fails. Completion function for rsync
22485 is `tramp-completion-function-alist-ssh'.
22486 (all): Replace all calls of `split-string' and
22487 `tramp-split-string' by `tramp-compat-split-string'.
22488 (tramp-default-method): Use `tramp-compat-process-running-p'.
22489 (tramp-default-proxies-alist): Allow also Lisp forms.
22490 (tramp-remote-path): Add choice "Private Directories".
22491 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22492 (tramp-domain-regexp): Allow also "-", "_" and ".".
22493 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22494 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22495 (tramp-debug-message): Insert header line in debug buffer.
22496 (tramp-handle-directory-files-and-attributes-with-stat):
22497 Care about filenames with spaces, or starting with "-".
22498 (tramp-handle-dired-uncache): New defun.
22499 (tramp-handle-insert-directory): Don't flush the directory from
22500 cache, this is handled by `dired-uncache' now.
22501 (tramp-handle-insert-file-contents): Improve error handling.
22502 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22503 Quote `tramp-end-of-output'.
22504 (tramp-action-password): Improve trace message.
22505 (tramp-check-for-regexp): Both echoes must be present, before removing.
22506 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22507 (tramp-compute-multi-hops): Eval cons cells of
22508 `tramp-default-proxies-alist'.
22509 (tramp-maybe-open-connection): Use the same command pattern for
22510 first hop and further hops.
22511 (tramp-wait-for-output): Remove handling of newlines.
22512 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22513 (tramp-split-string): Remove function. It is handled in
22516 * net/tramp-cmds.el (tramp-bug):
22517 Recommend `tramp-cleanup-all-connections' in the bug mail.
22519 * net/tramp-compat.el (tramp-compat-split-string)
22520 (tramp-compat-process-running-p): New defuns.
22522 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22523 for `dired-uncache'.
22525 * net/tramp-gvfs.el: New package.
22527 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22528 Add handler for `dired-uncache'.
22529 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22531 * net/trampver.el: Update release number. Make version check fit
22534 2009-06-22 Jim Meyering <meyering@redhat.com>
22536 Automatically handle .xz suffix (XZ-compressed files), too.
22537 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22538 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22540 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22541 Nick Roberts <nickrob@snap.net.nz>
22543 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22544 repository (http://sphinx.net.ru/hg/gdb-mi/).
22546 2009-06-22 Glenn Morris <rgm@gnu.org>
22548 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22549 `mode' and `eval' entries. (Bug#3430)
22551 * Makefile.in (ELCFILES): Add fadr.elc.
22553 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22554 differing behavior of \n and ^ in strings. (Bug#3385)
22556 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22558 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22560 (lisp-indent-function): Make it a defcustom.
22562 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22564 * progmodes/gdb-ui.el: Replace with ...
22565 * progmodes/gdb-mi.el: ... this file.
22566 * progmodes/gud.el: Modify for gdb-mi.el.
22568 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22570 * fadr.el: New file.
22572 See ChangeLog.14 for earlier changes.
22574 ;; Local Variables:
22578 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22580 This file is part of GNU Emacs.
22582 GNU Emacs is free software: you can redistribute it and/or modify
22583 it under the terms of the GNU General Public License as published by
22584 the Free Software Foundation, either version 3 of the License, or
22585 (at your option) any later version.
22587 GNU Emacs is distributed in the hope that it will be useful,
22588 but WITHOUT ANY WARRANTY; without even the implied warranty of
22589 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22590 GNU General Public License for more details.
22592 You should have received a copy of the GNU General Public License
22593 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.