1 2011-02-28 Eli Zaretskii <eliz@gnu.org>
3 * international/mule-cmds.el (set-default-coding-systems): Use the
4 -unix variant of encoding in default-keyboard-coding-system.
7 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
9 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
11 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
13 * term/screen.el: New file (Bug#2650).
15 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
17 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
18 (pcase-mutually-exclusive-predicates): New var.
19 (pcase--split-consp, pcase--split-pred): Use it.
20 (pcase--split-equal, pcase--split-member): When splitting against
21 a pure predicate, run it to know the outcome.
22 (pcase--u1): Mark vars that are actually used.
23 (pcase--q1): Avoid introducing unused vars.
25 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
27 * calc/calc-ext.el (calc-init-extensions):
28 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
30 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
33 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
34 argument is a variable.
36 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
38 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
39 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
40 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
42 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
44 * password-cache.el (password-in-cache-p): Convenience function to
45 check if a key is in the cache, even if the value is nil.
47 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
49 * emacs-lisp/package-x.el (package--archive-contents-from-url)
50 (package--archive-contents-from-file): New functions.
51 (package-update-news-on-upload): New var.
52 (package-upload-buffer-internal): Extract archive-contents from
53 package-archive-upload-base if it is not found at archive-url.
54 Obey package-update-news-on-upload.
55 (package-upload-buffer, package-upload-file): Doc fix.
57 2011-02-24 Glenn Morris <rgm@gnu.org>
59 * files-x.el (modify-dir-local-variable): Handle dir-locals from
60 the cache, and from non-file sources.
62 * help-fns.el (describe-variable): Return consistent results when a
63 dir-local from a file came from the cache or did not. (Bug#8095)
64 If a dir-local has no associated file, say it came from a "directory".
66 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
67 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
69 * files.el (dir-locals-find-file): Doc fix.
70 Fix the check for cache elements that have no associated file,
71 and the mtime check for those that do. (Bug#8095)
73 * dired-x.el (dired-hack-local-variables):
74 Handle interrupts during hacking local variables. (Bug#5216)
76 * emacs-lisp/autoload.el (autoload-save-buffers)
77 (autoload-find-destination, update-directory-autoloads):
78 Avoid prompts when updating autoloads.
80 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
82 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
84 2011-02-23 Kenichi Handa <handa@m17n.org>
86 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
87 error when a multipart boundary in the nested multipart is found.
89 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
92 2011-02-23 Glenn Morris <rgm@gnu.org>
94 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
95 * dired-x.el (dired-omit-mode): Safe if boolean.
96 (dired-enable-local-variables): Fix doc and custom type.
97 (dired-enable-local-variables, dired-local-variables-file)
98 (dired-hack-local-variables): Make obsolete.
99 (dired-omit-here-always): Use dir-locals.el instead.
101 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
103 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
105 * help-fns.el (describe-function-1): Don't signal an error just because
106 the DOC file disappeared.
108 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
110 * eshell/esh-ext.el (eshell-external-command): Do not restrict
111 remote check to "ftp". (Bug#8089)
113 2011-02-21 Alan Mackenzie <acm@muc.de>
116 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
117 in macros finding their way into c-state-nonlit-pos-cache.
118 Strengthen the comments.
119 (c-state-dump): New commented out diagnostic routine.
121 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
123 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
124 `field' property of `rfn-eshadow-overlay'.
126 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
128 * net/netrc.el (netrc-parse): Comment fix.
130 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
132 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
133 Autoload. Add optional arg FRAME, and pass it to color-values.
134 (color-complement): Caller changed. Doc fix.
135 (color-gradient): Rewrite for better clarity and efficiency.
137 * faces.el (color-values): Use cond for clarity. Doc fix.
139 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
141 (list-colors-sort-key, list-colors-print):
142 Use color-normalized-values.
144 2011-02-20 Drew Adams <drew.adams@oracle.com>
146 * color.el: First part of merge from hexrgb.el.
147 (color-rgb-to-hex): Rename from color-rgb->hex.
148 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
149 saturation to zero if the value is too small.
150 (color-rgb-to-hsl): Rename from color-rgb->hsl.
151 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
152 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
153 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
154 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
155 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
156 (color-cie-de2000): Doc fix.
158 2011-02-20 Alan Mackenzie <acm@muc.de>
160 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
161 locating the beginning of a macro. (Bug#7595)
163 2011-02-20 Glenn Morris <rgm@gnu.org>
165 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
168 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
169 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
171 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
172 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
174 * progmodes/hideshow.el (hs-find-block-beginning)
175 (hs-hide-level-recursive): Ignore comments when parsing braces
178 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
180 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
181 (vc-bzr-pull): Use it.
183 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
185 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
186 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
187 but returning an alist. Ignore comments in bzr conffile.
188 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
189 (vc-bzr-error-regex-alist): New var.
190 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
192 * vc/vc-dispatcher.el (vc-do-async-command):
193 Bind inhibit-read-only to t.
195 * progmodes/compile.el (compilation--flush-directory-cache):
196 Handle the case where cdr of compilation--flush-directory-cache
197 points to no buffer, which can occur if we previously switched to
198 compilation-mode in a pregenerated buffer.
200 2011-02-19 Kenichi Handa <handa@m17n.org>
202 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
203 get the header copy into the temporary buffer.
204 (rmail-mime-insert-decoded-text): Ignore us-ascii.
205 (rmail-show-mime): When rmail-mime-coding-system is nil, set
206 buffer-file-coding-system to undecided.
208 2011-02-19 Eli Zaretskii <eliz@gnu.org>
210 * international/mule-cmds.el (read-char-by-name, ucs-insert):
211 Document completion with asterisk and a substring.
213 2011-02-19 Glenn Morris <rgm@gnu.org>
215 * files.el (find-file-literally): Doc fix.
217 * simple.el (rfc822-goto-eoh): Give it a doc-string.
219 * log-edit.el (log-edit-insert-changelog):
220 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
222 2011-02-19 Glenn Morris <rgm@gnu.org>
224 * dired-x.el: Don't require dired-aux.
225 (dired-do-create-files, dired-mark-read-regexp)
226 (dired-do-create-files-regexp): Autoload from dired-aux.
228 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
229 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
231 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
232 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
234 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
235 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
236 (dired-clean-up-buffers-too): Declare.
238 * dired-x.el (dired-initial-position): Merge into dired.el's version.
239 * dired.el (dired-initial-position): Merge dired-x's version here.
240 (dired-find-subdir): Declare.
242 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
243 * dired-aux.el (dired-add-entry): Give it a doc-string.
244 Merge dired-x's dired-omit handling here.
245 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
247 * international/mule-diag.el (list-input-methods-1):
248 Indent all lines of multi-line doc-strings. (Bug#8066)
250 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
252 Fix 2011-02-02 changes.
254 * apropos.el (apropos-print): Call apropos-mode before setting up
255 buffer variables. Use inhibit-read-only.
257 * emacs-lisp/package.el (package--list-packages):
258 Call package-menu-mode before setting up buffer variables.
260 * play/solitaire.el (solitaire): Call solitaire-mode before
261 setting up buffer variables. Use inhibit-read-only.
263 2011-02-18 Lawrence Mitchell <wence@gmx.li>
265 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
266 Bind case-fold-search to nil when looking for end of here-doc.
268 2011-02-18 Eli Zaretskii <eliz@gnu.org>
270 * image-mode.el (image-toggle-display-image):
271 Set find-file-literally non-nil in buffers visiting binary image
274 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
276 * files.el (cd): Make completion obey cd-path (bug#7924).
278 2011-02-18 Glenn Morris <rgm@gnu.org>
280 * progmodes/prolog.el: Don't require compile when compiling.
281 (compilation-shell-minor-mode, compilation-error-regexp-alist)
282 (compilation-forget-errors, compilation-fake-loc)
283 (compilation-parse-errors-function, compilation-error-list): Declare.
284 (prolog-inferior-mode): Require 'compile.
286 * emulation/cua-base.el (pc-selection-mode): Declare.
288 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
289 (customize-object): Add autoload cookie.
290 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
291 (eieio-browse, describe-class, eieio-describe-class)
292 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
293 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
294 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
295 * Makefile.in (autoloads): Make eieio.el writable.
297 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
298 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
299 (dired-hack-local-variables): Use inhibit-read-only.
300 (dired-guess-default): Simplify.
301 (dired-make-relative-symlink): Use dotimes.
302 (dired-simultaneous-find-file): Use dolist.
303 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
304 (dired-x-hands-off-my-keys): Doc fix.
305 (dired-x-bind-find-file): Doc fix. Use remapping.
306 (after-init-hook): No need to add dired-x-bind-find-file.
307 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
308 No need to call expand-file-name.
309 (dired-filename-at-point): Remove unused locals `end', `filename'.
311 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
313 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
315 2011-02-18 Christian Ohler <ohler@gnu.org>
317 * emacs-lisp/ert.el (ert--setup-results-buffer)
318 (ert-results-pop-to-backtrace-for-test-at-point)
319 (ert-results-pop-to-messages-for-test-at-point)
320 (ert-results-pop-to-should-forms-for-test-at-point)
321 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
322 were incorrect and unnecessary. This should make `make check'
325 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
327 * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
328 (allout-widgets-icons-dark-subdir): Track relocations of icons
329 * lisp/allout.el: Remove commentary about remove encryption
330 passphrase mnemonic support and verification.
331 (allout-encrypt-string): (allout-encrypt-string): Recognize epg
332 failure to decrypt gpg2 armored text using gpg1, and indicate that
333 the gpg version *might* be the problem in the error message.
335 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
337 * net/rcirc.el (rcirc-float-time): New function.
338 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
339 (rcirc-ctcp-sender-PING): Use it.
341 2011-02-17 Glenn Morris <rgm@gnu.org>
343 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
344 (speedbar-update-flag, speedbar-fetch-etags-command)
345 (speedbar-fetch-etags-arguments):
346 * term.el (term-buffer-maximum-size, term-input-chunk-size)
347 (term-completion-autolist, term-completion-addsuffix)
348 (term-completion-recexact, term-completion-fignore):
349 * term/sup-mouse.el (sup-mouse-fast-select-window):
350 * term/x-win.el (x-select-request-type):
351 Convert some defvars with "*" to defcustoms.
353 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
355 * vc/vc.el (vc-default-previous-version):
356 Remove alias that points nowhere. (Bug#4496)
358 * dired-x.el (dired-clean-up-after-deletion):
359 kill-buffer does not need save-excursion.
360 (dired-do-run-mail): Doc fix.
361 (dired-filename-at-point): Doc fix.
362 Use looking-at, and skip-chars rather than re search.
364 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
366 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
368 * allout-widgets.el: New allout extension that shows allout
369 outline structure with graphical widgets. 'allout-widgets'
370 customize group is an 'allout' subgroup, for easy discovery.
372 * allout.el: Include PGP and GnuPG in Keywords, and other
373 commentary refinements.
374 (allout-abbreviate-flattened-numbering): Rename to
375 allout-flattened-numbering-abbreviation, and
376 define-obsolete-variable-alias the old name.
377 (allout-flattened-numbering-abbreviation): Rename from
378 allout-abbreviate-flattened-numbering.
379 (allout-mode-p): Include among autoloads, for use by other modes
381 (allout-listify-exposed):
382 Use allout-flattened-numbering-abbreviation.
383 (allout-encrypt-string): Use set-buffer-multibyte directly.
384 (allout-set-buffer-multibyte): Remove.
386 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
388 * simple.el (just-one-space): Remove useless `or' call.
390 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
392 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
393 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
394 (soap-decoded-multi-refs, soap-current-wsdl)
395 (soap-encoded-namespaces): Rename CL-style *...* variables.
397 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
399 * net/soap-client.el: Add "comm" and "hypermedia" to the
400 keywords. Reflow too long lines.
402 * net/soap-inspect.el: Ditto. Require 'cl.
404 2011-02-16 Bastien Guerry <bzg@altern.org>
406 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
407 in a `doctor-type' argument.
409 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
411 * net/soap-client.el:
412 * net/soap-inspect.el: New files.
414 2011-02-16 Leo <sdl.web@gmail.com>
416 * dired-x.el (dired-mode-map, dired-extra-startup):
417 Remove dired-copy-filename-as-kill since it's already in dired.el.
419 2011-02-16 Glenn Morris <rgm@gnu.org>
421 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
422 Doc fixes. Add :set property, replacing top-level calls.
423 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
424 (dired-guess-shell-gnutar): Test tar version rather than system-type.
425 (dired-extra-startup, dired-man, dired-info): Doc fixes.
426 (dired-clean-up-after-deletion): Use when and dolist.
427 (dired-jump): Use unless and when.
428 (dired-virtual): Use line-end-position.
429 (dired-default-directory-alist): Rename from default-directory-alist.
430 (dired-default-directory): Update for above name change.
431 (dired-vm): Drop VM < 5 and simplify.
432 (dired-buffer-more-recently-used-p): Rewrite.
433 (dired-filename-at-point): Use when and or.
434 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
437 2011-02-15 Glenn Morris <rgm@gnu.org>
439 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
441 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
443 * vc/vc-git.el (vc-git-root-log-format): New option for
444 customizing log format.
445 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
446 (vc-git-log-view-mode): Use it.
447 (vc-git-expanded-log-entry): New function.
448 (vc-git-log-view-mode): Use it. Truncate lines in root log.
450 * vc/vc-hg.el (vc-hg-root-log-template): New option for
451 customizing log format.
452 (vc-hg-print-log): Use it.
453 (vc-hg-expanded-log-entry): New function.
454 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
455 vc-hg-expanded-log-entry. Truncate lines in root log.
457 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
459 * vc/log-view.el (log-view-mode-menu):
460 Add log-view-toggle-entry-display.
462 2011-02-14 Glenn Morris <rgm@gnu.org>
464 * dired-x.el: Don't require man when compiling.
465 (dired-omit-extensions, dired-local-variables-file)
466 (dired-x-hands-off-my-keys): Make them defcustoms.
467 (Man-support-local-filenames, Man-getpage-in-background): Declare.
468 (vm-visit-folder): Declare rather than defining.
469 (dired-x-help-address, dired-x-variable-list): Remove.
470 (dired-x-submit-report): Make it an obsolete alias.
472 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
474 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
476 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
478 * net/imap.el: Bring it back.
480 2011-02-13 Alan Mackenzie <acm@muc.de>
482 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
483 narrow-to-region call that cuts context off the end (Bug#7722).
485 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
486 Refactor nested if-forms with a simple cond.
487 (c-forward-<>-arglist): Revert 2011-01-31 change.
489 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
491 * vc/log-view.el: New command log-view-toggle-entry-display for
492 toggling log entries between concise and detailed forms.
493 (log-view-toggle-entry-display): New command.
494 (log-view-mode-map): Bind RET to it.
495 (log-view-expanded-log-entry-function): New variable.
496 (log-view-current-entry, log-view-inside-comment-p)
497 (log-view-current-tag): New functions.
498 (log-view-toggle-mark-entry): Use log-view-current-entry and
499 log-view-end-of-defun instead of searching directly with
501 (log-view-end-of-defun): Likewise. Add optional ARG for
502 compatibility with end-of-defun.
503 (log-view-end-of-defun): Ignore comments and VC buttons.
505 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
506 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
508 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
510 * net/imap.el: Remove file. All the functionality is in nnimap.el.
512 * net/imap-hash.el: Remove file.
514 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
516 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
518 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
521 * net/tramp-imap.el: Remove file.
523 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
525 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
526 widget library for buttons, just use button.el.
528 * vc/log-view.el (log-view-mode-map): Don't inherit from
531 2011-02-12 Glenn Morris <rgm@gnu.org>
533 * emacs-lisp/cl-seq.el (union, nunion, intersection)
534 (nintersection, set-difference, nset-difference)
535 (set-exclusive-or, nset-exclusive-or): Doc fix.
537 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
539 * faces.el (face-attr-match-p): Handle the obsolete :bold and
540 :italic props, so that frame-set-background-mode works. (Bug#7966)
542 * simple.el (next-error): Doc fix.
544 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
546 * dired-aux.el (dired-create-files): Adapt destination name to
547 match the new behavior of copy-directory.
549 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
551 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
552 from rmail-dont-reply-to-names. Callers changed.
553 (mail-dont-reply-to): Rename from mail-dont-reply-to.
554 (rmail-dont-reply-to): Make it an obsolete alias.
556 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
557 nil, and make obsolete (Bug#7888).
558 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
560 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
562 * mail/rmailsort.el (rmail-sort-by-correspondent)
563 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
565 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
567 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
569 * files.el (copy-directory): New argument COPY-CONTENTS for
570 copying directory contents into another existing directory.
572 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
574 * minibuffer.el (completion-table-case-fold): New function for
575 creating a case-insensitive completion table.
577 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
579 * net/tramp.el (tramp-default-method): Also check if
580 `auth-source-search' is bound.
581 (tramp-read-passwd): Use `auth-source-search' instead of
582 `auto-source-user-or-password'.
584 * net/tramp-imap.el: Autoload `auto-source-search' instead of
585 `auto-source-user-or-password.
586 (tramp-imap-passphrase-callback-function): Use it.
588 * net/imap-hash.el: Autoload `auto-source-search' instead of
589 `auto-source-user-or-password.
590 (imap-hash-open-connection): Use it.
592 * mail/smtpmail.el: Autoload `auto-source-search' instead of
593 `auto-source-user-or-password.
594 (smtpmail-try-auth-methods): Use it.
596 2011-02-12 Phil Hagelberg <phil@hagelb.org>
598 * emacs-lisp/package.el: Allow packages to be reinstalled.
599 (package--write-file-no-coding): Remove EXCL arg.
600 (package-unpack-single): Don't use it.
602 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
604 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
605 in each sub directory.
606 (vc-svn-registered): Use vc-svn-root.
607 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
608 (vc-svn-repository-hostname): Use "svn info".
610 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
612 * simple.el (delete-trailing-whitespace): New optional buffer
615 2011-02-11 Bastien Guerry <bzg@altern.org>
617 * files.el (basic-save-buffer): save unmodified buffers when
618 the file pointed by buffer-file-name doesn't exist.
620 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
622 * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
624 2011-02-11 Glenn Morris <rgm@gnu.org>
626 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
628 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
630 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
632 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
634 * server.el (server-process-filter): Use pcase.
636 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
638 (smie-indent--parent): Extend to "parent of arg".
639 (smie-indent-inside-string): New function.
640 (smie-indent-functions): Use it.
642 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
643 bzr locking race condition.
645 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
646 still valid before using it.
648 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
649 `message' -> `compilation-message' rename (bug#8004).
651 Move keymap initialization into declaration.
652 * textmodes/enriched.el (enriched-mode-map):
653 * textmodes/bib-mode.el (bib-mode-map):
654 * term/lk201.el (lk201-function-map):
655 * tar-mode.el (tar-mode-map):
656 * replace.el (occur-mode-map):
657 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
658 * progmodes/idlw-help.el (idlwave-help-mode-map):
659 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
660 * play/solitaire.el (solitaire-mode-map):
661 * play/snake.el (snake-mode-map, snake-null-map):
662 * play/pong.el (pong-mode-map):
663 * play/handwrite.el (menu-bar-handwrite-map):
664 * play/gametree.el (gametree-mode-map):
665 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
666 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
667 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
668 (newsticker--url-keymap):
669 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
670 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
671 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
672 (menu-bar-edit-menu, menu-bar-custom-menu)
673 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
674 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
675 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
676 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
677 (menu-bar-tools-menu, menu-bar-describe-menu)
678 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
679 (menu-bar-help-menu):
680 * mail/rmailsum.el (rmail-summary-mode-map):
681 * kmacro.el (kmacro-step-edit-map):
682 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
683 (ibuffer-mode-operate-map):
684 * hi-lock.el (hi-lock-menu, hi-lock-map):
685 * emulation/vip.el (vip-mode-map):
686 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
687 * bookmark.el (bookmark-bmenu-mode-map):
688 * help-mode.el (help-mode-map): Move initialization into declaration.
690 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
692 * net/rcirc.el: Add PRIVMSG and CTCP functions.
693 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
694 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
695 (rcirc-cmd-me, rcirc-authenticate): Use them.
697 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
699 * allout.el: Synopsis: Change allout user configuration so
700 auto-activation is controlled solely by customization
701 `allout-auto-activation'.
703 (allout-auto-activation-helper) (allout-setup): New autoloads
704 implement new custom set procedure for allout-auto-activation.
705 Also, explicitly invoke
706 (allout-setup) after allout-auto-activation is custom-defined, to
707 effect the settings in emacs sessions besides the few where
708 allout-auto-activation customization is donea.
709 (allout-auto-activation): Use allout-auto-activation-helper to
710 :set. Revise the docstring.
711 (allout-init): Reduce functionality to just customizing
712 allout-auto-activation, and mark obsolete.
713 (allout-mode): Respect string values for allout-auto-activation.
714 Run allout-after-copy-or-kill-hook without any args.
715 (allout-mode) (allout-layout) (allout-default-layout)
716 (outlineify-sticky): Adjust docstring for new scheme.
717 (allout-after-copy-or-kill-hook): No arguments - hook implementers
718 should concentrate on the kill ring.
720 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
722 * password-cache.el (password-cache-remove): Accept secrets that are
725 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
727 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
728 of here-doc that immediately follows a comment.
730 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
732 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
734 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
736 (rcirc-ctcp-sender-PING): New function.
738 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
740 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
741 Remove the mark/nomark handling, and activate shift-select-mode instead.
743 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
745 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
747 * calc/calc-units.el (math-logunits-quant): Add support for
748 non-logarithmic units.
750 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
752 * allout.el (allout-after-copy-or-kill-hook): New hook for
753 extension-specific processing of killed text.
754 (allout-mode): Include new allout-after-copy-or-kill-hook among
756 (allout-kill-line) (allout-kill-topic): Ensure that processing
757 after kill happens even if barf-if-buffer-read-only is raised.
758 Include new allout-after-copy-or-kill-hook among that subsequent
760 (allout-deannotate-hidden): Actually remove the annotation text
763 * allout.el (allout-listify-exposed): Copy text sans text properties.
765 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
767 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
769 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
771 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
773 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
775 * calc/calc.el (calc-logunits-field-reference): Rename from
776 `calc-default-field-reference-level'.
777 (calc-logunits-power-reference): Rename from
778 `calc-default-power-reference-level'
780 * calc/calc-units.el (math-logunits-quant): Rename from
781 `math-logunits-level'
782 (math-logunits-plus): Rename from math-logcombine.
783 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
784 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
785 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
787 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
788 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
789 (calc-logunits-quantity): Rename from `calc-level'.
790 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
791 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
792 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
793 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
794 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
797 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
798 (calc-ul-prefix-help): Remove.
799 (calc-l-prefix-help): New function.
800 (calc-full-help): Add reference to `calc-l-prefix-help'.
802 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
804 * calc/README: Mention logarithmic units.
806 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
808 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
809 non-ASCII characters (Bug#7925).
811 2011-02-05 Glenn Morris <rgm@gnu.org>
813 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
815 * calendar/diary-lib.el (diary-font-lock-keywords):
816 Tweak diary-time-regexp match. (Bug#7891)
818 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
819 (f90-mode): Use it for mode's `find-tag-default-function' property.
821 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
823 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
825 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
827 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
830 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
832 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
833 font-lock-syntax-table remappings.
834 (sh-here-doc-markers, sh-here-doc-re): Remove.
835 (sh-font-lock-close-heredoc): Remove.
836 (sh-syntax-propertize-here-doc): New function.
837 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
838 instead of the sh-here-doc-re.
839 (sh-font-lock-paren): Don't do anything in comments or strings.
840 Handle line continuations. Accept a few more chars.
841 Don't rely on the font-lock-syntax-table remappings.
842 `esac' is not a valid pattern.
843 (sh-syntax-propertize-function): Handle here-docs differently, so we
844 don't bother syntax-propertizing the insides.
846 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
847 Handle new bashisms ";&" and ";;&" (bug#7947).
849 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
851 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
852 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
854 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
856 * net/tramp.el (tramp-postfix-method-format)
857 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
858 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
859 (tramp-postfix-user-regexp, tramp-prefix-port-format)
860 (tramp-prefix-port-regexp, tramp-postfix-host-format)
861 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
864 2011-02-04 Sam Steingold <sds@gnu.org>
866 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
868 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
870 * international/mule-util.el (with-coding-priority): Doc fix.
872 2011-02-04 Eli Zaretskii <eliz@gnu.org>
874 * arc-mode.el (archive-mode-map): Fix a typo in last change.
876 2011-02-03 Sam Steingold <sds@gnu.org>
878 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
879 Do not error out when `func' is nil.
881 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
883 * net/tramp-sh.el (tramp-remote-path): Add default settings for
884 `tramp-default-remote-path' to the docstring.
885 (tramp-get-remote-path): Suppress error message when `getconf
888 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
890 2011-02-03 Glenn Morris <rgm@gnu.org>
892 * vc/vc-hg.el (vc-hg-command): Doc fix.
894 * term/w32-win.el (libpng-version): Declare for compiler.
896 * msb.el: No need to load dired while compiling.
898 * emacs-lisp/elint.el (elint-standard-variables):
899 Remove a couple of built-ins that now have doc-strings.
901 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
902 `require' is automatically `eval-and-compile'd.
904 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
905 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
907 * strokes.el (strokes-fill-current-buffer-with-whitespace):
908 Move definition before use.
909 (strokes-report-bug): Make it obsolete.
911 2011-02-02 Sam Steingold <sds@gnu.org>
913 * apropos.el (apropos-print): Now that `apropos-mode' inherits
914 from `special-mode', entering it makes the buffer read-only, so
915 call it only when everything has been already inserted.
916 * emacs-lisp/ert.el (ert--setup-results-buffer)
917 (ert-results-pop-to-backtrace-for-test-at-point)
918 (ert-results-pop-to-messages-for-test-at-point)
919 (ert-results-pop-to-timings): Ditto.
920 * emacs-lisp/package.el (package--list-packages): Ditto.
921 * play/solitaire.el (solitaire): Ditto.
923 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
925 * progmodes/compile.el: Make all faces inherit.
926 (compilation-warning): Inherit from font-lock-variable-name-face.
927 (compilation-info): Inherit from font-lock-type-face.
928 (compilation-line-number): Reassign to font-lock-keyword-face.
929 (compilation-column-number): Reassign to font-lock-doc-face.
930 (compilation-leave-directory-face): Reassign to
931 font-lock-builtin-face.
933 2011-02-02 Eli Zaretskii <eliz@gnu.org>
935 * dired.el (dired-insert-directory): Don't invoke `ls' when
936 ls-lisp.el is used to emulate it.
938 2011-02-01 Julien Danjou <julien@danjou.info>
940 * color.el (color-gradient): Add a color-gradient function.
942 2011-02-01 Sam Steingold <sds@gnu.org>
944 * simple.el (special-mode-map): Bind "h" to `describe-mode';
945 bind "z" to `kill-this-buffer'.
946 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
947 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
948 (apropos-mode): Inherit from `special-mode'.
949 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
950 * bookmark.el (bookmark-bmenu-mode): Define using
951 `define-derived-mode' inheriting from `special-mode'.
952 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
953 * image-mode.el (image-mode-map): Ditto.
954 * replace.el (occur-mode): Define using
955 `define-derived-mode' inheriting from `special-mode'.
956 * tar-mode.el (tar-mode): Inherit from `special-mode'.
957 * calendar/diary-lib.el (diary-fancy-display-mode):
958 Inherit from `special-mode-map'.
959 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
960 Inherit from `special-mode'.
961 * emacs-lisp/package.el (package-menu-mode-map): Copy from
963 (package-menu-mode): Define using `define-derived-mode'
964 inheriting from `special-mode'.
965 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
966 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
967 (xesam-mode-map): Define separately.
968 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
969 * progmodes/compile.el (compilation-minor-mode-map)
970 (compilation-mode-map): Inherit from `special-mode-map'.
971 * vc/diff-mode.el (diff-mode-shared-map):
972 Inherit from `special-mode-map'.
973 * vc/log-view.el (log-view-mode-map): Add a comment.
975 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
977 * custom.el (load-theme): Define return value. Drop use of
978 unsafep; call custom-theme-load-confirm for non-known-safe themes.
979 (custom-theme-load-confirm): Scroll in the correct window.
980 (custom-enabled-themes): Add custom-safe-themes to :set-after.
982 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
983 checkbox if load-theme fails.
985 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
987 * progmodes/compile.el (compilation-next-error): Check there's
988 a message before using it (bug#7941).
990 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
992 * calc/calc-mtx.el (math-lud-pivot-check): New function.
993 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
996 2011-01-31 Alan Mackenzie <acm@muc.de>
998 * progmodes/cc-cmds.el (c-forward-over-illiterals):
999 Continue parsing if we encounter a naked # (Bug#7595).
1000 (c-beginning-of-statement): Avoid loop in locating the beginning
1001 of a macro. (Not actually committed until 2011-02-20, see above).
1003 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1005 * files.el (copy-directory): Fix arguments to recursive call.
1007 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1009 * files.el (copy-directory): If destination is an existing
1010 directory, copy into a subdirectory there.
1012 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1014 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1017 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1019 * image-dired.el (image-dired-mouse-display-image): No-op if no
1020 file is found (Bug#7817).
1022 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1024 2011-01-31 Kenichi Handa <handa@m17n.org>
1026 * international/quail.el (quail-keyboard-layout-alist):
1027 Remove superfluous SPC for "pc105-uk" (bug#7927).
1029 2011-01-31 Glenn Morris <rgm@gnu.org>
1031 * msb.el (msb-menu-bar-update-buffers): Update for changed
1032 argument handling of menu-bar-select-frame. (Bug#7902)
1034 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1036 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1037 to the recursion depth (Bug#7722).
1039 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1041 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1042 command-line-default-directory (Bug#7872).
1044 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1046 * progmodes/compile.el (compilation--flush-directory-cache):
1047 New function, extracted from compilation--remove-properties.
1048 (compilation--remove-properties, compilation--parse-region): Use it.
1049 (compilation--previous-directory): Handle one more case.
1050 (compilation-enable-debug-messages): Remove.
1051 (compilation-parse-errors, compilation--flush-parse): Just remove the
1052 left over debug messages.
1054 2011-01-31 Sam Steingold <sds@gnu.org>
1056 * progmodes/compile.el (compilation-enable-debug-messages):
1057 Add a variable to make the parsing messages introduced in
1058 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1059 (compilation-parse-errors, compilation--flush-parse): Use it.
1061 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1063 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1064 (rcirc-nick-completion-format): New defcustom.
1065 (rcirc-complete): Use it.
1067 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1069 * net/rcirc.el: Clean log filenames (Bug#7933).
1070 (rcirc-log-write): Use convert-standard-filename.
1071 (rcirc-log-filename-function): Documentation updates.
1073 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1075 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1076 Check report-emacs-bug-can-use-osx-open and use that if t.
1077 (report-emacs-bug-can-use-osx-open): New function.
1078 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1079 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1081 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1083 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1084 updating Dired or VC-dir buffers after async command completes.
1086 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1087 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1089 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1090 completions if it exists. Use vc-set-async-update.
1091 (vc-git-pull): Use vc-set-async-update.
1093 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1094 read-shell-command. Use vc-set-async-update.
1095 (vc-hg-merge-branch): Use vc-set-async-update.
1097 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1099 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1100 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1103 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1105 * progmodes/compile.el: Avoid an N² behavior in grep.
1106 (compilation--previous-directory): New fun.
1107 (compilation--previous-directory-cache): New var.
1108 (compilation--remove-properties): Flush it.
1109 (compilation-directory-properties, compilation-error-properties):
1110 Use the new fun to speed up looking for the current directory.
1112 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1114 * vc/vc-hg.el (vc-hg-history): New var.
1115 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1116 (vc-hg-merge-branch): New function.
1118 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1119 the other way around.
1121 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1122 (vc-git-merge-branch): New functions.
1123 (vc-git-history): New var.
1125 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1127 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1129 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1130 vc-do-async-command.
1132 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1135 2011-01-28 Leo <sdl.web@gmail.com>
1137 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1138 highlighting to the "this function is advised" message.
1140 * help-mode.el (help-mode-finish): Apply highlighting here, to
1141 avoid clobbering by substitute-command-keys (Bug#6304).
1143 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1145 * woman.el (woman0-roff-buffer): Process roff escape sequences
1146 occurring prior to the first request (Bug#7843).
1148 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1150 * progmodes/compile.el: Don't use font-lock any more.
1151 (compilation-error-regexp-alist-alist): Change handling of makepp
1152 so it preserves the warning/error distinction on subsequent files.
1153 Simplify various rules.
1154 (compilation-directory-properties): Use font-lock-face.
1155 Add a compilation-message property.
1156 (compilation-internal-error-properties): Use font-lock-face.
1157 Don't set the compilation-debug property here.
1158 (compilation--put-prop, compilation--remove-properties)
1159 (compilation--parse-region, compilation--ensure-parse)
1160 (compilation--ensure-parse): New functions.
1161 (compilation-parse-errors): New function, largely inspired of
1162 compilation-mode-font-lock-keywords. Set compilation-debug here.
1163 (compilation--parsed): New var.
1164 (compilation--flush-parse): Use compilation--ensure-parse.
1165 (compilation-start): Don't call font-lock.
1166 (compilation-turn-on-font-lock): Remove.
1167 (compilation-setup): Don't set font-lock-extra-managed-props not change
1168 other font-lock settings, other than keywords.
1169 Don't activate font-lock-mode.
1170 Set change-major-mode-hook and before-change-functions.
1171 (compilation--unsetup): Remove properties and hooks.
1172 (compilation-next-single-property-change): New function.
1173 (compilation-next-error): Use it to parse when needed.
1174 (compile-goto-error): Parse buffer as needed.
1175 (compilation--compat-error-properties): Don't need a dummy `face'
1178 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1180 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1181 (compilation-process-setup-function): Fix docstring's false promises.
1182 (compilation-error-regexp-alist-alist): Catch omake's continuous
1183 recompilation message and avoid reuse of old markers.
1184 (compilation-parse-errors-function): Declare obsolete.
1185 (compilation-buffer-modtime): Remove.
1186 (compilation--make-cdrloc, compilation--loc->col)
1187 (compilation--loc->line, compilation--loc->file-struct)
1188 (compilation--loc->marker, compilation--loc->visited)
1189 (compilation--make-file-struct, compilation--file-struct->file-spec)
1190 (compilation--file-struct->formats)
1191 (compilation--file-struct->loc-tree): New macros. Use them.
1192 (compilation--message): New defstruct. Use them.
1193 (compilation-next-error-function): Don't mess with timestamps to try
1194 and guess when to reparse.
1196 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1198 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1199 (tex-old-error-file-name): New function,
1200 extracted from tex-compilation-parse-errors.
1201 (tex-compilation-parse-errors): Remove.
1202 (tex-error-regexp-alist): New var.
1203 (tex-shell): Use it to avoid compilation-parse-errors-function.
1205 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1206 (grep-mode-font-lock-keywords): Remove regexp that seems like
1207 a left-over from before we used compile.el.
1208 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1209 modifying the buffer within with-silent-modifications.
1211 * progmodes/compile.el: Cleanup text-properties namespace by using
1212 `compilation-message' instead of `message', `compilation-directory'
1213 instead of `directory', and `compilation-debug' instead of `debug'.
1214 (compilation-last-buffer, compilation-parsing-end)
1215 (compilation-error-list, compilation-old-error-list): Move to the
1216 compatibility part of the code.
1217 (compilation-error-properties): If `file' is a function, let it return
1219 (compilation-mode-font-lock-keywords): Be more conservative with the
1220 omake "^ *" pattern prefix, to try and minimize the risk of
1221 pathologically slow regexp matching.
1222 (compilation-start): Use inhibit-read-only.
1223 (compilation--unsetup): New function.
1224 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1225 (compilation-filter): Minor tweaks.
1226 (compilation-next-error-function): Try and avoid abusing variables.
1227 (compilation--flush-file-structure): New fun.
1228 (compilation-fake-loc): Use it to improve behavior when file is reused.
1229 (debug-ignored-errors): Add "Moved past last ...".
1230 (compilation--compat-error-properties)
1231 (compilation--compat-parse-errors): Rename by doubling the "-".
1233 Port features from the previous prolog.el to the new one.
1234 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1235 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1236 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1237 variable and use a function to compute the value dynamically.
1238 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1239 (prolog-continued-prompt-regexp): Remove, unused.
1240 (prolog-find-value-by-system): Try and use the value of prolog-system
1241 in the *prolog* buffer if it helps.
1242 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1243 (prolog-zip-on): ..and check prolog-system and version here instead.
1244 (prolog-inferior-self-insert-command): New command.
1245 (prolog-inferior-mode-map): Use it.
1246 (prolog-inferior-error-regexp-alist): New var.
1247 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1248 (prolog-input-filter): Use derived-mode-p.
1249 (prolog-inferior-guess-flavor): New function.
1250 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1251 make-comint to avoid running comint-mode twice.
1252 (prolog-inferior-buffer): New fun.
1253 (prolog-old-process-region, prolog-old-process-file):
1254 Don't call prolog-bsts here...
1255 (prolog-build-prolog-command): ...do it here instead.
1256 (prolog-old-process-region, prolog-old-process-file):
1257 Use compilation-fake-loc and compilation-forget-errors.
1258 (prolog-consult-compile-region): Use bolp.
1260 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1262 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1264 2011-01-27 Sam Steingold <sds@gnu.org>
1266 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1267 Remove "*server*" which is never created by emacs server.
1269 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1271 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1272 there are some diff switches.
1274 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1276 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1277 Copy change made to ruby-font-lock-syntactic-keywords.
1279 * htmlfontify.el: Make it obey the font-lock-face text property.
1280 Miscellaneous cleanup such as:
1281 - Don't hide expressions after a closing paren.
1282 - Move initial setq into let.
1283 - Hoist common parts out of ifs.
1284 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1285 (hfy-face-at): Use get-text-property instead.
1286 (hfy-prop-invisible-p): Use invisible-p if available.
1287 (htmlfontify-manual): Use \\[...].
1288 (hfy-html-quote-regex): Use [...].
1289 (hfy-combined-face-spec): Simplify.
1290 (hfy-compile-face-map): Don't presume point-min==1.
1291 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1292 match end of string.
1293 (hfy-text-p): η-reduce.
1294 (hfy-tags-for-file): Receive cache-hash directly.
1295 (hfy-mark-tag-names): Adjust call.
1297 2011-01-27 Glenn Morris <rgm@gnu.org>
1299 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1300 (msb-after-load-hook): Remove eval-after-load wackiness.
1302 2011-01-25 Sam Steingold <sds@gnu.org>
1304 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1305 literal "diff" (important for windows-nt).
1307 2011-01-25 Glenn Morris <rgm@gnu.org>
1309 * emacs-lisp/copyright.el (copyright-at-end-flag)
1310 (copyright-names-regexp): Add safety properties.
1311 (copyright-year-ranges): New option.
1312 (copyright-find-end): New function, split from copyright-update-year.
1313 (copyright-update-year): Use copyright-find-end.
1314 (copyright-fix-years): Optionally, convert years to ranges.
1315 Handle years continued over comment lines.
1316 Do not mess with the fill-prefix.
1317 Do not call copyright-update.
1318 (copyright-update-directory): Optionally, fix years rather than update.
1319 Skip directories. Find files with only safe local vars.
1321 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1323 * files.el (file-name-non-special): Only change buffer-file-name after
1324 insert-file-contents if it's `visit'ing the file (bug#7854).
1326 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1328 * dired.el (dired-revert): Doc fix (Bug#7758).
1330 * simple.el (line-move-visual): Doc fix (Bug#7594).
1332 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1334 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1335 here-doc which ends with an underscore.
1336 (ruby-mode-set-encoding): Skip shebang line always.
1337 (ruby-mode-map): Bind C-c C-c to comment-region.
1338 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1339 (ruby-forward-sexp): Stop after literal hash key labels.
1340 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1343 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1345 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1346 the correct buffer (Bug#7650).
1348 2011-01-25 Glenn Morris <rgm@gnu.org>
1350 * comint.el (comint-mode): Doc fix. (Bug#7897)
1352 * simple.el (do-auto-fill): Give it a doc string.
1354 * button.el (make-text-button): Doc fix. (See bug#7881)
1356 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1358 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1359 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1361 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1362 Handle ?" and friends differently (e.g. don't use backrefs).
1364 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1366 * calc/calc.el (calc-default-power-reference-level)
1367 (calc-default-field-reference-level): New variables.
1368 * calc/calc-units.el (math-standard-units): Add dB and Np.
1369 (math-logunits): New variable.
1370 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1371 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1372 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1374 (math-find-base-units-rec): Add entry for ln(10).
1375 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1376 (calc-ul-prefix-help): New function.
1377 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1378 functions. Add keybindings for new units functions.
1380 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1382 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1383 rcirc buffers. (Bug#4940)
1385 2011-01-22 Glenn Morris <rgm@gnu.org>
1387 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1388 split out from copyright-update-year.
1389 (copyright-update): Don't mess with the GPL version if we don't own the
1390 copyright. Update license regexp, and remove no longer needed
1392 (copyright-fix-years): Use copyright-find-copyright.
1394 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1396 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1398 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1400 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1401 (lm): Rename to landmark.
1402 (lm-test-run): Rename to landmark-test-run.
1404 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1406 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1407 "Case sensitive" menu item.
1409 2011-01-22 Roland McGrath <roland@frob.com>
1411 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1412 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1414 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1416 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1418 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1420 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1421 Assume foo(bar) is a manpage reference rather than some unquoted
1424 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1426 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1427 Suggested by Flo <sensorflo@gmail.com>.
1429 2011-01-22 Glenn Morris <rgm@gnu.org>
1431 * progmodes/compile.el (compilation-error-regexp-alist):
1432 Fix custom type. (Bug#7812)
1434 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
1436 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1437 allout-number-siblings, in keeping with what obtained due to
1438 (now-defunct) allout-keybindings-list. Ditch repeat binding to
1440 (allout-before-change-handler): Better expose spots affected by
1443 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1445 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1447 2011-01-22 Phil Hagelberg <phil@evri.com>
1449 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1450 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1451 (pcmpl-ssh-config-hosts): New function.
1452 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1453 pcmpl-ssh-known-hosts.
1455 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1457 * calc/calc-undo.el (calc-undo): Autoload it.
1458 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1459 and autoload for `calc-undo'.
1460 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1461 * calc/calc-prog.el:
1462 * calc/calc-graph.el:
1463 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1465 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
1467 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1468 keybindings to `calc-undo'.
1470 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1472 Don't mess with *temp*.
1473 * obsolete/spell.el: Move from textmodes/spell.el.
1475 * term.el (term-read-input-ring):
1476 * startup.el (display-startup-echo-area-message):
1477 * progmodes/antlr-mode.el (antlr-directory-dependencies):
1478 * comint.el (comint-read-input-ring): Use with-temp-buffer.
1479 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1482 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
1484 * allout.el (allout-institute-keymap): Use fset instead of
1485 reapplying defalias.
1487 (allout-hotspot-key-handler): Check for non-control-modified
1488 bindings for hotspot characters if there are no control-modified
1491 * allout.el: Summary - migrate to defining allout mode using
1492 define-minor-mode instead of defun. Significantly clean-up
1493 internal keymap provisions, refactoring and, in the process,
1494 removing a lot of accumulated cruft.
1496 allout-mode-map is now a keymap by virtue of being a defalias to
1497 allout-mode-map-value, which contains the actual keymap structure.
1499 (allout-mode): Use define-minor-mode rather than defun.
1500 Remove now-unnecessary minor-mode setup activities from the body.
1501 Specify :keymap as allout-mode-map so the minor-mode-map-alist
1502 entry will be '(allout-mode . allout-mode-map) - see
1503 allout-mode-map-value, below. Adjust docstring to track changes.
1504 (allout-minor-mode): Remove this defalias, now that we're using
1506 (allout-mode-map): Set value to be 'allout-mode-map. The actual
1507 keymap is allout-mode-map-value, via defalias.
1508 (allout-mode-map-value): The variable holding the actual mode
1509 keymap structure, by virtue of defalias from allout-mode-map.
1510 (allout-compose-and-institute-keymap): Rename from
1511 allout-bind-keys, and including the binding-composition
1512 functionality of the former produce-allout-mode-map and
1513 allout-setup-mode-map.
1514 (allout-institute-keymap): Take over the "setup" part of the former
1515 allout-setup-mode-map. Reassign allout-mode-map-value value and
1516 update the defalias.
1517 (allout-command-prefix) (allout-prefixed-keybindings)
1518 (allout-unprefixed-keybindings):
1519 Use allout-compose-and-institute-keymap to process the bindings.
1520 (allout-unprefixed-keybindings): Remove extraneous '?' question
1522 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1523 user can customize if they want to use that binding.
1524 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1525 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
1526 elided that, previously, instead of the one for \C-h.)
1527 (allout-hotspot-key-handler): Remove attempt to resolve the key
1528 through the literal key-string lookup on allout-keybindings-list.
1529 That probably hasn't worked for a Long Time, and removal of
1530 allout-keybindings-list further simplifies the keybindings
1532 (allout-pre-command-business): Use allout-mode-map-value instead
1534 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1535 the bindings if they want to use a keybinding having a trailing
1536 \C-h. No deprecation needed since this feature was never in a
1538 (allout-keybindings-list): Remove. It's not been useful for a
1539 while. (See allout-hotspot-key-handler changes, above.)
1540 (produce-allout-mode-map): Remove. Consolidate into
1541 allout-compose-and-institute-keymap.
1542 (allout-mode-map-adjustments): Remove. No longer necessary with
1543 removal of allout-preempt-trailing-ctrl-h.
1544 (allout-setup-mode-map): Remove. Consolidate into
1545 allout-compose-and-institute-keymap and allout-institute-keymap.
1547 2011-01-20 Glenn Morris <rgm@gnu.org>
1549 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1551 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1553 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1555 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1557 * files.el (find-alternate-file, basic-save-buffer)
1558 (basic-save-buffer-2, revert-buffer, recover-file)
1559 (kill-buffer-ask, abort-if-file-too-large)
1560 (set-visited-file-name, write-file, backup-buffer)
1561 (basic-save-buffer, save-some-buffers):
1562 * dired-aux.el (dired-compress-file): Callers changed.
1564 2011-01-19 Glenn Morris <rgm@gnu.org>
1566 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1567 Also check the property status. (Bug#7861)
1569 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1571 * net/tramp.el (tramp-debug-message): Extend function exclude
1572 list. Use `regexp-opt'.
1574 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1576 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1577 highlighting doesn't spill over subsequent lines.
1579 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1580 keymap expression. Improve docstring.
1582 * electric.el (electric-indent-post-self-insert-function):
1583 Don't auto-indent for indent-to-left-margin, it's too often
1586 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1588 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1589 spaces if the frame was resized, so that the full visible buffer
1590 serves as canvas for strokes.
1592 2011-01-16 Glenn Morris <rgm@gnu.org>
1594 * info-xref.el (info-xref-docstrings): Replace cl function.
1595 Also skip directories.
1597 2011-01-16 Kevin Ryde <user42@zip.com.au>
1599 * info-xref.el: Version 3.
1600 (info-xref-check, info-xref-check-all): Move commentary details
1601 into docstrings for better visibility.
1602 Use compilation-mode for the results buffer.
1603 (info-xref-output, info-xref-output-error, info-xref-with-output)
1604 (info-xref-filename, info-xref-in-progress):
1605 New internals for this.
1606 (info-xref-check-list, info-xref-check-buffer)
1607 (info-xref-check-all-custom): Use those.
1608 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1609 (info-xref-output-heading): Rename from info-xref-filename-heading.
1610 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1611 (info-xref-filename-heading): Move to output managing section.
1612 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1613 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1614 (info-xref-subfile-p): Move to generic section with those two.
1615 (info-xref-check-node): New function split from
1616 info-xref-check-buffer, shared by info-xref-docstrings.
1617 (info-xref-goto-node-p): Move to a checking section with that func.
1618 (info-xref-unavail): New counter.
1619 (info-xref-check-node): Use it.
1620 (info-xref-with-output): Show count of unavailables at end of output.
1621 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1622 symlinks. Exclude .texi files. Exclude Emacs backup files.
1623 (info-xref-check-all-custom): Fix quietening viper-mode and
1624 gnus-registry-install -- use setq not let so as not to unbind
1627 2011-01-16 Juri Linkov <juri@jurta.org>
1629 * isearch.el (isearch-abort): Don't quit if search has
1630 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1632 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1634 * files.el (backup-buffer): Make last-resort backup file in
1635 .emacs.d (Bug#6953).
1637 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1638 make it with permission 700.
1640 2011-01-15 Kenichi Handa <handa@m17n.org>
1642 * mail/rmailmm.el (rmail-mime-insert-header):
1643 Set rmail-mime-coding-system to a cons whose car is the last coding
1644 system used to decode the header.
1645 (rmail-mime-find-header-encoding): New function.
1646 (rmail-mime-insert-decoded-text):
1647 Override rmail-mime-coding-system if it is a cons.
1648 (rmail-show-mime): If only a header part was decoded, find the
1649 coding system while ignoring mm-charset-override-alist.
1651 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1653 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1655 2011-01-15 Kenichi Handa <handa@m17n.org>
1657 * mail/rmailmm.el (rmail-mime-next-item)
1658 (rmail-mime-previous-item): Delete them.
1659 (rmail-mime-shown-mode): Recursively call for children.
1660 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1662 (rmail-mime-raw-mode): Recursively call for children.
1663 (rmail-mode-map): Change mapping of tab and backtab to
1664 forward-button and backward-button respectively.
1665 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1667 (rmail-mime-update-tagline): New function.
1668 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1669 body display is changed.
1670 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1671 (rmail-mime-image): Delete this button type.
1672 (rmail-mime-toggle): New button type.
1673 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1674 body display is changed. Change the save button label to "Save".
1675 Don't process show/hide button here.
1676 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1677 the body display is changed. Unconditionally call
1678 rmail-mime-insert for children.
1679 (rmail-mime-handle): Update `display' vector of the just inserted
1681 (rmail-mime-process): If mail-header-parse-content-type returns
1682 nil, use "text/plain" as the fallback type.
1683 (rmail-mime-insert): For raw-mode, recursively call
1684 rmail-mim-insert for children.
1685 (rmail-mime): Handle the case that the current buffer is not rmail
1686 buffer (e.g. in summary buffer).
1688 2011-01-15 Kenichi Handa <handa@m17n.org>
1690 * mail/rmailmm.el (rmail-mime-next-item)
1691 (rmail-mime-previous-item): Skip the body of a non-multipart
1692 entity if a tagline is shown.
1694 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1696 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1697 (tmm-prompt): Simplify.
1698 (tmm-add-prompt): Remove unused var `win'.
1700 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1701 to minor mode which used nil accidentally to mean "turn off".
1703 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1705 * net/tramp-sh.el (tramp-find-inline-compress)
1706 (tramp-get-inline-coding): Quote command after pipe symbol for
1707 local calls under W32. (Bug#6784)
1709 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1711 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1712 only when running under W32.
1714 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1716 * progmodes/grep.el (grep-compute-defaults): Quote the program
1717 file name after the pipe symbol in Grep templates. (Bug#6784)
1718 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1720 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1722 * buff-menu.el (Buffer-menu-buffer-list): New var.
1723 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1724 restricted buffer list is not lost on revert (Bug#7749).
1726 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1728 * net/ldap.el (ldap-search-internal): Discard stderr output.
1730 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1732 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1734 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1736 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1738 2011-01-15 Kenichi Handa <handa@m17n.org>
1740 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1741 part as a plain text.
1742 (rmail-mime-process-multipart): Set the default content-type to
1743 nil for unknown multipart subtypes (bug#7651).
1745 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1747 * hexl.el (hexl-mode-old-*): Remove.
1748 (hexl-mode--old-var-vals): New var to replace them.
1749 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1750 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1751 Use them to set local vars (bug#7846).
1752 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1753 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1754 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1756 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1757 (smerge-resolve--normalize-re): New var.
1758 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1759 (smerge-resolve): Use them.
1760 * newcomment.el (comment-only-p): New function.
1761 (comment-or-uncomment-region): Use it.
1763 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1765 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1766 table, get the value before switching to the output buffer. (Bug#7733)
1768 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1770 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1772 2011-01-14 Kim F. Storm <storm@cua.dk>
1774 * emulation/cua-base.el (cua--init-keymaps):
1775 Remap exchange-point-and-mark in cua-global-keymap.
1777 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1779 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1782 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1784 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1786 (easy-menu-create-menu, easy-menu-convert-item-1):
1787 Use :label rather than nil for labels. Use `case'.
1788 Add :enable as alias for :active.
1789 (easy-menu-binding): Obey :label.
1791 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1793 Use run-mode-hooks for major mode hooks (bug#513).
1794 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1795 Rename from reftex-toc-map.
1796 (reftex-toc-mode): Use define-derived-mode.
1797 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1798 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1799 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1800 (reftex-select-label-mode, reftex-select-bib-mode):
1801 Use define-derived-mode.
1802 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1803 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1804 Move init into delcaration.
1805 (reftex-index-mode, reftex-index-phrases-mode):
1806 Use define-derived-mode.
1807 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1808 speedbar-syntax-table. Move init into declaration.
1809 (speedbar-mode-map): Rename from speedbar-key-map.
1810 Move init into declaration.
1811 (speedbar-file-key-map): Move init into declaration.
1812 (speedbar-mode): Use define-derived-mode.
1813 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1814 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1815 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1816 (chart-face-list): Move initialization into declaration.
1817 (chart-mode): Use define-derived-mode.
1818 * calculator.el (calculator-mode-map): Move init into declaration.
1819 (calculator-mode): Use define-derived-mode.
1821 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1822 work for nested comments.
1824 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1825 (prolog-use-prolog-tokenizer-flag): Change default when
1826 syntax-propertize can be used.
1827 (prolog-syntax-propertize-function): New var.
1828 (prolog-mode-variables): Move make-local-variable into `set'.
1829 Don't make comment-column local since we don't set it.
1830 Set comment-add (as it was in previous prolog.el). Use dolist.
1831 Set syntax-propertize-function.
1832 (prolog-mode, prolog-inferior-mode):
1833 Call prolog(-inferior)-menu directly, not through the mode-hook.
1834 (prolog-buffer-module, prolog-indent-level)
1835 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1836 (prolog-comment-limits, prolog-goto-comment-column):
1837 Use line-(end|beginning)-position.
1838 (prolog-build-prolog-command): Tighten up regexp.
1839 (prolog-consult-compile): Move make-local-variable into `set'.
1840 (prolog-consult-compile-filter, prolog-goto-next-paren)
1841 (prolog-help-on-predicate, prolog-clause-info)
1842 (prolog-mark-predicate): Don't let+setq.
1843 (prolog-indent-line): Use indent-line-to.
1844 Only call prolog-goto-comment-column if necessary.
1845 (prolog-indent-level): Use bobp.
1846 (prolog-first-pos-on-line): Remove, not used any more.
1847 (prolog-in-string-or-comment): Use syntax-ppss if available.
1848 (prolog-help-on-predicate): Use read-string.
1849 (prolog-goto-predicate-info): Simplify.
1850 (prolog-read-predicate): Use `default' rather than `initial'.
1851 (prolog-temporary-file): Use make-temp-file to close a security hole.
1852 (prolog-toggle-sicstus-sd): New command.
1853 (prolog-electric-underscore, prolog-variables-to-anonymous):
1854 Use dynamic-scoping as it was meant.
1855 (prolog-menu): Move menu definitions to top-level.
1856 Use a toggle-button for Sicstus's source debugger.
1857 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1859 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1860 Move other menu definition to top-level.
1862 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1864 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1865 name. Keep original document's directory as default-directory
1867 (doc-view-initiate-display): Fall back to normal mode when
1868 doc-view-mode cannot be enabled, also when extracting the document
1869 text into a separate buffer (bug#6446).
1871 * simple.el (shell-command): Don't error out if shell command
1872 buffer contains text with non-nil read-only property when erasing
1875 2011-01-13 Kim F. Storm <storm@cua.dk>
1877 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1878 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1879 items when cycling through the matches.
1881 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1883 * dired-x.el (dired-omit-verbose): New defcustom that allows
1884 disabling the omit messages.
1885 (dired-omit-expunge): Use it.
1887 2011-01-13 Christian Ohler <ohler@gnu.org>
1889 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1891 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1893 * font-lock.el (font-lock-verbose): Default to nil.
1895 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1897 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1898 (compose-mail): New arg RETURN-ACTION.
1899 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1901 * mail/sendmail.el (mail-return-action): New var.
1902 (mail-mode): Make it buffer-local.
1903 (mail-bury): Obey it. Move special Rmail window handling to
1905 (mail, mail-setup): New arg RETURN-ACTION.
1906 (sendmail-user-agent-compose): Move from simple.el.
1908 * mail/rmail.el (rmail-mail-return): New function.
1909 (rmail-start-mail): Pass it to compose-mail.
1911 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1913 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1914 menus. Add menu item for customize-themes.
1916 * cus-theme.el (customize-themes):
1917 * emacs-lisp/package.el (package--list-packages):
1918 Use switch-to-buffer.
1920 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1922 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1924 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1926 * progmodes/prolog.el: Fix up coding convention and such.
1927 (prolog-indent-width): Use the same default as in
1928 previous prolog.el rather than tab-width which depends on which buffer
1929 is current when the file is loaded.
1930 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1932 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1933 (prolog-known-systems): Remove.
1934 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1935 Move initialization into declaration.
1936 (prolog-mode-map): Move initialization into declaration.
1937 Remove system-specific mode-map vars, since they referred to the same
1939 (prolog-mode-variables): Obey the user's preference w.r.t
1940 adaptive-fill-mode. Prefer symbol-value to `eval'.
1941 (prolog-mode-keybindings-edit): Add compatibility bindings.
1942 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1943 (mercury-mode-map): New var.
1944 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1945 (prolog-ensure-process, prolog-process-insert-string)
1946 (prolog-consult-compile): Use with-current-buffer.
1947 (prolog-guess-fill-prefix): Simplify data flow.
1948 (prolog-replace-in-string): New function to use instead of
1950 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1951 (prolog-uncomment-region): Use `uncomment-region' when available.
1952 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1953 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1954 of int-to-char and char-to-int.
1955 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1957 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1959 * progmodes/prolog.el: Replace by a whole new file.
1961 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1963 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1964 (declare-function, undefined, insert-for-yank)
1965 (replace-regexp-in-string): Follow checkdoc's recommendations.
1967 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1969 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1970 refreshing the diary buffer.
1972 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1974 * allout.el: Add 2011 to the file copyright.
1975 (allout-encrypt-string): Prevent encryption from adding an extra
1976 newline at the end of the topic body.
1977 (allout-version): Increment to 2.3.
1979 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1981 * net/dbus.el (dbus-unregister-service): Complete doc.
1982 Fix call of dbus-error signal.
1983 (dbus-register-property): Use `dont-register' keyword.
1985 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1987 * net/dbus.el (dbus-unregister-service): Translate returned
1988 integer into a symbol.
1989 (dbus-register-property): Use `dbus-register-service' to do the
1992 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1994 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1995 Suggested by Joakim Verona.
1997 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1999 * wid-edit.el (visibility): Replace :on-image and :off-image
2000 widget properties with :on-glyph and :off-glyph, for consistency
2001 with the `visibility' widget.
2002 (widget-toggle-value-create, widget-visibility-value-create):
2003 Merge into a single function `widget-toggle-value-create'.
2005 * cus-edit.el (custom-variable-value-create, custom-visibility)
2006 (custom-face-edit-value-create, custom-face-value-create):
2007 Replace :on-image and :off-image widget properties with :on-glyph and
2008 :off-glyph, for consistency with the `visibility' widget.
2010 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2012 * net/ldap.el (ldap-search-internal): Don't use eval.
2014 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2016 * subr.el (read-char-choice): Use read-key.
2018 * custom.el (custom-safe-themes): Rename from
2019 custom-safe-theme-files. Add :risky tag.
2020 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2021 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2023 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2025 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2026 from Search and add a label to Undo.
2028 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2029 inappropriate buttons and adding :vert-only tags.
2031 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2032 removal of Help tool-bar button. Remove Undo button for space.
2034 * info.el (info-tool-bar-map): Add :vert-only tags.
2036 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2038 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2039 image backend support. Either of them is fine.
2041 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2043 * subr.el (y-or-n-p): Doc fix.
2045 * custom.el (custom-safe-theme-files): New defcustom.
2046 (custom-theme-load-confirm): New function.
2047 (load-theme): Load theme using `load', confirming with
2048 custom-theme-load-confirm if necessary.
2050 * subr.el (read-char-choice): New function, factored out from
2051 dired-query and hack-local-variables-confirm.
2053 * dired-aux.el (dired-query):
2054 * files.el (hack-local-variables-confirm): Use it.
2056 * dired-aux.el (dired-compress-file):
2057 * files.el (abort-if-file-too-large, find-alternate-file)
2058 (set-visited-file-name, write-file, backup-buffer)
2059 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2060 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2061 Use new format string args for y-or-n-p and yes-or-no-p.
2063 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2065 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2066 [gcc-include]: Tighten file name match, add match for column
2068 [gnu]: Remove unused group.
2070 2011-01-08 Glenn Morris <rgm@gnu.org>
2072 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2074 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2076 2011-01-07 Sam Steingold <sds@gnu.org>
2078 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2079 the `explicit-shell-file-name' because that is the
2080 non-interactive shell.
2082 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2084 * subr.el (y-or-n-p): Accept format string args.
2086 2011-01-07 Glenn Morris <rgm@gnu.org>
2088 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2090 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2092 * allout.el (allout-back-to-current-heading): Ensure return to
2093 the visible containing topic, rather than a collapsed one.
2094 (allout-view-change-hook): Remove hook that was deprecated long ago.
2095 (allout-exposure-change-hook): Remove documentation remarks
2096 concerning removed allout-view-change-hook.
2097 (allout-flag-region): Remove invocation of and documentation
2098 remarks concerning allout-view-change-hook.
2100 2011-01-06 Glenn Morris <rgm@gnu.org>
2102 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2103 (vc-bzr-annotate-extract-revision-at-line):
2104 Handle authors with embedded spaces. (Bug#7792)
2106 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2108 * doc-view.el (doc-view-image-width): New variable.
2109 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2110 backend for PNG images, and do dynamic rescaling instead of
2111 reconverting the whole doc.
2113 2011-01-05 Glenn Morris <rgm@gnu.org>
2115 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2117 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2119 * allout.el: Reconcile with changes in line movement behavior for
2120 long text lines that cross more than a single physical window
2121 line, ie when truncate-lines is nil.
2122 (allout-next-visible-heading): Provide for change in line-move
2123 behavior on long lines when truncate-lines is nil. In that case,
2124 line-move can wind up on the same textual line when it moves to
2125 the next window line, and moving to the bullet position after the
2126 move yields zero advancement. Add logic to detect and compensate
2127 for the lack of progress.
2128 (allout-current-topic-collapsed-p): move-end-of-line respect for
2129 field boundaries is different when operating with body lines
2130 shorter than window width versus ones greater than window width,
2131 which can yield false negatives in this function. Avoid
2132 difference by applying move-end-of-line while field-text-motion is
2135 2011-01-04 Glenn Morris <rgm@gnu.org>
2137 * textmodes/rst.el (rst-compile-toolsets):
2138 Add pdf and s5 to option alist.
2140 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2142 * net/dbus.el (dbus-register-property): Add optional parameter
2143 dont-register-service. Updated docstring accordingly.
2145 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2147 * textmodes/rst.el (rst-compile-pdf-preview)
2148 (rst-compile-slides-preview): Remove extra line.
2150 2011-01-04 Glenn Morris <rgm@gnu.org>
2152 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2153 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2154 default to `prog' without a .py extension.
2155 (rst-compile-pdf-preview, rst-compile-slides-preview):
2156 Use program names from rst-compile-toolsets, rather than hard-coding.
2157 (rst-portable-mark-active-p): Fix presumed typo.
2159 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2161 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2162 libpng versions both before and after 1.4.0. (Bug#7716)
2164 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2166 * time.el (display-time-mode): Mention display-time-interval in
2167 the doc string. (Bug#7713)
2169 2011-01-02 Kenichi Handa <handa@m17n.org>
2171 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2172 condition-case and return an error message string if something
2174 (rmail-show-mime): Adjust for the above change. Insert the
2175 header by rmail-mime-insert-header.
2177 2011-01-02 Kenichi Handa <handa@m17n.org>
2179 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2180 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2181 (rmail-mime-mbox-buffer)
2182 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2183 (rmail-mime-entity): Argument changed. All codes handling an
2184 entity object are changed.
2185 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2187 (rmail-mime-entity-children, rmail-mime-entity-handler)
2188 (rmail-mime-entity-tagline): New functions.
2189 (rmail-mime-message-p): New function.
2190 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2191 (rmail-mime-entity-segment, rmail-mime-next-item)
2192 (rmail-mime-previous-item, rmail-mime-shown-mode)
2193 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2194 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2195 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2197 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2198 (rmail-mime-insert-decoded-text): New function.
2199 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2200 (rmail-mime-insert-image): Argument changed. Caller changed.
2201 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2202 (rmail-mime-set-bulk-data): New function.
2203 (rmail-mime-insert-bulk): Argument changed.
2204 (rmail-mime-multipart-handler): Return t.
2205 (rmail-mime-process-multipart): Argument changed.
2206 Handle "multipart/alternative" here.
2207 (rmail-mime-process): Argument changed.
2208 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2209 (rmail-mime-insert): Argument changed. Handle raw display mode.
2210 (rmail-mime): Argument changed. Handle toggling of raw display
2212 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2213 rmail-mime-view-buffer.
2214 (rmail-insert-mime-forwarded-message): Likewise.
2215 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2217 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2218 non-nil, handle the header in rmail-show-mime-function.
2220 2011-01-02 Leo <sdl.web@gmail.com>
2222 * help-fns.el (describe-variable): Fix previous change.
2224 2011-01-02 Juri Linkov <juri@jurta.org>
2226 * isearch.el (isearch-lazy-highlight-error): New variable.
2227 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2228 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2229 to the current value of `isearch-error' (Bug#7468).
2231 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2233 * help-fns.el (describe-variable): Don't emit trailing whitespace
2236 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2238 * textmodes/rst.el (rst-compile-pdf-preview)
2239 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2241 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2243 * emulation/edt-mapper.el: Override mapping of function keys so
2244 that the later call to read-key-sequence works.
2246 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2248 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2249 Unix EOLs. (Bug#7589)
2251 2011-01-02 Leo <sdl.web@gmail.com>
2253 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2254 if point is not behind eshell-last-output-end (Bug#7585).
2256 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2258 * files.el (file-local-variables-alist):
2259 Make permanent-local (bug#7767).
2261 2011-01-02 Glenn Morris <rgm@gnu.org>
2263 * version.el (emacs-copyright): Set short copyright year to 2011.
2265 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2267 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2268 an existing temp buffer. (Bug#7746)
2270 2011-01-02 Glenn Morris <rgm@gnu.org>
2272 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2273 multiple addresses. (Bug#7760)
2275 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2277 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2278 do-auto-fill if everything points back to allout-auto-fill.
2279 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2280 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2282 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2284 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2287 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2289 * doc-view.el (doc-view-set-doc-type): New function refactored
2291 (doc-view-fallback-mode): New function.
2292 (doc-view-mode): Use it.
2293 (doc-view-mode-maybe): New function that checks if doc-view-mode
2294 can be used and falls back to the next best mode otherwise.
2296 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2297 DVI, OpenDocument, and MS Office files.
2299 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2301 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2303 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2305 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2306 on a copy of auto-mode-alist, because that deletes with side
2309 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2311 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2312 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2313 fallback instead of hard coding fundamental mode.
2315 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2317 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2318 Office) files also for searching.
2320 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2322 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2323 Office) files. Not yet enabled via auto-mode-list.
2324 (doc-view-unoconv-program): New custom variable.
2325 (doc-view-mode-p): Handle new odf document type.
2326 (doc-view-odf->pdf): New conversion function.
2327 (doc-view-convert-current-doc): Call it for odf files.
2328 (doc-view-mode): Recognize newly supported file extensions.
2330 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2332 * net/tramp.el (tramp-default-method-alist)
2333 (tramp-default-user-alist)
2334 (tramp-local-host-regexp, tramp-prefix-domain-format)
2335 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2338 * net/tramp-gvfs.el:
2340 * net/tramp-imap.el:
2342 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2343 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2345 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2347 * saveplace.el (save-place-alist-to-file): Save list sorted and
2348 pretty-printed, so that it is mergeable by line-based text merging,
2349 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2351 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2353 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2354 (allout-mode): Argument "toggle" => "force".
2355 Refine the docstring.
2356 Remove special provisions for reactivation, besides the 'force'
2358 Consolidate layout provisions coce directly into the activation
2359 condition branch, now that we've removed those provisions.
2360 (allout-unload-function): Explicitly activate the mode before
2361 deactivating, if it's initially deactivated.
2362 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2363 warnings for version of function used only where
2364 set-buffer-multibyte is unavailable.
2366 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2368 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2369 are handled by the menu-bar entries. As before, don't use
2370 :visibile to avoid changing the tool-bar.
2372 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2374 * net/secrets.el (secrets-delete-alias): New defun.
2376 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2378 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2379 methods, otherwise ~/.ssh/config would be ignored.
2381 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2383 * emacs-lisp/rx.el: Make it a superset of sregex.
2384 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2385 of args, add `regex' alias.
2386 (rx-info): Add arg to distinguish head and standalone forms.
2387 (rx-check, rx-form): Pass the corresponding arg.
2389 (rx-repeat): Make it work for any number of args.
2390 (rx-syntax): Make it accept syntax chars as is.
2391 * obsolete/sregex.el: Move from emacs-lisp/.
2392 * emacs-lisp/re-builder.el: Remove sregex support.
2393 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2395 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2397 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2398 PRIMARY first, then the clipboard. (Bug#7699)
2400 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2402 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2405 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2407 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2408 .emacs.elc (Bug#7530).
2410 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2411 image spec (Bug#7480).
2413 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2415 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2416 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2419 2010-12-20 Leo <sdl.web@gmail.com>
2421 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2422 always be performed (Bug#7680).
2424 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2426 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2427 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
2430 * color.el: Move from gnus/.
2432 * vc/diff.el (diff-better-file-name): Function deleted.
2433 abbreviating file names causes problems with shell-quote-argument.
2434 (diff-no-select): Just use expand-file-name.
2436 * tool-bar.el (tool-bar--image-expression): New function.
2437 (tool-bar-local-item, tool-bar--image-exp): Use it.
2438 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2439 Use :enable instead of :visible to avoid changing the tool-bar
2440 configuration unnecessarily.
2442 * info.el (info-tool-bar-map): Add separators.
2444 2010-12-17 Ken Brown <kbrown@cornell.edu>
2446 * loadup.el: Use version numbers in Cygwin build.
2448 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
2450 * ido.el (ido-file-internal): Ask for confirmation before
2451 overwriting an existing file (Bug#1238).
2453 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
2455 * tool-bar.el (tool-bar-setup): Add separators.
2457 * menu-bar.el (featurep): Use menu-bar-separator.
2459 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
2461 Migrate allout encryption provisions from pgg to epg.
2463 * allout.el (allout-toggle-current-subtree-encryption)
2464 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2465 defaulting policy and other changes. Change fetch-pass to keymode-cue,
2466 for simpler universal argument interpretation.
2467 (allout-toggle-subtree-encryption): Adjust docstring to describe
2468 changed encryption provisions. Change fetch-pass to keymode-cue, for
2469 simpler universal argument interpretation. Remove provisions for
2470 handling key type and identity - they'll all be within
2471 allout-encrypt-string or epg/epg or even contained all the way in gpg.
2472 (allout-encrypt-string): Include keymode-cue, for optionally prompting
2473 for keypair recipients (universal argument > 1) and, in addition,
2474 associating the specified recipients with the outline (universal
2475 argument > 4) using a file local variable setting for
2476 'epa-file-encrypt-to'.
2477 Require epa, for recipients handling.
2478 Change how regexp filtering elements are named.
2479 Describe the problem with caching of incorrect symmetric-decryption
2481 Use the epa-passphrase-callback-function, in case the user is using
2483 Support saving of the selected keypair recipients when invoked with a
2485 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2487 Establish epg-context with armoring and default epg-protocol.
2488 Remove all passphrase cache, verification, and hinting code.
2489 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2490 No longer used, delete.
2491 (allout-mode): Adjust docstring to describe changed encryption
2492 provisions. Describe the problem with caching of incorrect
2493 symmetric-decryption keys.
2494 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2495 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2496 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2497 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2500 2010-12-16 Daiki Ueno <ueno@unixuser.org>
2502 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2503 key selection prompt; make 'silent as default (Bug#7487).
2505 2010-12-16 Leo <sdl.web@gmail.com>
2507 * eshell/eshell.el (eshell-directory-name):
2508 Use locate-user-emacs-file (Bug#7578).
2510 2010-12-15 Glenn Morris <rgm@gnu.org>
2512 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2514 2010-12-15 Jari Aalto <jari.aalto@cante.net>
2515 Scott Evans <gse@antisleep.com>
2517 * rect.el (rectange--default-line-number-format)
2518 (rectangle-number-line-callback): New functions.
2519 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2521 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
2523 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2524 Delete unused variables.
2525 (move-to-column-force): Remove function obsolete since 21.2.
2527 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
2529 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2530 (tramp-handle-insert-file-contents): Do not set permanent-local
2533 * net/tramp-cache.el (tramp-persistency-file-name):
2534 Use `locate-user-emacs-file' if fboundp.
2536 * net/tramp-sh.el (tramp-methods): Add "ksu".
2537 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2540 2010-12-14 Glenn Morris <rgm@gnu.org>
2542 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2543 (find-tag-marker-ring): Declare.
2544 (js-find-symbol): Require etags.
2546 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2548 (mail-alias-file): Don't autoload. Doc fix.
2549 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2550 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2551 Mark as obsolete, and risky.
2552 (mail-setup): Simplify.
2554 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2555 * mail/sendmail.el (build-mail-aliases): Update autoload.
2557 * dired.el (dired-trivial-filenames, dired-chown-program)
2558 (dired-auto-revert-buffer): Remove autoload cookies.
2559 * mail/sendmail.el (mail-recover-1): Require 'dired.
2561 * dired.el (dired-subdir-switches, dired-chown-program)
2562 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2563 Make into defcustoms.
2564 (dired-chown-program): Simplify initialization.
2566 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2568 2010-12-13 Romain Francoise <romain@orebokech.com>
2570 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2572 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2574 * net/netrc.el (netrc-point-at-eol): Remove the unused
2575 netrc-point-at-old and netrc-bound-and-true-p bindings.
2576 (netrc-parse): Cache the netrc contents.
2578 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2580 * subr.el (posn-col-row): Evaluate header-line-format in the
2581 context of the POSITION window's buffer.
2583 2010-12-13 Glenn Morris <rgm@gnu.org>
2585 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2586 (with-silent-modifications): Doc fixes.
2588 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2590 * net/tramp.el (tramp-action-password, tramp-process-actions):
2591 Revert previous from. Use `save-restriction'.
2593 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2595 * calendar/diary-lib.el (diary-list-sexp-entries):
2596 Handle case of no newline at end of file. (Bug#7536)
2598 2010-12-13 Glenn Morris <rgm@gnu.org>
2600 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2602 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2604 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2605 (tramp-process-actions): Do not widen.
2607 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2608 Protect buffer-modified value. (Bug#7557)
2610 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2612 * log-edit.el (log-edit-changelog-entries):
2613 Regexp quote filename. (Bug#7505)
2615 2010-12-13 Tom Breton <tehom@panix.com>
2617 * cus-edit.el (custom-save-all):
2618 Bind print-length and print-level to nil. (Bug#7581)
2620 2010-12-13 Glenn Morris <rgm@gnu.org>
2622 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2623 Run hooks to update menu contents. (Bug#7586)
2625 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2626 file names, for the sake of MS Windows. (Bug#7588)
2628 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2630 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2631 empty lines without a leading space.
2633 2010-12-13 Leo <sdl.web@gmail.com>
2635 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2636 while mapping over marks (Bug#6810).
2638 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2640 * image-dired.el (image-dired-db-file)
2641 (image-dired-temp-image-file, image-dired-gallery-dir)
2642 (image-dired-temp-rotate-image-file): Set default values relative
2643 to image-dired-dir (Bug#7518).
2645 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2647 * format.el (format-decode-run-method): Pass args FROM and TO, not
2648 point-min and point-max, to shell-command-on-region (Bug#7488).
2650 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2652 * frame.el (blink-cursor-mode): Make default t for ns.
2654 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2656 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2658 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2660 * comint.el (comint-dynamic-list-input-ring)
2661 (comint-dynamic-complete-filename)
2662 (comint-replace-by-expanded-filename)
2663 (comint-dynamic-simple-complete)
2664 (comint-dynamic-list-filename-completions)
2665 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2667 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2670 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2672 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2675 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2677 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2680 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2682 * files.el (file-relative-name): Handle UNC file names on
2683 DOS/Windows. (Bug#4674)
2685 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2687 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2688 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2689 (epg-context-set-passphrase-callback): Mention that the callback
2690 is not called when used with GnuPG 2.x.
2692 2010-12-13 Glenn Morris <rgm@gnu.org>
2694 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2695 Ensure ps-footer-font-size-internal is initialized.
2696 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2698 2010-12-13 Kenichi Handa <handa@m17n.org>
2700 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2701 within condition-case.
2702 (rmail-show-mime): Don't use condition-case.
2703 (rmail-search-mime-message): New function.
2704 (rmail-search-mime-message-function): Set to
2705 rmail-search-mime-message.
2707 2010-12-13 Leo <sdl.web@gmail.com>
2709 * ido.el (ido-common-initialization): New function. (bug#3274)
2711 (ido-completing-read): Call it.
2713 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2715 * bookmark.el (bookmark-name-from-full-record): Rename back to
2716 this original name from `bookmark-name-from-record' reverting part
2717 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2718 As Drew Adams pointed out, there was no reason to cause churn for
2719 third-party callers.
2721 2010-12-12 Alan Mackenzie <acm@muc.de>
2723 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2724 template arglist, check that the current language supports this.
2726 2010-12-11 Glenn Morris <rgm@gnu.org>
2728 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2729 state of the file matches. (Bug#7544)
2730 (vc-bzr-register, vc-bzr-checkin)
2731 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2732 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2734 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2736 2010-12-11 Karel Klíč <kklic@redhat.com>
2738 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2740 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2742 Derive from prog-mode, use derived-mode-p, and fix up various
2743 minor style issues in lisp/progmodes.
2745 * progmodes/vhdl-mode.el (vhdl-mode):
2746 * progmodes/verilog-mode.el (verilog-mode):
2747 * progmodes/vera-mode.el (vera-mode):
2748 * progmodes/sql.el (sql-mode):
2749 * progmodes/scheme.el (scheme-mode):
2750 * progmodes/perl-mode.el (perl-mode):
2751 * progmodes/octave-inf.el (inferior-octave-mode):
2752 * progmodes/autoconf.el (autoconf-mode):
2753 * progmodes/m4-mode.el (m4-mode):
2754 * progmodes/inf-lisp.el (inferior-lisp-mode):
2755 * progmodes/idlwave.el (idlwave-mode):
2756 * progmodes/icon.el (icon-mode):
2757 * progmodes/idlw-help.el (idlwave-help-mode):
2758 * progmodes/dcl-mode.el (dcl-mode):
2759 * progmodes/idlw-shell.el (idlwave-shell-mode):
2760 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2761 (ebrowse-member-mode, ebrowse-electric-position-mode):
2762 Use define-derived-mode.
2764 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2765 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2766 (xscheme-debugger-mode-p, xscheme-send-string-1):
2767 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2768 (tcl-load-file, tcl-restart-with-file):
2769 * progmodes/ps-mode.el (ps-run-running):
2770 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2771 * progmodes/js.el (js--get-all-known-symbols):
2772 * progmodes/inf-lisp.el (inferior-lisp-proc):
2773 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2774 (idlwave-template, idlwave-update-buffer-routine-info)
2775 (idlwave-update-current-buffer-info)
2776 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2777 (idlwave-scan-class-info, idlwave-fix-keywords)
2778 (idlwave-list-buffer-load-path-shadows):
2779 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2780 (idlwave-toolbar-remove):
2781 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2782 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2783 (idlwave-shell-menu-def):
2784 * progmodes/idlw-complete-structtag.el
2785 (idlwave-prepare-structure-tag-completion):
2786 * progmodes/gud.el (gud-set-buffer):
2787 * progmodes/f90.el (f90-backslash-not-special):
2788 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2790 * progmodes/xscheme.el (xscheme-start)
2791 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2792 * progmodes/which-func.el (which-function):
2793 * progmodes/vhdl-mode.el (vhdl-set-style):
2794 * progmodes/verilog-mode.el (verilog-set-compile-command)
2795 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2796 (verilog-set-define, verilog-auto-reeval-locals):
2797 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2798 * progmodes/simula.el (simula-mode):
2799 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2800 * progmodes/python.el (python-check, python-mode):
2801 * progmodes/prolog.el (prolog-mode-variables):
2802 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2803 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2804 * progmodes/delphi.el (delphi-mode):
2805 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2806 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2807 (c-font-lock-init): Move make-local-variable to their setq.
2809 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2810 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2812 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2813 (sh-set-shell): Don't set require-final-newline since it's already done
2815 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2816 since we never set it.
2817 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2818 Use read-string and standard prompt.
2819 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2820 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2821 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2822 (meta-common-mode-map): Rename from meta-mode-map.
2823 Remove C-m binding, which is a user preference, not mode specific.
2824 (meta-common-mode): New major mode; replace meta-common-initialization.
2825 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2826 around with font-lock.
2827 * progmodes/etags.el (select-tags-table-mode):
2828 Derive from special-mode.
2829 * progmodes/octave-mod.el (octave-mode):
2830 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2831 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2832 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2833 Let define-derived-mode do its job.
2834 * progmodes/cpp.el (cpp-edit-mode-map):
2835 Move initialization into declaration.
2836 (cpp-edit-mode): Use define-derived-mode.
2837 (cpp-edit-load): Use derived-mode-p.
2838 * progmodes/mixal-mode.el (mixal-mode):
2839 * progmodes/f90.el (f90-mode):
2840 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2841 require-final-newline since prog-mode does it already.
2842 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2843 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2844 * progmodes/antlr-mode.el: Require cc-mode upfront.
2845 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2847 (antlr-directory-dependencies, antlr-show-makefile-rules):
2849 (antlr-language-option): Don't assume point-min==1.
2850 (antlr-mode): Use define-derived-mode.
2851 * progmodes/ada-mode.el: Use derived-mode-p.
2852 (ada-mode): Use define-derived-mode.
2853 Use hack-local-variables-hook.
2855 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2857 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2858 (texinfo-mode): Don't disable adaptive-fill-mode.
2859 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2860 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2861 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2862 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2863 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2864 (texinfo-insert-@quotation, texinfo-insert-@samp)
2865 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2866 (texinfo-insert-@uref): Use define-skeleton.
2867 (texinfo-insert-@-with-arg): Delete.
2869 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2871 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2872 nil, do quote archive member names. (Bug#6144)
2874 2010-12-10 Glenn Morris <rgm@gnu.org>
2876 * files.el (diff-no-select): Declare.
2878 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2879 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2881 * comint.el (comint-input-ring-file-name): Doc fix.
2883 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2885 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2887 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2888 Use them instead of `nil' and `>', respectively.
2889 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2891 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2892 and menu-bar-positive-p instead of `nil' and `>', respectively.
2895 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2897 * whitespace.el (whitespace-newline-mode): Code fix.
2899 2010-12-09 Glenn Morris <rgm@gnu.org>
2901 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2902 Rename functions without commas, update callers.
2904 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2906 * whitespace.el (whitespace-cleanup-region):
2907 Clean up spaces before tabs. (Bug#7582)
2909 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2911 * bookmark.el: Adjust parameter names and doc strings to resolve
2912 confusion over whether "bookmark" meant a bookmark name or a
2913 bookmark record. Along the way, shorten one function's name for
2914 similar reasons. (Issue #7548)
2915 (bookmark-name-from-record): New name for
2916 `bookmark-name-from-full-record'. All callers changed.
2917 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2918 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2919 (bookmark-get-annotation, bookmark-set-annotation)
2920 (bookmark-get-filename, bookmark-set-filename)
2921 (bookmark-get-position, bookmark-set-position)
2922 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2923 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2924 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2925 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2926 Rename `bookmark' parameter to `bookmark-name-or-record', to
2927 clearly show its role, and shorten or adjust doc strings accordingly.
2928 (bookmark-set-name): Same, and pass the parameter directly to
2929 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2930 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2931 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2932 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2933 and in some cases shorten doc string accordingly.
2934 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2935 and `new-name', and adjust an internal variable to avoid confusion.
2936 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2937 parameter in doc string.
2939 2010-12-08 Glenn Morris <rgm@gnu.org>
2941 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2942 from gdb's history file. (Bug#7575)
2944 * mail/emacsbug.el (report-emacs-bug):
2945 Try to handle some other mail clients.
2947 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2949 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2950 Use string-prefix-p.
2951 (file-name-version-regexp): New var.
2952 (file-name-sans-versions):
2953 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2954 (jka-compr-get-compression-info): Use dolist.
2955 (jka-compr-compression-info-list): Don't bother specifying
2956 version/backup regexps.
2958 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2960 * simple.el (just-one-space): Make argument n default to 1 if
2963 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2965 * electric.el (electric-indent-post-self-insert-function):
2966 Delete trailing newlines even if we don't reindent.
2968 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2970 * minibuffer.el (completion-at-point): Remove the `arg'.
2971 * bindings.el (complete-symbol): Move back from minibuffer.el.
2973 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2975 * simple.el (just-one-space): Delete newlines for negative arg.
2977 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2979 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2980 (ansi-color-filter-apply): Simplify.
2981 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2983 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2985 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2987 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2989 * dired.el (dired-use-ls-dired): Set default to a special
2990 "unspecified" value.
2991 (dired-insert-directory): When called the first time, check
2992 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2994 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2996 * replace.el: Add "collect" feature to occur.
2997 (occur-collect-regexp-history): New var.
2998 (occur-read-primary-args): Return a replace string for nlines,
3000 (occur): Extend the meaning of nlines.
3002 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3004 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3005 (which-func-update-1): Distinguish symbols from strings.
3006 (which-function): Stay within 80 columns.
3008 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3010 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3012 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3014 (comment-style): Use comment-styles's docs to describe values.
3016 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3018 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3019 and ns-show-prefs (Bug#7535).
3021 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3022 bindings (Bug#7535).
3024 2010-12-03 Glenn Morris <rgm@gnu.org>
3026 * nxml/nxml-mode.el: Require rng-nxml.
3027 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3028 Remove declarations.
3030 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3031 * nxml/rng-nxml.el, nxml/rng-valid.el:
3032 Remove leading `*' from defcustom docs.
3034 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3035 (normal-top-level-add-to-load-path, tty-handle-args):
3036 Convert comments to basic doc-strings.
3038 * net/browse-url.el (browse-url-url-at-point)
3039 (browse-url-default-browser): Remove autoload cookies.
3041 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3042 Remove more undefined cl functions.
3044 * vc/diff.el (diff-sentinel): Make new arguments optional.
3045 * ibuf-ext.el (diff-sentinel): Update declaration.
3047 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3049 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3050 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3051 (epg-context-set-passphrase-callback): Mention that the callback
3052 is not called when used with GnuPG 2.x.
3054 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3056 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3057 (tramp-file-name-port): Check also for `tramp-default-port'.
3058 (tramp-get-connection-name): New defun.
3059 (tramp-get-connection-process): Use it.
3060 (tramp-debug-message): Extend function exclude list.
3061 (tramp-drop-volume-letter): Fix doc string.
3063 * net/tramp-cmds.el: Remove solved todo item.
3067 * net/tramp-gvfs.el:
3069 * net/tramp-imap.el:
3070 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3071 and `tramp-default-user-alist', respectively.
3073 * net/tramp-gw.el (tramp-gw-open-connection):
3074 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3076 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3077 `tramp-file-name-port'.
3079 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3080 and "psftp". Exchange "%k" marker with options.
3081 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3082 Compute size of link target.
3083 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3084 `tramp-current-*' up due to gateway methods. Optimize computing of
3085 copy arguments. Use `tramp-get-connection-name' and
3086 `tramp-get-connection-buffer'. Improve debug messages.
3087 (tramp-compute-multi-hops): Remove port determination.
3088 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3090 * net/trampver.el: Update release number.
3092 2010-12-02 Glenn Morris <rgm@gnu.org>
3094 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3095 Avoid infinite loop over windows. (Bug#7492)
3097 * progmodes/flymake.el (flymake-check-file-limit):
3098 Allow nil to mean "no limit".
3099 (flymake-check-patch-master-file-buffer): Update for above change.
3100 Allow a .tex file-name extension to be optional.
3101 (flymake-master-tex-init): Also match \include statements.
3103 2010-11-30 Sam Steingold <sds@gnu.org>
3105 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3106 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3107 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3108 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3109 define-derived-mode').
3110 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3111 users who want to call `nxml-parent-document-set'.
3113 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3115 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3116 stand-alone lines, since that is handled by log-edit-match-to-eoh
3119 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3121 * dired.el (dired-get-filename): Replace backslashes with slashes
3122 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3123 * locate.el (locate-default-make-command-line): Don't consider
3124 drive letter and root directory part of
3125 `directory-listing-before-filename-regexp'. (Bug#7308)
3126 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3128 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3130 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3131 of :smie-open/close-alist.
3132 (smie-next-sexp): Make it accept a "start token" as argument.
3133 (smie-indent-keyword): Be careful not to misidentify tokens that span
3134 more than one line, as empty lines. Add argument `token'.
3136 2010-11-27 Kenichi Handa <handa@m17n.org>
3138 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3139 multipart subtypes, insert all as usual.
3141 * mail/rmail.el: Require rfc2047.
3143 2010-11-27 Kenichi Handa <handa@m17n.org>
3145 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3146 (rmail-mime-entity-disposition)
3147 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3148 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3149 (rmail-mime-save): Handle the case that the button's `data' is a
3151 (rmail-mime-insert-text): New function.
3152 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3153 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3154 (rmail-mime-insert-bulk): New function mostly copied from the old
3155 rmail-mime-bulk-handler.
3156 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3157 (rmail-mime-process-multipart): New function mostly copied from
3158 the old rmail-mime-multipart-handler.
3159 (rmail-mime-show): Just call rmail-mime-process.
3160 (rmail-mime-process): New function mostly copied from the old
3162 (rmail-mime-insert-multipart, rmail-mime-parse)
3163 (rmail-mime-insert, rmail-show-mime)
3164 (rmail-insert-mime-forwarded-message)
3165 (rmail-insert-mime-resent-message): New functions.
3166 (rmail-insert-mime-forwarded-message-function): Set to
3167 rmail-insert-mime-forwarded-message.
3168 (rmail-insert-mime-resent-message-function): Set to
3169 rmail-insert-mime-resent-message.
3171 * mail/rmailsum.el: Require rfc2047.
3172 (rmail-header-summary): Handle multiline Subject: field.
3173 (rmail-summary-line-decoder): Change the default to
3174 rfc2047-decode-string.
3176 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3177 (rmail-mime-feature): Change the default to `rmailmm'.
3178 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3179 (rmail-display-labels): Likewise.
3180 (rmail-show-message-1): Check rmail-enable-mime, and use
3181 rmail-show-mime-function for a MIME message. Decode the headers
3182 according to RFC2047.
3184 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3186 * progmodes/which-func.el (which-func-imenu-joiner-function):
3187 Return a string, as expected.
3188 (which-function-mode): Make sure we stop any previous timer before
3191 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3193 * net/tramp.el (tramp-default-method-alist)
3194 (tramp-default-user-alist, tramp-default-proxies-alist):
3195 Adapt custom options type. (Bug#7445)
3197 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3199 * progmodes/python.el: Add Ipython support (Bug#5390).
3200 (python-shell-prompt-alist)
3201 (python-shell-continuation-prompt-alist): New options.
3202 (python--set-prompt-regexp): New function.
3203 (inferior-python-mode, run-python, python-shell):
3204 Require ansi-color. Use python--set-prompt-regexp to set the comint
3205 prompt based on the Python interpreter.
3206 (python--prompt-regexp): New var.
3207 (python-check-comint-prompt)
3208 (python-comint-output-filter-function): Use it.
3209 (run-python): Use a pipe (Bug#5694).
3211 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3213 * progmodes/python.el (run-python): Doc fix.
3214 (python-keep-current-directory-in-path): New var (Bug#7454).
3216 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3218 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3219 Prompt user before actually printing.
3221 2010-11-27 Glenn Morris <rgm@gnu.org>
3223 * startup.el (package-enable-at-startup, package-initialize):
3224 Remove unnecessary declarations.
3226 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3228 * international/characters.el (glyphless-char-display-control):
3229 Exclude newline and TAB from the c0-control group.
3231 2010-11-27 Glenn Morris <rgm@gnu.org>
3233 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3234 (expand-mail-aliases): Remove unnecessary autoload.
3236 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3238 * shell.el (shell-dir-cookie-re): Move definition before use.
3240 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3241 Replace undefined CL functions.
3243 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3245 * simple.el (prog-mode): Set bidi-paragraph-direction to
3248 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3250 2010-11-26 Glenn Morris <rgm@gnu.org>
3252 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3253 diary-outlook-formats can be sensitive to calendar-date-style.
3254 (diary-outlook-formats): Simplify the default setting.
3255 (diary-from-outlook-internal): Pass subject and body as arguments.
3256 Use dolist rather than dotimes. Don't save the diary buffer.
3257 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3258 Pass subject and body as explicit arguments to the -internal function.
3260 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3262 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3263 parsing them. This makes mailto:...?subject=foo\nbar work.
3265 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3267 * vc/diff.el (diff): Fix last change.
3269 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3271 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3272 (pcase--dontcare-upats): New var.
3273 (pcase-let, pcase-let*): Generate better code.
3274 Accept the same bodies as `let'.
3275 (pcase-dolist): New macro.
3276 (pcase--trivial-upat-p): New helper function.
3277 (pcase--expand): Strip leading "(let nil" if any.
3279 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3281 * mail/mailclient.el (browse-url): Require.
3282 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3283 use the external browser function to send the mail (bug#7469).
3285 * net/browse-url.el (browse-url-browser-function): Revert the
3286 default back to the previous value, since the new value broke
3288 (browse-url-mailto-function): New variable for mailto: URLs.
3289 (browse-url): Use the new variable for mailto: URLs.
3291 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3293 * eshell/esh-cmd.el (eshell-parse-command):
3294 * eshell/esh-arg.el (eshell-parse-arguments):
3295 * eshell/em-script.el (eshell-source-file):
3296 Use with-silent-modifications.
3298 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3300 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3301 for a merge location.
3303 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3304 (vc-bzr-merge-branch): Always prompt.
3305 (vc-bzr-async-command): Use the full branch filename.
3307 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3309 * shell.el (shell): Use current-buffer by default if it's already
3310 a shell mode buffer and its process is dead.
3311 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3313 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3315 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3316 Mention that the keywords should be comma separated.
3318 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3320 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3321 Accept optional prefix arg meaning to prompt for a command.
3322 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3323 prefix arg meaning to prompt for a command.
3324 (vc-pull): Alias for vc-update.
3326 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3327 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3328 (vc-bzr-merge-branch): New functions, implementing merge-branch
3329 and pull operations.
3331 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3333 * Makefile.in: Fix up last merge.
3335 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3336 (diff-sentinel): Get them as arguments instead.
3337 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3338 (diff-file-local-copy, diff-better-file-name): New funs.
3339 (diff-no-select): Rename from diff-into-buffer.
3340 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3341 Prefer closures to buffer-local variables.
3342 (diff): Adjust accordingly.
3343 (diff-buffer-with-file): Move from files.el.
3344 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3345 (diff-buffer-internal): Remove.
3346 (diff-buffer-buffer): Remove.
3347 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3348 the buffer name used, and so as not to mess up windows and frames.
3350 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3352 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3353 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3354 (diff-buffer-with-file): Use it.
3355 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3358 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3360 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3361 \ref's or \pageref's value as default instead of initial input.
3363 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3365 * files.el (backup-by-copying-when-mismatch): The default value is
3368 * startup.el (normal-top-level):
3369 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3370 `backup-by-copying-when-mismatch'.
3372 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3374 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3376 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3378 * progmodes/python.el (python-font-lock-keywords):
3379 Highlight top-level augmented assignments (Bug#6445).
3381 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3383 * term/ns-win.el (ns-right-control-modifier)
3384 (ns-right-command-modifier): Defvar them.
3386 * cus-start.el (all): Add ns-right-control-modifier and
3387 ns-right-command-modifier (Bug#7458).
3389 2010-11-20 Glenn Morris <rgm@gnu.org>
3391 * emacs-lisp/authors.el (authors-ignored-files)
3392 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3394 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3396 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3397 (report-emacs-bug-parse-query-results)
3398 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3399 keywords used for querying the bug database to show them in the
3400 existing bugs buffer.
3402 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3404 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3406 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3408 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3410 * international/characters.el (glyphless-char-display-control):
3411 Make it a defcustom, with update-glyphless-char-display as its
3413 (top level): Don't call update-glyphless-char-display.
3415 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3417 Sync with Tramp 2.2.0.
3419 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3420 `file-remote-p' (due to compatibility).
3422 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3423 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3425 * net/trampver.el: Update release number.
3427 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3429 * faces.el (glyphless-char): Define value for `pc'.
3431 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3433 Implemented a bug querying mechanism.
3434 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3435 (report-emacs-bug-create-existing-bugs-buffer)
3436 (report-emacs-bug-parse-query-results)
3437 (report-emacs-bug-query-existing-bugs): New functions.
3439 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
3441 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3442 a \ref{} or \pageref{} macro, then use its value as initial input.
3444 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3446 * calc/calc-units.el (math-build-units-table-buffer):
3447 calc/README: Mention that the TeX specific units won't use the
3448 `tex' prefix in TeX mode.
3449 calc/calc-lang.el (math-variable-table): Don't use the `tex'
3450 prefix for units in TeX mode.
3452 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3454 * simple.el (kill-new, kill-append, kill-region):
3455 * comint.el (comint-kill-region): Make the yank-handler argument
3458 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3460 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3461 that are both openers (resp. closers) and something else.
3462 (smie-grammar): Loosen definition of valid values.
3463 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3464 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3465 (smie-indent-after-keyword): Adjust users.
3466 (smie-indent-keyword): Don't indent empty lines.
3468 * vc-hg.el (vc-hg-program): New var.
3469 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3470 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3472 2010-11-18 Glenn Morris <rgm@gnu.org>
3474 * emacs-lisp/autoload.el (autoload-find-destination): The function
3475 coding-system-eol-type may return non-numeric values. (Bug#7414)
3477 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
3479 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3481 2010-11-18 Eli Zaretskii <eliz@gnu.org>
3483 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
3485 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
3487 * textmodes/picture.el (picture-mouse-set-point): Don't use
3488 posn-col-row; explicitly compute the motion based on the posn at
3489 the window-start (Bug#7390).
3491 2010-11-18 Glenn Morris <rgm@gnu.org>
3493 * novice.el (disabled-command-function):
3494 Fix 2009-11-15 change. (Bug#7384)
3496 2010-11-18 Glenn Morris <rgm@gnu.org>
3498 * calendar/calendar.el (diary-iso-date-forms): Make elements
3499 mutually exclusive. (Bug#7377)
3501 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3503 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3504 when filling the remaining "unconstrained" values.
3506 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3508 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3511 * files.el (safe-local-variable-p): Gracefully handle errors.
3513 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3514 Use smie-indent-virtual when indenting relative to an opener.
3515 (smie-rule-separator): Use smie-rule-parent.
3516 (smie-indent-keyword): Consult rules, even for openers at bol.
3517 (smie-indent-comment-close): Try to align closer's content.
3519 2010-11-18 Glenn Morris <rgm@gnu.org>
3521 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3523 2010-11-18 Glenn Morris <rgm@gnu.org>
3525 * printing.el (pr-menu-bind): Doc fix.
3527 * speedbar.el (speedbar-toggle-images): Doc fix.
3529 * progmodes/python.el (python-shell): Doc fix.
3531 * wid-edit.el (widget-field-use-before-change)
3532 (widget-use-overlay-change): Doc fixes.
3534 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3536 Minor cleanup to improve style.
3537 * textmodes/rst.el (rst-update-section): Use point-marker.
3538 (rst-get-decoration): Eliminate unneeded assignment.
3539 (rst-promote-region, rst-straighten-decorations)
3540 (rst-section-tree, rst-adjust): Use point-marker.
3541 (rst-toc-mode-mouse-goto): Avoid setq.
3542 (rst-shift-region-guts, rst-shift-region-left)
3543 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3544 (rst-convert-bullets-to-enumeration): Use copy-marker.
3546 * minibuffer.el (completion-fail-discreetly): New var.
3547 (completion--do-completion): Use it.
3549 * electric.el (electric-pair-pairs): New var.
3550 (electric-pair-post-self-insert-function): Use it.
3551 (electric-layout-post-self-insert-function): Don't insert a before
3552 newline unless it's actually needed.
3554 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3556 * progmodes/python.el (run-python): Explain why we remove the current
3557 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3559 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3561 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3563 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3564 (octave-mode-map): Don't bind ;, SPC, and LF.
3565 (octave-auto-indent, octave-auto-newline): Remove.
3566 (electric-layout-rules): Declare.
3567 (octave-mode): Set electric-layout-rules.
3568 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3569 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3570 (octave-electric-space): Remove.
3572 * electric.el (electric-layout-mode): New minor mode.
3573 (electric--after-char-pos): New function.
3574 (electric-indent-post-self-insert-function): Use it.
3575 (electric-layout-rules): New var.
3576 (electric-layout-post-self-insert-function): New function.
3577 (electric-indent-mode): Make them interact better.
3579 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3581 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3582 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3583 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3585 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3587 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3588 Make sure to check inside the word (Bug#6761).
3590 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3592 * startup.el (command-line): If the cursorColor resource is set,
3593 change the cursor face-spec (Bug#7392).
3595 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3597 The main features of the following allout.el changes are:
3598 - implement user customization for the allout key bindings
3599 - add a customization control by which the user can inhibit use of
3600 a trailing Ctrl-H, so by default it's reserved for use with
3601 describe-prefix-bindings
3602 - adapt to new version of called-interactively-p, while
3603 maintaining backwards compatibility with old version
3604 - fix hotspot navigation so i works properly with meta-modified keys
3606 * allout.el (allout-keybindings, allout-bind-keys)
3607 (allout-keybindings-binding, allout-prefixed-keybindings)
3608 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3609 (allout-keybindings-list, allout-mode-map-adjustments)
3610 (allout-setup-mode-map): Establish allout-mode keymaps as user
3611 customizable settings, and also establish a customizable setting which
3612 regulates whether or not a trailing control-h is reserved for use with
3613 describe-prefix-bindings - and inhibit it by default, so that control-h
3614 *is* reserved for describe-prefix-bindings unless the user changes it.
3616 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3617 and accurately between modified and unmodified events, and handle
3618 modified events more comprehensively.
3620 * allout.el (allout-substring-no-properties):
3621 Alias to use or provide version of `substring-no-properties'.
3622 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3624 * allout.el (allout-next-single-char-property-change):
3625 Alias to use or provide version of `next-single-char-property-change'.
3626 (allout-annotate-hidden, allout-hide-by-annotation):
3627 Use `allout-next-single-char-property-change'.
3629 * allout.el (allout-select-safe-coding-system):
3630 Alias to use or provide version of `select-safe-coding-system'.
3631 (allout-toggle-subtree-encryption):
3632 Use `allout-select-safe-coding-system'.
3634 * allout.el (allout-set-buffer-multibyte):
3635 Alias to use or provide version of `set-buffer-multibyte'.
3636 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3638 * allout.el (allout-called-interactively-p): Macro for using the
3639 different versions of called-interactively-p identically, depending on
3640 the subroutine's argument signature.
3641 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3642 Use `(interactive "p")' instead of `(called-interactively-p)'.
3644 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3645 (allout-previous-visible-heading, allout-forward-current-level)
3646 (allout-backward-current-level, allout-show-children):
3647 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3649 * allout.el (allout-before-change-handler):
3650 Exempt edits to the (overlaid) character after the allout outline
3651 bullet from edit confirmation prompt.
3653 * allout.el (allout-add-resumptions):
3654 Ensure that it respects correct buffer for keybindings.
3656 * allout.el (allout-beginning-of-line):
3657 Use `allout-previous-single-char-property-change' alias for the sake of
3658 diverse compatibility.
3660 * allout.el (allout-end-of-line):
3661 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3663 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3665 * frame.el (frame-notice-user-settings): Don't clobber other
3666 user-set parameters when calling face-set-after-frame-default in
3667 response to background-color parameter (Bug#7373).
3669 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3671 * international/characters.el (glyphless-char-display-control):
3672 Rename from glyphless-char-control; all users changed. Doc fix.
3673 Signal an error if display method is not one of the recognized
3676 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3678 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3679 (tramp-compat-line-end-position): Remove them.
3681 * net/tramp.el (tramp-parse-rhosts-group)
3682 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3683 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3684 (tramp-parse-netrc-group, tramp-parse-putty-group)
3685 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3686 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3687 (tramp-sh-handle-file-selinux-context)
3688 (tramp-sh-handle-file-name-all-completions)
3689 (tramp-sh-handle-insert-directory)
3690 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3691 (tramp-wait-for-output, tramp-send-command-and-read)
3692 * net/tramp-smb.el (tramp-smb-read-file-entry)
3693 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3695 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3697 (tramp-remote-coding-commands): Add an alternative using "base64
3698 -d -i". This is needed for older base64 versions from GNU
3699 coreutils. Reported by Klaus Reichl
3700 <Klaus.Reichl@thalesgroup.com>.
3702 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3704 * simple.el (count-words-region): New function.
3706 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3708 * shell.el (shell-dir-cookie-re): New custom variable.
3709 (shell-dir-cookie-watcher): New function.
3711 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3712 and compilation-mode (bug#7350).
3714 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3715 highlight when one of them is empty.
3717 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3719 (skeleton-newline): New function.
3720 (skeleton-internal-1): Use it.
3722 * simple.el (open-line): `newline' may strip trailing space.
3724 2010-11-12 Kevin Ryde <user42@zip.com.au>
3726 * international/mule-cmds.el (princ-list): Use mapc.
3728 2010-11-12 Glenn Morris <rgm@gnu.org>
3730 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3731 Use it to replace all instances of "*Compile-Log*"
3733 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3735 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3738 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3740 * progmodes/modula2.el: Use SMIE and skeleton.
3741 (m2-mode-syntax-table): (*..*) can be nested.
3742 Add //...\n. Fix paren syntax.
3743 (m2-mode-map): Remove LF and TAB bindings.
3744 (m2-indent): Add safety property.
3745 (m2-smie-grammar): New var.
3746 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3747 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3748 (m2-mode): Use define-derived-mode.
3749 (m2-newline, m2-tab): Remove.
3750 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3751 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3752 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3753 (m2-import): Use define-skeleton.
3755 2010-11-11 Glenn Morris <rgm@gnu.org>
3757 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3759 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3760 (ls-lisp-verbosity): Add custom :set-after property.
3761 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3762 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3763 (ls-lisp-insert-directory): Update caller.
3764 (ls-lisp-set-options): New function.
3765 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3768 * play/landmark.el (lm-prompt-for-move):
3769 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3771 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3773 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3774 (idlwave-study-twins): Prefix dynamic local variable `name'.
3775 (idlwave-routine-twin-compare): Update for above change.
3777 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3778 Prefix dynamic local variables `name', `kwd', and `link'.
3779 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3780 * progmodes/idlw-complete-structtag.el
3781 (idlwave-complete-structure-tag-help):
3782 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3783 (idlwave-complete-sysvar-tag-help)
3784 (idlwave-complete-class-structure-tag-help):
3785 Update for above name changes.
3787 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3789 * net/browse-url.el (browse-url-browser-function): Change the
3790 default to use `browse-url-mail' on mailto: URLs.
3792 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3794 * emacs-lisp/package.el (package-read-all-archive-contents):
3795 Reset package-archive-contents to nil before re-reading.
3797 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3799 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3800 already found as misspellings by (flyspell-large-region), just
3801 do highlighting (bug#7322).
3803 2010-11-10 Glenn Morris <rgm@gnu.org>
3805 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3807 * emulation/edt.el (edt-with-position): New macro.
3808 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3809 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3810 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3812 * emulation/tpu-extras.el (tpu-with-position): New macro.
3813 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3815 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3817 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3818 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3819 (texinfo-master-menu, texinfo-insert-node-lines)
3820 (texinfo-multiple-files-update):
3821 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3822 Use line-beginning-position.
3824 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3825 No recent Emacs supports system-type `emx'.
3827 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3828 (ada-command-separator, ada-default-prj-properties)
3829 (ada-find-any-references): Update for above name change.
3831 * dirtrack.el (dirtrack-directory-function)
3832 (dirtrack-canonicalize-function):
3833 * filecache.el (file-cache-completion-ignore-case)
3834 (file-cache-case-fold-search, file-cache-ignore-case):
3835 * term.el (serial-port-is-file-p): Cosmetic change.
3837 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3838 Remove non-existent `windows-95' system-type.
3839 * dired.el (dired-chown-program): Remove non-existent `linux'
3842 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3843 (ping-program-options): Remove non-existent `linux' system-type.
3845 * startup.el (package-initialize): Update declaration.
3847 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3848 (ls-lisp-handle-switches): Use time-less-p.
3849 (ls-lisp-format-time): Use float-time.
3851 * textmodes/remember.el (remember-time-to-seconds): Remove.
3852 (remember-store-in-mailbox): Use float-time.
3854 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3856 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3857 never a real function.
3858 (with-no-warnings): Remove compat stub, now unused.
3859 (time-less-p): Doc fix.
3860 (time-to-number-of-days): Simplify.
3862 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3864 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3865 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3866 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3867 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3868 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3870 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3871 (eshell-shuffle-files, eshell-shorthand-tar-command)
3872 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3873 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3874 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3875 Prefix dynamic local variable `matches'.
3877 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3878 Prefix dynamic local variable `skeleton'.
3880 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3882 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3883 in mail buffer; make yank-action always a command that yanks original
3886 2010-11-09 Glenn Morris <rgm@gnu.org>
3888 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3890 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3892 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3893 completion field (bug#7211).
3895 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3896 Fix handling of backslash escapes.
3897 (python-quote-syntax): Adjust accordingly.
3899 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3901 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3902 (vc-mtn-workfile-branch): Adjust to new output format.
3904 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3906 * international/mule-cmds.el (princ-list): Mark as obsolete.
3908 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3910 * emacs-lisp/smie.el: New package.
3912 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3914 * files.el (backup-by-copying-when-mismatch):
3915 Set `permanent-local' property.
3917 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3918 `permanent-local' property for `backup-by-copying-when-mismatch'.
3920 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3922 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3924 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3926 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3927 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3928 AUTOINOUT for SV style multidimensional arrays, bug294.
3929 Reported by Eric Mastromarchi.
3930 (verilog-preprocess): Use with-current-buffer and
3931 font-lock-fontify-buffer to cleanup style issues.
3933 2010-11-09 Glenn Morris <rgm@gnu.org>
3935 * locate.el (locate, locate-mode): Doc fixes.
3937 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3939 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3940 user for confirmation.
3941 (server-force-stop): Use it.
3942 (server-start): Use server-force-stop for kill-emacs-hook, to
3943 avoid user interaction while killing Emacs.
3945 2010-11-09 Glenn Morris <rgm@gnu.org>
3947 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3948 (meta-indent-line): Simplify.
3950 * vc/emerge.el (emerge-line-number-in-buf):
3951 * textmodes/ispell.el (ispell-region):
3952 * textmodes/fill.el (current-fill-column):
3953 * progmodes/xscheme.el (xscheme-send-current-line):
3954 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3955 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3956 * progmodes/sh-script.el (sh-handle-prev-do):
3957 * progmodes/meta-mode.el (meta-indent-line):
3958 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3960 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3961 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3962 * progmodes/fortran.el (fortran-looking-at-if-then):
3963 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3964 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3965 (cperl-find-pods-heres):
3966 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3967 * net/quickurl.el (quickurl-list-insert):
3968 * net/ldap.el (ldap-search-internal):
3969 * net/eudc.el (eudc-expand-inline):
3970 * mail/sendmail.el (sendmail-send-it):
3971 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3972 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3973 (viper-brac-function):
3974 * calc/calc-yank.el (calc-do-grab-region):
3975 * calc/calc-keypd.el (calc-keypad-press):
3976 * term.el (term-move-columns, term-insert-spaces):
3977 * speedbar.el (speedbar-highlight-one-tag-line):
3978 * simple.el (current-word):
3979 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3980 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3982 * hippie-exp.el (he-line-beg):
3983 * epa.el (epa--marked-keys):
3984 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3985 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3986 (dired-relist-entry):
3987 * buff-menu.el (Buffer-menu-buffer):
3988 * array.el (current-line):
3989 * allout.el (allout-resolve-xref)
3990 (allout-latex-verbatim-quote-curr-line):
3991 Replace yet more uses of end-of-line etc with line-end-position, etc.
3993 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3995 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3996 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3997 (checkdoc-syntax-table): Initialize in the declaration.
3998 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3999 the mode on unconditionally.
4001 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4002 (extent-end-position, extent-start-position): Remove setf method for
4003 non-existing functions (bug#7319).
4005 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4007 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4008 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4009 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4010 (smie-prec2->grammar): Rename from smie-prec2-levels.
4011 (smie-grammar): Rename from smie-op-levels.
4012 (smie-indent--hanging-p): Rename from smie-hanging-p.
4013 (smie-rule-hanging-p): New alias.
4014 (smie-indent--bolp): Rename from smie-bolp.
4015 (smie-indent--hanging-p): New alias.
4016 (smie--token): New dynamically bound variable.
4017 (smie-indent--parent): New function.
4018 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4019 (smie-rule-next-p): Rename from smie-next-p.
4020 (smie-rule-prev-p): Rename from smie-prev-p.
4021 (smie-rule-sibling-p, smie-rule-parent)
4022 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4023 (smie-rule-separator-outdent): New var.
4024 (smie-indent--rule): Merge with smie-indent--column.
4025 (smie-indent-forward-token, smie-indent-backward-token):
4026 Also recognize close parens.
4027 (smie-indent-keyword): Don't use smie-indent--column any more.
4028 (smie-indent-after-keyword): Ignore closers by default.
4029 (smie-indent-line): Use with-demoted-errors.
4030 * progmodes/octave-mod.el (octave-smie-grammar):
4031 Rename from octave-smie-op-levels.
4032 (octave-smie-rules): Adjust to new behavior.
4033 * progmodes/prolog.el (prolog-smie-grammar):
4034 Rename from prolog-smie-op-levels.
4036 2010-11-07 Glenn Morris <rgm@gnu.org>
4038 * eshell/esh-util.el (subst-char-in-string)
4039 (directory-files-and-attributes): These compatibility definitions are
4040 not needed on any version of Emacs since at least 21.4.
4042 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4043 (verilog-get-end-of-line): Remove.
4044 (verilog-within-string, verilog-re-search-forward-substr)
4045 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4046 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4047 Use point-at-bol, point-at-eol.
4048 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4050 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4051 (electric-pascal-terminate-line, pascal-set-auto-comments)
4052 (pascal-indent-paramlist, pascal-indent-declaration)
4053 (pascal-get-lineup-indent, pascal-func-completion)
4054 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4055 Use point-at-bol, point-at-eol.
4056 * progmodes/flymake.el (flymake-line-beginning-position)
4057 (flymake-line-end-position): Remove.
4058 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4059 * eshell/esh-util.el (line-end-position, line-beginning-position):
4060 Remove compat definitions.
4062 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4064 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4065 Use line-end-position.
4067 * emacs-lisp/chart.el (chart-zap-chars):
4068 * play/decipher.el (decipher-set-map):
4069 * progmodes/ada-mode.el (ada-get-current-indent)
4070 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4071 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4072 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4073 (ada-get-all-references):
4074 * progmodes/cperl-mode.el (cperl-electric-paren)
4075 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4076 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4077 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4078 (cperl-word-at-point-hard):
4079 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4080 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4081 (idlwave-shell-display-line):
4082 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4083 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4084 * progmodes/js.el (js--re-search-forward-inner)
4085 (js--re-search-backward-inner):
4086 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4087 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4088 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4089 * textmodes/flyspell.el (flyspell-process-localwords):
4090 * textmodes/ispell.el (ispell-buffer-local-parsing)
4091 (ispell-buffer-local-dict, ispell-buffer-local-words):
4092 Use point-at-bol and point-at-eol.
4094 * speedbar.el (speedbar-generic-item-info)
4095 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4096 (speedbar-add-indicator, speedbar-check-vc-this-line)
4097 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4098 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4099 Replace more uses of end-of-line etc with line-end-position.
4101 2010-11-06 Glenn Morris <rgm@gnu.org>
4103 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4104 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4105 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4106 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4107 (texinfo-multiple-files-update):
4108 * textmodes/table.el (table--probe-cell-left-up)
4109 (table--probe-cell-right-bottom):
4110 * textmodes/picture.el (picture-tab-search):
4111 * textmodes/page-ext.el (pages-copy-header-and-position)
4112 (pages-directory-for-addresses):
4113 * progmodes/vera-mode.el (vera-get-offset):
4114 * progmodes/simula.el (simula-calculate-indent):
4115 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4116 * progmodes/prolog.el (end-of-prolog-clause):
4117 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4118 * progmodes/icon.el (indent-icon-exp):
4119 * progmodes/etags.el (tag-re-match-p):
4120 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4121 * progmodes/ebnf2ps.el (ebnf-begin-file):
4122 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4123 (dcl-save-local-variable):
4124 * play/life.el (life-setup):
4125 * play/gametree.el (gametree-looking-at-ply):
4126 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4127 * mail/sendmail.el (mail-mode-auto-fill):
4128 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4129 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4130 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4131 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4132 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4133 * type-break.el (type-break-file-keystroke-count):
4134 * term.el (term-replace-by-expanded-history-before-point)
4135 (term-skip-prompt, term-extract-string):
4136 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4137 (speedbar-contract-line, speedbar-toggle-line-expansion)
4138 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4139 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4140 * sort.el (sort-skip-fields):
4141 * skeleton.el (skeleton-internal-list):
4142 * simple.el (line-move-finish, line-move-to-column):
4143 * shell.el (shell-forward-command):
4144 * misc.el (copy-from-above-command):
4145 * makesum.el (double-column):
4146 * ebuff-menu.el (electric-buffer-update-highlight):
4147 * dired.el (dired-move-to-end-of-filename):
4148 * dframe.el (dframe-popup-kludge):
4149 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4150 * arc-mode.el (archive-get-lineno):
4151 Use line-end-position and line-beginning-position.
4153 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4154 (idlwave-study-twins): Prefix dynamic local `class'.
4155 (idlwave-routine-twin-compare): Update for above name change.
4157 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4158 Use boundp tests to silence compiler. Update for changed name of
4159 bytecomp-filename variable.
4161 * emulation/viper-cmd.el (viper-read-string-with-history):
4162 Prefix dynamic local `initial'.
4163 (viper-minibuffer-standard-hook): Update for above name change.
4165 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4166 (elint-init-form): Update for above name change.
4168 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4169 local variables `cbeg' and `cend' a prefix.
4170 (mail-extr-voodoo): Update for above name change.
4172 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4173 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4174 (reftex-toc-promote-action): Doc fix.
4176 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4177 `prompt', `data' a prefix.
4178 (reftex-select-post-command-hook, reftex-select-callback)
4179 (reftex-select-mouse-accept, reftex-select-read-cite):
4180 Update for above name changes.
4182 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4183 `refstyle' to reftex-refstyle.
4184 (reftex-offer-label-menu): Update for above name change.
4185 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4186 `refstyle' name change.
4188 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4189 with with-current-buffer.
4190 (diff, template): Give dynamic local variables a prefix.
4191 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4192 (emerge-line-number-in-buf): Update for above name change.
4193 (emerge-combine-versions-internal): Rename local `template' to
4194 emerge-combine-template.
4195 (emerge-combine-versions-edit): Update for above name change.
4197 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4199 * textmodes/reftex-cite.el
4200 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4201 entries with whitespace after \bibitem.
4202 (reftex-create-bibtex-file): Match entries containing numbers and
4203 symbol constituents. Make sure that entries with whitespace at
4204 various places are found.
4206 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4208 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4210 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4212 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4214 2010-11-05 Glenn Morris <rgm@gnu.org>
4216 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4217 (woman2-roff-buffer): Give local variable `request' a prefix.
4218 (woman0-macro): Rename argument `request' in the same way.
4219 (woman-request): New name for `request' dynamic variable.
4220 (woman-unquote, woman-forward-arg): Update for above name change.
4221 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4222 (woman1-unquote): New name for `unquote' dynamic variable.
4223 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4224 (woman-translations): Rename from `translations'. No longer global.
4225 (woman2-tr, woman-translate): Update for above name change.
4226 (woman-translate): Check for bound variable.
4227 (woman2-roff-buffer): Give local variable `translations' a prefix.
4229 * play/doctor.el: Give all local variables a prefix. Update callers.
4230 (doc$, doctor-put-meaning): Use backquote.
4232 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4233 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4235 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4236 variables bytes, ptr, op a prefix.
4237 (disassemble-offset): Update for above change.
4239 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4241 * emacs-lisp/package.el (package-unpack): Remove no-op.
4242 (package--builtins, package--dir): Doc fix.
4243 (package-activate-1, package-activate, package-install)
4244 (package-compute-transaction): Fix error message.
4245 (package-delete): Use delete-directory. Omit system packages.
4246 (package-initialize): Set package-alist to nil first.
4247 (package-menu-mark-delete, package-menu-mark-install): Don't add
4248 symbols that are inconsistent with the package state.
4249 (package-menu-execute): Perform deletions and installations as
4250 single batch operations.
4252 2010-11-03 Glenn Morris <rgm@gnu.org>
4254 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4255 (props): Remove unnecessary declaration.
4257 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4258 set-process-query-on-exit-flag.
4260 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4261 (reftex-toc-do-promote): Remove unused local `mpos'.
4262 (reftex-toc-restore-region): Make `mpos' local to this function.
4264 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4266 * play/landmark.el (lm-losing-threshold): Correct spelling.
4267 (lm-human-plays): Use new name.
4269 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4270 (gomoku-human-plays): Use new name.
4272 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4273 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4274 (gomoku-score-trans-table, gomoku-winning-threshold)
4275 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4277 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4279 * emacs-lisp/package.el: Don't put built-in packages in
4280 package-alist, to avoid loading inefficiencies.
4281 (package-built-in-p): Make VERSION optional, and treat it as a
4282 minimum acceptable version.
4283 (package-activate): Search separately for built-in packages.
4284 Emit a warning if a dependency fails.
4285 (define-package): Handle most common case, where there is no
4286 obsolete package, first.
4287 (package-compute-transaction): Print required version in error.
4288 (package--initialized): New variable.
4289 (list-packages): Use it.
4290 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4291 built-in packages in packages-alist; keep it separate.
4292 Set package--initialized.
4293 (describe-package): Avoid activating packages as a side-effect.
4294 Search separately for built-in packages.
4295 (describe-package-1): Handle the case where an elpa package is
4296 simultaneously built-in and available/installed.
4297 (package-installed-p, package--generate-package-list):
4298 Search separately for built-in packages.
4299 (package-load-descriptor): Doc fix.
4301 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4303 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4304 Handle __DATA__ and __END__.
4306 2010-11-02 Noah Friedman <friedman@splode.com>
4308 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4309 nil, do not ask to recompile files that are not already compiled,
4310 and do not recompile them.
4312 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4314 * emacs-lisp/package.el (package-initialize): Ensure that
4315 obsoleted built-in packages are not in package-activated-list
4317 (describe-package-1): Make the "installed" status override
4320 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4322 * subr.el (version-separator, version-regexp-alist): Remove '*'
4324 (version-list-<=, version<=, version=): Doc fix.
4326 2010-11-01 Kenichi Handa <handa@m17n.org>
4328 * faces.el (glyphless-char): Inherit underline for tty.
4330 2010-11-01 Kenichi Handa <handa@m17n.org>
4332 Implement various display methods for glyphless characters.
4334 * international/characters.el (char-acronym-table): New variable.
4335 (glyphless-char-control): New variable.
4336 (update-glyphless-char-display): New function.
4338 * faces.el (glyphless-char): New face.
4340 2010-11-01 Glenn Morris <rgm@gnu.org>
4342 * calendar/holidays.el (general-holidays, oriental-holidays)
4343 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4344 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4345 the definitions of their targets.
4347 * emacs-lisp/smie.el (smie): New custom group.
4348 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4350 * faces.el (xw-defined-colors, x-setup-function-keys):
4351 * mouse-sel.el (x-select-text):
4352 * term/w32console.el (x-setup-function-keys): Update declarations.
4354 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4356 * textmodes/ispell.el (comment-add): Declare.
4358 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4361 * info.el (finder-keywords-hash, package-alist): Declare.
4363 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4365 * finder.el (finder-compile-keywords): Don't use intern-soft,
4366 since package names may not yet exist in the obarray.
4368 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4370 * vc/vc-arch.el (vc-arch-checkin):
4371 * vc/vc-cvs.el (vc-cvs-checkin):
4372 * vc/vc-mtn.el (vc-mtn-checkin):
4373 * vc/vc-rcs.el (vc-rcs-checkin):
4374 * vc/vc-sccs.el (vc-sccs-checkin):
4375 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4376 since 2010-04-21 commit by Stefan Monnier.
4378 2010-11-01 Glenn Morris <rgm@gnu.org>
4380 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4382 * startup.el (package-enable-at-startup, package-initialize):
4385 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4388 2010-10-31 Julien Danjou <julien@danjou.info>
4390 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4391 (byte-recompile-directory):
4392 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4393 Use `byte-recompile-file'.
4395 2010-10-31 Glenn Morris <rgm@gnu.org>
4397 * cus-start.el: Handle standard values via a keyword.
4398 Only set version property if specified.
4399 (cursor-in-non-selected-windows, menu-bar-mode)
4400 (tool-bar-mode, show-trailing-whitespace):
4401 Do not specify standard values.
4402 (transient-mark-mode, temporary-file-directory): Use :standard.
4404 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4406 * term/x-win.el (x-get-selection-value): New function that gets
4407 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4409 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4411 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4412 preserve owner and group when editing files. (Bug#7289)
4414 2010-10-31 Glenn Morris <rgm@gnu.org>
4416 * speedbar.el (speedbar-mode):
4417 * play/fortune.el (fortune-in-buffer, fortune):
4418 * play/gomoku.el (gomoku-mode):
4419 * play/landmark.el (lm-mode):
4420 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4421 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4423 * select.el (x-selection): Mark it as an obsolete alias.
4425 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4427 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4428 major-mode (bug#7284).
4430 2010-10-31 Glenn Morris <rgm@gnu.org>
4432 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4433 rather than just an unused variable that inherits from the real one.
4435 2010-10-31 Alan Mackenzie <acm@muc.de>
4437 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4438 This fixes bug #7185.
4440 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
4442 * startup.el (command-line): Search for package directories, and
4443 don't load package.el if none are found.
4445 * emacs-lisp/package.el (describe-package, list-packages):
4446 Call package-initialize if it has not been called yet.
4448 2010-10-30 Alan Mackenzie <acm@muc.de>
4450 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4451 which fontifies the tail of an enum.
4452 (c-basic-matchers-after): Insert a call to the above new function.
4453 This fixes bug #7264.
4455 2010-10-30 Glenn Morris <rgm@gnu.org>
4457 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4458 tool-bar-mode, transient-mark-mode. (Bug#7306)
4459 Include the :set property in the dumped Emacs.
4461 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4463 SMIE: change indent rules format, improve smie-setup.
4464 * emacs-lisp/smie.el (smie-precs-precedence-table)
4465 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4466 Mark them pure so the tables gets built at compile time.
4467 (smie-bnf-precedence-table): Store the closer-alist in the table.
4468 (smie-prec2-levels): Preserve the closer-alist.
4469 (smie-blink-matching-open): Be more forgiving in case of indentation.
4470 (smie-hanging-p): Rename from smie-indent--hanging-p.
4471 (smie-bolp): Rename from smie-indent--bolp.
4472 (smie--parent, smie--after): New dynamic vars.
4473 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4474 (smie-indent-rules): Remove.
4475 (smie-indent--offset-rule): Remove fun.
4476 (smie-rules-function): New var.
4477 (smie-indent--rule): New fun.
4478 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4479 (smie-indent-exps): Use it.
4480 (smie-setup): Setup paren blinking; add keyword args for token
4481 functions; extract closer-alist from op-levels.
4482 (smie-indent-debug-log): Remove var.
4483 (smie-indent-debug): Remove fun.
4484 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4485 (prolog-smie-rules): New fun to replace it.
4486 (prolog-mode-variables): Simplify.
4487 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4488 it's setup automatically.
4489 (octave-smie-indent-rules): Remove.
4490 (octave-smie-rules): New fun to replace it.
4491 (octave-mode): Simplify.
4493 2010-10-29 Glenn Morris <rgm@gnu.org>
4495 * files.el (temporary-file-directory): Remove (already defined in C).
4496 * cus-start.el: Add temporary-file-directory.
4498 * abbrev.el (abbrev-mode):
4499 * composite.el (auto-composition-mode):
4500 * menu-bar.el (menu-bar-mode):
4501 * simple.el (transient-mark-mode):
4502 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4503 that they do not define the associated variables twice.
4504 * simple.el (transient-mark-mode): Remove defvar.
4505 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4506 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4507 Handle multiple groups, and also custom-delayed-init-variables.
4508 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4510 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4512 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4513 (pcase-if): Add one minor optimization.
4514 (pcase-split-equal): Rename from pcase-split-eq.
4515 (pcase-split-member): Rename from pcase-split-memq.
4516 (pcase-u1): Add strings to the member optimization.
4517 Add `guard' variant of predicates.
4518 (pcase-q1): Add string patterns.
4520 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4522 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4524 2010-10-28 Glenn Morris <rgm@gnu.org>
4526 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4527 Move menu-bar related settings to ../menu-bar.el.
4528 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4529 Move ns-specific settings here from term/ns-win.el.
4531 * simple.el (x-selection-owner-p): Remove unused declaration.
4533 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4535 * minibuffer.el (completion-cycling): New var (bug#7266).
4536 (minibuffer-complete, completion--do-completion):
4537 Use completion--flush-all-sorted-completions.
4538 (minibuffer-complete): Only cycle if completion-cycling is set.
4539 (completion--flush-all-sorted-completions): Unset completion-cycling.
4540 (minibuffer-force-complete): Set completion-cycling.
4541 (completion-all-sorted-completions): Move declaration before first use.
4543 2010-10-28 Leo <sdl.web@gmail.com>
4545 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4546 which changes the order of matches seen by users (bug#7231).
4548 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4550 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4551 Don't confuse -omega as "-o mega".
4553 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4555 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4556 (log-edit-author): New dynamic var.
4557 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4558 to return the author if different from committer.
4559 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4561 * play/landmark.el: Adjust commenting convention.
4562 (lm-nil-score): Rename from nil-score.
4563 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4564 (OOOOscore): Move into a let in lm-score-trans-table.
4565 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4567 * electric.el (electric-indent-chars): Autoload.
4568 * progmodes/octave-mod.el (octave-mode):
4569 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4570 (ruby-mode-abbrev-table): Merge initialization and declaration.
4572 2010-10-27 Glenn Morris <rgm@gnu.org>
4574 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4577 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4579 * term/ns-win.el: Restore require of cl when compiling.
4580 (menu-bar-final-items): Remove non-existent `windows' menu.
4581 (ns-handle-nxopen): Optionally handle the temp-case.
4582 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4583 (ns-insert-file, ns-find-file): Use `pop'.
4585 2010-10-26 Glenn Morris <rgm@gnu.org>
4587 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4589 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4591 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4593 * term/common-win.el (x-setup-function-keys): Remove most of the
4594 keymappings. Comment on the remaining ones.
4596 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4598 * server.el (server-port): New option. (Bug#854)
4599 (server-start): Use server-port.
4601 2010-10-26 Glenn Morris <rgm@gnu.org>
4603 * term/ns-win.el (ns-version-string): Remove unused declaration.
4604 (ns-invocation-args): Change to x-invocation-args.
4605 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4606 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4607 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4608 Use x-invocation-args instead of ns-invocation-args.
4609 (ns-initialize-window-system, handle-args-function-alist):
4610 Use x-handle-args instead of ns-handle-args.
4611 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4612 * startup.el (command-line-ns-option-alist): Replace
4613 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4614 ns-handle-iconic with the x- equivalents.
4616 * term/common-win.el (x-select-enable-clipboard):
4617 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4619 * term/ns-win.el: No need to require cl when compiling.
4620 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4621 (xw-defined-colors): Use the common-win definitions.
4622 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4623 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4624 * term/common-win.el (x-select-text, x-alternatives-map)
4625 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4626 * loadup.el [ns]: Load common-win.
4628 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4630 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4631 recipients; expand mail aliases (Bug#7280).
4633 2010-10-25 Glenn Morris <rgm@gnu.org>
4635 * term/common-win.el (x-handle-switch): Simplify with pop.
4636 Optionally handle numeric switches.
4637 (x-handle-numeric-switch): Just call x-handle-switch.
4638 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4639 (x-handle-name-switch, x-handle-display, x-handle-args):
4642 * term/ns-win.el: Do not require easymenu.
4643 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4644 <spell>: Move adjustments to menu-bar.el.
4645 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4646 <separator-undo, spell>: Move ns-win's adjustments here.
4647 * loadup.el [ns]: Do not load easymenu.
4649 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4651 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4654 * startup.el (fancy-startup-tail): Instead of using inline images,
4655 refer to image files from etc/.
4657 * wid-edit.el (checkbox): Likewise.
4658 (widget-image-find): Center image specs.
4660 2010-10-24 Glenn Morris <rgm@gnu.org>
4662 * term/ns-win.el (x-select-text): Doc fix.
4663 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4664 (x-select-text): Move to term/common-win.
4665 * term/w32-win.el (xw-defined-colors): Move to common-win.
4666 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4667 (x-setup-function-keys, x-select-text): Move to common-win.
4668 * term/common-win.el (x-select-text, x-alternatives-map)
4669 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4672 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4674 * net/mairix.el (mairix-searches-mode-map):
4675 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4677 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4679 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
4680 auto-built for efficiency of execution and updating.
4681 (verilog-extended-complete-re): Support 'pure' fucntion & task
4682 declarations (these have no bodies).
4683 (verilog-beg-of-statement): General cleanup to enable support of
4684 'pure' fucntion & task declarations (these have no bodies).
4685 These efforts together fix Verilog bug210 from veripool; which was also
4686 noticed by Steve Pearlmutter.
4687 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4688 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4689 Support `elsif. Reported by Shankar Giri.
4690 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4691 attribute handling for lining up declarations and assignments.
4692 (verilog-beg-of-statement-1): Fix issue where continued declaration
4693 is indented differently if it is after a begin..end clock.
4694 (verilog-in-attribute-p, verilog-skip-backward-comments)
4695 (verilog-skip-forward-comment-p): Support proper treatment of
4696 attributes by indent code. Reported by Jeff Steele.
4697 (verilog-in-directive-p): Fix comment to correctly describe function.
4698 (verilog-backward-up-list, verilog-in-struct-region-p)
4699 (verilog-backward-token, verilog-in-struct-p)
4700 (verilog-in-coverage-p, verilog-do-indent)
4701 (verilog-pretty-declarations): Use verilog-backward-up-list as
4702 wrapper around backward-up-list inorder to properly skip comments.
4703 Reported by David Rogoff.
4704 (verilog-property-re, verilog-endcomment-reason-re)
4705 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4706 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4707 of if). Reported by Max Bjurling and
4708 (verilog-calc-1): Fix for clocking block in modport
4709 declaration. Reported by Brian Hunter.
4711 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4713 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4714 (verilog-gate-keywords, verilog-read-sub-decls)
4715 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4716 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4717 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4718 (verilog-read-decls): Fix spaces in V2K module parameters causing
4719 mis-identification as interfaces, bug287.
4720 (verilog-read-decls): Fix not treating "parameter string" as a
4721 parameter in AUTOINSTPARAM.
4722 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4723 treating `elsif similar to `endif inside AUTOSENSE.
4724 (verilog-do-indent): Implement correct automatic or static task or
4725 function end comment highlight. Reported by Steve Pearlmutter.
4726 (verilog-font-lock-keywords-2): Fix highlighting of single
4727 character pins, bug264. Reported by Michael Laajanen.
4728 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4729 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4730 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4731 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4732 (verilog-pretty-expr): Fix interactive arguments, bug272.
4733 Reported by Mark Johnson.
4734 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4735 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4736 bug269. Suggested by Gary Delp.
4737 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4738 (verilog-preprocessor, verilog-set-compile-command):
4739 Create verilog-preprocess and verilog-preprocessor to show
4740 preprocessed output.
4741 (verilog-get-beg-of-line, verilog-get-end-of-line)
4742 (verilog-modi-file-or-buffer, verilog-modi-name)
4743 (verilog-modi-point, verilog-within-string): Move defmacro's
4744 before first use to avoid warning. Reported by Steve Pearlmutter.
4745 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4746 (verilog-colorize-region, verilog-highlight-buffer)
4747 (verilog-highlight-includes, verilog-highlight-modules)
4748 (verilog-highlight-region, verilog-mode): Rename colorize to
4749 highlight to match other packages. Disable module highlighting,
4750 as received speed complaints, reenable for experimentation only
4751 using new verilog-highlight-modules.
4752 (verilog-read-decls): Fix regexp stack overflow in very large
4753 AUTO_TEMPLATEs, bug250.
4754 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4755 (verilog-scan): Create verilog-save-buffer-state to standardize
4756 making insignificant changes that shouldn't call hooks.
4757 (verilog-save-no-change-functions, verilog-save-scan-cache)
4758 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4759 Create verilog-save-no-change-functions to wrap verilog-scan
4760 preservation, and fix to work with nested preserved calls.
4761 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4762 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4763 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4764 (verilog-submit-bug-report): Update variable list to be complete.
4765 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4766 breaking on-the-fly font-locking.
4767 (verilog-colorize-buffer, verilog-colorize-include-files)
4768 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4769 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4770 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4771 AUTOINST cell instance name, middle mouse button now finds-file on
4772 it. Suggested by Brad Dobbie.
4773 (verilog-alw-get-temps, verilog-auto-reset)
4774 (verilog-auto-sense-sigs, verilog-read-always-signals)
4775 (verilog-read-always-signals-recurse): Fix loop indexes being
4776 AUTORESET. AUTORESET now assumes any variables in the
4777 initialization section of a for() should be ignored.
4778 Reported by Dan Dever.
4779 (verilog-error-font-lock-keywords)
4780 (verilog-error-regexp-emacs-alist)
4781 (verilog-error-regexp-xemacs-alist): Fix error detection of
4782 Cadence HAL, reported by David Asher. Repair drift between the
4783 three similar error variables.
4784 (verilog-modi-lookup, verilog-modi-lookup-cache)
4785 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4786 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4787 Fix slow verilog-auto expansion on very large files.
4788 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4789 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4790 "{1*2{...". Broke in last revision.
4791 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4792 submodule connections with replications "{#{a},#{b}}".
4794 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4796 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4797 Fix typo in docstring.
4799 2010-10-24 Kenichi Handa <handa@m17n.org>
4801 * face-remap.el (text-scale-adjust): Call read-event with a proper
4804 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4806 * emacs-lisp/unsafep.el: Don't mark functions that display
4807 messages as safe. Suggested by Johan Bockgård.
4809 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4811 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4812 Turn comments into docstrings.
4814 * minibuffer.el (completion--replace): Move point where it belongs
4815 when there's a common suffix (bug#7215).
4817 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4819 Merge read-color and facemenu-read-color (Bug#7242).
4821 * faces.el (read-color): Use the completion code from
4822 facemenu-read-color. Require match in completion. Doc fix.
4824 * facemenu.el (facemenu-read-color): Alias for read-color.
4825 (facemenu-set-foreground, facemenu-set-background):
4828 * frame.el (set-background-color, set-foreground-color)
4829 (set-cursor-color, set-mouse-color, set-border-color):
4832 2010-10-24 Leo <sdl.web@gmail.com>
4834 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4835 argument of delete-file and delete-directory (Bug#7011).
4837 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4839 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4842 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4844 * emacs-lisp/package.el (package--generate-package-list): Make the
4845 *Packages* buffer read-only.
4847 2010-10-24 Alan Mackenzie <acm@muc.de>
4849 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4850 result of `c-beginning-of-decl-1' between invocations of a lambda
4851 function (Bug #7265).
4853 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4855 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4856 executable is not available on the system (Bug#7268).
4858 2010-10-24 Glenn Morris <rgm@gnu.org>
4860 * select.el (selection-coding-system, next-selection-coding-system):
4861 Sync doc with C versions.
4863 * w32-vars.el (x-select-enable-clipboard):
4864 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4865 * term/common-win.el (x-select-enable-clipboard): Move here.
4867 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4868 definition of C variable.
4870 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4871 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4872 Don't redefine things that are defined in C.
4873 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4874 (show-trailing-whitespace, auto-hscroll-mode)
4875 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4876 Set up the appropriate custom properties.
4878 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4881 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4882 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4883 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4884 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4886 2010-10-23 Glenn Morris <rgm@gnu.org>
4888 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4891 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4892 Sync docs with C version.
4894 * term/ns-win.el (xw-defined-colors):
4895 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4897 * term/pc-win.el (x-select-enable-clipboard):
4898 * term/x-win.el (x-select-enable-clipboard):
4899 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4901 * comint.el (comint-password-prompt-regexp): Make it less vague.
4904 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4906 * help.el (finder-by-keyword): Remove unnecessary autoload.
4908 2010-10-22 Glenn Morris <rgm@gnu.org>
4910 * loadup.el: Unconditionally load float-sup.
4911 * paren.el (show-paren-delay):
4912 * emacs-lisp/float-sup.el:
4913 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4914 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4915 (lazy-lock-stealth-verbose): Assume float support.
4916 * ps-print.el: Assume float support on Emacs.
4917 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4918 Remove non-float branch.
4920 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4921 src/Makefile no longer being pre-processed.
4923 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4925 * emacs-lisp/find-func.el (find-library): Use test-completion.
4927 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4929 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4931 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4933 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4934 space in stat format string.
4935 (tramp-send-command): Unset $PS1 when using here documents, in
4936 order not to get several prompts.
4937 (tramp-get-inline-coding): Return `nil' in case of errors.
4939 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4941 * hexl.el (hexl-mode, hexl-mode-exit):
4942 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4943 (hexl-revert-buffer-function): New function.
4944 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4946 2010-10-19 Alan Mackenzie <acm@muc.de>
4948 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4949 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4950 that these keywords aren't wrongly matched as identifiers.
4952 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4953 setting of c-new-BEG and c-new-END from c-before-change to
4954 c-after-change. (Bug#7181)
4956 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4958 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4961 * custom.el (custom-theme-set-variables): Likewise.
4962 (load-theme): Add custom-theme-set-faces and
4963 custom-theme-set-variables to safe-functions while loading.
4964 (custom-enabled-themes): Mark as risky.
4966 2010-10-18 Julien Danjou <julien@danjou.info>
4968 * bindings.el: Remove end dashes in default mode-line-format.
4970 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4972 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4973 to delete-forward-char.
4975 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4976 deletechar, and hence delete-forward-char.
4978 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4980 * repeat.el (repeat): Use read-key (bug#6256).
4982 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4984 * emacs-lisp/unsafep.el: Don't mark functions that display
4985 messages as safe. Suggested by Johan Bockgård.
4987 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4989 * minibuffer.el (completion--replace): Move point where it belongs
4990 when there's a common suffix (bug#7215).
4992 2010-10-19 Kenichi Handa <handa@m17n.org>
4994 * international/characters.el: Add category '|' (word breakable)
4995 to fullwidth characters.
4997 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4999 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5000 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5001 order to make stat results a float. Patch by Andreas Schwab
5002 <schwab@linux-m68k.org>.
5004 2010-10-18 Julien Danjou <julien@danjou.info>
5006 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5007 hidden by `make-pointer-invisible'.
5009 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5011 * files.el (locate-file-completion-table): Strip non-matching elements
5012 before checking length of list (bug#7238).
5014 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5016 * custom.el (custom-theme-set-variables): Mark as a safe function.
5017 (load-theme): Check forms using unsafep.
5019 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5021 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5023 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5024 Fix aspell data file searching (bug#7230).
5026 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5028 * cus-theme.el (custom-theme--migrate-settings): New var.
5029 (customize-create-theme): Allow editing the `user' theme.
5030 (custom-theme-add-variable, custom-theme-add-var-1)
5031 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5032 to the front of each variable or face widget.
5033 (custom-theme-write): Save theme settings in the correct order.
5034 Optionally, remove saved settings from user customizations.
5035 (custom-theme-write-variables, custom-theme-write-faces):
5036 Save only the checked widgets.
5037 (customize-themes): Add a link for migrating custom settings.
5039 * custom.el (custom-declare-theme, provide-theme):
5040 Use custom-theme-name-valid-p.
5041 (custom-theme-name-valid-p): Remove checks that are now
5042 unnecessary since themes no longer obey load-path.
5044 * cus-edit.el (custom-variable-value-create): For the simple
5045 style, hide documentation string when hidden.
5047 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5049 * cus-edit.el (custom-variable, custom-face): Combine the
5050 :inhibit-magic and :display-style properties into a single
5051 :custom-style property.
5052 (custom-toggle-hide-variable, custom-toggle-hide-face):
5053 New functions. If hiding an edited value, save it to :shown-value.
5054 (custom-variable-value-create, custom-face-value-create): Use them.
5055 (custom-magic-reset): Allow magic property to be unset.
5057 * custom.el: Custom themes no longer use load-path.
5058 (custom-theme-load-path): New option. Change built-in theme
5060 (custom-enabled-themes): Add custom-theme-load-path dependency.
5061 (custom-theme--load-path): New function.
5062 (load-theme, custom-available-themes): Use it.
5064 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5065 (customize-themes): Link to custom-theme-load-path variable.
5066 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5067 :custom-style property.
5069 * themes/*.el: Moved to etc/.
5071 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5073 * textmodes/reftex-cite.el
5074 (reftex-extract-bib-entries-from-thebibliography): Do not move
5075 point when searching for \bibitem entries. Match entries with
5076 spaces or tabs in front of arguments.
5078 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5080 * cus-theme.el (customize-create-theme): Delete overlays after
5081 erasing. If given a THEME arg, display only the faces of that arg
5082 instead of custom-theme--listed-faces.
5083 (custom-theme-variable-menu, custom-theme-variable-action)
5084 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5085 (custom-theme-add-variable, custom-theme-add-face): Apply value
5086 from the theme settings, instead of the current value.
5087 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5088 (custom-theme-visit-theme): Allow calling outside theme buffers.
5089 (custom-theme-merge-theme): Don't enable the theme when merging.
5090 (custom-theme-write-variables, custom-theme-write-faces): Use the
5091 :shown-value properties to save buffer values, not global ones.
5092 (customize-themes): Display a warning about user customizations.
5094 * cus-edit.el (custom-variable-value-create)
5095 (custom-face-value-create): Obey new special properties
5096 :shown-value and :inhibit-magic.
5098 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5100 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5101 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5104 2010-10-14 Kenichi Handa <handa@m17n.org>
5106 * mail/rmail.el (rmail-show-message-1): Catch an error of
5107 base64-decode-region and just show an error message (bug#7165).
5109 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5110 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5111 a font-spec (bug#7197).
5113 2010-10-14 Glenn Morris <rgm@gnu.org>
5115 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5117 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5119 * international/mule.el (define-coding-system):
5120 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5121 * composite.el (compose-region): Fix typo in docstring.
5123 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5125 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5126 only after checking the theme-face property.
5128 * faces.el (face-spec-reset-face): Reset all attributes in one
5129 single call to set-face-attribute.
5130 (face-spec-match-p): Make it a defsubst.
5131 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5132 (x-create-frame-with-faces, tty-create-frame-with-faces)
5133 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5134 frame-set-background-mode, since they are recomputed immediately
5135 afterwards in face-set-after-frame-default.
5136 (face-set-after-frame-default): Minor optimization.
5137 (cursor): Provide non-trivial defface spec.
5139 * custom.el (custom-theme-recalc-face): Simplify.
5141 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5143 * calc/calc-alg.el (math-var): Rename from `var'.
5144 (math-is-polynomial, math-is-poly-rec): Replace `var'
5147 * calc/calcalg2.el (math-var): Rename from `var'.
5148 (calcFunc-table, math-scan-for-limits): Replace `var'
5151 2010-10-13 Glenn Morris <rgm@gnu.org>
5153 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5155 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5157 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5159 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5161 * net/tls.el (tls-program): Remove spurious %s from openssl.
5162 (tls-starttls-switches): Remove starttls hack.
5163 (open-tls-stream): Ditto.
5164 (tls-find-starttls-argument): Ditto.
5166 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5168 * image.el (image-library-alist): Declare as obsolete alias.
5169 (image-type-available-p): Use `dynamic-library-alist'.
5171 * term/w32-win.el (dynamic-library-alist):
5172 Use instead of `image-library-alist'.
5174 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5176 * subr.el (last): Make it faster. (Bug#7174)
5178 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5180 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5182 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5184 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5185 (describe-theme-1): Extract doc from unloaded themes.
5187 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5189 * themes/tango-theme.el:
5190 * themes/tango-dark-theme.el:
5191 * themes/wheatgrass-theme.el: New files.
5193 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5195 * cus-theme.el (describe-theme, customize-themes)
5196 (custom-theme-save): New commands.
5197 (custom-new-theme-mode-map): Bind C-x C-s.
5198 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5199 (customize-create-theme): New optional arg THEME.
5200 (custom-theme-revert): Use it.
5201 (custom-theme-visit-theme): Remove dead code.
5202 (custom-theme-merge-theme): Use custom-available-themes.
5203 (custom-theme-write): Make interactive.
5204 (custom-theme-write): Use custom-theme-name-valid-p.
5205 (describe-theme-1, custom-theme-choose-revert)
5206 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5208 (custom-theme-allow-multiple-selections): New option.
5209 (custom-theme-choose-mode): New major mode.
5211 * custom.el (custom-theme-set-variables): Remove dead code.
5212 Obey custom--inhibit-theme-enable.
5213 (custom--inhibit-theme-enable): New var.
5214 (provide-theme): Obey it.
5215 (load-theme): Replace load with manual read/eval, in order to
5216 check for correctness. Use custom-theme-name-valid-p.
5217 (custom-theme-name-valid-p): New function.
5218 (custom-available-themes): Use it.
5220 * cus-edit.el (custom--initialize-widget-variables): New function.
5221 (Custom-mode): Use it.
5223 * cus-face.el (custom-theme-set-faces): Remove dead code.
5224 Obey custom--inhibit-theme-enable.
5226 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5228 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5230 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5232 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5234 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5235 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5236 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5238 * cus-start.el (all): ns-right-alternate-modifier is new.
5240 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5242 * emacs-lisp/lisp.el (lisp-completion-at-point):
5243 Use emacs-lisp-mode-syntax-table for the whole function.
5245 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5247 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5248 instead of font-lock-mode before adding keywords.
5249 Remove hi-lock-mode off code. Remove inhibit hack.
5250 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5251 non-nil; removed hook inhibit hack.
5253 2010-10-12 Glenn Morris <rgm@gnu.org>
5255 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5256 (load-path-shadows-find): ... to this.
5257 (list-load-path-shadows): Update for above change.
5259 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5261 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5263 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5264 Fix comment for declare-function.
5266 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5268 * custom.el (custom-fix-face-spec): New function; code moved from
5269 custom-face-edit-fix-value.
5270 (custom-push-theme): Use it when checking if a face has been
5271 changed outside customize.
5272 (custom-available-themes): New function.
5273 (load-theme): Use it.
5275 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5277 * custom.el (custom-push-theme): Cleanup (use cond).
5278 (disable-theme): Recompute the saved-face property.
5279 (custom-theme-recalc-face): Follow face alias before setting prop.
5281 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5282 New variables, containing checkbox images.
5284 * startup.el (fancy-startup-tail):
5285 * wid-edit.el (checkbox): Use them.
5287 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5289 * shell.el (shell-mode-map):
5290 * progmodes/modula2.el (m2-mode-map):
5291 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5292 * play/mpuz.el (mpuz-mode-map):
5293 * play/landmark.el (lm-mode-map):
5294 * play/decipher.el (decipher-mode-map):
5295 * play/5x5.el (5x5-mode-map):
5296 * net/telnet.el (telnet-mode-map):
5297 * net/quickurl.el (quickurl-list-mode-map):
5298 * net/mairix.el (mairix-searches-mode-map):
5299 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5300 * net/dig.el (dig-mode-map):
5301 * mail/mspools.el (mspools-mode-map):
5302 * hexl.el (hexl-mode-map):
5303 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5304 (wordstar-C-o-map, wordstar-C-q-map):
5305 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5306 * emacs-lisp/chart.el (chart-map):
5307 * edmacro.el (edmacro-mode-map):
5308 * erc/erc-list.el (erc-list-menu-mode-map):
5309 * array.el (array-mode-map): Declare and define in one step.
5311 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5313 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5315 * epa.el (epa-passphrase-callback-function): Display filename
5316 passed as the 3rd arg.
5317 * epa-file.el (epa-file-passphrase-callback-function):
5318 Pass filename to epa-passphrase-callback-function.
5320 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5322 * cus-edit.el (custom-face-widget-to-spec)
5323 (custom-face-get-current-spec, custom-face-state): New functions.
5324 (custom-face-set, custom-face-mark-to-save)
5325 (custom-face-value-create, custom-face-state-set): Use them.
5327 * cus-theme.el (custom-theme--listed-faces): New var.
5328 (customize-create-theme): Use *Custom Theme* as the buffer name.
5329 Set revert-buffer-function. Optional arg BUFFER. Insert all
5330 faces listed in custom-theme--listed-faces.
5331 (custom-theme-revert): New function.
5332 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5334 (custom-theme-write): Prompt for theme name if empty.
5335 (custom-theme-write-variables): Use dolist.
5336 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5338 2010-10-09 Alan Mackenzie <acm@muc.de>
5340 Enhance fontification of declarators to take account of the
5341 presence/absence of "typedef".
5343 * cc-engine.el (c-forward-type): New &optional param
5345 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5346 presence of either or both of a "struct"-like keyword and "typedef".
5348 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5349 fontification of declarators which follow a "}".
5350 (c-font-lock-declarations): Fontify declarators according to the
5351 presence/absence of "typedef".
5353 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5355 (c-typedef-decl-key): New lang variable built from
5356 c-typedef-decl-kwds.
5358 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5360 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5361 since that's too annoying. Move the filter groups commands to
5364 * epa.el (epa-passphrase-callback-function): Say what we're
5365 querying the password for.
5367 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5368 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5370 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5372 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5373 (custom-magic-value-create): Pad button tags with spaces.
5374 (custom-face-edit): New variable.
5375 (custom-face-value-create): Determine whether to use the usual
5376 face editor here, instead of using custom-face-selected.
5377 Pass face defaults to custom-face-edit widget.
5378 (custom-face-selected, custom-display-unselected): Delete widgets.
5379 (custom-display-unselected-match): Function removed.
5380 (custom-face-set, custom-face-mark-to-save):
5381 Accept custom-face-edit widgets as the direct widget child.
5383 * wid-edit.el (widget--completing-widget): New var.
5384 (widget-default-complete): Bind it when doing completion.
5385 (widget-string-complete, widget-file-complete): Use it.
5387 2010-10-09 Glenn Morris <rgm@gnu.org>
5389 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5390 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5391 (holiday-hebrew-misc): Small simplifications.
5393 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5395 * net/browse-url.el: Don't require thingatpt, term, dired,
5396 executable, or w3-auto when compiling.
5397 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5399 (browse-url-text-emacs): Require term.
5401 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5403 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5405 2010-10-08 Glenn Morris <rgm@gnu.org>
5407 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5409 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5410 (shadows-compare-text-p): Make it an obsolete alias for...
5411 (load-path-shadows-compare-text): ... new name.
5412 (find-emacs-lisp-shadows): Update for above name change.
5413 (load-path-shadows-same-file-or-nonexistent): New name for the old
5414 shadow-same-file-or-nonexistent.
5416 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5418 * minibuffer.el (completion--some, completion--do-completion)
5419 (minibuffer-complete-and-exit, minibuffer-completion-help)
5420 (completion-basic-try-completion)
5421 (completion-basic-all-completions)
5422 (completion-pcm--find-all-completions): Use lexical-let to
5423 avoid some false matches in variable completion (Bug#7056)
5425 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
5427 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
5429 2010-10-08 Leo <sdl.web@gmail.com>
5431 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5432 return non-nil if the file exists (Bug#7090).
5434 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5436 * minibuffer.el (completion--replace):
5437 Better preserve markers (bug#7138).
5439 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
5441 * server.el (server-process-filter): Doc fix.
5443 2010-10-08 Drew Adams <drew.adams@oracle.com>
5445 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
5447 2010-10-08 Glenn Morris <rgm@gnu.org>
5449 * vc/ediff-wind.el (ediff-setup-control-frame):
5450 * vc/ediff-ptch.el (ediff-default-backup-extension):
5451 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5452 (ediff-exec-process): Remove system-types emx, windows-95.
5454 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
5456 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
5458 * cus-edit.el (custom-variable, custom-face): Doc fix.
5459 (custom-face-edit): Add value-create attribute.
5460 (custom-face-edit-value-create)
5461 (custom-face-edit-value-visibility-action): New functions.
5462 Hide unused face attributes by default, and add a visibility toggle.
5463 (custom-face-edit-deactivate): Show empty values with shadow face.
5464 (custom-face-selected): Only use this for face specs with default
5466 (custom-face-value-create): Cleanup.
5468 * wid-edit.el (widget-checklist-value-create): Use dolist.
5469 (widget-checklist-match-find): Make second arg optional.
5471 2010-10-07 Glenn Morris <rgm@gnu.org>
5473 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5476 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5477 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5478 load-path-shadows-mode, update references.
5479 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5480 Rename variable and button.
5481 (list-load-path-shadows): Update button caller.
5483 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5485 * emacs-lisp/smie.el (smie-bnf-classify): New function.
5486 (smie-bnf-precedence-table): Use it to remember the closers/openers.
5487 (smie-merge-prec2s): Handle those new entries.
5488 (smie-prec2-levels): Only set precedence to nil for actual
5490 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5491 that is now unnecessary.
5493 2010-10-07 Miles Bader <miles@gnu.org>
5495 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5497 2010-10-07 Glenn Morris <rgm@gnu.org>
5499 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5500 (mail-position-on-field): Remove declarations.
5501 (mail-position-on-field): Autoload it.
5502 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5503 and mail-header-end. Don't require sendmail.
5505 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5506 (shadow-mode): New mode.
5507 (shadow-find-file): New button.
5508 (list-load-path-shadows): Use shadow-mode and buttons.
5510 * iimage.el (iimage-version): Remove.
5511 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5512 Turn into defcustoms.
5513 (iimage-mode-map): Give it a doc string.
5515 * calendar/appt.el (appt-activate): Give a warning rather than an error
5516 if there is no diary-file.
5518 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
5520 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5521 Use `tramp-handle-find-backup-file-name'.
5523 2010-10-06 Glenn Morris <rgm@gnu.org>
5525 * font-core.el (font-lock-defaults-alist): Remove variable.
5526 (font-lock-mode): Doc fix.
5527 (font-lock-default-function): Do not consult font-lock-defaults-alist.
5528 * font-lock.el (font-lock-refresh-defaults): Doc fix.
5529 (font-lock-set-defaults): Doc fix.
5530 Do not consult font-lock-defaults-alist.
5532 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5534 * emacs-lisp/cl.el: No longer provide cl-19.
5536 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
5538 * net/tramp.el (tramp-handle-directory-files-and-attributes)
5539 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5540 New defuns, taken from tramp-smb.el.
5541 (tramp-coding-system-change-eol-conversion)
5542 (tramp-set-process-query-on-exit-flag): Remove.
5544 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5545 (tramp-compat-coding-system-change-eol-conversion)
5546 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5549 * net/tramp-gvfs.el:
5550 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5551 by `tramp-compat-set-process-query-on-exit-flag'.
5553 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5554 Use `tramp-handle-directory-files-and-attributes',
5555 `tramp-handle-file-exists-p' and
5556 `tramp-handle-file-newer-than-file-p'.
5557 (tramp-imap-handle-file-exists-p)
5558 (tramp-imap-handle-file-executable-p)
5559 (tramp-imap-handle-file-readable-p)
5560 (tramp-imap-handle-directory-files-and-attributes)
5561 (tramp-imap-handle-file-newer-than-file-p): Remove.
5563 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5564 by `tramp-compat-set-process-query-on-exit-flag' and
5565 `tramp-coding-system-change-eol-conversion' by
5566 `tramp-compat-coding-system-change-eol-conversion'.
5568 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5569 Use `tramp-handle-directory-files-and-attributes',
5570 `tramp-handle-file-exists-p' and
5571 `tramp-handle-file-newer-than-file-p'.
5572 (tramp-smb-handle-directory-files-and-attributes)
5573 (tramp-smb-handle-file-exists-p)
5574 (tramp-smb-handle-file-newer-than-file-p): Remove.
5575 (tramp-smb-maybe-open-connection):
5576 Replace `tramp-set-process-query-on-exit-flag' by
5577 `tramp-compat-set-process-query-on-exit-flag'.
5579 2010-10-05 Glenn Morris <rgm@gnu.org>
5581 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5583 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5585 Continue reorganization of load dependencies. (Bug#7156)
5587 * net/tramp.el (tramp-handle-file-local-copy-hook)
5588 (tramp-delete-temp-file-function): Move down.
5589 (tramp-exists-file-name-handler): Move up.
5590 (tramp-register-file-name-handlers): Simplify autoload.
5591 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5592 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5593 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5594 (tramp-handle-file-name-completion)
5595 (tramp-handle-file-name-directory)
5596 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5597 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5598 (tramp-handle-find-backup-file-name)
5599 (tramp-handle-insert-file-contents, tramp-handle-load)
5600 (tramp-handle-substitute-in-file-name)
5601 (tramp-handle-unhandled-file-name-directory)
5602 (tramp-mode-string-to-int, tramp-local-host-p)
5603 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5605 * net/tramp-gvfs.el (top):
5606 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5608 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5609 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5611 2010-10-04 Glenn Morris <rgm@gnu.org>
5613 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5614 (appt-activate): Give status messages.
5616 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5618 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5619 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5620 `gnutls-negotiate' (formerly `starttls-negotiate').
5621 Remove trivial wrapper `starttls-open-stream'.
5623 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5625 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5626 log-outgoing commands.
5627 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5628 to create a buffer local revert-buffer-function variable.
5629 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5630 revert-buffer-function lambda.
5632 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5634 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5635 `gnutls-boot'. Make TYPE the only required parameter.
5636 Allow TRUSTFILES and KEYFILES to be lists.
5637 (open-ssl-stream): Use it.
5639 2010-10-03 Glenn Morris <rgm@gnu.org>
5641 * subr.el (directory-sep-char): Remove obsolete variable.
5642 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5645 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5646 * vc/vc.el (vc-static-header-alist): Doc fix.
5647 * vc/vc-cvs.el (vc-cvs-header):
5648 * vc/vc-rcs.el (vc-rcs-header):
5649 * vc/vc-sccs.el (vc-sccs-header):
5650 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5651 * obsolete/vc-mcvs.el (vc-mcvs-header):
5652 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5655 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5657 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5658 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5660 2010-10-03 Glenn Morris <rgm@gnu.org>
5662 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5664 * textmodes/rst.el (rst-font-lock-keywords-function):
5667 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5669 * printing.el: Drop Emacs 20 code.
5671 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5672 without having used appt.el already).
5674 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5675 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5676 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5678 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5679 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5681 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5682 (charset-width, find-charset-region, chars-in-region, forward-point)
5683 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5684 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5685 Remove compatibility cruft (none of these are used by ps*.el).
5687 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5689 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5691 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5693 * server.el (server-process-filter, server-return-error):
5694 Give emacsclient time to shut down after receiving an error string.
5696 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5698 * files.el (remote-file-name-inhibit-cache): New defcustom.
5700 * time.el (display-time-file-nonempty-p):
5701 Use `remote-file-name-inhibit-cache'.
5703 * net/tramp.el (tramp-completion-reread-directory-timeout):
5706 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5707 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5708 `remote-file-name-inhibit-cache'. Check also for an integer
5709 value. Add/increase counter when `tramp-verbose' >= 10.
5710 (tramp-set-file-property): Add/increase counter when
5711 `tramp-verbose' >= 10.
5713 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5714 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5715 (tramp-bug): Set tramp-autoload cookie. Report all interned
5716 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5717 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5718 characters only in strings.
5720 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5721 to backward compatibility.
5723 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5724 (tramp-handle-file-name-all-completions)
5725 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5726 (tramp-open-connection-setup-interactive-shell):
5727 Call `tramp-cleanup-connection' directly.
5729 2010-10-02 Glenn Morris <rgm@gnu.org>
5731 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5733 * subr.el (char-bytes): Remove obsolete function.
5735 * isearch.el (isearch-return-char): Remove obsolete function.
5737 * mouse.el: No longer provide mldrag.
5738 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5739 Remove obsolete aliases.
5741 * comint.el (comint-kill-output): Remove obsolete alias.
5743 * composite.el (decompose-composite-char): Remove obsolete function.
5744 * ps-def.el (decompose-composite-char): Remove unused function.
5746 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5748 * outline.el (outline-visible): Remove obsolete function.
5750 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5751 * faces.el (internal-find-face, internal-get-face)
5752 (frame-update-faces, frame-update-face-colors)
5753 (x-frob-font-weight, x-frob-font-slant)
5754 (internal-frob-font-weight, internal-frob-font-slant)
5755 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5756 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5757 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5759 * emulation/viper-util.el (viper-get-face):
5760 * obsolete/lucid.el (find-face, get-face): Use facep.
5761 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5762 Remove unused functions.
5763 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5765 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5766 delete tempfile if interrupted during compilation.
5768 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5770 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5772 (tls-program): Add --insecure to be consistent with the defaults from
5773 openssl s_client. Now all three commands are insecure.
5775 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5777 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5778 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5779 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5781 2010-10-01 Glenn Morris <rgm@gnu.org>
5783 * obsolete/sc.el: Remove file.
5785 * files.el (temporary-file-directory): On darwin, also try
5786 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5788 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5790 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5791 Let's not break compatibility gratuitously, shall we?
5793 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5795 * net/tls.el (tls-starttls-switches): New variable.
5796 (tls-find-starttls-argument): Use it.
5797 (open-tls-stream): Ditto.
5799 * net/netrc.el (netrc-credentials): Return the value of the "default"
5801 (netrc-machine): Ditto.
5803 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5805 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5807 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5809 * server.el (server-start): Don't write pid to the authentication file.
5810 (server-create-tty-frame): Don't send pid.
5811 (server-process-filter): Send pid at the start of every connection.
5813 2010-09-30 Glenn Morris <rgm@gnu.org>
5815 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5816 (show-all-diary-entries): Remove obsolete function aliases.
5818 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5819 Remove options, obsolete since 22.1.
5820 (appt-display-format, appt-display-message):
5821 Remove backwards-compatibility code.
5822 (appt-check): No longer check appt-issue-message.
5823 (appt-make-list): No longer autoload it. Doc fix. No longer
5824 activate the package.
5826 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5828 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5829 (starttls-negotiate): Just call boot, and let the handshake be
5830 triggered from the read loop.
5832 2010-09-29 Glenn Morris <rgm@gnu.org>
5834 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5835 not displaying the diary.
5836 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5837 * calendar/appt.el (appt-check): No longer need to kill diary.
5839 * calendar/diary-lib.el (diary-list-entries): Move the
5840 "Preparing..." message entirely here.
5841 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5842 messages to diary-list-entries.
5843 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5844 diary-display-function.
5846 * calendar/diary-lib.el (diary-include-other-diary-files):
5847 Trap some recursive includes.
5849 * calendar/appt.el (appt-activate): Check diary file.
5851 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5853 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5856 * calendar/time-date.el: No need to require cl for Emacs 21.
5858 2010-09-28 Glenn Morris <rgm@gnu.org>
5860 * calendar/appt.el (appt-check): Minor simplification.
5862 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5864 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5867 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5869 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5870 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5872 2010-09-27 Kenichi Handa <handa@m17n.org>
5874 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5877 2010-09-27 Kenichi Handa <handa@m17n.org>
5879 * international/mule.el (define-coding-system): Docstring fixed.
5881 * international/mule-diag.el (describe-character-set): Use princ
5882 with proper print-length and print-level instead of insert.
5884 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5886 * window.el (walk-windows): Doc fix (bug#7105).
5888 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5890 * emacs-lisp/float-sup.el (e): Remove.
5892 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5894 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5896 (starttls-negotiate): Use it.
5898 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5900 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5903 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5905 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5907 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5909 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5911 * net/netrc.el (netrc-store-data): New function.
5913 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5915 * net/gnutls.el: GnuTLS glue code to set up a connection.
5917 2010-09-25 Julien Danjou <julien@danjou.info>
5919 * notifications.el: Call dbus-register-signal only if it is bound.
5921 2010-09-25 Glenn Morris <rgm@gnu.org>
5923 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5924 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5925 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5926 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5927 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5928 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5929 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5930 * eshell/esh-util.el, eshell/esh-var.el:
5931 Remove leading `*' from docs of faces and defcustoms.
5933 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5935 * eshell/em-ls.el (eshell-ls-archive-regexp):
5936 * eshell/esh-util.el (eshell-tar-regexp):
5937 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5938 * info.el (Info-suffix-list):
5939 * international/mule.el (auto-coding-alist):
5940 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5941 * progmodes/etags.el (tags-compression-info-list):
5942 Support xz compression.
5944 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5946 * files.el (get-free-disk-space): Don't assume the "df" output
5947 columns line up (Bug#6995).
5949 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5951 * finder.el (finder-unknown-keywords):
5952 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5953 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5955 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5957 * server.el (server-start): Revert part of 2010-08-08 change. Using
5958 address 127.0.0.1 for local host is now done in Fmake_network_process.
5960 2010-09-24 Glenn Morris <rgm@gnu.org>
5962 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5963 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5964 * textmodes/css-mode.el, textmodes/dns-mode.el:
5965 Move autoloaded auto-mode-alist entries to files.el.
5966 * files.el (auto-mode-alist): Move entries here.
5968 2010-09-23 Glenn Morris <rgm@gnu.org>
5970 * isearch.el (isearch-lazy-highlight-cleanup)
5971 (isearch-lazy-highlight-initial-delay)
5972 (isearch-lazy-highlight-interval)
5973 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5974 * net/net-utils.el (ipconfig-program-options):
5975 Move aliases to options before the associated definitions.
5977 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5979 * newcomment.el (comment-normalize-vars): Better test validity of
5982 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5984 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5985 (float-e): New name for `e'.
5986 (degrees-to-radians, radians-to-degrees):
5987 * calendar/solar.el (solar-longitude):
5988 * calculator.el (calculator-registers, calculator-funcall):
5989 * textmodes/artist.el (artist-spray-random-points):
5990 * play/bubbles.el (bubbles--initialize-images): Use new names.
5992 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5994 Update to CEDET 1.0's version of EIEIO.
5996 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5998 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5999 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6000 (class-precedence-list): If class is nil, return nil.
6001 (eieio-generic-call): If class of first input arg is nil, don't
6002 look up static methods, and do check for primary methods.
6003 (initialize-instance): See if the default needs to be evaluated
6004 during the constructor.
6005 (eieio-perform-slot-validation-for-default): Don't do the check
6006 for values that will eventually be evaluated.
6007 (eieio-eval-default-p): New function.
6008 (eieio-default-eval-maybe): Use it.
6010 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6012 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6013 method-invocation-order.
6014 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6015 (eieio-class-precedence-dfs): Compute class precedence list using
6017 (eieio-class-precedence-bfs): Compute class precedence list using
6019 (eieio-class-precedence-c3): Compute class precedence list using
6021 (class-precedence-list): New function.
6022 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6023 (inconsistent-class-hierarchy): New error symbol.
6024 (call-next-method): Stow the replacement argument list for future
6025 call-next-method invocations.
6027 2010-09-23 Glenn Morris <rgm@gnu.org>
6029 * calendar/appt.el (appt-check): If not displaying the diary,
6030 use (diary 1) to only get the entries we need.
6031 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6032 that it is in day order. (Bug#7019)
6034 * calendar/appt.el (appt-check): Rather than showing the diary,
6035 just turn off invisible display, and only if needed.
6037 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6039 2010-09-23 Glenn Morris <rgm@gnu.org>
6041 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6042 (byte-compile-defvar, byte-compile-cl-warn):
6043 Start warnings with lower-case, like the majority.
6045 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6047 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6049 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6050 * files.el (auto-mode-alist): Move ld-script entries here, further down
6053 * vc/add-log.el: Don't require timezone when compiling.
6054 (timezone-make-date-sortable): Autoload it.
6055 (change-log-sortable-date-at): Don't require timezone.
6056 Use `ignore-errors'.
6058 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6059 Move alias before definition, so it does not need autoloading.
6061 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6062 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6063 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6064 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6065 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6066 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6067 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6068 * textmodes/tex-mode.el, textmodes/two-column.el:
6069 Remove leading `*' from docs of defcustoms etc.
6071 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6073 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6075 2010-09-22 Dan Christensen <jdc@uwo.ca>
6077 * calendar/time-date.el (date-to-time): Try using parse-time-string
6078 first before using the slower timezone-make-date-arpa-standard.
6080 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6082 * calendar/time-date.el (format-seconds): Comment fix.
6084 2010-09-22 Glenn Morris <rgm@gnu.org>
6086 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6087 is not automatically buffer-local.
6089 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6091 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6092 (smie-indent-comment): Be more careful with comment-start-skip.
6093 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6094 (smie-indent-functions): Use them.
6096 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6098 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6100 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6102 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6103 tool-bar-position. Don't modify frame parameters here.
6104 (menu-bar-options-save): Add tool-bar-position.
6106 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6108 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6110 * textmodes/reftex-parse.el (reftex-what-macro)
6111 (reftex-context-substring): Let-bind forward-sexp-function to nil
6112 since we don't need/want to treat \begin...\end as a block (bug#7053).
6114 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6116 * simple.el (blink-matching-open): Use syntax-class.
6118 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6119 Set invisibility spec for pascal's outline mode.
6120 (pascal-outline-change): Clean up calling convention.
6121 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6123 * progmodes/prolog.el (prolog-smie-forward-token)
6124 (prolog-smie-backward-token): New functions.
6125 (prolog-mode-variables): Use them to parse "!," correctly.
6126 Set up smie-blink-matching for ".".
6128 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6130 (ispell-region, ispell-process-line): Update users.
6132 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6135 * textmodes/ispell.el: Fix commenting convention.
6136 (ispell-parse-output): Simplify, use push.
6137 (ispell-region): Use match-string-no-properties.
6138 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6139 (ispell-minor-mode): Use define-minor-mode.
6140 (ispell-message): Remove unused var `skip-regexp'.
6141 (ispell-add-per-file-word-list): Use dynamic let-binding.
6142 Try and use the proper comment marker.
6144 * mail/sendmail.el: Fix commenting convention.
6145 (sendmail-send-it): Use line-beginning-position.
6147 * help-fns.el (describe-variable): Add original value, if applicable.
6149 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6151 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6153 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6155 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6157 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6158 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6159 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6160 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6161 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6162 something like "." can also be a closer.
6163 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6164 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6165 Rename internal functions to use "--". Update callers.
6167 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6169 * fringe.el (fringe-styles): New var.
6170 (fringe-mode, fringe-query-style): Use it.
6172 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6174 * progmodes/sql.el: Version 2.8
6175 (sql-login-params): Update widget structure; changes still needed.
6176 (sql-product-alist): Add :list-all and :list-table features for
6177 SQLite, Postgres and MySQL products.
6178 (sql-redirect): Handle default value.
6179 (sql-execute, sql-execute-feature): New functions.
6180 (sql-read-table-name): New function.
6181 (sql-list-all, sql-list-table): New functions. User API.
6182 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6183 for above functions.
6184 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6185 for above functions.
6186 (sql-postgres-login-params): Add user and database defaults.
6187 (sql-buffer-live-p): Bug fix.
6188 (sql-product-history): New variable.
6189 (sql-read-product): New function. Use it.
6190 (sql-set-product, sql-product-interactive): Use it.
6191 (sql-connection-history): New variable.
6192 (sql-read-connection): New function. Use it.
6193 (sql-connect): New function.
6194 (sql-for-each-login): Redesign function interface.
6195 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6196 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6197 (sql-comint): Check for program. Existing live buffer.
6198 (sql-comint-postgres): Add port parameter.
6200 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6202 * emacs-lisp/warnings.el: Fix commenting convention.
6203 (display-warning): Use special mode and make the buffer read-only.
6205 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6207 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6208 empty string when it follows a repeated or optional pattern.
6210 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6212 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6213 (indent-region): Use indent-according-to-mode.
6215 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6217 * fringe.el (fringe-mode): Doc fix.
6219 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6221 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6222 refreshing the preview buffer.
6224 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6226 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6227 (latex-syntax-propertize-rules): New consts; replace
6228 tex-font-lock-syntactic-keywords.
6229 (tex-env-mark, latex-env-before-change): New functions.
6230 (latex-electric-env-pair-mode): New minor mode.
6231 (tex-font-lock-verb): Change arguments; do move point.
6232 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6233 representation as a form of comment.
6234 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6235 (doctex-syntax-propertize-rules): New const; replaces
6236 doctex-font-lock-syntactic-keywords.
6237 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6239 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6240 (fortran-make-syntax-propertize-function): New function; replaces
6241 fortran-font-lock-syntactic-keywords.
6242 (fortran-mode): Use it.
6243 (fortran-line-length): Use it. Improve interactive spec.
6245 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6246 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6247 when adding surrounding \(..\).
6249 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6251 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6253 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6254 Use with-current-buffer.
6256 * isearch.el (isearch-face): Rename from `isearch'.
6257 (isearch-highlight): Use new name.
6259 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6261 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6262 5, for `half' width fringes. (Bug#6933)
6264 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6266 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6267 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6269 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6271 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6273 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6274 in calculating new frame position. Add more space between new and
6275 parent on the left (Bug#7048).
6277 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6279 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6282 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6284 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6286 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6287 obsolete alias for x-selection-value.
6289 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6291 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6293 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6296 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6298 * net/tramp-compat.el (tramp-compat-with-temp-message)
6299 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6300 (tramp-compat-process-put): New defuns.
6302 * net/tramp.el (top):
6303 * net/tramp-gvfs.el (top):
6304 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6306 * net/tramp.el (tramp-progress-reporter-update):
6307 Use `tramp-compat-funcall'.
6309 * net/tramp.el (tramp-process-actions):
6310 * net/tramp-gvfs.el (tramp-handle-vc-registered):
6311 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
6312 (tramp-get-remote-stat, tramp-get-remote-readlink):
6313 Use `tramp-compat-with-temp-message'.
6315 * net/tramp-sh.el (top): Require 'cl.
6316 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6317 (tramp-open-connection-setup-interactive-shell):
6318 Use `tramp-compat-process-put'.
6320 2010-09-15 Alan Mackenzie <acm@muc.de>
6322 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6324 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6326 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6328 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6329 `lexical' for warnings related to lexical scoping.
6330 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6331 global vars which don't have a prefix and could hence affect lexical
6332 scoping in unrelated files.
6334 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6336 * net/imap.el: Revert back to version
6337 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6340 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6342 * obsolete/old-whitespace.el (whitespace-unload-function):
6343 Explicitly pass `obarray' to `unintern' to avoid a warning.
6345 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6347 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6348 Add `when' argument. Update callers.
6350 * subr.el (unintern): Declare the obarray arg mandatory.
6352 2010-09-14 Glenn Morris <rgm@gnu.org>
6354 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6357 * calendar/diary-lib.el (diary-included-files): New variable.
6358 (diary-list-entries): Maybe initialize diary-included-files.
6359 (diary-include-other-diary-files): Append to diary-included-files.
6360 * calendar/appt.el (appt-update-list): Also check the members of
6361 diary-included-files. (Bug#6999)
6362 (appt-check): Doc fix.
6364 2010-09-14 David Reitter <david.reitter@gmail.com>
6366 * simple.el (line-move-visual): Do not truncate goal column to
6367 integer size. (Bug#7020)
6369 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6371 * repeat.el (repeat): Allow repeating when the last event is a click.
6372 Suggested by Drew Adams (bug#6256).
6374 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6376 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6377 Replace setting HGRCPATH to "" by some less invasive --config options.
6379 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6381 * font-lock.el (font-lock-beginning-of-syntax-function):
6384 2010-09-14 Glenn Morris <rgm@gnu.org>
6386 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6387 and tool-bar modes. (Bug#6211)
6388 (menu-bar-mode): Move setting of standard-value after the
6389 minor-mode definition, otherwise it seems to have no effect.
6391 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6393 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6394 Fix typo. (Bug#6976)
6396 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6398 * whitespace.el: Allow cleaning up blanks without blank
6399 visualization (Bug#6651). Adjust help window for
6400 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6401 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6402 (whitespace-style): Add new value 'face. Adjust docstring.
6403 (whitespace-space, whitespace-hspace, whitespace-tab):
6404 Adjust foreground property face.
6405 (whitespace-line-column): Adjust docstring and type declaration.
6406 (whitespace-style-value-list, whitespace-toggle-option-alist)
6407 (whitespace-help-text): Adjust const initialization.
6408 (whitespace-toggle-options, global-whitespace-toggle-options):
6410 (whitespace-display-window, whitespace-interactive-char)
6411 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6412 (whitespace-help-scroll): New fun.
6414 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6416 * calendar/time-date.el (format-seconds): Comment fix.
6418 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
6420 * progmodes/sql.el: Version 2.7.
6421 (sql-buffer-live-p): Improve detection.
6422 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6423 (sql-set-sqli-buffer): Use it.
6424 (sql-product-interactive): Run `sql-set-sqli-hook'.
6425 (sql-rename-buffer): Code cleanup.
6426 (sql-redirect, sql-redirect-value): New functions. More to come.
6428 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
6430 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.
6431 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6432 (TRAMP_SRC): New macro.
6433 ($(lisp)/net/tramp-loaddefs.el): New target.
6435 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
6437 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
6439 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
6441 * net/tramp.el (top): Don't show loading message. Require just
6442 'tramp-compat, everything else is required there.
6443 Use `ignore-errors' where appropriate.
6444 (tramp-inline-compress-start-size, tramp-copy-size-limit)
6445 (tramp-terminal-type, tramp-end-of-output)
6446 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6447 (tramp-completion-function-alist-ssh)
6448 (tramp-completion-function-alist-telnet)
6449 (tramp-completion-function-alist-su)
6450 (tramp-completion-function-alist-putty, tramp-remote-path)
6451 (tramp-remote-process-environment, tramp-sh-extra-args)
6452 (tramp-actions-before-shell, tramp-uudecode)
6453 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6454 (tramp-perl-file-attributes)
6455 (tramp-perl-directory-files-and-attributes)
6456 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6457 (tramp-perl-encode, tramp-perl-decode)
6458 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6459 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6460 (tramp-handle-make-symbolic-link, tramp-handle-load)
6461 (tramp-handle-file-name-as-directory)
6462 (tramp-handle-file-name-directory)
6463 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6464 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6465 (tramp-do-file-attributes-with-ls)
6466 (tramp-do-file-attributes-with-perl)
6467 (tramp-do-file-attributes-with-stat)
6468 (tramp-handle-set-visited-file-modtime)
6469 (tramp-handle-verify-visited-file-modtime)
6470 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6471 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6472 (tramp-handle-file-selinux-context)
6473 (tramp-handle-set-file-selinux-context)
6474 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6475 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6476 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6477 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6478 (tramp-handle-file-ownership-preserved-p)
6479 (tramp-handle-directory-file-name, tramp-handle-directory-files)
6480 (tramp-handle-directory-files-and-attributes)
6481 (tramp-do-directory-files-and-attributes-with-perl)
6482 (tramp-do-directory-files-and-attributes-with-stat)
6483 (tramp-handle-file-name-all-completions)
6484 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6485 (tramp-handle-copy-file, tramp-handle-copy-directory)
6486 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6487 (tramp-do-copy-or-rename-file-via-buffer)
6488 (tramp-do-copy-or-rename-file-directly)
6489 (tramp-do-copy-or-rename-file-out-of-band)
6490 (tramp-handle-make-directory, tramp-handle-delete-directory)
6491 (tramp-handle-delete-file)
6492 (tramp-handle-dired-recursive-delete-directory)
6493 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6494 (tramp-handle-insert-directory)
6495 (tramp-handle-unhandled-file-name-directory)
6496 (tramp-handle-expand-file-name)
6497 (tramp-handle-substitute-in-file-name)
6498 (tramp-handle-executable-find, tramp-process-sentinel)
6499 (tramp-handle-start-file-process, tramp-handle-process-file)
6500 (tramp-handle-call-process-region, tramp-handle-shell-command)
6501 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6502 (tramp-handle-insert-file-contents)
6503 (tramp-handle-insert-file-contents-literally)
6504 (tramp-handle-find-backup-file-name)
6505 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6506 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6507 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6508 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6509 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6510 (tramp-find-file-exists-command, tramp-open-shell)
6511 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6512 (tramp-open-connection-setup-interactive-shell)
6513 (tramp-local-coding-commands, tramp-remote-coding-commands)
6514 (tramp-find-inline-encoding, tramp-call-local-coding-command)
6515 (tramp-inline-compress-commands, tramp-find-inline-compress)
6516 (tramp-compute-multi-hops, tramp-maybe-open-connection)
6517 (tramp-send-command, tramp-wait-for-output)
6518 (tramp-send-command-and-check, tramp-barf-unless-okay)
6519 (tramp-send-command-and-read, tramp-mode-string-to-int)
6520 (tramp-convert-file-attributes, tramp-check-cached-permissions)
6521 (tramp-file-mode-from-int, tramp-file-mode-permissions)
6522 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6523 (tramp-method-out-of-band-p, tramp-local-host-p)
6524 (tramp-get-remote-path, tramp-get-remote-tmpdir)
6525 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6526 (tramp-get-test-command, tramp-get-test-nt-command)
6527 (tramp-get-file-exists-command, tramp-get-remote-ln)
6528 (tramp-get-remote-perl, tramp-get-remote-stat)
6529 (tramp-get-remote-readlink, tramp-get-remote-trash)
6530 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6531 (tramp-get-local-uid, tramp-get-local-gid)
6532 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6534 (tramp-methods, tramp-default-method-alist)
6535 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6536 Move initialization to tramp-sh.el.
6537 (tramp-temp-name-prefix): Make it a defconst.
6538 (tramp-dissect-file-name): Don't check anymore for multi-hop
6540 (tramp-debug-outline-regexp): Add a docstring.
6541 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6542 (tramp-get-debug-buffer): Use it.
6544 * net/tramp-cache.el (top): Set tramp-autoload cookie for
6545 initialization forms.
6546 (tramp-set-connection-property): Don't protect `tramp-message'
6547 call, it isn't necessary any longer.
6548 (tramp-dump-connection-properties): Use `ignore-errors'.
6550 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6551 'password-cache and 'auth-source.
6553 * net/tramp-gvfs.el (top):
6554 * net/tramp-smb.el (top): Require 'tramp-sh.
6556 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6558 * net/tramp-sh.el: New file, derived from tramp.el.
6559 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6560 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6561 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6562 Use `ignore-errors' where appropriate.
6563 (tramp-sh-file-name-handler-alist): Rename from
6564 `tramp-file-name-handler-alist'.
6565 (tramp-send-command-and-check): Return t or nil. Remove all
6566 `zerop' checks, where called.
6567 (tramp-handle-set-file-modes)
6568 (tramp-do-copy-or-rename-file-directly)
6569 (tramp-handle-delete-directory, tramp-handle-delete-file)
6570 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6571 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6572 (tramp-get-remote-ln): Set tramp-autoload cookie.
6574 * net/tramp-fish.el: Remove file.
6576 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6578 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6579 buffer-file-name to avoid file-locking. (Bug#7026)
6581 2010-09-13 Julien Danjou <julien@danjou.info>
6583 * notifications.el (notifications-notify): Add support for
6584 image-path and sound-name.
6585 (notifications-specification-version): Add this variable.
6587 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6589 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6591 2010-09-12 Leo <sdl.web@gmail.com>
6593 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6594 (rcirc-completion-start): New variables.
6595 (rcirc-nick-completions): Rename to rcirc-completions.
6596 (rcirc-nick-completion-start-offset): Delete.
6597 (rcirc-completion-at-point): New function for constructing
6598 completion data for both nicks and irc commands. Add to
6599 completion-at-point-functions in rcirc mode.
6600 (rcirc-complete): Rename from rcirc-nick-complete; use
6601 rcirc-completion-at-point.
6602 (defun-rcirc-command): Update rcirc-client-commands.
6604 2010-09-11 Glenn Morris <rgm@gnu.org>
6606 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6607 atomically, to avoid parallel build errors. (Bug#4196)
6609 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6611 * progmodes/sql.el: Version 2.6
6612 (sql-dialect): Synonym for "sql-product".
6613 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6614 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6615 Set "sql-buffer" to buffer name not buffer object so multiple sql
6616 interactive buffers work properly. Reverts misguided changes in
6618 (sql-comint): Make sure different buffer name is used if "*SQL*"
6619 buffer is for a different product.
6620 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6622 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6623 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6624 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6625 Accept new buffer name or prompt for one.
6626 (sql-port): Default to zero.
6627 (sql-comint-mysql): Handle "sql-port" as a numeric.
6628 (sql-port-history): Delete unused variable.
6629 (sql-get-login): Default "sql-port" to a number.
6630 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6631 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6632 "sqlite3" executables.
6633 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6634 (sql-buffer-live-p): New function.
6635 (sql-mode-menu, sql-send-string): Use it.
6636 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6638 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6639 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6641 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6643 * net/netrc.el (netrc-credentials): New convenience function.
6645 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6647 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6648 to replace texinfo-font-lock-syntactic-keywords.
6649 (texinfo-mode): Use it.
6651 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6652 Use syntax-propertize-function.
6654 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6655 replace sgml-font-lock-syntactic-keywords.
6656 (sgml-mode): Use it.
6658 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6659 since we don't use it.
6661 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6663 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6665 (vhdl-fontify-buffer): Adjust.
6667 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6668 replace tcl-font-lock-syntactic-keywords.
6671 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6672 replace simula-font-lock-syntactic-keywords.
6673 (simula-mode): Use it.
6675 * progmodes/sh-script.el (sh-st-symbol): Remove.
6676 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6677 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6678 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6679 (sh-font-lock-paren): Set syntax-multiline.
6680 (sh-font-lock-syntactic-keywords): Remove.
6681 (sh-syntax-propertize-function): New function to replace it.
6684 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6685 Define while compiling.
6686 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6687 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6688 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6689 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6690 (ruby-here-doc-end-syntax): Only define when
6691 syntax-propertize is not available.
6692 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6694 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6695 (electric-indent-chars): Silence bytecompiler.
6696 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6697 electric-indent-chars.
6699 * progmodes/python.el (python-syntax-propertize-function): New var to
6700 replace python-font-lock-syntactic-keywords.
6701 (python-mode): Use it.
6702 (python-quote-syntax): Simplify and adjust to new use.
6704 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6705 replace perl-font-lock-syntactic-keywords.
6706 (perl-syntax-propertize-special-constructs): New fun to replace
6707 perl-font-lock-special-syntactic-constructs.
6708 (perl-font-lock-syntactic-face-function): New fun.
6709 (perl-mode): Use it.
6711 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6712 to replace octave-font-lock-close-quotes.
6713 (octave-syntax-propertize-function): New function to replace
6714 octave-font-lock-syntactic-keywords.
6715 (octave-mode): Use it.
6717 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6718 replaces mixal-font-lock-syntactic-keywords.
6719 (mixal-mode): Use it.
6721 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6722 New var; replaces makefile-font-lock-syntactic-keywords.
6723 (makefile-mode): Use it.
6724 (makefile-imake-mode): Adjust.
6726 * progmodes/js.el (js--regexp-literal): Define while compiling.
6727 (js-syntax-propertize-function): New var; replaces
6728 js-font-lock-syntactic-keywords.
6731 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6732 replaces gdb-script-font-lock-syntactic-keywords.
6733 (gdb-script-mode): Use it.
6735 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6736 (fortran--font-lock-syntactic-keywords): New var.
6737 (fortran-line-length): Update syntax-propertize-function and
6738 fortran--font-lock-syntactic-keywords.
6740 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6742 * progmodes/cfengine.el (cfengine-mode):
6743 Use syntax-propertize-function.
6744 (cfengine-font-lock-syntactic-keywords): Remove.
6746 * progmodes/autoconf.el (autoconf-mode):
6747 Use syntax-propertize-function.
6748 (autoconf-font-lock-syntactic-keywords): Remove.
6750 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6751 (ada-after-change-function, ada-initialize-syntax-table-properties)
6752 (ada-handle-syntax-table-properties): Only define when
6753 syntax-propertize is not available.
6754 (ada-mode): Use syntax-propertize-function.
6756 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6757 (font-lock-fontify-syntactic-keywords-region): Move handling of
6758 font-lock-syntactically-fontified to...
6759 (font-lock-default-fontify-region): ...here.
6760 Let syntax-propertize-function take precedence.
6761 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6763 * emacs-lisp/syntax.el (syntax-propertize-function)
6764 (syntax-propertize-chunk-size, syntax-propertize--done)
6765 (syntax-propertize-extend-region-functions): New vars.
6766 (syntax-propertize-wholelines, syntax-propertize-multiline)
6767 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6768 (syntax-propertize): New functions.
6769 (syntax-propertize-rules): New macro.
6770 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6771 (syntax-ppss): Call syntax-propertize.
6773 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6775 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6777 * textmodes/ispell.el (ispell-init-process): Improve comments.
6778 XEmacs compatibility changes regarding (add-hook) 'local option
6779 and (set-process-query-on-exit-flag).
6781 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6783 * net/tramp-cache.el (tramp-parse-connection-properties):
6784 Set tramp-autoload cookie.
6786 2010-09-09 Glenn Morris <rgm@gnu.org>
6788 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6789 (imagemagick-register-types): Doc fix.
6791 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6793 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6795 * progmodes/js.el (require): Require is already "eval-and-compile".
6796 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6797 (js--re-search-backward): Use js--re-search-forward.
6799 * progmodes/fortran.el (fortran-line-length): Don't recompute
6800 syntactic keywords redundantly a second time.
6802 * progmodes/ada-mode.el: Replace "(set '" with setq.
6803 (ada-mode): Simplify.
6804 (ada-create-case-exception, ada-adjust-case-interactive)
6805 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6806 (ada-search-ignore-string-comment, ada-move-to-start)
6807 (ada-move-to-end): Use with-syntax-table.
6809 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6810 (font-lock-unfontify-region, font-lock-default-fontify-region):
6811 Update usage correspondingly.
6812 (font-lock-fontify-syntactic-keywords-region):
6813 Set parse-sexp-lookup-properties buffer-locally here.
6814 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6816 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6818 2010-09-08 Glenn Morris <rgm@gnu.org>
6820 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6821 Error if not compiled with -DBYTE_CODE_METER.
6823 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6824 Ignore dir-locals-file.
6826 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6828 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6830 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6831 for the `gnu' messages.
6832 (compilation-set-skip-threshold): New command.
6833 (compilation-start): Use \' rather than $.
6834 (compilation-forget-errors): Use clrhash.
6836 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6838 * textmodes/ispell.el (ispell-valid-dictionary-list):
6841 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6843 Migrate to Tramp 2.2. Rearrange load dependencies.
6844 (Bug#1529, Bug#5448, Bug#5705)
6846 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6847 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6848 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6850 * net/tramp.el (top): Remove all other tramp-* loads except
6851 tramp-compat.el. Remove all changes to tramp-unload-hook for
6852 other tramp-* packages. Rearrange defun order. Change calls of
6853 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6854 `tramp-compat-octal-to-decimal' to new function names.
6855 (tramp-terminal-type, tramp-initial-end-of-output)
6856 (tramp-methods, tramp-foreign-file-name-handler-alist)
6857 (tramp-tramp-file-p, tramp-completion-mode-p)
6858 (tramp-send-command-and-check, tramp-get-remote-path)
6859 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6860 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6861 (with-file-property, with-connection-property): Move to
6863 (tramp-local-call-process, tramp-decimal-to-octal)
6864 (tramp-octal-to-decimal): Move to tramp-compat.el.
6865 (tramp-handle-shell-command): Do not require 'shell.
6866 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6868 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6870 * net/tramp-cache.el (top): Require 'tramp. Add to
6871 `tramp-unload-hook'.
6872 (tramp-cache-data, tramp-get-file-property)
6873 (tramp-set-file-property, tramp-flush-file-property)
6874 (tramp-flush-directory-property, tramp-get-connection-property)
6875 (tramp-set-connection-property, tramp-flush-connection-property)
6876 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6878 (with-file-property, with-connection-property): New defuns, moved
6880 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6883 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6884 (tramp-version): Set tramp-autoload cookie.
6886 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6887 changes to tramp-unload-hook for other tramp-* packages. Add to
6888 `tramp-unload-hook'.
6889 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6890 (tramp-compat-call-process): New defuns, moved from tramp.el.
6892 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6893 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6894 Add to `tramp-unload-hook'. Change call of
6895 `tramp-compat-decimal-to-octal' to new function name.
6896 (tramp-fish-method): Make it a defconst.
6897 (tramp-fish-file-name-p): Make it a defsubst.
6898 (tramp-fish-method, tramp-fish-file-name-handler)
6899 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6901 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6902 `tramp-foreign-file-name-handler-alist'. Add to
6903 `tramp-unload-hook'.
6904 (tramp-ftp-method): Make it a defconst.
6905 (tramp-ftp-file-name-p): Make it a defsubst.
6906 (tramp-ftp-method, tramp-ftp-file-name-handler)
6907 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6909 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6910 `tramp-foreign-file-name-handler-alist'. Add to
6911 `tramp-unload-hook'. Change checks, whether package can be
6913 (tramp-gvfs-file-name-p): Make it a defsubst.
6914 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6915 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6916 (tramp-gvfs-handle-file-directory-p): New defun.
6917 (tramp-gvfs-file-name-handler-alist): Use it.
6919 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6920 `tramp-foreign-file-name-handler-alist'. Add to
6921 `tramp-unload-hook'.
6922 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6923 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6925 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6926 (tramp-gw-open-connection): Set tramp-autoload cookie.
6928 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6929 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6930 Add to `tramp-unload-hook'. Change checks, whether package can be
6932 (tramp-imap-file-name-p): Make it a defsubst.
6933 (tramp-imap-method, tramp-imaps-method)
6934 (tramp-imap-file-name-handler)
6935 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6937 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6938 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6939 Add to `tramp-unload-hook'. Change checks, whether package can be
6940 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6942 (tramp-smb-tunnel-method): Make it a defconst.
6943 (tramp-smb-file-name-p): Make it a defsubst.
6944 (tramp-smb-method, tramp-smb-file-name-handler)
6945 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6947 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6948 (tramp-uuencode-region): Set tramp-autoload cookie.
6950 * net/trampver.el (top) Add to `tramp-unload-hook'.
6951 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6952 cookie. Update release number.
6954 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6956 * textmodes/ispell.el (ispell-start-process): Make sure original
6957 arg list is properly initialized (Bug#6993, Bug#6994).
6959 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6961 * files.el (directory-abbrev-alist): Use \` as default regexp.
6963 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6964 chars like - or ] (bug#6984).
6965 (rx-any-condense-range): Explode 2-char ranges.
6967 2010-09-06 Glenn Morris <rgm@gnu.org>
6969 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6971 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6973 * textmodes/bibtex.el:
6974 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6976 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6978 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6979 since no callers use it.
6980 (imap-message-get): Ditto.
6981 (imap-message-put): Ditto.
6982 (imap-mailbox-map): Ditto.
6983 (imap-mailbox-put): Ditto.
6984 (imap-mailbox-get): Ditto.
6985 (imap-mailbox-get): Revert last change for this function.
6987 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6989 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6990 callers to use `imap-fetch' instead. According to the comments, this
6991 should be safe, since all other IMAP clients use the 1:* syntax.
6992 (imap-enable-exchange-bug-workaround): Remove.
6993 (imap-debug): Remove -- doesn't seem very useful.
6995 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6997 * net/imap.el (imap-log): New convenience function used throughout
6998 instead of repeating the same code all over the place.
7000 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7002 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7003 when mouse-drag-copy-region is non-nil (Bug#6956).
7005 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7007 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7008 Improve regexps (Bug#6987).
7009 (dired-sort-toggle): Search more robustly for -t flag.
7011 * files.el (get-free-disk-space): Search more robustly for
7012 "available" column. Suggested by Ehud Karni
7013 <ehud@unix.mvs.co.il>.
7015 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7017 * international/uni-bidi.el:
7018 * international/uni-category.el:
7019 * international/uni-combining.el:
7020 * international/uni-decimal.el:
7021 * international/uni-mirrored.el:
7022 * international/uni-name.el: Regenerate.
7024 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7026 * electric.el (electric-indent-post-self-insert-function):
7027 Don't reindent with a sloppy indentation function.
7029 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7030 border case in change-log-mode.
7032 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7034 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7035 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7036 Recognize leading tab in gcc-include regexp. Ignore names with
7037 leading "from" or "in" in gnu regexp (Bug#6937).
7039 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7041 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7042 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7043 (ispell-start-process): Avoid setq and simplify logic.
7044 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7045 (kill-buffer-hook): Don't use it globally with code that uses
7046 expand-file-name since that may call kill-buffer via
7047 code_conversion_restore.
7049 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7051 * emacs-lisp/package.el (package-directory-list): Only call
7052 file-name-nondirectory on a string.
7054 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7056 * emacs-lisp/package.el (package--download-one-archive):
7057 Ensure that archive-contents is valid before saving it.
7058 (package-activate-1, package-mark-obsolete, define-package)
7059 (package-compute-transaction, package-list-maybe-add): Use push.
7061 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7063 Use SMIE's blink-paren for octave-mode.
7064 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7065 Backslashes do not escape single-quotes, single-quotes do.
7066 (octave-block-else-regexp, octave-block-end-regexp)
7067 (octave-block-match-alist): Remove.
7068 (octave-smie-bnf-table): New var, with old content.
7069 (octave-smie-op-levels): Use it.
7070 (octave-smie-closer-alist): New var.
7071 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7072 (octave-blink-matching-block-open): Remove.
7073 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7074 (octave-electric-space): Let self-insert-command run expand-abbrev and
7077 * electric.el (electricity): New group.
7078 (electric-indent-chars): New var.
7079 (electric-indent-post-self-insert-function): New fun.
7080 (electric-indent-mode): New minor mode.
7081 (electric-pair-skip-self): New custom.
7082 (electric-pair-post-self-insert-function): New function.
7083 (electric-pair-mode): New minor mode.
7085 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7086 calcAlg-blink-matching-open.
7087 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7088 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7089 Use the new blink-matching-check-function.
7091 Provide blink-matching support to SMIE.
7092 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7093 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7094 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7096 * simple.el (newline): Fix last change to properly remove itself from
7099 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7101 * simple.el (newline): Eliminate optimization.
7102 Use post-self-insert-hook to set hard-newline and things before
7103 running post-self-insert-hook.
7104 (blink-matching-check-mismatch): New function.
7105 (blink-matching-check-function): New variable.
7106 (blink-matching-open): Use them.
7107 Skip back forward over prefix chars skipped by forward-sexp.
7108 Don't check if the parens are backslash escaped.
7109 (blink-paren-post-self-insert-function): Check backslash escaping here.
7111 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7113 * emacs-lisp/package.el (package-menu-mode-map):
7114 Change package-menu-revert bindings to revert-buffer.
7115 (package-menu-mode): Set revert-buffer-function.
7116 (package-menu-revert): Doc fix.
7118 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7120 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7121 `default-directory' unless using Ispell per-directory personal
7122 dictionaries and not in a mini-buffer under XEmacs.
7123 (kill-buffer-hook): Do not kill ispell process on exit when
7124 `ispell-process-directory' is "~/". (Bug#6143)
7126 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7128 * simple.el (kill-new): Call interprogram-cut-function with only
7131 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7132 Remove cut buffer from error message.
7134 * term/x-win.el (x-select-text):
7135 * term/pc-win.el (x-selection-value):
7136 * term/ns-win.el (x-selection-value):
7137 * eshell/em-term.el:
7138 * w32-fns.el (x-get-selection-value):
7139 * mouse-sel.el (mouse-sel-set-selection-function):
7140 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7142 * term/x-win.el: Update documentation for x-last-selected-text-*.
7143 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7144 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7145 (x-select-text): Remove argument PUSH, update documentation.
7146 Remove cut-buffer code.
7147 (x-selection-value-internal): Was previously x-selection-value.
7148 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7149 Update documentation, remove cut-buffer code.
7150 Call x-selection-value-internal.
7151 (x-clipboard-yank): Call x-selection-value-internal.
7152 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7154 * term/pc-win.el (x-last-selected-text):
7155 x-cut-buffer-or-selection-value renamed to x-selection-value
7156 (x-select-text): Remove argument PUSH, update documentation.
7158 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7159 x-cut-buffer-or-selection-value renamed to x-selection-value
7160 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7161 (x-select-text): Remove argument PUSH, update documentation.
7163 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7165 * w32-fns.el (x-last-selected-text):
7166 x-cut-buffer-or-selection-value renamed to x-selection-value.
7167 (x-cut-buffer-max): Remove.
7168 (x-select-text): Remove argument PUSH, update documentation.
7170 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7172 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7174 * mouse-sel.el (mouse-sel-get-selection-function):
7175 x-cut-buffer-or-selection-value renamed to x-selection-value.
7176 (x-select-text): Remove optional push.
7178 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7180 * simple.el (blink-paren-function): Move from C to here.
7181 (blink-paren-post-self-insert-function): New function.
7182 (post-self-insert-hook): Use it.
7184 * emacs-lisp/pcase.el (pcase-split-memq):
7185 Fix overenthusiastic optimisation.
7186 (pcase-u1): Handle the case of a lambda pred.
7188 2010-08-31 Kenichi Handa <handa@m17n.org>
7190 * international/mule-cmds.el (standard-display-european-internal):
7191 Setup standard-display-table for 8-bit characters by storing 8-bit
7192 characters in the element vector.
7194 * disp-table.el (standard-display-8bit):
7195 Setup standard-display-table for 8-bit characters by storing 8-bit
7196 characters in the element vector.
7197 (standard-display-european): Likewise.
7199 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7201 * textmodes/nroff-mode.el (nroff-view): New command.
7202 (nroff-mode-map): Bind it to C-c C-c.
7204 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7206 * emacs-lisp/smie.el (smie-down-list): New command.
7208 Remove old indentation and navigation code on octave-mode.
7209 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7210 smie-down-list rather than add a binding for octave-down-block.
7211 (octave-mark-block, octave-blink-matching-block-open):
7212 Rely on forward-sexp-function.
7213 (octave-fill-paragraph): Don't narrow, so you can use
7214 indent-according-to-mode.
7215 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7216 (octave-in-block-p, octave-re-search-forward-kw)
7217 (octave-re-search-backward-kw, octave-indent-calculate)
7218 (octave-end-as-array-index-p, octave-block-end-offset)
7219 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7220 (octave-down-block, octave-backward-up-block, octave-up-block)
7221 (octave-before-magic-comment-p, octave-indent-line): Remove.
7223 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7225 * emacs-lisp/package.el (package--read-archive-file): Just use
7226 `read', to avoid copying an additional string.
7227 (package-menu-mode): Set header-line-format here.
7228 (package-menu-refresh, package-menu-revert): Signal an error if
7229 not in the Package Menu.
7230 (package-menu-package-list): New var.
7231 (package--generate-package-list): Operate on the current buffer;
7232 don't assume that it is *Packages*, since the user may rename it.
7233 Allow persistent package listings and sort keys using
7234 package-menu-package-list and package-menu-package-sort-key.
7235 (package-menu--version-predicate): Fix version calculation.
7236 (package-menu-sort-by-column): Don't select the window.
7237 (package--list-packages): Create the *Packages* buffer.
7238 Set package-menu-package-list-key.
7239 (list-packages): Sorting by status is now the default.
7240 (package-buffer-info): Use match-string-no-properties.
7241 (define-package): Add a &rest argument for future proofing, but
7243 (package-install-from-buffer, package-install-buffer-internal):
7244 Merge into a single function, package-install-from-buffer.
7245 (package-install-file): Change caller.
7247 * finder.el: Load finder-inf using `require'.
7248 (finder-list-matches): Sorting by status is now the default.
7249 (finder-compile-keywords): Simpify printing.
7251 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7253 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7254 (octave-mode-map): Remove special bindings for forward/backward-block
7255 and octave-backward-up-block. Use smie-close-block.
7256 (octave-continuation-marker-regexp): New var.
7257 (octave-continuation-regexp): Use it.
7258 (octave-operator-table, octave-smie-op-levels)
7259 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7260 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7261 (octave-mode): Use SMIE.
7262 (octave-close-block): Delete.
7264 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7266 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7267 CLIPBOARD, not in PRIMARY. (Bug#6944)
7269 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7271 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7273 (smie-indent-column): Allow indirection through variables.
7275 * composite.el (save-buffer-state): Delete, unused.
7276 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7277 (font-lock-default-fontify-region): Use with-syntax-table.
7278 * jit-lock.el (with-buffer-unmodified): Remove.
7279 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7281 Use `declare' in defmacros.
7282 * window.el (save-selected-window):
7283 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7284 * progmodes/python.el (def-python-skeleton):
7285 * net/dbus.el (dbus-ignore-errors):
7286 * jka-cmpr-hook.el (with-auto-compression-mode):
7287 * international/mule.el (with-category-table):
7288 * emacs-lisp/timer.el (with-timeout):
7289 * emacs-lisp/lisp-mnt.el (lm-with-file):
7290 * emacs-lisp/eieio.el (with-slots):
7291 * emacs-lisp/easymenu.el (easy-menu-define):
7292 * emacs-lisp/debug.el (debugger-env-macro):
7293 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7294 (Multiple-value-call, Multiple-value-prog1):
7295 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7296 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7297 edebug rule to definition.
7298 * emacs-lisp/lisp-mode.el (save-selected-window)
7299 (with-current-buffer, combine-after-change-calls)
7300 (with-output-to-string, with-temp-file, with-temp-buffer)
7301 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7302 (dolist, dotimes, when, unless):
7303 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7305 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7307 * finder.el: Require `package'.
7308 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7309 (finder-package-info): Var deleted.
7310 (finder-keywords-hash, finder--builtins-alist): New vars.
7311 (finder-compile-keywords): Compute package--builtins and
7312 finder-keywords-hash instead of finder-keywords-hash, respecting
7313 the "Package" header.
7314 (finder-unknown-keywords, finder-list-matches):
7315 Use finder-keywords-hash and package--list-packages.
7316 (finder-mode): Don't set font-lock-defaults.
7317 (finder-exit): We don't use "*Finder-package*" and "*Finder
7318 Category*" buffers anymore.
7320 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7321 (package--builtins): Set default value to nil.
7322 (package-initialize): Load precomputed value of package--builtins
7324 (package-alist, package-compute-transaction)
7325 (package-download-transaction): Improve docstring.
7326 (package-read-all-archive-contents): Do not change
7327 package--builtins here.
7328 (list-packages): Make package-list-packages an alias for this.
7329 Sort by status by default.
7330 (package--list-packages): Add optional PACKAGES arg.
7331 (describe-package-1): Use font-lock-face property. For built-in
7332 packages, insert file commentary.
7333 (package--generate-package-list): Rename from
7334 package-list-packages-internal; all callers changed. Add optional
7335 PACKAGES arg. Add alphabetical sort fallbacks.
7336 (package-menu--version-predicate, package-menu--status-predicate)
7337 (package-menu--description-predicate)
7338 (package-menu--name-predicate): New functions.
7340 * info.el (Info-finder-find-node): Search package-alist instead of
7341 finder-package-info.
7343 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7345 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7347 (version-to-list): Handle versions like "10.3d".
7349 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7351 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7352 (macroexp-accumulate): Use `declare'.
7354 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7356 * whitespace.el (whitespace-style): Adjust type declaration.
7358 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
7360 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7361 empty argument to gvfs-copy.
7363 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7365 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7366 handle new TRASH arg of `delete-file'.
7368 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7370 * net/tramp.el (tramp-handle-insert-directory): Don't use
7371 `forward-word', its default syntax could be changed.
7373 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7374 Michael Albinus <michael.albinus@gmx.de>
7376 Implement compression for inline methods.
7378 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7379 (tramp-copy-size-limit): Allow also nil.
7380 (tramp-inline-compress-commands): New defconst.
7381 (tramp-find-inline-compress, tramp-get-inline-compress)
7382 (tramp-get-inline-coding): New defuns.
7383 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7384 replaced by `tramp-get-inline-coding'.
7385 (tramp-handle-file-local-copy, tramp-handle-write-region)
7386 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7388 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
7390 Detect ssh 'ControlMaster' argument automatically in some cases.
7392 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7393 (tramp-default-method): Use it.
7395 2010-08-26 Karel Klíč <kklic@redhat.com>
7397 * net/tramp.el (tramp-file-name-for-operation):
7398 Add file-selinux-context.
7400 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7402 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7404 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7406 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7409 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7411 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7412 (js-paren-indent-offset, js-square-indent-offset)
7413 (js-curly-indent-offset): New options.
7414 (js--proper-indentation): Use them.
7416 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7418 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7419 instead of inspecting font-lock properties (Bug#6916).
7421 2010-08-26 David Reitter <david.reitter@gmail.com>
7423 * server.el (server-visit-files): Run pre-command-hook and
7424 post-command-hook for each buffer while it is current (Bug#6910).
7425 (server-execute): Do not run hooks here.
7427 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7429 Sync with Tramp 2.1.19.
7431 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7432 (tramp-reporter-dump-variable, tramp-load-report-modules)
7433 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
7434 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
7436 * net/tramp-compat.el (top): Do not autoload
7437 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7438 only when `start-file-process' is not bound.
7439 (byte-compile-not-obsolete-vars): Define if not bound.
7440 (tramp-compat-funcall): New defmacro.
7441 (tramp-compat-line-beginning-position)
7442 (tramp-compat-line-end-position)
7443 (tramp-compat-temporary-file-directory)
7444 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7445 (tramp-compat-copy-file, tramp-compat-copy-directory)
7446 (tramp-compat-delete-file, tramp-compat-delete-directory)
7447 (tramp-compat-number-sequence, tramp-compat-process-running-p):
7449 (tramp-advice-file-expand-wildcards): Do not use
7450 `tramp-handle-file-remote-p'.
7451 (tramp-compat-make-temp-file): Simplify fallback implementation.
7452 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7453 (tramp-compat-copy-tree): Remove function.
7454 (tramp-compat-delete-file): New defun.
7455 (tramp-compat-delete-directory): Provide implementation for older
7457 (tramp-compat-file-attributes): Handle only
7458 `wrong-number-of-arguments' error.
7460 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7461 Add PRESERVE_SELINUX_CONTEXT.
7462 (tramp-fish-handle-delete-file): Add TRASH arg.
7463 (tramp-fish-handle-directory-files-and-attributes):
7464 Do not use `tramp-fish-handle-file-attributes.
7465 (tramp-fish-handle-file-local-copy)
7466 (tramp-fish-handle-insert-file-contents)
7467 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
7469 * net/tramp-gvfs.el (top): Require url-util.
7470 (tramp-gvfs-mount-point): Remove.
7471 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
7472 and `set-file-selinux-context'.
7473 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
7474 (tramp-gvfs-handle-file-selinux-context)
7475 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7476 (with-tramp-dbus-call-method): Format trace message.
7477 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7478 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7479 Implement backup call, when operation on local files fails.
7480 Use progress reporter. Flush properties of changed files.
7481 (tramp-gvfs-handle-delete-file): Add TRASH arg.
7482 Use `tramp-compat-delete-file'.
7483 (tramp-gvfs-handle-expand-file-name): Expand "~/".
7484 (tramp-gvfs-handle-make-directory): Make more traces.
7485 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
7486 (tramp-gvfs-url-file-name): Hexify file name in url.
7487 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7488 into account for the resulting file name.
7489 (tramp-gvfs-handler-askquestion): Preserve current message, in
7490 order to let progress reporter continue afterwards. (Bug#6257)
7491 Return dummy mountpoint, when the answer is "no".
7492 See `tramp-gvfs-maybe-open-connection'.
7493 (tramp-gvfs-handler-mounted-unmounted)
7494 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7495 attribute "default_location". Set "prefix" property.
7496 Handle default-location.
7497 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7498 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7499 exists. Raise an error, if not (due to a corresponding answer
7500 "no" in interactive questions, for example).
7501 Use `tramp-compat-funcall'.
7503 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7504 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7505 (tramp-imap-do-copy-or-rename-file)
7506 (tramp-imap-handle-insert-file-contents)
7507 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7508 (tramp-imap-handle-delete-file): Add TRASH arg.
7510 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7511 Add PRESERVE-SELINUX-CONTEXT.
7512 (tramp-smb-handle-copy-file)
7513 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7514 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7515 Use `with-progress-reporter'.
7516 (tramp-smb-handle-delete-file): Add TRASH arg.
7518 * net/tramp.el (tramp-methods): Move hostname to the end in all
7519 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
7521 (tramp-verbose): Describe verbose level 9.
7522 (tramp-completion-function-alist)
7523 (tramp-file-name-regexp, tramp-chunksize)
7524 (tramp-local-coding-commands, tramp-remote-coding-commands)
7525 (with-connection-property, tramp-completion-mode-p)
7526 (tramp-action-process-alive, tramp-action-out-of-band)
7527 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7528 (tramp-exists-file-name-handler): Fix docstring.
7529 (tramp-remote-process-environment): Use `format' instead of
7530 `concat'. Protect version string by apostroph.
7531 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7533 (tramp-file-name-regexp-unified)
7534 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7535 not regard the volume letter as remote filename. (Bug#5447)
7536 (tramp-perl-file-attributes)
7537 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7538 (tramp-vc-registered-read-file-names): Read input as
7539 here-document, otherwise the command could exceed maximum length
7541 (tramp-file-name-handler-alist): Add `file-selinux-context' and
7542 `set-file-selinux-context'.
7543 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
7544 backtrace functions.
7545 (tramp-error-with-buffer): Don't show the connection buffer when
7546 we are in completion mode.
7547 (tramp-progress-reporter-update, tramp-remote-selinux-p)
7548 (tramp-handle-file-selinux-context)
7549 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
7550 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
7552 (with-progress-reporter): New defmacro.
7553 (tramp-debug-outline-regexp): New defconst.
7554 (top, tramp-rfn-eshadow-setup-minibuffer)
7555 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7556 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7557 (tramp-completion-mode-p, tramp-check-for-regexp)
7558 (tramp-open-connection-setup-interactive-shell)
7559 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7560 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7561 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
7562 Use `tramp-compat-funcall'.
7563 (tramp-handle-make-symbolic-link): Flush file properties.
7564 (tramp-handle-load, tramp-handle-file-local-copy)
7565 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7566 (tramp-handle-vc-registered, tramp-maybe-send-script)
7567 (tramp-find-shell): Use `with-progress-reporter'.
7568 (tramp-do-file-attributes-with-stat): Add space in format string,
7569 in order to work around a bug in pdksh. Reported by Gilles Pion
7571 (tramp-handle-verify-visited-file-modtime): Do not send a command
7572 when the connection is not established.
7573 (tramp-handle-set-file-times): Simplify the check for utc.
7574 (tramp-handle-directory-files-and-attributes)
7575 (tramp-get-remote-path): Use `copy-tree'.
7576 (tramp-completion-handle-file-name-all-completions): Ensure, that
7577 non remote files are still checked. Oops.
7578 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7579 Handle PRESERVE-SELINUX-CONTEXT.
7580 (tramp-do-copy-or-rename-file): Add progress reporter.
7581 (tramp-do-copy-or-rename-file-directly): Do not use
7582 `tramp-handle-file-remote-p'.
7583 (tramp-do-copy-or-rename-file-out-of-band):
7584 Use `tramp-compat-delete-directory'.
7585 (tramp-do-copy-or-rename-file-out-of-band)
7586 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7587 Use `format-spec-make'.
7588 (tramp-handle-delete-file): Add TRASH arg.
7589 (tramp-handle-dired-uncache): Flush directory cache, not only file
7591 (tramp-handle-expand-file-name)
7592 (tramp-completion-handle-file-name-all-completions)
7593 (tramp-completion-handle-file-name-completion):
7594 Use `tramp-connectable-p'.
7595 (tramp-handle-start-file-process): Set connection property "vec".
7596 Use it, in order to invalidate file caches. Check only for
7597 `remote-tty' process property.
7598 Implement tty setting. (Bug#4604, Bug#6360)
7599 (tramp-file-name-for-operation): Add `call-process-region' and
7600 `set-file-selinux-context'.
7601 (tramp-find-foreign-file-name-handler)
7602 (tramp-advice-make-auto-save-file-name)
7603 (tramp-set-auto-save-file-modes): Remove superfluous check for
7604 `stringp'. This is done inside `tramp-tramp-file-p'.
7605 (tramp-file-name-handler): Trace 'quit. Catch the error for some
7606 operations when we are in completion mode. This gives the user
7607 the chance to correct the file name in the minibuffer.
7608 (tramp-completion-mode-p): Use `non-essential'.
7609 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7610 compatibility: Use `completion-ignore-case' if
7611 `read-file-name-completion-ignore-case' does not exist.
7612 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
7613 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7615 (tramp-action-password): Hide password prompt before next run.
7616 (tramp-process-actions): Widen connection buffer for the trace.
7617 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7618 process property. Trace stty settings if `tramp-verbose' >= 9.
7619 Apply workaround for IRIX64 bug. Move argument of last
7620 `tramp-send-command' where it belongs to.
7621 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7622 front of `login-args'.
7623 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7624 on "/dev/null" instead of "/".
7625 (tramp-get-ls-command-with-dired): Make test for "--dired"
7627 (tramp-set-auto-save-file-modes): Adapt version check.
7628 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7629 (tramp-handle-process-file): Call the program in a subshell, in
7630 order to preserve working directory.
7631 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7632 `tramp-remote-sh' from `tramp-methods'.
7633 (tramp-get-ls-command): Make test for "--color=never" stronger.
7634 (tramp-check-for-regexp): Use (forward-line 1).
7636 * net/trampver.el: Update release number.
7638 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7640 * help.el (help-map): Bind `C-h P' to describe-package.
7642 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7644 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7645 when downloading archives.
7646 (describe-package-1): Add package commentary.
7647 (package-install-button-action): New function.
7648 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7649 (package-menu-view-commentary): Function removed.
7650 (package-list-packages-internal): Hide the `package' package too.
7652 2010-08-25 Kenichi Handa <handa@m17n.org>
7654 * language/misc-lang.el ("Arabic"): New language environment.
7655 Setup composition-function-table for Arabic characters.
7657 * international/fontset.el (setup-default-fontset): Fix typo for
7658 arabic OTF spec (fini->fina).
7660 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7662 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7665 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7667 * whitespace.el: Allow cleaning up blanks without blank
7668 visualization (Bug#6651). Adjust help window for
7669 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7670 instead of whitespace-line-column (from EmacsWiki). New version
7672 (whitespace-style): Add new value 'face. Adjust docstring.
7673 (whitespace-space, whitespace-hspace, whitespace-tab):
7674 Adjust foreground property face.
7675 (whitespace-line-column): Adjust docstring and type declaration.
7676 (whitespace-style-value-list, whitespace-toggle-option-alist)
7677 (whitespace-help-text): Adjust const initialization.
7678 (whitespace-toggle-options, global-whitespace-toggle-options):
7680 (whitespace-display-window, whitespace-interactive-char)
7681 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7682 (whitespace-help-scroll): New fun.
7684 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7686 * emacs-lisp/package.el (list-packages): Alias for
7687 package-list-packages.
7689 2010-08-24 Kevin Ryde <user42@zip.com.au>
7691 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7694 * progmodes/ruby-mode.el (ruby): Add defgroup.
7696 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7698 * progmodes/python.el: Add Ipython support (Bug#5390).
7699 (python-shell-prompt-alist)
7700 (python-shell-continuation-prompt-alist): New options.
7701 (python--set-prompt-regexp): New function.
7702 (inferior-python-mode, run-python, python-shell):
7703 Require ansi-color. Use python--set-prompt-regexp to set the comint
7704 prompt based on the Python interpreter.
7705 (python--prompt-regexp): New var.
7706 (python-check-comint-prompt)
7707 (python-comint-output-filter-function): Use it.
7708 (run-python): Use a pipe (Bug#5694).
7710 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7712 * progmodes/python.el (python-send-region): Send a different
7713 Python command if Ipython is in use.
7714 (python-check-version): Use a Python command to find the version.
7716 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7718 * mouse.el (mouse-yank-primary): Avoid setting primary when
7719 deactivating the mark (Bug#6872).
7721 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7723 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7724 with "else" (Bug#3991).
7726 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7728 * net/dbus.el: Accept UNIX domain sockets as bus address.
7729 (top): Don't initialize `dbus-registered-objects-table' anymore,
7730 this is done in dbusbind,c.
7731 (dbus-check-event): Adapt test for bus.
7732 (dbus-return-values-table, dbus-unregister-service)
7733 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7736 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7738 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7740 2010-08-22 Juri Linkov <juri@jurta.org>
7742 * simple.el (read-extended-command): New function with the logic
7743 for `completing-read' moved to Elisp from `execute-extended-command'.
7744 Use `function-called-at-point' in `minibuffer-default-add-function'
7745 to get a command name for M-n (bug#5364, bug#5214).
7747 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7749 * startup.el (command-line-1): Issue warning for ignored arguments
7750 --unibyte, etc (Bug#6886).
7752 2010-08-22 Leo <sdl.web@gmail.com>
7754 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7755 (ignore, bright, dim, keyword): Split list of nicknames before
7756 passing to rcirc-add-or-remove (Bug#6894).
7758 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7760 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7762 2010-08-22 Leo <sdl.web@gmail.com>
7764 Fix buffer-list rename&refresh after killing a buffer in ido.
7765 * ido.el: Revert Óscar's.
7766 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7767 Remember the buffers at head, rather than their name.
7768 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7770 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7771 Stefan Monnier <monnier@iro.umontreal.ca>
7773 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7774 extra backslash added to each line (bug#6890).
7776 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7778 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7780 2010-08-22 Glenn Morris <rgm@gnu.org>
7782 * menu-bar.el (menu-bar-games-menu): Add landmark.
7784 2010-08-22 Glenn Morris <rgm@gnu.org>
7786 * align.el (align-regexp): Make group and spacing arguments
7787 use the interactive defaults when non-interactive. (Bug#6698)
7789 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7790 expansion, so as not to need sendmail.
7791 (mail-text-start): Remove declaration.
7792 (rmail-retry-failure): Require sendmail.
7794 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7796 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7798 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7800 * progmodes/flymake.el (flymake-start-syntax-check-process):
7801 Use `start-file-process' in order to let it run also on remote hosts.
7803 2010-08-22 Kenichi Handa <handa@m17n.org>
7805 * files.el: Add `word-wrap' as safe local variable.
7807 2010-08-22 Glenn Morris <rgm@gnu.org>
7809 * woman.el (woman-translate): Case matters. (Bug#6849)
7811 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7813 * simple.el (kill-region): Doc fix (Bug#6787).
7815 2010-08-22 Glenn Morris <rgm@gnu.org>
7817 * calendar/diary-lib.el (diary-header-line-format):
7818 Fit it to the window, not the frame.
7820 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7822 * subr.el (ignore-errors): Add debug declaration.
7824 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7826 * whitespace.el (whitespace-color-off): Remove post-command-hook
7829 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7831 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7833 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7835 * cus-edit.el (custom-group-value-create): Add extra newline
7836 before end line (Bug#6876).
7838 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7840 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7841 when extending it. Before killing on the second click, check if
7842 the buffer is the correct one. Doc fix.
7843 (mouse-secondary-save-then-kill): Allow usage without first
7844 calling mouse-start-secondary, by defaulting to point. Don't save
7845 an empty secondary selection. Doc fix.
7847 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7849 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7850 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7852 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7853 Adjust initialization.
7854 (whitespace-bob-marker, whitespace-eob-marker)
7855 (whitespace-buffer-changed): New vars.
7856 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7857 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7858 (whitespace-post-command-hook, whitespace-display-char-on):
7860 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7861 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7863 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7865 * files.el (locate-file-completion-table): Only list the .el and .elc
7866 extensions if there's no other choice (bug#5955).
7868 * facemenu.el (facemenu-self-insert-data): New var.
7869 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7871 (facemenu-add-face): Use them.
7873 * simple.el (blink-matching-open): Obey forward-sexp-function.
7875 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7877 * simple.el (prog-mode-map): New var.
7878 (prog-indent-sexp): New command.
7880 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7882 * progmodes/prolog.el (smie): Require.
7884 * emacs-lisp/smie.el (smie-default-backward-token)
7885 (smie-default-forward-token): Strip properties.
7886 (smie-next-sexp): Be more careful with associative operators.
7887 (smie-forward-sexp-command): Generalize.
7888 (smie-backward-sexp-command): Simplify.
7889 (smie-closer-alist): New var.
7890 (smie-close-block): New command.
7891 (smie-indent-debug-log): New var.
7892 (smie-indent-offset-rule): Add a few more cases.
7893 (smie-indent-column): New function.
7894 (smie-indent-after-keyword): Use it.
7895 (smie-indent-keyword): Use it.
7896 Fix up the opener code's point position.
7897 (smie-indent-comment): Only applies at BOL.
7898 (smie-indent-debug): New command.
7900 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7901 declarations that are useful before running the macro.
7903 2010-08-18 Joakim Verona <joakim@verona.se>
7905 * image.el (imagemagick-types-inhibit): New variable.
7906 (imagemagick-register-types): New function.
7907 * image-mode.el (image-transform-properties): New function.
7908 (image-transform-set-scale, image-transform-fit-to-height)
7909 (image-transform-set-rotation, image-transform-set-resize)
7910 (image-transform-fit-to-width, image-transform-fit-to-height):
7912 (image-toggle-display-image): Support image transforms.
7914 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7916 * image.el (create-animated-image): Don't add heuristic mask to image
7919 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7921 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7922 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7924 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7926 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7928 Font-lock '...' strings, plus various simplifications and fixes.
7929 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7930 (octave-font-lock-close-quotes): New function.
7931 (octave-font-lock-syntactic-keywords): New var.
7932 (octave-mode): Use it. Set beginning-of-defun-function.
7933 (octave-mode-map): Don't override the <foo>-defun commands.
7934 (octave-mode-menu): Pass it directly to easy-menu-define;
7935 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7936 (octave-block-match-alist): Fix up last change so that
7937 octave-close-block uses the more specific keyword.
7938 (info-lookup-mode): Silence byte-compiler.
7939 (octave-beginning-of-defun): Not interactive any more.
7941 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7942 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7943 (octave-completion-at-point-function): Make sure point is within
7945 (octave-reindent-then-newline-and-indent):
7946 Use reindent-then-newline-and-indent.
7947 (octave-add-octave-menu): Remove.
7949 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7951 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7952 (report-emacs-bug-can-use-xdg-email): New functions.
7953 (report-emacs-bug): Set can-xdg-email to result of
7954 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7955 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7958 * net/browse-url.el (browse-url-default-browser): Add cond
7959 for browse-url-xdg-open.
7960 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7962 2010-08-17 Glenn Morris <rgm@gnu.org>
7964 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7965 (c-fontify-recorded-types-and-refs): Define for compiler.
7966 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7969 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7972 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7974 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7976 (tramp-handle-process-file): Call the program in a subshell, in
7977 order to preserve working directory.
7978 (tramp-action-password): Hide password prompt before next run.
7979 (tramp-process-actions): Widen connection buffer for the trace.
7981 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7983 * net/rcirc.el (rcirc-log-process-buffers): New option.
7984 (rcirc-print): Use it.
7985 (rcirc-generate-log-filename): New function.
7986 (rcirc-log-filename-function): Change default to
7987 rcirc-generate-log-filename (Bug#6828).
7989 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7991 * simple.el (deactivate-mark): If select-active-regions is `only',
7992 only set selection for temporarily active regions.
7994 * cus-start.el: Change defcustom for select-active-regions.
7996 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7998 * mouse.el (mouse--drag-set-mark-and-point): New function.
7999 (mouse-drag-track): Use LOCATION arg to push-mark.
8000 Use mouse--drag-set-mark-and-point to take click-count into
8001 consideration when updating point and mark (Bug#6840).
8003 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8005 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8006 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8008 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8010 * font-lock.el (lisp-font-lock-keywords-2):
8011 Add combine-after-change-calls, condition-case-no-debug,
8012 with-demoted-errors, and with-silent-modifications (Bug#6025).
8014 2010-08-14 Kevin Ryde <user42@zip.com.au>
8016 * emacs-lisp/copyright.el (copyright-update-year)
8017 (copyright-update): Temporary switch-to-buffer to ensure the
8018 buffer change being queried is visible (Bug#5394).
8020 2010-08-14 Tom Tromey <tromey@redhat.com>
8022 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8025 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8027 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8030 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8032 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8033 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8034 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8035 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8036 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8037 Call menu-bar-set-tool-bar-position.
8039 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8041 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8042 comment style (bug#6834).
8043 * progmodes/scheme.el (scheme-mode-syntax-table):
8044 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8045 "b" flag in "' 14b" syntax.
8047 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8048 for (un)commenting the region and performing completion.
8049 (octave-mode-menu): Use standard commands for help and completion.
8050 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8051 (octave-mode): Use define-derived-mode.
8052 Set completion-at-point-functions and don't set columns.
8053 Don't disable adaptive-fill-regexp.
8054 (octave-describe-major-mode, octave-comment-region)
8055 (octave-uncomment-region, octave-comment-indent)
8056 (octave-indent-for-comment): Remove.
8057 (octave-indent-calculate): Rename from calculate-octave-indent.
8058 (octave-indent-line, octave-fill-paragraph): Update caller.
8059 (octave-initialize-completions): No need to make an alist.
8060 (octave-completion-at-point-function): New function.
8061 (octave-complete-symbol): Use it.
8062 (octave-insert-defun): Use define-skeleton.
8064 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8065 (octave-mode-map): Use comment-dwim (bug#6829).
8067 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
8069 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8070 indentation of inserted comment.
8072 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8074 * faces.el (region): Add type gtk that uses gtk colors.
8076 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8077 Handle theme-name change.
8079 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8081 * progmodes/sql.el: Version 2.5
8082 (sql-product-alist): Add :prompt-cont-regexp property for several
8084 (sql-prompt-cont-regexp): New variable.
8085 (sql-output-newline-count, sql-output-by-send):
8086 New variables. Record number of newlines in input text.
8087 (sql-send-string): Handle multiple filters and count newlines.
8088 (sql-send-magic-terminator): Count terminator newline.
8089 (sql-interactive-remove-continuation-prompt): Filters output to
8090 remove continuation prompts; one for each newline.
8091 (sql-interactive-mode): Set up new variables, prompt regexp and
8093 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8094 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8096 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8098 * emacs-lisp/pcase.el: New file.
8100 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8102 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8103 as here-document, otherwise the command could exceed maximum
8104 length of command line.
8105 (tramp-handle-vc-registered): Call script accordingly.
8106 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8108 2010-08-10 Kenichi Handa <handa@m17n.org>
8110 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8113 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8115 * emacs-lisp/package.el (package-version-split)
8116 (package--version-first-nonzero, package-version-compare):
8118 (package-directory-list, package-load-all-descriptors)
8119 (package--built-in, package-activate, define-package)
8120 (package-installed-p, package-compute-transaction)
8121 (package-read-all-archive-contents)
8122 (package--add-to-archive-contents, package-buffer-info)
8123 (package-tar-file-info, package-list-packages-internal):
8124 Use version-to-list and version-list-*.
8126 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8127 Use version-to-list.
8128 (package-upload-buffer-internal): Use version-list-<=.
8130 2010-08-09 Kenichi Handa <handa@m17n.org>
8132 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8135 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8137 * tutorial.el (tutorial--default-keys): C-d is now bound to
8138 delete-forward-char (Bug#6826).
8140 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8141 for `double' value of mouse-1-click-follows-link (Bug#6807).
8143 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8145 * replace.el (replace-highlight): Bind isearch-forward and
8146 isearch-error, ensuring that highlighting is updated if the user
8147 switches the search direction (Bug#6808).
8149 * isearch.el (isearch-lazy-highlight-forward): New var.
8150 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8151 (isearch-lazy-highlight-update): Use it.
8153 2010-08-08 Kenichi Handa <handa@m17n.org>
8155 * international/mule.el (define-charset): Store NAME as :base property.
8156 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8157 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8158 current priority. Force using the designation of the specific
8159 charset by adding `charset' text property. Improve the whole algorithm.
8161 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8163 * emulation/pc-select.el (pc-selection-mode-hook)
8164 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8165 (pc-selection-mode): Fix typos in docstrings.
8167 2010-08-08 Kenichi Handa <handa@m17n.org>
8169 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8170 ctext-non-standard-encodings-alist here.
8172 * international/mule.el (ctext-non-standard-encodings-alist):
8173 Add "koi8-r" and "microsoft-cp1251".
8174 (ctext-standard-encodings): New variable.
8175 (ctext-non-standard-encodings-table): List only elements for
8176 non-standard encodings.
8177 (ctext-pre-write-conversion): Adjust for the above change.
8178 Check ctext-standard-encodings.
8180 * international/mule-conf.el (compound-text): Doc fix.
8181 (ctext-no-compositions): Doc fix.
8182 (compound-text-with-extensions): Doc fix.
8184 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8186 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8188 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8190 * progmodes/which-func.el (which-func-format): Split help-echo text
8191 into lines, like other mode-line tooltips.
8193 * server.el (server-start): When using TCP sockets, force IPv4
8194 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8196 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8198 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8200 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8202 * term.el (term-delimiter-argument-list): Reflow docstring.
8203 (term-read-input-ring, term-write-input-ring, term-send-input)
8204 (term-bol, term-erase-in-display, serial-supported-or-barf):
8205 Fix typos in docstrings.
8207 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8209 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8211 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8213 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8215 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8217 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8218 Fix typo in docstring (bug#6747).
8220 2010-08-08 Leo <sdl.web@gmail.com>
8222 * eshell/esh-io.el (eshell-get-target): Better detection of
8223 read-only file (Bug#6762).
8225 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8227 * align.el (align-default-spacing): Doc fix.
8228 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8230 2010-08-08 Stephen Peters <speters@itasoftware.com>
8232 * calendar/icalendar.el
8233 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8234 (icalendar--get-weekday-numbers): New.
8235 (icalendar--convert-recurring-to-diary): Handle multiple byday
8236 values in weekly rules. (Bug#6766)
8238 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8240 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8241 (icalendar--create-uid, icalendar-export-region)
8242 (icalendar--parse-summary-and-rest): Code formatting.
8244 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8246 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
8247 to italicize headers.
8248 (calc-highlight-selections-with-faces): New variable.
8249 (calc-selected-face, calc-nonselected-face): New faces.
8251 * calc/calccomp.el (math-comp-highlight-string): Use
8252 `calc-highlight-selections-with-faces' to determine how to highlight
8255 * calc/calc-sel.el (calc-show-selections): Change message to when
8256 using faces to highlight selections.
8258 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8260 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8261 Add SQLite 3 keywords, functions and datatypes.
8262 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8265 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8267 * simple.el (select-active-regions): Move to keyboard.c.
8268 (deactivate-mark): Used saved-region-selection.
8269 (select-active-region): Function removed.
8270 (activate-mark, set-mark, push-mark-command)
8271 (handle-shift-selection): Don't call it.
8272 (keyboard-quit): Avoid adding the region to the window selection.
8274 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8275 select-active-regions implementation.
8276 (mouse-yank-at-click): Doc fix.
8278 * cus-start.el: Add custom declaration for select-active-regions.
8280 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8282 * simple.el (delete-forward-char): Doc fix.
8284 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8285 after reading the tutorial.
8287 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8289 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8290 Fix for the case that a C style comment has its delimiters alone on
8291 their respective lines.
8293 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8295 * net/tramp.el (tramp-handle-start-file-process): Set connection
8297 (tramp-process-sentinel): Use it for flushing the cache.
8298 We cannot do it via the process buffer, the buffer could be deleted
8299 already when running the sentinel.
8301 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8303 * comint.el (comint-mode): Make directory tracking functions
8304 functional on remote files. (Bug#6764)
8306 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8308 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8310 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8312 * emacs-lisp/find-gc.el (find-gc-source-files):
8313 Rename unexec.c => unexcoff.c.
8315 * emacs-lisp/authors.el (authors-fixed-entries):
8316 Rename unexec.c => unexcoff.c.
8318 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8320 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8321 cache, not only file cache.
8322 (tramp-process-sentinel): New defun.
8323 (tramp-handle-start-file-process): Use it, in order to invalidate
8326 2010-08-03 Leo <sdl.web@gmail.com>
8328 * server.el (server-start): Simplify loop.
8330 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8332 * frame.el (screen-height, screen-width, set-screen-width)
8333 (set-screen-height): Remove ancient compatibility aliases.
8335 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8336 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8338 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8339 that change current buffer.
8341 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8343 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8344 beginning of the string. Use `string-match-p'. (Bug#6765)
8346 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8348 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8350 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8352 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8353 (package--builtins): Tweak descriptions.
8354 (package-print-package): Upcase descriptions if necessary.
8355 Show all built-in packages in font-lock-builtin-face.
8356 (package-list-packages-internal): Omit "emacs" package.
8357 Show status of built-in packages as "built-in".
8359 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8361 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8362 before killing to preserve the primary selection (Bug#6701).
8364 * term/x-win.el (x-select-text): Doc fix.
8366 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8368 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8369 (objc-font-lock-extra-types):
8370 * progmodes/cc-mode.el (c-basic-common-init):
8371 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8372 (c++-make-template-syntax-table)
8373 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8374 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8375 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8376 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8377 * progmodes/cc-fonts.el (c-make-inverse-face)
8378 (c-basic-matchers-after):
8379 * progmodes/cc-engine.el (c-forward-keyword-clause)
8380 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8381 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8382 (c-guess-continued-construct, c-guess-basic-syntax):
8383 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8384 The above functions were modified or created.
8386 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8388 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8390 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8392 * files.el (bidi-paragraph-direction): Define safe local values.
8394 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8395 language-info-alist. Remove outdated FIXME in a comment.
8397 2010-07-31 Alan Mackenzie <acm@muc.de>
8399 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8400 Auto-fill broken in C/C++ modes.
8402 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8404 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8405 (menu-bar-showhide-tool-bar-menu-customize-disable)
8406 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8407 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8408 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8409 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8410 make a menu for Options => toolbar that can move it.
8412 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8414 * emacs-lisp/package-x.el (package--make-rss-entry):
8415 (package-maint-add-news-item, package--update-news)
8416 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8418 * emacs-lisp/package.el (package-archive-url): Rename from
8420 (package-install): Doc fix.
8421 (package-download-single, package-download-tar, package-install)
8422 (package-menu-view-commentary): Callers changed.
8424 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8426 * net/tramp.el (tramp-handle-start-file-process): Check only for
8427 `remote-tty' process property.
8428 (tramp-open-shell): Don't check for tty.
8429 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8432 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8435 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8437 * emacs-lisp/package.el (package-load-list, package-archives)
8438 (package-archive-contents, package-user-dir)
8439 (package-directory-list, package--builtins, package-alist)
8440 (package-activated-list, package-obsolete-alist): Mark as risky.
8442 2010-07-28 Phil Hagelberg <phil@evri.com>
8444 Add support for non-default package repositories.
8445 * emacs-lisp/package.el (package-archive-base): Var deleted.
8446 (package-archives): New variable.
8447 (package-archive-contents): Doc fix.
8448 (package-load-descriptor): Do nothing if descriptor file is missing.
8449 (package--write-file-no-coding): New function.
8450 (package-unpack-single): Use it.
8451 (package-archive-id): New function.
8452 (package-download-single, package-download-tar)
8453 (package-menu-view-commentary): Use it.
8454 (package-installed-p): Make second argument optional.
8455 (package-read-all-archive-contents): New function.
8456 (package-initialize): Use it.
8457 (package-read-archive-contents): Add ARCHIVE argument.
8458 (package--add-to-archive-contents): New function.
8459 (package-install): Don't call package-read-archive-contents.
8460 (package--download-one-archive): Store archive file in a
8461 subdirectory of package-user-dir.
8462 (package-menu-execute): Remove spurious line movement.
8464 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8466 * cus-start.el (tool-bar-style): Add text-image-horiz.
8468 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8470 * progmodes/gud.el (gud-common-init): Check for remoteness of
8471 `file', and not of `default-directory'.
8473 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8475 * net/tramp.el (tramp-methods): Move hostname to the end in all
8476 ssh `tramp-login-args'.
8477 (tramp-verbose): Describe verbose level 9.
8478 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8479 (tramp-open-connection-setup-interactive-shell): Trace stty
8480 settings if `tramp-verbose' >= 9.
8481 (tramp-handle-start-file-process): Implement tty setting.
8482 (Bug#4604, Bug#6360)
8484 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8485 `tramp-verbose' to 9.
8487 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8489 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8490 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8491 Remove references to package `lisp-re' (bug#4369).
8493 2010-07-27 Tom Tromey <tromey@redhat.com>
8495 * progmodes/js.el (js-mode):
8496 * progmodes/make-mode.el (makefile-mode):
8497 * progmodes/simula.el (simula-mode):
8498 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8500 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8502 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8504 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8505 (display-time-world-buffer-name, display-time-world-mode-map):
8506 Fix typos in docstrings.
8508 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8510 * image-mode.el (image-display-size): New function.
8511 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8512 (image-mode-fit-frame): Use it (Bug#6639).
8514 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8516 * dired.el (dired-buffers-for-dir): Handle list values of
8517 dired-directory (Bug#6636).
8519 2010-07-26 Sam Steingold <sds@gnu.org>
8521 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8522 Do not call `x-get-selection' the second time, reuse the value.
8524 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8526 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8527 which consist of control chars only. Suggested by Richard Stallman.
8529 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8531 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8532 exists before passing an error to find-file-not-found-functions
8535 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8537 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8538 Remove leading nil element, adjust values.
8539 (tetris-shapes, tetris-shape-scores):
8540 Change representation of shapes and remove some redundancy.
8541 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8542 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8543 Adjust for working with new representation of shapes.
8544 (tetris-shape-rotations): New function.
8545 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8546 (tetris-rotate-prev, tetris-rotate-next):
8547 Adjust for working with the new version of tetris-test-shape.
8549 2010-07-23 Markus Triska <markus.triska@gmx.at>
8551 * progmodes/ps-mode.el: Use comint (bug#5954).
8552 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8553 (ps-mode-other-newline): Simplify.
8554 (ps-run-mode): Derive from comint-mode instead of
8555 fundamental-mode, yielding input history etc.
8556 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8557 (ps-run-send-string): Adapt for comint-mode.
8558 (ps-run-newline): Remove now unneeded function.
8560 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8562 * net/tramp.el (tramp-methods): Move hostname to the end in all
8563 plink `tramp-login-args'.
8565 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8567 * net/tramp.el (tramp-open-shell): New defun.
8568 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8571 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8573 * net/tramp.el (tramp-file-name-regexp-unified)
8574 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8575 not regard the volume letter as remote filename. (Bug#5447)
8577 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8579 * custom.el (custom-declare-variable): Give a clearer error message
8580 when the docstring is missing (bug#6476).
8582 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8584 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8585 (sql-login-params): New widget definition.
8586 (sql-oracle-login-params, sql-mysql-login-params)
8587 (sql-solid-login-params, sql-sybase-login-params)
8588 (sql-informix-login-params, sql-ingres-login-params)
8589 (sql-ms-login-params, sql-postgres-login-params)
8590 (sql-interbase-login-params, sql-db2-login-params)
8591 (sql-linter-login-params): Use it.
8592 (sql-sqlite-login-params): Use it; Define "database" parameter as
8594 (sql-sqlite-program): Change to "sqlite3".
8595 (sql-comint-sqlite): Make sure database name is complete.
8596 (sql-for-each-login): New function.
8597 (sql-connect, sql-save-connection): Use it.
8598 (sql-get-login-ext): New function.
8599 (sql-get-login): Use it.
8600 (sql-make-alternate-buffer-name): Handle :file parameters.
8602 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8604 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8605 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8607 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8609 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8611 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8613 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8615 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8617 * net/tramp.el (tramp-get-ls-command)
8618 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8621 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8623 * progmodes/sql.el: Version 2.3.
8624 (sql-connection-alist): Change keys from symbols to strings;
8625 enhanced the widget definition.
8626 (sql-mode-menu): Add submenu to select connections.
8627 (sql-interactive-mode-menu): Add "Save Connection" item.
8628 (sql-add-product): Fix menu item.
8629 (sql-get-product-feature): Improved error handling.
8630 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8631 (sql-make-alternate-buffer-name): Simplified.
8632 (sql-product-interactive): Handle missing product.
8633 (sql-connect): Support string keys, minor improvements.
8634 (sql-save-connection): New function.
8635 (sql-connection-menu-filter): New function.
8637 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8639 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8640 (tramp-open-connection-setup-interactive-shell):
8641 Apply workaround for IRIX64 bug. Move argument of last
8642 `tramp-send-command' where it belongs to.
8644 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8646 * net/tramp.el (tramp-perl-file-attributes)
8647 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8648 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8649 front of `login-args'.
8651 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8653 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8654 Set `show-trailing-whitespace' to nil.
8655 (display-time-world-display): Simplify.
8657 2010-07-18 Alan Mackenzie <acm@muc.de>
8659 Enhance `c-file-style' in file/directory local variables.
8660 * progmodes/cc-mode.el (c-count-cfss): New function.
8661 (c-before-hack-hook): Call `c-set-style' differently according to
8662 whether c-file-style was set in file or directory local
8665 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8667 * progmodes/sql.el: Version 2.2.
8668 (sql-product, sql-user, sql-database, sql-server, sql-port):
8669 Use defcustom :safe keyword rather than putting safe-local-variable
8671 (sql-password): Use defcustom :risky keyword rather than putting
8672 risky-local-variable property.
8673 (sql-oracle-login-params, sql-sqlite-login-params)
8674 (sql-solid-login-params, sql-sybase-login-params)
8675 (sql-informix-login-params, sql-ingres-login-params)
8676 (sql-ms-login-params, sql-postgres-login-params)
8677 (sql-interbase-login-params, sql-db2-login-params)
8678 (sql-linter-login-params): Add `port' option.
8679 (sql-get-product-feature): Add NO-INDIRECT parameter.
8680 (sql-comint-oracle, sql-comint-sybase)
8681 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8682 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8683 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8684 (sql-comint-linter): Rename sql-connect-* functions to
8686 (sql-product-alist, sql-mode-menu): Rename as above and
8687 :sqli-connect-func to :sqli-comint-func.
8688 (sql-connection): New variable.
8689 (sql-interactive-mode): Set it.
8690 (sql-connection-alist): New variable.
8691 (sql-connect): New function.
8692 (sql--alt-buffer-part, sql--alt-if-not-empty)
8693 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8695 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8697 * image-mode.el (image-bookmark-make-record): Do not set context
8698 in an image (Bug#6650).
8700 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8702 * simple.el (select-active-region): New function.
8703 (push-mark-command, set-mark, activate-mark)
8704 (handle-shift-selection): Use it.
8705 (deactivate-mark): Don't check for size of region.
8707 * mouse.el (mouse-drag-track): Use select-active-region.
8709 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8711 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8714 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8716 * term/x-win.el (x-select-enable-primary): Change default to nil.
8717 (x-select-enable-clipboard): Add :version keyword.
8719 * mouse.el (mouse-drag-copy-region):
8720 * simple.el (select-active-regions): Likewise.
8722 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8724 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8725 (vc-coding-system-for-diff): Use it to decide whether to inherit
8726 from the file the EOL format for reading the diffs of that file.
8729 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8731 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8732 unibyte, so compressed attachments are not compressed again.
8734 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8736 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8737 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8738 (tramp-find-shell): Simplify setting connection property.
8739 (tramp-get-ls-command): Make test for "--color=never" stronger.
8741 2010-07-15 Simon South <ssouth@member.fsf.org>
8743 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8744 blocks within record declarations (i.e. variant parts) correctly.
8746 2010-07-15 Simon South <ssouth@member.fsf.org>
8748 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8749 over literal tokens when parsing so newlines aren't "absorbed" by
8750 single-line comments. Corrects the indentation of case blocks
8751 that have a comment on the first line.
8753 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8755 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8756 by Drew Adams (Bug#5504).
8758 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8760 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8761 now that Unicode is used (Bug#6594).
8763 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8765 * term/x-win.el (x-select-enable-clipboard): Default to t.
8766 (x-initialize-window-system): Don't overwrite Paste menu item.
8768 * simple.el (select-active-regions): Default to t.
8769 (push-mark-command): Don't overwrite primary with empty string.
8771 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8772 (mouse-drag-copy-region): Default to nil.
8774 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8775 Cut/Copy/Paste menu bar items.
8777 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8779 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8780 Patch applied by Karl Fogel.
8782 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8783 and `bookmark-current-buffer' if they have been already set in
8784 another buffer (e.g gnus-art).
8786 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8787 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8789 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8791 * bookmark.el (bookmark-make-record-default): Allow unneeded
8792 information to be omitted from the record.
8794 Adjust declarations and calls:
8796 * info.el (bookmark-make-record-default): Adjust declaration.
8797 (Info-bookmark-make-record): Adjust call.
8799 * woman.el (bookmark-make-record-default): Adjust declaration.
8800 (woman-bookmark-make-record): Adjust call.
8802 * man.el (bookmark-make-record-default): Adjust declaration.
8803 (Man-bookmark-make-record): Adjust call.
8805 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8807 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8809 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8811 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8812 This is also from Thierry Volpiatto's patch in bug #6444. However,
8813 because it was extraneous to the functional change in that patch,
8814 and causes a re-indendation, I am committing it separately.
8816 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8818 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8819 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8820 Patch applied by Karl Fogel (Bug#6444).
8822 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8824 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8826 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8828 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8829 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8830 (ns-alternatives-map): Change S-tab binding to backtab
8833 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8836 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8838 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8841 * language/tv-util.el (tai-viet-re): Remove format.
8843 2010-07-12 Kenichi Handa <handa@m17n.org>
8845 * language/hebrew.el: Remove no-byte-compile declaration.
8846 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8847 composition-function-table for 3-character looking back.
8848 (hebrew-font-get-precomposed): New function.
8849 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8851 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8853 * mouse.el (mouse-drag-track): Handle select-active-regions
8856 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8858 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8859 empty argument to gvfs-copy.
8861 2010-07-10 Glenn Morris <rgm@gnu.org>
8863 * calendar/calendar.el (calendar-week-end-day): New function.
8864 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8865 Respect calendar-week-start-day. (Bug#6606)
8866 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8867 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8868 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8869 respect calendar-week-start-day.
8871 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8873 * simple.el (use-region-p): Doc fix (Bug#6607).
8875 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8877 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8878 Add regexps for cucumber and ruby.
8880 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8882 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8883 (epa-file-insert-file-contents): Hack to prevent
8884 find-file from opening empty buffer when decryption failed
8887 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8889 * textmodes/ispell.el (ispell-alternate-dictionary):
8890 Use file-readable-p.
8891 Return nil if no word-list is found at default locations.
8892 (ispell-complete-word-dict): Default to nil.
8893 (ispell-command-loop): Use 'word-list' when using lookup-words.
8894 (lookup-words): Use ispell-complete-word-dict or
8895 ispell-alternate-dictionary. Check for word-list availability
8896 and handle errors if needed with better messages (Bug#6539).
8897 (ispell-complete-word): Use ispell-complete-word-dict or
8898 ispell-alternate-dictionary.
8900 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8902 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8903 builtins (BufferError, BytesWarning, WindowsError; callables
8904 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8906 2010-07-07 Glenn Morris <rgm@gnu.org>
8908 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8909 (zone-shift-left): Ignore intangibility, and any errors from
8911 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8912 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8913 deleting, and copying text properties.
8914 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8915 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8916 to point-max is hard.
8917 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8918 (zone-fill-out-screen): Ignore intangibility.
8920 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8922 * menu-bar.el (menu-bar-mode):
8923 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8926 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8927 word/line selection (Bug#6565).
8929 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8931 * net/dbus.el (dbus-send-signal): Declare function.
8933 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8935 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8936 (dbus-register-property): New optional argument EMITS-SIGNAL.
8937 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8939 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8941 * mouse.el (mouse-drag-overlay): Variable deleted.
8942 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8943 (mouse--remap-link-click-p): New function.
8944 (mouse-drag-track): Handle dragging by using temporary Transient
8945 Mark mode, instead of a special overlay.
8946 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8949 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8952 2010-07-02 Juri Linkov <juri@jurta.org>
8954 * autoinsert.el (auto-insert-alist): Fix readability
8955 by using dotted pair notation for lambda.
8957 2010-07-02 Juri Linkov <juri@jurta.org>
8959 * faces.el (read-face-name): Rename arg `string-describing-default'
8960 to `default'. Doc fix. Display the default value in quotes
8961 in the prompt. With empty input, return the `default' arg,
8962 unless the default value is a string (in which case return nil).
8963 (describe-face): Replace the string `default' arg of `read-face-name'
8964 with the symbol `default'.
8966 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8968 * emulation/viper-cmd.el (viper-delete-backward-char)
8969 (viper-del-backward-char-in-insert)
8970 (viper-del-backward-char-in-replace, viper-change)
8971 (viper-backward-indent): Replace delete-backward-char with
8972 delete-char (Bug#6552).
8974 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8976 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8978 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8980 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8981 argument passed to frame-creation-function (Bug#5378).
8983 * faces.el (x-handle-named-frame-geometry)
8984 (x-handle-reverse-video, x-create-frame-with-faces)
8985 (face-set-after-frame-default, tty-create-frame-with-faces):
8986 Don't separately consult default-frame-alist. It is now passed as the
8989 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8991 * startup.el (command-line): Don't call tool-bar-setup in a
8994 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8996 * ruler-mode.el (ruler--save-header-line-format): New fun.
8997 (ruler-mode): Use it as a setter function, so as not to overwrite
8998 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9000 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9002 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9003 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9004 (vc-log-outgoing): Use it.
9005 (vc-diff-internal): Set diff-vc-backend.
9007 * vc/diff-mode.el (diff-vc-backend): New var.
9009 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9011 * dynamic-setting.el (font-setting-change-default-font):
9012 Remove call to message.
9014 2010-06-28 Kenichi Handa <handa@m17n.org>
9016 * international/quail.el (quail-insert-kbd-layout): Fix the
9017 showing of untranslated characters.
9019 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9021 * simple.el (delete-active-region): New option.
9022 (delete-backward-char): Implement in Lisp.
9023 (delete-forward-char): New command.
9025 * mouse.el (mouse-region-delete-keys): Delete.
9026 (mouse-show-mark): Simplify.
9028 * bindings.el (global-map): Bind delete and DEL, the former to
9029 delete-forward-char.
9031 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9033 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9034 (ruby-mode): Bind indent-line-function (Bug#5119).
9036 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9038 * startup.el (command-line): Recognize "0" X resource value.
9040 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9042 * startup.el (command-line): Use X resources to set the value of
9043 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9045 * menu-bar.el (menu-bar-mode):
9046 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9047 Set init-value to t.
9049 * frame.el (frame-notice-user-settings): Don't change
9050 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9051 vice versa (Bug#2249).
9053 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9055 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9057 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9059 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9060 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9062 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9063 default directories are expanded (Bug#6143).
9065 2010-06-24 Juri Linkov <juri@jurta.org>
9067 * minibuffer.el (completions-format): Change default from nil to
9068 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9070 2010-06-24 Juri Linkov <juri@jurta.org>
9072 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9073 buffer-locally to lambda that re-runs the vc diff command.
9076 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9078 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9079 echo area is in use (Bug#3412).
9081 2010-06-22 Glenn Morris <rgm@gnu.org>
9083 * textmodes/texinfmt.el (texinfo-format-region)
9084 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9085 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9086 (texinfo-format-option, texinfo-noindent):
9087 Use line-beginning-position and line-end-position.
9089 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9090 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9091 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9094 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9096 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9097 forward-line fallout.
9099 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9101 * mouse.el (mouse-appearance-menu): Add docstring.
9103 * help.el (describe-key): Print up-event using key-description.
9105 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9107 * net/zeroconf.el (zeroconf-resolve-service)
9108 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9109 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9111 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9113 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9115 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9117 Avoid displaying files with a nil state in vc-dir.
9118 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9119 cases that cause insertion.
9120 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9123 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9125 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9127 2010-06-29 Leo <sdl.web@gmail.com>
9129 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9131 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9133 * generic-x.el (bat-generic-mode): Fix regexp for command line
9134 switches (Bug#5719).
9136 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9138 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9139 of nconc to avoid pure storage error (Bug#6239).
9141 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9143 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9144 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9145 bindings of bookmark-automatically-show-annotations (Bug#6515).
9147 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9149 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9150 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9152 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9154 * comint.el (make-comint, make-comint-in-buffer): Mention return
9155 value in the docstrings. (Bug#6498)
9157 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9159 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9160 since it is not present when using some non-default switches.
9162 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9164 * simple.el (compose-mail): Fix doc string to refer to
9165 `compose-mail-user-agent-warnings', instead of to the
9166 nonexistent `compose-mail-check-user-agent'.
9168 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9170 Fix an indentation bug:
9172 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9173 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9176 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9177 (c-clear->-pair-props-if-match-before): now return t when they've
9178 cleared properties, nil otherwise.
9179 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9180 by taking account of the existing value.
9182 * progmodes/cc-defs.el
9183 (c-clear-char-property-with-value-function): Fix this to clear the
9184 property rather than overwriting it with nil.
9186 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9188 * emacs-lisp/package.el (package-print-package): Add link to
9189 package description via describe-package.
9190 (describe-package-1): List package requirements. Add button to
9191 perform installation.
9192 (package-menu-describe-package): New command.
9194 * help-mode.el (help-package): New button type.
9196 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9198 * emacs-lisp/package.el: Move package-list-packages binding to
9200 (describe-package, describe-package-1, package--dir): New funs.
9201 (package-activate-1): Use package--dir.
9203 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9205 * help-mode.el (help-package-def): New button type.
9207 * menu-bar.el: Move package-list-packages binding here from
9210 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9212 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9214 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9216 * emacs-lisp/edebug.el (edebug-read-list):
9217 Phase out old-style backquotes.
9219 2010-06-17 Juri Linkov <juri@jurta.org>
9221 * help-mode.el (help-mode): Set buffer-local variable
9222 revert-buffer-function to help-mode-revert-buffer.
9223 (help-mode-revert-buffer): New function.
9225 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9226 before popping to "*info*" (like in other Info functions).
9227 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9228 old-history-forward. Pop to old-buffer-name or "*info*" to
9229 recreate the killed buffer. Set Info-history-forward from
9230 old-history-forward.
9231 (Info-breadcrumbs-depth): Add :group and :version.
9233 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9235 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9237 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9239 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9240 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9242 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9244 * emacs-lisp/package.el (package-menu-mode-map):
9245 Move initialization into declaration.
9247 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9249 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9251 * emacs-lisp/package.el (package-archive-base): Point to
9253 (package-enable, package-load-list): New defcustoms.
9254 (package-user-dir, package-directory-list): Turn into defcustoms.
9255 Don't include package-user-dir in package-directory-list.
9256 (package--builtins-base): Don't include Emacs as a "package".
9257 (package-subdirectory-regexp): New var.
9258 (package-load-all-descriptors, package-compute-transaction)
9259 (package-download-transaction): Obey package-load-list.
9260 (package-activate-1): Rename from package-do-activate.
9261 (package-list-packages-internal): Check package-load-list.
9262 (package-load-descriptor, package-generate-autoloads)
9263 (package-unpack, package-unpack-single)
9264 (package--read-archive-file, package-delete):
9265 Use expand-file-name.
9267 * emacs-lisp/package-x.el: New file. Package uploading
9268 functionality split out from package.el.
9270 * startup.el (command-line): Load packages after reading init file.
9272 2010-06-17 Tom Tromey <tromey@redhat.com>
9274 * emacs-lisp/package.el: New file.
9276 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9278 Fix vc-annotate for renamed files when using Git.
9279 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9280 ls-files. Doe not pass the object as a file name to cat-file, it
9282 (vc-git-annotate-command): Pass the file name using -- to avoid
9283 ambiguity with the revision.
9284 (vc-git-previous-revision): Pass a relative file name.
9286 2010-06-22 Glenn Morris <rgm@gnu.org>
9288 * progmodes/js.el (js-mode-map): Use standard capitalization and
9289 ellipses for menu entries.
9291 * wid-edit.el (widget-complete): Doc fix.
9293 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9295 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9297 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9299 Fix annotating other revisions for renamed files in vc-annotate.
9300 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9301 VC backend. Use it when non-nil.
9302 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9305 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9306 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9307 Do not pass the file name to the 'previous-revision call when we
9308 don't want a file diff. (Bug#6489)
9310 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9312 Fix finding revisions for renamed files in vc-annotate.
9313 * vc/vc.el (vc-find-revision): Add an optional argument for
9314 the VC backend. Use it when non-nil.
9315 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9316 backend to vc-find-revision. (Bug#6487)
9318 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9320 Fix reading file names in Git annotate buffers.
9321 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9322 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9324 2010-06-20 Alan Mackenzie <acm@muc.de>
9326 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9327 in file local variables, set it first.
9329 2010-06-19 Glenn Morris <rgm@gnu.org>
9331 * descr-text.el (describe-char-unicode-data): Insert separating
9332 space when needed. (Bug#6422)
9334 * progmodes/idlwave.el (idlwave-action-and-binding):
9335 Fix typo in 2009-12-03 change. (Bug#6450)
9337 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9339 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9340 handling for `lambda' (misunderstanding).
9342 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9344 * calc/calc-poly.el (math-accum-factors): Make sure that
9345 constants aren't distributed after they are factored out.
9347 2010-06-16 Juri Linkov <juri@jurta.org>
9349 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9350 `list-colors-print'. (Bug#6332)
9352 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9354 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9356 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9357 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9359 * font-lock.el (font-lock-major-mode): Rename from
9360 font-lock-mode-major-mode to distinguish it from
9361 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9362 (font-lock-set-defaults):
9363 * font-core.el (font-lock-default-function): Adjust users.
9364 (font-lock-mode): Don't set it at all.
9366 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9368 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9370 2010-06-16 Glenn Morris <rgm@gnu.org>
9372 * calendar/appt.el (appt-time-msg-list): Doc fix.
9373 (appt-check): Let-bind appt-warn-time.
9374 (appt-add): Make the 3rd argument optional.
9375 Simplify argument names. Doc fix. Check for integer WARNTIME.
9376 Only add WARNTIME to the output list if non-nil.
9378 2010-06-16 Ivan Kanis <apple@kanis.eu>
9380 * calendar/appt.el (appt-check): Let the 3rd element of
9381 appt-time-msg-list specify the warning time.
9382 (appt-add): Add new argument with the warning time. (Bug#5176)
9384 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9386 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9387 older than version 1.6. (Bug#6361)
9389 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9391 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9392 used by cl-do-arglist. (Bug#6408)
9394 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9396 * textmodes/ispell.el (ispell-dictionary-base-alist):
9397 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9398 Suggested by Rolando Pereira (bug#6434).
9400 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9402 * facemenu.el (list-colors-sort): Doc fix.
9404 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9406 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9408 2010-06-14 Juri Linkov <juri@jurta.org>
9410 Add sort option `list-colors-sort'. (Bug#6332)
9411 * facemenu.el (color-rgb-to-hsv): New function.
9412 (list-colors-sort): New defcustom.
9413 (list-colors-sort-key): New function.
9414 (list-colors-display): Doc fix. Sort list according to the option
9416 (list-colors-print): Add HSV values to `help-echo' property of
9419 2010-06-14 Juri Linkov <juri@jurta.org>
9421 * compare-w.el: Move to the "vc" subdirectory.
9423 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9425 * image-mode.el (image-mode-map): Remap left-char and right-char.
9427 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9429 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9431 * term/common-win.el (x-colors): Add all the color names defined
9432 in rgb.txt (Bug#6332).
9434 * facemenu.el (list-colors-print): Don't print extra names if it
9435 will overflow the window width.
9437 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9440 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9442 * files.el (make-directory): Doc fix (bug#6396).
9444 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9446 * net/tramp.el (tramp-remote-process-environment): Protect version
9447 string by apostroph.
9448 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9450 (tramp-file-name-for-operation): Add `call-process-region'.
9451 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9453 * net/tramp-compat.el (top): Do not autoload
9454 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9455 only when `start-file-process' is not bound.
9456 (tramp-advice-file-expand-wildcards): Do not use
9457 `tramp-handle-file-remote-p'.
9458 (tramp-compat-make-temp-file): Handle the case, that
9459 `make-temp-file' has no third argument EXTENSION.
9461 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9463 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9465 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9467 2010-06-11 Juri Linkov <juri@jurta.org>
9469 * finder.el (finder-known-keywords): Add keyword "vc"
9470 for version control.
9472 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9473 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9474 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9475 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9477 2010-06-11 Juri Linkov <juri@jurta.org>
9479 Move version control related files to the "vc" subdirectory.
9480 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9481 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9482 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9483 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9484 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9485 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9486 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9487 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9488 Move files to the "vc" subdirectory.
9490 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9492 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9495 2010-06-11 Stephen Eglen <stephen@gnu.org>
9497 * shell.el: Bind `shell-resync-dirs' to M-RET.
9499 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9501 * notifications.el: Move file from lisp/net, because it is
9502 supposed to talk locally to the user.
9504 2010-06-10 Julien Danjou <julien@danjou.info>
9506 * net/notifications.el (notifications-on-action-signal)
9507 (notifications-on-closed-signal): Pass notification id as first
9508 argument to the callback functions. Add docstrings.
9509 (notifications-notify): Fix docstring.
9511 2010-06-10 Glenn Morris <rgm@gnu.org>
9513 * emacs-lisp/authors.el (authors-ignored-files)
9514 (authors-valid-file-names): Add some files.
9516 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9518 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9519 merge conflict, giving preference to the emacs-23 version of the code.
9521 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9523 * emacs-lisp/advice.el (ad-compile-function):
9524 Define warning-suppress-types before we let-bind it (bug#6275).
9526 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9527 declare it, make it buffer-local and permanent-local (bug#6324).
9528 (vc-resynch-window): Adjust name.
9529 * vc-hooks.el (vc-find-file-hook): Adjust name.
9531 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9533 * net/notifications.el (notifications-notify): Fix docstring.
9535 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9537 Update to Unicode 6.0.0 beta.
9538 * international/charprop.el: Update copyright.
9539 * international/mule-cmds.el (ucs-names): Update character ranges.
9540 * international/uni-bidi.el:
9541 * international/uni-category.el:
9542 * international/uni-combining.el:
9543 * international/uni-comment.el:
9544 * international/uni-decimal.el:
9545 * international/uni-decomposition.el:
9546 * international/uni-digit.el:
9547 * international/uni-lowercase.el:
9548 * international/uni-mirrored.el:
9549 * international/uni-name.el:
9550 * international/uni-numeric.el:
9551 * international/uni-old-name.el:
9552 * international/uni-titlecase.el:
9553 * international/uni-uppercase.el: Regenerate.
9555 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9557 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9558 (smie-precs-precedence-table): Fix typo in docstring.
9560 * vc-mtn.el (log-edit-extract-headers): Declare function.
9562 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9564 * net/notifications.el (dbus-register-signal): Declare function.
9565 (notifications-notify): Fix typos and reflow docstring.
9567 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9569 Improve VC create/retrieve tag/branch.
9570 * vc.el (vc-create-tag): Do not read the directory name for VCs
9571 with repository revision granularity. Adjust the tag/branch
9572 prompt. Reset VC properties.
9573 (vc-retrieve-tag): Do not read the directory name for VCs
9574 with repository revision granularity. Reset VC properties.
9576 2010-06-09 Julien Danjou <julien@danjou.info>
9578 * net/notifications.el: New file.
9580 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9582 Add optional support for resetting VC properties.
9583 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9584 call vc-file-clearprops when true.
9585 (vc-resynch-buffer): Add new optional argument, pass it down.
9586 (vc-resynch-buffers-in-directory): Likewise.
9588 Improve support for special markup in the VC commit message.
9589 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9590 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9591 * vc-git.el (vc-git-checkin):
9592 * vc-bzr.el (vc-bzr-checkin): Likewise.
9594 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9596 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9597 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9599 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9601 * iimage.el: Remove images as soon as the underlying text is modified.
9602 (iimage-modification-hook): New function.
9603 (iimage-mode-buffer): Use it.
9605 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9607 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9608 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9609 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9610 (smie-indent-keyword): Add handling of open-paren keywords.
9611 (smie-indent-comment-continue): Don't assume comment-continue.
9613 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9615 * window.el (pop-to-buffer): Remove the conditional that
9616 compares new-window and old-window, so it will reselect
9617 the selected window unconditionally.
9618 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9620 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9622 * emacs-lisp/smie.el (smie-indent-offset-after)
9623 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9624 (smie-indent-after-keyword): Use them.
9625 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9626 (smie-indent-keyword): Tweak the black magic.
9627 (smie-indent-comment-continue): Strip comment-continue before use.
9628 (smie-indent-functions): Indent comments before keywords.
9630 2010-06-06 Juri Linkov <juri@jurta.org>
9632 * isearch.el (isearch-lazy-highlight-search): Fix looping
9633 by checking for empty match. This syncs this loop with the
9634 similar loop in `isearch-search'. (Bug#6362)
9636 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9638 * net/dbus.el (dbus-register-method): Declare function.
9639 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9640 (dbus-introspect): Doc fix.
9641 (dbus-event-bus-name, dbus-introspect-get-interface)
9642 (dbus-introspect-get-argument): Reflow docstrings.
9644 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9646 vc-log-incoming/vc-log-outgoing fixes for Git.
9647 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9648 incoming/outgoing logs.
9649 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9650 instead of vc-git-compute-remote.
9651 (vc-git-compute-remote): Remove.
9653 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9655 * term/common-win.el (x-colors): Add "dark green" and "dark
9656 turquoise" (Bug#6332).
9658 2010-06-04 Juri Linkov <juri@jurta.org>
9660 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9661 Instead of setting `replace' to t and replacing the same string
9662 with itself, don't do certain actions when
9663 kill-do-not-save-duplicates is non-nil and string is equal to car
9664 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9665 interprogram-paste strings to kill-ring, and don't push the input
9666 argument `string' to kill-ring.
9667 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9669 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9671 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9673 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9675 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9676 (tramp-gvfs-handler-mounted-unmounted)
9677 (tramp-gvfs-connection-mounted-p): Handle default-location.
9679 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9680 move files to trash.
9682 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9684 * international/mule-cmds.el (nonascii-insert-offset)
9685 (nonascii-translation-table): Add obsolescence information.
9687 * international/mule.el (make-translation-table-from-vector): Doc fix.
9689 2010-06-03 Glenn Morris <rgm@gnu.org>
9691 * desktop.el (desktop-clear-preserve-buffers):
9692 Add "*Warnings*" buffer. (Bug#6336)
9694 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9696 vc-log-incoming/vc-log-outgoing improvements for Git.
9697 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9699 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9701 Add bindings for vc-log-incoming and vc-log-outgoing.
9702 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9703 and vc-log-outgoing.
9704 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9705 and vc-log-outgoing.
9707 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9709 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9710 (rcirc-handler-366): Always sort nicknames.
9712 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9714 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9716 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9718 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9720 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9722 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9723 (rcirc-sort-nicknames-join): Avoid setq.
9725 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9727 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9728 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9729 (rcirc-handler-366): Use them.
9731 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9733 Split smie-indent-calculate into more manageable chunks.
9734 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9735 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9736 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9737 (smie-indent-exps): Extract from smie-indent-calculate.
9738 (smie-indent-functions): New var.
9739 (smie-indent-functions): Use them.
9741 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9743 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9744 (smie-indent-calculate): Simplify and cleanup.
9746 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9748 * net/tramp-gvfs.el (top): Require url-util.
9749 (tramp-gvfs-mount-point): Remove.
9750 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9752 (with-tramp-dbus-call-method): Format trace message.
9753 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9754 Implement backup call, when operation on local files fails.
9755 Use progress reporter. Flush properties of changed files.
9756 (tramp-gvfs-handle-make-directory): Make more traces.
9757 (tramp-gvfs-url-file-name): Hexify file name in url.
9758 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9759 into account for the resulting file name.
9760 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9761 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9762 (tramp-gvfs-handler-mounted-unmounted)
9763 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9764 attribute "default_location". Set "prefix" property.
9765 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9766 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9767 exists. Raise an error, if not (due to a corresponding answer
9768 "no" in interactive questions, for example).
9770 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9772 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9774 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9776 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9779 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9781 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9782 * vc-git.el (vc-git-compute-remote): New function.
9783 (vc-git-log-outgoing): Use it instead of hard coding a value.
9784 (vc-git-log-incoming): New function.
9786 Improve state updating for VC tag commands.
9787 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9788 to update the state of all buffers in the directory.
9790 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9792 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9794 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9795 `file-directory-p' to the filename part rather than to the whole text.
9797 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9799 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9801 2010-05-31 Drew Adams <drew.adams@oracle.com>
9803 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9805 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9807 * subr.el (momentary-string-display): Just use read-event to read
9808 the exit event (Bug#6238).
9810 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9812 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9814 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9816 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9817 Suggested by Eli Zaretskii <eliz@gnu.org>.
9819 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9821 * minibuffer.el (completion-file-name-table): Don't return a boundary
9822 past the end of `string' (bug#6299).
9823 (completion--file-name-table): Delegate to completion-file-name-table
9824 for the `boundaries' case.
9826 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9828 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9831 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9832 `path-separator', but maintain compatibility with Emacs 20.2.
9834 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9836 * server.el (server-process-filter): Receive parent-id argument
9838 (server-create-window-system-frame): New arg. Pass parent-id as
9841 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9843 Bidi-sensitive word movement with arrow keys.
9844 * subr.el (right-arrow-command, left-arrow-command): Move to
9847 * bindings.el (right-char, left-char): Move from subr.el and
9848 rename from right-arrow-command and left-arrow-command.
9849 (right-word, left-word): New functions.
9850 (global-map) <right>: Bind to right-char.
9851 (global-map) <left>: Bind to left-char.
9852 (global-map) <C-right>: Bind to right-word.
9853 (global-map) <C-left>: Bind to left-word.
9855 * ls-lisp.el (ls-lisp-classify-file): New function.
9856 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9857 (ls-lisp-classify): Call ls-lisp-classify-file.
9858 (insert-directory): Remove blanks from switches.
9860 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9862 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9863 (ansi-color-drop-regexp): New constant.
9864 (ansi-color-apply, ansi-color-filter-region)
9865 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9866 (ansi-color-apply): Build string list before calling concat.
9868 2010-05-28 Juri Linkov <juri@jurta.org>
9870 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9871 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9874 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9876 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9877 to ignored backtrace functions.
9878 (with-progress-reporter): Expand docstring.
9879 (tramp-handle-delete-file): Implement TRASH argument.
9880 (tramp-get-remote-trash): New defun.
9882 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9884 * net/tramp-compat.el (tramp-compat-delete-file):
9885 Use `symbol-value' for backward compatibility.
9887 * net/tramp.el (tramp-handle-make-symbolic-link)
9889 (tramp-do-copy-or-rename-file-via-buffer)
9890 (tramp-do-copy-or-rename-file-directly)
9891 (tramp-do-copy-or-rename-file-out-of-band)
9892 (tramp-handle-process-file, tramp-handle-call-process-region)
9893 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9894 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9895 (tramp-delete-temp-file-function): Use `delete-file' instead
9896 of `tramp-compat-delete-file'.
9898 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9899 (tramp-fish-handle-make-symbolic-link)
9900 (tramp-fish-handle-process-file): Use `delete-file' instead
9901 of `tramp-compat-delete-file'.
9903 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9904 Use `delete-file' instead of `tramp-compat-delete-file'.
9906 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9907 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9908 `tramp-compat-delete-file'.
9910 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9911 Use `delete-file' instead of `tramp-compat-delete-file'.
9913 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9914 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9915 (tramp-smb-handle-write-region): Use `delete-file' instead of
9916 `tramp-compat-delete-file'.
9917 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9919 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9921 * dired.el (dired-delete-file): New arg TRASH.
9922 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9923 (dired-do-flagged-delete, dired-do-delete): Use trash.
9925 * speedbar.el (speedbar-item-delete): Allow trashing.
9927 * files.el (delete-directory): New arg TRASH.
9929 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9930 (ange-ftp-rename-remote-to-remote)
9931 (ange-ftp-rename-local-to-remote)
9932 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9933 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9935 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9938 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9939 handle new TRASH arg of `delete-file'.
9941 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9942 (tramp-handle-make-symbolic-link, tramp-handle-load)
9943 (tramp-do-copy-or-rename-file-via-buffer)
9944 (tramp-do-copy-or-rename-file-directly)
9945 (tramp-do-copy-or-rename-file-out-of-band)
9946 (tramp-handle-process-file, tramp-handle-call-process-region)
9947 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9948 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9949 (tramp-delete-temp-file-function): Use null TRASH arg in
9950 tramp-compat-delete-file call.
9952 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9953 (tramp-fish-handle-delete-file)
9954 (tramp-fish-handle-make-symbolic-link)
9955 (tramp-fish-handle-process-file): Use null TRASH arg in
9956 `tramp-compat-delete-file' call.
9958 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9959 arg in `tramp-compat-delete-file' call.
9961 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9962 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9963 `tramp-compat-delete-file' call.
9965 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9966 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9967 `tramp-compat-delete-file' call.
9969 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9970 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9971 (tramp-smb-handle-write-region): Use null TRASH arg in
9972 tramp-compat-delete-file call.
9973 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9974 (tramp-smb-handle-delete-file): Rename arg.
9976 * diff.el (diff-sentinel):
9977 * epg.el (epg--make-temp-file, epg-decrypt-string)
9978 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9979 * jka-compr.el (jka-compr-partial-uncompress)
9980 (jka-compr-call-process, jka-compr-write-region):
9981 * server.el (server-sentinel): Remove optional arg from
9982 delete-file, reverting 2010-05-03 change.
9984 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9986 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9987 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9989 2010-05-27 Kenichi Handa <handa@m17n.org>
9991 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9992 element of GSTRING is nil.
9994 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9996 * emacs-lisp/smie.el (smie-forward-token-function)
9997 (smie-backward-token-function): New vars.
9998 (smie-backward-sexp, smie-forward-sexp)
9999 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10000 (smie-default-backward-token): Rename from smie-backward-token and
10002 (smie-default-forward-token): Rename from smie-forward-token and
10004 (smie-next-sexp): Handle nil results from next-token.
10005 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10007 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10009 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10010 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10012 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10014 * htmlfontify.el (hfy-face-resolve-face): New function.
10015 (hfy-face-to-style): Use it (Bug#6279).
10017 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10019 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10020 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10022 2010-05-26 Glenn Morris <rgm@gnu.org>
10024 * emulation/edt.el (edt-load-keys): Use locate-library.
10026 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10028 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10029 (log-edit-changelog-entries): Doc fix.
10030 (log-edit-changelog-insert-entries): Args changed.
10031 Rename relative filenames in ChangeLog entries. Delete tabs.
10032 (log-edit-insert-changelog-entries): Reorganize return value of
10033 `log-edit-changelog-entries' to pass filenames to
10034 log-edit-changelog-insert-entries.
10036 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10038 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10039 `image-dired-dired-insert-marked-thumbs' to
10040 `image-dired-dired-toggle-marked-thumbs'.
10042 * image-dired.el: Require cl when compiling.
10043 (image-dired-dired-toggle-marked-thumbs): Rename from
10044 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10045 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10046 to 'no-dir. Skip files whose names don't match
10047 `image-file-name-regexp'. When file has a thumbnail overlay,
10048 delete it. (Bug#5270)
10050 2010-05-25 Juri Linkov <juri@jurta.org>
10052 * image-mode.el (image-mode): Add image-after-revert-hook to
10054 (image-after-revert-hook): New function. (Bug#5669)
10056 2010-05-25 Juri Linkov <juri@jurta.org>
10058 * image.el (image-animated-p): When delay between animated images
10059 is 0, set it to 10 (0.1 sec). (Bug#6258)
10061 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10063 * net/tramp.el (tramp-handle-insert-directory): Don't use
10064 `forward-word', its default syntax could be changed.
10066 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10068 * net/tramp.el (tramp-progress-reporter-update): New defun.
10069 (with-progress-reporter): Use it.
10070 (tramp-process-actions):
10071 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10072 Preserve current message, in order to let progress reporter continue
10073 afterwards. (Bug#6257)
10075 2010-05-25 Glenn Morris <rgm@gnu.org>
10077 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10080 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10082 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10083 (rcirc-default-full-name): Change to "unknown".
10084 (rcirc-user-name-history): Add variable.
10086 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10087 Jonathan Rockway <jon@jrock.us>
10089 * net/rcirc.el (rcirc-server-alist): Add :pass.
10090 (rcirc): When prompting for connection parameters, also prompt for
10091 username and password.
10092 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10093 value to server when connecting.
10095 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10097 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10098 (smie-merge-prec2s): Pass the tables as separate args.
10099 (smie-bnf-precedence-table): Adjust call accordingly.
10100 (smie-prec2-levels): Set levels at the end.
10102 Replace Lisp calls to delete-backward-char by delete-char.
10103 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10104 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10105 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10106 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10107 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10108 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10109 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10110 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10111 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10112 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10113 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10114 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10115 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10116 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10117 delete-backward-char by calls to delete-char.
10119 2010-05-25 Kenichi Handa <handa@m17n.org>
10121 * language/hebrew.el (hebrew-shape-gstring): New function.
10122 Register it in composition-function-table for all Hebrew combining
10125 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10127 * epa.el (epa--select-keys): Don't explicitly delete the window since
10128 that can fail (e.g. sole window in frame). Use dedication instead.
10130 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10132 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10134 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10136 * image.el (image-refresh): Define as an alias for image-flush.
10138 * image-mode.el (image-toggle-display-image): Caller changed.
10140 2010-05-21 Juri Linkov <juri@jurta.org>
10142 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10143 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10144 whitespace, call wildcard-to-regexp on substrings and concat them
10145 with "\\|". (Bug#6114)
10147 2010-05-21 Alan Mackenzie <acm@muc.de>
10149 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10150 Replace parameter `here' with `here-' and `here-plus', which sandwich
10151 any pertinent CPP construct.
10152 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10153 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10154 CPP construct from taking part in the scanning.
10156 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10158 * net/tramp.el (tramp-do-copy-or-rename-file)
10159 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10160 Tune `with-progress-reporter' messages.
10161 (tramp-handle-vc-registered):
10162 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10163 (tramp-fish-handle-insert-file-contents)
10164 (tramp-fish-maybe-open-connection):
10165 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10166 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10167 (tramp-imap-handle-insert-file-contents)
10168 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10170 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10172 * add-log.el (change-log-font-lock-keywords):
10173 Highlight all authors in multi-author entries.
10175 * smerge-mode.el (smerge-refine-ignore-whitespace)
10176 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10177 Fix typos in docstrings.
10178 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10180 2010-05-21 Glenn Morris <rgm@gnu.org>
10182 * progmodes/fortran.el (fortran-mode):
10183 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10185 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10186 having a relative path in src/Makefile.in.
10188 2010-05-20 Kevin Ryde <user42@zip.com.au>
10190 * help-mode.el (help-make-xrefs): For Info node links turn
10191 newlines into spaces. Link node names with newlines are matched
10192 by help-xref-info-regexp and buttonized, this change ensures they
10193 can be followed successfully with RET. (Bug#6206)
10195 2010-05-20 Juri Linkov <juri@jurta.org>
10197 * locate.el (locate): Use pop-to-buffer instead of
10198 switch-to-buffer-other-window. (Bug#6204)
10200 2010-05-20 Juri Linkov <juri@jurta.org>
10202 * replace.el (replace-highlight): Fix lazy-highlighting
10203 for `M-s w str M-% str RET'.
10205 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10207 * isearch.el (isearch-yank-word-or-char): Pull next subword
10208 when `subword-mode' is activated. (Bug#6220)
10210 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10212 * isearch.el (isearch-update-post-hook): New hook.
10213 (isearch-update): Use the new hook. (Bug#6225)
10215 2010-05-20 Juri Linkov <juri@jurta.org>
10217 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10218 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10221 2010-05-20 Juri Linkov <juri@jurta.org>
10223 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10226 2010-05-20 Juri Linkov <juri@jurta.org>
10228 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10229 FILE-NAME to read from the minibuffer when called interactively
10230 with prefix argument instead of using buffer-file-name.
10231 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10233 * dired.el: Update autoloads.
10235 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10237 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10238 nxml-finish-element, for consistency with SGML mode.
10240 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10241 octave-close-block.
10243 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10245 * composite.el: Require cl when compiling.
10246 (reference-point-alist, compose-gstring-for-graphic)
10247 (compose-gstring-for-terminal): Fix typos in docstrings.
10249 2010-05-19 Juri Linkov <juri@jurta.org>
10251 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10252 set-window-parameter.
10254 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10256 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10258 (tramp-maybe-open-connection): Use it.
10260 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10262 * simple.el (move-end-of-line): Make sure we are at line beginning
10263 before backing up to end of previous line.
10265 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10267 * password-cache.el (password-cache-remove): Fix docstring.
10269 * net/secrets.el: Autoload the widget functions.
10270 (secrets-search-items, secrets-create-item)
10271 (secrets-get-attributes, secrets-expand-item): Attributes will be
10272 stored on the password database without leading ":", as all other
10273 clients do as well.
10274 (secrets-mode): Fix docstring.
10275 (secrets-show-secrets): Provide it as autoloaded command only when
10276 D-Bus support is available. Check existence of Secret Service API.
10278 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10280 * indent.el (indent-region): Deactivate region (bug#6200).
10282 2010-05-19 Glenn Morris <rgm@gnu.org>
10284 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10286 2010-05-19 Kenichi Handa <handa@m17n.org>
10288 * composite.el: Register compose-gstring-for-graphic in
10289 composition-function-table only for combining characters (Mn, Mc, Me).
10291 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10293 * calc/calc-trail.el (calc-trail-isearch-forward)
10294 (calc-trail-isearch-backward): Ensure that the new window
10295 point is set correctly.
10297 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10299 * subr.el (read-quoted-char): Resolve modifiers after key
10300 remapping (bug#6212).
10302 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10304 Add visualization code for secrets.
10305 * net/secrets.el (secrets-mode): New major mode.
10306 (secrets-show-secrets, secrets-show-collections)
10307 (secrets-expand-collection, secrets-expand-item)
10308 (secrets-tree-widget-after-toggle-function)
10309 (secrets-tree-widget-show-password): New defuns.
10311 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10313 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10314 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10315 handled in smie-next-sexp.
10316 (smie-indent-calculate): Provide a starting indentation (so the
10317 recursion is well-founded ;-).
10319 Fix handling of non-associative equal levels.
10320 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10321 when it's not needed.
10322 (smie-op-left, smie-op-right): New functions.
10323 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10324 Better handle equal levels to distinguish the associative case from
10325 the "multi-keyword construct" case.
10326 (smie-backward-sexp, smie-forward-sexp): Use it.
10328 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10330 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10332 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10333 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10335 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10337 Provide a simple generic indentation engine and use it for Prolog.
10338 * emacs-lisp/smie.el: New file.
10339 * progmodes/prolog.el (prolog-smie-op-levels)
10340 (prolog-smie-indent-rules): New var.
10341 (prolog-mode-variables): Use them to configure SMIE.
10342 (prolog-indent-line, prolog-indent-level): Remove.
10344 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10346 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10347 order before computing the averages.
10349 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10351 * calc/calc-vec.el (calc-histogram):
10352 (calcFunc-histogram): Allow vectors as inputs.
10353 (math-vector-avg): New function.
10355 * calc/calc-ext.el (math-group-float): Have the number of digits
10356 being grouped depend on the radix (Bug#6189).
10358 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10360 * version.el (emacs-copyright, emacs-version): Don't define here,
10361 now that emacs.c defines it.
10363 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10365 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10366 "Describe Language Environment" menu item.
10368 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10370 Bidi-sensitive movement with arrow keys.
10371 * subr.el (right-arrow-command, left-arrow-command): New functions.
10373 * bindings.el (global-map): Bind them to right and left arrow keys.
10375 Don't override standard definition of convert-standard-filename.
10376 * files.el (convert-standard-filename):
10377 Call w32-convert-standard-filename and dos-convert-standard-filename on
10378 the corresponding systems.
10380 * w32-fns.el (w32-convert-standard-filename): Rename from
10381 convert-standard-filename. Doc fix.
10383 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10384 (convert-standard-filename): Don't defalias.
10385 (register-name-alist, make-register, register-value)
10386 (set-register-value, intdos): Obsolete aliases for the
10387 corresponding dos-* functions and variables.
10388 (dos-intdos): Add a doc string.
10390 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10392 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10393 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10394 (math-compose-tex-func):
10395 * calc/calccomp.el (math-compose-expr):
10396 * calc/calc-ext.el (math-format-flat-expr-fancy):
10397 * calc/calc-store.el (calc-read-var-name):
10398 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10400 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10401 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10402 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10403 (math-standard-units): Add units.
10405 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10407 * progmodes/asm-mode.el (asm-mode):
10408 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10410 * pcomplete.el (pcomplete-completions-at-point): New function,
10411 extracted from pcomplete-std-complete.
10412 (pcomplete-std-complete): Use it.
10414 2010-05-15 Glenn Morris <rgm@gnu.org>
10416 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10417 Remove references to CVS, RCS and Old directories.
10419 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10421 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10424 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10426 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10427 (sh-mode-syntax-table): Give it a default value instead.
10428 (sh-header-marker): Make buffer-local.
10429 (sh-mode): Move make-local-variable to the corresponding setq.
10430 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10431 Use complete-with-action.
10433 * simple.el (prog-mode): New (abstract) major mode.
10434 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10435 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10437 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10439 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10440 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10441 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10442 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10443 (sql-escape-newlines-filter, sql-input-sender)
10444 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10446 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10448 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10450 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10451 latex-open-block and C-c / to latex-close-block.
10453 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10454 and C-c C-e to sgml-close-tag.
10456 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10458 * net/tramp.el (with-progress-reporter): Create reporter object
10459 only when the message would be displayed. Handle nested calls.
10460 (tramp-handle-load, tramp-handle-file-local-copy)
10461 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10462 (tramp-maybe-send-script, tramp-find-shell):
10463 Use `with-progress-reporter'.
10464 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10467 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10468 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10469 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10470 Use `with-progress-reporter'.
10472 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10474 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10475 process everytime when spellchecking from the minibuffer (bug#6143).
10477 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10479 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10481 * dos-fns.el: Add "dos-" prefix for namespace control.
10482 (convert-standard-filename): Define as alias for
10483 dos-convert-standard-filename but only if applicable.
10485 2010-05-12 Alan Mackenzie <acm@muc.de>
10487 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10488 Push the mark at the start of these functions when appropriate.
10490 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10492 * minibuffer.el (completion-cycle-threshold): New custom var.
10493 (completion--do-completion): Use it.
10494 (minibuffer-complete): Use cycling if appropriate.
10496 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10498 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10499 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10501 2010-05-11 Juri Linkov <juri@jurta.org>
10503 * scroll-all.el (scroll-all-check-to-scroll):
10504 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10506 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10508 * iimage.el (iimage-mode-map): Move initialization into declaration.
10509 (iimage-mode-buffer): Use with-silent-modifications.
10510 Simplify calling convention. Adjust callers.
10511 (iimage-mode): Don't run hook redundantly.
10513 * minibuffer.el (completion-pcm--pattern->regex):
10514 Fix last change (bug#6160).
10516 2010-05-10 Juri Linkov <juri@jurta.org>
10518 Remove nodes visited during Isearch from the Info history.
10519 * info.el (Info-isearch-initial-history)
10520 (Info-isearch-initial-history-list): New variables.
10521 (Info-isearch-start): Record initial values of
10522 Info-isearch-initial-history and Info-isearch-initial-history-list.
10523 Add Info-isearch-end to isearch-mode-end-hook.
10524 (Info-isearch-end): New function.
10526 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10528 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10529 format string, in order to work around a bug in pdksh.
10530 Reported by Gilles Pion <gpion@lfdj.com>.
10531 (tramp-handle-verify-visited-file-modtime): Do not send a command
10532 when the connection is not established.
10533 (tramp-handle-set-file-times): Simplify the check for utc.
10535 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10537 Fix use of `filter-buffer-substring' (rework previous change).
10538 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10539 (cua-repeat-replace-region):
10540 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10541 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10542 (cua-cut-region-to-global-mark): Use it.
10544 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10546 * progmodes/sql.el: Version 2.1.
10547 (sql-product-alist): Redesign structure of product info.
10548 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10549 (sql-port, sql-port-history): New variables.
10550 (sql-interactive-product): New variable.
10551 (sql-send-terminator): New variable.
10552 (sql-imenu-generic-expression): Add "Types" imenu entry.
10553 (sql-oracle-login-params, sql-sqlite-login-params)
10554 (sql-mysql-login-params, sql-solid-login-params)
10555 (sql-sybase-login-params, sql-informix-login-params)
10556 (sql-ingres-login-params, sql-ms-login-params)
10557 (sql-postgres-login-params, sql-interbase-login-params)
10558 (sql-db2-login-params, sql-linter-login-params)
10559 (sql-oracle-scan-on): New variables.
10560 (sql-mode-map): Add C-c C-i to start interactive mode.
10561 (sql-mode-menu): Update existing menu entries.
10562 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10563 (sql-mode-oracle-font-lock-keywords)
10564 (sql-mode-postgres-font-lock-keywords)
10565 (sql-mode-ms-font-lock-keywords)
10566 (sql-mode-sybase-font-lock-keywords)
10567 (sql-mode-informix-font-lock-keywords)
10568 (sql-mode-interbase-font-lock-keywords)
10569 (sql-mode-ingres-font-lock-keywords)
10570 (sql-mode-solid-font-lock-keywords)
10571 (sql-mode-mysql-font-lock-keywords)
10572 (sql-mode-sqlite-font-lock-keywords)
10573 (sql-mode-db2-font-lock-keywords)
10574 (sql-mode-linter-font-lock-keywords): Update initialization to
10575 reduce run-time complexity.
10576 (sql-add-product, sql-del-product): New functions.
10577 (sql-set-product-feature, sql-get-product-feature): New functions.
10578 (sql-product-font-lock): Update product API.
10579 (sql-add-product-keywords): New function.
10580 (sql-highlight-product): Update product API.
10581 (sql-help-list-products): New function.
10582 (sql-help): Dynamically lists free and non-free products.
10583 (sql-get-login): Correct bug in handling history and added
10585 (sql-copy-column): Copy without properties.
10586 (sqli-input-sender): Apply filters to SQLi input.
10587 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10588 Implement as a filter.
10589 (sql-escape-newlines-filter): Implement as a filter.
10590 (sql-remove-tabs-filter): New function.
10591 (sql-send-magic-terminator): New function.
10592 (sql-send-string): Implement magic terminator.
10593 (sql-send-region): Use `sql-send-string'.
10594 (sql-interactive-mode): Use product API.
10595 (sql-product-interactive): Use product API.
10596 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10597 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10598 (sql-db2, sql-linter): Use `sql-product-interactive'.
10599 (sql-connect): New function.
10600 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10601 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10602 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10603 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10606 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10608 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10609 New custom variable.
10610 (completion-pcm--string->pattern): Use it.
10611 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10612 Make it handle any symbol as `any'.
10613 (completion-pcm--merge-completions): Extract common suffix for the new
10614 `prefix' symbol as well.
10615 (completion-substring--all-completions): Use the new `prefix' symbol.
10617 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10619 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10621 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10622 (tramp-compat-funcall): New defmacro.
10623 (tramp-compat-line-beginning-position)
10624 (tramp-compat-line-end-position)
10625 (tramp-compat-temporary-file-directory)
10626 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10627 (tramp-compat-copy-file, tramp-compat-copy-directory)
10628 (tramp-compat-delete-file, tramp-compat-delete-directory)
10629 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10630 * net/tramp.el (top, with-progress-reporter)
10631 (tramp-rfn-eshadow-setup-minibuffer)
10632 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10633 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10634 (tramp-completion-mode-p, tramp-check-for-regexp)
10635 (tramp-open-connection-setup-interactive-shell)
10636 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10637 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10638 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10639 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10640 (tramp-reporter-dump-variable, tramp-load-report-modules)
10641 (tramp-append-tramp-buffers)
10642 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10644 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10646 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10648 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10649 buffer-modtime. Adjust users.
10651 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10653 * international/mule.el (auto-coding-alist): Only purecopy
10654 car of each item, not the whole list (Bug#6083).
10656 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10658 * progmodes/js.el (js-mode): Make paragraph variables local before
10659 calling c-setup-paragraph-variables (Bug#6071).
10661 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10663 * composite.el (compose-region, reference-point-alist): Fix typos
10664 in the doc strings.
10666 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10668 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10669 gnuplot's "set" command.
10671 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10673 * abbrev.el (last-abbrev-text): Doc fix.
10674 (abbrev-prefix-mark): Don't escape parenthesis.
10676 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10678 * composite.el (find-composition): Doc fix.
10680 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10682 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10683 (sql-oracle-program, sql-sqlite-options)
10684 (sql-query-placeholders-and-send): Doc fixes.
10685 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10686 (sql-imenu-generic-expression, sql-buffer)
10687 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10688 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10689 (sql-mode-sybase-font-lock-keywords)
10690 (sql-mode-informix-font-lock-keywords)
10691 (sql-mode-interbase-font-lock-keywords)
10692 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10693 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10694 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10695 (sql-product-feature, sql-highlight-product)
10696 (comint-line-beginning-position, sql-rename-buffer)
10697 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10698 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10699 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10700 Fix typos in docstrings.
10702 2010-05-08 Juri Linkov <juri@jurta.org>
10704 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10705 property instead of `invisible' and `after-string' (bug#5998).
10707 2010-05-08 Juri Linkov <juri@jurta.org>
10709 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10711 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10713 * filecache.el (file-cache-add-directory-list)
10714 (file-cache-add-directory-recursively): Fix typos in docstrings.
10716 2010-05-08 Kenichi Handa <handa@m17n.org>
10718 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10719 (gujarati-composable-pattern): Fix typo.
10721 2010-05-08 Kenichi Handa <handa@m17n.org>
10723 * language/indian.el (oriya-composable-pattern)
10724 (tamil-composable-pattern, malayalam-composable-pattern):
10725 Add two-part vowels to "v" (vowel sign).
10727 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10729 * files.el (copy-directory): Handle symlinks (Bug#5982).
10731 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10733 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10734 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10737 2010-05-08 Glenn Morris <rgm@gnu.org>
10739 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10741 * minibuffer.el (completion-at-point): Doc fix.
10743 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10745 * electric.el (Electric-command-loop): Minor tweak.
10747 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10748 better with dedicated windows.
10750 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10752 * Version 23.2 released.
10754 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10755 Stefan Monnier <monnier@iro.umontreal.ca>
10757 Highlight vendor specific properties.
10758 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10759 (css-proprietary-property): New face.
10760 (css-font-lock-keywords): Use them.
10762 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10764 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10766 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10768 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10769 * files.el (auto-mode-alist): Remove redundant entries.
10771 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10772 * simple.el (auto-save-mode): Move from files.el.
10773 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10775 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10777 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10779 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10781 * mail/binhex.el (binhex-decode-region-internal)
10782 * mail/uudecode.el (uudecode-decode-region-internal)
10783 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10784 (dns-read-type, dns-query)
10785 * pgg-parse.el (pgg-parse-armor)
10786 * pgg.el (pgg-verify-region)
10787 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10790 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10792 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10794 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10796 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10797 * emulation/cua-base.el (cua-repeat-replace-region):
10798 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10799 (cua-cut-region-to-global-mark):
10800 Remove text properties with `set-text-properties'.
10802 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10804 * net/tramp.el (top, with-progress-reporter):
10805 Use `symbol-function' inside `funcall'.
10807 * net/tramp-compat.el (tramp-compat-file-attributes)
10808 (tramp-compat-delete-file, tramp-compat-delete-directory):
10809 Handle only `wrong-number-of-arguments' error.
10811 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10812 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10815 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10817 * minibuffer.el (completion--sreverse, completion--common-suffix):
10819 (completion-pcm--merge-completions): Extract common suffix when safe.
10821 * emacs-lisp/easy-mmode.el (define-minor-mode):
10822 Make :variable more flexible.
10823 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10825 2010-05-05 Juri Linkov <juri@jurta.org>
10827 Add `slow' and `history' tags to the desktop data.
10829 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10830 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10831 (Info-finder-find-node): Require `finder.el' to be able
10832 to restore node from the desktop.
10833 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10834 data `Info-history' and `slow' tag in the assoc list.
10835 (Info-restore-desktop-buffer): Don't restore nodes with the
10836 `slow' tag. Restore `Info-history'.
10838 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10840 Add FORCE argument to `delete-file'.
10842 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10843 forcing to delete the temporary file.
10844 (ange-ftp-delete-file): Add FORCE arg.
10845 (ange-ftp-rename-remote-to-remote)
10846 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10847 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10848 Force file deletion.
10850 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10852 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10853 (tramp-handle-make-symbolic-link, tramp-handle-load)
10854 (tramp-do-copy-or-rename-file-via-buffer)
10855 (tramp-do-copy-or-rename-file-directly)
10856 (tramp-do-copy-or-rename-file-out-of-band)
10857 (tramp-handle-process-file, tramp-handle-call-process-region)
10858 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10859 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10860 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10862 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10863 (tramp-fish-handle-make-symbolic-link)
10864 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10866 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10867 Use `tramp-compat-delete-file'.
10869 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10870 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10872 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10873 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10875 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10876 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10877 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10878 Use `tramp-compat-delete-file'.
10880 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10883 * subr.el (add-minor-mode): Use push.
10884 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10885 * emulation/edt.el (edt-select-mode): Simplify.
10887 Use define-minor-mode in more cases.
10888 * term/tvi970.el (tvi970-set-keypad-mode):
10889 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10890 (normal-erase-is-backspace-mode):
10891 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10892 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10893 (get-scroll-bar-mode): New function.
10894 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10896 Use define-minor-mode for less obvious cases.
10897 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10898 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10899 * international/iso-ascii.el (iso-ascii-mode):
10900 * frame.el (auto-raise-mode, auto-lower-mode):
10901 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10903 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10905 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10906 in order to see error messages for failed logins.
10908 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10910 * diff.el (diff-sentinel):
10912 * epg.el (epg--make-temp-file, epg-decrypt-string)
10913 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10915 * jka-compr.el (jka-compr-partial-uncompress)
10916 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10918 * server.el (server-sentinel): Use delete-file's new FORCE arg
10921 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10923 Use define-minor-mode where applicable.
10924 * view.el (view-mode):
10925 * type-break.el (type-break-query-mode)
10926 (type-break-mode-line-message-mode):
10927 * textmodes/reftex.el (reftex-mode):
10928 * term/vt100.el (vt100-wide-mode):
10929 * tar-mode.el (tar-subfile-mode):
10930 * savehist.el (savehist-mode):
10931 * ibuf-ext.el (ibuffer-auto-mode):
10932 * composite.el (auto-composition-mode):
10933 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10934 Use define-minor-mode.
10935 (vhdl-mode): Use static mode-line format.
10936 (vhdl-mode-line-update): Delete.
10937 (vhdl-create-mode-menu, vhdl-activate-customizations)
10938 (vhdl-hs-minor-mode): Don't bother calling it.
10940 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10942 * simple.el (with-wrapper-hook): Move.
10943 (buffer-substring-filters): Mark obsolete.
10944 (filter-buffer-substring-functions): New variable.
10945 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10947 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10948 Michael Albinus <michael.albinus@gmx.de>
10950 Implement compression for inline methods.
10952 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10953 (tramp-copy-size-limit): Allow also nil.
10954 (tramp-inline-compress-commands): New defconst.
10955 (tramp-find-inline-compress, tramp-get-inline-compress)
10956 (tramp-get-inline-coding): New defuns.
10957 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10958 replaced by `tramp-get-inline-coding'.
10959 (tramp-handle-file-local-copy, tramp-handle-write-region)
10960 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10962 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10964 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10965 Remove unused functions.
10967 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10968 Set find-tag-default-function as a variable rather than a property.
10970 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10971 * progmodes/etags.el (tags-completion-at-point-function):
10972 Remove left over interactive spec. Add autoloading stub.
10973 (complete-tag): Use tags-completion-at-point-function.
10975 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10977 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10979 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10981 * ido.el (ido-init-completion-maps): Remove C-v binding.
10982 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10984 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10986 * minibuffer.el (tags-completion-at-point-function): New function.
10987 (completion-at-point-functions): Use it.
10989 * progmodes/etags.el (complete-tag): Revert last change.
10991 2010-04-29 Alan Mackenzie <acm@muc.de>
10993 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10994 off-by-one error (in end of macro position).
10996 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10998 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10999 firefox is absent. Don't autoload.
11000 (browse-url-galeon-program): Don't autoload.
11002 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11004 * bindings.el (complete-symbol): Move into minibuffer.el.
11006 * minibuffer.el (complete-tag): Move from etags.el. If tags
11007 completion cannot be performed, return nil instead of signalling
11009 (completion-at-point): Make it an alias for complete-symbol.
11010 (complete-symbol): Move from bindings.el, and replace with the
11011 body of completion-at-point.
11013 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11015 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11017 * net/tramp.el (tramp-remote-selinux-p): New defun.
11018 (tramp-handle-file-selinux-context)
11019 (tramp-handle-set-file-selinux-context): Use it.
11021 2010-04-28 Sam Steingold <sds@gnu.org>
11023 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11024 `safe-local-variable' if the value is a string or a symbol with
11025 the property `bug-reference-url-format'.
11027 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11029 * progmodes/bug-reference.el (bug-reference-url-format):
11030 Revert 2010-04-27 change due to security risk.
11032 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11034 Make it possible to locally disable a globally enabled mode.
11035 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11036 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11037 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11038 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11039 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11040 that subsequent hooks get a chance to disable it.
11042 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11044 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11045 Avoid re-enabling a minor mode after the user turned the minor mode
11046 off if MODE-enable-in-buffers is run twice (typically once from
11047 fundamental-mode's after-change-major-mode-hook and a second time from
11048 run-mode-hook's own after-change-major-mode-hook).
11050 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11052 2010-04-27 Sam Steingold <sds@gnu.org>
11054 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11055 `safe-local-variable' if the value is a string or a function, as
11056 documented and implemented on 2010-04-02.
11058 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11060 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11061 when method is 'kill.
11063 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11065 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11066 condition in default directory check.
11067 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
11068 Kill ispell process when killing its associated buffer.
11070 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11072 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11073 but we aren't using it.
11075 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11077 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11078 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11080 2010-04-24 Glenn Morris <rgm@gnu.org>
11082 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11083 Ignore VCS-ignore files, and deleted nextstep preferences files.
11084 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11085 (authors-ambiguous-files): New list.
11086 (authors-valid-file-names): Add some deleted files.
11087 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11088 (authors-disambiguate-file-name): New function. (Bug#5501)
11089 (authors-canonical-file-name): Doc fix.
11090 Don't warn about obsolete files.
11091 (authors-canonical-file-name, authors-scan-el):
11092 Use authors-disambiguate-file-name.
11094 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11095 Add autoload cookies.
11096 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11097 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11098 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11099 They have definitions / compiler macros in cl.el.
11100 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11101 Replace manual autoloads with generated ones.
11102 (htmlfontify-unload-rgb-file): Remove autoload.
11103 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11105 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11107 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11108 (byte-compile-setq-default): Optimize for the
11109 single-var case and don't call byte-compile-form in this case to avoid
11110 inf-loop with byte-compile-set-default.
11112 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11114 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11116 Implement SELINUX backends.
11118 * net/tramp.el (tramp-file-name-handler-alist):
11119 Add `file-selinux-context' and `set-file-selinux-context'.
11120 (tramp-handle-file-selinux-context)
11121 (tramp-handle-set-file-selinux-context): New defuns.
11122 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11123 Handle PRESERVE-SELINUX-CONTEXT.
11125 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11126 Add `file-selinux-context' and `set-file-selinux-context'.
11127 (tramp-gvfs-handle-file-selinux-context)
11128 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11129 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11131 * net/ange-ftp.el (ange-ftp-copy-file):
11132 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11133 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11134 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11135 Add PRESERVE-SELINUX-CONTEXT.
11137 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11139 Synchronize with Tramp repository.
11141 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11142 (tramp-action-process-alive, tramp-action-out-of-band)
11143 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11144 (tramp-exists-file-name-handler): Fix docstring.
11145 (with-progress-reporter): New defmacro.
11146 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11147 (tramp-maybe-open-connection): Use it.
11149 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11151 Detect ssh 'ControlMaster' argument automatically in some cases.
11153 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11154 (tramp-default-method): Use it.
11156 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11158 * net/tramp.el (tramp-handle-copy-file): Add new optional
11159 parameter `preserve-selinux-context'.
11160 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11162 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11164 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11165 Ensure, that non remote files are still checked. Oops.
11167 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11171 * icomplete.el (icomplete-completions): Use `non-essential'.
11173 * net/tramp.el (tramp-connectable-p): New defun.
11174 (tramp-handle-expand-file-name)
11175 (tramp-completion-handle-file-name-all-completions)
11176 (tramp-completion-handle-file-name-completion): Use it.
11178 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11180 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11182 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11184 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11186 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11188 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11191 * info.el (info-tool-bar-map): Add labels.
11193 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11195 * cus-edit.el (custom-commands): Add labels for tool bar.
11196 (custom-buffer-create-internal, Custom-mode): Adjust for
11197 labels in custom-commands.
11199 * dynamic-setting.el: Renamed from font-setting.el.
11201 2010-04-21 John Wiegley <jwiegley@gmail.com>
11203 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11204 toggles the use of virtual buffers.
11205 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11206 (ido-toggle-virtual-buffers): New function.
11208 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11210 Use `define-derived-mode'; fix window selection; doc fixes.
11211 * play/tetris.el (tetris, tetris-update-speed-function)
11212 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11213 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11214 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11215 (tetris-pause-game): Fix typos in docstrings.
11216 (tetris-mode-map, tetris-null-map):
11217 Move initialization into declaration.
11218 (tetris-mode): Define with `define-derived-mode';
11219 set show-trailing-whitespace to nil.
11220 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11222 2010-04-21 Karel Klíč <kklic@redhat.com>
11224 * files.el (backup-buffer): Handle SELinux context, and return it
11225 if a backup was made by renaming.
11226 (backup-buffer-copy): Set SELinux context to the target file.
11227 (basic-save-buffer): Set SELinux context of the newly written file.
11228 (basic-save-buffer-1): Now it also returns any SELinux context.
11229 (basic-save-buffer-2): Set SELinux context of the newly created file,
11231 * net/tramp.el (tramp-file-name-for-operation):
11232 Add file-selinux-context.
11234 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11236 Make the log-edit comments use RFC822 format throughout.
11238 * vc.el (vc-checkin, vc-modify-change-comment):
11239 Adjust to new vc-start/finish-logentry.
11240 (vc-find-conflicted-file): New command.
11241 (vc-transfer-file): Adjust to new vc-checkin.
11242 (vc-next-action): Improve scoping.
11244 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11245 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11247 * vc-git.el (vc-git-log-edit-mode): Remove.
11248 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11249 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11251 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11252 (vc-start-logentry): Remove argument `extra'.
11253 (vc-finish-logentry): Remove extra args.
11255 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11256 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11257 (vc-bzr-conflicted-files): New function.
11259 * log-edit.el (log-edit-extra-flags)
11260 (log-edit-before-checkin-process): Remove.
11261 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11262 (log-edit-headers-alist): New var.
11263 (log-edit-header-contents-regexp): New const.
11264 (log-edit-match-to-eoh): New function.
11265 (log-edit-font-lock-keywords): Use them.
11266 (log-edit): Insert a "Summary:" header as default.
11267 (log-edit-mode): Mark font-lock rules as case-insensitive.
11268 (log-edit-done): Cleanup headers.
11269 (log-view-process-buffer): Remove.
11270 (log-edit-extract-headers): New function to replace it.
11272 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11274 * subr.el (default-direction-reversed): Remove obsolescence info.
11276 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11278 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11281 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11282 I.e. include text after point in the completion region.
11283 Also, return nil when we're not after/in a symbol.
11285 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11286 default enable-multibyte-characters.
11288 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11290 * international/mule.el: Help the user choose a valid coding-system.
11291 (read-buffer-file-coding-system): New function.
11292 (set-buffer-file-coding-system): Use it. Prompt the user if the
11293 coding-system cannot encode all the chars.
11295 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11296 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11297 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11298 Don't use *vc-bzr-shelve*.
11300 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11302 Fix the version number for added files.
11303 * vc-hg.el (vc-hg-working-revision): Check if the file is
11304 registered after hg parent fails (Bug#5961).
11306 2010-04-19 Glenn Morris <rgm@gnu.org>
11308 * htmlfontify.el (htmlfontify-buffer)
11309 (htmlfontify-copy-and-link-dir): Autoload entry points.
11311 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11313 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11314 name relative to the project root (Bug#5960).
11316 2010-04-19 Glenn Morris <rgm@gnu.org>
11318 * vc-git.el (vc-git-print-log): Doc fix.
11320 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11322 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11324 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11326 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11327 default settings (Bug#5928).
11329 2010-04-19 Glenn Morris <rgm@gnu.org>
11331 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11333 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11335 2010-04-19 Kenichi Handa <handa@m17n.org>
11337 * language/indian.el (malayalam-composable-pattern): Fix previous
11338 change (add U+0D4D "SIGN VIRAMA").
11339 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11340 (tamil-composable-pattern): Fix typo in the regexp.
11341 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11342 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11343 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11345 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11347 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11348 paragraph-separate (Bug#5821).
11350 2010-04-19 Juri Linkov <juri@jurta.org>
11352 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11354 * info.el (Info-find-node-2): Comment out code that skips
11356 (Info-mouse-follow-link): New command.
11357 (Info-link-keymap): New keymap.
11358 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11359 Return a string with links instead of inserting breadcrumbs
11360 to the Info buffer.
11361 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11362 Instead of putting the `invisible' text property over the Info
11363 header, make an overlay over the Info header with the `invisible'
11364 property and `after-string' set to the string returned by
11365 `Info-breadcrumbs'.
11367 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11369 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11370 Reported by monkey@sandpframing.com.
11372 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11374 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11375 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11376 available in the "keyseq cache" any more.
11378 * custom.el (defcustom): Add edebug spec.
11380 2010-04-18 Juri Linkov <juri@jurta.org>
11382 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11384 * view.el (view-file, view-buffer): Move test for special mode-class
11385 from view-file to view-buffer.
11387 * tar-mode.el (tar-extract): Turn if's into one cond
11388 like in arc-mode.el.
11390 2010-04-18 Juri Linkov <juri@jurta.org>
11392 Add 7z archive format support (bug#5475).
11394 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11395 (archive-7z-extract): New defcustom.
11396 (archive-find-type): Add magic string for 7z.
11397 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11398 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11399 `buffer' arg of `call-process'.
11400 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11401 call the function `archive-7z-extract' with the variable
11402 `archive-7z-extract' let-bound to `archive-zip-extract'.
11403 (archive-7z-summarize, archive-7z-extract): New functions.
11405 * international/mule.el (auto-coding-alist):
11406 * files.el (auto-mode-alist): Add 7z file extension.
11408 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11410 * loadup.el: Setup hash-cons for pure data.
11412 Fix duplicate entries in cedet's loaddefs.el files.
11413 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11414 Should make most file-local generated-autoload-file unnecessary.
11415 (print-readably): Silence warnings.
11416 (autoload-find-destination): Take load-name as an arg to make sure
11417 it's the same as the one that will be in the file.
11418 (autoload-generate-file-autoloads): Adjust to above changes.
11419 Try to make the dataflow a bit simpler.
11421 * cvs-status.el (cvs-refontify): Remove unused.
11423 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11425 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11427 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11428 twos-complement mode.
11430 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11432 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11433 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11434 (calc-inverse): Add "Option" to message, as appropriate.
11435 (calc-hyperbolic): Add "Option" to message, as appropriate.
11436 (calc-option, calc-is-option): New functions.
11438 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11439 (calc-option-prefix-help): New function.
11441 * calc/calc-misc.el (calc-help): Add "Option" entry.
11443 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11444 (calc-option-flag): New variable.
11445 (calc-do): Set `calc-option-flag to nil.
11446 (calc-set-mode-line): Add "Opt " as appropriate.
11448 2010-04-16 Juri Linkov <juri@jurta.org>
11450 Move scrolling commands from simple.el to window.el
11451 because their primitives are implemented in window.c.
11453 * simple.el (scroll-error-top-bottom)
11454 (scroll-up-command, scroll-down-command, scroll-up-line)
11455 (scroll-down-line, scroll-other-window-down)
11456 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11457 * window.el (scroll-error-top-bottom)
11458 (scroll-up-command, scroll-down-command, scroll-up-line)
11459 (scroll-down-line, scroll-other-window-down)
11460 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11461 Move from simple.el to window.el because their primitives are
11462 implemented in window.c.
11464 2010-04-16 Juri Linkov <juri@jurta.org>
11466 * isearch.el (isearch-lookup-scroll-key): Check both
11467 `isearch-scroll' and `scroll-command' properties.
11468 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11470 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11472 * simple.el (scroll-up-command, scroll-down-command)
11473 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11475 2010-04-15 Juri Linkov <juri@jurta.org>
11477 * simple.el (scroll-up-command, scroll-down-command)
11478 (scroll-up-line, scroll-down-line): Put `scroll-command'
11479 property on the these symbols. Remove them from
11480 `scroll-preserve-screen-position-commands'.
11482 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11483 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11484 Remove it from `scroll-preserve-screen-position-commands'.
11486 * isearch.el (isearch-allow-scroll): Doc fix.
11488 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11490 * net/tramp.el (tramp-error-with-buffer): Don't show the
11491 connection buffer when we are in completion mode.
11492 (tramp-file-name-handler): Catch the error for some operations
11493 when we are in completion mode. This gives the user the chance to
11494 correct the file name in the minibuffer.
11496 2010-04-15 Glenn Morris <rgm@gnu.org>
11498 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11500 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11502 Simplify by using `define-derived-mode'.
11503 * info.el (Info-mode):
11504 * calendar/todo-mode.el (todo-mode):
11505 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11506 (gomoku-mode-map): Move initialization into declaration.
11508 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11511 * ido.el (ido-file-name-all-completions-1):
11512 * minibuffer.el (minibuffer-completion-help):
11513 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11515 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11517 * simple.el (non-essential): New var.
11519 Add a new field `location' to bookmarks for non-file bookmarks.
11520 * bookmark.el (bookmark-location): Use the new field, if present.
11521 (bookmark-insert-location): Undo last change, not needed any more.
11522 * man.el (Man-bookmark-make-record):
11523 * woman.el (woman-bookmark-make-record): Add `location' field.
11525 2010-04-14 Juri Linkov <juri@jurta.org>
11527 * simple.el (scroll-error-top-bottom): New defcustom.
11528 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11530 * emulation/pc-select.el (pc-select-override-scroll-error):
11531 Obsolete in favor of `scroll-error-top-bottom'.
11533 2010-04-14 Juri Linkov <juri@jurta.org>
11535 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11536 `scroll-up-command' and `M-v' to `scroll-down-command'.
11538 * emulation/cua-rect.el (cua--init-rectangles):
11539 * forms.el (forms--change-commands):
11540 * image-mode.el (image-mode-map):
11541 Remap scroll-down-command and scroll-up-command
11542 in addition to scroll-down and scroll-up.
11544 2010-04-14 Juri Linkov <juri@jurta.org>
11546 * mwheel.el (scroll-preserve-screen-position-commands):
11547 Add mwheel-scroll to this list of commands.
11549 * simple.el (scroll-preserve-screen-position-commands):
11550 Add scroll-up-command, scroll-down-command, scroll-up-line,
11551 scroll-down-line to this list of commands.
11553 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11555 * obsolete/complete.el: Move from lisp/complete.el.
11557 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11559 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11560 to the minor mode function now turns the mode ON unconditionally.
11562 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11564 * vc-dir.el (vc-dir-kill-line): New command.
11565 (vc-dir-mode-map): Bind it to C-k.
11567 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11569 * woman.el: Add bookmark declarations to silence the compiler.
11570 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11571 step to compatibility between man and woman bookmarks.
11572 Adjust for Man-default-bookmark-title renaming.
11573 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11575 * man.el: Add bookmark declarations to silence the compiler.
11576 (Man-name-local-regexp): Make it match NAME as well.
11577 (Man-getpage-in-background): Return the buffer.
11578 (Man-notify-when-ready): Use `case'.
11579 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11580 Don't hardcode "NAME". Simplify.
11581 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11582 Rename from Man-bookmark-make-record.
11583 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11584 we have the actual man-args. Use Man-getpage-in-background rather
11585 than `man' since the arg is already processed. Let bookmark.el do the
11586 window handling. Only wait for the relevant process.
11587 Don't forget to autoload.
11589 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11591 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11593 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11595 (woman-mode): Setup bookmark support.
11597 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11598 (man-bookmark-jump): New functions.
11599 (Man-mode): Setup bookmark support.
11601 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11603 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11604 recognize ssh-keygen prompt (Bug#2817).
11606 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11608 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11610 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11612 Synchronize with Tramp repository.
11614 * net/tramp.el (tramp-completion-function-alist)
11615 (tramp-file-name-regexp, tramp-chunksize)
11616 (tramp-local-coding-commands, tramp-remote-coding-commands):
11618 (tramp-remote-process-environment): Use `format' instead of `concat'.
11619 (tramp-handle-directory-files-and-attributes)
11620 (tramp-get-remote-path): Use `copy-tree'.
11621 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11622 compatibility: Use `completion-ignore-case' if
11623 `read-file-name-completion-ignore-case' does not exist.
11624 (tramp-do-copy-or-rename-file-directly): Do not use
11625 `tramp-handle-file-remote-p'.
11626 (tramp-do-copy-or-rename-file-out-of-band):
11627 Use `tramp-compat-delete-directory'.
11628 (tramp-do-copy-or-rename-file-out-of-band)
11629 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11630 Use `format-spec-make'.
11631 (tramp-find-foreign-file-name-handler)
11632 (tramp-advice-make-auto-save-file-name)
11633 (tramp-set-auto-save-file-modes): Remove superfluous check for
11634 `stringp'. This is done inside `tramp-tramp-file-p'.
11635 (tramp-debug-outline-regexp): New defconst.
11636 (tramp-get-debug-buffer): Use it.
11637 (tramp-check-for-regexp): Use (forward-line 1).
11638 (tramp-set-auto-save-file-modes): Adapt version check.
11640 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11641 Wrap call of `featurep' for 2nd argument.
11642 (tramp-compat-make-temp-file): Simplify fallback implementation.
11643 (tramp-compat-copy-tree): Remove function.
11644 (tramp-compat-delete-directory): Provide implementation for older
11647 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11648 Do not use `tramp-fish-handle-file-attributes.
11650 * net/trampver.el: Update release number.
11652 2010-04-10 Glenn Morris <rgm@gnu.org>
11654 * progmodes/compile.el (compilation-save-buffers-predicate):
11655 Add missing :version tag.
11657 2010-04-09 Sam Steingold <sds@gnu.org>
11659 * progmodes/compile.el (compilation-save-buffers-predicate):
11660 Remove the "autoload" cookie.
11662 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11663 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11664 and `bug-reference-prog-mode' can be used in hooks directly.
11666 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11668 Add --author support to git commit.
11669 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11670 (vc-git-log-edit-mode): New minor mode.
11671 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11674 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11676 * vc-hooks.el, vc-git.el: Improve documentation comments.
11678 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11680 Fix some of the problems in defsubst* (bug#5728).
11681 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11682 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11684 2010-04-07 Sam Steingold <sds@gnu.org>
11686 * progmodes/compile.el (compilation-save-buffers-predicate):
11687 New custom variable.
11688 (compile, recompile): Pass it to `save-some-buffers'.
11690 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11692 * wid-edit.el (widget-choose): Move cursor to the second line of
11693 the buffer (Bug#5695).
11695 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11697 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11698 * vc.el (vc-print-log-setup-buttons): New function split out from
11699 vc-print-log-internal.
11700 (vc-log-internal-common): New function, a parametrized version of
11701 vc-print-log-internal.
11702 (vc-print-log-internal): Just call vc-log-internal-common with the
11704 (vc-incoming-outgoing-internal):
11705 (vc-log-incoming, vc-log-outgoing): New functions.
11706 (vc-log-view-type): New permanent local variable.
11708 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11710 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11711 of the dynamic bound vc-short-log.
11712 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11714 * vc-git.el (vc-git-log-outgoing): New function.
11715 (vc-git-log-view-mode): Use vc-log-view-type instead
11716 of the dynamic bound vc-short-log.
11718 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11719 of the dynamic bound vc-short-log. Highlight the tag.
11720 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11721 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11722 (vc-hg-incoming-mode): Remove.
11723 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11725 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11727 Fix default-directory for vc-root-diff.
11728 * vc.el (vc-root-diff): Bind default-directory to the root
11729 directory for the diff command.
11731 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11733 * progmodes/verilog-mode.el (verilog-forward-sexp):
11734 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11735 word keywords, suggested by Steve Pearlmutter.
11736 (verilog-pretty-declarations): Support lineup of declarations in
11738 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11739 fix bug for /* / comments.
11740 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11741 Speed up and simplfy as this is never called with a bound.
11742 (verilog-pretty-declarations): Enhance to line up declarations
11743 inside a parameter list, suggested by Alan Morgan.
11744 (verilog-pretty-expr): Tune assignment regular expression match
11745 string for corner cases; also use markers instead of character
11746 number as indent changes the later.
11748 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11750 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11751 as missing keyword.
11752 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11753 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11754 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11755 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11757 (verilog-keywords):
11758 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11759 1800-2009 keywords, including "global.".
11761 2010-04-06 John Wiegley <jwiegley@gmail.com>
11763 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11764 appearing in buffer list (if a live buffer name matched a recentf
11765 file basename). Should use uniquify to offer a real solution.
11767 2010-04-06 John Wiegley <jwiegley@gmail.com>
11769 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11770 comment to code, and add a :version tag.
11771 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11773 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11775 Enable recentf-mode if using virtual buffers.
11776 * ido.el (recentf-list): Declare for byte-compiler.
11777 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11778 (ido-make-buffer-list): Simplify.
11779 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11781 2010-04-05 Juri Linkov <juri@jurta.org>
11783 Scrolling commands which scroll a line instead of full screen.
11784 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11786 * simple.el (scroll-up-line, scroll-down-line): New commands.
11787 Put property isearch-scroll=t on them.
11789 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11792 2010-04-05 Juri Linkov <juri@jurta.org>
11794 Scrolling commands which do not signal errors at top/bottom.
11795 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11797 * simple.el (scroll-up-command, scroll-down-command): New commands.
11798 Put property isearch-scroll=t on them.
11800 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11801 `scroll-down-command' and [next] from `scroll-up' to
11802 `scroll-up-command'.
11804 * emulation/cua-base.el: Put property CUA=move on
11805 `scroll-up-command' and `scroll-down-command'.
11806 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11807 and `scroll-down-command' to `cua-scroll-down'.
11809 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11811 * help.el (describe-mode): Return nil.
11813 2010-04-04 John Wiegley <jwiegley@gmail.com>
11815 * ido.el (ido-use-virtual-buffers): New variable to indicate
11816 whether "virtual buffer" support is enabled for IDO.
11817 (ido-virtual): Face used to indicate virtual buffers in the list.
11818 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11819 exists, but a virtual buffer of that name does (which would be why
11820 it was in the list), recreate the buffer by reopening the file.
11821 (ido-make-buffer-list): If virtual buffers are being used, call
11822 `ido-add-virtual-buffers-to-list' before the make list hook.
11823 (ido-virtual-buffers): New variable which contains a copy of the
11824 current contents of the `recentf-list', albeit pared down for the
11825 sake of speed, and with proper faces applied.
11826 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11827 create a list of "virtual buffers" to present to the user in
11828 addition to the currently open set. Note that this logic could
11829 get rather slow if that list is too large. With the default
11830 `recentf-max-saved-items' of 200, there is little speed penalty.
11832 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11834 * font-lock.el: Require CL when compiling.
11835 (font-lock-turn-on-thing-lock): Use `case'.
11837 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11839 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11842 2010-04-02 Juri Linkov <juri@jurta.org>
11844 * ehelp.el (electric-help-orig-major-mode):
11845 New buffer-local variable.
11846 (electric-help-mode): Set it to original major-mode. Doc fix.
11847 (with-electric-help): Use `electric-help-orig-major-mode' instead
11848 of (default-value 'major-mode). Doc fix.
11849 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11851 2010-04-02 Sam Steingold <sds@gnu.org>
11853 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11854 `vc-hg-command' with a list of flags.
11856 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11857 Also accept "patch" and "RFE".
11858 (bug-reference-fontify): `bug-reference-url-format' can also be a
11859 function to be able to handle the bug kind.
11860 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11862 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11864 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11865 value to fboundp, it may not be a symbol.
11867 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11869 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11871 2010-03-31 Juri Linkov <juri@jurta.org>
11873 * simple.el (next-line, previous-line): Re-throw a signal
11874 with `signal' instead of using `ding'.
11875 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11877 2010-03-31 Juri Linkov <juri@jurta.org>
11879 * simple.el (keyboard-escape-quit): Raise deselecting the active
11880 region higher than exiting the minibuffer.
11881 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11883 2010-03-31 Juri Linkov <juri@jurta.org>
11885 * image.el (image-animated-p): Use `image-metadata' instead of
11886 `image-extension-data'. Get GIF extenstion data from metadata
11887 property `extension-data'.
11889 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11891 * simple.el (append-to-buffer): Simplify.
11893 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11895 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11896 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11898 2010-03-31 Kenichi Handa <handa@m17n.org>
11900 * language/sinhala.el (composition-function-table): Fix regexp for
11901 the new Unicode specification.
11903 * language/indian.el (devanagari-composable-pattern)
11904 (tamil-composable-pattern, kannada-composable-pattern)
11905 (malayalam-composable-pattern): Adjust for the new Unicode
11907 (bengali-composable-pattern, gurmukhi-composable-pattern)
11908 (gujarati-composable-pattern, oriya-composable-pattern)
11909 (telugu-composable-pattern): New variables to cope with the new
11910 Unicode specification. Use them in composition-function-table.
11912 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11914 Make tmm-menubar work for the Buffers menu again (bug#5726).
11915 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11916 vectors rather than cons cells, as used in menu-bar-update-buffers.
11918 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11920 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11921 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11922 electric punctuation for "{}();,:" (Bug#5586).
11924 * mail/sendmail.el (mail-default-directory): Doc fix.
11926 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11928 * mail/sendmail.el (mail-default-directory): Doc fix.
11930 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11932 * subr.el (version-regexp-alist, version-to-list)
11933 (version-list-<, version-list-=, version-list-<=)
11934 (version-list-not-zero, version<, version<=, version=): Doc fix.
11937 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11939 * vc.el (vc-root-diff): Doc fix.
11941 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11943 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11945 * simple.el (append-to-buffer): Fix last change.
11947 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11949 * simple.el (append-to-buffer): Ensure that point is preserved if
11950 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11953 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11955 * files.el (auto-mode-case-fold): Change default to t.
11957 2010-03-30 Juri Linkov <juri@jurta.org>
11959 * dired-x.el (dired-omit-mode): Doc fix.
11961 2010-03-30 Juri Linkov <juri@jurta.org>
11963 * replace.el (occur-accumulate-lines): Move occur-engine related
11964 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11965 to be located after `occur-engine'.
11967 2010-03-30 Juri Linkov <juri@jurta.org>
11969 Make occur handle multi-line matches cleanly with context.
11970 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11972 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11973 (occur-engine): Add local variables `ret', `prev-after-lines',
11974 `prev-lines'. Use more arguments for `occur-context-lines'.
11975 Set first elem of its returned list to `data', and the second elem
11976 to `prev-after-lines'. Don't print the separator line.
11977 In the end, print remaining context after-lines.
11978 (occur-context-lines): Add new arguments `begpt', `endpt',
11979 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11980 after-lines of the previous match with before-lines of the
11981 current match and not overlap them. Return a list with two
11982 values: the output line and the list of context after-lines.
11984 2010-03-30 Juri Linkov <juri@jurta.org>
11986 * replace.el (occur-accumulate-lines): Fix a bug where the first
11987 context line at the beginning of the buffer was missing.
11989 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11991 * files.el: Make bidi-display-reordering safe variable for boolean
11994 2010-03-29 Phil Hagelberg <phil@evri.com>
11995 Chong Yidong <cyd@stupidchicken.com>
11997 * subr.el: Extend progress reporters to perform "spinning".
11998 (progress-reporter-update, progress-reporter-do-update):
11999 Handle non-numeric value arguments.
12000 (progress-reporter--pulse-characters): New var.
12002 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12004 * progmodes/compile.el (compilation-start): Fix regexp detection
12005 of initial cd command (Bug#5771).
12007 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12009 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12011 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12013 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12014 * progmodes/gdb-mi.el: Restore.
12015 * progmodes/gdb-ui.el: Remove.
12016 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12018 2010-03-25 Glenn Morris <rgm@gnu.org>
12020 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12021 all dired buffers, even tramp ones. (Bug#5755)
12023 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12025 Add "union tags" in mpc.el.
12026 * mpc.el: Remove backward compatibility code.
12027 (mpc-browser-tags): Change default.
12028 (mpc--find-memoize-union-tags): New var.
12029 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12030 (mpc-cmd-find): Handle the case where the playlist does not exist.
12032 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12033 (mpc-cmd-add): Use mpc-cmd-flush.
12034 (mpc-tagbrowser-tag-name): New fun.
12035 (mpc-tagbrowser-buf): Use it.
12036 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12038 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12041 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12042 Use replace-regexp-in-string.
12043 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12044 (makefile-imake-mode-syntax-table): Move init into defvar.
12045 (makefile-mode): Use define-derived-mode.
12047 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12048 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12049 not be present any more.
12051 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12053 * faces.el (set-face-attribute): Fix typo in docstring.
12054 (face-valid-attribute-values): Reflow docstring.
12056 2010-03-24 Glenn Morris <rgm@gnu.org>
12058 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12060 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12062 * indent.el (indent-for-tab-command): Doc fix.
12064 2010-03-24 Alan Mackenzie <acm@muc.de>
12066 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12067 Fix off-by-one error. Fixes bug #5747.
12069 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12071 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12072 (image-dired-read-comment): Doc fix.
12074 * json.el (json-object-type, json-array-type, json-key-type)
12075 (json-false, json-null, json-read-number):
12076 * minibuffer.el (completion-in-region-functions):
12077 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12078 (cal-tex-cursor-week):
12079 * emacs-lisp/trace.el (trace-function):
12080 * eshell/em-basic.el (eshell/printnl):
12081 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12082 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12083 * obsolete/levents.el (allocate-event, event-key, event-object)
12084 (event-point, event-process, event-timestamp, event-to-character)
12085 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12086 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12087 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12088 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12089 (reftex-highlight-selection): Fix typos in docstrings.
12091 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12093 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12095 2010-03-24 Glenn Morris <rgm@gnu.org>
12097 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12098 2008-02-13 without comment; mark it obsolete.
12099 (rmail-highlight-headers): Use rmail-highlight-face once more.
12101 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12103 * woman.el (woman2-process-escapes): Only consume the newline if
12104 the filler character is on a line by itself (Bug#5729).
12106 2010-03-24 Kenichi Handa <handa@m17n.org>
12108 * language/indian.el (devanagari-composable-pattern): Add more
12111 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12113 * net/trampver.el: Update release number.
12115 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12117 * net/tramp.el (tramp-find-executable):
12118 Use `tramp-get-connection-buffer'. Make the regexp for checking
12119 output of "wc -l" more robust.
12120 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12121 (tramp-open-connection-setup-interactive-shell): Remove workaround
12122 for OpenSolaris bug, it is not needed anymore.
12124 2010-03-24 Glenn Morris <rgm@gnu.org>
12126 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12128 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12130 * files.el (auto-mode-alist): Accept more verilog file patterns.
12132 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12134 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12136 2010-03-24 Glenn Morris <rgm@gnu.org>
12138 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12139 log-edit-before-checkin-process.
12141 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12143 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12145 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12146 (log-view-process-buffer, log-edit-extra-flags): Declare.
12148 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12150 2010-03-23 Sam Steingold <sds@gnu.org>
12152 Fix bug#5620: recalculate all markers on compilation buffer
12153 modifications, not on file modifications.
12154 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12155 variable: the buffer modification time, for buffers not associated with
12157 (compilation-mode): Create it.
12158 (compilation-filter): Update it.
12159 (compilation-next-error-function): Use it instead of
12160 `visited-file-modtime' for timestamp.
12162 2010-03-23 Juri Linkov <juri@jurta.org>
12164 Implement Occur multi-line matches.
12165 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12167 * replace.el (occur): Doc fix.
12168 (occur-engine): Set `begpt' to the beginning of the first line.
12169 Set `endpt' to the end of the last match line. At first, count
12170 line numbers between `origpt' and `begpt'. Split out code from
12171 `out-line' variable to new let-bindings `match-prefix' and
12172 `match-str'. In `out-line' add non-numeric prefix to all
12173 non-first lines of multi-line matches. Finally, count lines
12174 between `begpt' and `endpt' and add to `lines'.
12176 2010-03-23 Juri Linkov <juri@jurta.org>
12178 * replace.el (occur-accumulate-lines, occur-engine):
12179 Use `occur-engine-line' instead of duplicate code.
12180 (occur-engine-line): New function created from duplicate code
12181 in `occur-accumulate-lines' and `occur-engine'.
12183 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12184 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12186 2010-03-23 Juri Linkov <juri@jurta.org>
12188 * finder.el: Remove TODO tasks.
12190 * info.el (Info-finder-find-node): Add node "all"
12191 with all package info. Handle a list of multiple keywords
12192 separated by comma.
12193 (info-finder): In interactive use with a prefix argument,
12194 use `completing-read-multiple' to read a list of keywords
12195 separated by comma.
12197 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12199 Add a new completion style `substring'.
12200 * minibuffer.el (completion-basic--pattern): New function.
12201 (completion-basic-try-completion, completion-basic-all-completions):
12203 (completion-substring--all-completions)
12204 (completion-substring-try-completion)
12205 (completion-substring-all-completions): New functions.
12206 (completion-styles-alist): New style `substring'.
12208 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12210 Get rid of .elc files after removal of the corresponding .el.
12211 * Makefile.in (compile-clean): New target.
12212 (compile-main): Use it.
12214 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12216 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12217 don't do make there. When compiling with separate object dir, there
12218 is no Makefile there.
12220 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12222 Get rid of the ELCFILES abomination, again.
12223 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12224 (all, compile): Don't call compile-last.
12225 (compile-main): Build the "elcfiles" list dynamically.
12226 (compile-targets): New (internal) target.
12228 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12230 * Makefile.in (top_srcdir): Define.
12231 (abs_top_builddir): Define.
12232 (srcdir): Don't append `/..'.
12233 (EMACS): Use ${abs_top_builddir}.
12234 (all, compile, compile-always, compile-last): Don't set emacswd.
12235 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12237 (lisp): Use $(srcdir) instead of @srcdir@.
12239 2010-03-21 Juri Linkov <juri@jurta.org>
12241 Fix message of multi-line occur regexps and multi-buffer header lines.
12242 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12244 * replace.el (occur-1): Don't display regexp if it is longer
12245 than window-width. Use `query-replace-descr' to display regexp.
12246 (occur-engine): Don't display regexp in the buffer header for
12247 multi-buffer occur. Display a separate header line with total
12248 match count and regexp for multi-buffer occur.
12249 Use `query-replace-descr' to display regexp.
12251 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12253 * net/secrets.el: Fix parenthesis.
12254 (secrets-enabled): Fix parenthesis.
12256 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12258 Use more relative file and directory names.
12259 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12260 (setwins, setwins_almost, setwins_for_subdirs):
12261 Don't `cd'; output relative names.
12262 (all, compile, compile-always, compile-last): Set emacswd.
12263 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12264 Just cd to the lisp source dir so we can use relative file names.
12266 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12268 2010-03-20 Glenn Morris <rgm@gnu.org>
12270 * textmodes/rst.el: Use faces for font-lock customization, and make the
12271 old -face variables obsolete.
12272 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12273 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12274 (rst-block-face, rst-external-face, rst-definition-face)
12275 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12276 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12278 (rst-font-lock-keywords-function): Update for above changes.
12280 2010-03-20 Juri Linkov <juri@jurta.org>
12283 * obsolete/s-region.el: Move to obsolete.
12285 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12287 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12289 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12291 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12293 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12295 Add special markup processing for commit logs.
12296 * log-edit.el (log-edit-extra-flags): New variable.
12297 (log-edit): Add new argument MODE. Use that mode when non-nil
12298 instead of the log-view-mode.
12299 (log-view-process-buffer): New function.
12301 * vc.el: Document that the checkin method takes optional
12302 arguments. Document new backend specific method: log-view-mode.
12303 (vc-default-log-edit-mode): New function.
12304 (vc-checkin): Use a backend specific log-view-mode.
12305 Pass extra arguments to the checkin method.
12306 (vc-modify-change-comment): Pass a dummy extra argument.
12308 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12310 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12311 (vc-finish-logentry): Process the log buffer before passing it
12312 down. Pass log-edit-extra-flags.
12314 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12316 (log-edit-extra-flags, log-edit-before-checkin-process):
12319 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12321 (log-edit-extra-flags, log-edit-before-checkin-process):
12323 (vc-hg-log-edit-mode): New derived mode.
12325 * vc-arch.el (vc-arch-checkin):
12326 * vc-cvs.el (vc-cvs-checkin):
12327 * vc-git.el (vc-git-checkin):
12328 * vc-mtn.el (vc-mtn-checkin):
12329 * vc-rcs.el (vc-rcs-checkin):
12330 * vc-sccs.el (vc-sccs-checkin):
12331 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12333 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12335 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12338 2010-03-19 Glenn Morris <rgm@gnu.org>
12340 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12342 2010-03-18 Glenn Morris <rgm@gnu.org>
12344 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12346 * replace.el (query-replace-history): Give it a doc string.
12347 (map-query-replace-regexp): Use query-replace-from-history-variable
12348 and query-replace-to-history-variable.
12350 * mail/hashcash.el (declare-function): Remove duplicate definition.
12352 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12353 Make it an obsolete alias for report-emacs-bug-address.
12354 (message-strip-special-text-properties): Declare.
12355 (report-emacs-bug): Remove test for a pretest bug address.
12356 Combine message-mode-specific code.
12358 * mail/supercite.el: Don't require sendmail.
12359 (mh-in-header-p): Declare rather than using with-no-warnings.
12360 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12361 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12363 * calendar/cal-french.el: Convert to utf-8.
12365 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12368 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12370 * net/secrets.el (secrets-enabled): New variable. Use it instead
12373 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12375 * net/secrets.el (top): Register the D-Bus signals only when the
12376 service "org.freedesktop.secrets" can be pinged.
12377 Provide subfeature `enabled'.
12379 2010-03-14 Juri Linkov <juri@jurta.org>
12381 Add finder unknown keywords.
12383 * finder.el (finder-unknown-keywords): New function.
12385 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12386 to create a Finder node with unknown keywords.
12388 2010-03-14 Juri Linkov <juri@jurta.org>
12390 * finder.el (finder-compile-keywords): Replace `princ' with
12391 `prin1' on a list of symbols interned from keyword strings.
12393 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12394 a comma, then split keywords using a comma and optional whitespace.
12395 Otherwise, split by whitespace.
12403 * progmodes/mixal-mode.el: Fix keywords.
12405 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12407 * Makefile.in (ELCFILES): Add net/secrets.elc.
12409 * net/secrets.el: New file.
12411 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12413 * facemenu.el (list-colors-display, list-colors-print): New arg
12414 callback. Use it to allow selecting colors.
12416 * wid-edit.el (widget-image-insert): Insert image prop even if the
12417 current display is non-graphic.
12418 (widget-field-value-set): New fun.
12419 (editable-field): Use it.
12420 (widget-field-value-get): Clean up unused var.
12421 (widget-color-value-create, widget-color--choose-action):
12422 New funs. Allow using list-colors-display to choose color.
12424 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12426 * cus-edit.el: Resort topmost custom groups.
12427 (custom-buffer-sort-alphabetically): Default to t.
12428 (customize-apropos): Use apropos-parse-pattern.
12429 (custom-search-field): New var.
12430 (custom-buffer-create-internal): Add custom-apropos search field.
12431 (custom-add-parent-links): Don't display parent doc.
12432 (custom-group-value-create): Don't sort top-level custom group.
12433 (custom-magic-value-create): Show visibility button before option name.
12435 (custom-variable-state): New fun, from custom-variable-state-set.
12436 (custom-variable-state-set): Use it.
12437 (custom-group-value-create): Hide options with standard values
12438 using the :hidden-states property. Use progress reporter.
12440 (custom-show): Simplify.
12441 (custom-visibility): Disable images by default.
12442 (custom-variable): New property :hidden-states.
12443 (custom-variable-value-create): Enable images for
12444 custom-visibility widgets. Use :hidden-states property to
12445 determine initial visibility.
12447 * wid-edit.el (widget-image-find): Give images center ascent.
12448 (visibility): Add :on-image and :off-image properties.
12449 (widget-visibility-value-create): Use them.
12451 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12453 * cus-edit.el (processes): Remove from development group.
12454 (oop, hypermedia): Delete group.
12455 (comm): Promote to top-level group.
12457 * net/browse-url.el (browse-url):
12458 * net/xesam.el (xesam):
12459 * net/tramp.el (tramp):
12460 * net/goto-addr.el (goto-address):
12461 * net/ange-ftp.el (ange-ftp): Put in comm group.
12463 * view.el (view): Remove from editing group.
12465 * uniquify.el (uniquify): Put in files group.
12467 * net/browse-url.el (browse-url):
12468 * ps-print.el (postscript): Put in external group.
12470 * cus-edit.el (outlines):
12471 * textmodes/text-mode.el (text-mode-hook):
12472 * textmodes/table.el (table):
12473 * textmodes/picture.el (picture):
12474 * outline.el (outlines): Put in wp group.
12476 * nxml/nxml-mode.el (nxml): Remove from wp group.
12478 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12480 * mail/metamail.el (metamail): Remove from hypermedia group.
12482 * cus-edit.el (abbrev):
12483 * whitespace.el (whitespace):
12484 * vcursor.el (vcursor):
12485 * reveal.el (reveal):
12486 * hl-line.el (hl-line): Put in convenience group.
12488 * epg-config.el (epg): Put in data group.
12490 * emulation/pc-select.el (pc-select): Put in emulations group.
12492 * calculator.el (calculator): Put in applications group.
12494 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12496 Add .dir-locals.el support for file-less buffers.
12497 * files.el (hack-local-variables): Split out code to apply local
12498 variable settings ...
12499 (hack-local-variables-apply): ... here. New function.
12500 (hack-dir-local-variables): Use the default directory for when the
12501 buffer does not have an associated file.
12502 (hack-dir-local-variables-non-file-buffer): New function.
12503 * diff-mode.el (diff-mode):
12504 * vc-annotate.el (vc-annotate-mode):
12505 * vc-dir.el (vc-dir-mode):
12506 * log-edit.el (log-edit-mode):
12507 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12509 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12511 Add support for shelving snapshots and for showing shelves.
12512 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12513 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12515 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12516 (vc-bzr-extra-menu-map): Map them.
12518 2010-03-11 Glenn Morris <rgm@gnu.org>
12520 * cus-edit.el (customize-changed-options-previous-release):
12523 * image.el (image-animate-max-time): Fix :version tag.
12525 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12529 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12531 * vc-git.el (vc-git-revision-table): Include remote branches.
12533 2010-03-10 Kim F. Storm <storm@cua.dk>
12535 Animated image API.
12536 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12538 * image.el (image-animate-max-time): New defcustom.
12539 (image-animated-types): New defconst.
12540 (create-animated-image, image-animate-timer)
12541 (image-animate-start, image-animate-stop, image-animate-timeout)
12542 (image-animated-p): New functions.
12544 * image-mode.el (image-toggle-display-image):
12545 Replace `create-image' with `create-animated-image'.
12547 2010-03-09 Miles Bader <miles@gnu.org>
12549 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12550 instead of "format:"; this ensures that the output is
12551 newline-terminated.
12553 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12555 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12556 that all errors are caught, and that the return value is always a
12559 2010-03-08 Kenichi Handa <handa@m17n.org>
12561 * language/misc-lang.el (windows-1256): New coding system.
12562 (cp1256): New alias of windows-1256 (bug#5690).
12564 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12566 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12567 call to rfc822-bad-address. (Bug#5692)
12569 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12571 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12572 Use vc-git-root as default directory for revision path (Bug#5657).
12574 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12576 * calculator.el (calculator): Don't bind split-window-keep-point
12579 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12581 * vc-git.el: Re-flow to fit into 80 columns.
12582 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12583 Remove spurious `quote' element in each case alternative.
12584 (vc-git-show-log-entry): Use prog1.
12585 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12587 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12589 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12591 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12593 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12594 definition, not the name (Bug#5481).
12596 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12598 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12599 argument with a local variable. (Bug#5670)
12601 2010-03-02 Juri Linkov <juri@jurta.org>
12603 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12605 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12607 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12608 error when FILENAME and NEWNAME are existing remote directories.
12610 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12611 parameter DIR-FLAG.
12613 2010-03-02 Glenn Morris <rgm@gnu.org>
12615 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12616 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12618 2010-03-01 Kenichi Handa <handa@m17n.org>
12620 * language/burmese.el (burmese-composable-pattern): Rename from
12621 myanmar-composable-pattern.
12623 * international/characters.el (script-list):
12624 * international/fontset.el (script-representative-chars):
12625 Change myanmar to burmese.
12626 (otf-script-alist): Likewise.
12627 (setup-default-fontset): Likewise. Re-fix :otf spec.
12629 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12631 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12633 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12635 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12637 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12639 * net/tramp.el (tramp-handle-write-region): START can be a string.
12640 Take care in the checks. Reported by Dan Davison
12641 <davison@stats.ox.ac.uk>.
12643 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12645 * net/dbus.el (dbus-introspect, dbus-get-property)
12646 (dbus-set-property, dbus-get-all-properties):
12647 Use `dbus-call-method' when noninteractive. (Bug#5645)
12649 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12651 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12652 * emacs-lisp/elint.el (elint-add-required-env):
12653 * calendar/icalendar.el (icalendar--add-diary-entry):
12654 * calc/calcalg2.el (math-tracing-integral):
12655 * files.el (recover-session-finish): Use with-current-buffer
12656 instead of save-excursion.
12658 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12660 Fix in-buffer completion when after-change-functions modify the buffer.
12661 * minibuffer.el (completion--replace): New function.
12662 (completion--do-completion): Use it and use relative movement.
12664 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12666 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12668 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12670 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12671 Allow the characters _<> in the stack entry (Bug#5653).
12673 2010-02-26 Kenichi Handa <handa@m17n.org>
12675 * language/burmese.el: Fix entries in composition-function-table.
12676 (myanmar-composable-pattern): New variable.
12678 * international/fontset.el (setup-default-fontset): Add an entry
12681 * international/characters.el (script-list): Add Myanmar
12684 2010-02-26 Glenn Morris <rgm@gnu.org>
12686 * custom.el (custom-initialize-delay): Doc fix.
12688 * mail/sendmail.el (send-mail-function): Autoload the call
12689 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12691 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12693 * files.el (hack-local-variables-filter): For eval forms, also
12694 check safe-local-variable-p (Bug#5636).
12696 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12698 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12699 setting the modes by `ignore-errors'. It might fail, for example
12700 if the file is not owned by the user but the group.
12701 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12703 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12705 * files.el (directory-listing-before-filename-regexp):
12706 Use stricter matching for iso-style dates, to avoid false matches with
12707 date-like filenames (Bug#5597).
12709 * htmlfontify.el (htmlfontify): Doc fix.
12711 * eshell/eshell.el (eshell): Doc fix.
12713 * startup.el (fancy-about-screen): In mode-line, apply
12714 mode-line-buffer-id face only to the buffer name (Bug#5613).
12716 2010-02-20 Kevin Ryde <user42@zip.com.au>
12718 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12719 In `watcom' anchor regexp to start of line, to avoid slowness
12722 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12724 * subr.el (remove-yank-excluded-properties): Explain in a comment
12725 why `category' property is removed.
12727 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12729 * isearch.el (isearch-update-post-hook, isearch-update):
12730 Revert 2010-02-17 change.
12732 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12734 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12735 (icalendar--convert-weekly-to-ical)
12736 (icalendar--convert-yearly-to-ical)
12737 (icalendar--convert-block-to-ical)
12738 (icalendar--convert-cyclic-to-ical)
12739 (icalendar--convert-anniversary-to-ical): Take care of time
12740 specifications where hour has 1-digit only (Bug#5549).
12742 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12744 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12745 of disassemble output in GDB 7.1.
12747 2010-02-19 Glenn Morris <rgm@gnu.org>
12749 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12750 property. (Bug#5593)
12752 2010-02-18 Sam Steingold <sds@gnu.org>
12754 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12756 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12758 Use abbreviated file names in bookmarks (bug#5591).
12759 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12760 calls to expand-file-name.
12761 (bookmark-relocate): Use abbreviated file names in bookmarks.
12762 (bookmark-load): Use abbreviated file names in messages.
12764 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12766 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12767 expand "." and "..". Reported by Thierry Volpiatto
12768 <thierry.volpiatto@gmail.com>.
12770 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12772 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12773 permissions of the temporary file to "0600". In case the remote
12774 file has no read permissions for the owner, there might be
12775 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12777 22010-02-18 Glenn Morris <rgm@gnu.org>
12779 * emacs-lisp/authors.el (authors-renamed-files-alist):
12780 Add entries for INSTALL.CVS.
12782 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12784 * vc-bzr.el: Fix typo in Known Bugs section.
12786 * isearch.el (isearch-update-post-hook): New hook.
12787 (isearch-update): Use the new hook.
12789 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12791 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12792 Fix errors in copying directories.
12793 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12794 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12795 (tramp-handle-delete-file)
12796 (tramp-handle-dired-recursive-delete-directory)
12797 (tramp-handle-write-region): Flush also the cache for the upper
12800 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12802 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12804 * cus-edit.el (hardware): Doc fix.
12806 * man.el (man): Add to external custom group.
12808 * delim-col.el (columns): Move to wp custom group.
12810 * doc-view.el (doc-view): Add to data custom group.
12812 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12814 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12815 by ispell-parse-output (Bug#5575).
12817 2010-02-16 Kenichi Handa <handa@m17n.org>
12819 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12820 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12821 (skkdic-convert): Use `euc-japan' coding system for writing.
12823 2010-02-16 Glenn Morris <rgm@gnu.org>
12825 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12826 tex-main-file before using it. (Bug#5562)
12828 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12830 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12831 warnings, since it is annoying for the user to see them each time he
12834 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12836 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12837 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12838 instead of PROC for caching "first-password-request". Otherwise,
12839 new processes would not profit from passwords already entered.
12841 * net/tramp-cache.el (tramp-dump-connection-properties):
12842 Don't save "first-password-request" property.
12844 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12846 * outline.el (outline-head-from-level):
12847 * simple.el (with-wrapper-hook):
12848 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12849 (elint-defun, elint-buffer-env, elint-top-form-logged)
12850 (elint-unbound-variable):
12851 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12852 Fix typos in docstrings.
12854 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12856 * files.el (insert-directory): When WILDCARD-REGEXP and
12857 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12858 whole directory. (Bug#5551)
12860 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12861 dired's alignment sanity. (Bug#5516)
12863 2010-02-14 Juri Linkov <juri@jurta.org>
12865 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12866 Remove remaining ^H with their preceding chars. (Bug#5566)
12868 2010-02-13 Glenn Morris <rgm@gnu.org>
12870 * simple.el (transpose-subr): Give it a doc-string.
12872 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12875 2010-02-12 Juri Linkov <juri@jurta.org>
12877 * arc-mode.el (archive-unique-fname): Make directories for nested
12878 archives. (Bug#5540)
12880 2010-02-12 Juri Linkov <juri@jurta.org>
12882 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12884 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12886 * subr.el (copy-overlay): Handle deleted overlays.
12888 * man.el (Man-completion-table): Don't signal an error if we can't run
12889 manual-program (bug#4056).
12891 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12893 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12895 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12897 * info.el (Info-bookmark-jump): Simplify.
12899 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12900 (bookmark-default-handler): Accept new bookmark field `buffer'.
12902 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12904 * iswitchb.el (iswitchb-completions): Revert last change.
12906 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12908 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12909 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12910 This prevents file names like "~/" being listed literally.
12912 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12914 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12915 Remove dead code. (Bug#5546)
12917 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12919 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12920 correctly (Bug#5548).
12922 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12924 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12925 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12927 2010-02-08 Kenichi Handa <handa@m17n.org>
12929 * international/mule-util.el (with-coding-priority): Add autoload
12930 cookie for putting `lisp-indent-function'.
12932 2010-02-07 Glenn Morris <rgm@gnu.org>
12934 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12935 Move F2003 named interfaces from keywords-2 to keywords-1, and
12936 use function-name-face rather than constant-face.
12937 Simplify "abstract interface" regexp.
12939 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12941 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12942 ID-FORMAT. Pass it to `file-attributes'.
12944 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12946 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12948 * faces.el (set-face-attribute): Allow calling
12949 internal-set-lisp-face-attribute with 'unspecified family and
12950 foundry argument (Bug#5536).
12952 2010-02-07 Glenn Morris <rgm@gnu.org>
12954 * progmodes/f90.el (f90-font-lock-keywords-2)
12955 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12956 Handle F2003 named interfaces.
12958 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12960 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12961 beg and end before calling c-get-state-before-change-functions.
12963 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12965 * vc-bzr.el (vc-bzr-dir-extra-headers):
12966 Disable the pending merges header.
12968 2010-02-05 Juri Linkov <juri@jurta.org>
12970 * doc-view.el (doc-view-mode):
12971 * image-mode.el (image-mode): Put property mode-class=special.
12974 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12976 * vc-svn.el (vc-svn-revision-table): New function.
12978 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12980 * net/ange-ftp.el (ange-ftp-insert-directory):
12981 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12982 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12983 Handle also directories. (Bug#5478)
12985 2010-02-05 Glenn Morris <rgm@gnu.org>
12987 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12989 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12991 * startup.el (command-line-1): Convert options beginning with a
12992 single dash as well (Bug#5519).
12994 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12996 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12997 * minibuffer.el (completion-initials-expand): Only check the presence
12998 of delims *within* the boundaries, since otherwise the / delim is
12999 always found for files.
13001 Fix up various corner case problems.
13002 * doc-view.el (doc-view-last-page-number): New function.
13003 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13004 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13005 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13006 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13007 (doc-view-convert-current-doc): Don't create the resolution.el file
13009 (doc-view-pdf/ps->png): Do it here instead.
13010 (doc-view-already-converted-p): Check that resolution.el is present.
13011 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13012 windows that are not yet showing images.
13014 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13016 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13017 `dired-uncache' for every elemnt which is an absolute file name.
13019 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13020 directory, handle its directory component.
13021 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13022 function is called permanently and creates noise, otherwise.
13024 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13025 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13026 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13028 2010-02-04 David Burger <dburger@google.com> (tiny change)
13030 * macros.el (apply-macro-to-region-lines):
13031 Minor simplification. (Bug#5485)
13033 2010-02-04 Glenn Morris <rgm@gnu.org>
13035 * mail/rmail.el (rmail-show-message-1): Handle malformed
13036 quoted-printable text. (Bug#5441)
13038 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13040 * simple.el (visual-line-mode): Capitalize lighter.
13042 2010-02-03 John Wiegley <jwiegley@gmail.com>
13044 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13045 list of files considered for "virtual buffer" completions.
13047 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13049 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13050 also in case of (and (not full) (not wildcard)). This is needed
13051 when dired is called with a list of files, which are not in
13052 `default-directory'. (Bug#5478)
13054 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13056 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13058 2010-02-02 Juri Linkov <juri@jurta.org>
13060 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13061 from unidiff to allow function-line after @@.
13063 2010-02-02 Juri Linkov <juri@jurta.org>
13065 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13066 '(RCS SCCS) with inverted condition.
13068 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13070 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13073 2010-02-01 Juri Linkov <juri@jurta.org>
13075 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13076 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13077 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13078 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13080 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13082 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13083 (doc-view-revert-buffer): New command.
13084 (doc-view-mode-map): Use it.
13086 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13088 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13089 pending merge is detected.
13091 2010-01-31 Juri Linkov <juri@jurta.org>
13093 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13094 beginning of interactive spec like all other grep commands do.
13095 Put "all" in front of "gz". (Bug#5260)
13097 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13099 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13101 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13103 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13104 regexp is incorrect (Bug#5476).
13106 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13108 * net/tramp.el (tramp-handle-insert-directory): Handle also
13109 symlinks, when FILENAME is not in `default-directory'.
13111 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13113 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13114 FILE is not in `default-directory'. (Bug#5478)
13116 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13117 of SWITCHES. Handle the case, FILENAME is not in
13118 `default-directory'. (Bug#5478)
13119 (tramp-register-file-name-handlers): Add safe-magic property.
13121 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13123 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13126 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13128 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13129 (flymake-master-make-header-init): Add other C++ filename masks.
13130 (flymake-find-possible-master-files)
13131 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13133 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13135 Fix some busybox annoyances.
13137 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13138 not responding." string.
13139 (tramp-open-connection-setup-interactive-shell): Dump stty
13140 settings. Enable "neveropen" arg for all `tramp-send-command'
13141 calls. Handle "=" in variable values properly.
13142 (tramp-find-inline-encoding): Raise an error, when no encoding is
13144 (tramp-wait-for-output): Check, whether PROC buffer is available.
13145 Remove spurious " ^H" sequences, sent by busybox.
13146 (tramp-get-ls-command): Suppress coloring, if possible.
13148 2010-01-28 Glenn Morris <rgm@gnu.org>
13150 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13152 * log-edit.el (log-edit-strip-single-file-name): Add missing
13153 :safe, :group, and :version tags.
13155 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13157 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13158 buffers. (Bug#5477)
13160 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13162 * files.el (delete-directory): Handle moving to trash without
13163 first doing recursion (Bug#5436).
13165 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13167 * vc-hooks.el (vc-path): Mark as obsolete.
13169 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13171 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13174 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13176 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13178 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13180 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13182 * vc-bzr.el (vc-bzr-revision-table): New function.
13184 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13186 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13187 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13189 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13191 Remove support for adding --signoff on commit.
13192 Future support will use an incompatible generic mechanism.
13193 * vc-git.el (vc-git-add-signoff): Remove variable.
13194 (vc-git-toggle-signoff): Remove function.
13195 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13197 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13198 Rename from xterm-set-background-mode. Return t if the background mode
13200 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13201 earlier, call it again in case the background mode has changed.
13203 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13205 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13208 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13210 * emacs-lisp/assoc.el (aelement): Doc fix.
13211 (aput, adelete, amake): Use lexical-let (Bug#5450).
13213 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13215 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13216 is the same as subprogram call, not declaration. (Bug#5435).
13218 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13220 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13221 (tramp-smb-maybe-open-connection): Use it.
13223 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13225 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13227 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13229 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13230 just because we see "encoding: 8bit".
13231 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13233 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13235 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13237 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13239 * jka-compr.el (jka-compr-load): If load-file is not in
13240 load-history, try its file-truename version. (bug#5447)
13242 2010-01-21 Alan Mackenzie <acm@muc.de>
13244 Fix a situation where deletion of a cpp construct throws an error.
13245 * progmodes/cc-engine.el (c-invalidate-state-cache):
13246 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13247 special cpp construct is still in the buffer.
13248 (c-parse-state): Record the special cpp with markers, not numbers.
13250 2010-01-21 Kenichi Handa <handa@m17n.org>
13252 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13253 process last-command-event, as it is now decoded first (Bug#5380).
13255 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13257 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13259 2010-01-20 Glenn Morris <rgm@gnu.org>
13261 * indent.el (tab-always-indent): Fix custom-type.
13263 2010-01-19 Alan Mackenzie <acm@muc.de>
13265 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13266 buffer throws "args out of range".
13267 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13268 playing the role of delimiter.
13270 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13272 * progmodes/ada-mode.el: Fix bug#5400.
13273 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13274 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13275 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13276 Improve comments in "is" portion. Handle null procedure declaration.
13277 (ada-move-to-end): Improve doc string.
13279 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13281 * ido.el (ido-cur-list): Initialize to nil.
13282 Remove obsolete information from commentary.
13283 (ido-choice-list): Initialize to nil.
13284 (ido-get-bufname): Reject minibuffers.
13285 (ido-make-buffer-list): If "default" is a nonexistent
13286 buffer, ignore it, as per the function's comment.
13287 (ido-kill-buffer-internal): New function.
13288 (ido-kill-buffer-at-head): Use it.
13289 (ido-visit-buffer): Likewise.
13291 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13293 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13295 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13297 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13298 Fix typos in chart titles.
13300 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13301 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13302 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13303 (describe-class, eieio-describe-generic, describe-generic):
13304 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13305 (eieio-speedbar-expand):
13306 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13307 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13308 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13309 (viper-del-backward-char-in-replace, viper-backward-indent)
13310 (viper-brac-function, viper-register-to-point, viper-submit-report):
13311 * net/tramp.el (tramp-remote-coding-commands):
13312 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13313 Fix typos in docstrings.
13315 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13317 * mail/sendmail.el (mail-yank-original): Set the mark if the
13318 specified function for yanking does not do it.
13320 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13322 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13324 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13325 resyncing a directory.
13327 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13329 * progmodes/ada-mode.el: Fix bug#1920.
13330 (ada-ident-re): Delete ., allow multibyte characters.
13331 (ada-goto-label-re): New; matches goto labels.
13332 (ada-block-label-re): New; matches block labels.
13333 (ada-label-re): New; matches both.
13334 (ada-named-block-re): Delete; callers changed to use
13335 `ada-block-label-re' instead.
13336 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13337 Use `ada-block-label-re'.
13338 (ada-indent-on-previous-lines): Improve handling of goto labels.
13339 (ada-get-indent-block-start): Special-case block label.
13340 (ada-get-indent-label): Split into `ada-indent-block-label' and
13341 `ada-indent-goto-label'.
13342 (ada-goto-stmt-start, ada-goto-next-non-ws):
13343 Optionally ignore goto labels.
13344 (ada-goto-next-word): Simplify.
13345 (ada-indent-newline-indent-conditional): Insert newline before
13346 trying to fix indentation; doc fix.
13348 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13350 * calc/calc.el (calc-command-flags): Give it an initial value.
13352 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13354 * files.el (minibuffer-with-setup-hook):
13355 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13356 (artist-key-draw-continously, artist-key-do-continously-continously)
13357 (artist-key-set-point-continously, artist-mouse-draw-continously):
13358 Fix typos in docstrings.
13360 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13362 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13363 Never return t (Bug#3898).
13365 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13367 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13368 can parse the output of the external commands (Bug#5279).
13370 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13372 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13374 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13376 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13378 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13380 * startup.el (command-line): Remove unused --icon-type arg.
13381 Handle --display arg, passing it to command-line-1 (Bug#5392).
13383 2010-01-16 Mario Lang <mlang@delysid.org>
13385 * emacs-lisp/chart.el (chart-translate-namezone):
13386 * textmodes/artist.el (artist-compute-popup-menu-table):
13387 Remove duplicated words in doc-strings.
13389 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13391 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13392 to mairix-search to suppress threading (Bug#5342).
13394 2010-01-15 Kenichi Handa <handa@m17n.org>
13396 * international/mule-cmds.el (canonicalize-coding-system-name):
13397 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13399 2010-01-15 Glenn Morris <rgm@gnu.org>
13401 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13403 * wid-edit.el (widget-keymap): Doc fix.
13405 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13406 former seems to be more widely accepted by various svn versions.
13408 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13410 * find-cmd.el (find-constituents):
13411 * vc-arch.el (vc-arch-root):
13412 * window.el (window-body-height, pop-up-frames):
13413 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13414 * progmodes/ada-stmt.el (ada-if):
13415 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13416 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13417 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13418 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13420 * progmodes/flymake.el (flymake-post-syntax-check):
13421 Fix typo in error message.
13423 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13425 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13426 which is always a string. (Bug#5313)
13428 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13430 * progmodes/ada-xref.el (ada-default-prj-properties):
13431 Simplify previous change.
13433 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13435 * progmodes/ada-xref.el (ada-default-prj-properties):
13436 Default ada_project_path to $ADA_PROJECT_PATH.
13438 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13440 * progmodes/ada-mode.el (ada-create-keymap):
13441 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13443 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13445 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13446 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13447 (ada-get-current-indent, ada-imenu-generic-expression)
13448 (ada-which-function): Check for it.
13450 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13452 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13453 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13455 2010-01-14 Glenn Morris <rgm@gnu.org>
13457 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13459 2010-01-14 Kenichi Handa <handa@m17n.org>
13461 * composite.el (auto-composition-mode): Make it a buffer local
13462 variable (permanent-local).
13463 (auto-composition-function): Set the default value to
13464 auto-compose-chars.
13465 (auto-composition-mode): Make it a simple function, not a minor mode.
13466 (global-auto-composition-mode): Likewise.
13467 (turn-on-auto-composition-if-enabled): Delete it.
13469 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13471 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13473 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13475 * files.el (copy-directory): Compute target for recursive
13476 directories with identical names. (Bug#5343)
13478 2010-01-12 Glenn Morris <rgm@gnu.org>
13480 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13481 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13483 2010-01-11 Sam Steingold <sds@gnu.org>
13485 * imenu.el (imenu-default-create-index-function): Detect infinite
13486 loops caused by imenu-prev-index-position-function.
13488 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13490 * htmlfontify.el (htmlfontify-load-rgb-file)
13491 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13492 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13493 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13494 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13495 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13496 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13497 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13498 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13499 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13500 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13501 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13502 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13503 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13504 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13505 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13506 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13507 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13508 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13509 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13510 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13511 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13512 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13513 backslash-quoting from parentheses, etc.
13515 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13517 * progmodes/js.el: Autoload javascript-mode alias.
13519 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13521 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13522 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13523 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13524 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13525 Fix typos in docstrings.
13526 (ffap-url-regexp): Doc fix.
13527 (ffap-at-mouse): Fix typo in message.
13529 2010-01-11 Glenn Morris <rgm@gnu.org>
13531 * version.el (emacs-copyright): Set copyright year to 2010.
13533 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13535 * format.el (format-annotate-function): Only set
13536 write-region-post-annotation-function after running to-fn so as not to
13537 affect nested write-region calls (bug#5273).
13539 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13541 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13544 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13546 * man.el (Man-goto-section): Signal error if the section is not
13549 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13551 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13552 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13554 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13556 * progmodes/compile.el: Don't treat compile-command as safe if
13557 compilation-read-command might be nil (Bug#4218).
13559 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13561 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13564 2010-01-08 Kenichi Handa <handa@m17n.org>
13566 * international/fontset.el (build-default-fontset-data):
13567 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13569 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13571 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13572 to `create-file-buffer' as it expects, not just a buffer name.
13573 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13574 to help uniquify. (Bug#3224)
13576 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13578 * font-setting.el (font-setting-change-default-font): Use user-spec
13581 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13583 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13585 2010-01-05 Tom Tromey <tromey@redhat.com>
13587 * progmodes/python.el (python-font-lock-keywords):
13588 Handle qualified decorators (Bug#881).
13590 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13592 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13593 in a lightweight checkout.
13595 2010-01-05 Kenichi Handa <handa@m17n.org>
13597 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13599 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13601 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13603 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13605 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13606 checkouts. (Bug#618)
13607 (vc-bzr-log-view-mode): Also highlight the author.
13608 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13609 (vc-bzr-shelve-menu-map):
13610 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13611 (vc-bzr-shelve-apply): Make prompt more explicit.
13613 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13615 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13616 They are valid characters in URL paths (rfc3986), and at least
13617 Firefox does not understand the encoded version (Bug#3166).
13619 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13621 * progmodes/octave-mod.el (octave-end-keywords)
13622 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13623 Add "end" keyword (Bug#3061).
13624 (octave-end-as-array-index-p): New function.
13625 (calculate-octave-indent): Use it.
13627 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13629 * bookmark.el: Consistently put the text property on the bookmark name.
13630 (bookmark-bmenu-marks-width): Bump back to 2, to include
13632 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13633 property on the bookmark name, instead of not putting it at all.
13634 (bookmark-bmenu-list): Fix where we put the text property.
13636 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13638 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13639 for showing buffer modified state (as added in the previous change).
13641 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13643 * bookmark.el: Show modified state of bookmark buffer more accurately.
13644 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13645 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13646 (with-buffer-modified-unmodified): New macro.
13647 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13648 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13649 Use new macro to preserve the buffer modified state.
13651 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13653 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13654 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13655 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13656 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13657 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13658 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13659 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13661 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13663 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13664 Make the lines in the generated doc string shorter. (Bug#4668)
13666 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13668 * net/rcirc.el: Add follow-link binding (Bug#4738).
13670 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13672 * Makefile.in (bzr-update): Rename from cvs-update.
13673 (cvs-update): New target for backward compatibility.
13675 * makefile.w32-in (bzr-update): Rename from cvs-update.
13676 (cvs-update): New target for backward compatibility.
13678 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13680 * bookmark.el: Remove gratuitous gratitude.
13682 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13684 * bookmark.el (bookmark-bmenu-any-marks): New function.
13685 (bookmark-bmenu-save): Clear buffer modification if no marks.
13687 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13689 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13690 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13691 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13692 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13694 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13695 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13696 To: emacs-devel {_AT_} gnu.org
13697 Subject: bookmark.el bug report
13698 Date: Mon, 28 Dec 2009 14:19:16 +0800
13699 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13701 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13703 * bookmark.el: Improvements suggested by Drew Adams:
13704 (bookmark-bmenu-ensure-position): New name for
13705 `bookmark-bmenu-check-position'. Just ensure the position,
13706 don't return any meaningful value.
13707 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13710 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13712 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13713 (bookmark-yank-point, bookmark-bmenu-check-position):
13714 Fix typos in docstrings.
13715 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13716 (bookmark-name-from-full-record, bookmark-get-position)
13717 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13718 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13719 Remove useless quoting of parenthesis, etc. in docstrings.
13721 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13722 (ediff-append-custom-diff): Fix typo in error message.
13723 (ediff-meta-mark-equal-files): Fix typos in messages.
13725 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13727 * net/imap-hash.el (imap-hash-make): Doc fix.
13728 (imap-hash-test): Fix typo in error message; reflow docstring.
13729 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13730 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13731 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13732 Fix typos in docstrings.
13733 (imap-hash-open-connection): Fix typo in error message.
13735 * play/gomoku.el (gomoku): Fix typos in docstring.
13737 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13738 (gdb-jsonify-buffer): Fix typos in docstring.
13739 (gdb-goto-breakpoint): Fix typo in error message.
13740 ("Display Other Windows"): Fix typo in help message.
13741 (gdb-speedbar-expand-node): Fix typo in question.
13743 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13744 (idlwave-html-system-help-location, idlwave-html-help-location)
13745 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13746 (idlwave-help-browser-generic-args, idlwave-help-directory)
13747 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13748 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13749 (idlwave-online-help, idlwave-help-html-link)
13750 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13751 Fix typos in docstrings.
13752 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13754 (idlwave-help-assistant-start): Fix typo in error message.
13756 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13757 (octave-electric-space): Fix typos in docstrings.
13759 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13761 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13763 2010-01-01 Juri Linkov <juri@jurta.org>
13765 * comint.el (comint-input-ring-size): Make it a defcustom and
13766 increase the default to 500 (Bug#5148).
13768 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13770 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13771 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13772 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13774 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13776 Show working revision correctly for mercurial.
13777 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13778 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13780 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13782 Declare some functions for the byte-compiler.
13783 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13784 (speedbar-timer-fn, speedbar-change-expand-button-char)
13785 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13787 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13789 This changeset reverts GDB Graphical Interface to use annotations.
13790 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13792 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13794 Make vc-dir work on subdirectories of the bzr root.
13795 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13796 Return file names relative to it.
13797 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13798 relative directory to vc-bzr-after-dir-status.
13800 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13802 * font-lock.el (font-lock-refresh-defaults): New function, which
13803 can be used to let font-lock react to external changes in
13804 variables like font-lock-defaults and keywords.
13805 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13807 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13809 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13811 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13813 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13815 Supersede color.diff settings in git log (bug#5211).
13817 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13818 escape chars in its output when the user has color.diff set to `always'.
13819 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13821 2009-12-26 Kevin Ryde <user42@zip.com.au>
13823 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13824 node. Keep previous "Index" name to work with past coreutils too.
13826 * man.el (man): Revise docstring a bit to show -a and -l as
13827 examples. Add -k description since support for it has otherwise
13828 been a secret. (Further to bug#3717.)
13829 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13830 "no matches" rather than "Can't find manpage", as the latter reads
13831 like -k was interpreted as a page name, which is not so. (Bug#5431)
13833 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13835 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13836 switches. Check also for //SUBDIRED// line.
13838 2009-12-25 Kenichi Handa <handa@m17n.org>
13840 * language/indian.el (devanagari-composable-pattern): Fix to
13841 handle ZWNJ and ZWJ. Use it in composition-function-table for
13843 (malayalam-composable-pattern): Fix previous change.
13845 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13847 * ps-print.el (ps-face-attributes): It was not returning the
13848 attribute face for faces specified as string. Reported by harven
13849 <harven@free.fr>. (Bug#5254)
13850 (ps-print-version): New version 7.3.5.
13852 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13854 * calendar/icalendar.el (icalendar--convert-tz-offset):
13855 Fix timezone names.
13856 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13857 (icalendar--add-diary-entry): Remove the trailing blank that
13858 diary-make-entry inserts.
13860 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13862 Make `file-expand-wildcards' work for remote files.
13864 * files.el (file-expand-wildcards): In case of remote files, check
13865 only local file name part for wildcards. Provide feature 'files
13866 and subfeature 'remote-wildcards. (Bug#5198)
13868 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13869 if there is already an established connection.
13870 (tramp-advice-file-expand-wildcards): Remove it.
13872 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13873 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13874 Activate advice for older GNU Emacs versions. (Bug#5237)
13876 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13878 Some doc fixes (more needed).
13880 * find-cmd.el (find-constituents): Reflow docstring.
13881 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13882 (find-generic): Doc fix.
13884 2009-12-17 Juri Linkov <juri@jurta.org>
13886 Fix regression from 23.1 to allow multiple modes in Local Variables.
13888 * files.el (hack-local-variables-filter): While ignoring duplicates,
13889 don't take `mode' into account.
13890 (hack-local-variables-filter, hack-dir-local-variables):
13891 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13893 2009-12-17 Juri Linkov <juri@jurta.org>
13895 Make `dired-diff' safer. (Bug#5225)
13897 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13898 `current' or when `file' is a directory of the `current' file.
13900 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13902 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13903 unconditionally preloaded files.
13905 2009-12-16 Juri Linkov <juri@jurta.org>
13907 Revert to old 23.1 logic of using the file at the mark as default.
13908 * dired-aux.el (dired-diff): Use the file at the mark as default
13909 if it's not the same as the current file, and the target dir is
13910 the current dir or the mark is active. Add the current file
13911 as the arg of `dired-dwim-target-defaults'. Use the default file
13912 in the prompt. (Bug#5225)
13914 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13916 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13917 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13918 (tramp-check-for-regexp): Check also, when an echoing shell stops
13919 to echo sent commands.
13921 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13923 * Makefile.in: Revert last change (Bug#5191).
13925 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13927 * vc-hg.el (vc-hg-print-log): Fix argument order.
13928 (vc-hg-working-revision): Make sure the command is executed in a
13929 known environment so that we can parse the output. (Bug#4417)
13931 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13933 * progmodes/python.el (python-symbol-completions): Remove text
13934 properties from symbol string before calling python-send-receive.
13936 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13938 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13939 when there are values for both file and line. (Bug#5060)
13941 2009-12-14 Juri Linkov <juri@jurta.org>
13943 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13944 whitespace after the file name of the first line of unified format,
13945 because git-diff doesn't output whitespace and file modification time
13946 after the file name.
13948 2009-12-14 David Kastrup <dak@gnu.org>
13950 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13951 check if it already has the `display' property added by
13952 `Info-display-images-node', and not put the `invisible' property
13955 2009-12-13 Glenn Morris <rgm@gnu.org>
13957 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13958 (report-emacs-bug): In message-mode, sort manually before storing
13959 original report text. (Bug#5178)
13960 Remove superfluous save-excursion.
13962 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13964 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13965 when responding to "GetAll" properties.
13967 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13969 * simple.el (compose-mail): Remove mail-setup-with-from from
13970 customization checks.
13972 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13974 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13975 RAR archives created on Unix systems.
13977 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13979 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13980 the varalias that was accidentally removed by the 2009-11-19 change
13983 2009-12-12 Kenichi Handa <handa@m17n.org>
13985 * language/indian.el (indian-compose-regexp): New function.
13986 (malayalam-composable-pattern): Fix the pattern.
13987 (composition-function-table): Set malayalam-composable-pattern for
13988 Malayalam characters.
13990 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13992 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13993 rather than down-mouse-1, based on follow-link conventions.
13995 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13998 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14000 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14001 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14002 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14003 (verilog-leap-to-head, verilog-backward-token):
14004 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14006 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14008 * progmodes/verilog-mode.el (verilog-auto-lineup)
14009 (verilog-nameable-item-re): Cleanup user-visible spelling and
14010 documentation errors. One reported by Gary Delp.
14011 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14012 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14013 package, bug195. Reported by Pierre-David Pfister.
14015 2009-12-11 Glenn Morris <rgm@gnu.org>
14017 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14019 * mail/emacsbug.el: No longer require sendmail.
14020 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14021 (report-emacs-bug-orig-text): Doc fix.
14022 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14023 New local variables, to adapt to different mail-user-agents.
14024 (report-emacs-bug): Fix test for a gnu.org address.
14025 Use overlays for emphasis, since font-lock defeats 'face property.
14026 Pretest bugs also end up at the newsgroup these days.
14027 Stop message-mode stripping text properties.
14028 Set and use the new buffer-local variables.
14029 (report-emacs-bug-hook): Add doc-string.
14030 Remove some unnecessary save-excursions and simplify.
14031 Use the appropriate hook and send-command.
14033 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14034 capitalization of some menu entries.
14036 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14038 * whitespace.el (whitespace-display-char-on):
14039 Ensure `buffer-display-table' is unique when two or more windows are
14040 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14043 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14045 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14046 characters in the Attribute field.
14048 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14050 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14052 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14054 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14055 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14056 Disregard autoload-excludes.
14057 (update-directory-autoloads): Obey autoload-excludes here instead.
14058 But don't store its contents in no-autoloads and remove entries that
14059 refer to excludes files.
14061 2009-12-10 Glenn Morris <rgm@gnu.org>
14063 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14064 (expand-mail-aliases): Define for compiler.
14066 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14067 Define for compiler.
14069 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14070 appropriate for the mail-user-agent in use.
14072 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14074 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14076 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14078 Fix short log parsing and fontification.
14079 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14080 Fix fontification for the [merge] label.
14082 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14084 Drop some properties to avoid surprises (bug#5002).
14085 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14086 (hfy-fontify-buffer): Use it.
14088 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14091 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14092 Adjust all callers.
14093 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14094 args compulsory. Adjust callers.
14095 (ffap-gopher-at-point): Remove unused var `name'.
14097 Get rid of the ELCFILES abomination.
14098 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14099 (compile-elcfiles): New phony target.
14100 (compile-main): Compute ELCFILES dynamically.
14101 (compile-clean): New target to remove left-over elc files.
14102 (compile, all): Use it.
14104 2009-12-09 Kenichi Handa <handa@etlken>
14106 * international/mule-diag.el: Require help-mode instead of help-fns.
14108 2009-12-09 Kenichi Handa <handa@m17n.org>
14110 * international/mule-cmds.el (ucs-names): Supply sufficiently
14111 fine ranges instead of pre-calculating accurate ranges.
14112 Iterate with bigger gc-cons-threshold.
14114 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14116 Add support for stashing a snapshot of the current tree.
14117 * vc-git.el (vc-git-stash-snapshot): New function.
14118 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14120 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14122 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14123 instead of `(beginning|end)-of-line'.
14125 2009-12-08 Glenn Morris <rgm@gnu.org>
14127 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14129 * Makefile.in (ELCFILES): Regenerate.
14131 2009-12-07 Juri Linkov <juri@jurta.org>
14133 Don't lazy-highlight the comint output in history Isearch mode.
14135 * comint.el (comint-history-isearch-search): Instead of
14136 `comint-line-beginning-position', use `comint-after-pmark-p'
14137 to check if point if before the process mark, and go to
14138 `process-mark' in this case.
14140 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14142 * textmodes/tex-mode.el (latex-complete)
14143 (latex-indent-or-complete): Remove.
14144 (latex-mode): Set completion-at-point-functions instead.
14146 Provide a standard completion command and hook it into TAB.
14147 * minibuffer.el (completion-at-point-functions): New var.
14148 (completion-at-point): New command.
14149 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14150 * progmodes/python.el (python-mode-map): Use completion-at-point.
14151 (python-completion-at-point): Rename from python-partial-symbol and
14152 adjust for use in completion-at-point-functions.
14153 (python-mode): Setup completion-at-point for Python completion.
14154 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14155 extracted from lisp-complete-symbol.
14156 (lisp-complete-symbol): Use it.
14157 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14158 setup completion-at-point for Elisp completion.
14159 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14160 Use completion-at-point.
14161 * ielm.el (ielm-map): Use completion-at-point.
14162 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14163 * progmodes/sym-comp.el: Move to...
14164 * obsolete/sym-comp.el: Move from progmodes.
14166 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14168 Prevent save-buffer in Rmail buffers from using the coding-system
14169 of the current message, and from clobbering the encoding mnemonics
14170 in the mode line (Bug#4623).
14172 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14174 (rmail-message-encoding): New variable.
14175 (rmail-write-region-annotate): Record the encoding of the current
14176 message in rmail-message-encoding.
14177 (rmail-after-save-hook): New function, restores the encoding of
14178 the current message after the message collection is saved.
14180 2009-12-07 Juri Linkov <juri@jurta.org>
14182 * progmodes/grep.el (grep-read-files): Use `completing-read'
14183 instead of `read-string'. Set its `collection' arg to
14184 `read-file-name-internal'. (Bug#4301)
14186 2009-12-07 Juri Linkov <juri@jurta.org>
14188 Correctly restore original Isearch point. (Bug#4994)
14190 * isearch.el (isearch-mode): Move `isearch-push-state' after
14191 `(run-hooks 'isearch-mode-hook)'.
14192 (isearch-cancel): When `isearch-push-state-function' is defined,
14193 let-bind `isearch-cmds' to the first state (the last element of
14194 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14195 function and restores the original point). Otherwise, move point
14196 to `isearch-opoint'.
14198 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14200 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14201 chars that don't have names, so the table can be built much faster at
14204 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14206 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14207 change. Suggested by David Kastrup.
14209 * simple.el (compose-mail): Check for incompatibilities and warn.
14210 (compose-mail-user-agent-warnings): New option.
14212 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14214 Support showing a single log entry from vc-annotate.
14215 * vc.el (print-log): Add a new argument: START-REVISION.
14216 (vc-print-log-internal): Add a new optional argument and
14217 pass it to the backend.
14218 (vc-print-log, vc-print-root-log): Adjust callers.
14219 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14220 buffer already displays the requested log entry, use it.
14221 Otherwise display only the log entry in question.
14222 * vc-svn.el (vc-svn-print-log):
14223 * vc-mtn.el (vc-mtn-print-log):
14224 * vc-hg.el (vc-hg-state):
14225 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14226 (vc-git-show-log-entry): Return t on success.
14227 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14228 (vc-bzr-show-log-entry): Return t on success.
14229 * vc-rcs.el (vc-rcs-print-log):
14230 * vc-sccs.el (vc-sccs-print-log):
14231 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14233 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14235 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14236 Add menus to the meta mode. (Bug#5043)
14238 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14240 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14243 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14245 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14247 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14248 Berbain <raphael.berbain@gmail.com>.
14250 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14252 (tramp-initial-end-of-output): New defconst.
14253 (tramp-methods, tramp-find-shell)
14254 (tramp-open-connection-setup-interactive-shell)
14255 (tramp-maybe-open-connection): Use it.
14256 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14257 Handle existence of `#' and `$'.
14259 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14260 Use `tramp-initial-end-of-output'.
14262 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14264 Get the background mode from the terminal for xterm, and set
14266 * term/xterm.el (xterm-set-background-mode): New function.
14267 (terminal-init-xterm): Use it in case xterm supports background
14268 color queries. Recompute faces after getting the background
14271 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14273 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14274 number comment back on its own line, for easier parsing.
14276 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14278 Make it work for non-file buffers (bug#5102).
14279 * doc-view.el (doc-view-current-cache-dir):
14280 Use doc-view-buffer-file-name rather than buffer-file-name.
14281 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14283 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14285 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14286 author field is too short.
14288 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14290 * vc-git.el (vc-git-print-log): Handle a limit argument.
14291 Display the short log in graph form and with labels.
14292 (vc-git-log-view-mode): Handle labels.
14294 Make vc-revert change VC state from 'added to 'unregistered.
14295 * vc-git.el (vc-git-revert): Call git reset first.
14297 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14299 * net/newst-backend.el, net/newst-plainview.el:
14300 * net/newst-reader.el, net/newst-ticker.el:
14301 * net/newst-treeview.el, net/newsticker.el:
14302 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14304 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14306 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14308 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14309 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14310 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14311 Update annotation regexp.
14313 * simple.el (beginning-of-visual-line): Constrain to field
14314 boundaries (Bug#5106).
14316 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14318 * xml.el (xml-substitute-numeric-entities):
14319 Move newsticker--decode-numeric-entities in newst-backend.el to
14320 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14321 * net/newst-backend.el (newsticker--parse-generic-feed)
14322 (newsticker--parse-generic-items)
14323 (newsticker--decode-numeric-entities):
14324 Move newsticker--decode-numeric-entities in newst-backend.el to
14325 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14327 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14329 * progmodes/js.el (js--js-not): Add null to the list of values.
14331 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14333 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14335 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14337 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14338 delimiter if it is at the end of the current line.
14339 (bibtex-generate-url-list): Fix docstring.
14341 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14343 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14344 minibuffer's content with itself.
14345 Fold the confirm-after-completion case into the `confirm' case.
14346 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14348 2009-12-06 Kevin Ryde <user42@zip.com.au>
14350 * ffap.el (ffap-rfc-path): Make this a defcustom since
14351 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14353 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14354 manuals, similar to existing setup for help-mode. (Bug#3913.)
14356 2009-12-05 Juri Linkov <juri@jurta.org>
14358 Save and restore dired buffer's point positions too. (Bug#4880)
14360 * dired.el (dired-save-positions): Return in the first element
14361 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14363 (dired-restore-positions): First restore buffer's position.
14364 While restoring window's positions, check if window still displays
14365 the original buffer.
14367 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14369 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14372 * shell.el (shell): Require ansi-color (Bug#5113).
14374 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14376 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14378 2009-12-05 Alan Mackenzie <acm@muc.de>
14380 * progmodes/cc-mode.el (c-before-hack-hook)
14381 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14382 `c-file-style' to work again. This reversion restores the current
14383 software to its state in Emacs 23.1. (Bug#4146)
14385 2009-12-05 Kevin Ryde <user42@zip.com.au>
14387 * textmodes/sgml-mode.el (sgml-lexical-context):
14388 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14390 2009-12-05 Juri Linkov <juri@jurta.org>
14392 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14393 for virtual nodes. (Bug#4147)
14394 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14395 when moving from a virtual node.
14396 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14397 (Info-mode): Add `Info-virtual-index' to the docstring.
14399 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14401 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14402 track of the buffer position of the end of a BibTeX entry as this
14403 position may change during reformatting.
14404 (bibtex-format-entry): Remove whitespace before processing
14405 numerical fields so that we recognize the latter properly.
14406 (bibtex-reformat): Do not use push which changes the global value
14407 of bibtex-entry-format.
14408 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14409 (bibtex-field-re-init): Replace only space characters by regexp
14411 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14412 (bibtex-initialize): Also update bibtex-strings.
14413 (bibtex-kill-field): Preserve white space at end of entry.
14414 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14415 Update bibtex-reference-keys.
14417 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14419 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14420 point after a star, if that's the only place where modifications can
14423 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14425 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14428 2009-12-04 Juri Linkov <juri@jurta.org>
14430 * proced.el (proced): Call `(proced-update t)' to update process
14431 information instead of only running proced-post-display-hook.
14432 (proced-send-signal): Add a leading space to the buffer name
14433 " *Marked Processes*" to make this buffer ephemeral.
14435 2009-12-04 Juri Linkov <juri@jurta.org>
14437 * dired.el (dired-auto-revert-buffer): New defcustom.
14438 (dired-internal-noselect): Use it.
14440 2009-12-04 Juri Linkov <juri@jurta.org>
14442 Change roles of modes and functions in image-mode.el (Bug#5062).
14444 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14445 in `auto-mode-alist'.
14446 (image-mode-previous-major-mode): New variable.
14447 (image-minor-mode-map): Rename from `image-mode-text-map'.
14448 (image-mode): Move graceful error-handling code from
14449 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14450 (image-minor-mode): Remove all image-handling code.
14451 Replace `image-mode-text-map' with `image-minor-mode-map'.
14452 Check for `image-type' in mode-line format string.
14453 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14454 (image-mode-as-text): New function with most code from
14455 `image-mode-maybe'.
14456 (image-toggle-display-text): Move code that removes image
14457 properties from `image-toggle-display' to here.
14458 (image-toggle-display-image): New function with code that adds
14459 image properties copied from `image-toggle-display'.
14460 (image-toggle-display): Remove most code with leaving only code
14461 that toggles between `image-mode-as-text' and `image-mode'.
14463 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14465 * net/newst-treeview.el
14466 (newsticker--treeview-list-highlight-start): Restored call to
14467 save-excursion: Selected item was stuck.
14468 (newsticker--treeview-list-select): New.
14469 (newsticker--treeview-item-show-text)
14470 (newsticker--treeview-item-show)
14471 (newsticker--treeview-item-update): Use new
14472 newsticker-treeview-item-mode.
14473 (newsticker-treeview-update): Keep current item.
14474 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14475 (newsticker--treeview-first-feed): Doc change.
14476 (newsticker-treeview-list-menu)
14477 (newsticker-treeview-item-menu): Add menu entries.
14478 (newsticker-treeview-item-mode): New.
14480 * net/newst-backend.el (newsticker-customize): Delete other
14483 2009-12-04 Sam Steingold <sds@gnu.org>
14485 * log-view.el (log-view-mode-map): "q" calls quit-window,
14486 like in all the other non-self-insert buffers.
14488 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14491 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14492 key decoding rather than do it manually via last-input-event +
14494 (term-exec): Use delete-and-extract-region.
14495 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14496 (term-process-pager): Remove unused var `i'.
14497 (term-dynamic-simple-complete): Make obsolete.
14498 (serial-update-config-menu): Remove unused vars `y' and `str'.
14499 (term-update-mode-line): Remove unused var `temp'.
14501 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14503 Limit the number of log entries displayed by default.
14504 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14505 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14506 using a prefix argument.
14508 2009-12-03 Glenn Morris <rgm@gnu.org>
14510 * progmodes/idlwave.el (class): Restore still useful declaration.
14512 2009-12-03 Alan Mackenzie <acm@muc.de>
14514 Enhance `c-parse-state' to run efficiently in "brace deserts".
14516 * progmodes/cc-mode.el (c-basic-common-init):
14517 Call c-state-cache-init.
14518 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14519 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14520 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14522 * progmodes/cc-langs.el (c-before-font-lock-function):
14523 c-extend-and-neutralize-syntax-in-CPP has been renamed
14524 c-neutralize-syntax-in-and-mark-CPP.
14526 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14527 with `category' properties now, not `syntax-table' ones.
14529 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14530 enhanced (but slower) version of c-end-of-macro that won't land
14531 inside a literal or on another awkward character.
14532 (c-state-cache-too-far, c-state-cache-start)
14533 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14534 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14535 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14536 (c-state-min-scan-pos, c-state-brace-pair-desert)
14537 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14538 buffer local variables.
14539 (c-state-literal-at, c-state-lit-beg)
14540 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14541 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14542 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14543 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14544 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14545 (c-renarrow-state-cache)
14546 (c-append-lower-brace-pair-to-state-cache)
14547 (c-state-push-any-brace-pair, c-append-to-state-cache)
14548 (c-remove-stale-state-cache)
14549 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14550 (c-invalidate-state-cache-1, c-parse-state-1)
14551 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14552 (c-parse-state): Enhance and refactor.
14553 (c-debug-parse-state): Amend to deal with all the new variables.
14555 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14556 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14557 modify to use category text properties rather than syntax-table ones.
14558 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14559 to switch off/on the syntactic paren property of C++ template
14560 delimiters using the category property.
14561 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14562 template delims suppressed.
14563 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14564 New constant/macros which apply category properties to the start
14565 and end of preprocessor constructs.
14566 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14567 "comment out" the syntactic value of characters in preprocessor
14569 (c-with-cpps-commented-out)
14570 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14571 with characters in all or all but one preprocessor constructs
14574 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14576 * proced.el (proced-filter-alist): Use regexp-quote.
14578 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14581 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14582 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14583 arguments. Expand `default-directory'.
14585 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14586 the benefit of returning an expanded localname.
14587 (tramp-tramp-file-p): Handle the case NAME is not a string.
14589 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14591 Add support for bzr shelve/unshelve.
14592 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14593 (vc-bzr-extra-menu-map): New variables.
14594 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14595 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14596 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14597 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14598 (vc-bzr-dir-extra-headers): Display shelves.
14600 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14602 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14604 * textmodes/bibtex.el (bibtex-complete-internal):
14605 Use completion-in-region.
14606 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14608 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14610 Support applying stashes. Improve UI.
14611 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14612 (vc-git-stash-apply, vc-git-stash-pop)
14613 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14614 (vc-git-stash-menu): New functions.
14615 (vc-git-stash-menu-map): New variable.
14616 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14618 2009-12-03 Glenn Morris <rgm@gnu.org>
14620 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14621 (vc-print-log-internal): Fix previous change.
14622 (vc-revert): Correct pluralization.
14624 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14626 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14627 it to be an alist any more.
14628 (makefile-complete): Use completion-in-region.
14630 * progmodes/octave-mod.el (octave-complete-symbol):
14631 Use completion-in-region.
14634 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14635 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14636 (idlwave-complete-class): Don't quote lambda.
14637 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14638 (idlwave-mode-map): Move initialization into declaration.
14639 (idlwave-action-and-binding): Use backquotes.
14640 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14642 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14643 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14644 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14645 `parts', and `all-parts'.
14646 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14647 (idlwave-convert-xml-system-routine-info): Remove unused string
14649 (idlwave-display-user-catalog-widget): Use dolist.
14650 (idlwave-scanning-lib): Declare dynamically-scoped var.
14651 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14652 (completion-highlight-first-word-only): Declare to silence bytecomp.
14653 (idlwave-popup-select): Tighten scope of `resp'.
14654 (idlwave-find-struct-tag): Remove unused var `beg'.
14655 (idlwave-after-load-rinfo-hook): Declare.
14656 (idlwave-sintern-class-info): Remove unused var `taglist'.
14657 (idlwave-find-class-definition): Remove unused var `list'.
14658 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14659 (idlwave-what-module-find-class): Remove unused var `classes'.
14661 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14663 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14665 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14667 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14668 buffers visited. Remove redundant current-buffer-saving.
14670 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14672 Use completion-in-buffer and remove uses of dynamic scoping.
14673 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14674 (pascal-buffer-to-use, pascal-flag): Don't declare.
14675 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14676 (pascal-get-completion-decl, pascal-keyword-completion):
14677 Add `pascal-str' argument, save-excursion,
14678 return the found completions, and don't filter with pascal-pred.
14679 (pascal-completion-cache): New var.
14680 (pascal-completion): Don't switch buffer any more (it was never
14681 necessary). Don't save-excursion any more (it's done by the called
14682 subroutines). Use a cache to avoid redundant computations.
14683 Use complete-with-action rather than pascal-completion-response and
14684 let it apply the predicate as well.
14685 (pascal-complete-word): Use completion-in-buffer when
14686 pascal-toggle-completions is nil.
14687 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14689 (pascal-comp-defun): Don't change buffer any more.
14690 Use complete-with-action rather than pascal-completion-response and
14691 let it apply the predicate as well.
14692 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14695 2009-12-02 Kenichi Handa <handa@m17n.org>
14697 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14698 shape for all Indic scripts.
14700 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14702 Use completion-in-buffer.
14703 * wid-edit.el (widget-field-text-end): New function.
14704 (widget-field-value-get): Use it.
14705 (widget-string-complete, widget-file-complete)
14706 (widget-color-complete): Use it and completion-in-region.
14707 (widget-complete): Don't narrow the buffer.
14709 2009-12-02 Glenn Morris <rgm@gnu.org>
14711 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14712 (rmail-select-summary): Use rmail-pop-to-buffer.
14713 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14714 rmail-pop-to-buffer, to prevent horizontal splits.
14716 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14717 save-excursion with save-current-buffer.
14718 Widen before searching. (Bug#5093)
14719 (diary-list-sexp-entries): Remove superfluous save-excursion.
14721 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14723 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14726 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14728 * ido.el (ido-file-internal): Handle filenames at point that do
14729 not have a directory part. (Bug#5049)
14731 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14733 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14734 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14736 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14738 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14739 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14742 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14744 * comint.el (comint-insert-input): Ignore clicks to the right of
14745 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14747 * vc.el (vc-print-log-internal): Don't wait for the process to
14748 terminate before setting up the major mode.
14750 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14753 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14756 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14758 2009-12-01 Glenn Morris <rgm@gnu.org>
14760 * window.el (window--display-buffer-2): Fix previous changes.
14762 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14764 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14766 2009-12-01 Glenn Morris <rgm@gnu.org>
14768 * Makefile.in (ELCFILES): Add mpc.elc.
14770 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14772 * mpc.el: New file.
14774 2009-12-01 Glenn Morris <rgm@gnu.org>
14776 * window.el (window-to-use): Define for compiler.
14778 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14779 consistent with others (no final period).
14781 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14782 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14784 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14786 Make vc-print-log buttons work.
14787 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14789 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14791 * savehist.el (savehist-autosave-interval): Allow setting to nil
14792 through customize. (Bug#5056)
14794 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14796 Fix references to jit-lock properties.
14797 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14798 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14799 (perl-font-lock-special-syntactic-constructs):
14800 Quote jit-lock-defer-multiline property.
14802 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14804 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14806 2009-11-30 Juri Linkov <juri@jurta.org>
14808 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14809 value `buffer' of `multi-isearch-next-buffer-current-function'.
14810 Use `(current-buffer)' when `buffer' is nil.
14811 (multi-isearch-next-buffer-from-list): Don't fallback to
14812 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14814 2009-11-30 Juri Linkov <juri@jurta.org>
14816 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14817 of buffers with `get-buffer' to `multi-isearch-buffers'.
14818 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14819 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14820 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14821 FILES with `expand-file-name' converting relative file names
14822 to absolute. Doc fix. (Bug#4727)
14824 2009-11-30 Juri Linkov <juri@jurta.org>
14826 * misearch.el (multi-isearch-read-buffers)
14827 (multi-isearch-read-matching-buffers): New functions.
14828 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14829 Use them in the `interactive' spec. Doc fix.
14830 (multi-isearch-read-files, multi-isearch-read-matching-files):
14832 (multi-isearch-files, multi-isearch-files-regexp):
14833 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14835 2009-11-30 Juri Linkov <juri@jurta.org>
14837 * doc-view.el (doc-view-continuous):
14838 Rename from `doc-view-continuous-mode'.
14839 (doc-view-menu): Move "Toggle display" to the top.
14840 Add submenu "Continuous" with radio buttons "Off"/"On"
14841 and "Save as Default".
14842 (doc-view-scroll-up-or-next-page)
14843 (doc-view-scroll-down-or-previous-page)
14844 (doc-view-next-line-or-next-page)
14845 (doc-view-previous-line-or-previous-page):
14846 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14848 2009-11-30 Juri Linkov <juri@jurta.org>
14850 * comint.el (comint-mode-map): Rebind `M-r' from
14851 `comint-previous-matching-input' to
14852 `comint-history-isearch-backward-regexp'.
14853 Unbind `M-s' to allow global key binding `M-s'.
14854 Add menu items for `comint-history-isearch-backward' and
14855 `comint-history-isearch-backward-regexp'. (Bug#3746)
14857 2009-11-30 Juri Linkov <juri@jurta.org>
14859 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14860 For def=recenter, replace `recenter' with `recenter-top-bottom'
14861 that is called with `this-command' and `last-command' let-bound
14862 to `recenter-top-bottom'. When the last `def' was not `recenter',
14863 set `recenter-last-op' to nil. (Bug#4981)
14865 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14867 Minor cleanup and simplification.
14868 * filecache.el (file-cache-add-directory)
14869 (file-cache-add-directory-recursively)
14870 (file-cache-add-from-file-cache-buffer)
14871 (file-cache-delete-file-regexp, file-cache-delete-directory)
14872 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14873 (file-cache-temp-minibuffer-message): Delete function.
14874 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14876 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14877 Don't signal an error when bumping into EOB in tr, s, or y.
14879 2009-11-29 Juri Linkov <juri@jurta.org>
14881 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14884 * descr-text.el (describe-char-unidata-list): Use lowercase name
14885 for "Unicode name" like in other tags.
14887 2009-11-29 Juri Linkov <juri@jurta.org>
14889 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14890 New compatibility macro.
14891 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14893 2009-11-29 Juri Linkov <juri@jurta.org>
14895 Add defcustom to define the cycling order of `recenter-top-bottom'.
14898 * window.el (recenter-last-op): Doc fix.
14899 (recenter-positions): New defcustom.
14900 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14901 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14903 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14905 Improve integration of Tramp and ange-ftp in eshell.
14907 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14908 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14909 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14911 * eshell/esh-util.el (top): Require also Tramp when compiling.
14912 (eshell-directory-files-and-attributes): Check for FTP remote
14914 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14915 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14916 (eshell-file-attributes): Handle ".". Return `entry'.
14918 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14919 (ange-ftp-directory-files-and-attributes)
14920 (ange-ftp-real-directory-files-and-attributes): New defuns.
14922 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14923 shell with "exec" when possible. This prevents trailing prompts
14924 in `start-file-process'.
14926 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14928 Try and remove assumptions about point-min==1.
14929 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14930 (rng-compute-mode-line-string): Show the validation percentage in
14931 terms of the narrowed text, not the widened text.
14932 (rng-do-some-validation): Don't catch internal errors when debugging.
14933 (rng-first-error): Simplify.
14934 (rng-after-change-function): Remove work around. AFAIK the bug has
14935 been fixed a while ago.
14937 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14938 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14940 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14942 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14943 `cd' doesn't always do it for us (bug#5067).
14945 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14946 on 2009-10-25 as part of some other change (bug#5067).
14948 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14950 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14952 (byte-compile-warnings): Use byte-compile-warning-types.
14953 (byte-compile-save-excursion): Warn about use of set-buffer right
14954 after save-excursion.
14956 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14957 the excursion as well.
14959 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14961 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14962 providing a Tramp related implementation of "su" and "sudo".
14963 (eshell-unix-initialize): Add "su" and "sudo".
14965 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14967 * net/socks.el (socks-send-command): Convert binary request to
14968 unibyte before sending. This fixes mishandling of some port
14969 numbers such as 129.
14971 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14973 * help.el (describe-bindings-internal): Remove `interactive'.
14975 * man.el (Man-completion-table): Trim a terminating "(".
14976 Remove the space between name page a section.
14977 Add the command's description on the `help-echo' property.
14978 Remove `process-connection-type' binding since it's unused by
14980 Provide completion for the "<section> <name>" format as well.
14981 (Man-default-man-entry): Remove spurious var shadowing the argument.
14983 2009-11-26 Kevin Ryde <user42@zip.com.au>
14985 * log-view.el: Add "Keywords: tools", since its other keywords
14986 aren't in finder-known-keywords, and following vc.el.
14988 * sha1.el (sha1-string-external): default-directory "/" in case
14989 otherwise non-existent. process-connection-type pipe for touch of
14990 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14992 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14994 Misc coding convention cleanups.
14995 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14996 hfy-init-kludge-hooks.
14997 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14998 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14999 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15001 (hfy-slant, hfy-weight): Use tables rather than code.
15002 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15003 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15004 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15005 (hfy-face-to-css): Remove `nconc' with single arg.
15006 (hfy-p-to-face-lennart): Use `or'.
15007 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15008 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15009 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15010 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15011 (hfy-force-fontification): Use run-hooks.
15013 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15015 Various minor fixes.
15016 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15017 Javascript belongs in the header, not the body.
15018 (hfy-javascript): Remove.
15019 (hfy-fontify-buffer): Don't insert it any more.
15020 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15021 Fix bug in invis handling when there were no invis props in a chunk.
15023 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15025 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15027 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15029 * finder.el (finder-mode-map): Add a menu.
15031 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15033 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15034 "unsigned" structs.
15036 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15037 fork" statement better.
15039 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15041 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15042 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15043 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15044 Reported by Clay Douglass.
15046 (verilog-auto-inst, verilog-auto-star-safe)
15047 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15048 Fix removing "// Interfaces" when saving .* expansions.
15049 Reported by Pierre-David Pfister.
15051 2009-11-26 Glenn Morris <rgm@gnu.org>
15053 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15056 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15058 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15059 Really use previous revision.
15061 2009-11-25 Kevin Ryde <user42@zip.com.au>
15063 * man.el (Man-completion-table): default-directory "/" in case
15064 doesn't otherwise exist. process-environment COLUMNS=999 so as
15065 not to truncate long names. process-connection-type pipe to avoid
15066 any chance of hitting the pseudo-tty TIOCGWINSZ.
15067 (man): completion-ignore-case t for friendliness and since man
15068 itself is case-insensitive on the command line.
15069 Further to Bug#3717.
15071 * arc-mode.el: Add "Keywords: files", so the details in its
15072 commentary can be reached from finder-by-keyword.
15073 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15074 editing mode, but it's comms related and sgml-mode.el has "comm"
15076 * textmodes/bibtex-style.el: Add "Keywords: tex".
15077 * international/isearch-x.el, international/ja-dic-cnv.el:
15078 * international/ja-dic-utl.el, international/kkc.el:
15079 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15081 2009-11-25 Juri Linkov <juri@jurta.org>
15083 * man.el (Man-completion-table): Modify regexp to include
15084 section names to completion strings. (Bug#3717)
15086 2009-11-25 Juri Linkov <juri@jurta.org>
15088 Search recursively in gzipped files. (Bug#4982)
15090 * progmodes/grep.el (grep-highlight-matches): Add new options
15091 `always' and `auto'. Doc fix.
15092 (grep-process-setup): Check `grep-highlight-matches' for
15093 `auto-detect' to determine the need to compute grep defaults.
15094 Move Windows/DOS specific --colors settings handling
15095 to `grep-compute-defaults'. Check `grep-highlight-matches'
15096 to get the value of "--color=".
15097 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15098 has the value `auto-detect'. Move Windows/DOS specific settings
15099 from `grep-process-setup'.
15100 (zrgrep): New command with alias `rzgrep'.
15102 2009-11-25 Juri Linkov <juri@jurta.org>
15104 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15105 to nil instead of switching off view-mode. (Bug#4896)
15107 2009-11-25 Juri Linkov <juri@jurta.org>
15109 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15111 * mwheel.el (mwheel-scroll-up-function)
15112 (mwheel-scroll-down-function): New defvars.
15113 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15114 `scroll-up', and `mwheel-scroll-down-function' instead of
15117 * doc-view.el (doc-view-scroll-up-or-next-page)
15118 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15119 Use this ARG in the call to image-scroll-up/image-scroll-down.
15120 Change `interactive' spec to "P". Goto next/previous page only
15121 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15122 SPC/DEL case). Doc fix.
15123 (doc-view-next-line-or-next-page)
15124 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15126 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15127 `doc-view-scroll-up-or-next-page', and buffer-local
15128 `mwheel-scroll-down-function' to
15129 `doc-view-scroll-down-or-previous-page'.
15131 2009-11-25 Juri Linkov <juri@jurta.org>
15133 Provide additional default values (directories at other Dired
15134 windows) via M-n in the minibuffer of some Dired commands.
15136 * dired-aux.el (dired-diff, dired-compare-directories)
15137 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15138 `minibuffer-default' in `minibuffer-with-setup-hook'.
15139 (dired-dwim-target-directory): Find a window that displays Dired
15140 buffer instead of failing when the next window is not Dired.
15141 Use `get-window-with-predicate' to find for the next Dired window.
15142 (dired-dwim-target-defaults): New function.
15144 * ediff-util.el (ediff-read-file-name):
15145 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15146 in `minibuffer-with-setup-hook'.
15148 2009-11-25 Juri Linkov <juri@jurta.org>
15150 Provide additional default values (file name at point or at the
15151 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15153 * minibuffer.el (read-file-name-defaults): New function.
15154 (read-file-name): Reset `minibuffer-default' to nil when
15155 it duplicates initial input `insdef'.
15156 Bind `minibuffer-default-add-function' to lambda that
15157 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15158 (minibuffer-insert-file-name-at-point): New command.
15160 * files.el (file-name-at-point-functions): New defcustom.
15161 (find-file-default): Remove defvar.
15162 (find-file-read-args): Don't use `find-file-default'.
15163 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15164 to `read-file-name'.
15165 (find-file-literally): Use `read-file-name' with
15166 `confirm-nonexistent-file-or-buffer'.
15168 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15170 * dired.el (dired-read-dir-and-switches):
15171 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15172 to `read-file-name'.
15173 (dired-file-name-at-point): New function.
15174 (dired-mode): Add hook `dired-file-name-at-point' to
15175 `file-name-at-point-functions'.
15177 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15179 Really make the *Completions* window soft-dedicated (bug#5030).
15180 * window.el (window--display-buffer-2): Add `dedicated' argument.
15181 (display-buffer): Pass it when needed so the dedicated flag is set
15182 after calling set-window-buffer, which would otherwise reset it.
15184 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15186 * progmodes/meta-mode.el (meta-complete-symbol):
15187 * progmodes/etags.el (complete-tag):
15188 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15189 Use completion-in-region.
15191 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15192 (dabbrev-completion): Use completion-in-region.
15193 (dabbrev--abbrev-at-point): Simplify regexp.
15195 * abbrev.el (abbrev--before-point): Use word-motion functions
15196 if :regexp is not specified (bug#5031).
15198 * subr.el (string-prefix-p): New function.
15200 * man.el (Man-completion-cache): New var.
15201 (Man-completion-table): Use it.
15203 * vc.el (vc-print-log-internal): Make `limit' optional for better
15204 compatibility (e.g. with vc-annotate.el).
15206 2009-11-24 Kevin Ryde <user42@zip.com.au>
15208 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15209 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15211 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15212 when .el source file not found or other error.
15214 2009-11-24 Markus Triska <markus.triska@gmx.at>
15216 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15218 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15220 Handle the [back] button properly (bug#4979).
15221 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15222 Use help-setup-xref, help-buffer, and with-help-window.
15223 (describe-char): Add `buffer' argument.
15224 Pass proper command to help-setup-xref. Don't meddle with
15225 help-xref-stack-item directly.
15226 (describe-text-category): Use with-help-window and help-buffer.
15228 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15229 for the displayed buffer (bug#4887).
15231 * man.el (Man-completion-table): New function.
15234 2009-11-24 David Reitter <david.reitter@gmail.com>
15236 * vc-git.el (vc-git-registered): Use checkout directory (where
15237 .git is) rather than the file's directory and a relative path spec
15238 to work around a bug in git.
15240 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15242 Improve handling of processes on remote hosts.
15244 * eshell/esh-util.el (eshell-path-env): New defvar.
15245 (eshell-parse-colon-path): New defun.
15246 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15248 * eshell/esh-ext.el (eshell-search-path):
15249 Use `eshell-parse-colon-path'.
15250 (eshell-remote-command): Remove argument HANDLER.
15251 (eshell-external-command): Check for FTP remote connection.
15253 * eshell/esh-proc.el (eshell-gather-process-output):
15254 Use `file-truename', in order to start also symlinked files.
15255 Apply `start-file-process' instead of `start-process'.
15256 Shorten `command' to the local file name part.
15258 * eshell/em-cmpl.el (eshell-complete-commands-list):
15259 Use `eshell-parse-colon-path'.
15261 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15263 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15264 to `eshell-directory-change-hook'.
15266 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15268 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15269 because it could be enabled automatically if view-read-only is non-nil.
15271 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15273 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15274 made on 2009-11-22.
15276 2009-11-24 Glenn Morris <rgm@gnu.org>
15278 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15279 deleted variable bookmark-bmenu-bookmark-column.
15281 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15283 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15285 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15287 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15288 two slashes to the "file:" prefix.
15289 (browse-url-file-url): De-munge Cygwin filenames before passing
15290 them to Windows browser.
15291 (browse-url-default-windows-browser): Use call-process.
15293 2009-11-23 Juri Linkov <juri@jurta.org>
15295 Implement DocView Continuous mode. (Bug#4896)
15296 * doc-view.el (doc-view-continuous-mode): New defcustom.
15297 (doc-view-mode-map): Bind C-n/<down> to
15298 `doc-view-next-line-or-next-page', C-p/<up> to
15299 `doc-view-previous-line-or-previous-page'.
15300 (doc-view-next-line-or-next-page)
15301 (doc-view-previous-line-or-previous-page): New commands.
15303 2009-11-23 Juri Linkov <juri@jurta.org>
15305 Implement Isearch in comint input history. (Bug#3746)
15306 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15307 `isearch-mode-hook'.
15308 (comint-history-isearch): New defcustom.
15309 (comint-history-isearch-backward)
15310 (comint-history-isearch-backward-regexp): New commands.
15311 (comint-history-isearch-message-overlay): New buffer-local variable.
15312 (comint-history-isearch-setup, comint-history-isearch-end)
15313 (comint-goto-input, comint-history-isearch-search)
15314 (comint-history-isearch-message, comint-history-isearch-wrap)
15315 (comint-history-isearch-push-state)
15316 (comint-history-isearch-pop-state): New functions.
15318 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15320 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15322 (tramp-handle-make-symbolic-link)
15323 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15325 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15326 (tramp-handle-process-file): Use it.
15328 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15330 * window.el (move-to-window-line-last-op): Remove.
15331 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15333 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15335 Make M-r mirror the new cycling behavior of C-l.
15336 * window.el (move-to-window-line-last-op): New var.
15337 (move-to-window-line-top-bottom): New command.
15338 (global-map): Bind M-r move-to-window-line-top-bottom.
15340 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15342 * dired-x.el (dired-guess-shell-alist-default):
15343 Support xz format. (Bug#4953)
15345 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15347 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15348 last-command-char/last-command-event.
15349 (viper-prefix-arg-value): Do correct conversion of event-char for
15352 * emulation/viper-util.el, emulation/viper.el:
15353 Use viper-last-command-char instead of
15354 last-command-char/last-command-event.
15356 * ediff-init.el, ediff-mult.el, ediff-util.el:
15357 Replace last-command-char and last-command-event
15358 with (ediff-last-command-char) everywhere.
15360 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15361 created in fundamental mode.
15363 * ediff.el (ediff-version): Revert the change of interactive-p to
15364 called-interactively-p.
15366 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15368 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15369 generation from word-movement command names.
15371 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15373 * cus-start.el (all): Add native condition for font-use-system-font.
15375 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15377 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15378 Correct the patch from 2009-11-18. (Bug#3910)
15380 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15382 * progmodes/subword.el: Rename from lisp/subword.el.
15384 * subword.el: Rename to progmodes/subword.el.
15386 * Makefile.in (ELCFILES): Adapt to subword.el move.
15388 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15389 Stefan Monnier <monnier@iro.umontreal.ca>
15391 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15392 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15393 (bookmark-bmenu-show-filenames): Use push.
15394 (bookmark-bmenu-hide-filenames): Use local var instead of
15395 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15396 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15397 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15398 filenames now that the bookmark names are always available.
15400 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15402 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15403 (bookmark-search-pattern): Move and leave unbound.
15404 (bookmark-bmenu-mode-map): Change binding.
15405 (bookmark-read-search-input): Simplify.
15406 Don't use text-char-description. Don't error on non-char events.
15407 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15408 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15409 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15410 Use a local var for the timer.
15411 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15412 (i.e. bookmark-bmenu-search).
15414 2009-11-21 Glenn Morris <rgm@gnu.org>
15416 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15418 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15420 * net/browse-url.el (browse-url-default-windows-browser):
15421 Use cygstart for cygwin.
15423 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15425 * bookmark.el: Formatting and doc fixes only:
15426 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15427 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15428 Minor grammar and punctuation fixes in doc string.
15429 (bookmark-read-search-input): Adjust to fit within 80 columns.
15431 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15433 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15434 (c-backward-into-nomenclature): Adapt to subword renaming.
15436 * subword.el (subword-forward, subword-backward, subword-mark)
15437 (subword-kill, subword-backward-kill, subword-transpose)
15438 (subword-downcase, subword-upcase, subword-capitalize)
15439 (subword-forward-internal, subword-backward-internal):
15440 Rename from forward-subword, backward-subword, mark-subword,
15441 kill-subword, backward-kill-subword, transpose-subwords,
15442 downcase-subword, upcase-subword, capitalize-subword,
15443 forward-subword-internal, backward-subword-internal.
15445 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15447 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15449 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15451 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15452 (bookmark-bmenu-filter-alist-by-regexp)
15453 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15454 (bookmark-bmenu-search): New command.
15455 (bookmark-bmenu-mode-map): Bind it.
15457 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15459 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15460 backward-subword to quit the byte-compiler.
15462 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15464 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15466 * progmodes/cc-cmds.el (c-update-modeline)
15467 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15468 Refer to subword.el functions instead of cc-subword.el.
15470 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15471 subword.el functions instead of cc-subword.el.
15473 * progmodes/cc-subword.el: Rename to subword.el.
15474 * subword.el: Rename from progmodes/cc-subword.el.
15475 (subword-mode-map): Rename from c-subword-mode-map.
15476 (subword-mode): Rename from c-subword-mode.
15477 (global-subword-mode): New global minor mode.
15478 (forward-subword): Rename from c-forward-subword.
15479 (backward-subword): Rename from c-backward-subword.
15480 (mark-subword): Rename from c-mark-subword.
15481 (kill-subword): Rename from c-kill-subword.
15482 (backward-kill-subword): Rename from c-backward-kill-subword.
15483 (transpose-subwords): Rename from c-tranpose-subword.
15484 (downcase-subword): Rename from c-downcase-subword.
15485 (capitalize-subword): Rename from c-capitalize-subword.
15486 (forward-subword-internal): Rename from c-forward-subword-internal.
15487 (backward-subword-internal): Rename from c-backward-subword-internal.
15489 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15491 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15492 from a dired buffer.
15493 (vc-dired-deduce-fileset): New function.
15494 (vc-root-diff, vc-print-root-log): Use it.
15496 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15497 nil LIMIT argument to vc-print-log-internal.
15499 2009-11-20 Glenn Morris <rgm@gnu.org>
15501 * Makefile.in (ELCFILES): Regenerate.
15503 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15505 * calc/calc.el (calc-set-mode-line):
15506 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15507 (math-format-number): Rename `math-format-complement-signed' to
15508 `math-format-twos-complement'.
15510 * calc/calc-bin.el (math-format-twos-complement): Rename from
15511 math-format-complement-signed.
15512 (calc-radix): Rename `calc-complement-signed-mode' to
15513 `calc-twos-complement-mode'.
15514 (calc-octal-radix, calc-hex-radix): Add an argument for
15517 * calc/calc-embed.el (calc-embedded-mode-vars):
15518 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15520 * calc/calc-ext.el (calc-init-extensions):
15521 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15522 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15524 * calc/calc-units.el (math-build-units-table-buffer):
15525 Let `calc-twos-complement-mode' be nil.
15527 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15530 * calc/calc-vec.el (calcFunc-vunpack):
15531 * calc/calc-aent.el (calc-do-calc-eval):
15532 * calc/calc-forms.el (math-format-date):
15533 * calc/calc-graph.el (calc-graph-plot):
15534 * calc/calc-math.el (math-use-emacs-fn):
15535 * calc/calccomp.el (math-compose-expr):
15536 Let `calc-twos-complement-mode' be nil.
15538 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15540 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15541 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15542 * minibuffer.el (completion-in-region-functions): New hook.
15543 (completion-in-region): New function.
15544 * emacs-lisp/lisp.el (lisp-complete-symbol):
15545 * pcomplete.el (pcomplete-std-complete): Use it.
15547 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15549 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15550 (latex-complete-alist): New vars.
15551 (latex-string-prefix-p, latex-complete-bibtex-keys)
15552 (latex-complete-envnames, latex-complete-refkeys)
15553 (latex-complete-data): New functions.
15554 (latex-complete, latex-indent-or-complete): New commands.
15556 * window.el (display-buffer-mark-dedicated): New var.
15557 (display-buffer): Obey it.
15558 * minibuffer.el (minibuffer-completion-help): Use it.
15560 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15562 * filecache.el (file-cache-add-file): Use push and cons.
15563 (file-cache-delete-file-regexp): Use push.
15564 (file-cache-complete): Use completion-in-region.
15566 * simple.el (with-wrapper-hook): Fix thinko.
15568 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15569 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15570 Use with-current-buffer and string-to-number.
15571 (hfy-fallback-colour-values): Use assoc-string.
15572 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15573 (hfy-face-at): Remove unused var `found-face'.
15574 (hfy-compile-stylesheet): Remove unused var `css'.
15575 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15577 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15578 Use with-current-buffer.
15579 (hfy-text-p): Use expand-file-name and fewer setq.
15581 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15583 * htmlfontify.el, hfy-cmap.el: New files.
15585 2009-11-19 Juri Linkov <juri@jurta.org>
15587 * minibuffer.el (completions-format): New defcustom.
15588 (completion--insert-strings): Implement vertical format.
15590 * simple.el (switch-to-completions): Move point to the first
15591 completion when point was at the beginning of the buffer.
15593 2009-11-19 Juri Linkov <juri@jurta.org>
15595 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15597 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15599 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15601 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15602 (mail-signature): Change default to t.
15603 (mail-from-style): Deprecate `system-default' value.
15604 (mail-insert-from-field): For default value of mail-from-style,
15605 default to `angles' unless `angles' needs quoting and `parens'
15607 (mail-citation-prefix-regexp): Use citation regexp from
15610 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15612 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15613 Set variables for computing the prompt for reading password.
15615 2009-11-19 Glenn Morris <rgm@gnu.org>
15617 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15619 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15621 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15622 (newsticker-treeview-listwindow-height): Fix custom type.
15624 2009-11-19 Kenichi Handa <handa@m17n.org>
15626 * descr-text.el (describe-char-padded-string): Compose with TAB
15627 only if there's a font for CH.
15628 (describe-char): Fix the condition for detecting a trivial composition.
15630 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15632 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15633 more accurate version of the regexp. (Bug#3910)
15635 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15637 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15639 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15641 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15642 (font-setting-change-default-font): Fix typo in docstring.
15644 2009-11-18 Alan Mackenzie <acm@muc.de>
15646 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15648 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15650 * font-setting.el (font-use-system-font): Move ...
15652 * cus-start.el (all): ... to here.
15654 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15656 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15657 Don't set `ad-return-value' if `ad-do-it' doesn't.
15659 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15662 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15664 * menu-bar.el: Put "Use system font" in Option-menu.
15665 (menu-bar-options-save): Add font-use-system-font.
15667 * loadup.el: If feature system-font-setting or font-render-setting is
15668 there, load font-setting.
15670 * Makefile.in (ELCFILES): Add font-settings.el.
15671 * font-setting.el: New file.
15673 2009-11-17 Glenn Morris <rgm@gnu.org>
15675 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15677 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15678 Preserve point in the list buffer. (Bug#4939)
15680 (newsticker--treeview-list-update-highlight)
15681 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15683 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15685 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15688 * calc/calc-ext.el (calc-init-extensions): Remove references to
15691 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15693 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15694 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15697 2009-11-16 Kevin Ryde <user42@zip.com.au>
15699 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15700 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15702 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15703 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15704 Ignore trailing spaces by omit-nulls to split-string (fixing
15705 regression from Emacs 21 due to the incompatible split-string
15706 change). (Bug #4928.)
15708 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15710 * vc.el (vc-log-show-limit): Default to 2000.
15711 (vc-print-log-internal): Insert buttons to request more entries
15712 when limiting the output.
15714 * vc-sccs.el (vc-sccs-print-log):
15715 * vc-rcs.el (vc-rcs-print-log):
15716 * vc-cvs.el (vc-cvs-print-log):
15717 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15720 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15722 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15723 error when `tramp-gvfs-dbus-event-vector' is set.
15724 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15726 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15728 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15730 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15732 * net/dbus.el (dbus-unregister-service): New defun.
15733 (dbus-register-property): Register the handlers of
15734 "org.freedesktop.DBus.Properties" for SERVICE.
15735 (dbus-property-handler): Fix docstring.
15737 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15739 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15740 Quote doc string reference in defvaralias as it is not in special form.
15741 (byte-compile-output-docform): Doc fix.
15743 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15745 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15746 (calc-complement-signed-mode): New variables.
15747 (calc-set-mode-line): Add indicator for twos-complements.
15748 (math-format-number): Format twos-complement notation.
15750 * calc/calc-bin.el (calc-word-size): Reset the variables
15751 `math-2-word-size' and `math-half-2-word-size'.
15752 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15753 (calc-symclip): New functions.
15755 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15757 * calc/calc-embed.el (calc-embedded-mode-vars):
15758 Add `calc-complement-signed-mode' to the list of modes.
15760 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15761 (calc-b-oper-keys): Add `calc-symclip' to list.
15763 * calc/calc-ext.el (math-read-number-fancy): Read complement
15765 (calc-init-extensions): Add binding for `calc-symclip'.
15766 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15768 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15770 (calc-modes-menu): Add item for twos complement mode.
15772 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15774 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15776 * register.el (jump-to-register, insert-register): Handle Semantic
15777 tags. From commented-out advice in semantic/senator.el.
15779 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15781 * vc.el (vc-log-show-limit): New variable.
15782 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15783 when using a prefix argument.
15784 (vc-print-log-internal): Add new argument LIMIT.
15786 * vc-svn.el (vc-svn-print-log):
15787 * vc-mtn.el (vc-mtn-print-log):
15788 * vc-hg.el (vc-hg-print-log):
15789 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15790 pass it to the log command when set. Make the BUFFER argument
15793 * vc-sccs.el (vc-sccs-print-log):
15794 * vc-rcs.el (vc-rcs-print-log):
15795 * vc-git.el (vc-git-print-log):
15796 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15797 ignore it. Make the BUFFER argument non-optional
15799 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15801 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15803 * dired.el (dired-mode-map): Move encryption items to "Operate"
15806 * strokes.el (strokes-update-window-configuration): Make strokes
15807 buffer current before erasing (Bug#4906).
15809 2009-11-15 Juri Linkov <juri@jurta.org>
15811 * simple.el (set-mark-default-inactive): Add :type, :group
15812 and :version. (Bug#4876)
15814 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15816 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15817 (archive-unique-fname): ... here. (Bug#4929)
15819 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15821 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15824 * novice.el (disabled-command-function): Add useful args.
15825 Setup the help buffer so that [back] works.
15826 Remove redundant call to help-mode.
15827 (disabled-command-function): Use `case'.
15828 (en/disable-command): New function extracted from enable-command.
15829 (enable-command, disable-command): Use it.
15831 2009-11-14 Glenn Morris <rgm@gnu.org>
15833 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15834 constants. (Bug#4913)
15836 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15838 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15840 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15841 defined in C that have no doc-strings. (Bug#1063)
15843 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15845 * cus-edit.el (data, files):
15846 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15848 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15850 * simple.el (shell-command): Doc fix (Bug#4891).
15852 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15854 2009-11-14 Glenn Morris <rgm@gnu.org>
15856 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15857 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15858 If they are already loaded, eval-after-load will do the right thing.
15860 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15863 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15865 * simple.el (x-selection-owner-p): Declare.
15866 (read-mail-command): Use custom radio type rather than choice.
15867 (completion-no-auto-exit): Doc fix.
15869 * custom.el (defgroup):
15870 * epg-config.el (epg): Doc fixes.
15872 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15874 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15875 * international/ccl.el (define-ccl-program): Do not purecopy the
15876 docstring, defconst does it anyway.
15878 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15880 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15883 * x-dnd.el (x-dnd-maybe-call-test-function):
15884 * window.el (split-window-vertically):
15885 * whitespace.el (whitespace-help-on):
15886 * vc-rcs.el (vc-rcs-consult-headers):
15887 * userlock.el (ask-user-about-lock-help)
15888 (ask-user-about-supersession-help):
15889 * type-break.el (type-break-force-mode-line-update):
15890 * time-stamp.el (time-stamp-conv-warn):
15891 * terminal.el (te-set-output-log, te-more-break, te-filter)
15892 (te-sentinel, terminal-emulator):
15893 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15894 (term-write-input-ring, term-check-source, term-start-output-log):
15895 (term-display-buffer-line, term-dynamic-list-completions):
15896 (term-ansi-make-term, serial-term):
15897 * subr.el (selective-display):
15898 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15899 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15900 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15901 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15902 (speedbar-remove-localized-speedbar-support)
15903 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15904 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15905 (speedbar-buffers-line-directory):
15906 * simple.el (shell-command-on-region, append-to-buffer)
15907 (prepend-to-buffer):
15908 * shadowfile.el (shadow-save-todo-file):
15909 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15910 (scroll-bar-maybe-set-window-start):
15911 * sb-image.el (speedbar-image-dump):
15912 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15913 (load-save-place-alist-from-file):
15914 * ps-samp.el (ps-print-message-from-summary):
15915 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15916 (ps-background-image, ps-begin-job, ps-do-despool):
15917 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15918 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15919 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15920 (pr-call-process, pr-file-list, pr-interface-save):
15921 * novice.el (disabled-command-function)
15922 (enable-command, disable-command):
15923 * mouse.el (mouse-buffer-menu-alist):
15924 * mouse-copy.el (mouse-kill-preserving-secondary):
15925 * macros.el (kbd-macro-query):
15926 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15927 * informat.el (batch-info-validate):
15928 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15929 * hippie-exp.el (try-expand-dabbrev-visible):
15930 * help-mode.el (help-make-xrefs):
15931 * help-fns.el (describe-variable):
15932 * generic-x.el (bat-generic-mode-run-as-comint):
15933 * finder.el (finder-mouse-select):
15934 * find-dired.el (find-dired-sentinel):
15935 * filesets.el (filesets-file-close):
15936 * files.el (list-directory):
15937 * faces.el (list-faces-display, describe-face):
15938 * facemenu.el (list-colors-display):
15939 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15940 * epg.el (epg--process-filter, epg-cancel):
15941 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15942 (epa--read-signature-type):
15943 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15944 (emerge-file-names):
15945 * ehelp.el (electric-helpify):
15946 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15947 * ediff-vers.el (rcs-ediff-view-revision):
15948 * ediff-util.el (ediff-setup):
15949 * ediff-mult.el (ediff-append-custom-diff):
15950 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15952 * echistory.el (Electric-command-history-redo-expression):
15953 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15954 * disp-table.el (describe-display-table):
15955 * dired.el (dired-find-buffer-nocreate):
15956 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15957 * dabbrev.el (dabbrev--same-major-mode-p):
15958 * chistory.el (list-command-history):
15959 * apropos.el (apropos-documentation):
15960 * allout.el (allout-obtain-passphrase):
15961 (allout-copy-exposed-to-buffer):
15962 (allout-verify-passphrase): Use with-current-buffer.
15964 2009-11-13 Glenn Morris <rgm@gnu.org>
15966 * Makefile.in (ELCFILES): Regenerate.
15968 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15970 * net/dbus.el (dbus-registered-objects-table): Rename from
15971 `dbus-registered-functions-table', because it contains also properties.
15972 (dbus-unregister-object): Unregister also properties.
15973 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15974 Use a timeout of 500 msec, in order to not block.
15975 (dbus-register-property, dbus-property-handler): New defuns.
15977 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15979 * simple.el (minibuffer-default-add-completions): Drop deprecated
15982 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15984 * textmodes/artist.el (artist-mouse-choose-operation):
15985 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15986 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15987 (artist-compute-up-event-key): New function.
15988 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15990 2009-11-13 Kenichi Handa <handa@m17n.org>
15992 * language/japan-util.el: Make sure that the value of jisx0208
15993 property is jisx0208 character.
15995 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15997 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15998 car or each item, not the whole list.
16000 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16002 * minibuffer.el (minibuffer-completion-help):
16003 Use minibuffer-hide-completions.
16005 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16007 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16008 (dired-revert): Use them (bug#4880).
16010 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16012 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16014 2009-11-12 Juri Linkov <juri@jurta.org>
16016 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16018 (find-file-literally-at-point): Alias of `ffap-literally'.
16020 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16022 * textmodes/ispell.el (ispell-skip-region-alist):
16023 * textmodes/css-mode.el (auto-mode-alist):
16024 * progmodes/compile.el (auto-mode-alist):
16025 * international/mule.el (ctext-non-standard-encodings-alist)
16026 (ctext-non-standard-encodings-regexp):
16027 * simple.el (shell-command-switch, text-read-only):
16028 * replace.el (occur-mode-map):
16029 * paths.el (rmail-file-name):
16030 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16031 * find-file.el (ff-special-constructs):
16032 * files.el (file-name-handler-alist):
16033 * composite.el: Purecopy strings.
16035 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16037 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16039 * widget.el (define-widget): Purecopy the docstring.
16040 * international/mule-cmds.el (charset): Do not purecopy the
16041 docstring here, define-widget does it.
16043 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16044 * textmodes/bibtex-style.el (auto-mode-alist):
16045 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16046 * progmodes/compile.el (compile-command):
16047 * language/korea-util.el (default-korean-keyboard):
16048 * international/mule-conf.el (file-coding-system-alist):
16049 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16050 * tooltip.el (tooltip-frame-parameters):
16051 * newcomment.el (comment-end, comment-padding):
16052 * dired.el (dired-trivial-filenames):
16053 * comint.el (comint-file-name-prefix): Purecopy initial values.
16055 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16057 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16058 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16060 (tramp-advice-make-auto-save-file-name)
16061 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16062 after removing the advice.
16064 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16066 * progmodes/grep.el (grep-regexp-alist):
16067 * international/mule-cmds.el (iso-2022-control-alist):
16068 * emacs-lisp/timer.el (timer-duration-words):
16069 * subr.el (version-separator, version-regexp-alist):
16070 * minibuffer.el (completion-styles-alist):
16071 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16072 Change defvars to defconsts.
16074 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16075 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16076 * international/mule-conf.el: Allow to be byte compiled.
16078 * international/mule.el (define-charset): Purecopy props.
16079 (load-with-code-conversion): Purecopy doc string and file name.
16080 (put-charset-property): Purecopy strings.
16081 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16083 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16084 (define-char-code-property): Correctly purecopy the table.
16086 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16088 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16090 * subr.el (add-hook): Purecopy strings.
16091 (eval-after-load): Purecopy load-history-regexp and the form.
16093 * custom.el (custom-declare-group): Purecopy load-file-name.
16095 * subr.el (menu-bar-separator): New defconst.
16096 * net/eudc.el (eudc-tools-menu):
16097 * international/mule-cmds.el (set-coding-system-map)
16098 (mule-menu-keymap):
16099 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16100 * vc-hooks.el (vc-menu-map):
16101 * replace.el (occur-mode-map):
16102 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16103 (menu-bar-edit-menu, menu-bar-goto-menu)
16104 (menu-bar-custom-menu, menu-bar-showhide-menu)
16105 (menu-bar-options-menu, menu-bar-tools-menu)
16106 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16107 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16108 (menu-bar-help-menu):
16109 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16110 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16112 * term/x-win.el (x-gtk-stock-map):
16113 * progmodes/vera-mode.el (auto-mode-alist):
16114 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16115 (inferior-lisp-program, inferior-lisp-load-command):
16116 * progmodes/hideshow.el (hs-special-modes-alist):
16117 * progmodes/gud.el (same-window-regexps):
16118 * progmodes/grep.el (grep-program, find-program, xargs-program):
16119 * net/telnet.el (same-window-regexps):
16120 * net/rlogin.el (same-window-regexps):
16121 * language/ethiopic.el (font-ccl-encoder-alist):
16122 * vc-sccs.el (vc-sccs-master-templates):
16123 * vc-rcs.el (vc-rcs-master-templates):
16124 * subr.el (cl-assertion-failed):
16125 * simple.el (next-error-overlay-arrow-position):
16126 * lpr.el (lpr-command):
16127 * locate.el (locate-ls-subdir-switches):
16128 * info.el (same-window-regexps, info)
16129 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16130 * image-mode.el (image-mode, auto-mode-alist):
16131 * hippie-exp.el (hippie-expand-ignore-buffers):
16132 * format.el (format-alist):
16133 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16135 * facemenu.el (facemenu-keybindings):
16136 * dired.el (dired-listing-switches, dired-chown-program):
16137 * diff.el (diff-switches, diff-command):
16138 * cus-edit.el (same-window-regexps):
16139 * bindings.el (mode-line-mule-info)
16140 (mode-line-buffer-identification): Purecopy strings.
16142 2009-11-11 Juri Linkov <juri@jurta.org>
16144 * simple.el (dired-get-filename) <declare-function>:
16145 Tell the byte-compiler about dired-get-filename.
16146 (shell-command): In Dired mode, get filename from the current line
16147 as the default value.
16149 2009-11-10 Glenn Morris <rgm@gnu.org>
16151 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16152 * calendar/holidays.el, progmodes/cperl-mode.el:
16153 Update x-popup-menu declarations.
16155 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16156 (list-load-path-shadows): Use dolist.
16157 (list-load-path-shadows): Use with-current-buffer.
16159 2009-11-10 Juri Linkov <juri@jurta.org>
16161 * minibuffer.el (read-file-name): Support a list of default values
16162 in `default-filename'. Use the first file name where only one
16163 element is required. Doc fix.
16165 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16167 * net/dbus.el (dbus-unregister-object): Release service, if no
16168 other method is registered for it.
16170 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16172 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16173 bookmark-sort-flag is non-nil (Bug#4653).
16175 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16177 * emulation/cua-base.el: Add CUA property to some CC mode commands
16180 2009-11-08 Kevin Ryde <user42@zip.com.au>
16182 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16183 at end of sentence (Bug#4818).
16185 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16187 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16188 Handle "see declaration of" MSFT statements (Bug#4100).
16190 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16192 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16193 (tramp-advice-file-expand-wildcards): Unload via
16194 `ad-remove-advice'.
16196 * net/trampver.el: Update release number.
16198 2009-11-08 Kevin Ryde <user42@zip.com.au>
16200 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16203 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16205 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16206 in order to keep context in SELinux.
16208 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16210 * dired-aux.el (dired-query): Place cursor in echo area and allow
16213 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16214 menu item if not on a directory (Bug#4701).
16216 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16218 Sync with Tramp 2.1.17.
16220 * net/tramp.el (tramp-handle-copy-directory): Don't use
16221 `file-remote-p' (due to compatibility).
16223 * net/tramp-compat.el (tramp-compat-copy-directory)
16224 (tramp-compat-delete-directory): New defuns.
16226 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16227 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16228 Use `tramp-compat-delete-directory'.
16230 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16231 (tramp-smb-handle-delete-directory):
16232 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16234 * net/trampver.el: Update release number.
16236 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16238 * tar-mode.el (tar-copy): Call write-region on the right buffer
16241 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16242 by hand, if necessary (Bug#4878).
16244 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16246 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16247 align size column (Bug#4839).
16249 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16252 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16254 * progmodes/ld-script.el (auto-mode-alist):
16255 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16257 * cus-face.el (custom-declare-face): Purecopy face spec.
16259 2009-11-06 Kenichi Handa <handa@m17n.org>
16261 * international/uni-bidi.el: Re-generated.
16262 * international/uni-category.el: Re-generated.
16263 * international/uni-combining.el: Re-generated.
16264 * international/uni-mirrored.el: Re-generated.
16266 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16268 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16269 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16270 (tex-start-options, slitex-run-command, latex-run-command)
16271 (tex-run-command, tex-directory):
16272 * textmodes/ispell.el (ispell-html-skip-alists)
16273 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16274 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16275 (adaptive-fill-regexp):
16276 * textmodes/dns-mode.el (auto-mode-alist):
16277 * progmodes/python.el (interpreter-mode-alist):
16278 * progmodes/etags.el (tags-compression-info-list):
16279 * progmodes/etags.el (tags-file-name):
16280 * net/browse-url.el (browse-url-galeon-program)
16281 (browse-url-firefox-program):
16282 * mail/sendmail.el (mail-signature-file)
16283 (mail-citation-prefix-regexp):
16284 * international/mule-conf.el (eight-bit):
16285 * international/latexenc.el (latex-inputenc-coding-alist):
16286 * international/fontset.el (x-pixel-size-width-font-regexp):
16287 * emacs-lisp/warnings.el (warning-type-format):
16288 * emacs-lisp/trace.el (trace-buffer):
16289 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16290 (emacs-lisp-mode-map):
16291 * calendar/holidays.el (holiday-solar-holidays)
16292 (holiday-bahai-holidays, holiday-islamic-holidays)
16293 (holiday-christian-holidays, holiday-hebrew-holidays)
16294 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16295 (hebrew-holidays-1, holiday-oriental-holidays)
16296 (holiday-general-holidays):
16297 * x-dnd.el (x-dnd-known-types):
16298 * tool-bar.el (tool-bar):
16299 * startup.el (site-run-file):
16300 * shell.el (shell-dumb-shell-regexp):
16301 * rfn-eshadow.el (file-name-shadow-tty-properties)
16302 (file-name-shadow-properties):
16303 * paths.el (remote-shell-program, news-directory):
16304 * mouse.el ([C-down-mouse-3]):
16305 * menu-bar.el (menu-bar-tools-menu):
16306 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16307 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16308 (jka-compr-compression-info-list):
16309 * isearch.el (search-whitespace-regexp):
16310 * image-file.el (image-file-name-extensions):
16311 * find-dired.el (find-ls-option):
16312 * files.el (directory-listing-before-filename-regexp)
16313 (directory-free-space-args, insert-directory-program)
16314 (list-directory-brief-switches, magic-fallback-mode-alist)
16315 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16316 (automount-dir-prefix):
16317 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16318 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16319 (face-font-registry-alternatives, face-font-registry-alternatives)
16320 (face-font-family-alternatives):
16321 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16322 (facemenu-foreground-menu, facemenu-face-menu):
16323 * epa-hook.el (epa-file-name-regexp):
16324 * dnd.el (dnd-protocol-alist):
16325 * textmodes/rst.el (auto-mode-alist):
16326 * button.el (default-button): Purecopy strings.
16328 2009-11-06 Glenn Morris <rgm@gnu.org>
16330 * Makefile.in (ELCFILES): Update.
16332 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16334 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16335 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16337 * nxml/xsd-regexp.el (xsdre-gen-categories):
16338 * nxml/xmltok.el (xmltok-parse-entity):
16339 * nxml/rng-parse.el (rng-parse-validate-file):
16340 * nxml/rng-maint.el (rng-format-manual)
16341 (rng-manual-output-force-new-line):
16342 * nxml/rng-loc.el (rng-save-schema-location-1):
16343 * nxml/rng-cmpct.el (rng-c-parse-file):
16344 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16345 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16347 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16349 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16350 Remove extra save-excursions and make-variable-buffer-local's.
16351 Suggested by Stefan Monnier.
16353 (verilog-getopt-file, verilog-module-inside-filename-p)
16354 (verilog-set-define): Merge GNU 1.35 and repair changes from
16355 switching to using with-current-buffer.
16357 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16358 being treated as a number and confusing AUTORESET.
16359 Reported by Dan Dever.
16361 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16362 Add verilog-auto-ignore-concat to fix backward compatibility with
16363 older verilog-modes. Reported by Dan Katz.
16365 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16366 containing closing anchors "...$".
16368 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16369 Reported by Wade Smith.
16371 (verilog-batch-execute-func): Comment on function usage.
16373 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16375 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16378 (verilog-label-re, verilog-calc-1): Support proper indent of named
16381 (verilog-backward-token, verilog-basic-complete-re)
16382 (verilog-beg-of-statement, verilog-indent-re): Support proper
16383 indent of the assert statement at the beginning of a block of text.
16385 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16386 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16389 2009-11-05 Glenn Morris <rgm@gnu.org>
16391 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16392 Emacs 19. (Bug#1531)
16393 (byte-compile-fix-header): Update for the above change.
16394 Drop test for epoch::version.
16396 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16397 * cus-dep.el (custom-make-dependencies):
16398 * finder.el (finder-compile-keywords):
16399 Use autoload-rubric's feature argument.
16401 * calendar/diary-lib.el (top-level): Make load behave more like require.
16403 * vc-git.el (vc-git-stash-map): Move definition before use.
16405 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16407 * custom.el (custom-declare-group): Purecopy standard-value.
16408 (custom-declare-group): Purecopy custom-prefix.
16410 * international/mule.el (load-with-code-conversion):
16411 Call do-after-load-evaluation unconditionally.
16413 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16415 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16417 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16419 2009-11-04 Glenn Morris <rgm@gnu.org>
16421 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16422 (byte-compile-compatibility): Remove option.
16423 (byte-compile-close-variables, byte-compile-fix-header)
16424 (byte-compile-insert-header, byte-compile-output-docform)
16425 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16426 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16427 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16428 (byte-compile-insert, byte-compile-defun):
16429 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16430 (byte-defop-compiler19): Remove.
16431 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16432 used by anything. Replace all calls with byte-defop-compiler.
16434 2009-11-04 Juri Linkov <juri@jurta.org>
16436 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16437 (menu-bar-options-menu): Don't quote the `prop' arg of
16438 `menu-bar-make-mm-toggle'.
16440 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16442 * calendar/calendar.el (cal-loaddefs):
16443 * calendar/diary-lib.el (diary-loaddefs):
16444 * calendar/holidays.el (hol-loaddefs):
16445 * eshell/esh-module.el (esh-groups): Load rather than require.
16447 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16449 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16451 (todo-top-priorities): Only display-buffer when called interactively.
16452 (todo-item-start): Don't save excursion point.
16453 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16454 (todo-insert-item-here, todo-file-item, todo-remove-item):
16455 Adjust uses of todo-item-start and todo-item-end.
16457 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16458 (autoload-rubric): Don't use any more.
16460 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16461 and only put a prop if it is non-nil.
16463 2009-11-03 Juri Linkov <juri@jurta.org>
16465 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16466 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16468 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16469 and "Menu" to make top-level menu item visually one unit (like
16470 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16471 multi-word menu items). Fix :help string for quit-window.
16473 2009-11-03 Glenn Morris <rgm@gnu.org>
16475 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16476 (byte-compile-file-form-define-abbrev-table)
16477 (byte-compile-file-form-custom-declare-variable)
16478 (byte-compile-variable-ref, byte-compile-defvar):
16479 Whether or not a warning is enabled should only affect whether we issue
16480 the warning, not whether or not we collect the relevant data.
16481 Eg warnings can be turned on and off throughout the course of a file.
16483 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16484 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16486 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16488 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16489 * play/mpuz.el (mpuz-create-buffer):
16490 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16491 (lm-print-y,s,noise, lm-print-w0, lm-init):
16492 * play/gomoku.el (gomoku-prompt-for-move):
16493 * play/fortune.el (fortune-in-buffer):
16494 * play/dissociate.el (dissociated-press):
16495 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16496 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16497 * mail/supercite.el (sc-eref-show):
16498 * mail/smtpmail.el (smtpmail-send-it):
16499 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16500 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16501 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16502 (rmail-summary-goto-msg, rmail-summary-expunge)
16503 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16504 (rmail-summary-add-label, rmail-summary-output-menu)
16505 (rmail-summary-output-body):
16506 * mail/rfc822.el (rfc822-addresses):
16507 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16508 * mail/mailpost.el (post-mail-send-it):
16509 * mail/hashcash.el (hashcash-generate-payment):
16510 * mail/feedmail.el (feedmail-run-the-queue)
16511 (feedmail-queue-send-edit-prompt-help-first)
16512 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16513 (feedmail-deduce-address-list):
16514 * eshell/esh-ext.el (eshell-remote-command):
16515 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16516 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16517 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16518 (viper-save-string-in-file, viper-valid-marker):
16519 * emulation/viper-keym.el (viper-toggle-key):
16520 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16521 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16522 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16523 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16524 (viper-exec-form-in-emacs, viper-brac-function):
16525 * emulation/viper.el (viper-delocalize-var):
16526 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16527 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16528 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16529 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16530 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16531 * emulation/edt.el (edt-electric-helpify):
16532 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16533 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16534 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16535 (cua-indent-to-global-mark-column):
16536 * calendar/diary-lib.el (calendar-mark-1):
16537 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16538 Use with-current-buffer.
16539 * emulation/viper.el (viper-delocalize-var): Use dolist.
16541 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16543 * comint.el (comint-replace-by-expanded-history-before-point):
16544 Replace !! with the previous input string literally (Bug#1795).
16546 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16548 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16549 to be made up of whitespace.
16551 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16553 * minibuffer.el (read-file-name): Don't use file dialogs for
16554 remote directories (Bug#99).
16556 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16558 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16560 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16562 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16563 instead of deleting the window or frame.
16565 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16567 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16568 Support face colors.
16570 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16571 New function. Support face colors (Bug#1168).
16572 (tex-common-initialization): Use it.
16574 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16575 mode allows it (Bug#1168).
16577 2009-10-31 Juri Linkov <juri@jurta.org>
16579 * facemenu.el (list-colors-display): Don't mark buffer as
16580 modified (Bug#3948).
16582 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16584 * international/mule-diag.el (list-character-sets-1):
16585 Minor message fix (Bug#3526).
16587 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16588 Fix face property (Bug#4834).
16589 (etags-list-tags, etags-tags-apropos-additional)
16590 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16593 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16596 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16598 * textmodes/two-column.el (2C-split):
16599 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16600 * textmodes/tex-mode.el (tex-set-buffer-directory):
16601 * textmodes/spell.el (spell-region, spell-string):
16602 * textmodes/reftex.el (reftex-erase-buffer):
16603 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16604 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16605 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16606 (reftex-select-item):
16607 * textmodes/reftex-ref.el (reftex-label-info-update)
16608 (reftex-offer-label-menu):
16609 * textmodes/reftex-index.el (reftex-index-change-entry)
16610 (reftex-index-phrases-info):
16611 * textmodes/reftex-global.el (reftex-create-tags-file)
16612 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16613 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16614 (reftex-view-crossref-from-bibtex):
16615 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16616 (reftex-extract-bib-entries-from-thebibliography)
16617 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16618 * textmodes/refbib.el (r2b-capitalize-title):
16619 (r2b-convert-buffer, r2b-help):
16620 * textmodes/page-ext.el (pages-directory)
16621 (pages-directory-goto-with-mouse):
16622 * textmodes/bibtex.el (bibtex-validate-globally):
16623 * textmodes/bib-mode.el (bib-capitalize-title):
16624 * textmodes/artist.el (artist-clear-buffer, artist-system):
16625 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16626 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16627 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16628 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16629 (xscheme-send-control-g-interrupt, xscheme-start-process)
16630 (xscheme-process-sentinel, xscheme-cd):
16631 * progmodes/verilog-mode.el (verilog-read-always-signals)
16632 (verilog-set-define, verilog-getopt-file)
16633 (verilog-module-inside-filename-p):
16634 * progmodes/sh-script.el:
16635 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16636 (python-pdbtrack-grub-for-buffer, python-execute-file):
16637 * progmodes/octave-inf.el (inferior-octave):
16638 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16639 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16640 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16641 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16642 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16643 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16644 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16645 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16646 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16647 (idlwave-shell-examine-display, idlwave-shell-run-region)
16648 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16649 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16650 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16651 (idlwave-help-get-help-buffer):
16652 * progmodes/gud.el (gud-basic-call, gud-find-class)
16653 (gud-tooltip-activate-mouse-motions-if-enabled):
16654 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16655 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16656 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16657 (ebrowse-tags-next-file):
16658 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16659 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16660 (ebnf-eps-finish-and-write):
16661 * progmodes/cpp.el (cpp-edit-save):
16662 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16663 * progmodes/cc-defs.el (c-emacs-features):
16664 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16665 (antlr-directory-dependencies):
16666 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16667 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16668 (ada-find-any-references, ada-make-filename-from-adaname)
16669 (ada-make-body-gnatstub):
16670 * obsolete/rnews.el (news-list-news-groups):
16671 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16672 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16673 * net/rcirc.el (rcirc-debug):
16674 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16675 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16676 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16677 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16678 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16679 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16680 (newsticker--treeview-list-clear-highlight)
16681 (newsticker--treeview-list-update-highlight)
16682 (newsticker--treeview-list-highlight-start)
16683 (newsticker--treeview-tree-update-highlight)
16684 (newsticker--treeview-get-selected-item)
16685 (newsticker-treeview-mark-list-items-old)
16686 (newsticker--treeview-set-current-node):
16687 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16688 * net/newst-backend.el (newsticker--get-news-by-funcall)
16689 (newsticker--get-news-by-wget, newsticker--image-get)
16690 (newsticker--image-sentinel):
16691 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16692 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16693 (eudc-ph-close-session):
16694 * net/eudc.el (eudc-save-options):
16695 * language/thai-word.el (thai-update-word-table):
16696 * language/japan-util.el (japanese-string-conversion):
16697 * international/titdic-cnv.el (tsang-quick-converter)
16698 (ziranma-converter, ctlau-converter):
16699 * international/mule-cmds.el (describe-language-environment):
16700 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16701 (skkdic-convert-postfix, skkdic-convert-prefix):
16702 (skkdic-convert-okuri-nasi, skkdic-convert):
16703 * emacs-lisp/re-builder.el (reb-update-overlays):
16704 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16705 * emacs-lisp/gulp.el (gulp-send-requests):
16706 * emacs-lisp/find-gc.el (trace-call-tree):
16707 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16708 (eieio-describe-generic):
16709 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16710 * emacs-lisp/edebug.el (edebug-outside-excursion):
16711 * emacs-lisp/debug.el (debugger-make-xrefs):
16712 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16713 * emacs-lisp/chart.el (chart-new-buffer):
16714 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16715 Use with-current-buffer.
16716 * textmodes/artist.el (artist-system): Don't call
16717 copy-sequence on a fresh string.
16718 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16720 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16722 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16723 is no item to edit. (Bug#4820)
16724 (todo-top-priorities): Restore point and restore narrowing in Todo
16727 2009-10-31 Glenn Morris <rgm@gnu.org>
16729 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16730 (comint-last-output-start, comint-last-input-start)
16731 (comint-last-input-end): Don't defvar when compiling.
16732 (ange-ftp-process-file): Use bound-and-true-p.
16734 * pcmpl-rpm.el (top-level): Move provide statement to end.
16735 (pcmpl-rpm): Remove unused custom group.
16737 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16739 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16741 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16742 (byte-compile-warnings): Add `constants' as an option.
16743 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16744 (display-call-tree): Update for byte-compile-fdefinition possibly
16745 returning `(macro lambda ...)'. (Bug#4778)
16746 (byte-compile-variable-ref, byte-compile-setq-default):
16747 Respect `constants' member of byte-compile-warnings.
16749 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16751 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16752 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16755 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16757 * textmodes/ispell.el (ispell-skip-region-alist):
16758 * international/mule-conf.el (eight-bit):
16759 * international/fontset.el (font-encoding-alist):
16760 * startup.el (pure-space-overflow-message):
16761 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16762 * paths.el (gnus-nntp-service, rmail-spool-directory)
16763 (term-file-prefix):
16764 * files.el (save-some-buffers-action-alist):
16765 * cmuscheme.el (same-window-buffer-names):
16766 * ielm.el (same-window-buffer-names):
16767 * shell.el (same-window-buffer-names):
16768 * mail/sendmail.el (same-window-buffer-names):
16769 * progmodes/inf-lisp.el (same-window-buffer-names):
16770 * bindings.el (mode-line-client)
16771 (mode-line-column-line-number-mode-map):
16772 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16773 (tibetan-precomposed-regexp): Purecopy string arguments.
16775 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16777 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16778 (calcDigit-nondigit):
16779 * calc/calc-yank.el (calc-copy-to-buffer):
16780 * calc/calc-units.el (calc-invalidate-units-table):
16781 * calc/calc-trail.el (calc-trail-yank):
16782 * calc/calc-store.el (calc-insert-variables):
16783 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16784 * calc/calc-prog.el (calc-read-parse-table):
16785 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16786 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16787 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16788 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16789 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16790 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16791 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16792 * calc/calc-ext.el (calc-realign):
16793 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16794 (calc-embedded-finish-edit, calc-embedded-make-info)
16795 (calc-embedded-finish-command, calc-embedded-stack-change):
16796 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16798 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16799 shell-dynamic-complete-filename in preference to
16800 comint-dynamic-complete-filename.
16802 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16803 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16804 Don't consider whether the display supports colors.
16805 (bookmark-import-new-list): Use dolist.
16806 (bookmark-bmenu-mode-map): Move initialization into declaration.
16807 (bookmark-bmenu-list): Use dolist, simplify.
16808 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16809 (menu-bar-final-items): Use push.
16811 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16813 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16814 it works on remote files.
16815 (vc-hg-diff): Don't pass any `--cwd' argument.
16817 2009-10-27 Kevin Ryde <user42@zip.com.au>
16819 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16820 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16821 (Further to Bug#3921).
16823 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16825 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16826 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16827 calling `tramp-imap-put-file'. Add file size to the call.
16828 (tramp-imap-get-file-entries): Compute also user name, file size,
16830 (tramp-imap-handle-insert-directory): Insert uid and gid.
16831 (tramp-imap-handle-file-attributes): Transform uid and gid
16832 according to `id-format'.
16833 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16834 size in header X-Size.
16836 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16838 * simple.el (transpose-subr): Give clearer error when the mark
16839 is not set. (Bug#4807)
16841 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16843 * net/tramp.el (tramp-perl-file-truename): New defconst.
16844 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16845 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16846 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16847 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16849 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16850 Ignore `dired-call-process'.
16851 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16853 2009-10-26 Julian Scheid <julians37@gmail.com>
16855 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16856 (tramp-get-remote-readlink): New defun.
16857 (tramp-handle-file-truename): Use it.
16858 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16859 file exists if cache value present.
16860 (tramp-check-cached-permissions): New defun.
16861 (tramp-handle-file-readable-p): Use it.
16862 (tramp-handle-file-writable-p): Likewise.
16863 (tramp-handle-file-executable-p): Likewise.
16864 (tramp-handle-file-name-all-completions): Try using Perl to get
16865 partial completions. When perl not available, combine `cd' and
16866 `ls' into single remote operation and use shell expansion to get
16867 partial remote directory contents. Set `file-exists-p' cache for
16868 directory and any files returned by ls. Change cache handling to
16869 support partial directory contents. Use error message emitted by
16870 remote `cd' or Perl code for local tramp-error.
16871 (tramp-do-copy-or-rename-file-directly): Avoid separate
16872 tramp-send-command-and-check call.
16873 (tramp-handle-process-file): Merge three remote ops into one.
16874 Do not flush all caches when `process-file-side-effects' is set.
16875 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16876 file-attributes shows uid/gid to be set already.
16878 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16880 * textmodes/tex-mode.el (tex-dvi-view-command)
16881 (tex-show-queue-command, tex-open-quote):
16882 * progmodes/ruby-mode.el (auto-mode-alist)
16883 (interpreter-mode-alist): Purecopy strings.
16885 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16887 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16888 string for the hook, keymap and abbrev table.
16890 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16892 * x-dnd.el (x-dnd-xdnd-to-action):
16893 * startup.el (fancy-startup-text, fancy-about-text): Change to
16894 defconst from defvar.
16896 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16898 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16899 Purecopy initialization strings.
16901 * mail/sendmail.el (mail-header-separator)
16902 (mail-personal-alias-file):
16903 * mail/rmail.el (rmail-default-dont-reply-to-names)
16904 (rmail-ignored-headers, rmail-retry-ignored-headers)
16905 (rmail-highlighted-headers, rmail-secondary-file-directory)
16906 (rmail-secondary-file-regexp):
16907 * files.el (null-device, file-name-invalid-regexp)
16908 (locate-dominating-stop-dir-regexp)
16909 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16910 (interpreter-mode-alist): Use mapcar instead of mapc.
16912 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16914 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16915 (completion-ignored-extensions):
16916 (debug-ignored-errors): Purecopy strings.
16918 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16920 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16921 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16922 (pcomplete--here): Use push.
16924 * subr.el (all-completions): Declare the 4th arg obsolete.
16926 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16928 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16929 (pcomplete-unquote-argument): New function.
16930 (pcomplete--common-suffix): Always pay attention to case.
16931 (pcomplete--table-subvert): Quote and unquote the text.
16932 (pcomplete--common-quoted-suffix): New function.
16933 (pcomplete-std-complete): Use it and pcomplete-begin.
16935 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16936 we're inside a dedicated or minibuffer window.
16938 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16940 * bookmark.el: Update documentation, especially documentation
16941 of `bookmark-alist' and of the bookmark file format.
16942 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16944 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16946 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16947 keybindings apply to the mail buffer (Bug#4003). Shrink help
16950 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16951 (global-whitespace-mode, global-whitespace-newline-mode)
16952 (whitespace-toggle-options, global-whitespace-toggle-options):
16953 Doc fix (Bug#3660).
16955 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16956 of xmltok-start before the end tag was inserted (Bug#2840).
16958 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16959 patterns that are preceded by an open-paren (Bug#1320).
16961 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16963 * files.el (delete-directory): Delete symlinks to directories with
16964 delete-file (Bug#4739).
16966 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16968 * vc.el (vc-backend-for-registration): Rename from
16969 vc-get-backend-for-registration. Update callers.
16971 * international/mule-cmds.el (set-language-info-alist):
16973 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16974 (charset): Purecopy the name.
16975 (define-char-code-property): Purecopy string arguments.
16977 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16978 Purecopy string arguments.
16980 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16981 * ediff-hook.el (menu-bar-ediff-menu):
16982 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16983 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16985 2009-10-24 Glenn Morris <rgm@gnu.org>
16987 * comint.el (comint-dynamic-list-completions):
16988 * term.el (term-dynamic-list-completions): Use choose-completion rather
16989 than obsolete alias mouse-choose-completion.
16991 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16992 file-cache-choose-completion.
16993 (file-cache-choose-completion): Handle an optional event argument.
16994 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16996 * progmodes/octave-mod.el (octave-complete-symbol):
16997 Use choose-completion if mouse-choose-completion is ever removed.
16999 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17002 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17005 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17007 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17009 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17010 Ignore `pred' now that we receive one.
17011 Handle test-completion specially.
17013 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17015 * vc.el (vc-responsible-backend): Throw an error if not backend is
17016 found. Remove the REGISTER argument. Move the code dealing with
17018 (vc-get-backend-for-registration): ... here. New function.
17019 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17020 of vc-responsible-backend, pass the file name instead of the
17023 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17025 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17027 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17028 (pcomplete-comint-setup): Don't modify a global var via
17029 accidental side-effects.
17030 (pcomplete-shell-setup): Adjust call accordingly.
17031 (pcomplete-parse-comint-arguments): Use push.
17033 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17035 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17036 Allow uncapitalized info node names (Bug#3921).
17038 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17039 to the DEBUG file (Bug#3781).
17041 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17043 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17044 dictionary entry (Bug#4579).
17046 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17048 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17049 from `rfn-eshadow-update-overlay-hook' when unloading.
17050 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17051 "rsyncc". Adjust doc string.
17052 (tramp-temp-buffer-file-name): New buffer-local defvar.
17053 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17054 Keep temporary file when indicated by method ("rsync" and
17056 (tramp-handle-write-region): Handle APPEND.
17057 (tramp-delete-temp-file-function): New defun. Added to
17058 `kill-buffer-hook'.
17060 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17062 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17064 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17066 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17067 (color-name-rgb-alist, tty-standard-colors)
17068 (tty-color-mode-alist): Change to defconst.
17070 * simple.el (mark-inactive): Purecopy message.
17072 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17073 (global-map, yank-menu):
17074 * textmodes/ispell.el (ispell-menu-map):
17075 * net/eudc.el (eudc-tools-menu):
17076 * international/mule-cmds.el (describe-language-environment-map)
17077 (setup-language-environment-map, set-coding-system-map)
17078 (mule-menu-keymap):
17079 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17080 * replace.el (occur-mode-map):
17081 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17083 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17085 * calc/calc.el (math-read-number, math-read-number-simple):
17086 Use `save-match-data'.
17088 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17090 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17091 rather than fiddling with global-map bindings, since it should only
17092 affect per-terminal settings.
17093 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17095 * minibuffer.el (completion-table-with-terminator): Allow to specify
17096 the terminator-regexp.
17098 * simple.el (switch-to-completions): Look for *Completions* in other
17101 * pcomplete.el: Allow the use of completion-tables.
17102 (pcomplete-std-complete): New command.
17103 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17104 (pcomplete--here): Use a function for `form' rather than an expression,
17105 so it can be byte-compiled.
17106 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17107 Add edebug declaration.
17108 (pcomplete-show-completions): Remove unused var `curbuf'.
17109 (pcomplete-do-complete, pcomplete-stub):
17110 Don't assume `completions' is a list of strings any more.
17112 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17114 * find-dired.el (find-name-arg): Fix typo in docstring.
17116 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17118 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17119 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17121 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17124 * comint.el (comint-read-input-ring, comint-write-input-ring)
17125 (comint-substitute-in-file-name)
17126 (comint-dynamic-complete-as-filename)
17127 (comint-dynamic-simple-complete)
17128 (comint-dynamic-list-filename-completions)
17129 (comint-dynamic-list-completions)
17130 (comint-redirect-results-list-from-process): Minor simplifications.
17132 2009-10-21 Kevin Ryde <user42@zip.com.au>
17134 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17135 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17136 the first form. And insert a blank line after ";;; Code" since
17137 that's usual style. (Bug#4612)
17139 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17141 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17143 * minibuffer.el (completion-table-with-terminator): Properly implement
17144 boundaries, in case `terminator' appears in the suffix.
17145 (completion--embedded-envvar-table): Don't return boundaries if
17146 there's no valid completion. Simplify.
17147 (completion-file-name-table): New completion table extracted from
17148 completion--file-name-table.
17149 (completion--file-name-table): Use it.
17150 (read-file-name-predicate): Declare obsolete.
17151 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17152 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17153 completion-file-name-table, and use the `pred' argument.
17154 * files.el (locate-file-completion-table): Use the `pred' arg rather
17155 than read-file-name-predicate.
17156 (abbreviate-file-name): Use \` rather than ^ for BOS.
17158 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17160 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17161 vc-responsible-backend to register, it causes problems.
17163 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17165 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17167 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17169 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17170 (tramp-smb-handle-file-attributes): Use it.
17171 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17172 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17173 `mapcar'. Use `tramp-smb-get-stat-capability'.
17174 Add `dired-filename' text properties.
17175 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17176 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17179 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17181 * subr.el (read-key-delay): Reduce to 0.01.
17182 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17185 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17187 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17189 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17190 (Info-menu): Remove unused vars `last' and `completions'.
17191 (Info-index-nodes): Remove unused var `node'.
17193 * info.el (Info-complete-menu-item): Use complete-with-action.
17195 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17197 Make vc-annotate work through copies and renames.
17198 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17199 Return the file name too.
17200 (vc-annotate-revision-at-line)
17201 (vc-annotate-find-revision-at-line)
17202 (vc-annotate-revision-previous-to-line)
17203 (vc-annotate-show-log-revision-at-line): Update to get the file
17204 name from vc-annotate-extract-revision-at-line.
17205 (vc-annotate-show-diff-revision-at-line-internal): Change the
17206 argument to mean whether to show a file diff or not. Get the file
17207 name from vc-annotate-extract-revision-at-line.
17208 (vc-annotate-show-diff-revision-at-line):
17209 Update vc-annotate-show-diff-revision-at-line call.
17210 (vc-annotate-warp-revision): Add an optional file argument.
17212 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17213 (vc-git-annotate-extract-revision-at-line): Also return the file
17216 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17217 command. Remove unused code.
17218 (vc-hg-annotate-re): Update to match --follow output.
17219 (vc-hg-annotate-extract-revision-at-line): Also return the file
17222 * vc.el: Update annotate-extract-revision-at-line documentation.
17224 2009-10-18 Kevin Ryde <user42@zip.com.au>
17226 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17227 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17229 * net/browse-url.el (browse-url): Identify alist with "consp and
17230 not functionp" and let all other things go down the `apply' leg,
17231 as suggested by Stefan. (Further to bug#4531.)
17233 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17235 * minibuffer.el (read-file-name): Check for repeat before putting
17236 a default argument in file-name-history (Bug#4657).
17238 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17239 read syntax (Bug#4737).
17241 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17243 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17245 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17246 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17247 entries and make note of obsolete tags.
17249 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17251 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17253 2009-10-18 Glenn Morris <rgm@gnu.org>
17255 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17256 grep, so that binary files (eg international/uni-bidi.el) can match.
17257 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17258 now, and in any case the file header format has changed.
17260 2009-10-17 Glenn Morris <rgm@gnu.org>
17262 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17263 (flyspell-get-word, flyspell-large-region)
17264 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17266 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17268 * Makefile.in (ELCFILES): Add ede/shell.
17270 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17272 * term/common-win.el (x-colors): Purecopy it.
17274 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17276 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17277 permissive for when the buffer is empty.
17278 (tar-header-block-tokenize): Decode the username and groupname.
17279 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17281 2009-10-17 Eric Ludlam <zappo@gnu.org>
17283 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17284 contains multibyte characters, choose first applicable coding
17285 system automatically.
17287 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17289 * international/mule-cmds.el (select-safe-coding-system): If the file
17290 has a coding cookie, use it regardless of any other setting (bug#4712).
17292 2009-10-17 Glenn Morris <rgm@gnu.org>
17294 * foldout.el (foldout-mouse-swallow-events):
17295 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17297 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17298 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17299 (dired-keep-marker-symlink, dired-dwim-target)
17300 (dired-copy-preserve-time): Do not autoload these defcustoms.
17302 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17303 messages from messing up the file coding. (Bug#4623)
17305 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17307 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17308 if no match is found for the current dictionary. (Bug#4578)
17310 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17311 optional, since that is how it is documented, and this is often called
17312 with a nil argument. (Bug#4577)
17313 (flyspell-external-point-words, flyspell-auto-correct-word)
17314 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17315 (flyspell-word-search-backward): Remove nil argument in calls to
17316 flyspell-get-word, since it is not needed now.
17318 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17320 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17322 2009-10-16 Glenn Morris <rgm@gnu.org>
17324 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17326 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17328 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17329 (ange-ftp-file-size): New function.
17330 (ange-ftp-file-attributes): Use it.
17332 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17334 * net/tramp-smb.el (tramp-smb-version): New defvar.
17335 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17338 2009-10-16 Glenn Morris <rgm@gnu.org>
17340 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17341 Maybe copy some custom properties from old to new name. (Bug#4706)
17343 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17345 * subr.el (error, sit-for, start-process-shell-command)
17346 (start-file-process-shell-command): Set the calling convention
17347 after the function definition.
17349 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17351 * subr.el (error, sit-for, start-process-shell-command)
17352 (start-file-process-shell-command): Use the new
17353 set-advertised-calling-convention feature.
17355 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17357 * international/ucs-normalize.el (ucs-normalize-version):
17359 (check-range): Adjust for Unicode 5.2.
17361 2009-10-15 Juri Linkov <juri@jurta.org>
17363 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17364 to the `menu-item' format.
17366 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17368 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17369 if the environment variable does not exist.
17371 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17372 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17374 (tramp-smb-handle-add-name-to-file)
17375 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17376 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17377 (tramp-smb-handle-file-attributes)
17378 (tramp-smb-do-file-attributes-with-stat)
17379 (tramp-smb-handle-file-local-copy)
17380 (tramp-smb-handle-insert-directory)
17381 (tramp-smb-handle-make-directory)
17382 (tramp-smb-handle-make-directory-internal)
17383 (tramp-smb-handle-make-symbolic-link)
17384 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17385 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17386 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17387 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17388 Handle long file names.
17389 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17390 process is running.
17391 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17392 Read share names with "-g" option.
17394 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17396 * net/rcirc.el (rcirc-view-log-file): New command.
17397 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17398 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17401 2009-10-15 Glenn Morris <rgm@gnu.org>
17403 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17404 from the second command-line argument.
17405 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17406 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17407 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17408 w32-batch-update-autoloads.
17409 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17410 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17412 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17413 the headers cannot be located. Simplify, subtracting superflous
17416 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17418 Replace completion-base-size by completion-base-position to fix bugs
17419 such as (bug#4699).
17420 * simple.el (completion-base-position): New var.
17421 (completion-base-size): Mark as obsolete.
17422 (choose-completion): Make it work for mouse events as well.
17423 Pass the new base-position to choose-completion-string.
17424 (choose-completion-guess-base-position): New function, extracted from
17425 choose-completion-delete-max-match.
17426 (choose-completion-delete-max-match): Use it. Make obsolete.
17427 (choose-completion-string): Use the new base-position info.
17428 (completion-root-regexp): Delete.
17429 (completion-setup-function): Preserve completion-base-position.
17430 Eliminate obsolete base-size manipulation.
17431 * minibuffer.el (display-completion-list): Don't mess with base-size.
17432 (minibuffer-completion-help): Set completion-base-position instead.
17433 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17435 * textmodes/bibtex.el (bibtex-complete):
17436 * emacs-lisp/crm.el (crm--choose-completion-string):
17437 Adjust to new calling convention.
17438 * complete.el (partial-completion-mode): Use minibufferp to avoid
17439 bumping into incompatible change to choose-completion-string-functions.
17440 * ido.el (ido-choose-completion-string): Make its calling convention
17442 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17443 base-size manipulation.
17444 (comint-dynamic-list-input-ring): Use dotimes and push.
17445 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17446 fundamental-mode. Use `or'.
17448 2009-10-14 Juri Linkov <juri@jurta.org>
17450 * misearch.el (multi-isearch-next-buffer-from-list)
17451 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17453 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17455 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17458 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17459 string we return is all made up of text from the completions rather
17460 than part from the completions and part from the input (bug#4219).
17462 * ido.el (ido-everywhere): Use define-minor-mode.
17464 * buff-menu.el (list-buffers, ctl-x-map):
17465 Mark the entry points with ;;;###autoload cookies.
17467 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17469 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17470 correctly in the detached head case.
17471 (vc-git-print-log): Remove unused binding.
17473 * vc.el (vc-responsible-backend): When a directory is passed for
17474 for registration create a VC repository if no backend is
17475 responsible for the directory argument.
17476 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17478 * vc.el: Move comments about RCS and SCCS ...
17480 * vc-sccs.el: ... here, respectively.
17482 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17484 * minibuffer.el (completion--file-name-table): Return nil if there's
17485 no file completion, even if substitute-in-file-name changed
17486 the string (bug#4708).
17488 2009-10-13 Juri Linkov <juri@jurta.org>
17490 * files-x.el (read-file-local-variable-value): Don't filter out
17491 minor modes from mode name completion (bug#4664).
17493 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17495 * international/mule-cmds.el (ucs-names): Remove exclusion of
17496 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17498 2009-10-13 Kenichi Handa <handa@m17n.org>
17500 * international/uni-name.el: Regenerated.
17502 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17504 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17505 should be automatically buffer-local, but isn't.)
17507 2009-10-12 Sam Steingold <sds@gnu.org>
17509 * progmodes/compile.el (compilation-next-error-function): Fix the
17510 timestamps if the buffer has been visited before.
17511 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17512 non-anchored patterns, like the perl one (bug#3928).
17514 2009-10-12 Glenn Morris <rgm@gnu.org>
17516 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17519 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17521 * proced.el (proced-unload-function): New function.
17523 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17524 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17527 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17529 2009-10-11 Juri Linkov <juri@jurta.org>
17531 * files-x.el (read-file-local-variable-value):
17532 Provide default value only for bound variables (bug#4664).
17534 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17536 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17537 connection methods like smb.
17539 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17542 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17543 (tramp-smb-file-name-handler-alist): Add handlers for
17544 `add-name-to-file', `make-symbolic-link'.
17545 (tramp-smb-handle-add-name-to-file)
17546 (tramp-smb-do-file-attributes-with-stat)
17547 (tramp-smb-handle-make-symbolic-link)
17548 (tramp-smb-get-cifs-capabilities): New defuns.
17549 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17550 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17551 (tramp-smb-handle-file-local-copy)
17552 (tramp-smb-handle-make-directory-internal)
17553 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17554 The file name syntax depends on cifs capabilities.
17555 (tramp-smb-handle-file-attributes):
17556 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17557 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17558 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17560 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17562 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17563 (eieio-defclass): Apply deftype handler and setf-method properties
17565 (eieio-add-new-slot): Avoid union function from cl library.
17566 (eieio--typep): New function.
17567 (eieio-perform-slot-validation): Use it.
17569 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17571 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17572 Update documentation to refer to the variables documented in r1.135.
17575 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17577 * bookmark.el (Info-suffix-list): Remove this unused variable.
17578 (bookmark-current-point): Remove this obsolete variable.
17579 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17580 Adjust for removal of bookmark-current-point.
17582 (bookmarks-already-loaded, bookmark-current-buffer)
17583 (bookmark-yank-point): Document. (Bug#4188)
17585 2009-10-10 Glenn Morris <rgm@gnu.org>
17587 * frame.el (frame-height): Doc fix.
17589 * calendar/calendar.el (calendar-split-width-threshold): New option.
17590 (calendar-basic-setup): Use calendar-split-width-threshold.
17592 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17594 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17595 Ideographic Supplement" range (U+1F200..U+1F2FF).
17597 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17599 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17600 since the list will have been rebuilt anyway. (Bug#4349)
17602 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17604 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17605 (bookmark-bmenu-execute-deletions): Don't save here, as
17606 bookmark-delete will now do so if necessary.
17607 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17610 2009-10-09 Glenn Morris <rgm@gnu.org>
17612 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17614 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17616 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17617 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17618 argument now, so the two function's behaviors will match. (Bug#3645)
17620 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17622 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17623 (tramp-file-name-real-host, tramp-file-name-port):
17624 Apply `save-match-data'.
17626 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17627 case both directories are remote.
17628 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17629 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17631 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17633 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17635 2009-10-07 Glenn Morris <rgm@gnu.org>
17637 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17640 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17642 * files-x.el (read-file-local-variable): Include some
17643 non-user-variables in the completion table (bug#4664).
17645 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17647 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17650 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17651 (tramp-smb-file-name-handler-alist): Add handler for
17652 `copy-directory', `expand-file-name', `set-file-modes'.
17653 (tramp-smb-handle-copy-directory)
17654 (tramp-smb-handle-expand-file-name)
17655 (tramp-smb-handle-set-file-modes): New defuns.
17656 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17657 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17659 (tramp-smb-handle-insert-directory): Don't flush the cache.
17660 (tramp-smb-maybe-open-connection): Check for samba client and
17663 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17665 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17666 to not error out of search for "^lisp=" fails.
17668 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17670 * makefile.w32-in (WINS_UPDATES): New macro.
17671 (custom-deps, finder-data, autoloads): Use it.
17673 2009-10-07 Glenn Morris <rgm@gnu.org>
17675 * Makefile.in (autoloads): Revert previous change.
17676 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17677 the list of preloaded files passed on the command-line, get
17678 it from src/Makefile.
17680 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17681 show the original buffer rather than a random one.
17683 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17685 * help.el (describe-no-warranty): Place point in a slightly better
17686 position in the GPLv3 text.
17688 2009-10-06 Sam Steingold <sds@gnu.org>
17690 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17691 the comm attribute is present before calling regexp-quote.
17693 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17695 * play/animate.el (animate-string): For good effect, make sure
17696 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17698 * play/animate.el (animate-sequence, animate-birthday-present):
17699 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17701 2009-10-06 Glenn Morris <rgm@gnu.org>
17703 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17705 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17706 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17707 (batch-update-autoloads): Process a string value of autoload-excludes,
17708 set during the build process.
17709 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17711 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17712 inside with-parsed... macro so that `v' is defined.
17714 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17715 * progmodes/fortran.el (fortran-end-of-block)
17716 (fortran-beginning-of-block):
17717 Also push mark in the macro case.
17719 * emerge.el (emerge-show-file-name):
17720 * calc/calc.el (calc-quit):
17721 * calc/calc-misc.el (calc-big-or-small):
17722 * calc/calc-graph.el (calc-graph-view):
17723 * calc/calc-ext.el (calc-reset):
17724 * calendar/calendar.el (calendar-basic-setup):
17725 Use window-full-height-p.
17727 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17728 header we don't understand, don't insert another. (Bug#4624)
17729 If changing mime charset, insert the new one in the right place.
17731 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17733 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17734 (cal-tex-cursor-month): Correctly increment the end date for diary and
17735 holiday listing. (Bug#4626)
17737 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17739 * help-fns.el (describe-function-1): Don't burp if the function is not
17742 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17744 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17745 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17746 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17747 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17749 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17750 (eieio-default-superclass): Reflow docstrings.
17751 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17752 (eieio-unbind-method-implementations, defmethod)
17753 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17754 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17755 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17756 (eieio-slot-originating-class-p, eieio-slot-name-index)
17757 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17758 (constructor, initialize-instance, no-next-method, object-print)
17759 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17760 Fix typos in docstrings.
17761 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17762 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17763 (next-method-p): Doc fixes.
17764 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17765 Fix typos in error messages.
17766 (eieio-defmethod): Fix typo in description of generic method.
17768 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17769 (eieio-persistent-save-interactive, slot-missing):
17770 Fix typos in docstrings.
17771 (eieio-instance-inheritor-slot-boundp): Doc fix.
17773 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17774 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17776 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17777 (eieio-custom-object-apply-reset):
17778 Fix typos in docstrings and error messages.
17780 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17781 Fix typo in docstring.
17783 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17784 (eieio-browse-tree): Doc fix.
17785 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17786 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17787 Fix typos in docstrings.
17789 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17790 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17791 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17792 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17795 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17797 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17798 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17799 Set log-view-vc-backend so that diff can work.
17801 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17803 (vc-diff-internal): Autoload this instead of vc-version-diff.
17805 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17807 * simple.el (eval-expression): Doc fix.
17809 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17811 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17813 * files.el (directory-files-no-dot-files-regexp): New defconst.
17814 (delete-directory): Use it.
17815 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17817 * net/tramp.el (tramp-verbose): Fix docstring.
17818 (tramp-methods): Add recursive option to `tramp-copy-args'.
17819 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17820 "scp1_old", "scp2_old", "rsync", "rsyncc".
17821 (tramp-default-method): Check also for `auth-source-user-or-password'.
17822 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17823 Add handler for `copy-directory'.
17824 (tramp-handle-copy-directory): New defun.
17825 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17826 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17827 Optimize sent command.
17829 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17831 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17832 window if necessary.
17834 * calendar/calendar.el (calendar-basic-setup): Don't call
17835 switch-to-buffer in a dedicated window.
17837 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17839 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17840 don't do anything related to relocating, just return nil.
17841 (bookmark-error-no-filename): New error.
17842 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17843 bookmark has no file. Don't even attempt to handle things that
17844 are not files; the whole point of custom handlers is to keep that
17845 knowledge elsewhere anyway. Tighten some comments.
17846 (bookmark-file-or-variation-thereof): Remove now-unused function.
17847 (bookmark-location): Doc string fix.
17850 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17852 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17853 don't use a file dialog, because they usually don't know how to read
17854 a directory target from the user. (Bug#4230)
17855 Also, make sure the prompt can display directories as well as files.
17857 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17859 * bookmark.el (bookmark-set, bookmark-buffer-name):
17860 Improve doc strings. (Bug#1193)
17862 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17864 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17865 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17866 (bookmark-get-annotation, bookmark-set-annotation)
17867 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17868 (bookmark-set-position, bookmark-get-front-context-string)
17869 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17870 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17871 (bookmark-jump-other-window, bookmark-handle-bookmark)
17872 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17873 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17874 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17875 Improve doc strings to say whether bookmark can be a string or
17876 a record or both, and make other consistency and clarity fixes.
17877 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17878 (bookmark-default-annotation-text, bookmark-yank-word)
17879 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17880 (bookmark-import-new-list, bookmark-maybe-rename)
17881 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17882 (bookmark-bmenu-bookmark): Give these doc strings.
17883 (bookmark-bmenu-check-position): Give this a doc string, but also
17884 add a FIXME comment about how the function may be pointless.
17885 (bookmark-default-handler): Rework doc string and change a
17886 parameter name, to clarify that this takes a bookmark record
17887 not a bookmark name.
17888 (bookmark-set): Change a parameter name to indicate its meaning,
17889 and improve the doc string a bit.
17892 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17894 * bookmark.el (bookmark-alist): Document the new `handler' element
17895 in the param alist.
17896 (bookmark-make-record-function): Adjust documentation for above.
17899 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17901 * info.el (Info-bookmark-make-record): Document this function.
17902 (Info-bookmark-jump): Document with a doc string, not just a comment.
17905 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17907 * files.el (copy-directory): New defun.
17909 * dired-aux.el (dired-copy-file-recursive): Use it.
17911 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17913 * files-x.el (modify-dir-local-variable)
17914 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17917 * recentf.el (recentf-unload-function): New function.
17919 2009-10-04 Glenn Morris <rgm@gnu.org>
17921 * window.el (window-full-height-p): Add doc string.
17923 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17925 * window.el (window-full-height-p): New function. (Bug#4543)
17927 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17929 * vc.el: Remove commented out code.
17930 (vc-derived-from-dir-mode): Remove, unused.
17931 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17933 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17935 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17936 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17937 there could be recursive loading when `default-directory' is a
17938 remote file name. (Bug#4614)
17940 2009-10-03 Glenn Morris <rgm@gnu.org>
17942 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17944 (calendar-generate-window): Test for shrinkability rather than width.
17946 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17947 reusing existing buffers, in case we happen to visit two files with the
17948 same basename. (Bug#4593)
17950 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17952 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17953 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17954 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17955 subdirs of cedet as well.
17956 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17958 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17960 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17961 Obey advertised-signature-table.
17963 * help-fns.el (help-function-arglist): Don't check
17964 advertised-signature-table.
17965 (describe-function-1): Do it here instead so it also applies to subrs.
17967 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17969 * simple.el (start-file-process): Say in the doc-string, that file
17970 handlers might not support pty association, if PROGRAM is nil.
17972 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17973 HOST and USER are strings. They are nil, when there are
17974 incomplete entries in ~/.netrc, for example.
17975 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17976 root directory ("device busy" error otherwise).
17978 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17979 Flush file properties of created directory.
17981 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17983 * makefile.w32-in (WINS_BASIC): Remove cedet.
17984 (WINS_CEDET): Add cedet.
17985 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17987 2009-10-02 Kevin Ryde <user42@zip.com.au>
17989 * net/browse-url.el (browse-url): Pass any symbol in
17990 browse-url-browser-function to `apply', since if you've mistakenly put
17991 an unbound symbol then the error is clearer. (Bug#4531)
17993 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17995 * allout.el (allout-init, allout-back-to-current-heading)
17996 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17997 (allout-ascend, allout-up-current-level, allout-end-of-level)
17998 (allout-previous-visible-heading, allout-forward-current-level)
17999 (allout-backward-current-level, allout-show-children):
18000 * apropos.el (apropos-describe-plist):
18001 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18002 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18003 * completion.el (add-completion, add-permanent-completion):
18004 * descr-text.el (describe-text-category, describe-char):
18005 * desktop.el (desktop-lazy-abort):
18006 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18007 * dired.el (dired-build-subdir-alist):
18008 * ediff.el (ediff-version):
18009 * elide-head.el (elide-head, elide-head-show):
18010 * emerge.el (emerge-version):
18012 * face-remap.el (variable-pitch-mode):
18013 * faces.el (describe-face):
18014 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18016 * files.el (find-file-existing, auto-save-mode):
18017 * font-lock.el (font-lock-fontify-buffer):
18018 * help-fns.el (describe-function, describe-variable)
18019 (describe-syntax, describe-categories):
18020 * help.el (view-lossage, describe-bindings, describe-key)
18022 * hexl.el (hexl-current-address):
18023 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18024 * info.el (Info-goto-emacs-key-command-node):
18025 * log-edit.el (log-edit-insert-cvs-template)
18026 (log-edit-insert-cvs-rcstemplate):
18027 * menu-bar.el (menu-bar-mode):
18028 * mouse.el (mouse-appearance-menu):
18029 * newcomment.el (comment-indent-new-line):
18030 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18031 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18032 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18033 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18034 * recentf.el (recentf-mode):
18035 * savehist.el (savehist-mode, savehist-save):
18036 * shadowfile.el (shadow-copy-files):
18037 * simple.el (kill-ring-save, next-line, previous-line)
18038 (normal-erase-is-backspace-mode):
18039 * strokes.el (strokes-update-window-configuration)
18040 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18041 (strokes-xpm-for-stroke):
18042 * time.el (emacs-uptime, emacs-init-time):
18043 * tutorial.el (tutorial--describe-nonstandard-key)
18044 (tutorial--detailed-help):
18045 * type-break.el (type-break-mode)
18046 (type-break-mode-line-message-mode, type-break-query-mode)
18047 (type-break-guesstimate-keystroke-threshold):
18048 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18049 * version.el (emacs-version):
18050 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18051 * winner.el (winner-mode):
18052 * calendar/timeclock.el (timeclock-in, timeclock-out)
18053 (timeclock-status-string, timeclock-change)
18054 (timeclock-workday-remaining-string)
18055 (timeclock-workday-elapsed-string)
18056 (timeclock-when-to-leave-string):
18057 * calendar/todo-mode.el (todo-add-category):
18058 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18059 * emacs-lisp/autoload.el (update-file-autoloads):
18060 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18061 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18062 (checkdoc-message-text, checkdoc-defun):
18063 * emacs-lisp/debug.el (debugger-list-functions):
18064 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18065 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18066 (eieio-describe-generic):
18067 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18068 * emacs-lisp/shadow.el (list-load-path-shadows):
18069 * emulation/cua-base.el (cua-mode):
18070 * emulation/edt.el (edt-set-scroll-margins):
18071 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18072 (tpu-toggle-regexp, tpu-toggle-search-direction)
18073 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18074 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18075 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18076 (viper-set-parsing-style-toggling-macro)
18077 (viper-set-emacs-state-searchstyle-macros):
18078 * emulation/viper.el (viper-set-hooks):
18079 * eshell/esh-mode.el (eshell-truncate-buffer):
18080 * international/mule-cmds.el (prefer-coding-system)
18081 (describe-input-method, describe-language-environment):
18082 * international/mule-diag.el (list-character-sets)
18083 (describe-character-set, describe-coding-system)
18084 (describe-fontset, list-fontsets, list-input-methods):
18085 * mail/sendmail.el (mail-signature):
18086 * net/ange-ftp.el (ange-ftp-copy-file):
18087 * net/browse-url.el (browse-url):
18088 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18089 * net/quickurl.el (quickurl-add-url):
18090 * net/rcirc.el (names, topic):
18091 * net/xesam.el (xesam-mode):
18092 * play/5x5.el (5x5-new-game):
18093 * play/yow.el (apropos-zippy):
18094 * progmodes/ada-mode.el (ada-mode-version):
18095 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18097 (f90-beginning-of-block):
18098 * progmodes/fortran.el (fortran-end-of-block)
18099 (fortran-beginning-of-block):
18100 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18101 * progmodes/python.el (python-describe-symbol, python-shell):
18102 * term/ns-win.el (ns-print-buffer):
18103 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18104 * textmodes/flyspell.el (flyspell-mode-on):
18105 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18106 (pages-directory-for-addresses):
18107 * textmodes/table.el (table-recognize-cell)
18108 (table-query-dimension, table-generate-source)
18109 (table-insert-sequence, table--warn-incompatibility):
18110 * textmodes/tex-mode.el (tex-validate-buffer):
18111 * textmodes/texinfmt.el (texinfmt-version)
18112 (texinfo-format-buffer):
18113 Use `called-interactively-p' instead of `interactive-p'.
18115 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18117 * image-mode.el (image-toggle-display):
18118 * emacs-lisp/elp.el (elp-instrument-function):
18119 * emacs-lisp/advice.el (ad-make-advised-definition):
18120 * emacs-lisp/easy-mmode.el (define-minor-mode):
18121 * net/browse-url.el (browse-url-maybe-new-window):
18122 * progmodes/sh-script.el (sh-learn-buffer-indent):
18123 Pass new argument 'any to `called-interactively-p'.
18125 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18127 * international/uni-bidi.el:
18128 * international/uni-category.el:
18129 * international/uni-combining.el:
18130 * international/uni-comment.el:
18131 * international/uni-decimal.el:
18132 * international/uni-decomposition.el:
18133 * international/uni-digit.el:
18134 * international/uni-lowercase.el:
18135 * international/uni-mirrored.el:
18136 * international/uni-name.el:
18137 * international/uni-numeric.el:
18138 * international/uni-old-name.el:
18139 * international/uni-titlecase.el:
18140 * international/uni-uppercase.el:
18141 Regenerate from Unicode 5.2.0 data.
18143 2009-10-01 Glenn Morris <rgm@gnu.org>
18145 * Makefile.in (ELCFILES): Regenerate.
18147 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18149 * subr.el (interactive-p): Mark obsolete.
18150 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18151 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18152 advertised-signature-table for subroutines as well.
18154 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18155 (set-advertised-calling-convention): New function.
18156 (make-obsolete, define-obsolete-function-alias)
18157 (make-obsolete-variable, define-obsolete-variable-alias):
18158 Make the optional-ness of `when' obsolete.
18159 (define-obsolete-face-alias): Make `when' non-optional.
18160 * help-fns.el (help-function-arglist):
18161 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18162 Use advertised-signature-table.
18164 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18166 * files.el (delete-directory): New defun. The original function
18167 in fileio.c has been renamed to `delete-directory-internal'.
18169 * dired.el (dired-delete-file): Call `delete-directory' with
18170 RECURSIVE parameter.
18172 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18173 parameter RECURSIVE. Implementation is missing.
18175 * net/tramp.el (tramp-handle-make-directory): Flush upper
18176 directory's file properties.
18177 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18178 (tramp-handle-dired-recursive-delete-directory): Flush directory
18179 properties after the remove command only.
18181 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18182 Handle optional parameter RECURSIVE.
18184 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18185 Handle optional parameter RECURSIVE.
18187 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18188 connection timeout.
18189 (tramp-smb-handle-delete-directory): Handle optional parameter
18192 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18194 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18195 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18196 (byte-compile-defmacro): Use backquotes.
18198 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18200 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18201 has no associated file.
18202 (vc-resynch-buffer): Use vc-dir-buffers.
18204 2009-10-01 Glenn Morris <rgm@gnu.org>
18206 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18207 (chart-file-count):
18208 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18209 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18210 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18211 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18212 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18213 (eieio-copy-parents-into-subclass, make-instance, class-children)
18214 (eieio-generic-form):
18216 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18217 match-data. (Bug#4555).
18219 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18220 rather than parsing it as a regexp. This relaxes the layout
18221 requirements and makes errors easier to detect.
18222 (check-declare-verify): Check file is regular.
18223 (check-declare-directory): Doc fix.
18224 * subr.el (declare-function): Doc fix.
18226 * ibuffer.el (ibuffer-format-qualifier):
18227 * isearch.el (hi-lock-regexp-okay):
18228 * calc/calc.el (math-zerop):
18229 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18230 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18231 Remove unused declarations.
18233 2009-09-30 Eric Ludlam <zappo@gnu.org>
18235 * emacs-lisp/eieio.el (boolean-p): Delete.
18237 2009-09-30 Glenn Morris <rgm@gnu.org>
18239 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18241 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18242 filename is not a string.
18244 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18246 * files.el (safe-local-eval-forms): Fix typo.
18248 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18250 * vc-hooks.el (vc-dir-buffers): New var.
18251 (vc-state-refresh): New function.
18252 (vc-state): Use it.
18253 (vc-after-save): Always ask the backend to recompute the new state.
18254 Always call vc-dir if necessary, using vc-dir-buffers.
18255 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18256 Use vc-dir-buffers.
18257 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18258 (vc-dir-prepare-status-buffer, vc-dir-update)
18259 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18260 Don't call expand-file-name on default-directory.
18262 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18264 * speedbar.el (speedbar-item-delete):
18265 * calc/calc-prog.el (calc-kbd-if):
18266 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18268 * epa.el (epa-key-list-mode-map):
18269 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18271 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18272 (hs-show-hook): Fix typo in docstring.
18274 2009-09-29 Glenn Morris <rgm@gnu.org>
18276 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18277 file-name-nondirectory call preventing location of cedet files.
18278 (check-declare-verify): Use literal search rather than re-search.
18279 Add basic defmethod and defclass, and define-overloadable-function.
18281 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18282 Use tramp-compat-file-attributes rather than nonexistent
18283 tramp-compat-handle-file-attributes.
18285 * Makefile.in (lisptagsfiles4): New.
18286 (AUTOGENEL): Add cedet loaddefs files.
18287 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18288 (update-elclist, compile-always, backup-compiled-files)
18289 (bootstrap-clean): Add yet another directory level.
18290 (update-elclist): Use LC_COLLATE rather than COLLATE.
18291 (ELCFILES): Update, via `make update-elclist'.
18293 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18295 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18296 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18297 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18299 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18301 * Makefile.in (lisptagsfiles3): Define.
18302 (TAGS, TAGS-LISP): Use it.
18303 (update-elclist): Add third directory level to look for elc files.
18304 (compile-always): Likewise.
18305 (backup-compiled-files): Likewise.
18306 (bootstrap-clean): Likewise.
18307 (ELCFILES): Update.
18309 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18311 * Makefile.in (ELCFILES): Add CEDET files.
18313 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18315 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18317 * net/tramp.el (top): Require tramp-imap.
18319 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18320 Use `tramp-compat-handle-file-attributes'.
18322 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18324 * net/tramp-imap.el: New package.
18326 2009-09-28 Eric Ludlam <zappo@gnu.org>
18328 * emacs-lisp/chart.el:
18329 * emacs-lisp/eieio-base.el:
18330 * emacs-lisp/eieio-comp.el:
18331 * emacs-lisp/eieio-custom.el:
18332 * emacs-lisp/eieio-datadebug.el:
18333 * emacs-lisp/eieio-opt.el:
18334 * emacs-lisp/eieio-speedbar.el:
18335 * emacs-lisp/eieio.el: New files.
18337 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18339 * whitespace.el (whitespace-trailing-regexp)
18340 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18343 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18345 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18348 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18349 menu-bar-ediff-menu.
18351 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18352 define-overloadable-function.
18354 * progmodes/autoconf.el: Provide autoconf as well, so that this
18355 file can be `require'd.
18357 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18359 * emacs-lisp/autoload.el (generated-autoload-feature)
18360 (generated-autoload-load-name): New vars.
18361 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18362 (make-autoload): Recognize define-overloadable-function and
18363 defclass forms (for EIEIO).
18365 * Makefile.in (update-subdirs): Exclude cedet directory.
18367 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18369 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18371 * faces.el: Default light-background background for region face to
18372 ns_selection_color under NS.
18374 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18376 * net/imap-hash.el: New library, see NEWS.
18378 * Makefile.in (ELCFILES): Add imap-hash.el.
18380 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18382 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18383 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18384 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18385 definition where the docstring could be taken for the return value.
18387 2009-09-26 Glenn Morris <rgm@gnu.org>
18389 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18390 Add option to only show images below a certain size.
18391 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18392 save-excursion calls.
18394 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18396 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18397 subdirectories) and eieio.
18399 2009-09-26 Alan Mackenzie <acm@muc.de>
18401 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18402 Correct buggy bracketing. (Bug#4289)
18404 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18405 character constants (as case labels). (Bug#4289)
18407 2009-09-25 Juri Linkov <juri@jurta.org>
18409 * files.el (safe-local-eval-forms): Allow time-stamp in
18410 before-save-hook (Bug#4554).
18412 2009-09-25 Drew Adams <drew.adams@oracle.com>
18414 * menu-bar.el (list-buffers-directory): Doc fix.
18416 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18418 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18419 Try and avoid copying twice the same paragraph.
18420 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18421 Remove save-excursion.
18422 (log-edit-changelog-entry): Do it here instead.
18424 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18426 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18427 when available, instead of hardcoding mode names. Doc fix.
18429 * menu-bar.el (list-buffers-directory): Add docstring.
18430 Make automatically buffer-local.
18432 * dired.el (dired-mode):
18433 * files.el (cd-absolute):
18434 * pcvs.el (cvs-temp-buffer):
18435 * pcvs-util.el (cvs-get-buffer-create):
18436 * shell.el (shell-mode):
18437 * vc-dir.el (vc-dir-mode):
18438 Don't make `list-buffers-directory' buffer local.
18440 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18442 * comint.el (comint-exec, comint-run, make-comint):
18443 Doc fixes (Bug#4542).
18445 2009-09-25 Glenn Morris <rgm@gnu.org>
18447 * mail/rmailmm.el (rmail-mime): New custom group.
18448 Move all defcustoms in this file into this group.
18449 (rmail-mime-media-type-handlers-alist): Revert previous change.
18450 (rmail-mime-show-images): New option.
18451 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18452 references to it, since it wasn't actually used for anything.
18453 (rmail-mime-insert-image): New function.
18454 (rmail-mime-image): Use rmail-mime-insert-image.
18455 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18456 obey the value of `rmail-mime-show-images' option. Print the size of
18459 2009-09-25 David Engster <deng@randomsample.de>
18461 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18463 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18465 * whitespace.el: Does not highlight trailing spaces While point is
18466 at end of line. Does not highligt spaces at beginning of buffer
18467 while point is at beginning of buffer. Does not highlight spaces
18468 at end of buffer while point is at end of buffer. (Bug#4177)
18470 (whitespace-display-mappings): Adjust initialization.
18471 (whitespace-point, whitespace-font-lock-refontify): New vars.
18472 (whitespace-color-on, whitespace-color-off): Adjust code.
18473 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18474 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18475 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18477 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18479 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18481 * textmodes/sgml-mode.el: Remove xml-mode alias.
18483 * files.el (auto-mode-alist, conf-mode-maybe)
18484 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18486 2009-09-24 Alan Mackenzie <acm@muc.de>
18488 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18489 c-forward-conditionals, but it doesn't move point and doesn't set
18491 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18492 (c-down-conditional-with-else, c-backward-conditional)
18493 (c-forward-conditional): Refactor to use c-scan-conditionals.
18495 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18497 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18498 (help-default-arg-highlight): Remove.
18499 (help-highlight-arg): New function.
18500 (help-do-arg-highlight): Use it.
18501 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18503 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18505 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18506 Undo last change, which didn't fix the problem and introduced others.
18508 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18510 * progmodes/gdb-mi.el: Don't require speedbar.
18511 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18513 2009-09-24 Glenn Morris <rgm@gnu.org>
18515 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18517 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18519 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18520 there is no newline after the final mime boundary. (Bug#4539)
18521 Move markers on insertion so that any buttons inserted don't end up in
18522 the next part of a multipart message.
18523 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18524 (rmail-mime-bulk-handler): Optionally handle images.
18525 (rmail-mime-image): New button action.
18526 (rmail-mime-image-handler): New function.
18527 (rmail-mime-mode): New mode.
18528 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18530 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18532 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18533 than just dropping elements from it (bug#4504).
18535 * term.el (term-set-scroll-region): Don't move cursor any more.
18536 (term-handle-ansi-escape): Call term-goto here instead.
18537 Suggested by Ivan Kanis <apple@kanis.eu>.
18539 * term.el: Require CL.
18540 (term-ansi-reset): New function.
18541 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18542 (term-handle-colors-array): Simplify.
18544 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18546 * allout.el (allout-overlay-interior-modification-handler)
18547 (allout-obtain-passphrase):
18548 * epa-file.el (epa-file-write-region):
18549 * ps-print.el (ps-begin-job):
18550 * vc-hooks.el (vc-toggle-read-only):
18551 * vc-rcs.el (vc-rcs-rollback):
18552 * vc-sccs.el (vc-sccs-rollback):
18553 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18554 (vc-version-diff, vc-revert, vc-rollback):
18555 * wdired.el (wdired-check-kill-buffer):
18556 * emacs-lisp/authors.el (authors):
18557 * net/socks.el (socks-open-connection):
18558 * net/zeroconf.el (zeroconf-service-add-hook):
18559 * obsolete/vc-mcvs.el (vc-mcvs-register):
18560 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18561 (gdb-select-frame):
18562 * progmodes/grep.el (lgrep, rgrep):
18563 * progmodes/idlw-help.el (idlwave-help-check-locations)
18564 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18565 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18566 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18567 (reftex-toc-rename-label): Fix typos in error messages.
18569 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18570 (dired-copy-how-to-fn): Doc fix.
18571 (dired-files-attributes, dired-read-shell-command):
18572 Fix typos in docstrings.
18574 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18575 (dired-x-find-file-other-window): Reflow docstrings.
18576 (dired-omit-marker-char, dired-read-shell-command)
18577 (dired-x-submit-report): Fix typos in docstrings.
18579 * shell.el (shell-mode-hook):
18580 * view.el (View-scroll-line-forward):
18581 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18582 Fix typos in docstrings.
18584 * net/dig.el (dig-invoke): Fix typo in docstring.
18585 (query-dig): Reflow docstring.
18587 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18588 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18589 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18590 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18591 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18592 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18593 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18594 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18595 (idlwave-completion-map, idlwave-current-indent)
18596 (idlwave-custom-ampersand-surround, idlwave-customize)
18597 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18598 (idlwave-define-abbrev, idlwave-determine-class-special)
18599 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18600 (idlwave-end-block-reg, idlwave-end-of-statement)
18601 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18602 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18603 (idlwave-explicit-class-listed, idlwave-file-header)
18604 (idlwave-fill-paragraph, idlwave-find-class-definition)
18605 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18606 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18607 (idlwave-in-quote, idlwave-indent-action-table)
18608 (idlwave-indent-expand-table, idlwave-indent-line)
18609 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18610 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18611 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18612 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18613 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18614 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18615 (idlwave-outlawed-buffers, idlwave-popup-select)
18616 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18617 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18618 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18619 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18620 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18621 (idlwave-statement-type, idlwave-struct-skip)
18622 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18623 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18624 (idlwave-what-module-find-class): Fix typos in docstrings.
18625 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18626 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18627 (idlwave-find-module, idlwave-find-structure-definition)
18628 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18629 (idlwave-list-load-path-shadows, idlwave-next-statement)
18630 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18631 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18632 (idlwave-template): Reflow docstrings.
18634 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18635 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18636 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18637 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18638 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18639 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18640 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18641 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18642 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18643 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18644 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18645 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18646 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18647 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18648 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18649 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18650 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18651 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18652 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18653 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18654 Fix typos in docstrings.
18655 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18656 (idlwave-shell-hide-output, idlwave-shell-mode)
18657 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18660 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18662 2009-09-24 Ivan Kanis <apple@kanis.eu>
18664 * term.el (term-bold-attribute): New var.
18665 (term-handle-colors-array): Use it.
18667 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18669 * progmodes/gdb-mi.el (gdb-version): New variable.
18670 (gdb-non-stop-handler): Set gdb-version.
18671 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18672 Condition "--thread" option on gdb-version.
18673 (gdb-invalidate-threads): Remove unused argument.
18675 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18677 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18678 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18680 2009-09-23 Glenn Morris <rgm@gnu.org>
18682 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18683 replying to mail without References or Message-Id. (Bug#4525)
18685 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18687 * term/ns-win.el (ns-reg-to-script): New variable.
18689 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18691 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18693 2009-09-22 Sam Steingold <sds@gnu.org>
18695 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18696 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18697 to 1 because hg returns status 1 when nothing is found.
18698 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18700 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18702 * textmodes/fill.el: Convert to utf-8 encoding.
18703 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18706 * add-log.el (change-log-fill-forward-paragraph): New function.
18707 (change-log-mode): Use it so fill-region DTRT.
18708 Set fill-indent-according-to-mode here rather than in
18709 change-log-fill-paragraph.
18710 (change-log-fill-paragraph): Remove.
18712 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18714 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18715 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18717 2009-09-22 Glenn Morris <rgm@gnu.org>
18719 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18720 the scroll-bar scroll the calendar window rather than the buffer.
18722 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18723 commands that move point (as opposed to scrolling).
18725 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18727 * emacs-lisp/elint.el (elint): New custom group.
18728 (elint-log-buffer): Make it a defcustom.
18729 (elint-scan-preloaded, elint-ignored-warnings)
18730 (elint-directory-skip-re): New options.
18731 (elint-builtin-variables): Doc fix.
18732 (elint-preloaded-env): New variable.
18733 (elint-unknown-builtin-args): Add an entry for encode-time.
18734 (elint-extra-errors): Make it a variable rather than a constant.
18735 (elint-preloaded-skip-re): New constant.
18736 (elint-directory): Skip files matching elint-directory-skip-re.
18737 (elint-features): New variable, local to linted buffers.
18738 (elint-update-env): Initialize elint-features. Possibly add
18739 elint-preloaded-env to the buffer's environment.
18740 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18742 (elint-init-form): New function, extracted from elint-init-env.
18743 Make non-list forms a warning rather than an error.
18744 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18745 easy-menu-define, put that adds an error-condition, and provide.
18746 When requiring cl, also require cl-macs. Really require cl, to handle
18747 some cl macros. Store required libraries in the list elint-features,
18748 so as not to re-load them. Treat cc-require like require.
18749 (elint-init-env): Call elint-init-form to do the work.
18750 Handle eval-and-compile and such like.
18751 (elint-add-required-env): Do not clear messages.
18752 (elint-special-forms): Add handlers for function, defalias, if, when,
18754 (elint-form): Add optional argument to ignore elint-special-forms,
18755 useful to prevent recursive calls from handlers. Doc fix.
18756 Respect elint-ignored-warnings.
18757 (elint-form): Respect elint-ignored-warnings.
18758 (elint-bound-variable, elint-bound-function): New variables.
18759 (elint-unbound-variable): Respect elint-bound-variable.
18760 (elint-get-args): Respect elint-bound-function.
18761 (elint-check-cond-form): Add some simple handling for (f)boundp and
18763 (elint-check-defalias-form): New handler.
18764 (elint-check-let-form): Make an empty let a warning rather than an
18766 (elint-check-setq-form): Make an empty setq a warning rather than an
18767 error. Respect elint-ignored-warnings.
18768 (elint-check-defvar-form): Accept null doc-strings.
18769 (elint-check-conditional-form): New handler. Does some simple-minded
18770 checking of featurep and (f)boundp tests.
18771 (elint-put-function-args): New function.
18772 (elint-initialize): Use elint-scan-doc-file rather than
18773 elint-find-builtin-variables. Use elint-put-function-args.
18774 Possibly scan preloaded-file-list.
18775 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18776 extend to handle functions as well.
18778 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18780 * linum.el (linum-delete-overlays, linum-update-window):
18781 Do not modify the right margin. (Bug#3971)
18783 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18785 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18786 Use nxml-mode instead of xml-mode.
18788 2009-09-21 Kevin Ryde <user42@zip.com.au>
18790 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18792 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18794 * net/dig.el (dig-mode): Use define-derived-mode.
18796 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18798 * vc-dispatcher.el (vc-do-command): Return the process object in
18799 the asynchronous case. Use when instead of if. Do not run
18800 vc-exec-after to display a message if not enabled. (Bug#4463)
18802 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18803 properties to the stash strings.
18804 (vc-git-stash-list): Return a list of strings.
18805 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18806 (vc-git-stash-show-at-point): New functions.
18807 (vc-git-stash-map): New keymap.
18809 * register.el (ctl-x-r-map): Define the keys here instead of
18812 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18814 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18815 list, to workaround performance problem (bug#4485).
18817 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18819 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18821 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18823 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18824 Document that this option is not recommended to use.
18826 2009-09-19 Glenn Morris <rgm@gnu.org>
18828 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18831 * calc/calc-alg.el (var):
18832 * calc/calcalg2.el (var): Define for compiler.
18834 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18836 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18837 Doc fix (Bug#3932).
18839 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18841 * time-stamp.el (time-stamp-month-dd-yyyy)
18842 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18843 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18844 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18845 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18846 Remove functions that have been obsolete since 1995 (Bug#4436).
18848 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18849 indent buffer only if called interactively (Bug#4452).
18851 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18852 Eli Zaretskii <eliz@gnu.org>
18854 This fixes bug#4197 (merged to bug#865, though not identical).
18855 * server.el (server-auth-dir): Add docstring note about FAT32.
18856 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18857 but warn against using them.
18859 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18861 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18862 older GDB where there is no has_more field.
18864 2009-09-19 Glenn Morris <rgm@gnu.org>
18866 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18868 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18870 * files.el (auto-mode-alist): Change default for XML files to nXML
18873 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18875 * server.el (server-ensure-safe-dir): Pass 'integer
18876 to `file-attributes', as suggested.
18878 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18880 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18881 (dired-query): Use read-key.
18883 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18885 * cus-start.el (ns-use-qd-smoothing): Remove.
18887 2009-09-18 Glenn Morris <rgm@gnu.org>
18889 * allout.el (top-level): Remove unnecessary progn.
18891 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18893 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18894 definition of abbrev table.
18896 * speedbar.el (speedbar-track-mouse):
18897 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18898 * net/eudc.el (eudc-expand-inline):
18899 * net/newst-backend.el (newsticker--cache-read-feed):
18900 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18901 condition-case handlers.
18903 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18905 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18906 (gdb-var-list): Add an element for has_more field.
18907 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18908 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18909 (gdb-var-update-handler-1): Parse output of dynamic variable
18910 objects (STL containers).
18911 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18912 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18914 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18916 (gud-speedbar-buttons): Make node expandable if expression "has more"
18919 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18921 * startup.el (emacs-quick-startup): Remove variable and all uses.
18922 (command-line): Set `inhibit-x-resources' instead.
18923 (command-line-1): Use `inhibit-x-resources' instead.
18925 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18927 * subr.el: Fix last change to avoid using the `unless' macro,
18928 which breaks bootstrapping.
18930 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18932 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18933 extended definitions, in case we reload subr.el after having
18935 (eval-next-after-load): Mark as obsolete.
18937 2009-09-17 Juri Linkov <juri@jurta.org>
18939 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18940 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18941 (menu-bar-showhide-menu, menu-bar-tools-menu)
18942 (menu-bar-describe-menu, menu-bar-help-menu)
18943 (minibuffer-local-completion-map, minibuffer-local-map):
18946 2009-09-17 Glenn Morris <rgm@gnu.org>
18948 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18949 arguments, whether or not it has a handler.
18951 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18953 * simple.el (hard-newline): Give it a doc-string.
18955 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18956 (lisp-mode-syntax-table): Give them doc-strings.
18958 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18960 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18961 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18962 (menu-bar-options-menu, menu-bar-showhide-menu)
18963 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18964 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18965 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18966 (menu-bar-options-menu, menu-bar-tools-menu)
18967 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18968 (menu-bar-help-menu):
18969 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18972 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18973 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18974 calls for the menu names and :help.
18976 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18978 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18979 to :minor-mode-function (bug#4455).
18981 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18983 * startup.el (command-line): Initialize the window-system after
18984 processing the command-line.
18986 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18987 page-delimiter matches the empty string.
18989 2009-09-16 Glenn Morris <rgm@gnu.org>
18991 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18992 byte-compile-not-obsolete-var. It's a list now.
18993 (byte-compile-not-obsolete-funcs): New variable.
18994 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18995 byte-compile-not-obsolete-funcs.
18996 (byte-compile-variable-ref, byte-compile-defvar): Update for
18997 byte-compile-not-obsolete-vars name-change and list nature.
18998 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18999 and variables behind (f)boundp tests.
19000 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19002 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19004 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19006 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19008 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19009 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19012 2009-09-15 Stephen Eglen <stephen@gnu.org>
19014 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19015 the virtual-buffers, use the name of the buffer specified by
19016 find-file-noselect, as the match may be a symlink. (This was a
19017 problem if the target and the symlink had different names.)
19019 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19021 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19023 * desktop.el (desktop-path): Check user-emacs-directory.
19025 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19027 * loadup.el: Use after-load-functions to GC after loading each file.
19028 Remove the explicit GC calls that used to be sprinkled around.
19030 * subr.el (after-load-functions): New hook.
19031 (do-after-load-evaluation): Run it. Use string-match-p to detect
19032 `obsolete' packages, rather than painfully extracting the relevant
19035 2009-09-15 Glenn Morris <rgm@gnu.org>
19037 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19038 free variable `doc'.
19040 * dired.el (dired-mode-map): Add menu entry for async shell command.
19042 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19043 variables, also consider the .elc files, since the .el files are
19044 normally gzipped (subsequent code locates the .el.gz from the .elc).
19046 * calc/calc-prog.el (arglist): Define for compiler.
19048 * calendar/diary-lib.el (diary-display-function): Change the default to
19050 (body): Define for compiler.
19052 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19053 (byte-compile-file-form, byte-compile-lambda)
19054 (byte-compile-top-level-body, byte-compile-form)
19055 (byte-compile-variable-ref, byte-compile-setq)
19056 (byte-compile-setq-default, byte-compile-body)
19057 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19058 (batch-byte-compile): Give some more local variables with common names
19059 a "bytecomp-" prefix to avoid masking warnings about free variables.
19061 * startup.el (command-line-1): Give local variables with common names a
19062 distinguishing prefix, so as not to hide free variable warnings during
19065 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19066 clever and add a suffix to make a unique name, just let the user decide
19067 whether or not to overwrite it. If the input is a directory, write the
19068 default filename to that directory. (Bug#4388)
19069 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19070 is a filename-as-a-directory.
19072 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19074 * textmodes/page.el (what-page): Don't move to beginning of line.
19075 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19077 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19079 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19081 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19083 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19084 * help.el (help-for-help-internal): Add purecopy calls for text.
19086 * vc.el (top): print-log method now takes an optional SHORTLOG
19087 argument. Add a new method: root.
19088 (vc-root-diff, vc-print-root-log): New functions.
19089 (vc-log-short-style): New variable.
19090 (vc-print-log-internal): Add support for showing short logs.
19092 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19093 vc-print-root-log and vc-print-root-diff.
19095 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19096 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19097 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19100 * vc-cvs.el (vc-cvs-print-log):
19101 * vc-mtn.el (vc-mtn-print-log):
19102 * vc-rcs.el (vc-rcs-print-log):
19103 * vc-sccs.el (vc-sccs-print-log):
19104 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19105 that is ignored for now.
19107 * vc-mtn.el (vc-mtn-annotate-command):
19108 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19110 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19112 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19113 to function-key-map, and give them ascii-character property.
19114 * term/x-win.el (x-alternatives-map):
19115 * term/ns-win.el (ns-alternatives-map):
19116 * term/internal.el (msdos-key-remapping-map):
19117 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19119 2009-09-14 Glenn Morris <rgm@gnu.org>
19121 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19122 temp-buffers (2009-09-12).
19124 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19126 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19127 the new read-key function.
19129 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19131 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19132 is defined (Bug#4405).
19134 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19136 * recentf.el (recentf-cleanup): Use a hash table to find
19137 duplicates (Bug#4407).
19139 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19141 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19142 kp-0 to ascii equivalents (Bug#4325).
19144 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19146 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19148 * eshell/em-hist.el:
19149 * eshell/em-dirs.el (eshell-complete-user-reference):
19150 Declare pcomplete functions and variables to avoid compiler warnings.
19152 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19154 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19155 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19156 * eshell/em-alias.el (eshell-aliases-file):
19157 * eshell/em-hist.el (eshell-history-file-name):
19158 Use expand-file-name instead of concat to make file names (Bug#4308).
19160 2009-09-13 Glenn Morris <rgm@gnu.org>
19162 * ediff-merg.el (ediff-do-merge):
19163 * filesets.el (filesets-run-cmd):
19164 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19165 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19166 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19167 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19168 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19169 Replace empty `let's with `progn'.
19171 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19173 * mail/sendmail.el (send-mail-function):
19174 * tooltip.el (tooltip-mode):
19175 * simple.el (transient-mark-mode):
19176 * rfn-eshadow.el (file-name-shadow-mode):
19177 * frame.el (blink-cursor-mode):
19178 * font-core.el (global-font-lock-mode):
19179 * files.el (temporary-file-directory)
19180 (small-temporary-file-directory, auto-save-file-name-transforms):
19181 * epa-hook.el (auto-encryption-mode):
19182 * composite.el (global-auto-composition-mode):
19183 Use custom-initialize-delay.
19184 * startup.el (command-line): Don't explicitly call
19185 custom-reevaluate-setting for all the above vars.
19186 * custom.el (custom-initialize-safe-set)
19187 (custom-initialize-safe-default): Delete.
19189 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19191 * term/x-win.el (x-initialize-window-system):
19192 * term/w32-win.el (w32-initialize-window-system):
19193 * term/ns-win.el (ns-initialize-window-system): Don't call
19194 mouse-wheel-mode since it's enabled globally by default already.
19196 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19197 actually define the variable, but only silences the byte-compiler.
19198 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19199 before looking it up.
19200 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19203 2009-09-12 Glenn Morris <rgm@gnu.org>
19205 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19207 (elint-add-required-env): Don't beep on error.
19208 (elint-forms): In case of error, return ENV unchanged.
19209 (elint-init-env): Skip non-list forms.
19210 (elint-log): Handle unknown file positions.
19212 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19214 * epg.el (epg-make-context): Add autoload cookie.
19215 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19216 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19217 (epg-verify-string, epg-start-sign, epg-sign-file)
19218 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19219 (epg-encrypt-string, epg-start-export-keys)
19220 (epg-export-keys-to-file, epg-export-keys-to-string)
19221 (epg-start-import-keys, epg-import-keys-from-file)
19222 (epg-import-keys-from-string, epg-start-receive-keys)
19223 (epg-receive-keys, epg-import-keys-from-server)
19224 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19225 (epg-sign-keys, epg-start-generate-key)
19226 (epg-generate-key-from-file, epg-generate-key-from-string):
19227 Remove autoload cookie.
19229 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19231 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19232 reevaluation of trash-directory.
19234 * mwheel.el: Fix last change.
19235 (mouse-wheel-mode): New defvar.
19236 (mouse-wheel-mode): Remove autoload cookie.
19238 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19240 * mwheel.el (mwheel-installed-bindings): New var.
19241 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19242 the bindings we set last time. Use custom-initialize-delay.
19243 * loadup.el: Load mwheel after term/*-win.el.
19244 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19245 and mouse-wheel-up-event now that their first evaluation is done
19246 sufficiently late to be correct.
19248 * startup.el (tutorial-directory): Make it a defcustom.
19249 Use custom-initialize-delay rather than eval-at-startup to set it.
19250 * image.el (image-load-path): Make it a defcustom.
19251 Use custom-initialize-delay rather than eval-at-startup to set it.
19252 * subr.el (eval-at-startup): Remove.
19253 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19255 * subr.el (do-after-load-evaluation): Warn the user after loading an
19258 2009-09-12 Glenn Morris <rgm@gnu.org>
19260 * proced.el (proced-mark-alt): Remove alias.
19261 (proced-mode-map): Remove proced-mark-alt.
19263 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19264 Elint file and directory. Remove initialization entry.
19266 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19268 (elint-current-buffer): Set mode-line-process.
19269 (elint-init-env): Handle define-derived-mode.
19270 Fix declare-function with unspecified arglist. Guard against odd
19271 defalias statements (eg iso-insert's 8859-1-map).
19272 (elint-add-required-env): Use a temp buffer.
19273 (elint-form): Just print the function/macro name, not the whole form.
19274 Return env unchanged if we fail to parse a macro.
19275 (elint-forms): Guard against parse errors.
19276 (elint-output): New function, to handle batch mode.
19277 (elint-log-message): Add optional argument. Use elint-output.
19278 (elint-set-mode-line): New function.
19280 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19282 * emacs-lisp/elp.el (elp-not-profilable): Add more
19283 functions (Bug#4233).
19285 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19287 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19288 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19290 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19292 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19293 (gdb-var-list-children): Use json parsing.
19295 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19297 * progmodes/js.el (js--proper-indentation): Handle the case where
19298 char-before is null. Reported by Deniz Dogan.
19300 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19302 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19304 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19306 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19307 (epg-digest-algorithm-alist): Add SHA224.
19308 (epg-context-set-passphrase-callback)
19309 (epg-context-set-progress-callback): Add description about
19312 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19314 * custom.el (custom-delayed-init-variables): New var.
19315 (custom-initialize-delay): New function.
19316 * startup.el (command-line): "Re"evaluate all vars in
19317 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19318 explicitly any more.
19319 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19320 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19322 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19324 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19326 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19327 (gdb-var-update-handler): Use json parsing.
19329 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19331 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19332 decode annotated text, regardless of language environment. (Bug#2741)
19334 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19336 * Makefile.in (autoloads): Make rmail.el writable as well.
19338 2009-09-11 Glenn Morris <rgm@gnu.org>
19340 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19342 * dired.el: Regenerate with extracted autoloads.
19343 * Makefile.in (autoloads): Make dired.el writable.
19345 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19346 * ibuffer.el: Regenerate with extracted autoloads.
19347 * Makefile.in (autoloads): Make ibuffer.el writable.
19349 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19350 * version.el (emacs-copyright, emacs-major-version)
19351 (emacs-minor-version): Reformat doc-strings for make-docfile.
19353 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19354 functions and variables, since they must be stuff specific to some other
19356 (apropos-print): Make mouse-click message less specific about button.
19358 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19359 that records where a macro was defined.
19360 * help-fns.el (describe-function-1): Mention if a function has a
19362 * help-mode.el (help-function-cmacro): New button.
19364 * locate.el (top-level): Always require dired.
19365 (locate-mode-map): Initialize inside the defvar.
19367 * net/ange-ftp.el (dired-compress-file): Declare.
19368 (ange-ftp-dired-compress-file): Add doc string.
19370 * term/ns-win.el (x-display-name, x-setup-function-keys):
19371 Unify doc-strings with X versions.
19373 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19375 * emulation/crisp.el (crisp-mode-map): Move initialization
19377 (crisp-mode): Use define-minor-mode.
19379 * progmodes/xscheme.el (xscheme-evaluation-commands):
19380 Put a :advertised-binding property rather than using
19381 advertised-xscheme-send-previous-expression.
19382 (advertised-xscheme-send-previous-expression): Declare obsolete.
19383 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19385 (crisp-mode): Add corresponding bindings to
19386 undo's :advertised-binding instead.
19387 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19388 than using dired-advertised-find-file.
19389 (dired-advertised-find-file):
19390 * simple.el (advertised-undo):
19391 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19392 (widget-keymap): Put a :advertised-binding property rather
19393 than using advertised-widget-backward.
19394 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19395 than using advertised-undo.
19396 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19398 2009-09-10 Simon South <ssouth@slowcomputing.org>
19400 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19401 Mark mode is enabled and region is active; otherwise indent or
19402 insert TAB as usual.
19403 (delphi-mode): Update description of TAB-key binding.
19405 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19407 * subr.el (define-key-rebound-commands): Mark obsolete.
19408 * startup.el (precompute-menubar-bindings): Remove.
19409 (normal-top-level): Remove obsolete code that tried to precompute
19411 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19412 define-key-rebound-commands and precompute-menubar-bindings.
19414 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19416 * net/imap.el (imap-interactive-login): Better messages.
19417 (imap-open): Fix bug with renamed buffer on reconnect.
19418 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19419 for easier debugging and cleaner code. On successful (guessed based on
19420 server capabilities) secondary authentication, set imap-state
19422 (imap-last-authenticator): Define imap-last-authenticator as a variable
19425 2009-09-10 Glenn Morris <rgm@gnu.org>
19427 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19429 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19430 (byte-compile-file-form-autoload): Don't warn about unknown functions
19431 where the autoload statement comes after the use.
19432 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19433 that any handlers inside the body (eg require) are in turn respected.
19435 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19438 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19439 and syntax and abbrev tables basic docs, if they don't have any.
19441 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19443 * international/mule-cmds.el (top-level): Require cl when compiling.
19444 (view-hello-file): Use default-value rather than
19445 default-enable-multibyte-characters.
19447 * progmodes/fortran.el: Move all safe and risky properties into the
19450 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19451 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19452 * mail/undigest.el:
19453 Put autoloads in rmail.el rather than loaddefs.el.
19454 * mail/rmail.el: Regenerate with extracted autoloads.
19456 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19457 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19459 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19461 Reported in thread for Bug#4375.
19462 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19463 "-data-evaluate-expression" instead of print.
19464 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19465 (gdb-tooltip-print): Parse output from above MI command.
19466 (gdb): Revert 2009-08-11 change. User should detach inferior
19469 Remove the word "separate" from IO functions as inferior
19470 output is now never displayed in the GUD buffer.
19472 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19474 * startup.el (command-line-normalize-file-name): On Windows and
19475 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19477 2009-09-10 Juri Linkov <juri@jurta.org>
19479 * isearch.el (isearch-text-char-description): Propertize escape
19480 character sequences with the `escape-glyph' face. (Bug#4344)
19482 * simple.el (shell-command): Set asynchronous process filter to
19483 `comint-output-filter'. (Bug#4343)
19485 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19486 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19487 the list. Move "asm" to the bottom.
19488 (grep-find-ignored-directories): Add `choice' with nil value
19489 to empty the list easily.
19490 (grep-find-ignored-files): New option.
19491 (grep-files-history): Set to nil by default instead of '("ch" "el").
19492 (grep-compute-defaults): Add "<X>" to `grep-template'.
19493 (grep-read-files): Bind new local variables `default-alias' and
19494 `default-extension'. Use a list of default values for the file prompt.
19495 (lgrep): Add `--exclude=' command line options composed from
19496 `grep-find-ignored-files'.
19497 (rgrep): Add `-name' command line options composed from
19498 `grep-find-ignored-files'. (Bug#4301)
19500 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19502 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19505 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19507 * calendar/time-date.el (autoload):
19508 Expand define-obsolete-function-alias into defalias and make-obsolete
19509 for old Emacsen that Gnus supports.
19510 (with-no-warnings): Define it for old Emacsen.
19511 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19513 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19514 float-time is available; suppress compile warning for time-to-seconds.
19516 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19518 * net/imap.el (imap-message-map): Docstring fix.
19520 2009-09-09 Glenn Morris <rgm@gnu.org>
19522 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19523 line numbers too. (Bug#4374)
19525 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19527 * smerge-mode.el (smerge-remove-props, smerge-refine):
19528 Use with-silent-modifications (bug#4342).
19530 * subr.el (with-silent-modifications): New macro.
19532 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19534 * files.el (top-level): Require `cl' when compiling.
19536 2009-09-07 Glenn Morris <rgm@gnu.org>
19538 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19540 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19541 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19543 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19545 * vc-git.el (vc-git-annotate-command): Use separator to parse
19546 arguments correctly.
19548 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19550 * proced.el (proced-mode): Doc fix.
19552 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19554 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19556 (tramp-do-file-attributes-with-ls): Check for file existence at
19558 (tramp-do-file-attributes-with-stat): Likewise.
19559 (tramp-convert-file-attributes): Return nil when attr is nil.
19561 2009-09-05 Glenn Morris <rgm@gnu.org>
19563 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19564 properties to this button.
19565 (diary-fancy-display): Don't extend the button to the final newline.
19566 (diary-fancy-display-mode): Continue to define "q" as a local key.
19568 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19571 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19573 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19574 (byte-compile-dest-file-function): New option.
19575 (byte-compile-dest-file): Doc fix.
19576 Obey byte-compile-dest-file-function.
19577 (byte-compile-cl-file-p): New function.
19578 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19579 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19580 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19581 than for file being previously loaded.
19582 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19583 (byte-compile-file-form-require): Handle the case where requiring a file
19584 indirectly causes CL to be loaded.
19586 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19588 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19589 before killing the old buffer, since by the time `kill-buffer' is
19590 run so many buffer variables have been set to nil that it may not
19591 behave as expected. (Bug#4061)
19593 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19595 * files.el (find-alternate-file): If the old buffer is modified
19596 and visiting a file, behave similarly to `kill-buffer' when
19597 killing it, thus reverting to the pre-1.878 behavior; see
19598 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19599 for discussion. Also, consult `buffer-file-name' as a variable
19600 not as a function, for consistency with the rest of the code.
19602 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19604 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19605 also when adding a new directory.
19607 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19610 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19612 * files.el (locate-file-completion-table): Make it provide boundary
19613 information, so partial-completion works better.
19615 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19617 * mail/footnote.el (Footnote-text-under-cursor):
19618 Check footnote-text-marker-alist before using it (bug#4324).
19620 2009-09-04 Glenn Morris <rgm@gnu.org>
19622 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19623 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19624 * play/solitaire.el, play/tetris.el:
19625 Remove leading * from defcustom and defface docs.
19627 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19629 (diary-fancy-overriding-map): New variable.
19630 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19633 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19636 2009-09-03 Glenn Morris <rgm@gnu.org>
19638 * arc-mode.el (archive-mode):
19639 * dos-fns.el (set-default-process-coding-system):
19640 * man.el (Man-getpage-in-background):
19641 * menu-bar.el (menu-bar-describe-menu):
19642 * server.el (server-process-filter):
19643 * startup.el (command-line):
19644 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19645 * w32-fns.el (set-default-process-coding-system):
19646 * x-dnd.el (x-dnd-handle-file-name):
19647 * international/mule-cmds.el (mule-menu-keymap)
19648 (set-default-coding-systems, language-info-alist, set-language-info)
19649 (set-language-environment, standard-display-european-internal)
19650 (set-locale-environment):
19651 * international/mule-diag.el (mule-diag):
19652 * mail/emacsbug.el (report-emacs-bug):
19653 * mail/rmail.el (rmail-mode):
19654 * mail/sendmail.el (mail-setup):
19655 Use default-value rather than default-enable-multibyte-characters.
19657 * progmodes/f90.el: Move all safe properties into the defcustoms.
19658 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19660 * calendar/appt.el (appt-check):
19661 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19662 (diary-check-diary-file, diary-list-entries)
19663 (diary-include-other-diary-files, diary-simple-display)
19664 (diary-fancy-display, diary-print-entries)
19665 (diary-mark-included-diary-files, diary-make-entry):
19666 Don't call substitute-in-file-name on diary-file.
19668 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19669 Stefan Monnier <monnier@iro.umontreal.ca>
19671 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19672 (footnote-mode-map): Move initialization into the declaration.
19673 (footnote-minor-mode-map): Define it rather than changing global-map.
19674 (footnote-mode): Use define-minor-mode.
19676 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19678 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19679 (tramp-do-file-attributes-with-perl)
19680 (tramp-do-file-attributes-with-stat): Rename from
19681 `tramp-handle-file-attributes-with-*'.
19682 (tramp-handle-file-attributes): Use them.
19683 (tramp-do-directory-files-and-attributes-with-perl)
19684 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19685 `tramp-handle-directory-files-and-attributes-with-*'.
19686 (tramp-handle-directory-files-and-attributes): Use them.
19687 (tramp-method-out-of-band-p): Additional parameter SIZE.
19688 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19689 (tramp-handle-write-region): Use it.
19690 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19691 (tramp-handle-vc-registered): Check, whether the first run did
19692 return files to be tested.
19693 (tramp-advice-make-auto-save-file-name): Do not call directly
19694 `tramp-handle-make-auto-save-file-name', because this would bypass
19695 the locking mechanism.
19697 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19698 (file-remote-p, process-file, start-file-process, set-file-times)
19699 (tramp-compat-file-attributes): Compatibility functions shall not
19700 call directly `tramp-handle-*', because this would bypass the
19702 (tramp-compat-number-sequence): New defun.
19704 2009-09-02 Glenn Morris <rgm@gnu.org>
19706 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19707 alias for float-time.
19708 (time-to-number-of-days): In Emacs, use float-time.
19709 * net/newst-backend.el (time-add): Suppress warnings from compat
19711 * time.el (emacs-uptime, emacs-init-time):
19712 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19713 Use float-time rather than time-to-seconds.
19715 * minibuffer.el (completion-initials-expand): Fix typo.
19717 * faces.el (modeline, modeline-inactive, modeline-highlight)
19718 (modeline-buffer-id):
19719 * info.el (info-menu-5): Mark these face aliases as obsolete.
19721 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19723 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19725 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19726 no "--thread" option.
19727 (gdb-stopped): Don't print "Switched to thread" message when it is
19730 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19732 * minibuffer.el (completion-try-completion)
19733 (completion-all-completions): Remove ill-defined (and
19734 mistakenly installed and luckily never used nor documented)
19735 `completion-styles' property.
19736 (completion-initials-expand, completion-initials-all-completions)
19737 (completion-initials-try-completion): New functions.
19738 (completion-styles-alist): Add doc to each entry.
19739 Add new `initials' entry.
19741 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19743 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19744 MI command -var-evaluate-expression.
19745 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19746 and tweak for case of string child.
19747 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19749 2009-09-01 Glenn Morris <rgm@gnu.org>
19751 * add-log.el (change-log-date-face, change-log-name-face)
19752 (change-log-email-face, change-log-file-face, change-log-list-face)
19753 (change-log-conditionals-face, change-log-function-face)
19754 (change-log-acknowledgement-face):
19755 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19756 (custom-modified-face, custom-set-face, custom-changed-face)
19757 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19758 (custom-documentation-face, custom-state-face, custom-comment-face)
19759 (custom-comment-tag-face, custom-variable-tag-face)
19760 (custom-variable-button-face, custom-face-tag-face)
19761 (custom-group-tag-face-1, custom-group-tag-face):
19762 * diff-mode.el (diff-header-face, diff-file-header-face)
19763 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19764 (diff-added-face, diff-changed-face, diff-function-face)
19765 (diff-context-face, diff-nonexistent-face):
19766 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19767 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19768 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19769 (Info-title-4-face):
19770 * isearch.el (isearch-lazy-highlight-face):
19771 * log-view.el (log-view-file-face, log-view-message-face):
19772 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19773 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19774 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19776 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19777 (smerge-base-face, smerge-markers-face):
19778 * wid-edit.el (widget-documentation-face, widget-button-face)
19779 (widget-field-face, widget-single-line-field-face)
19780 (widget-inactive-face, widget-button-pressed-face):
19781 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19782 (woman-addition-face):
19783 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19784 (eshell-ls-executable-face, eshell-ls-readonly-face)
19785 (eshell-ls-unreadable-face, eshell-ls-special-face)
19786 (eshell-ls-missing-face, eshell-ls-archive-face)
19787 (eshell-ls-backup-face, eshell-ls-product-face)
19788 (eshell-ls-clutter-face):
19789 * eshell/em-prompt.el (eshell-prompt-face):
19790 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19791 * obsolete/old-whitespace.el (whitespace-highlight-face):
19792 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19793 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19794 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19795 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19796 (antlr-font-lock-literal-face):
19797 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19798 (ebrowse-root-class-face, ebrowse-file-name-face)
19799 (ebrowse-default-face, ebrowse-member-attribute-face)
19800 (ebrowse-member-class-face, ebrowse-progress-face):
19801 * progmodes/make-mode.el (makefile-space-face):
19802 * progmodes/sh-script.el (sh-heredoc-face):
19803 * textmodes/flyspell.el (flyspell-incorrect-face)
19804 (flyspell-duplicate-face):
19805 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19806 * textmodes/texinfo.el (texinfo-heading-face):
19807 Mark face aliases with "-face" suffix as obsolete.
19809 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19812 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19813 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19814 easy-menu-define wants to modify these.
19816 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19818 * net/browse-url.el (browse-url-file-url):
19819 * term/internal.el (dos-codepage-setup):
19820 Use default-value rather than default-enable-multibyte-characters.
19822 * progmodes/etags.el (etags-goto-tag-location):
19823 * progmodes/flymake.el (flymake-highlight-line)
19824 (flymake-goto-file-and-line, flymake-goto-line):
19825 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19826 (gdb-goto-breakpoint):
19827 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19828 * progmodes/python.el (python-find-function)
19829 (python-pdbtrack-track-stack-file):
19830 * progmodes/verilog-mode.el (verilog-surelint-off):
19831 * term/ns-win.el (ns-open-file-select-line):
19832 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19833 Use forward-line rather than goto-line.
19835 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19836 * textmodes/reftex-index.el (reftex-display-index):
19837 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19838 * textmodes/reftex-toc.el (reftex-toc):
19839 Remove unnecessary bindings of default-major-mode (all are followed by
19840 major-mode check and possible mode switch).
19842 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19844 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19845 Handle watchpoints (bug#4282).
19846 (def-gdb-thread-buffer-command): Enable thread to be selected by
19847 clicking without selecting threads buffer first.
19848 (gdb-current-context-command): Use selected frame so that "up",
19849 "down" etc work in the GUD buffer.
19850 (gdb-update): Find selected frame before rendering stack buffer.
19851 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19853 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19855 * progmodes/sym-comp.el (displayed-completions): Remove.
19856 (symbol-complete): Use minibuffer-complete.
19858 2009-08-31 Glenn Morris <rgm@gnu.org>
19860 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19862 * apropos.el (apropos-symbols-internal):
19863 Handle (obsolete) face aliases.
19865 * faces.el (describe-face): Adjust the output format to be more like
19866 describe-variable, and to mention (obsolete) face aliases.
19867 Adjust the whitespace so that help-setup-xref works.
19869 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19870 * calendar/diary-lib.el (diary-button-face):
19871 Mark these face aliases as obsolete.
19873 * calendar/calendar.el (calendar-today): Doc fix.
19875 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19877 * progmodes/gdb-mi.el (gdb-control-all-threads)
19878 (gdb-control-current-thread): Force tool bar update.
19879 (gdb-non-stop-handler): New function.
19880 (gdb-init-1): Use it to test if non-stop mode is supported.
19881 Remove unused gdbmi buffer type.
19883 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19885 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19886 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19888 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19890 * comint.el (comint-exec-1): Check command is non-null first.
19891 Part of gdb-mi.el change (2009-08-28).
19893 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19895 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19897 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19899 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19900 instead of `dolist' to avoid a recursive require when bootstrapping.
19902 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19904 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19906 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19908 * net/imap.el (imap-send-command): Simplify.
19909 (imap-wait-for-tag): point-max -> buffer-size.
19911 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19913 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19914 with constant argument.
19916 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19918 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19920 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19921 Change default, since most of our files don't have a history.
19922 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19925 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19928 * calc/calc.el: Improve commenting convention.
19929 (calc-digit-map, toplevel): Simplify.
19931 * comint.el (comint-insert-input): Be careful to only set point if we
19932 don't delegate to some other command.
19934 * proced.el (proced-signal-list): Make it an alist.
19935 (proced-grammar-alist): Capitalize names.
19936 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19937 Disable undo manually and make it read-only.
19938 Use completion-annotate-function.
19940 * minibuffer.el (minibuffer-message): If the current buffer is not
19941 a minibuffer, insert the message in the echo area rather than at the
19943 (completion-annotate-function): New variable.
19944 (minibuffer-completion-help): Use it.
19945 (completion--embedded-envvar-table): Environment vars are
19946 always case-sensitive.
19948 2009-08-30 Glenn Morris <rgm@gnu.org>
19950 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19951 from fortran-current-defun.
19952 (fortran-beginning-of-subprogram): Be more precise about finding the
19953 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19954 (fortran-end-of-subprogram): Simplify.
19955 (fortran-current-defun): Use fortran-start-prog-re.
19957 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19959 * subr.el (do-after-load-evaluation): Simplify.
19961 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19963 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19965 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19966 (vc-rcs-print-log): Use it.
19968 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19970 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19972 * paths.el (abbrev-file-name): Move to abbrev.el.
19973 * abbrev.el (abbrev-file-name): Move from paths.el.
19974 Obey user-emacs-directory.
19975 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19976 user-emacs-directory.
19977 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19978 abbrev-file-name and calc-settings-file any more.
19979 * startup.el (command-line): Recompute abbrev-file-name and
19980 abbreviated-home-dir.
19981 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19982 of the special code for when C-h bindings haven't been changed.
19983 (display-startup-echo-area-message): Use with-current-buffer.
19984 (command-line-1): Use a list of strings, rather than a list of lists
19985 of strings for longopts.
19987 * files.el (get-free-disk-space): Use / for default-directory.
19989 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19990 Use with-current-buffer.
19992 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19993 Recognize immutable variables like most-positive-fixnum.
19994 (byte-compile-setq-default): Check and warn if trying to assign
19995 to an immutable variable, or a non-variable.
19997 * progmodes/cc-vars.el (c-comment-continuation-stars):
19998 * progmodes/cc-engine.el (c-looking-at-bos):
19999 * progmodes/cc-cmds.el (c-toggle-auto-state)
20000 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20001 (c-comment-line-break-function): Add version of obsolescence.
20003 2009-08-28 Juri Linkov <juri@jurta.org>
20005 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20006 associated with `archive-mode'.
20008 * image.el (image-type-header-regexps): Use only JPEG magic number
20009 to determine JPEG images, and don't use `image-jpeg-p' because
20010 Emacs can display non-JFIF non-Exif JPEG images.
20012 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20014 * arc-mode.el (archive-mode):
20015 * emacs-lisp/re-builder.el (re-builder-unload-function):
20016 Protect against the default value of `major-mode' being nil.
20018 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20020 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20021 Fix typos in docstrings.
20023 * progmodes/js.el (js--macro-decl-re): Doc fix.
20024 (js--plain-method-re, js--split-name): Refloc docstring.
20025 (js--class-styles, js--make-merged-item, js--splice-into-items):
20026 Fix typos in docstrings; reflow docstrings.
20027 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20028 (js--variable-decl-matcher, js--inside-pitem-p)
20029 (js--parse-state-at-point, js--get-all-known-symbols)
20030 (js--symbol-history, js-find-symbol, js--js-references)
20031 (js--moz-interactor, js--js-encode-value, js--read-tab):
20032 Fix typos in docstrings.
20034 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20036 * textmodes/reftex.el (reftex-get-file-buffer-force):
20037 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20038 * emulation/viper.el (viper-go-away, viper-set-hooks):
20039 * emacs-lisp/re-builder.el (re-builder-unload-function):
20040 * emacs-lisp/bytecomp.el (byte-compile-file):
20041 * ses.el (ses-unload-function):
20042 * hexl.el (hexl-find-file):
20043 * files.el (normal-mode):
20044 * ehelp.el (with-electric-help):
20045 * autoinsert.el (auto-insert-alist):
20046 * arc-mode.el (archive-mode):
20047 Use (default-value 'major-mode) instead of default-major-mode.
20049 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20050 * international/mule.el (load-with-code-conversion):
20051 * emacs-lisp/debug.el (debug):
20052 * ediff-vers.el (ediff-rcs-get-output-buffer):
20053 * dired.el (dired-internal-noselect): Don't let-bind
20054 default-major-mode around code that doesn't use it.
20055 E.g. buffer creation via get-buffer-create doesn't use it.
20057 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20059 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20060 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20061 when writing the temp file. Otherwise, epa-file gets confused.
20062 (tramp-register-file-name-handlers): Make it a defun. Move also
20063 `epa-file-handler' to the front of `file-name-handler-alist'.
20065 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20067 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20068 start right after a ^M.
20069 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20070 (tramp-completion-file-name-regexp-separate)
20071 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20072 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20073 Don't modify last-coding-system-used by accident.
20074 (tramp-completion-file-name-handler): Apply the checks here,
20075 instead during registration.
20076 (tramp-register-file-name-handlers): Rename from
20077 `tramp-register-file-name-handler'. Register both
20078 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20079 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20081 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20083 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20084 Remove variable ...
20085 (gdb-init-1, gdb-display-separate-io-buffer)
20086 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20088 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20089 (gdb-inferior-filter): Use comint-output-filter to stop
20090 echoing and remove ^M characters.
20092 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20094 * emulation/viper-init.el (viper-restore-cursor-type):
20095 * emulation/cua-base.el (cua--update-indications):
20096 Replace default-cursor-type with (default-value 'cursor-type).
20098 * mail/sendmail.el (mail-recover-1):
20099 * international/mule-diag.el (describe-current-coding-system-briefly)
20100 (describe-current-coding-system):
20101 * international/mule-cmds.el (select-safe-coding-system)
20102 (select-message-coding-system)
20103 (set-language-environment-coding-systems, set-locale-environment):
20104 * hexl.el (hexl-insert-multibyte-char):
20105 * dos-w32.el (find-buffer-file-type-coding-system):
20106 * simple.el (what-cursor-position):
20107 Replace uses of default-buffer-file-coding-system
20108 with (default-value 'buffer-file-coding-system).
20110 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20111 Replace uses of default-cursor-in-non-selected-windows
20112 with (default-value 'cursor-in-non-selected-windows).
20113 Use with-current-buffer.
20115 * mail/feedmail.el: Use CL macros.
20116 (feedmail-run-the-queue, feedmail-send-it-immediately):
20117 * dos-w32.el (find-buffer-file-type): Replace uses of
20118 default-buffer-file-type with (default-value 'buffer-file-type).
20120 2009-08-28 Glenn Morris <rgm@gnu.org>
20122 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20123 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20124 Use default-value of major-mode rather than default-major-mode.
20126 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20128 * Makefile.in (update-elcfiles): Report left over elc files.
20130 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20131 expand-file-name and with-current-buffer.
20132 (mail-get-names, mail-directory): Use with-current-buffer.
20134 * vc.el (vc-read-revision): New function.
20135 (vc-version-diff, vc-merge): Use it.
20137 2009-08-27 Sam Steingold <sds@gnu.org>
20139 * simple.el (kill-do-not-save-duplicates): New user option.
20140 (kill-new): When it is non-nil, and the new string is the same as
20141 the latest kill, set replace to t to avoid duplicates in kill-ring.
20143 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20145 * net/tramp.el (tramp-handle-process-file): Do not flush all
20146 caches when `process-file-side-effects' is set.
20147 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20148 instead of `tramp-find-file-exists-command'.
20149 Unset `process-file-side-effects'.
20151 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20153 * net/tramp.el (tramp-methods): New method "rsyncc".
20154 (top): Add completion function for "rsyncc".
20155 (tramp-message-show-message): New defvar.
20156 (tramp-message, tramp-error): Use it.
20157 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20159 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20160 `tramp-methods' entry `copy-env' of "rsyncc".
20161 (tramp-vc-registered-read-file-names): New defconst.
20162 (tramp-vc-registered-file-names): New defvar.
20163 (tramp-handle-vc-registered): Implement optimization strategy.
20164 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20165 (tramp-vc-file-name-handler): New defun.
20166 (tramp-get-ls-command, tramp-get-test-command)
20167 (tramp-get-file-exists-command, tramp-get-remote-ln)
20168 (tramp-get-remote-perl, tramp-get-remote-stat)
20169 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20171 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20172 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20174 (tramp-get-file-property): Check for timestamps in
20175 `tramp-cache-inhibit-cache'.
20176 (tramp-set-file-property): Write timestamp.
20178 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20180 * language/japan-util.el (japanese-symbol-table): Add entries for
20183 * international/characters.el: Add category `j' to cp932-2-byte.
20185 2009-08-27 Kenichi Handa <handa@m17n.org>
20187 * international/fontset.el (build-default-fontset-data): New macro.
20188 (setup-default-fontset): Use build-default-fontset-data for CJK,
20189 tibetan, ethiopic, and ipa.
20191 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20193 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20194 (enable-multibyte-characters): Not customizable any more.
20196 * subr.el (default-mode-line-format, default-header-line-format)
20197 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20198 (default-direction-reversed, default-truncate-lines)
20199 (default-left-margin, default-tab-width, default-case-fold-search)
20200 (default-left-margin-width, default-right-margin-width)
20201 (default-left-fringe-width, default-right-fringe-width)
20202 (default-fringes-outside-margins, default-scroll-bar-width)
20203 (default-vertical-scroll-bar, default-indicate-empty-lines)
20204 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20205 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20206 (default-scroll-down-aggressively, default-fill-column)
20207 (default-cursor-type, default-buffer-file-type)
20208 (default-cursor-in-non-selected-windows)
20209 (default-buffer-file-coding-system, default-major-mode)
20210 (default-enable-multibyte-characters): Mark as obsolete.
20212 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20214 * vc-dir.el (vc-dir-update): Remove debug helper.
20216 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20218 2009-08-26 Sam Steingold <sds@gnu.org>
20220 * simple.el (save-interprogram-paste-before-kill): New user option.
20221 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20222 save the interprogram-paste into kill-ring before overriding it
20223 with the Emacs kill.
20225 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20227 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20228 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20229 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20230 and move to vc-rcs.el.
20231 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20233 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20234 (vc-rcs-update-changelog): Remove.
20235 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20236 and move to vc-rcs.el.
20238 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20239 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20241 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20242 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20243 vc.el, renamed to be RCS specific.
20245 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20247 (vc-cvs-update-changelog): Move here from vc.el.
20249 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20252 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20254 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20256 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20258 * vc-git.el (vc-git-register): Use "git add" for directories.
20259 (vc-git-stash, vc-git-stash-show): New functions.
20260 (vc-git-extra-menu-map): Bind them.
20262 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20263 directory correctly in case the item is a directory itself.
20265 * vc.el: Document the desired behavior for reverted files in the
20267 (vc-default-prettify-state-info): Remove function, unused.
20269 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20271 2009-08-26 Glenn Morris <rgm@gnu.org>
20273 * bindings.el (standard-mode-line-format): Reposition dashes in
20274 which-func entry. (Bug#4217)
20276 * files.el (enable-local-variables, enable-local-eval)
20277 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20279 (auto-mode-alist, ignored-local-variables)
20280 (save-some-buffers-action-alist): Move risky declarations to the
20282 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20283 (font-lock-defaults, format-alist, imenu--index-alist)
20284 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20285 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20286 (mode-line-modified, mode-line-mule-info, mode-line-position)
20287 (mode-line-process, mode-line-remote, outline-level)
20288 (parse-time-rules, rmail-output-file-alist)
20289 (special-display-buffer-names, vc-mode):
20290 Move risky declarations to the relevant files.
20291 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20292 (mode-line-modified, mode-line-process, mode-line-position)
20293 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20294 * font-core.el (font-lock-defaults):
20295 * format.el (format-alist):
20296 * vc-hooks.el (vc-mode):
20297 * window.el (special-display-buffer-names):
20298 * international/mule-cmds.el (input-method-alist):
20299 Define riskiness here (dumped file) rather than in files.el.
20300 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20301 * imenu.el (imenu-generic-expression, imenu--index-alist):
20302 * outline.el (outline-level):
20303 * time.el (display-time-string):
20304 * calendar/parse-time.el (parse-time-rules):
20305 * mail/rmailout.el (rmail-output-file-alist):
20306 Autoload riskiness here, rather than placing in files.el.
20308 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20310 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20312 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20314 * simple.el (process-file-side-effects): New defvar.
20316 * dired-aux.el (dired-show-file-type):
20317 * vc.el (vc-diff-internal):
20318 * vc-arch.el (vc-arch-diff):
20319 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20320 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20321 * vc-git.el (vc-git-registered, vc-git-working-revision)
20322 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20323 (vc-git--empty-db-p):
20324 * vc-hooks.el (vc-user-login-name):
20325 * vc-svn.el (vc-svn-registered, vc-svn-state)
20326 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20327 * progmodes/grep.el (grep-probe): Let-bind
20328 `process-file-side-effects' with nil.
20330 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20332 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20333 daemon. Replace ping by checking for running service for bluez
20334 and zeroconf. (Bug#4239)
20336 2009-08-25 Kevin Ryde <user42@zip.com.au>
20338 * net/dig.el (dig): Add autoload cookie.
20340 2009-08-25 Glenn Morris <rgm@gnu.org>
20342 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20343 load-history for absolute file-names.
20344 (byte-compile-file-form-require): Warn about use of the cl package.
20346 * format.el (format-alist): Doc fix.
20348 * play/bubbles.el (top-level): Don't require cl at run-time.
20350 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20353 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20355 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20357 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20359 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20361 * calc/calc-alg.el (math-trig-rewrite)
20362 (math-hyperbolic-trig-rewrite): New functions.
20363 (calc-simplify): Simplify trig functions when asked.
20365 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20367 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20369 2009-08-24 Kenichi Handa <handa@m17n.org>
20371 * language/ind-util.el (mapthread): Delete it.
20372 (combinatorial): New function.
20373 (indian--puthash-cv): Use combinatorial instead of mapthread.
20375 2009-08-22 Kevin Ryde <user42@zip.com.au>
20377 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20378 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20379 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20380 Clarify docstring that the value is strings not symbols.
20381 (checkdoc-list-of-strings-p): New function.
20383 2009-08-22 Glenn Morris <rgm@gnu.org>
20385 * files.el (auto-mode-alist):
20386 * hippie-exp.el (he-concat-directory-file-name):
20387 * lpr.el (lpr-windows-system, printer-name):
20388 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20389 * ps-print.el (ps-windows-system):
20390 * startup.el (command-line):
20391 * emulation/viper-ex.el (viper-glob-function):
20392 * international/mule-cmds.el (set-language-environment-coding-systems):
20393 * net/ange-ftp.el (ange-ftp-write-region):
20394 * obsolete/fast-lock.el (fast-lock-cache-name):
20395 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20396 unisoft-unix, vax-vms, win32, w32.
20398 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20399 given name if the pattern is not more specific.
20401 * calendar/lunar.el (lunar-phase-names): New option.
20402 (lunar-phase): Doc fix.
20403 (lunar-cycles-per-year): New constant.
20404 (lunar-index): New function.
20405 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20406 (lunar-phase-name): Use lunar-phase-names.
20407 (calendar-lunar-phases): Use format.
20408 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20410 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20411 Copy imenu-example--name-and-position function here for own use.
20412 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20414 * bs.el (bs--redisplay):
20415 * cus-edit.el (custom-redraw):
20416 * ibuffer.el (ibuffer-bury-buffer):
20417 * server.el (server-goto-line-column):
20418 * startup.el (command-line-1):
20419 * strokes.el (strokes-xpm-for-stroke):
20420 * term.el (term-display-buffer-line):
20421 * view.el (View-goto-line):
20422 * calc/calc.el (calc-do, calc-trail-buffer):
20423 * play/gamegrid.el (gamegrid-add-score-insecure):
20424 * progmodes/ada-mode.el (ada-compile-goto-error):
20425 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20426 (ebrowse-select-1st-to-9nth):
20427 * progmodes/cperl-mode.el (cperl-time-fontification):
20428 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20429 * progmodes/gud.el (gud-display-line):
20430 (idlwave-shell-display-line):
20431 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20432 * progmodes/make-mode.el (makefile-browser-toggle):
20433 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20434 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20435 * textmodes/picture.el (picture-draw-rectangle):
20436 * textmodes/reftex-index.el (reftex-index-goto-letter):
20437 (reftex-select-jump-to-previous):
20438 * textmodes/reftex-sel.el (reftex-find-start-point)
20439 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20440 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20441 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20442 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20443 * textmodes/two-column.el (2C-associated-buffer):
20444 Use forward-line rather than goto-line.
20446 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20449 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20450 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20451 (quick-check-list-to-regexp): Declare.
20453 * progmodes/make-mode.el (makefile-browser-insert-selection):
20454 Use goto-char rather than goto-line.
20456 * progmodes/prolog.el (compilation-error-regexp-alist)
20457 (compilation-forget-errors): Declare.
20459 2009-08-22 Juri Linkov <juri@jurta.org>
20461 * progmodes/grep.el (lgrep, rgrep): At the beginning
20462 set `dir' to `default-directory' unless `dir' is a non-nil
20463 readable directory. (Bug#4052)
20464 (lgrep, rgrep): Change a weird way to report an error
20465 from using `read-string' to using `error'.
20466 Instead of using interactive arguments in the function body,
20467 add new argument `confirm'.
20469 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20471 * textmodes/remember.el (remember-buffer):
20472 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20473 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20474 (icalendar-extract-ical-from-buffer):
20475 * net/newst-treeview.el (newsticker-groups-filename):
20476 * net/newst-backend.el (newsticker-cache-filename):
20477 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20478 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20479 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20480 (speedbar-buffers-line-path, speedbar-path-line)
20481 (speedbar-buffers-line-path):
20482 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20484 * epa.el (epa-display-verify-result):
20485 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20487 2009-08-21 Glenn Morris <rgm@gnu.org>
20489 * progmodes/js.el (inferior-moz-process): Fix declaration.
20491 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20493 * obsolete/rnewspost.el (news-mail-reply):
20494 Use goto-char rather than goto-line.
20496 * term/ns-win.el (ns-open-file-select-line):
20497 Use line-beginning-position rather than goto-line.
20499 * apropos.el (apropos-command):
20500 * ehelp.el (electric-helpify):
20501 * printing.el (pr-show-setup):
20502 * strokes.el (strokes-help):
20503 * tutorial.el (tutorial--describe-nonstandard-key)
20504 (tutorial--detailed-help):
20505 * woman.el (woman-mini-help, woman-display-extended-fonts):
20506 * calc/calc-help.el (calc-describe-key):
20507 * emulation/edt.el (edt-electric-helpify):
20508 * international/mule-diag.el (mule-diag):
20509 * play/yow.el (apropos-zippy):
20510 * progmodes/python.el (python-describe-symbol):
20511 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20512 * textmodes/table.el (*table--cell-describe-mode)
20513 (*table--cell-describe-bindings):
20514 Use help-print-return-message rather than the now obsolete alias.
20516 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20517 (calendar-cursor-to-visible-date):
20518 * play/5x5.el (5x5-position-cursor):
20519 * play/decipher.el (decipher):
20520 * play/gomoku.el (gomoku-goto-xy):
20521 * play/landmark.el (lm-goto-xy):
20522 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20523 (mpuz-paint-digit):
20524 Use forward-line, not goto-line.
20526 * mail/rmail.el (rmail-obsolete): Delete custom group.
20527 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20528 (rmail-remote-password, rmail-remote-password-required):
20529 Remove unneeded :set-after and :set properties.
20531 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20533 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20535 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20537 * loadup.el: Remove leftover macos code.
20539 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20540 Explicitly pass the date format to git blame so that user local
20541 so that the output format can be parsed.
20543 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20545 * net/dbus.el (top): Don't check for (getenv
20546 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20548 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20550 * log-edit.el (log-edit-strip-single-file-name): New var.
20551 (log-edit-insert-changelog): Use it. Bug#3571
20553 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20555 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20558 * help.el (help-print-return-message): Rename from
20559 print-help-return-message.
20561 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20562 cvs-mode-map parent hack.
20563 (log-view-mode): Derive from special-mode.
20565 * linum.el (linum-mode): window-size-change-functions is redundant.
20566 Adapt to new window-configuration-change-hook behavior.
20567 (linum-after-size, linum-after-config): Remove.
20569 * imenu.el (imenu-example--name-and-position)
20570 (imenu-example--lisp-extract-index-name)
20571 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20574 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20575 (inferior-prolog-mode): Use it.
20576 (inferior-prolog-load-file): Reset list of errors.
20578 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20580 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20582 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20584 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20586 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20587 is running already.
20589 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20591 * subr.el (listify-key-sequence-1): Use normal syntax since those
20592 integers are nowadays always represented by the same (positive) number
20594 (read-key-empty-map): New const.
20595 (read-key-delay): New var.
20596 (read-key): New function.
20597 (force-mode-line-update): Use with-current-buffer.
20598 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20599 (start-process-shell-command, start-file-process-shell-command):
20600 Discourage the use of command-args.
20602 2009-08-19 Glenn Morris <rgm@gnu.org>
20604 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20606 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20608 * simple.el (choose-completion-string): Don't rely on
20609 minibuffer-completing-file-name and ad-hoc checks to decide whether
20610 to continue completion or not.
20612 * minibuffer.el (minibuffer-hide-completions): New function.
20613 (completion--do-completion): Use it.
20614 (completions-annotations): New face.
20615 (completion--insert-strings): Use it.
20616 (completion-pcm--delim-wild-regex): Add docstring.
20617 (completion-pcm--string->pattern): Add support for 0-width delimiters
20618 in completion-pcm--delim-wild-regex.
20620 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20622 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20623 Remove unused var `buffer-modified-p'.
20625 * minibuffer.el (completion--do-completion): Move point for the #b001
20626 case as well (bug#4176).
20627 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20629 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20631 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20632 and :session buses.
20634 2009-08-18 Kenichi Handa <handa@m17n.org>
20636 * international/ucs-normalize.el (ucs-normalize-version):
20638 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20639 (utf-8-hfs): Make it perform normalization on encoding too.
20641 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20642 (sentence-end-without-space): Delete duplicated chars.
20643 (sentence-end-base): Likewise.
20645 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20646 (html-mode): Delete duplicated chars from sentence-end-base.
20648 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20649 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20651 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20653 * files.el (hack-one-local-variable): If the mode function is for
20654 a minor mode, pass it an argument (Bug#4148).
20656 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20658 * net/tramp.el (tramp-register-completion-file-name-handler):
20659 Check also for (member 'partial-completion completion-styles).
20661 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20663 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20666 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20668 * progmodes/cperl-mode.el: Merge upstream 6.2.
20669 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20670 (cperl-forward-re): Check cperl-brace-recursing.
20671 (cperl-highlight-charclass): New function.
20672 (cperl-find-pods-heres): Use it.
20673 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20674 (cperl-beautify-regexp-piece): Fix column calculation.
20675 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20676 (cperl-beautify-level): Don't process entire regexp.
20677 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20679 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20680 (cperl-init-faces): Build a list in the normal way.
20682 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20684 * calendar/parse-time.el (parse-time-string-chars): Save match
20687 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20689 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20690 (sql-product): Use it.
20691 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20692 (sql-set-product): Add completion.
20693 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20694 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20695 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20696 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20697 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20698 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20699 (sql-highlight-db2-keywords): Remove.
20700 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20701 (sql-highlight-product): Use derived-mode-p.
20702 (sql-set-sqli-buffer): Use with-current-buffer.
20703 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20706 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20708 * term.el: Fix commenting convention, turn comments into docstrings.
20710 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20712 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20714 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20716 * calendar/parse-time.el (parse-time-string-chars): Compute using
20717 character classes, to handle non-ascii characters (Bug#3190).
20719 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20721 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20722 another heredoc if the user adds another < (Bug#3226).
20724 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20725 Don't initialize based on window-system (Bug#4124).
20727 * facemenu.el (facemenu-read-color): Use a completion function
20728 that accepts any defined color, such as RGB triplets (Bug#3677).
20730 * files.el (get-free-disk-space): Change fallback default
20731 directory to /. Expand DIR argument before switching to fallback.
20732 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20734 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20736 * files.el (load-library): Doc fix.
20738 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20740 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20741 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20742 incremental search string.
20744 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20747 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20748 (ediff-merge-region-is-non-clash)
20749 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20750 Also check if the job is really a merge job.
20752 * ediff.el (ediff-current-file): New function.
20754 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20756 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20758 (js-insert-and-indent): Delete function.
20759 (js-mode-map): Don't bind keys to js-insert-and-indent.
20760 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20761 (js-end-of-defun): Rename from js--end-of-defun.
20762 (js-auto-indent-flag): Delete variable.
20764 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20766 * progmodes/js.el: Remove proclaim statement.
20767 Defvar which-func-imenu-joiner-function to silence compiler.
20769 * files.el (auto-mode-alist): Use js-mode for .js files.
20771 * progmodes/js2-mode.el: Remove file.
20773 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20775 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20777 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20779 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20780 Karl Landstrom <karl.landstrom@brgeight.se>
20782 * progmodes/js.el: New file.
20784 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20786 * timezone.el (timezone-parse-date): Add ability to understand ISO
20787 basic format (minimal separators) dates in addition to the
20788 already-supported extended format dates.
20790 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20792 * international/ucs-normalize.el: Add a `coding' file variable.
20794 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20796 2009-08-14 Sam Steingold <sds@gnu.org>
20798 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20800 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20802 * faces.el (help-argument-name): Define it here instead of
20803 help-fns.el, because in daemon mode help-fns.el may be loaded when
20804 faces are still uninitialized (Bug#1078).
20806 * help-fns.el (help-argument-name): Move defface to faces.el.
20808 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20810 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20811 create buffer with a pty but no process so that GDB can make the
20812 inferior the controlling process.
20814 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20816 * international/ucs-normalize.el: New file.
20818 2009-08-13 Richard Stallman <rms@gnu.org>
20820 * mail/rmail.el (rmail-get-attr-names):
20821 Accept an attribute header that is too short.
20823 * mail/rmail.el (rmail-forget-messages):
20824 Ignore nil elt in rmail-message-vector. Use dotimes.
20826 * progmodes/compile.el (compilation-goto-locus):
20827 Use next-error-move-function.
20829 * simple.el (next-error-move-function): New variable.
20831 2009-08-12 Juri Linkov <juri@jurta.org>
20833 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20834 always non-nil. (Bug#4052)
20836 * replace.el (read-regexp): Return empty string when
20837 `default-value' is nil.
20838 (keep-lines-read-args): Don't use empty string as the
20839 default value for `read-regexp'. (Bug#2495)
20841 2009-08-12 Juri Linkov <juri@jurta.org>
20843 * international/mule-cmds.el (ucs-insert): Change arguments
20844 from `arg' to `character', `count', `inherit' to be the same
20845 as in `insert-char'. Doc fix. (Bug#4039)
20847 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20849 2009-08-12 Juri Linkov <juri@jurta.org>
20851 * files-x.el: New file.
20853 * files.el: Move code that deals with adding/deleting
20854 file/directory-local variables to files-x.el.
20856 * Makefile.in (ELCFILES): Add files-x.elc.
20858 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20860 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20861 to use `goto-line'.
20862 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20864 (gdb-invalidate-disassembly): Do not refresh upon receiving
20865 'update signal. Instead, update all disassembly buffers only after
20867 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20868 (gdb-starting): Move -data-list-register-names...
20869 (gdb-stopped): ...here so it's sent when first thread stops.
20870 (gdb-registers-handler-custom): Do nothing if register names are
20873 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20874 from `gdb-mi.el' to avoid extra tangling.
20876 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20877 change which breaks `gud-def' definitions used in `gdb'.
20878 (gdb-update-gud-running): No extra fuss for updating frame number.
20880 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20882 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20883 (describe-language-environment-map, setup-language-environment-map)
20884 (set-coding-system-map): Move initialization into declaration.
20885 (set-language-info-alist): Last arg to define-key-after can be skipped.
20887 * international/quail.el (quail-completion-1): Simplify.
20888 (quail-define-rules): Use slightly more compact code.
20889 (quail-insert-decode-map): Propertize keys, compact columns.
20891 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20894 2009-08-10 Miles Bader <miles@gnu.org>
20896 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20897 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20898 (js2-instance-member, js2-private-member, js2-private-function-call)
20899 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20900 (js2-magic-paren, js2-external-variable):
20901 Remove "-face" suffix from face names.
20902 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20903 (js2-highlight-undeclared-vars, js2-peek-token)
20904 (js2-parse-function-params, js2-mode-show-errors)
20905 (js2-mode-show-warnings, js2-make-magic-delimiter)
20906 (js2-mode-highlight-magic-parens): Update to use new face names.
20908 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20910 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20911 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20913 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20915 * subr.el: Provide hashtable-print-readable.
20917 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20918 hs-c-like-adjust-block-beginning.
20919 (hs-hide-block-at-point): Stop hiding at the beginning of
20920 hs-block-end-regexp (Bug#700).
20922 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20924 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20926 (gdb-registers-handler-custom): Do not fail when register names
20929 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20931 * progmodes/gdb-mi.el (gdb-control-all-threads)
20932 (gdb-control-current-thread): Interactive setters for
20933 `gdb-gud-control-all-threads' to use in menu.
20934 (gdb-show-run-p): Show «Go» when process is not active.
20935 (gud-tool-bar-map): Add non-stop/A,T indicator.
20936 Uses gud/thread.xpm and gud/all.xpm.
20938 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20940 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20941 (nslookup-font-lock-keywords): Make it a variable.
20942 (net-utils-mode): New mode for viewing diagnostic network output.
20943 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20944 (net-utils-run-simple): New function.
20945 (ifconfig, iwconfig, netstat, arp, route): Use it.
20947 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20949 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20950 (gdb-memory-set-address, def-gdb-set-positive-number)
20951 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20952 after changing settings.
20953 (gdb-invalidate-disassembly): Update when first shown.
20954 (gdb-edit-locals-value): Fix.
20955 (gdb-registers-handler-custom): Print registers in right order and
20956 allow changing register values (only for current thread yet).
20957 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20958 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20959 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20960 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20961 Thread info in mode name.
20962 (gdb-registers-mode-map): TAB to switch to locals.
20964 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20966 * mail/rmail.el (rmail-add-mbox-headers)
20967 (rmail-set-message-counters-counter): Search for
20968 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20970 2009-08-08 Glenn Morris <rgm@gnu.org>
20972 * Makefile.in (ELCFILES): Update.
20974 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20976 * mail/sendmail.el (mail-yank-original):
20977 Set buffer-file-coding-system from the one used by the message whose
20980 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20981 to "windows" when "pgnuplot" is used.
20982 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20983 Don't call accept-process-output if "pgnuplot" is used.
20984 (calc-graph-init): Don't send -display and -geometry to
20985 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20986 running "pgnuplot -V" with shell-command-to-string.
20988 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20991 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20993 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20996 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20998 * vc-dispatcher.el (vc-resynch-window): Update comment.
21000 * term.el (term-handle-ansi-escape): Add comments with the
21001 terminfo capabilities implemented.
21003 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21005 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21006 (gdb-var-create-handler): Rewritten using JSON parser.
21007 (gdb-propertize-header): Move earlier.
21008 (gdb-set-header): Remove to avoid duplication.
21009 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21010 Refresh disassembly buffers only after threads list have been
21012 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21015 2009-08-04 Juri Linkov <juri@jurta.org>
21017 * files.el: Commands to add/delete file/directory-local variables.
21018 (read-file-local-variable, read-file-local-variable-value)
21019 (read-file-local-variable-mode, modify-file-local-variable)
21020 (modify-file-local-variable-prop-line)
21021 (modify-dir-local-variable): New functions.
21022 (add-file-local-variable, delete-file-local-variable)
21023 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21024 (add-dir-local-variable, delete-dir-local-variable)
21025 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21026 (copy-dir-locals-to-file-locals-prop-line): New commands.
21028 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21030 * abbrev.el (insert-abbrev-table-description): Prettify output.
21031 Suggested by Karl Chen.
21033 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21035 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21036 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21037 (gdb-overlay-arrow-position, gdb-thread-position)
21038 (gdb-disassembly-position): Declare variables.
21039 (gdb-wait-for-pending): Function now.
21040 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21041 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21042 compilation goes smoothly.
21043 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21044 (gdb-non-stop-setting): New customization setting which replaces
21045 `gdb-non-stop' so changing it doesn't break active GDB session.
21046 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21047 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21048 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21049 (gdb-show-threads-by-default): New customization options.
21050 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21052 (gdb-get-buffer-create): Send buffers update signal when they are
21054 (gdb-invalidate-locals, gdb-invalidate-registers)
21055 (gdb-invalidate-breakpoints)
21056 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21057 (gdb-invalidate-memory): Accept update signal.
21058 (gdb-current-context-command): Use --frame option.
21059 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21060 Implement `gdb-frame-number' selection logic.
21061 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21062 whether to show GUD toolbar buttons.
21063 (gdb-thread-exited): Unselect current thread when it exits.
21064 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21065 (gdb-mark-line): Routine which sets overlay arrow or inverses
21066 video on fringeless displays.
21067 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21068 to build aligned columns of data in GDB buffers and set text
21069 properties line-by-line.
21070 (gdb-invalidate-breakpoints)
21071 (gdb-breakpoints-list-handler-custom)
21072 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21073 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21074 (gdb-registers-handler-custom): Align data columns.
21075 (gdb-locals-handler-custom): Now prints data like in variable
21077 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21078 Remove confusing buttons.
21079 (gdb-invalidate-threads): Append --frame.
21080 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21081 between breakpoints/threads buffers.
21082 (gdb-set-window-buffer): Now can ignore dedicated windows.
21083 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21084 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21085 (def-gdb-thread-buffer-gud-command): Replaces
21086 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21087 for fine thread control.
21088 (gdb-preempt-existing-or-display-buffer): New function used to
21089 display bound buffers without breaking window layout.
21090 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21091 (gdb-select-frame): New version of `gdb-frames-select' which now
21092 sets `gdb-frame-number' so commands may use --frame option instead
21093 of inner debugger state.
21094 (gdb-frame-handler): Do not set `gdb-frame-number'.
21095 (gdb-threads-mode-map): Select threads with mouse.
21097 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21098 avoid compilation warning.
21099 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21102 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21103 Argument `key' renamed to `buffer-type'.
21104 (gdb-current-context-buffer-name): Do not add thread info to
21105 buffer name when no thread is selected.
21106 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21107 command (bug 3794).
21108 (gdb-thread-selected): Handle `=thread-selected' notification.
21109 (gdb-wait-for-pending): New macro to deal with congestion problems.
21110 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21112 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21113 This fixes problem similar to one described in bug 3947.
21114 (gud-menu-map): More menu items.
21115 (gdb-init-1): Reset `gdb-thread-number' to nil.
21117 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21120 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21121 (gdb-current-context-command): Do not append --thread if
21122 `gdb-thread-number' is nil.
21123 (gdb-running-threads-count, gdb-stopped-threads-count):
21125 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21126 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21127 New customization options.
21128 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21130 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21131 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21132 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21133 set `gdb-thread-number' and update `gud-running' properly.
21134 (gdb-running): Update threads list when new threads appear.
21135 (gdb-stopped): Support non-stop operation and new thread switching
21137 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21138 (gdb-json-partial-output): New set of JSON routines.
21139 (def-gdb-auto-update-trigger): New `signal-list' optional
21141 (gdb-thread-list-handler-custom): Update `gud-running',
21142 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21143 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21144 (gdb-continue-thread, gdb-step-thread): New commands for fine
21145 thread execution control.
21146 (gud-menu-map): New menu items to switch non-stop options.
21147 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21148 (gdb-send): Mimic RET properly (bug 3794).
21150 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21151 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21153 (def-gdb-auto-update-handler): New nopreserve optional argument.
21154 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21156 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21157 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21158 (gdb-parent-mode): New mode to derive other GDB modes from.
21159 (gdb-display-disassembly-for-thread)
21160 (gdb-frame-disassembly-for-thread): New commands for threads
21163 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21164 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21165 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21166 (gdb-update): We now store all GDB buffers in a list so that they
21167 can be updated by traversing a list instead of calling invalidate
21168 triggers explicitly.
21169 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21170 pair for GDB buffer.
21171 (gdb-stack-buffer-name): Add thread information.
21172 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21173 handle pending triggers.
21174 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21175 (def-gdb-thread-buffer-simple-command)
21176 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21177 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21178 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21179 New commands which show buffers bound to thread.
21180 (gdb-stack-list-locals-regexp): Remove unused regexp.
21182 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21183 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21184 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21185 to (gud-comint-buffer) in *-buffer-name functions
21186 because (gdb-get-target-string) already does that.
21187 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21188 (gdb-changed-registers-handler): Rewritten without regexps.
21190 * progmodes/gdb-mi.el: Basic thread selection support.
21191 (gdb-thread-number): New variable.
21192 (gdb-current-context-command): New macro which adds --thread
21194 (gdb-threads-mode-map): Select thread with SPC.
21195 (gdb-thread-list-handler-custom): Mark current thread with overlay
21196 arrow. Synchronize GDB thread and Emacs thread.
21197 (gdb-select-thread): New command which selects current thread.
21198 (gdb-invalidate-frames, gdb-invalidate-locals)
21199 (gdb-invalidate-registers): Use --thread option.
21201 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21203 * net/tramp.el (top): Make check for tramp-gvfs loading more
21205 (tramp-handle-insert-file-contents): `unwind-protect' must be
21206 inside `with-parsed-tramp-file-name'.
21208 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21211 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21213 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21214 directory if CLASSPATH is not set.
21216 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21218 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21220 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21222 2009-08-02 Kevin Ryde <user42@zip.com.au>
21224 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21225 Update freshmeat link. Delete newsforge.com as it seems gone.
21227 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21229 * select.el (x-set-selection): Doc fix (Bug#4021).
21231 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21233 * help-fns.el (describe-variable): Treat list return values from
21234 dir-locals-find-file properly (Bug#4005).
21236 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21238 * net/tramp.el (tramp-debug-message): Print also microseconds.
21240 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21242 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21244 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21245 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21248 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21249 (tramp-get-file-property): Use it.
21251 * autorevert.el (auto-revert-handler):
21252 Allow `auto-revert-tail-mode' for remote files.
21254 2009-08-02 Jason Rumney <jasonr@gnu.org>
21256 * minibuffer.el (read-file-name): Treat confirm options to
21257 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21259 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21261 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21262 (font-lock-variable-name-face, font-lock-constant-face):
21263 Darken the colors for light backgrounds.
21265 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21267 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21268 month names. (Bug#3987)
21270 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21272 * simple.el (line-move-finish): Pass whole number to
21273 line-move-to-column.
21274 (line-move-visual): Perform hscroll to the recorded position.
21276 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21278 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21280 2009-07-29 Alan Mackenzie <acm@muc.de>
21282 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21284 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21286 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21287 (gdb-place-breakpoints): Use full path when setting breakpoints.
21289 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21291 * calc/calc.el (calc-mode-map): Add keybinding for
21292 `calc-transpose-lines'.
21294 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21296 * calc/calc-misc.el (calc-transpose-lines): New function.
21298 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21300 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21301 Simplify check for out-of-band methods.
21302 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21303 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21305 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21307 * vc-git.el (vc-git-checkin): Fix typo.
21309 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21311 * progmodes/js2-mode.el: New file.
21313 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21315 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21316 (gud-menu-map): Adjust tooltip accordingly.
21318 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21320 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21321 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21323 * add-log.el (change-log-mode-map): Add a menu.
21325 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21327 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21328 function returns nil.
21329 (dbus-handle-event): Handle special return value :ignore.
21330 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21332 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21334 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21337 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21341 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21343 * term/pc-win.el (x-display-name, x-colors)
21344 (x-select-enable-clipboard, x-select-text): Doc fix.
21346 * term/common-win.el (x-display-name, x-colors): Doc fix.
21348 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21349 (xw-defined-colors): Doc fix.
21351 * w32-fns.el (x-select-text, x-setup-function-keys)
21352 (x-get-selection, x-set-selection): Doc fix.
21354 * term/x-win.el (x-select-text, x-setup-function-keys)
21355 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21357 * select.el (x-set-selection): Doc fix.
21359 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21361 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21362 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21363 "IsNSSSupportAvailable" method is not available.
21364 Reported by Steve Youngs <steve@sxemacs.org>.
21366 2009-07-24 Kenichi Handa <handa@m17n.org>
21368 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21369 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21370 (build-unicode-category-table): Fix range checks.
21372 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21374 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21375 the buffer we try to sync is current when calling
21378 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21379 not show up to date files.
21381 2009-07-24 Glenn Morris <rgm@gnu.org>
21383 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21384 Add autoload cookies. If necessary, initialize.
21385 (elint-log): Handle non-file buffers.
21386 (elint-initialize): Add optional argument to reinitialize.
21387 (elint-find-builtin-variables): Save excursion.
21389 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21391 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21394 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21396 * vc.el (vc-print-log-internal): New function, split out from ...
21397 (vc-print-log): ... here.
21398 (vc-dir-move-to-goal-column): Declare.
21400 * vc-git.el (vc-git-add-signoff): New variable.
21401 (vc-git-checkin): Use it.
21402 (vc-git-toggle-signoff): New function.
21403 (vc-git-extra-menu-map): Bind it to menu.
21404 (vc-git--run-command-string): Accept a nil FILE argument.
21405 (vc-git-stash-list): New function.
21406 (vc-git-dir-extra-headers): Use it.
21408 2009-07-23 Glenn Morris <rgm@gnu.org>
21410 * help-fns.el (describe-variable): Describe ignored and risky local
21411 variables in a similar way to that in which we describe safe ones.
21413 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21414 (byte-compile-output-file-form, byte-compile-output-docform)
21415 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21416 Give some more local variables with common names a "bytecomp-" prefix,
21417 so as not to shadow things during compilation.
21418 * emacs-lisp/cl-macs.el (load-time-value)
21419 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21420 `outbuffer' to `bytecomp-outbuffer'.
21422 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21423 since the next two variables cover them automatically now.
21424 (elint-builtin-variables, elint-autoloaded-variables): New.
21425 (elint-unknown-builtin-args): Remove all members, since they can be
21426 parsed automatically now.
21427 (elint-extra-errors): New.
21428 (elint-env-add-env, elint-env-add-macro): Use cadr.
21429 (elint-current-buffer): Use or. Change final message.
21430 (elint-get-top-forms): Use line-end-position.
21431 (elint-init-env): Use cadr. Handle autoload, declare-function,
21433 (elint-add-required-env): Doc fix. Use or. Standardize error.
21434 (regexp-assoc): Remove unused function.
21435 (elint-top-form): Set elint-current-pos, to record the start of the
21436 top-level form, for compilation-mode.
21437 (elint-form): Trap errors in macro expansion. Use dolist.
21438 (elint-unbound-variable): Use elint-builtin-variables and
21439 elint-autoloaded-variables.
21440 (elint-get-args): Use cadr, or.
21441 (elint-check-cond-form): Use dolist, cadr.
21442 (elint-check-condition-case-form): Doc fix. Use cadr.
21443 Use elint-extra-errors.
21444 (elint-log): New function.
21445 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21446 Distinguish errors and warnings.
21447 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21448 Use a bytecomp-style format.
21449 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21450 (elint-get-log-buffer): Use compilation mode. Disable undo.
21451 Don't truncate lines.
21452 (elint-initialize): Set builtin and autoloaded variable lists.
21453 Only process elint-unknown-builtin-args if non-nil.
21454 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21456 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21458 2009-07-22 Kevin Ryde <user42@zip.com.au>
21460 * net/newst-backend.el (newsticker--parse-atom-1.0)
21461 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21462 (newsticker--parse-rss-1.0):
21463 * progmodes/idlwave.el (idlwave-mode):
21464 * progmodes/idlw-shell.el (idlwave-shell-mode):
21465 * progmodes/vera-mode.el (vera-mode):
21466 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21467 * progmodes/vhdl-mode.el (vhdl-mode):
21468 * textmodes/table.el (table-generate-source)
21469 (table--warn-incompatibility):
21470 Hyperlink urls in docstrings with URL `...'.
21472 2009-07-22 Glenn Morris <rgm@gnu.org>
21474 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21475 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21476 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21477 Remove leading * from defcustom docs.
21479 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21481 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21483 (list-load-path-shadows): Optionally, just return shadows as a string.
21485 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21487 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21489 * mail/rmailedit.el (rmail-edit-mode):
21490 Use auto-save-include-big-deletions.
21492 * mail/rmail.el (rmail-variables):
21493 Use auto-save-include-big-deletions.
21495 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21498 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21500 * calc/calc.el (calc-undo-length): New variable.
21501 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21503 2009-07-21 Richard Stallman <rms@gnu.org>
21505 * files.el (auto-save-mode): Handle buffer-save-size = -2
21508 2009-07-21 Glenn Morris <rgm@gnu.org>
21510 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21512 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21514 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21515 silence compiler. Instead...
21516 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21517 (ps-print-ensure-fontified): Update for above function name changes.
21519 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21520 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21521 silence compiler. Instead...
21522 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21523 (mh-show-buffer): Only define for compiler.
21524 (pr-mh-current-message): Update for above function name changes.
21526 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21528 (find-file-noselect, insert-file-1): Update for above change.
21530 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21532 * mail/mailclient.el (mailclient-send-it): Fix message.
21534 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21535 (edebug-eval): Check cl-debug-env is bound.
21536 (print-level, print-circle): Don't redefine built-in variables.
21538 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21539 (custom-print-vectors): Remove old comments from doc.
21541 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21542 (emerge-version): Make the variable an obsolete alias for the
21543 emacs-version variable. Make the function obsolete.
21544 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21545 Emerge options, rather than merging in into the main Options menu.
21546 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21547 and auto advance modes. Disable edit/fast items when not relevant.
21549 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21551 * term/vt420.el (terminal-init-vt420): Fix typo.
21553 2009-07-20 Sam Steingold <sds@gnu.org>
21555 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21556 variable (removed from compile.el on 2004-03-11).
21558 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21560 * files.el (hack-local-variables-filter): Fix last change.
21562 2009-07-19 Juri Linkov <juri@jurta.org>
21564 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21565 (dir-local-variables-alist): New buffer-local variable.
21566 (hack-local-variables-filter): If variable is not dir-local,
21567 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21568 because file-local overrides dir-local.
21569 (c-postprocess-file-styles) <declare-function>:
21570 Remove obsolete declaration.
21571 (hack-dir-local-variables): Add dir-local variable/value pair to
21572 `dir-local-variables-alist' and remove duplicates. Doc fix.
21574 * help-fns.el (describe-variable): Add information about
21575 file-local and dir-local variables.
21577 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21579 * files.el (hack-local-variables-filter): Rewrite.
21581 2009-07-19 Glenn Morris <rgm@gnu.org>
21583 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21584 Silence compiler by only defining on XEmacs.
21586 * international/mule.el (auto-coding-regexp-alist): Only match
21587 BABYL... at the start of buffer, not of lines. (Bug#3790)
21589 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21590 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21591 (cal-menu-context-mouse-menu): Doc fix.
21593 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21595 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21597 2009-07-18 Juri Linkov <juri@jurta.org>
21599 * info.el: Virtual Info keyword finder.
21600 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21601 (Info-finder-file): New variable.
21602 (Info-finder-find-file): New function.
21603 (finder-known-keywords, finder-package-info)
21604 (find-library-name, lm-commentary): Use defvar and
21605 declare-function to silence compiler warnings.
21606 (Info-finder-find-node): New function.
21607 (info-finder): New command.
21609 * subr.el (process-kill-buffer-query-function): New function.
21610 (add-hook)<kill-buffer-query-functions>: Add hook
21611 `process-kill-buffer-query-function'.
21613 2009-07-18 Alan Mackenzie <acm@muc.de>
21615 * progmodes/cc-mode.el (c-before-hack-hook)
21616 (c-postprocess-file-styles): Give invocation of `c-set-style'
21617 DONT-OVERRIDE parameter of t. Already set style variables will
21618 thus not be overridden by style settings given by `c-file-syle'.
21620 * files.el (hack-local-variables-filter): Remove entries with
21621 duplicate keys from `file-local-variables-alist'.
21623 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21625 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21626 x-set-selection if display-selections-p returns nil for the
21629 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21631 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21633 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21635 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21636 Accept nil in addition to a regexp.
21637 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21638 Accept nil in addition to a regexp.
21639 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21640 buffers that have an associated file. Handle nil values of
21641 desktop-buffers-not-to-save and desktop-files-not-to-save.
21644 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21645 (x-disown-selection-internal): New functions.
21647 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21649 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21651 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21652 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21654 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21656 * simple.el (set-mark): Revert last change.
21658 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21660 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21661 rendering of pngs is not possible instead of messaging a long
21664 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21666 * w32-fns.el (x-selection-owner-p): New function.
21668 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21669 (mouse-yank-at-click, mouse-yank-primary):
21670 If select-active-regions is non-nil, deactivate the mark before
21673 * simple.el (deactivate-mark, set-mark): Only save selection if we
21676 2009-07-17 Kenichi Handa <handa@m17n.org>
21678 * case-table.el (describe-buffer-case-table): Fix for the case
21679 that KEY is a cons.
21681 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21683 * vc-rcs.el (vc-rcs-find-file-hook):
21684 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21686 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21688 * net/tramp.el (tramp-wait-for-output): Handle the case when
21689 commands do not return a newline but a null byte before the shell
21692 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21694 * term/ns-win.el (ns-set-alpha): Don't declare.
21695 (ns-set-background-alpha): Remove function.
21697 2009-07-16 Kevin Ryde <user42@zip.com.au>
21699 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21700 y-or-n-p, for safety.
21702 2009-07-16 Richard Stallman <rms@gnu.org>
21704 * files.el (auto-save-mode): If buffer-saved-size is -2,
21707 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21708 (rmail-retry-ignored-headers): Add more uninteresting fields.
21710 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21712 * net/rcirc.el (rcirc): Use history variables.
21713 (rcirc-server-name-history, rcirc-nick-name-history)
21714 (rcirc-server-port-history): New variables.
21716 2009-07-15 Kenichi Handa <handa@m17n.org>
21718 * international/mule-cmds.el (set-language-environment-charset):
21719 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21722 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21723 Delete unibyte-display.
21725 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21727 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21729 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21731 * simple.el (deactivate-mark): Optional argument FORCE.
21732 (set-mark): Use deactivate-mark.
21734 * info.el (Info-search): No need to check transient-mark-mode
21735 before calling deactivate-mark.
21737 * select.el (x-set-selection): Doc fix.
21738 (x-valid-simple-selection-p): Allow buffer values.
21739 (xselect--selection-bounds): Handle buffer values.
21740 Suggested by David De La Harpe Golden.
21742 * mouse.el (mouse-set-region, mouse-drag-track):
21743 Call copy-region-as-kill before setting the mark, to let
21744 select-active-regions work.
21746 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21748 * simple.el (deactivate-mark): If select-active-regions is
21749 non-nil, copy the selection data into a string.
21750 (activate-mark): If select-active-regions is non-nil, set the
21751 selection to the current buffer.
21752 (set-mark): Update selection if select-active-regions is non-nil.
21754 * select.el (x-valid-simple-selection-p): Allow buffer values.
21756 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21758 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21759 and more featureful message-mode.
21761 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21763 * select.el (x-set-selection): Doc fix.
21764 (x-valid-simple-selection-p): Disallow selection data consisting
21765 of a list or cons of integers, since that is not used.
21766 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21767 (xselect-convert-to-string, xselect-convert-to-length)
21768 (xselect-convert-to-filename, xselect-convert-to-charpos)
21769 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21771 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21773 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21774 output in -break-info command (Emacs bug #3794).
21776 2009-07-14 Glenn Morris <rgm@gnu.org>
21778 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21779 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21780 (edebug-print-length, edebug-print-level, edebug-print-circle)
21781 (edebug-sit-for-seconds, edebug-view-outside)
21782 (edebug-bounce-point, edebug-set-global-break-condition)
21783 (edebug-Go-nonstop-mode, edebug-trace-mode)
21784 (edebug-Trace-fast-mode, edebug-continue-mode)
21785 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21786 (edebug-visit-eval-list): Doc fixes.
21788 * subr.el (def-edebug-spec): Doc fix.
21790 2009-07-14 Kenichi Handa <handa@m17n.org>
21792 * international/characters.el: Fix setting of category ?C.
21794 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21796 * term/ns-win.el (x-select-font): defalias x-select-font to
21797 ns-popup-font-panel instead of generate-fontset-menu.
21799 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21801 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21803 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21805 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21806 the PK\003\004 header (Bug#3770).
21808 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21810 * pcomplete.el (pcomplete-comint-setup): Check for
21811 shell-dynamic-complete-filename too.
21813 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21815 * simple.el (temporary-goal-column): Change the value for
21816 line-move-visual to a cons cell.
21817 (line-move-visual): Record or set the window hscroll, if
21818 necessary (Bug#3494).
21819 (line-move-1): Handle cons value of temporary-goal-column.
21821 2009-07-11 Kenichi Handa <handa@m17n.org>
21823 * international/mule-diag.el (describe-character-set): Don't show
21826 2009-07-10 Sam Steingold <sds@gnu.org>
21828 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21829 Omake sometimes indents the errors it prints, so allow all
21830 regexps to start with spaces.
21832 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21834 * cus-edit.el (customize-changed-options-previous-release):
21835 Bump value to 22.1. (Bug#3804)
21837 2009-07-08 Sam Steingold <sds@gnu.org>
21839 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21840 to be a cons cell (test . ignored-directory) to selectively ignore
21841 some directories depending on the location of the search.
21843 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21845 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21846 remote user is root, on the local host.
21847 (tramp-local-host-p): Either the local user or the remote user
21848 must be root. (Bug#3771)
21850 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21852 * progmodes/gdb-mi.el (gdb): Remove description of
21853 gdb-use-separate-io-buffer.
21854 (menu): Don't allow toggling of or enable
21855 gdb-use-separate-io-buffer from menubar.
21857 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21859 * mail/unrmail.el (unrmail): Make sure the message ends with two
21860 newlines (Bug#3769).
21862 2009-07-08 Glenn Morris <rgm@gnu.org>
21864 * calendar/calendar.el (calendar-current-date): Rework previous change.
21866 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21868 * calendar/calendar.el (calendar-current-date):
21869 Add an optional argument giving an offset from today.
21871 2009-07-08 Glenn Morris <rgm@gnu.org>
21873 * tutorial.el (tutorial--describe-nonstandard-key):
21874 Adjust the message for when a key has been unbound.
21875 (help-with-tutorial): Hide the arch-tag.
21877 2009-07-08 Kenichi Handa <handa@m17n.org>
21879 * international/fontset.el (setup-default-fontset): For each
21880 script, append (not set) font-specs.
21882 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21885 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21887 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21888 -data-list-register-names to ...
21889 (gdb-starting): ... here because GDB 7.0 requires execution to
21890 have started when using this MI command.
21891 (gdb-set-header): New function to distinguish select and
21892 unselected tabs in gdb buffers.
21893 (gdb-propertize-header): New macro that uses gdb-set-header.
21894 (gdb-breakpoints-header, gdb-locals-header): Use it.
21895 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21897 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21899 * Makefile.in (ELCFILES): Remove fadr.elc.
21901 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21903 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21904 may contain frame information, so `string-match' should be used.
21905 (gdb-update): Disassembly is invalidated through
21906 `gdb-get-selected-frame'.
21907 (gdb-pad-string): New function to pad string with spaces.
21908 (gdb-invalidate-disassembly): Invalidate only if the buffer
21910 (gdb-disassembly-handler-custom): Column alignment.
21911 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21913 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21915 (gdb-frame-handler): Match convention to for disassembly buffer
21917 (gdb-stack-list-frames-handler): Rewritten without regexps.
21918 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21919 not highlight breakpoints without line information.
21920 (gdb-input): Add trailing newline to command.
21922 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21924 (gdb-breakpoints-list-handler-custom): Replacement for
21925 `gdb-break-list-handler'. Using real parser instead of regexps
21927 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21928 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21929 to place breakpoints.
21930 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21932 (gdb-disassembly-handler-custom): Show overlay arrow.
21933 (gdb-disassembly-place-breakpoints): Show breakpoints in
21934 disassembly buffer.
21935 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21936 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21937 instead of parsing breakpoints buffer. Fixed old menu references
21942 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21943 (gdb-memory-address): New variable which holds top address of
21944 memory page shown in memory buffer.
21945 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21946 New customization variables.
21948 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21949 display the memory buffer.
21950 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21951 buffer display parameters.
21952 (def-gdb-memory-format, gdb-memory-format-binary)
21953 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21954 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21955 Functions for setting memory buffer format.
21956 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21957 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21958 unit size used in memory buffer.
21959 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21960 Switch to next/previous page of memory buffer.
21961 Now using (bindat-get-field) instead of fadr functions.
21963 2009-07-07 Sam Steingold <sds@gnu.org>
21965 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21966 non-top-level files.
21968 2009-07-07 Kenichi Handa <handa@m17n.org>
21970 * international/mule-cmds.el (reset-language-environment):
21971 Put the highset priority to the charset iso-8859-1.
21973 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21975 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21976 to the end of the line when locating the block (Bug#700).
21978 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21980 * net/tramp.el (tramp-handle-write-region): Flush file properties
21981 in case of short track.
21983 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21985 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21986 Coded custom representation of verilog error regular expressions
21987 to work with Emacs-22's new format.
21988 (verilog-error-regexp-xemacs-alist): Coded custom representation
21989 of verilog error regular expressions to work with XEmacs format.
21990 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21991 error recognition into XEmacs.
21992 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21993 error recognition into Emacs-22.
21995 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21997 * woman.el: Remove stand-alone closing parentheses.
21998 (woman-file-name, woman2-format-paragraphs)
21999 (woman-leave-blank-lines): Code cleanup.
22000 (woman-use-own-frame): Change default to nil.
22001 (woman-italic, woman-bold, woman-unknown, woman-addition):
22002 Change defaults to inherit from default faces.
22003 (woman2-process-escapes): Consume the newline after a stand-alone
22004 filler character (Bug#3651).
22006 2009-07-06 Glenn Morris <rgm@gnu.org>
22008 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22009 (top-level): Move provide to the end.
22010 (ffap): Remove defunct URL from custom group.
22012 * subr.el (eval-after-load): Doc fix.
22014 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22016 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22017 `calc-embedded-word' is called twice.
22019 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22021 * files.el (find-alternate-file-other-window, find-alternate-file):
22022 Obey confirm-nonexistent-file-or-buffer.
22024 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22026 * dired-aux.el (dired-show-file-type): Handle remote files.
22028 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22030 * desktop.el (desktop-globals-to-save):
22031 Add file-name-history (Bug#2750).
22033 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22035 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22037 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22039 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22040 property on entire argument since this is what eshell-lisp-command
22043 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22045 * net/tramp-gvfs.el (tramp-gvfs-methods)
22046 (tramp-gvfs-zeroconf-domain)
22047 (tramp-bluez-discover-devices-timeout): Add version flag.
22048 (tramp-gvfs-handler-mounted-unmounted)
22049 (tramp-gvfs-connection-mounted-p): Polish handling of
22050 incompatibilities between GVFS 0.2 and 1.0.
22052 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22054 * cus-start.el (all): Add make-pointer-invisible.
22056 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22058 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22059 formatted correctly.
22061 2009-07-02 Juri Linkov <juri@jurta.org>
22063 * info.el: Virtual Info files and nodes.
22064 (Info-virtual-files, Info-virtual-nodes): New variables.
22065 (Info-current-node-virtual): New variable.
22066 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22068 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22069 to check for a virtual file instead of checking a fixed list
22071 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22072 instead of ad-hoc processing of "dir" and (apropos history toc).
22073 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22074 instead of ad-hoc processing of "dir" and (apropos history toc).
22075 Reread a file when moving from a virtual node.
22076 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22077 (Info-directory-toc-nodes, Info-directory-find-file)
22078 (Info-directory-find-node): New functions.
22079 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22080 (Info-history): Move part of code to
22081 `Info-history-find-node'.
22082 (Info-history-toc-nodes, Info-history-find-file)
22083 (Info-history-find-node): New functions.
22084 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22085 (Info-toc): Move part of code to `Info-toc-find-node'.
22086 (Info-toc-find-node): New function.
22087 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22088 the current Info file name to references because now the node
22089 "*TOC*" belongs to the same Info manual.
22090 (Info-toc-build): Rename from `Info-build-toc'.
22091 (Info-toc-nodes): Rename input argument `file' to `filename'.
22092 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22093 instead of ad-hoc processing of ("dir" apropos history toc).
22094 (Info-index-nodes): Use Info-virtual-file-p
22095 to check for a virtual file instead of checking a fixed list
22097 (Info-index-node): Add check for `Info-current-node-virtual'.
22098 Raise `save-match-data' higher up the tree to contain
22099 `search-forward' too (bug fix).
22100 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22101 (Info-virtual-index-nodes): New variable.
22102 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22103 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22104 (Info-apropos-file, Info-apropos-nodes): New variables.
22105 (Info-apropos-toc-nodes, Info-apropos-find-file)
22106 (Info-apropos-find-node, Info-apropos-matches): New functions.
22107 (info-apropos): Move part of code to `Info-apropos-find-node' and
22108 `Info-apropos-matches'.
22109 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22110 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22111 for a virtual file instead of checking a fixed list of node names.
22113 * simple.el (async-shell-command): New command.
22115 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22117 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22118 instead of `mount-info'.
22120 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22122 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22123 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22125 2009-07-02 Kenichi Handa <handa@m17n.org>
22127 * international/mule.el (set-keyboard-coding-system): Force *-unix
22128 coding-system to avoid eol conversion.
22130 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22132 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22133 Add handler for `process-file', `shell-command' and
22134 `start-file-process'.
22135 (tramp-gvfs-handle-shell-command)
22136 (tramp-gvfs-handle-start-file-process)
22137 (tramp-gvfs-handle-process-file): New defuns.
22138 (tramp-synce-list-devices): Simplify check for existence of property.
22140 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22142 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22144 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22146 * language/korean.el (set-language-info-alist): Add korean-cp949,
22149 2009-07-01 Kenichi Handa <handa@m17n.org>
22151 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22153 * international/encoded-kb.el: Deleted.
22155 * international/mule.el (set-keyboard-coding-system): Perform the
22156 necessary setup here instead of calling encoded-kbd-setup-display.
22158 2009-07-01 Glenn Morris <rgm@gnu.org>
22160 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22162 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22164 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22166 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22168 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22169 Handle also the 'rename case, when setting file modes. (Bug#3712)
22170 (tramp-default-file-modes): Remove execute permissions.
22172 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22173 (top): Add a default for "synce" in `tramp-default-user-alist'.
22174 Add completion function for "synce" method.
22175 (tramp-hal-service, tramp-hal-path-manager)
22176 (tramp-hal-interface-manager, tramp-hal-interface-device):
22178 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22179 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22182 * net/trampver.el: Update release number.
22184 2009-06-30 Kenichi Handa <handa@m17n.org>
22186 * international/fontset.el (setup-default-fontset): Add CJK fonts
22187 for symbols and the other miscellaneous characters.
22189 * language/korea-util.el (setup-korean-environment-internal):
22190 Make char-width-table suitable for Korean environments.
22191 (exit-korean-environment): Cancel above.
22193 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22194 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22195 setup-function to make char-width-table suitable for respective
22196 environments, and an exit-function to cancel that.
22198 * language/japan-util.el (setup-japanese-environment-internal):
22199 Call use-cjk-char-width-table with arg `ja_JP'.
22201 * international/characters.el (cjk-char-width-table): Delete it.
22202 (cjk-char-width-table-list): New variable.
22203 (use-cjk-char-width-table): New arg local-name.
22204 (use-default-char-width-table): Fix for the case that Emacs is
22205 already using the default char-width-table.
22207 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22209 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22210 modes mandatory. (Bug#3712)
22212 2009-06-29 Alan Mackenzie <acm@muc.de>
22214 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22215 correction between the visible width of TABs and their number of bytes.
22217 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22219 * server.el (server-buffer-done): Prevent kill-buffer from
22220 prompting by clearing the buffer modification flag (Bug#3696).
22222 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22224 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22225 (verilog-endcomment-reason-re): Support unique case and priority case.
22226 (verilog-basic-complete-re): Support localparam lineup.
22227 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22228 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22230 (verilog-leap-to-case-head): Now support *nested* unique &
22231 priority case statements.
22232 (verilog-auto-lineup): Make just declarations the default (as it
22234 (verilog-leap-to-case-head): Support priority/unique case statements.
22235 (verilog-auto-lineup): Rework to give users radio buttons to
22236 select the various styles of automatic lineup.
22237 (verilog-error-regexp-alist): Rework to support the XEmacs style
22238 of error regular expressions from compilers, lint tools &
22239 simulators. Note that GNU Emacs has made it impossible for a mode
22240 to load such things.
22241 (electric-verilog-terminate-line, verilog-indent-declaration)
22242 (verilog-auto-wiure): Rework for radio button selection of
22243 auto-lineup selection of specification of auto lineup.
22244 (verilog-beg-of-statement-1): Redesign to support proper operation
22245 in additional code, based on testing with auto-lineup.
22246 (verilog-calculate-indent, assignments & declarations)
22247 (verilog-backward-token): Enhance to support auto-lineup of
22248 assignments & declarations.
22249 (verilog-in-directive-p, verilog-at-struct-p): New function for
22250 easy test of whether we are.
22251 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22252 to support safe execution at almost anyline.
22253 (verilog-calc-1): Properly support indenting deep inside generate
22255 (verilog-init-font): Remove definition & use of verilog-init-font,
22256 as it is redundant with font-lock-defaults.
22257 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22258 to avoid circular calls if syntax-ppss is a function (as is the
22259 case now in 22.x GNU Emacs) as that function would sometimes call
22260 itself, leading to (nearly) infinite recursion.
22261 (verilog-ovm-begin-re, verilog-ovm-end-re)
22262 (verilog-ovm-statement-re, verilog-leap-to-head)
22263 (verilog-backward-token): Add support for OVM macros. Some are
22264 complete statements, and others open and close scopes like begin
22266 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22267 (verilog-defun-level-generate-only-re): Really fix the defun-list
22269 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22270 coverpoint, constraint and cross statements.
22271 (verilog-defun-level-list, verilog-generate-defun-level-list)
22272 (verilog-all-defun-level-list): Redo these specifications - it is
22273 too hard to support eval-when compile aggregation of lists also
22274 built at when-compile time.
22275 (verilog-defun-level-list): Place defconsts of variables used in
22276 building regular expressions which are built in eval-when-compile
22277 bodies in the same eval-when-compile body to facilitate compile
22279 (verilog-beg-block-re-ordered): Support indenting
22280 virtual/protected tasks and functions.
22281 (verilog-defun-level-list, verilog-in-generate-region-p)
22282 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22283 indentation of some module items (generate items).
22284 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22285 across virtual/protected tasks and functions.
22287 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22289 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22290 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22291 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22292 in concatenations. Reported by Yishay Belkind.
22293 (verilog-auto-ascii-enum): Support one-hot state machines in
22294 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22295 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22296 modport in AUTOINST and add vl-modport for users.
22297 Reported by David Rogoff.
22298 (verilog-auto-inout-module, verilog-auto-inst)
22299 (verilog-decls-get-interfaces, verilog-insert-definition)
22300 (verilog-insert-one-definition, verilog-read-decls)
22301 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22302 (verilog-sig-modport, verilog-signals-combine-bus)
22303 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22304 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22305 Suggested by David Rogoff.
22306 (verilog-repair-open-comma): Fix non-insertion of comma when
22307 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22308 (verilog-make-width-expression): Simplify [A-1:0] expression
22309 widths to just {A{1'b0}}.
22310 (verilog-mode): Cleanup checkdoc warnings.
22311 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22312 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22313 inputs/outputs or data type. Suggested by Vasu Kandadi.
22314 (next-error-last-buffer): Fix byte-compiler warning.
22315 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22316 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22317 or shell command text during AUTO expansion. Suggested by Tad Truex.
22318 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22319 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22320 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
22321 in AUTOINOUT. Reported by Matthew Lovell.
22322 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22323 causing use of <= assignments. Reported by Alex Reed.
22324 (verilog-read-decls): Fix triand, trior, wand, wor to be
22325 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22326 (verilog-extended-complete-re): Support import "DPI-C" functions.
22327 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22328 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22329 (verilog-insert-date, verilog-insert-year)
22330 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22331 Windows systems. Reported by Michael Potts.
22332 (verilog-read-module-name): Fix AUTOINST when the child module
22333 declaration's name is a tick define. Reported by Elliot Mednick.
22334 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22335 passed to next parameter's definition. Reported by Bruce T.
22336 (verilog-read-decls): Fix detecting "parameter int" when using
22337 AUTOINSTPARAM. Reported by Bruce T.
22338 (verilog-goto-defun): Fix goto not finding modules unless first
22339 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22340 (verilog-mode): Expand -f flag arguments on entry to mode so
22341 verilog-goto-defun will work. Reported by Lawrence Butcher.
22342 (verilog-getopt): Expand environment variables in -f file
22343 arguments. Suggested by Lawrence Butcher.
22344 (verilog-set-define): Fix "Symbol's value as variable is void"
22345 when reading enumerations.
22346 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22347 Suggested by Stephen Peltan.
22348 (verilog-read-defines): Fix reading of enumerations in include
22349 files. Reported by Steve Peltan.
22351 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22353 * files.el (trash-directory): Fix defcustom type.
22355 2009-06-28 Juri Linkov <juri@jurta.org>
22357 * help-fns.el (describe-function-1): Correctly locate adviced
22358 functions in hyperlink (Bug#2438).
22360 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22362 * files.el (trash-directory): Change default to nil.
22363 (move-file-to-trash): If trash-directory is nil and
22364 system-move-file-to-trash is unbound, perform freedesktop-style
22367 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22369 * files.el (move-file-to-trash): Add freedesktop trash
22372 2009-06-28 Glenn Morris <rgm@gnu.org>
22374 * autorevert.el (global-auto-revert-non-file-buffers)
22375 (global-auto-revert-mode): Doc fixes.
22377 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22379 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22381 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22383 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22384 opened an X connection before calling x-get-resource (Bug#3194).
22386 * play/doctor.el: Remove reference to obsolete website.
22387 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22389 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22391 Remove find-file-not-found-hook VC method. (Bug#2757)
22392 * vc-hooks.el (vc-file-not-found-hook)
22393 (vc-default-find-file-not-found-hook): Remove functions.
22394 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22395 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22398 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22400 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22402 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22403 compatibility function for `looking-back'.
22405 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22406 Use `ispell-looking-back'.
22408 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22410 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22411 rather than `filename'.
22413 2009-06-23 Miles Bader <miles@gnu.org>
22415 * face-remap.el (text-scale-set): New function.
22417 2009-06-23 Glenn Morris <rgm@gnu.org>
22419 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22421 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22423 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22425 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22427 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22428 Simplify Persian conditionals.
22430 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22431 variable `filename'.
22433 * comint.el (comint-insert-input): Doc fix.
22435 * Makefile.in (ELCFILES): Fix typo in previous change.
22437 2009-06-23 Miles Bader <miles@gnu.org>
22439 * cus-start.el: Add entry for `recenter-redisplay'.
22441 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22443 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22444 Add an optional argument for the backend, use it instead of
22445 calling vc-backend.
22446 (vc-mode-line): Add an optional argument for the backend.
22447 Pass the backend to vc-state and vc-working-revision. Move code for
22448 special handling for vc-state being a buffer to ...
22450 * vc-rcs.el (vc-rcs-find-file-hook):
22451 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22453 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22454 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22455 vc-stay-local-p and vc-mode-line calls.
22457 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22458 (vc-cvs-diff, vc-cvs-annotate-command)
22459 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22460 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22461 vc-mode-line calls.
22463 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22465 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22466 backend when calling vc-mode-line.
22467 (vc-register): Do not create a closure for calling the vc register
22468 function, call it directly.
22470 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22472 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22473 to make it obvious item can be clicked.
22475 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22477 2009-06-23 Kenichi Handa <handa@m17n.org>
22479 * language/korea-util.el (korean-key-bindings): Change the binding
22480 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22483 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22485 Sync with Tramp 2.1.16.
22487 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22489 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22490 when a loading of a package fails. Completion function for rsync
22491 is `tramp-completion-function-alist-ssh'.
22492 (all): Replace all calls of `split-string' and
22493 `tramp-split-string' by `tramp-compat-split-string'.
22494 (tramp-default-method): Use `tramp-compat-process-running-p'.
22495 (tramp-default-proxies-alist): Allow also Lisp forms.
22496 (tramp-remote-path): Add choice "Private Directories".
22497 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22498 (tramp-domain-regexp): Allow also "-", "_" and ".".
22499 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22500 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22501 (tramp-debug-message): Insert header line in debug buffer.
22502 (tramp-handle-directory-files-and-attributes-with-stat):
22503 Care about filenames with spaces, or starting with "-".
22504 (tramp-handle-dired-uncache): New defun.
22505 (tramp-handle-insert-directory): Don't flush the directory from
22506 cache, this is handled by `dired-uncache' now.
22507 (tramp-handle-insert-file-contents): Improve error handling.
22508 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22509 Quote `tramp-end-of-output'.
22510 (tramp-action-password): Improve trace message.
22511 (tramp-check-for-regexp): Both echoes must be present, before removing.
22512 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22513 (tramp-compute-multi-hops): Eval cons cells of
22514 `tramp-default-proxies-alist'.
22515 (tramp-maybe-open-connection): Use the same command pattern for
22516 first hop and further hops.
22517 (tramp-wait-for-output): Remove handling of newlines.
22518 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22519 (tramp-split-string): Remove function. It is handled in
22522 * net/tramp-cmds.el (tramp-bug):
22523 Recommend `tramp-cleanup-all-connections' in the bug mail.
22525 * net/tramp-compat.el (tramp-compat-split-string)
22526 (tramp-compat-process-running-p): New defuns.
22528 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22529 for `dired-uncache'.
22531 * net/tramp-gvfs.el: New package.
22533 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22534 Add handler for `dired-uncache'.
22535 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22537 * net/trampver.el: Update release number. Make version check fit
22540 2009-06-22 Jim Meyering <meyering@redhat.com>
22542 Automatically handle .xz suffix (XZ-compressed files), too.
22543 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22544 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22546 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22547 Nick Roberts <nickrob@snap.net.nz>
22549 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22550 repository (http://sphinx.net.ru/hg/gdb-mi/).
22552 2009-06-22 Glenn Morris <rgm@gnu.org>
22554 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22555 `mode' and `eval' entries. (Bug#3430)
22557 * Makefile.in (ELCFILES): Add fadr.elc.
22559 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22560 differing behavior of \n and ^ in strings. (Bug#3385)
22562 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22564 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22566 (lisp-indent-function): Make it a defcustom.
22568 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22570 * progmodes/gdb-ui.el: Replace with ...
22571 * progmodes/gdb-mi.el: ... this file.
22572 * progmodes/gud.el: Modify for gdb-mi.el.
22574 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22576 * fadr.el: New file.
22578 See ChangeLog.14 for earlier changes.
22580 ;; Local Variables:
22584 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22586 This file is part of GNU Emacs.
22588 GNU Emacs is free software: you can redistribute it and/or modify
22589 it under the terms of the GNU General Public License as published by
22590 the Free Software Foundation, either version 3 of the License, or
22591 (at your option) any later version.
22593 GNU Emacs is distributed in the hope that it will be useful,
22594 but WITHOUT ANY WARRANTY; without even the implied warranty of
22595 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22596 GNU General Public License for more details.
22598 You should have received a copy of the GNU General Public License
22599 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.