1 2011-02-23 Kenichi Handa <handa@m17n.org>
3 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
4 error when a multipart boundary in the nested multipart is found.
6 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
9 2011-02-23 Glenn Morris <rgm@gnu.org>
11 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
12 * dired-x.el (dired-omit-mode): Safe if boolean.
13 (dired-enable-local-variables): Fix doc and custom type.
14 (dired-enable-local-variables, dired-local-variables-file)
15 (dired-hack-local-variables): Make obsolete.
16 (dired-omit-here-always): Use dir-locals.el instead.
18 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
20 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
22 * help-fns.el (describe-function-1): Don't signal an error just because
23 the DOC file disappeared.
25 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
27 * eshell/esh-ext.el (eshell-external-command): Do not restrict
28 remote check to "ftp". (Bug#8089)
30 2011-02-21 Alan Mackenzie <acm@muc.de>
33 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
34 in macros finding their way into c-state-nonlit-pos-cache.
35 Strengthen the comments.
36 (c-state-dump): New commented out diagnostic routine.
38 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
40 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
41 `field' property of `rfn-eshadow-overlay'.
43 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
45 * net/netrc.el (netrc-parse): Comment fix.
47 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
49 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
50 Autoload. Add optional arg FRAME, and pass it to color-values.
51 (color-complement): Caller changed. Doc fix.
52 (color-gradient): Rewrite for better clarity and efficiency.
54 * faces.el (color-values): Use cond for clarity. Doc fix.
56 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
58 (list-colors-sort-key, list-colors-print):
59 Use color-normalized-values.
61 2011-02-20 Drew Adams <drew.adams@oracle.com>
63 * color.el: First part of merge from hexrgb.el.
64 (color-rgb-to-hex): Rename from color-rgb->hex.
65 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
66 saturation to zero if the value is too small.
67 (color-rgb-to-hsl): Rename from color-rgb->hsl.
68 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
69 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
70 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
71 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
72 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
73 (color-cie-de2000): Doc fix.
75 2011-02-20 Alan Mackenzie <acm@muc.de>
77 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
78 locating the beginning of a macro. (Bug#7595)
80 2011-02-20 Glenn Morris <rgm@gnu.org>
82 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
85 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
86 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
88 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
89 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
91 * progmodes/hideshow.el (hs-find-block-beginning)
92 (hs-hide-level-recursive): Ignore comments when parsing braces
95 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
97 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
98 (vc-bzr-pull): Use it.
100 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
102 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
103 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
104 but returning an alist. Ignore comments in bzr conffile.
105 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
106 (vc-bzr-error-regex-alist): New var.
107 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
109 * vc/vc-dispatcher.el (vc-do-async-command):
110 Bind inhibit-read-only to t.
112 * progmodes/compile.el (compilation--flush-directory-cache):
113 Handle the case where cdr of compilation--flush-directory-cache
114 points to no buffer, which can occur if we previously switched to
115 compilation-mode in a pregenerated buffer.
117 2011-02-19 Kenichi Handa <handa@m17n.org>
119 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
120 get the header copy into the temporary buffer.
121 (rmail-mime-insert-decoded-text): Ignore us-ascii.
122 (rmail-show-mime): When rmail-mime-coding-system is nil, set
123 buffer-file-coding-system to undecided.
125 2011-02-19 Eli Zaretskii <eliz@gnu.org>
127 * international/mule-cmds.el (read-char-by-name, ucs-insert):
128 Document completion with asterisk and a substring.
130 2011-02-19 Glenn Morris <rgm@gnu.org>
132 * files.el (find-file-literally): Doc fix.
134 * simple.el (rfc822-goto-eoh): Give it a doc-string.
136 * log-edit.el (log-edit-insert-changelog):
137 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
139 2011-02-19 Glenn Morris <rgm@gnu.org>
141 * dired-x.el: Don't require dired-aux.
142 (dired-do-create-files, dired-mark-read-regexp)
143 (dired-do-create-files-regexp): Autoload from dired-aux.
145 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
146 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
148 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
149 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
151 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
152 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
153 (dired-clean-up-buffers-too): Declare.
155 * dired-x.el (dired-initial-position): Merge into dired.el's version.
156 * dired.el (dired-initial-position): Merge dired-x's version here.
157 (dired-find-subdir): Declare.
159 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
160 * dired-aux.el (dired-add-entry): Give it a doc-string.
161 Merge dired-x's dired-omit handling here.
162 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
164 * international/mule-diag.el (list-input-methods-1):
165 Indent all lines of multi-line doc-strings. (Bug#8066)
167 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
169 Fix 2011-02-02 changes.
171 * apropos.el (apropos-print): Call apropos-mode before setting up
172 buffer variables. Use inhibit-read-only.
174 * emacs-lisp/package.el (package--list-packages):
175 Call package-menu-mode before setting up buffer variables.
177 * play/solitaire.el (solitaire): Call solitaire-mode before
178 setting up buffer variables. Use inhibit-read-only.
180 2011-02-18 Lawrence Mitchell <wence@gmx.li>
182 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
183 Bind case-fold-search to nil when looking for end of here-doc.
185 2011-02-18 Eli Zaretskii <eliz@gnu.org>
187 * image-mode.el (image-toggle-display-image):
188 Set find-file-literally non-nil in buffers visiting binary image
191 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
193 * files.el (cd): Make completion obey cd-path (bug#7924).
195 2011-02-18 Glenn Morris <rgm@gnu.org>
197 * progmodes/prolog.el: Don't require compile when compiling.
198 (compilation-shell-minor-mode, compilation-error-regexp-alist)
199 (compilation-forget-errors, compilation-fake-loc)
200 (compilation-parse-errors-function, compilation-error-list): Declare.
201 (prolog-inferior-mode): Require 'compile.
203 * emulation/cua-base.el (pc-selection-mode): Declare.
205 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
206 (customize-object): Add autoload cookie.
207 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
208 (eieio-browse, describe-class, eieio-describe-class)
209 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
210 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
211 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
212 * Makefile.in (autoloads): Make eieio.el writable.
214 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
215 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
216 (dired-hack-local-variables): Use inhibit-read-only.
217 (dired-guess-default): Simplify.
218 (dired-make-relative-symlink): Use dotimes.
219 (dired-simultaneous-find-file): Use dolist.
220 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
221 (dired-x-hands-off-my-keys): Doc fix.
222 (dired-x-bind-find-file): Doc fix. Use remapping.
223 (after-init-hook): No need to add dired-x-bind-find-file.
224 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
225 No need to call expand-file-name.
226 (dired-filename-at-point): Remove unused locals `end', `filename'.
228 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
230 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
232 2011-02-18 Christian Ohler <ohler@gnu.org>
234 * emacs-lisp/ert.el (ert--setup-results-buffer)
235 (ert-results-pop-to-backtrace-for-test-at-point)
236 (ert-results-pop-to-messages-for-test-at-point)
237 (ert-results-pop-to-should-forms-for-test-at-point)
238 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
239 were incorrect and unnecessary. This should make `make check'
242 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
244 * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
245 (allout-widgets-icons-dark-subdir): Track relocations of icons
246 * lisp/allout.el: Remove commentary about remove encryption
247 passphrase mnemonic support and verification.
248 (allout-encrypt-string): (allout-encrypt-string): Recognize epg
249 failure to decrypt gpg2 armored text using gpg1, and indicate that
250 the gpg version *might* be the problem in the error message.
252 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
254 * net/rcirc.el (rcirc-float-time): New function.
255 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
256 (rcirc-ctcp-sender-PING): Use it.
258 2011-02-17 Glenn Morris <rgm@gnu.org>
260 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
261 (speedbar-update-flag, speedbar-fetch-etags-command)
262 (speedbar-fetch-etags-arguments):
263 * term.el (term-buffer-maximum-size, term-input-chunk-size)
264 (term-completion-autolist, term-completion-addsuffix)
265 (term-completion-recexact, term-completion-fignore):
266 * term/sup-mouse.el (sup-mouse-fast-select-window):
267 * term/x-win.el (x-select-request-type):
268 Convert some defvars with "*" to defcustoms.
270 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
272 * vc/vc.el (vc-default-previous-version):
273 Remove alias that points nowhere. (Bug#4496)
275 * dired-x.el (dired-clean-up-after-deletion):
276 kill-buffer does not need save-excursion.
277 (dired-do-run-mail): Doc fix.
278 (dired-filename-at-point): Doc fix.
279 Use looking-at, and skip-chars rather than re search.
281 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
283 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
285 * allout-widgets.el: New allout extension that shows allout
286 outline structure with graphical widgets. 'allout-widgets'
287 customize group is an 'allout' subgroup, for easy discovery.
289 * allout.el: Include PGP and GnuPG in Keywords, and other
290 commentary refinements.
291 (allout-abbreviate-flattened-numbering): Rename to
292 allout-flattened-numbering-abbreviation, and
293 define-obsolete-variable-alias the old name.
294 (allout-flattened-numbering-abbreviation): Rename from
295 allout-abbreviate-flattened-numbering.
296 (allout-mode-p): Include among autoloads, for use by other modes
298 (allout-listify-exposed):
299 Use allout-flattened-numbering-abbreviation.
300 (allout-encrypt-string): Use set-buffer-multibyte directly.
301 (allout-set-buffer-multibyte): Remove.
303 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
305 * simple.el (just-one-space): Remove useless `or' call.
307 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
309 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
310 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
311 (soap-decoded-multi-refs, soap-current-wsdl)
312 (soap-encoded-namespaces): Rename CL-style *...* variables.
314 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
316 * net/soap-client.el: Add "comm" and "hypermedia" to the
317 keywords. Reflow too long lines.
319 * net/soap-inspect.el: Ditto. Require 'cl.
321 2011-02-16 Bastien Guerry <bzg@altern.org>
323 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
324 in a `doctor-type' argument.
326 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
328 * net/soap-client.el:
329 * net/soap-inspect.el: New files.
331 2011-02-16 Leo <sdl.web@gmail.com>
333 * dired-x.el (dired-mode-map, dired-extra-startup):
334 Remove dired-copy-filename-as-kill since it's already in dired.el.
336 2011-02-16 Glenn Morris <rgm@gnu.org>
338 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
339 Doc fixes. Add :set property, replacing top-level calls.
340 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
341 (dired-guess-shell-gnutar): Test tar version rather than system-type.
342 (dired-extra-startup, dired-man, dired-info): Doc fixes.
343 (dired-clean-up-after-deletion): Use when and dolist.
344 (dired-jump): Use unless and when.
345 (dired-virtual): Use line-end-position.
346 (dired-default-directory-alist): Rename from default-directory-alist.
347 (dired-default-directory): Update for above name change.
348 (dired-vm): Drop VM < 5 and simplify.
349 (dired-buffer-more-recently-used-p): Rewrite.
350 (dired-filename-at-point): Use when and or.
351 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
354 2011-02-15 Glenn Morris <rgm@gnu.org>
356 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
358 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
360 * vc/vc-git.el (vc-git-root-log-format): New option for
361 customizing log format.
362 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
363 (vc-git-log-view-mode): Use it.
364 (vc-git-expanded-log-entry): New function.
365 (vc-git-log-view-mode): Use it. Truncate lines in root log.
367 * vc/vc-hg.el (vc-hg-root-log-template): New option for
368 customizing log format.
369 (vc-hg-print-log): Use it.
370 (vc-hg-expanded-log-entry): New function.
371 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
372 vc-hg-expanded-log-entry. Truncate lines in root log.
374 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
376 * vc/log-view.el (log-view-mode-menu):
377 Add log-view-toggle-entry-display.
379 2011-02-14 Glenn Morris <rgm@gnu.org>
381 * dired-x.el: Don't require man when compiling.
382 (dired-omit-extensions, dired-local-variables-file)
383 (dired-x-hands-off-my-keys): Make them defcustoms.
384 (Man-support-local-filenames, Man-getpage-in-background): Declare.
385 (vm-visit-folder): Declare rather than defining.
386 (dired-x-help-address, dired-x-variable-list): Remove.
387 (dired-x-submit-report): Make it an obsolete alias.
389 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
391 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
393 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
395 * net/imap.el: Bring it back.
397 2011-02-13 Alan Mackenzie <acm@muc.de>
399 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
400 narrow-to-region call that cuts context off the end (Bug#7722).
402 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
403 Refactor nested if-forms with a simple cond.
404 (c-forward-<>-arglist): Revert 2011-01-31 change.
406 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
408 * vc/log-view.el: New command log-view-toggle-entry-display for
409 toggling log entries between concise and detailed forms.
410 (log-view-toggle-entry-display): New command.
411 (log-view-mode-map): Bind RET to it.
412 (log-view-expanded-log-entry-function): New variable.
413 (log-view-current-entry, log-view-inside-comment-p)
414 (log-view-current-tag): New functions.
415 (log-view-toggle-mark-entry): Use log-view-current-entry and
416 log-view-end-of-defun instead of searching directly with
418 (log-view-end-of-defun): Likewise. Add optional ARG for
419 compatibility with end-of-defun.
420 (log-view-end-of-defun): Ignore comments and VC buttons.
422 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
423 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
425 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
427 * net/imap.el: Remove file. All the functionality is in nnimap.el.
429 * net/imap-hash.el: Remove file.
431 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
433 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
435 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
438 * net/tramp-imap.el: Remove file.
440 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
442 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
443 widget library for buttons, just use button.el.
445 * vc/log-view.el (log-view-mode-map): Don't inherit from
448 2011-02-12 Glenn Morris <rgm@gnu.org>
450 * emacs-lisp/cl-seq.el (union, nunion, intersection)
451 (nintersection, set-difference, nset-difference)
452 (set-exclusive-or, nset-exclusive-or): Doc fix.
454 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
456 * faces.el (face-attr-match-p): Handle the obsolete :bold and
457 :italic props, so that frame-set-background-mode works. (Bug#7966)
459 * simple.el (next-error): Doc fix.
461 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
463 * dired-aux.el (dired-create-files): Adapt destination name to
464 match the new behavior of copy-directory.
466 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
468 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
469 from rmail-dont-reply-to-names. Callers changed.
470 (mail-dont-reply-to): Rename from mail-dont-reply-to.
471 (rmail-dont-reply-to): Make it an obsolete alias.
473 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
474 nil, and make obsolete (Bug#7888).
475 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
477 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
479 * mail/rmailsort.el (rmail-sort-by-correspondent)
480 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
482 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
484 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
486 * files.el (copy-directory): New argument COPY-CONTENTS for
487 copying directory contents into another existing directory.
489 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
491 * minibuffer.el (completion-table-case-fold): New function for
492 creating a case-insensitive completion table.
494 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
496 * net/tramp.el (tramp-default-method): Also check if
497 `auth-source-search' is bound.
498 (tramp-read-passwd): Use `auth-source-search' instead of
499 `auto-source-user-or-password'.
501 * net/tramp-imap.el: Autoload `auto-source-search' instead of
502 `auto-source-user-or-password.
503 (tramp-imap-passphrase-callback-function): Use it.
505 * net/imap-hash.el: Autoload `auto-source-search' instead of
506 `auto-source-user-or-password.
507 (imap-hash-open-connection): Use it.
509 * mail/smtpmail.el: Autoload `auto-source-search' instead of
510 `auto-source-user-or-password.
511 (smtpmail-try-auth-methods): Use it.
513 2011-02-12 Phil Hagelberg <phil@hagelb.org>
515 * emacs-lisp/package.el: Allow packages to be reinstalled.
516 (package--write-file-no-coding): Remove EXCL arg.
517 (package-unpack-single): Don't use it.
519 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
521 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
522 in each sub directory.
523 (vc-svn-registered): Use vc-svn-root.
524 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
525 (vc-svn-repository-hostname): Use "svn info".
527 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
529 * simple.el (delete-trailing-whitespace): New optional buffer
532 2011-02-11 Bastien Guerry <bzg@altern.org>
534 * files.el (basic-save-buffer): save unmodified buffers when
535 the file pointed by buffer-file-name doesn't exist.
537 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
539 * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
541 2011-02-11 Glenn Morris <rgm@gnu.org>
543 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
545 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
547 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
549 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
551 * server.el (server-process-filter): Use pcase.
553 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
555 (smie-indent--parent): Extend to "parent of arg".
556 (smie-indent-inside-string): New function.
557 (smie-indent-functions): Use it.
559 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
560 bzr locking race condition.
562 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
563 still valid before using it.
565 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
566 `message' -> `compilation-message' rename (bug#8004).
568 Move keymap initialization into declaration.
569 * textmodes/enriched.el (enriched-mode-map):
570 * textmodes/bib-mode.el (bib-mode-map):
571 * term/lk201.el (lk201-function-map):
572 * tar-mode.el (tar-mode-map):
573 * replace.el (occur-mode-map):
574 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
575 * progmodes/idlw-help.el (idlwave-help-mode-map):
576 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
577 * play/solitaire.el (solitaire-mode-map):
578 * play/snake.el (snake-mode-map, snake-null-map):
579 * play/pong.el (pong-mode-map):
580 * play/handwrite.el (menu-bar-handwrite-map):
581 * play/gametree.el (gametree-mode-map):
582 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
583 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
584 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
585 (newsticker--url-keymap):
586 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
587 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
588 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
589 (menu-bar-edit-menu, menu-bar-custom-menu)
590 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
591 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
592 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
593 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
594 (menu-bar-tools-menu, menu-bar-describe-menu)
595 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
596 (menu-bar-help-menu):
597 * mail/rmailsum.el (rmail-summary-mode-map):
598 * kmacro.el (kmacro-step-edit-map):
599 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
600 (ibuffer-mode-operate-map):
601 * hi-lock.el (hi-lock-menu, hi-lock-map):
602 * emulation/vip.el (vip-mode-map):
603 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
604 * bookmark.el (bookmark-bmenu-mode-map):
605 * help-mode.el (help-mode-map): Move initialization into declaration.
607 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
609 * net/rcirc.el: Add PRIVMSG and CTCP functions.
610 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
611 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
612 (rcirc-cmd-me, rcirc-authenticate): Use them.
614 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
616 * allout.el: Synopsis: Change allout user configuration so
617 auto-activation is controlled solely by customization
618 `allout-auto-activation'.
620 (allout-auto-activation-helper) (allout-setup): New autoloads
621 implement new custom set procedure for allout-auto-activation.
622 Also, explicitly invoke
623 (allout-setup) after allout-auto-activation is custom-defined, to
624 effect the settings in emacs sessions besides the few where
625 allout-auto-activation customization is donea.
626 (allout-auto-activation): Use allout-auto-activation-helper to
627 :set. Revise the docstring.
628 (allout-init): Reduce functionality to just customizing
629 allout-auto-activation, and mark obsolete.
630 (allout-mode): Respect string values for allout-auto-activation.
631 Run allout-after-copy-or-kill-hook without any args.
632 (allout-mode) (allout-layout) (allout-default-layout)
633 (outlineify-sticky): Adjust docstring for new scheme.
634 (allout-after-copy-or-kill-hook): No arguments - hook implementers
635 should concentrate on the kill ring.
637 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
639 * password-cache.el (password-cache-remove): Accept secrets that are
642 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
644 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
645 of here-doc that immediately follows a comment.
647 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
649 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
651 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
653 (rcirc-ctcp-sender-PING): New function.
655 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
657 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
658 Remove the mark/nomark handling, and activate shift-select-mode instead.
660 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
662 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
664 * calc/calc-units.el (math-logunits-quant): Add support for
665 non-logarithmic units.
667 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
669 * allout.el (allout-after-copy-or-kill-hook): New hook for
670 extension-specific processing of killed text.
671 (allout-mode): Include new allout-after-copy-or-kill-hook among
673 (allout-kill-line) (allout-kill-topic): Ensure that processing
674 after kill happens even if barf-if-buffer-read-only is raised.
675 Include new allout-after-copy-or-kill-hook among that subsequent
677 (allout-deannotate-hidden): Actually remove the annotation text
680 * allout.el (allout-listify-exposed): Copy text sans text properties.
682 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
684 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
686 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
688 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
690 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
692 * calc/calc.el (calc-logunits-field-reference): Rename from
693 `calc-default-field-reference-level'.
694 (calc-logunits-power-reference): Rename from
695 `calc-default-power-reference-level'
697 * calc/calc-units.el (math-logunits-quant): Rename from
698 `math-logunits-level'
699 (math-logunits-plus): Rename from math-logcombine.
700 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
701 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
702 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
704 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
705 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
706 (calc-logunits-quantity): Rename from `calc-level'.
707 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
708 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
709 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
710 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
711 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
714 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
715 (calc-ul-prefix-help): Remove.
716 (calc-l-prefix-help): New function.
717 (calc-full-help): Add reference to `calc-l-prefix-help'.
719 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
721 * calc/README: Mention logarithmic units.
723 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
725 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
726 non-ASCII characters (Bug#7925).
728 2011-02-05 Glenn Morris <rgm@gnu.org>
730 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
732 * calendar/diary-lib.el (diary-font-lock-keywords):
733 Tweak diary-time-regexp match. (Bug#7891)
735 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
736 (f90-mode): Use it for mode's `find-tag-default-function' property.
738 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
740 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
742 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
744 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
747 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
749 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
750 font-lock-syntax-table remappings.
751 (sh-here-doc-markers, sh-here-doc-re): Remove.
752 (sh-font-lock-close-heredoc): Remove.
753 (sh-syntax-propertize-here-doc): New function.
754 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
755 instead of the sh-here-doc-re.
756 (sh-font-lock-paren): Don't do anything in comments or strings.
757 Handle line continuations. Accept a few more chars.
758 Don't rely on the font-lock-syntax-table remappings.
759 `esac' is not a valid pattern.
760 (sh-syntax-propertize-function): Handle here-docs differently, so we
761 don't bother syntax-propertizing the insides.
763 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
764 Handle new bashisms ";&" and ";;&" (bug#7947).
766 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
768 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
769 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
771 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
773 * net/tramp.el (tramp-postfix-method-format)
774 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
775 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
776 (tramp-postfix-user-regexp, tramp-prefix-port-format)
777 (tramp-prefix-port-regexp, tramp-postfix-host-format)
778 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
781 2011-02-04 Sam Steingold <sds@gnu.org>
783 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
785 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
787 * international/mule-util.el (with-coding-priority): Doc fix.
789 2011-02-04 Eli Zaretskii <eliz@gnu.org>
791 * arc-mode.el (archive-mode-map): Fix a typo in last change.
793 2011-02-03 Sam Steingold <sds@gnu.org>
795 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
796 Do not error out when `func' is nil.
798 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
800 * net/tramp-sh.el (tramp-remote-path): Add default settings for
801 `tramp-default-remote-path' to the docstring.
802 (tramp-get-remote-path): Suppress error message when `getconf
805 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
807 2011-02-03 Glenn Morris <rgm@gnu.org>
809 * vc/vc-hg.el (vc-hg-command): Doc fix.
811 * term/w32-win.el (libpng-version): Declare for compiler.
813 * msb.el: No need to load dired while compiling.
815 * emacs-lisp/elint.el (elint-standard-variables):
816 Remove a couple of built-ins that now have doc-strings.
818 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
819 `require' is automatically `eval-and-compile'd.
821 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
822 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
824 * strokes.el (strokes-fill-current-buffer-with-whitespace):
825 Move definition before use.
826 (strokes-report-bug): Make it obsolete.
828 2011-02-02 Sam Steingold <sds@gnu.org>
830 * apropos.el (apropos-print): Now that `apropos-mode' inherits
831 from `special-mode', entering it makes the buffer read-only, so
832 call it only when everything has been already inserted.
833 * emacs-lisp/ert.el (ert--setup-results-buffer)
834 (ert-results-pop-to-backtrace-for-test-at-point)
835 (ert-results-pop-to-messages-for-test-at-point)
836 (ert-results-pop-to-timings): Ditto.
837 * emacs-lisp/package.el (package--list-packages): Ditto.
838 * play/solitaire.el (solitaire): Ditto.
840 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
842 * progmodes/compile.el: Make all faces inherit.
843 (compilation-warning): Inherit from font-lock-variable-name-face.
844 (compilation-info): Inherit from font-lock-type-face.
845 (compilation-line-number): Reassign to font-lock-keyword-face.
846 (compilation-column-number): Reassign to font-lock-doc-face.
847 (compilation-leave-directory-face): Reassign to
848 font-lock-builtin-face.
850 2011-02-02 Eli Zaretskii <eliz@gnu.org>
852 * dired.el (dired-insert-directory): Don't invoke `ls' when
853 ls-lisp.el is used to emulate it.
855 2011-02-01 Julien Danjou <julien@danjou.info>
857 * color.el (color-gradient): Add a color-gradient function.
859 2011-02-01 Sam Steingold <sds@gnu.org>
861 * simple.el (special-mode-map): Bind "h" to `describe-mode';
862 bind "z" to `kill-this-buffer'.
863 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
864 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
865 (apropos-mode): Inherit from `special-mode'.
866 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
867 * bookmark.el (bookmark-bmenu-mode): Define using
868 `define-derived-mode' inheriting from `special-mode'.
869 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
870 * image-mode.el (image-mode-map): Ditto.
871 * replace.el (occur-mode): Define using
872 `define-derived-mode' inheriting from `special-mode'.
873 * tar-mode.el (tar-mode): Inherit from `special-mode'.
874 * calendar/diary-lib.el (diary-fancy-display-mode):
875 Inherit from `special-mode-map'.
876 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
877 Inherit from `special-mode'.
878 * emacs-lisp/package.el (package-menu-mode-map): Copy from
880 (package-menu-mode): Define using `define-derived-mode'
881 inheriting from `special-mode'.
882 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
883 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
884 (xesam-mode-map): Define separately.
885 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
886 * progmodes/compile.el (compilation-minor-mode-map)
887 (compilation-mode-map): Inherit from `special-mode-map'.
888 * vc/diff-mode.el (diff-mode-shared-map):
889 Inherit from `special-mode-map'.
890 * vc/log-view.el (log-view-mode-map): Add a comment.
892 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
894 * custom.el (load-theme): Define return value. Drop use of
895 unsafep; call custom-theme-load-confirm for non-known-safe themes.
896 (custom-theme-load-confirm): Scroll in the correct window.
897 (custom-enabled-themes): Add custom-safe-themes to :set-after.
899 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
900 checkbox if load-theme fails.
902 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
904 * progmodes/compile.el (compilation-next-error): Check there's
905 a message before using it (bug#7941).
907 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
909 * calc/calc-mtx.el (math-lud-pivot-check): New function.
910 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
913 2011-01-31 Alan Mackenzie <acm@muc.de>
915 * progmodes/cc-cmds.el (c-forward-over-illiterals):
916 Continue parsing if we encounter a naked # (Bug#7595).
917 (c-beginning-of-statement): Avoid loop in locating the beginning
918 of a macro. (Not actually committed until 2011-02-20, see above).
920 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
922 * files.el (copy-directory): Fix arguments to recursive call.
924 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
926 * files.el (copy-directory): If destination is an existing
927 directory, copy into a subdirectory there.
929 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
931 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
934 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
936 * image-dired.el (image-dired-mouse-display-image): No-op if no
937 file is found (Bug#7817).
939 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
941 2011-01-31 Kenichi Handa <handa@m17n.org>
943 * international/quail.el (quail-keyboard-layout-alist):
944 Remove superfluous SPC for "pc105-uk" (bug#7927).
946 2011-01-31 Glenn Morris <rgm@gnu.org>
948 * msb.el (msb-menu-bar-update-buffers): Update for changed
949 argument handling of menu-bar-select-frame. (Bug#7902)
951 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
953 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
954 to the recursion depth (Bug#7722).
956 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
958 * term/ns-win.el (ns-find-file): Expand ns-input-file with
959 command-line-default-directory (Bug#7872).
961 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
963 * progmodes/compile.el (compilation--flush-directory-cache):
964 New function, extracted from compilation--remove-properties.
965 (compilation--remove-properties, compilation--parse-region): Use it.
966 (compilation--previous-directory): Handle one more case.
967 (compilation-enable-debug-messages): Remove.
968 (compilation-parse-errors, compilation--flush-parse): Just remove the
969 left over debug messages.
971 2011-01-31 Sam Steingold <sds@gnu.org>
973 * progmodes/compile.el (compilation-enable-debug-messages):
974 Add a variable to make the parsing messages introduced in
975 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
976 (compilation-parse-errors, compilation--flush-parse): Use it.
978 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
980 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
981 (rcirc-nick-completion-format): New defcustom.
982 (rcirc-complete): Use it.
984 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
986 * net/rcirc.el: Clean log filenames (Bug#7933).
987 (rcirc-log-write): Use convert-standard-filename.
988 (rcirc-log-filename-function): Documentation updates.
990 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
992 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
993 Check report-emacs-bug-can-use-osx-open and use that if t.
994 (report-emacs-bug-can-use-osx-open): New function.
995 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
996 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
998 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1000 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1001 updating Dired or VC-dir buffers after async command completes.
1003 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1004 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1006 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1007 completions if it exists. Use vc-set-async-update.
1008 (vc-git-pull): Use vc-set-async-update.
1010 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1011 read-shell-command. Use vc-set-async-update.
1012 (vc-hg-merge-branch): Use vc-set-async-update.
1014 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1016 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1017 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1020 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1022 * progmodes/compile.el: Avoid an N² behavior in grep.
1023 (compilation--previous-directory): New fun.
1024 (compilation--previous-directory-cache): New var.
1025 (compilation--remove-properties): Flush it.
1026 (compilation-directory-properties, compilation-error-properties):
1027 Use the new fun to speed up looking for the current directory.
1029 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1031 * vc/vc-hg.el (vc-hg-history): New var.
1032 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1033 (vc-hg-merge-branch): New function.
1035 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1036 the other way around.
1038 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1039 (vc-git-merge-branch): New functions.
1040 (vc-git-history): New var.
1042 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1044 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1046 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1047 vc-do-async-command.
1049 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1052 2011-01-28 Leo <sdl.web@gmail.com>
1054 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1055 highlighting to the "this function is advised" message.
1057 * help-mode.el (help-mode-finish): Apply highlighting here, to
1058 avoid clobbering by substitute-command-keys (Bug#6304).
1060 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1062 * woman.el (woman0-roff-buffer): Process roff escape sequences
1063 occurring prior to the first request (Bug#7843).
1065 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1067 * progmodes/compile.el: Don't use font-lock any more.
1068 (compilation-error-regexp-alist-alist): Change handling of makepp
1069 so it preserves the warning/error distinction on subsequent files.
1070 Simplify various rules.
1071 (compilation-directory-properties): Use font-lock-face.
1072 Add a compilation-message property.
1073 (compilation-internal-error-properties): Use font-lock-face.
1074 Don't set the compilation-debug property here.
1075 (compilation--put-prop, compilation--remove-properties)
1076 (compilation--parse-region, compilation--ensure-parse)
1077 (compilation--ensure-parse): New functions.
1078 (compilation-parse-errors): New function, largely inspired of
1079 compilation-mode-font-lock-keywords. Set compilation-debug here.
1080 (compilation--parsed): New var.
1081 (compilation--flush-parse): Use compilation--ensure-parse.
1082 (compilation-start): Don't call font-lock.
1083 (compilation-turn-on-font-lock): Remove.
1084 (compilation-setup): Don't set font-lock-extra-managed-props not change
1085 other font-lock settings, other than keywords.
1086 Don't activate font-lock-mode.
1087 Set change-major-mode-hook and before-change-functions.
1088 (compilation--unsetup): Remove properties and hooks.
1089 (compilation-next-single-property-change): New function.
1090 (compilation-next-error): Use it to parse when needed.
1091 (compile-goto-error): Parse buffer as needed.
1092 (compilation--compat-error-properties): Don't need a dummy `face'
1095 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1097 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1098 (compilation-process-setup-function): Fix docstring's false promises.
1099 (compilation-error-regexp-alist-alist): Catch omake's continuous
1100 recompilation message and avoid reuse of old markers.
1101 (compilation-parse-errors-function): Declare obsolete.
1102 (compilation-buffer-modtime): Remove.
1103 (compilation--make-cdrloc, compilation--loc->col)
1104 (compilation--loc->line, compilation--loc->file-struct)
1105 (compilation--loc->marker, compilation--loc->visited)
1106 (compilation--make-file-struct, compilation--file-struct->file-spec)
1107 (compilation--file-struct->formats)
1108 (compilation--file-struct->loc-tree): New macros. Use them.
1109 (compilation--message): New defstruct. Use them.
1110 (compilation-next-error-function): Don't mess with timestamps to try
1111 and guess when to reparse.
1113 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1115 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1116 (tex-old-error-file-name): New function,
1117 extracted from tex-compilation-parse-errors.
1118 (tex-compilation-parse-errors): Remove.
1119 (tex-error-regexp-alist): New var.
1120 (tex-shell): Use it to avoid compilation-parse-errors-function.
1122 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1123 (grep-mode-font-lock-keywords): Remove regexp that seems like
1124 a left-over from before we used compile.el.
1125 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1126 modifying the buffer within with-silent-modifications.
1128 * progmodes/compile.el: Cleanup text-properties namespace by using
1129 `compilation-message' instead of `message', `compilation-directory'
1130 instead of `directory', and `compilation-debug' instead of `debug'.
1131 (compilation-last-buffer, compilation-parsing-end)
1132 (compilation-error-list, compilation-old-error-list): Move to the
1133 compatibility part of the code.
1134 (compilation-error-properties): If `file' is a function, let it return
1136 (compilation-mode-font-lock-keywords): Be more conservative with the
1137 omake "^ *" pattern prefix, to try and minimize the risk of
1138 pathologically slow regexp matching.
1139 (compilation-start): Use inhibit-read-only.
1140 (compilation--unsetup): New function.
1141 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1142 (compilation-filter): Minor tweaks.
1143 (compilation-next-error-function): Try and avoid abusing variables.
1144 (compilation--flush-file-structure): New fun.
1145 (compilation-fake-loc): Use it to improve behavior when file is reused.
1146 (debug-ignored-errors): Add "Moved past last ...".
1147 (compilation--compat-error-properties)
1148 (compilation--compat-parse-errors): Rename by doubling the "-".
1150 Port features from the previous prolog.el to the new one.
1151 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1152 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1153 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1154 variable and use a function to compute the value dynamically.
1155 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1156 (prolog-continued-prompt-regexp): Remove, unused.
1157 (prolog-find-value-by-system): Try and use the value of prolog-system
1158 in the *prolog* buffer if it helps.
1159 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1160 (prolog-zip-on): ..and check prolog-system and version here instead.
1161 (prolog-inferior-self-insert-command): New command.
1162 (prolog-inferior-mode-map): Use it.
1163 (prolog-inferior-error-regexp-alist): New var.
1164 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1165 (prolog-input-filter): Use derived-mode-p.
1166 (prolog-inferior-guess-flavor): New function.
1167 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1168 make-comint to avoid running comint-mode twice.
1169 (prolog-inferior-buffer): New fun.
1170 (prolog-old-process-region, prolog-old-process-file):
1171 Don't call prolog-bsts here...
1172 (prolog-build-prolog-command): ...do it here instead.
1173 (prolog-old-process-region, prolog-old-process-file):
1174 Use compilation-fake-loc and compilation-forget-errors.
1175 (prolog-consult-compile-region): Use bolp.
1177 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1179 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1181 2011-01-27 Sam Steingold <sds@gnu.org>
1183 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1184 Remove "*server*" which is never created by emacs server.
1186 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1188 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1189 there are some diff switches.
1191 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1193 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1194 Copy change made to ruby-font-lock-syntactic-keywords.
1196 * htmlfontify.el: Make it obey the font-lock-face text property.
1197 Miscellaneous cleanup such as:
1198 - Don't hide expressions after a closing paren.
1199 - Move initial setq into let.
1200 - Hoist common parts out of ifs.
1201 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1202 (hfy-face-at): Use get-text-property instead.
1203 (hfy-prop-invisible-p): Use invisible-p if available.
1204 (htmlfontify-manual): Use \\[...].
1205 (hfy-html-quote-regex): Use [...].
1206 (hfy-combined-face-spec): Simplify.
1207 (hfy-compile-face-map): Don't presume point-min==1.
1208 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1209 match end of string.
1210 (hfy-text-p): η-reduce.
1211 (hfy-tags-for-file): Receive cache-hash directly.
1212 (hfy-mark-tag-names): Adjust call.
1214 2011-01-27 Glenn Morris <rgm@gnu.org>
1216 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1217 (msb-after-load-hook): Remove eval-after-load wackiness.
1219 2011-01-25 Sam Steingold <sds@gnu.org>
1221 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1222 literal "diff" (important for windows-nt).
1224 2011-01-25 Glenn Morris <rgm@gnu.org>
1226 * emacs-lisp/copyright.el (copyright-at-end-flag)
1227 (copyright-names-regexp): Add safety properties.
1228 (copyright-year-ranges): New option.
1229 (copyright-find-end): New function, split from copyright-update-year.
1230 (copyright-update-year): Use copyright-find-end.
1231 (copyright-fix-years): Optionally, convert years to ranges.
1232 Handle years continued over comment lines.
1233 Do not mess with the fill-prefix.
1234 Do not call copyright-update.
1235 (copyright-update-directory): Optionally, fix years rather than update.
1236 Skip directories. Find files with only safe local vars.
1238 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1240 * files.el (file-name-non-special): Only change buffer-file-name after
1241 insert-file-contents if it's `visit'ing the file (bug#7854).
1243 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1245 * dired.el (dired-revert): Doc fix (Bug#7758).
1247 * simple.el (line-move-visual): Doc fix (Bug#7594).
1249 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1251 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1252 here-doc which ends with an underscore.
1253 (ruby-mode-set-encoding): Skip shebang line always.
1254 (ruby-mode-map): Bind C-c C-c to comment-region.
1255 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1256 (ruby-forward-sexp): Stop after literal hash key labels.
1257 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1260 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1262 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1263 the correct buffer (Bug#7650).
1265 2011-01-25 Glenn Morris <rgm@gnu.org>
1267 * comint.el (comint-mode): Doc fix. (Bug#7897)
1269 * simple.el (do-auto-fill): Give it a doc string.
1271 * button.el (make-text-button): Doc fix. (See bug#7881)
1273 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1275 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1276 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1278 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1279 Handle ?" and friends differently (e.g. don't use backrefs).
1281 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1283 * calc/calc.el (calc-default-power-reference-level)
1284 (calc-default-field-reference-level): New variables.
1285 * calc/calc-units.el (math-standard-units): Add dB and Np.
1286 (math-logunits): New variable.
1287 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1288 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1289 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1291 (math-find-base-units-rec): Add entry for ln(10).
1292 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1293 (calc-ul-prefix-help): New function.
1294 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1295 functions. Add keybindings for new units functions.
1297 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1299 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1300 rcirc buffers. (Bug#4940)
1302 2011-01-22 Glenn Morris <rgm@gnu.org>
1304 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1305 split out from copyright-update-year.
1306 (copyright-update): Don't mess with the GPL version if we don't own the
1307 copyright. Update license regexp, and remove no longer needed
1309 (copyright-fix-years): Use copyright-find-copyright.
1311 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1313 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1315 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1317 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1318 (lm): Rename to landmark.
1319 (lm-test-run): Rename to landmark-test-run.
1321 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1323 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1324 "Case sensitive" menu item.
1326 2011-01-22 Roland McGrath <roland@frob.com>
1328 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1329 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1331 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1333 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1335 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1337 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1338 Assume foo(bar) is a manpage reference rather than some unquoted
1341 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1343 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1344 Suggested by Flo <sensorflo@gmail.com>.
1346 2011-01-22 Glenn Morris <rgm@gnu.org>
1348 * progmodes/compile.el (compilation-error-regexp-alist):
1349 Fix custom type. (Bug#7812)
1351 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
1353 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1354 allout-number-siblings, in keeping with what obtained due to
1355 (now-defunct) allout-keybindings-list. Ditch repeat binding to
1357 (allout-before-change-handler): Better expose spots affected by
1360 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1362 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1364 2011-01-22 Phil Hagelberg <phil@evri.com>
1366 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1367 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1368 (pcmpl-ssh-config-hosts): New function.
1369 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1370 pcmpl-ssh-known-hosts.
1372 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1374 * calc/calc-undo.el (calc-undo): Autoload it.
1375 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1376 and autoload for `calc-undo'.
1377 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1378 * calc/calc-prog.el:
1379 * calc/calc-graph.el:
1380 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1382 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
1384 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1385 keybindings to `calc-undo'.
1387 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1389 Don't mess with *temp*.
1390 * obsolete/spell.el: Move from textmodes/spell.el.
1392 * term.el (term-read-input-ring):
1393 * startup.el (display-startup-echo-area-message):
1394 * progmodes/antlr-mode.el (antlr-directory-dependencies):
1395 * comint.el (comint-read-input-ring): Use with-temp-buffer.
1396 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1399 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
1401 * allout.el (allout-institute-keymap): Use fset instead of
1402 reapplying defalias.
1404 (allout-hotspot-key-handler): Check for non-control-modified
1405 bindings for hotspot characters if there are no control-modified
1408 * allout.el: Summary - migrate to defining allout mode using
1409 define-minor-mode instead of defun. Significantly clean-up
1410 internal keymap provisions, refactoring and, in the process,
1411 removing a lot of accumulated cruft.
1413 allout-mode-map is now a keymap by virtue of being a defalias to
1414 allout-mode-map-value, which contains the actual keymap structure.
1416 (allout-mode): Use define-minor-mode rather than defun.
1417 Remove now-unnecessary minor-mode setup activities from the body.
1418 Specify :keymap as allout-mode-map so the minor-mode-map-alist
1419 entry will be '(allout-mode . allout-mode-map) - see
1420 allout-mode-map-value, below. Adjust docstring to track changes.
1421 (allout-minor-mode): Remove this defalias, now that we're using
1423 (allout-mode-map): Set value to be 'allout-mode-map. The actual
1424 keymap is allout-mode-map-value, via defalias.
1425 (allout-mode-map-value): The variable holding the actual mode
1426 keymap structure, by virtue of defalias from allout-mode-map.
1427 (allout-compose-and-institute-keymap): Rename from
1428 allout-bind-keys, and including the binding-composition
1429 functionality of the former produce-allout-mode-map and
1430 allout-setup-mode-map.
1431 (allout-institute-keymap): Take over the "setup" part of the former
1432 allout-setup-mode-map. Reassign allout-mode-map-value value and
1433 update the defalias.
1434 (allout-command-prefix) (allout-prefixed-keybindings)
1435 (allout-unprefixed-keybindings):
1436 Use allout-compose-and-institute-keymap to process the bindings.
1437 (allout-unprefixed-keybindings): Remove extraneous '?' question
1439 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1440 user can customize if they want to use that binding.
1441 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1442 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
1443 elided that, previously, instead of the one for \C-h.)
1444 (allout-hotspot-key-handler): Remove attempt to resolve the key
1445 through the literal key-string lookup on allout-keybindings-list.
1446 That probably hasn't worked for a Long Time, and removal of
1447 allout-keybindings-list further simplifies the keybindings
1449 (allout-pre-command-business): Use allout-mode-map-value instead
1451 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1452 the bindings if they want to use a keybinding having a trailing
1453 \C-h. No deprecation needed since this feature was never in a
1455 (allout-keybindings-list): Remove. It's not been useful for a
1456 while. (See allout-hotspot-key-handler changes, above.)
1457 (produce-allout-mode-map): Remove. Consolidate into
1458 allout-compose-and-institute-keymap.
1459 (allout-mode-map-adjustments): Remove. No longer necessary with
1460 removal of allout-preempt-trailing-ctrl-h.
1461 (allout-setup-mode-map): Remove. Consolidate into
1462 allout-compose-and-institute-keymap and allout-institute-keymap.
1464 2011-01-20 Glenn Morris <rgm@gnu.org>
1466 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1468 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1470 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1472 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1474 * files.el (find-alternate-file, basic-save-buffer)
1475 (basic-save-buffer-2, revert-buffer, recover-file)
1476 (kill-buffer-ask, abort-if-file-too-large)
1477 (set-visited-file-name, write-file, backup-buffer)
1478 (basic-save-buffer, save-some-buffers):
1479 * dired-aux.el (dired-compress-file): Callers changed.
1481 2011-01-19 Glenn Morris <rgm@gnu.org>
1483 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1484 Also check the property status. (Bug#7861)
1486 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1488 * net/tramp.el (tramp-debug-message): Extend function exclude
1489 list. Use `regexp-opt'.
1491 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1493 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1494 highlighting doesn't spill over subsequent lines.
1496 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1497 keymap expression. Improve docstring.
1499 * electric.el (electric-indent-post-self-insert-function):
1500 Don't auto-indent for indent-to-left-margin, it's too often
1503 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1505 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1506 spaces if the frame was resized, so that the full visible buffer
1507 serves as canvas for strokes.
1509 2011-01-16 Glenn Morris <rgm@gnu.org>
1511 * info-xref.el (info-xref-docstrings): Replace cl function.
1512 Also skip directories.
1514 2011-01-16 Kevin Ryde <user42@zip.com.au>
1516 * info-xref.el: Version 3.
1517 (info-xref-check, info-xref-check-all): Move commentary details
1518 into docstrings for better visibility.
1519 Use compilation-mode for the results buffer.
1520 (info-xref-output, info-xref-output-error, info-xref-with-output)
1521 (info-xref-filename, info-xref-in-progress):
1522 New internals for this.
1523 (info-xref-check-list, info-xref-check-buffer)
1524 (info-xref-check-all-custom): Use those.
1525 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1526 (info-xref-output-heading): Rename from info-xref-filename-heading.
1527 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1528 (info-xref-filename-heading): Move to output managing section.
1529 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1530 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1531 (info-xref-subfile-p): Move to generic section with those two.
1532 (info-xref-check-node): New function split from
1533 info-xref-check-buffer, shared by info-xref-docstrings.
1534 (info-xref-goto-node-p): Move to a checking section with that func.
1535 (info-xref-unavail): New counter.
1536 (info-xref-check-node): Use it.
1537 (info-xref-with-output): Show count of unavailables at end of output.
1538 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1539 symlinks. Exclude .texi files. Exclude Emacs backup files.
1540 (info-xref-check-all-custom): Fix quietening viper-mode and
1541 gnus-registry-install -- use setq not let so as not to unbind
1544 2011-01-16 Juri Linkov <juri@jurta.org>
1546 * isearch.el (isearch-abort): Don't quit if search has
1547 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1549 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1551 * files.el (backup-buffer): Make last-resort backup file in
1552 .emacs.d (Bug#6953).
1554 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1555 make it with permission 700.
1557 2011-01-15 Kenichi Handa <handa@m17n.org>
1559 * mail/rmailmm.el (rmail-mime-insert-header):
1560 Set rmail-mime-coding-system to a cons whose car is the last coding
1561 system used to decode the header.
1562 (rmail-mime-find-header-encoding): New function.
1563 (rmail-mime-insert-decoded-text):
1564 Override rmail-mime-coding-system if it is a cons.
1565 (rmail-show-mime): If only a header part was decoded, find the
1566 coding system while ignoring mm-charset-override-alist.
1568 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1570 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1572 2011-01-15 Kenichi Handa <handa@m17n.org>
1574 * mail/rmailmm.el (rmail-mime-next-item)
1575 (rmail-mime-previous-item): Delete them.
1576 (rmail-mime-shown-mode): Recursively call for children.
1577 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1579 (rmail-mime-raw-mode): Recursively call for children.
1580 (rmail-mode-map): Change mapping of tab and backtab to
1581 forward-button and backward-button respectively.
1582 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1584 (rmail-mime-update-tagline): New function.
1585 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1586 body display is changed.
1587 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1588 (rmail-mime-image): Delete this button type.
1589 (rmail-mime-toggle): New button type.
1590 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1591 body display is changed. Change the save button label to "Save".
1592 Don't process show/hide button here.
1593 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1594 the body display is changed. Unconditionally call
1595 rmail-mime-insert for children.
1596 (rmail-mime-handle): Update `display' vector of the just inserted
1598 (rmail-mime-process): If mail-header-parse-content-type returns
1599 nil, use "text/plain" as the fallback type.
1600 (rmail-mime-insert): For raw-mode, recursively call
1601 rmail-mim-insert for children.
1602 (rmail-mime): Handle the case that the current buffer is not rmail
1603 buffer (e.g. in summary buffer).
1605 2011-01-15 Kenichi Handa <handa@m17n.org>
1607 * mail/rmailmm.el (rmail-mime-next-item)
1608 (rmail-mime-previous-item): Skip the body of a non-multipart
1609 entity if a tagline is shown.
1611 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1613 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1614 (tmm-prompt): Simplify.
1615 (tmm-add-prompt): Remove unused var `win'.
1617 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1618 to minor mode which used nil accidentally to mean "turn off".
1620 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1622 * net/tramp-sh.el (tramp-find-inline-compress)
1623 (tramp-get-inline-coding): Quote command after pipe symbol for
1624 local calls under W32. (Bug#6784)
1626 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1628 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1629 only when running under W32.
1631 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1633 * progmodes/grep.el (grep-compute-defaults): Quote the program
1634 file name after the pipe symbol in Grep templates. (Bug#6784)
1635 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1637 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1639 * buff-menu.el (Buffer-menu-buffer-list): New var.
1640 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1641 restricted buffer list is not lost on revert (Bug#7749).
1643 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1645 * net/ldap.el (ldap-search-internal): Discard stderr output.
1647 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1649 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1651 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1653 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1655 2011-01-15 Kenichi Handa <handa@m17n.org>
1657 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1658 part as a plain text.
1659 (rmail-mime-process-multipart): Set the default content-type to
1660 nil for unknown multipart subtypes (bug#7651).
1662 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1664 * hexl.el (hexl-mode-old-*): Remove.
1665 (hexl-mode--old-var-vals): New var to replace them.
1666 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1667 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1668 Use them to set local vars (bug#7846).
1669 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1670 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1671 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1673 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1674 (smerge-resolve--normalize-re): New var.
1675 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1676 (smerge-resolve): Use them.
1677 * newcomment.el (comment-only-p): New function.
1678 (comment-or-uncomment-region): Use it.
1680 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1682 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1683 table, get the value before switching to the output buffer. (Bug#7733)
1685 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1687 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1689 2011-01-14 Kim F. Storm <storm@cua.dk>
1691 * emulation/cua-base.el (cua--init-keymaps):
1692 Remap exchange-point-and-mark in cua-global-keymap.
1694 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1696 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1699 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1701 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1703 (easy-menu-create-menu, easy-menu-convert-item-1):
1704 Use :label rather than nil for labels. Use `case'.
1705 Add :enable as alias for :active.
1706 (easy-menu-binding): Obey :label.
1708 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1710 Use run-mode-hooks for major mode hooks (bug#513).
1711 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1712 Rename from reftex-toc-map.
1713 (reftex-toc-mode): Use define-derived-mode.
1714 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1715 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1716 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1717 (reftex-select-label-mode, reftex-select-bib-mode):
1718 Use define-derived-mode.
1719 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1720 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1721 Move init into delcaration.
1722 (reftex-index-mode, reftex-index-phrases-mode):
1723 Use define-derived-mode.
1724 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1725 speedbar-syntax-table. Move init into declaration.
1726 (speedbar-mode-map): Rename from speedbar-key-map.
1727 Move init into declaration.
1728 (speedbar-file-key-map): Move init into declaration.
1729 (speedbar-mode): Use define-derived-mode.
1730 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1731 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1732 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1733 (chart-face-list): Move initialization into declaration.
1734 (chart-mode): Use define-derived-mode.
1735 * calculator.el (calculator-mode-map): Move init into declaration.
1736 (calculator-mode): Use define-derived-mode.
1738 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1739 work for nested comments.
1741 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1742 (prolog-use-prolog-tokenizer-flag): Change default when
1743 syntax-propertize can be used.
1744 (prolog-syntax-propertize-function): New var.
1745 (prolog-mode-variables): Move make-local-variable into `set'.
1746 Don't make comment-column local since we don't set it.
1747 Set comment-add (as it was in previous prolog.el). Use dolist.
1748 Set syntax-propertize-function.
1749 (prolog-mode, prolog-inferior-mode):
1750 Call prolog(-inferior)-menu directly, not through the mode-hook.
1751 (prolog-buffer-module, prolog-indent-level)
1752 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1753 (prolog-comment-limits, prolog-goto-comment-column):
1754 Use line-(end|beginning)-position.
1755 (prolog-build-prolog-command): Tighten up regexp.
1756 (prolog-consult-compile): Move make-local-variable into `set'.
1757 (prolog-consult-compile-filter, prolog-goto-next-paren)
1758 (prolog-help-on-predicate, prolog-clause-info)
1759 (prolog-mark-predicate): Don't let+setq.
1760 (prolog-indent-line): Use indent-line-to.
1761 Only call prolog-goto-comment-column if necessary.
1762 (prolog-indent-level): Use bobp.
1763 (prolog-first-pos-on-line): Remove, not used any more.
1764 (prolog-in-string-or-comment): Use syntax-ppss if available.
1765 (prolog-help-on-predicate): Use read-string.
1766 (prolog-goto-predicate-info): Simplify.
1767 (prolog-read-predicate): Use `default' rather than `initial'.
1768 (prolog-temporary-file): Use make-temp-file to close a security hole.
1769 (prolog-toggle-sicstus-sd): New command.
1770 (prolog-electric-underscore, prolog-variables-to-anonymous):
1771 Use dynamic-scoping as it was meant.
1772 (prolog-menu): Move menu definitions to top-level.
1773 Use a toggle-button for Sicstus's source debugger.
1774 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1776 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1777 Move other menu definition to top-level.
1779 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1781 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1782 name. Keep original document's directory as default-directory
1784 (doc-view-initiate-display): Fall back to normal mode when
1785 doc-view-mode cannot be enabled, also when extracting the document
1786 text into a separate buffer (bug#6446).
1788 * simple.el (shell-command): Don't error out if shell command
1789 buffer contains text with non-nil read-only property when erasing
1792 2011-01-13 Kim F. Storm <storm@cua.dk>
1794 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1795 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1796 items when cycling through the matches.
1798 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1800 * dired-x.el (dired-omit-verbose): New defcustom that allows
1801 disabling the omit messages.
1802 (dired-omit-expunge): Use it.
1804 2011-01-13 Christian Ohler <ohler@gnu.org>
1806 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1808 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1810 * font-lock.el (font-lock-verbose): Default to nil.
1812 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1814 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1815 (compose-mail): New arg RETURN-ACTION.
1816 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1818 * mail/sendmail.el (mail-return-action): New var.
1819 (mail-mode): Make it buffer-local.
1820 (mail-bury): Obey it. Move special Rmail window handling to
1822 (mail, mail-setup): New arg RETURN-ACTION.
1823 (sendmail-user-agent-compose): Move from simple.el.
1825 * mail/rmail.el (rmail-mail-return): New function.
1826 (rmail-start-mail): Pass it to compose-mail.
1828 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1830 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1831 menus. Add menu item for customize-themes.
1833 * cus-theme.el (customize-themes):
1834 * emacs-lisp/package.el (package--list-packages):
1835 Use switch-to-buffer.
1837 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1839 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1841 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1843 * progmodes/prolog.el: Fix up coding convention and such.
1844 (prolog-indent-width): Use the same default as in
1845 previous prolog.el rather than tab-width which depends on which buffer
1846 is current when the file is loaded.
1847 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1849 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1850 (prolog-known-systems): Remove.
1851 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1852 Move initialization into declaration.
1853 (prolog-mode-map): Move initialization into declaration.
1854 Remove system-specific mode-map vars, since they referred to the same
1856 (prolog-mode-variables): Obey the user's preference w.r.t
1857 adaptive-fill-mode. Prefer symbol-value to `eval'.
1858 (prolog-mode-keybindings-edit): Add compatibility bindings.
1859 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1860 (mercury-mode-map): New var.
1861 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1862 (prolog-ensure-process, prolog-process-insert-string)
1863 (prolog-consult-compile): Use with-current-buffer.
1864 (prolog-guess-fill-prefix): Simplify data flow.
1865 (prolog-replace-in-string): New function to use instead of
1867 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1868 (prolog-uncomment-region): Use `uncomment-region' when available.
1869 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1870 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1871 of int-to-char and char-to-int.
1872 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1874 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1876 * progmodes/prolog.el: Replace by a whole new file.
1878 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1880 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1881 (declare-function, undefined, insert-for-yank)
1882 (replace-regexp-in-string): Follow checkdoc's recommendations.
1884 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1886 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1887 refreshing the diary buffer.
1889 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1891 * allout.el: Add 2011 to the file copyright.
1892 (allout-encrypt-string): Prevent encryption from adding an extra
1893 newline at the end of the topic body.
1894 (allout-version): Increment to 2.3.
1896 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1898 * net/dbus.el (dbus-unregister-service): Complete doc.
1899 Fix call of dbus-error signal.
1900 (dbus-register-property): Use `dont-register' keyword.
1902 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1904 * net/dbus.el (dbus-unregister-service): Translate returned
1905 integer into a symbol.
1906 (dbus-register-property): Use `dbus-register-service' to do the
1909 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1911 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1912 Suggested by Joakim Verona.
1914 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1916 * wid-edit.el (visibility): Replace :on-image and :off-image
1917 widget properties with :on-glyph and :off-glyph, for consistency
1918 with the `visibility' widget.
1919 (widget-toggle-value-create, widget-visibility-value-create):
1920 Merge into a single function `widget-toggle-value-create'.
1922 * cus-edit.el (custom-variable-value-create, custom-visibility)
1923 (custom-face-edit-value-create, custom-face-value-create):
1924 Replace :on-image and :off-image widget properties with :on-glyph and
1925 :off-glyph, for consistency with the `visibility' widget.
1927 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1929 * net/ldap.el (ldap-search-internal): Don't use eval.
1931 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1933 * subr.el (read-char-choice): Use read-key.
1935 * custom.el (custom-safe-themes): Rename from
1936 custom-safe-theme-files. Add :risky tag.
1937 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1938 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1940 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1942 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1943 from Search and add a label to Undo.
1945 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1946 inappropriate buttons and adding :vert-only tags.
1948 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1949 removal of Help tool-bar button. Remove Undo button for space.
1951 * info.el (info-tool-bar-map): Add :vert-only tags.
1953 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1955 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1956 image backend support. Either of them is fine.
1958 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1960 * subr.el (y-or-n-p): Doc fix.
1962 * custom.el (custom-safe-theme-files): New defcustom.
1963 (custom-theme-load-confirm): New function.
1964 (load-theme): Load theme using `load', confirming with
1965 custom-theme-load-confirm if necessary.
1967 * subr.el (read-char-choice): New function, factored out from
1968 dired-query and hack-local-variables-confirm.
1970 * dired-aux.el (dired-query):
1971 * files.el (hack-local-variables-confirm): Use it.
1973 * dired-aux.el (dired-compress-file):
1974 * files.el (abort-if-file-too-large, find-alternate-file)
1975 (set-visited-file-name, write-file, backup-buffer)
1976 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1977 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1978 Use new format string args for y-or-n-p and yes-or-no-p.
1980 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1982 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1983 [gcc-include]: Tighten file name match, add match for column
1985 [gnu]: Remove unused group.
1987 2011-01-08 Glenn Morris <rgm@gnu.org>
1989 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1991 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1993 2011-01-07 Sam Steingold <sds@gnu.org>
1995 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1996 the `explicit-shell-file-name' because that is the
1997 non-interactive shell.
1999 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2001 * subr.el (y-or-n-p): Accept format string args.
2003 2011-01-07 Glenn Morris <rgm@gnu.org>
2005 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2007 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2009 * allout.el (allout-back-to-current-heading): Ensure return to
2010 the visible containing topic, rather than a collapsed one.
2011 (allout-view-change-hook): Remove hook that was deprecated long ago.
2012 (allout-exposure-change-hook): Remove documentation remarks
2013 concerning removed allout-view-change-hook.
2014 (allout-flag-region): Remove invocation of and documentation
2015 remarks concerning allout-view-change-hook.
2017 2011-01-06 Glenn Morris <rgm@gnu.org>
2019 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2020 (vc-bzr-annotate-extract-revision-at-line):
2021 Handle authors with embedded spaces. (Bug#7792)
2023 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2025 * doc-view.el (doc-view-image-width): New variable.
2026 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2027 backend for PNG images, and do dynamic rescaling instead of
2028 reconverting the whole doc.
2030 2011-01-05 Glenn Morris <rgm@gnu.org>
2032 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2034 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2036 * allout.el: Reconcile with changes in line movement behavior for
2037 long text lines that cross more than a single physical window
2038 line, ie when truncate-lines is nil.
2039 (allout-next-visible-heading): Provide for change in line-move
2040 behavior on long lines when truncate-lines is nil. In that case,
2041 line-move can wind up on the same textual line when it moves to
2042 the next window line, and moving to the bullet position after the
2043 move yields zero advancement. Add logic to detect and compensate
2044 for the lack of progress.
2045 (allout-current-topic-collapsed-p): move-end-of-line respect for
2046 field boundaries is different when operating with body lines
2047 shorter than window width versus ones greater than window width,
2048 which can yield false negatives in this function. Avoid
2049 difference by applying move-end-of-line while field-text-motion is
2052 2011-01-04 Glenn Morris <rgm@gnu.org>
2054 * textmodes/rst.el (rst-compile-toolsets):
2055 Add pdf and s5 to option alist.
2057 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2059 * net/dbus.el (dbus-register-property): Add optional parameter
2060 dont-register-service. Updated docstring accordingly.
2062 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2064 * textmodes/rst.el (rst-compile-pdf-preview)
2065 (rst-compile-slides-preview): Remove extra line.
2067 2011-01-04 Glenn Morris <rgm@gnu.org>
2069 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2070 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2071 default to `prog' without a .py extension.
2072 (rst-compile-pdf-preview, rst-compile-slides-preview):
2073 Use program names from rst-compile-toolsets, rather than hard-coding.
2074 (rst-portable-mark-active-p): Fix presumed typo.
2076 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2078 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2079 libpng versions both before and after 1.4.0. (Bug#7716)
2081 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2083 * time.el (display-time-mode): Mention display-time-interval in
2084 the doc string. (Bug#7713)
2086 2011-01-02 Kenichi Handa <handa@m17n.org>
2088 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2089 condition-case and return an error message string if something
2091 (rmail-show-mime): Adjust for the above change. Insert the
2092 header by rmail-mime-insert-header.
2094 2011-01-02 Kenichi Handa <handa@m17n.org>
2096 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2097 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2098 (rmail-mime-mbox-buffer)
2099 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2100 (rmail-mime-entity): Argument changed. All codes handling an
2101 entity object are changed.
2102 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2104 (rmail-mime-entity-children, rmail-mime-entity-handler)
2105 (rmail-mime-entity-tagline): New functions.
2106 (rmail-mime-message-p): New function.
2107 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2108 (rmail-mime-entity-segment, rmail-mime-next-item)
2109 (rmail-mime-previous-item, rmail-mime-shown-mode)
2110 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2111 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2112 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2114 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2115 (rmail-mime-insert-decoded-text): New function.
2116 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2117 (rmail-mime-insert-image): Argument changed. Caller changed.
2118 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2119 (rmail-mime-set-bulk-data): New function.
2120 (rmail-mime-insert-bulk): Argument changed.
2121 (rmail-mime-multipart-handler): Return t.
2122 (rmail-mime-process-multipart): Argument changed.
2123 Handle "multipart/alternative" here.
2124 (rmail-mime-process): Argument changed.
2125 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2126 (rmail-mime-insert): Argument changed. Handle raw display mode.
2127 (rmail-mime): Argument changed. Handle toggling of raw display
2129 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2130 rmail-mime-view-buffer.
2131 (rmail-insert-mime-forwarded-message): Likewise.
2132 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2134 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2135 non-nil, handle the header in rmail-show-mime-function.
2137 2011-01-02 Leo <sdl.web@gmail.com>
2139 * help-fns.el (describe-variable): Fix previous change.
2141 2011-01-02 Juri Linkov <juri@jurta.org>
2143 * isearch.el (isearch-lazy-highlight-error): New variable.
2144 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2145 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2146 to the current value of `isearch-error' (Bug#7468).
2148 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2150 * help-fns.el (describe-variable): Don't emit trailing whitespace
2153 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2155 * textmodes/rst.el (rst-compile-pdf-preview)
2156 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2158 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2160 * emulation/edt-mapper.el: Override mapping of function keys so
2161 that the later call to read-key-sequence works.
2163 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2165 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2166 Unix EOLs. (Bug#7589)
2168 2011-01-02 Leo <sdl.web@gmail.com>
2170 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2171 if point is not behind eshell-last-output-end (Bug#7585).
2173 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2175 * files.el (file-local-variables-alist):
2176 Make permanent-local (bug#7767).
2178 2011-01-02 Glenn Morris <rgm@gnu.org>
2180 * version.el (emacs-copyright): Set short copyright year to 2011.
2182 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2184 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2185 an existing temp buffer. (Bug#7746)
2187 2011-01-02 Glenn Morris <rgm@gnu.org>
2189 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2190 multiple addresses. (Bug#7760)
2192 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2194 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2195 do-auto-fill if everything points back to allout-auto-fill.
2196 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2197 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2199 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2201 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2204 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2206 * doc-view.el (doc-view-set-doc-type): New function refactored
2208 (doc-view-fallback-mode): New function.
2209 (doc-view-mode): Use it.
2210 (doc-view-mode-maybe): New function that checks if doc-view-mode
2211 can be used and falls back to the next best mode otherwise.
2213 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2214 DVI, OpenDocument, and MS Office files.
2216 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2218 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2220 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2222 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2223 on a copy of auto-mode-alist, because that deletes with side
2226 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2228 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2229 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2230 fallback instead of hard coding fundamental mode.
2232 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2234 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2235 Office) files also for searching.
2237 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2239 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2240 Office) files. Not yet enabled via auto-mode-list.
2241 (doc-view-unoconv-program): New custom variable.
2242 (doc-view-mode-p): Handle new odf document type.
2243 (doc-view-odf->pdf): New conversion function.
2244 (doc-view-convert-current-doc): Call it for odf files.
2245 (doc-view-mode): Recognize newly supported file extensions.
2247 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2249 * net/tramp.el (tramp-default-method-alist)
2250 (tramp-default-user-alist)
2251 (tramp-local-host-regexp, tramp-prefix-domain-format)
2252 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2255 * net/tramp-gvfs.el:
2257 * net/tramp-imap.el:
2259 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2260 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2262 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2264 * saveplace.el (save-place-alist-to-file): Save list sorted and
2265 pretty-printed, so that it is mergeable by line-based text merging,
2266 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2268 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2270 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2271 (allout-mode): Argument "toggle" => "force".
2272 Refine the docstring.
2273 Remove special provisions for reactivation, besides the 'force'
2275 Consolidate layout provisions coce directly into the activation
2276 condition branch, now that we've removed those provisions.
2277 (allout-unload-function): Explicitly activate the mode before
2278 deactivating, if it's initially deactivated.
2279 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2280 warnings for version of function used only where
2281 set-buffer-multibyte is unavailable.
2283 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2285 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2286 are handled by the menu-bar entries. As before, don't use
2287 :visibile to avoid changing the tool-bar.
2289 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2291 * net/secrets.el (secrets-delete-alias): New defun.
2293 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2295 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2296 methods, otherwise ~/.ssh/config would be ignored.
2298 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2300 * emacs-lisp/rx.el: Make it a superset of sregex.
2301 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2302 of args, add `regex' alias.
2303 (rx-info): Add arg to distinguish head and standalone forms.
2304 (rx-check, rx-form): Pass the corresponding arg.
2306 (rx-repeat): Make it work for any number of args.
2307 (rx-syntax): Make it accept syntax chars as is.
2308 * obsolete/sregex.el: Move from emacs-lisp/.
2309 * emacs-lisp/re-builder.el: Remove sregex support.
2310 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2312 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2314 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2315 PRIMARY first, then the clipboard. (Bug#7699)
2317 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2319 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2322 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2324 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2325 .emacs.elc (Bug#7530).
2327 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2328 image spec (Bug#7480).
2330 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2332 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2333 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2336 2010-12-20 Leo <sdl.web@gmail.com>
2338 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2339 always be performed (Bug#7680).
2341 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2343 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2344 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
2347 * color.el: Move from gnus/.
2349 * vc/diff.el (diff-better-file-name): Function deleted.
2350 abbreviating file names causes problems with shell-quote-argument.
2351 (diff-no-select): Just use expand-file-name.
2353 * tool-bar.el (tool-bar--image-expression): New function.
2354 (tool-bar-local-item, tool-bar--image-exp): Use it.
2355 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2356 Use :enable instead of :visible to avoid changing the tool-bar
2357 configuration unnecessarily.
2359 * info.el (info-tool-bar-map): Add separators.
2361 2010-12-17 Ken Brown <kbrown@cornell.edu>
2363 * loadup.el: Use version numbers in Cygwin build.
2365 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
2367 * ido.el (ido-file-internal): Ask for confirmation before
2368 overwriting an existing file (Bug#1238).
2370 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
2372 * tool-bar.el (tool-bar-setup): Add separators.
2374 * menu-bar.el (featurep): Use menu-bar-separator.
2376 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
2378 Migrate allout encryption provisions from pgg to epg.
2380 * allout.el (allout-toggle-current-subtree-encryption)
2381 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2382 defaulting policy and other changes. Change fetch-pass to keymode-cue,
2383 for simpler universal argument interpretation.
2384 (allout-toggle-subtree-encryption): Adjust docstring to describe
2385 changed encryption provisions. Change fetch-pass to keymode-cue, for
2386 simpler universal argument interpretation. Remove provisions for
2387 handling key type and identity - they'll all be within
2388 allout-encrypt-string or epg/epg or even contained all the way in gpg.
2389 (allout-encrypt-string): Include keymode-cue, for optionally prompting
2390 for keypair recipients (universal argument > 1) and, in addition,
2391 associating the specified recipients with the outline (universal
2392 argument > 4) using a file local variable setting for
2393 'epa-file-encrypt-to'.
2394 Require epa, for recipients handling.
2395 Change how regexp filtering elements are named.
2396 Describe the problem with caching of incorrect symmetric-decryption
2398 Use the epa-passphrase-callback-function, in case the user is using
2400 Support saving of the selected keypair recipients when invoked with a
2402 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2404 Establish epg-context with armoring and default epg-protocol.
2405 Remove all passphrase cache, verification, and hinting code.
2406 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2407 No longer used, delete.
2408 (allout-mode): Adjust docstring to describe changed encryption
2409 provisions. Describe the problem with caching of incorrect
2410 symmetric-decryption keys.
2411 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2412 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2413 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2414 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2417 2010-12-16 Daiki Ueno <ueno@unixuser.org>
2419 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2420 key selection prompt; make 'silent as default (Bug#7487).
2422 2010-12-16 Leo <sdl.web@gmail.com>
2424 * eshell/eshell.el (eshell-directory-name):
2425 Use locate-user-emacs-file (Bug#7578).
2427 2010-12-15 Glenn Morris <rgm@gnu.org>
2429 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2431 2010-12-15 Jari Aalto <jari.aalto@cante.net>
2432 Scott Evans <gse@antisleep.com>
2434 * rect.el (rectange--default-line-number-format)
2435 (rectangle-number-line-callback): New functions.
2436 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2438 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
2440 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2441 Delete unused variables.
2442 (move-to-column-force): Remove function obsolete since 21.2.
2444 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
2446 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2447 (tramp-handle-insert-file-contents): Do not set permanent-local
2450 * net/tramp-cache.el (tramp-persistency-file-name):
2451 Use `locate-user-emacs-file' if fboundp.
2453 * net/tramp-sh.el (tramp-methods): Add "ksu".
2454 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2457 2010-12-14 Glenn Morris <rgm@gnu.org>
2459 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2460 (find-tag-marker-ring): Declare.
2461 (js-find-symbol): Require etags.
2463 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2465 (mail-alias-file): Don't autoload. Doc fix.
2466 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2467 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2468 Mark as obsolete, and risky.
2469 (mail-setup): Simplify.
2471 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2472 * mail/sendmail.el (build-mail-aliases): Update autoload.
2474 * dired.el (dired-trivial-filenames, dired-chown-program)
2475 (dired-auto-revert-buffer): Remove autoload cookies.
2476 * mail/sendmail.el (mail-recover-1): Require 'dired.
2478 * dired.el (dired-subdir-switches, dired-chown-program)
2479 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2480 Make into defcustoms.
2481 (dired-chown-program): Simplify initialization.
2483 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2485 2010-12-13 Romain Francoise <romain@orebokech.com>
2487 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2489 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2491 * net/netrc.el (netrc-point-at-eol): Remove the unused
2492 netrc-point-at-old and netrc-bound-and-true-p bindings.
2493 (netrc-parse): Cache the netrc contents.
2495 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2497 * subr.el (posn-col-row): Evaluate header-line-format in the
2498 context of the POSITION window's buffer.
2500 2010-12-13 Glenn Morris <rgm@gnu.org>
2502 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2503 (with-silent-modifications): Doc fixes.
2505 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2507 * net/tramp.el (tramp-action-password, tramp-process-actions):
2508 Revert previous from. Use `save-restriction'.
2510 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2512 * calendar/diary-lib.el (diary-list-sexp-entries):
2513 Handle case of no newline at end of file. (Bug#7536)
2515 2010-12-13 Glenn Morris <rgm@gnu.org>
2517 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2519 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2521 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2522 (tramp-process-actions): Do not widen.
2524 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2525 Protect buffer-modified value. (Bug#7557)
2527 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2529 * log-edit.el (log-edit-changelog-entries):
2530 Regexp quote filename. (Bug#7505)
2532 2010-12-13 Tom Breton <tehom@panix.com>
2534 * cus-edit.el (custom-save-all):
2535 Bind print-length and print-level to nil. (Bug#7581)
2537 2010-12-13 Glenn Morris <rgm@gnu.org>
2539 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2540 Run hooks to update menu contents. (Bug#7586)
2542 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2543 file names, for the sake of MS Windows. (Bug#7588)
2545 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2547 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2548 empty lines without a leading space.
2550 2010-12-13 Leo <sdl.web@gmail.com>
2552 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2553 while mapping over marks (Bug#6810).
2555 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2557 * image-dired.el (image-dired-db-file)
2558 (image-dired-temp-image-file, image-dired-gallery-dir)
2559 (image-dired-temp-rotate-image-file): Set default values relative
2560 to image-dired-dir (Bug#7518).
2562 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2564 * format.el (format-decode-run-method): Pass args FROM and TO, not
2565 point-min and point-max, to shell-command-on-region (Bug#7488).
2567 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2569 * frame.el (blink-cursor-mode): Make default t for ns.
2571 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2573 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2575 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2577 * comint.el (comint-dynamic-list-input-ring)
2578 (comint-dynamic-complete-filename)
2579 (comint-replace-by-expanded-filename)
2580 (comint-dynamic-simple-complete)
2581 (comint-dynamic-list-filename-completions)
2582 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2584 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2587 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2589 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2592 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2594 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2597 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2599 * files.el (file-relative-name): Handle UNC file names on
2600 DOS/Windows. (Bug#4674)
2602 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2604 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2605 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2606 (epg-context-set-passphrase-callback): Mention that the callback
2607 is not called when used with GnuPG 2.x.
2609 2010-12-13 Glenn Morris <rgm@gnu.org>
2611 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2612 Ensure ps-footer-font-size-internal is initialized.
2613 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2615 2010-12-13 Kenichi Handa <handa@m17n.org>
2617 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2618 within condition-case.
2619 (rmail-show-mime): Don't use condition-case.
2620 (rmail-search-mime-message): New function.
2621 (rmail-search-mime-message-function): Set to
2622 rmail-search-mime-message.
2624 2010-12-13 Leo <sdl.web@gmail.com>
2626 * ido.el (ido-common-initialization): New function. (bug#3274)
2628 (ido-completing-read): Call it.
2630 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2632 * bookmark.el (bookmark-name-from-full-record): Rename back to
2633 this original name from `bookmark-name-from-record' reverting part
2634 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2635 As Drew Adams pointed out, there was no reason to cause churn for
2636 third-party callers.
2638 2010-12-12 Alan Mackenzie <acm@muc.de>
2640 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2641 template arglist, check that the current language supports this.
2643 2010-12-11 Glenn Morris <rgm@gnu.org>
2645 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2646 state of the file matches. (Bug#7544)
2647 (vc-bzr-register, vc-bzr-checkin)
2648 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2649 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2651 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2653 2010-12-11 Karel Klíč <kklic@redhat.com>
2655 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2657 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2659 Derive from prog-mode, use derived-mode-p, and fix up various
2660 minor style issues in lisp/progmodes.
2662 * progmodes/vhdl-mode.el (vhdl-mode):
2663 * progmodes/verilog-mode.el (verilog-mode):
2664 * progmodes/vera-mode.el (vera-mode):
2665 * progmodes/sql.el (sql-mode):
2666 * progmodes/scheme.el (scheme-mode):
2667 * progmodes/perl-mode.el (perl-mode):
2668 * progmodes/octave-inf.el (inferior-octave-mode):
2669 * progmodes/autoconf.el (autoconf-mode):
2670 * progmodes/m4-mode.el (m4-mode):
2671 * progmodes/inf-lisp.el (inferior-lisp-mode):
2672 * progmodes/idlwave.el (idlwave-mode):
2673 * progmodes/icon.el (icon-mode):
2674 * progmodes/idlw-help.el (idlwave-help-mode):
2675 * progmodes/dcl-mode.el (dcl-mode):
2676 * progmodes/idlw-shell.el (idlwave-shell-mode):
2677 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2678 (ebrowse-member-mode, ebrowse-electric-position-mode):
2679 Use define-derived-mode.
2681 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2682 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2683 (xscheme-debugger-mode-p, xscheme-send-string-1):
2684 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2685 (tcl-load-file, tcl-restart-with-file):
2686 * progmodes/ps-mode.el (ps-run-running):
2687 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2688 * progmodes/js.el (js--get-all-known-symbols):
2689 * progmodes/inf-lisp.el (inferior-lisp-proc):
2690 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2691 (idlwave-template, idlwave-update-buffer-routine-info)
2692 (idlwave-update-current-buffer-info)
2693 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2694 (idlwave-scan-class-info, idlwave-fix-keywords)
2695 (idlwave-list-buffer-load-path-shadows):
2696 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2697 (idlwave-toolbar-remove):
2698 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2699 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2700 (idlwave-shell-menu-def):
2701 * progmodes/idlw-complete-structtag.el
2702 (idlwave-prepare-structure-tag-completion):
2703 * progmodes/gud.el (gud-set-buffer):
2704 * progmodes/f90.el (f90-backslash-not-special):
2705 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2707 * progmodes/xscheme.el (xscheme-start)
2708 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2709 * progmodes/which-func.el (which-function):
2710 * progmodes/vhdl-mode.el (vhdl-set-style):
2711 * progmodes/verilog-mode.el (verilog-set-compile-command)
2712 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2713 (verilog-set-define, verilog-auto-reeval-locals):
2714 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2715 * progmodes/simula.el (simula-mode):
2716 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2717 * progmodes/python.el (python-check, python-mode):
2718 * progmodes/prolog.el (prolog-mode-variables):
2719 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2720 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2721 * progmodes/delphi.el (delphi-mode):
2722 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2723 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2724 (c-font-lock-init): Move make-local-variable to their setq.
2726 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2727 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2729 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2730 (sh-set-shell): Don't set require-final-newline since it's already done
2732 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2733 since we never set it.
2734 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2735 Use read-string and standard prompt.
2736 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2737 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2738 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2739 (meta-common-mode-map): Rename from meta-mode-map.
2740 Remove C-m binding, which is a user preference, not mode specific.
2741 (meta-common-mode): New major mode; replace meta-common-initialization.
2742 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2743 around with font-lock.
2744 * progmodes/etags.el (select-tags-table-mode):
2745 Derive from special-mode.
2746 * progmodes/octave-mod.el (octave-mode):
2747 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2748 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2749 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2750 Let define-derived-mode do its job.
2751 * progmodes/cpp.el (cpp-edit-mode-map):
2752 Move initialization into declaration.
2753 (cpp-edit-mode): Use define-derived-mode.
2754 (cpp-edit-load): Use derived-mode-p.
2755 * progmodes/mixal-mode.el (mixal-mode):
2756 * progmodes/f90.el (f90-mode):
2757 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2758 require-final-newline since prog-mode does it already.
2759 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2760 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2761 * progmodes/antlr-mode.el: Require cc-mode upfront.
2762 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2764 (antlr-directory-dependencies, antlr-show-makefile-rules):
2766 (antlr-language-option): Don't assume point-min==1.
2767 (antlr-mode): Use define-derived-mode.
2768 * progmodes/ada-mode.el: Use derived-mode-p.
2769 (ada-mode): Use define-derived-mode.
2770 Use hack-local-variables-hook.
2772 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2774 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2775 (texinfo-mode): Don't disable adaptive-fill-mode.
2776 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2777 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2778 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2779 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2780 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2781 (texinfo-insert-@quotation, texinfo-insert-@samp)
2782 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2783 (texinfo-insert-@uref): Use define-skeleton.
2784 (texinfo-insert-@-with-arg): Delete.
2786 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2788 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2789 nil, do quote archive member names. (Bug#6144)
2791 2010-12-10 Glenn Morris <rgm@gnu.org>
2793 * files.el (diff-no-select): Declare.
2795 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2796 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2798 * comint.el (comint-input-ring-file-name): Doc fix.
2800 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2802 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2804 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2805 Use them instead of `nil' and `>', respectively.
2806 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2808 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2809 and menu-bar-positive-p instead of `nil' and `>', respectively.
2812 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2814 * whitespace.el (whitespace-newline-mode): Code fix.
2816 2010-12-09 Glenn Morris <rgm@gnu.org>
2818 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2819 Rename functions without commas, update callers.
2821 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2823 * whitespace.el (whitespace-cleanup-region):
2824 Clean up spaces before tabs. (Bug#7582)
2826 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2828 * bookmark.el: Adjust parameter names and doc strings to resolve
2829 confusion over whether "bookmark" meant a bookmark name or a
2830 bookmark record. Along the way, shorten one function's name for
2831 similar reasons. (Issue #7548)
2832 (bookmark-name-from-record): New name for
2833 `bookmark-name-from-full-record'. All callers changed.
2834 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2835 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2836 (bookmark-get-annotation, bookmark-set-annotation)
2837 (bookmark-get-filename, bookmark-set-filename)
2838 (bookmark-get-position, bookmark-set-position)
2839 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2840 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2841 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2842 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2843 Rename `bookmark' parameter to `bookmark-name-or-record', to
2844 clearly show its role, and shorten or adjust doc strings accordingly.
2845 (bookmark-set-name): Same, and pass the parameter directly to
2846 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2847 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2848 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2849 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2850 and in some cases shorten doc string accordingly.
2851 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2852 and `new-name', and adjust an internal variable to avoid confusion.
2853 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2854 parameter in doc string.
2856 2010-12-08 Glenn Morris <rgm@gnu.org>
2858 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2859 from gdb's history file. (Bug#7575)
2861 * mail/emacsbug.el (report-emacs-bug):
2862 Try to handle some other mail clients.
2864 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2866 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2867 Use string-prefix-p.
2868 (file-name-version-regexp): New var.
2869 (file-name-sans-versions):
2870 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2871 (jka-compr-get-compression-info): Use dolist.
2872 (jka-compr-compression-info-list): Don't bother specifying
2873 version/backup regexps.
2875 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2877 * simple.el (just-one-space): Make argument n default to 1 if
2880 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2882 * electric.el (electric-indent-post-self-insert-function):
2883 Delete trailing newlines even if we don't reindent.
2885 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2887 * minibuffer.el (completion-at-point): Remove the `arg'.
2888 * bindings.el (complete-symbol): Move back from minibuffer.el.
2890 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2892 * simple.el (just-one-space): Delete newlines for negative arg.
2894 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2896 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2897 (ansi-color-filter-apply): Simplify.
2898 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2900 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2902 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2904 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2906 * dired.el (dired-use-ls-dired): Set default to a special
2907 "unspecified" value.
2908 (dired-insert-directory): When called the first time, check
2909 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2911 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2913 * replace.el: Add "collect" feature to occur.
2914 (occur-collect-regexp-history): New var.
2915 (occur-read-primary-args): Return a replace string for nlines,
2917 (occur): Extend the meaning of nlines.
2919 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2921 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2922 (which-func-update-1): Distinguish symbols from strings.
2923 (which-function): Stay within 80 columns.
2925 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2927 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2929 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2931 (comment-style): Use comment-styles's docs to describe values.
2933 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2935 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2936 and ns-show-prefs (Bug#7535).
2938 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2939 bindings (Bug#7535).
2941 2010-12-03 Glenn Morris <rgm@gnu.org>
2943 * nxml/nxml-mode.el: Require rng-nxml.
2944 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2945 Remove declarations.
2947 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2948 * nxml/rng-nxml.el, nxml/rng-valid.el:
2949 Remove leading `*' from defcustom docs.
2951 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2952 (normal-top-level-add-to-load-path, tty-handle-args):
2953 Convert comments to basic doc-strings.
2955 * net/browse-url.el (browse-url-url-at-point)
2956 (browse-url-default-browser): Remove autoload cookies.
2958 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2959 Remove more undefined cl functions.
2961 * vc/diff.el (diff-sentinel): Make new arguments optional.
2962 * ibuf-ext.el (diff-sentinel): Update declaration.
2964 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2966 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2967 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2968 (epg-context-set-passphrase-callback): Mention that the callback
2969 is not called when used with GnuPG 2.x.
2971 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2973 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2974 (tramp-file-name-port): Check also for `tramp-default-port'.
2975 (tramp-get-connection-name): New defun.
2976 (tramp-get-connection-process): Use it.
2977 (tramp-debug-message): Extend function exclude list.
2978 (tramp-drop-volume-letter): Fix doc string.
2980 * net/tramp-cmds.el: Remove solved todo item.
2984 * net/tramp-gvfs.el:
2986 * net/tramp-imap.el:
2987 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2988 and `tramp-default-user-alist', respectively.
2990 * net/tramp-gw.el (tramp-gw-open-connection):
2991 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2993 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2994 `tramp-file-name-port'.
2996 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2997 and "psftp". Exchange "%k" marker with options.
2998 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2999 Compute size of link target.
3000 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3001 `tramp-current-*' up due to gateway methods. Optimize computing of
3002 copy arguments. Use `tramp-get-connection-name' and
3003 `tramp-get-connection-buffer'. Improve debug messages.
3004 (tramp-compute-multi-hops): Remove port determination.
3005 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3007 * net/trampver.el: Update release number.
3009 2010-12-02 Glenn Morris <rgm@gnu.org>
3011 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3012 Avoid infinite loop over windows. (Bug#7492)
3014 * progmodes/flymake.el (flymake-check-file-limit):
3015 Allow nil to mean "no limit".
3016 (flymake-check-patch-master-file-buffer): Update for above change.
3017 Allow a .tex file-name extension to be optional.
3018 (flymake-master-tex-init): Also match \include statements.
3020 2010-11-30 Sam Steingold <sds@gnu.org>
3022 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3023 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3024 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3025 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3026 define-derived-mode').
3027 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3028 users who want to call `nxml-parent-document-set'.
3030 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3032 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3033 stand-alone lines, since that is handled by log-edit-match-to-eoh
3036 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3038 * dired.el (dired-get-filename): Replace backslashes with slashes
3039 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3040 * locate.el (locate-default-make-command-line): Don't consider
3041 drive letter and root directory part of
3042 `directory-listing-before-filename-regexp'. (Bug#7308)
3043 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3045 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3047 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3048 of :smie-open/close-alist.
3049 (smie-next-sexp): Make it accept a "start token" as argument.
3050 (smie-indent-keyword): Be careful not to misidentify tokens that span
3051 more than one line, as empty lines. Add argument `token'.
3053 2010-11-27 Kenichi Handa <handa@m17n.org>
3055 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3056 multipart subtypes, insert all as usual.
3058 * mail/rmail.el: Require rfc2047.
3060 2010-11-27 Kenichi Handa <handa@m17n.org>
3062 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3063 (rmail-mime-entity-disposition)
3064 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3065 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3066 (rmail-mime-save): Handle the case that the button's `data' is a
3068 (rmail-mime-insert-text): New function.
3069 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3070 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3071 (rmail-mime-insert-bulk): New function mostly copied from the old
3072 rmail-mime-bulk-handler.
3073 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3074 (rmail-mime-process-multipart): New function mostly copied from
3075 the old rmail-mime-multipart-handler.
3076 (rmail-mime-show): Just call rmail-mime-process.
3077 (rmail-mime-process): New function mostly copied from the old
3079 (rmail-mime-insert-multipart, rmail-mime-parse)
3080 (rmail-mime-insert, rmail-show-mime)
3081 (rmail-insert-mime-forwarded-message)
3082 (rmail-insert-mime-resent-message): New functions.
3083 (rmail-insert-mime-forwarded-message-function): Set to
3084 rmail-insert-mime-forwarded-message.
3085 (rmail-insert-mime-resent-message-function): Set to
3086 rmail-insert-mime-resent-message.
3088 * mail/rmailsum.el: Require rfc2047.
3089 (rmail-header-summary): Handle multiline Subject: field.
3090 (rmail-summary-line-decoder): Change the default to
3091 rfc2047-decode-string.
3093 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3094 (rmail-mime-feature): Change the default to `rmailmm'.
3095 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3096 (rmail-display-labels): Likewise.
3097 (rmail-show-message-1): Check rmail-enable-mime, and use
3098 rmail-show-mime-function for a MIME message. Decode the headers
3099 according to RFC2047.
3101 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3103 * progmodes/which-func.el (which-func-imenu-joiner-function):
3104 Return a string, as expected.
3105 (which-function-mode): Make sure we stop any previous timer before
3108 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3110 * net/tramp.el (tramp-default-method-alist)
3111 (tramp-default-user-alist, tramp-default-proxies-alist):
3112 Adapt custom options type. (Bug#7445)
3114 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3116 * progmodes/python.el: Add Ipython support (Bug#5390).
3117 (python-shell-prompt-alist)
3118 (python-shell-continuation-prompt-alist): New options.
3119 (python--set-prompt-regexp): New function.
3120 (inferior-python-mode, run-python, python-shell):
3121 Require ansi-color. Use python--set-prompt-regexp to set the comint
3122 prompt based on the Python interpreter.
3123 (python--prompt-regexp): New var.
3124 (python-check-comint-prompt)
3125 (python-comint-output-filter-function): Use it.
3126 (run-python): Use a pipe (Bug#5694).
3128 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3130 * progmodes/python.el (run-python): Doc fix.
3131 (python-keep-current-directory-in-path): New var (Bug#7454).
3133 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3135 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3136 Prompt user before actually printing.
3138 2010-11-27 Glenn Morris <rgm@gnu.org>
3140 * startup.el (package-enable-at-startup, package-initialize):
3141 Remove unnecessary declarations.
3143 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3145 * international/characters.el (glyphless-char-display-control):
3146 Exclude newline and TAB from the c0-control group.
3148 2010-11-27 Glenn Morris <rgm@gnu.org>
3150 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3151 (expand-mail-aliases): Remove unnecessary autoload.
3153 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3155 * shell.el (shell-dir-cookie-re): Move definition before use.
3157 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3158 Replace undefined CL functions.
3160 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3162 * simple.el (prog-mode): Set bidi-paragraph-direction to
3165 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3167 2010-11-26 Glenn Morris <rgm@gnu.org>
3169 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3170 diary-outlook-formats can be sensitive to calendar-date-style.
3171 (diary-outlook-formats): Simplify the default setting.
3172 (diary-from-outlook-internal): Pass subject and body as arguments.
3173 Use dolist rather than dotimes. Don't save the diary buffer.
3174 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3175 Pass subject and body as explicit arguments to the -internal function.
3177 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3179 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3180 parsing them. This makes mailto:...?subject=foo\nbar work.
3182 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3184 * vc/diff.el (diff): Fix last change.
3186 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3188 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3189 (pcase--dontcare-upats): New var.
3190 (pcase-let, pcase-let*): Generate better code.
3191 Accept the same bodies as `let'.
3192 (pcase-dolist): New macro.
3193 (pcase--trivial-upat-p): New helper function.
3194 (pcase--expand): Strip leading "(let nil" if any.
3196 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3198 * mail/mailclient.el (browse-url): Require.
3199 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3200 use the external browser function to send the mail (bug#7469).
3202 * net/browse-url.el (browse-url-browser-function): Revert the
3203 default back to the previous value, since the new value broke
3205 (browse-url-mailto-function): New variable for mailto: URLs.
3206 (browse-url): Use the new variable for mailto: URLs.
3208 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3210 * eshell/esh-cmd.el (eshell-parse-command):
3211 * eshell/esh-arg.el (eshell-parse-arguments):
3212 * eshell/em-script.el (eshell-source-file):
3213 Use with-silent-modifications.
3215 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3217 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3218 for a merge location.
3220 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3221 (vc-bzr-merge-branch): Always prompt.
3222 (vc-bzr-async-command): Use the full branch filename.
3224 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3226 * shell.el (shell): Use current-buffer by default if it's already
3227 a shell mode buffer and its process is dead.
3228 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3230 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3232 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3233 Mention that the keywords should be comma separated.
3235 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3237 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3238 Accept optional prefix arg meaning to prompt for a command.
3239 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3240 prefix arg meaning to prompt for a command.
3241 (vc-pull): Alias for vc-update.
3243 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3244 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3245 (vc-bzr-merge-branch): New functions, implementing merge-branch
3246 and pull operations.
3248 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3250 * Makefile.in: Fix up last merge.
3252 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3253 (diff-sentinel): Get them as arguments instead.
3254 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3255 (diff-file-local-copy, diff-better-file-name): New funs.
3256 (diff-no-select): Rename from diff-into-buffer.
3257 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3258 Prefer closures to buffer-local variables.
3259 (diff): Adjust accordingly.
3260 (diff-buffer-with-file): Move from files.el.
3261 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3262 (diff-buffer-internal): Remove.
3263 (diff-buffer-buffer): Remove.
3264 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3265 the buffer name used, and so as not to mess up windows and frames.
3267 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3269 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3270 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3271 (diff-buffer-with-file): Use it.
3272 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3275 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3277 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3278 \ref's or \pageref's value as default instead of initial input.
3280 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3282 * files.el (backup-by-copying-when-mismatch): The default value is
3285 * startup.el (normal-top-level):
3286 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3287 `backup-by-copying-when-mismatch'.
3289 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3291 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3293 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3295 * progmodes/python.el (python-font-lock-keywords):
3296 Highlight top-level augmented assignments (Bug#6445).
3298 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3300 * term/ns-win.el (ns-right-control-modifier)
3301 (ns-right-command-modifier): Defvar them.
3303 * cus-start.el (all): Add ns-right-control-modifier and
3304 ns-right-command-modifier (Bug#7458).
3306 2010-11-20 Glenn Morris <rgm@gnu.org>
3308 * emacs-lisp/authors.el (authors-ignored-files)
3309 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3311 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3313 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3314 (report-emacs-bug-parse-query-results)
3315 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3316 keywords used for querying the bug database to show them in the
3317 existing bugs buffer.
3319 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3321 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3323 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3325 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3327 * international/characters.el (glyphless-char-display-control):
3328 Make it a defcustom, with update-glyphless-char-display as its
3330 (top level): Don't call update-glyphless-char-display.
3332 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3334 Sync with Tramp 2.2.0.
3336 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3337 `file-remote-p' (due to compatibility).
3339 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3340 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3342 * net/trampver.el: Update release number.
3344 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3346 * faces.el (glyphless-char): Define value for `pc'.
3348 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3350 Implemented a bug querying mechanism.
3351 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3352 (report-emacs-bug-create-existing-bugs-buffer)
3353 (report-emacs-bug-parse-query-results)
3354 (report-emacs-bug-query-existing-bugs): New functions.
3356 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
3358 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3359 a \ref{} or \pageref{} macro, then use its value as initial input.
3361 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3363 * calc/calc-units.el (math-build-units-table-buffer):
3364 calc/README: Mention that the TeX specific units won't use the
3365 `tex' prefix in TeX mode.
3366 calc/calc-lang.el (math-variable-table): Don't use the `tex'
3367 prefix for units in TeX mode.
3369 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3371 * simple.el (kill-new, kill-append, kill-region):
3372 * comint.el (comint-kill-region): Make the yank-handler argument
3375 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3377 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3378 that are both openers (resp. closers) and something else.
3379 (smie-grammar): Loosen definition of valid values.
3380 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3381 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3382 (smie-indent-after-keyword): Adjust users.
3383 (smie-indent-keyword): Don't indent empty lines.
3385 * vc-hg.el (vc-hg-program): New var.
3386 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3387 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3389 2010-11-18 Glenn Morris <rgm@gnu.org>
3391 * emacs-lisp/autoload.el (autoload-find-destination): The function
3392 coding-system-eol-type may return non-numeric values. (Bug#7414)
3394 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
3396 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3398 2010-11-18 Eli Zaretskii <eliz@gnu.org>
3400 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
3402 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
3404 * textmodes/picture.el (picture-mouse-set-point): Don't use
3405 posn-col-row; explicitly compute the motion based on the posn at
3406 the window-start (Bug#7390).
3408 2010-11-18 Glenn Morris <rgm@gnu.org>
3410 * novice.el (disabled-command-function):
3411 Fix 2009-11-15 change. (Bug#7384)
3413 2010-11-18 Glenn Morris <rgm@gnu.org>
3415 * calendar/calendar.el (diary-iso-date-forms): Make elements
3416 mutually exclusive. (Bug#7377)
3418 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3420 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3421 when filling the remaining "unconstrained" values.
3423 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3425 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3428 * files.el (safe-local-variable-p): Gracefully handle errors.
3430 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3431 Use smie-indent-virtual when indenting relative to an opener.
3432 (smie-rule-separator): Use smie-rule-parent.
3433 (smie-indent-keyword): Consult rules, even for openers at bol.
3434 (smie-indent-comment-close): Try to align closer's content.
3436 2010-11-18 Glenn Morris <rgm@gnu.org>
3438 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3440 2010-11-18 Glenn Morris <rgm@gnu.org>
3442 * printing.el (pr-menu-bind): Doc fix.
3444 * speedbar.el (speedbar-toggle-images): Doc fix.
3446 * progmodes/python.el (python-shell): Doc fix.
3448 * wid-edit.el (widget-field-use-before-change)
3449 (widget-use-overlay-change): Doc fixes.
3451 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3453 Minor cleanup to improve style.
3454 * textmodes/rst.el (rst-update-section): Use point-marker.
3455 (rst-get-decoration): Eliminate unneeded assignment.
3456 (rst-promote-region, rst-straighten-decorations)
3457 (rst-section-tree, rst-adjust): Use point-marker.
3458 (rst-toc-mode-mouse-goto): Avoid setq.
3459 (rst-shift-region-guts, rst-shift-region-left)
3460 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3461 (rst-convert-bullets-to-enumeration): Use copy-marker.
3463 * minibuffer.el (completion-fail-discreetly): New var.
3464 (completion--do-completion): Use it.
3466 * electric.el (electric-pair-pairs): New var.
3467 (electric-pair-post-self-insert-function): Use it.
3468 (electric-layout-post-self-insert-function): Don't insert a before
3469 newline unless it's actually needed.
3471 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3473 * progmodes/python.el (run-python): Explain why we remove the current
3474 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3476 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3478 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3480 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3481 (octave-mode-map): Don't bind ;, SPC, and LF.
3482 (octave-auto-indent, octave-auto-newline): Remove.
3483 (electric-layout-rules): Declare.
3484 (octave-mode): Set electric-layout-rules.
3485 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3486 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3487 (octave-electric-space): Remove.
3489 * electric.el (electric-layout-mode): New minor mode.
3490 (electric--after-char-pos): New function.
3491 (electric-indent-post-self-insert-function): Use it.
3492 (electric-layout-rules): New var.
3493 (electric-layout-post-self-insert-function): New function.
3494 (electric-indent-mode): Make them interact better.
3496 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3498 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3499 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3500 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3502 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3504 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3505 Make sure to check inside the word (Bug#6761).
3507 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3509 * startup.el (command-line): If the cursorColor resource is set,
3510 change the cursor face-spec (Bug#7392).
3512 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3514 The main features of the following allout.el changes are:
3515 - implement user customization for the allout key bindings
3516 - add a customization control by which the user can inhibit use of
3517 a trailing Ctrl-H, so by default it's reserved for use with
3518 describe-prefix-bindings
3519 - adapt to new version of called-interactively-p, while
3520 maintaining backwards compatibility with old version
3521 - fix hotspot navigation so i works properly with meta-modified keys
3523 * allout.el (allout-keybindings, allout-bind-keys)
3524 (allout-keybindings-binding, allout-prefixed-keybindings)
3525 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3526 (allout-keybindings-list, allout-mode-map-adjustments)
3527 (allout-setup-mode-map): Establish allout-mode keymaps as user
3528 customizable settings, and also establish a customizable setting which
3529 regulates whether or not a trailing control-h is reserved for use with
3530 describe-prefix-bindings - and inhibit it by default, so that control-h
3531 *is* reserved for describe-prefix-bindings unless the user changes it.
3533 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3534 and accurately between modified and unmodified events, and handle
3535 modified events more comprehensively.
3537 * allout.el (allout-substring-no-properties):
3538 Alias to use or provide version of `substring-no-properties'.
3539 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3541 * allout.el (allout-next-single-char-property-change):
3542 Alias to use or provide version of `next-single-char-property-change'.
3543 (allout-annotate-hidden, allout-hide-by-annotation):
3544 Use `allout-next-single-char-property-change'.
3546 * allout.el (allout-select-safe-coding-system):
3547 Alias to use or provide version of `select-safe-coding-system'.
3548 (allout-toggle-subtree-encryption):
3549 Use `allout-select-safe-coding-system'.
3551 * allout.el (allout-set-buffer-multibyte):
3552 Alias to use or provide version of `set-buffer-multibyte'.
3553 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3555 * allout.el (allout-called-interactively-p): Macro for using the
3556 different versions of called-interactively-p identically, depending on
3557 the subroutine's argument signature.
3558 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3559 Use `(interactive "p")' instead of `(called-interactively-p)'.
3561 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3562 (allout-previous-visible-heading, allout-forward-current-level)
3563 (allout-backward-current-level, allout-show-children):
3564 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3566 * allout.el (allout-before-change-handler):
3567 Exempt edits to the (overlaid) character after the allout outline
3568 bullet from edit confirmation prompt.
3570 * allout.el (allout-add-resumptions):
3571 Ensure that it respects correct buffer for keybindings.
3573 * allout.el (allout-beginning-of-line):
3574 Use `allout-previous-single-char-property-change' alias for the sake of
3575 diverse compatibility.
3577 * allout.el (allout-end-of-line):
3578 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3580 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3582 * frame.el (frame-notice-user-settings): Don't clobber other
3583 user-set parameters when calling face-set-after-frame-default in
3584 response to background-color parameter (Bug#7373).
3586 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3588 * international/characters.el (glyphless-char-display-control):
3589 Rename from glyphless-char-control; all users changed. Doc fix.
3590 Signal an error if display method is not one of the recognized
3593 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3595 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3596 (tramp-compat-line-end-position): Remove them.
3598 * net/tramp.el (tramp-parse-rhosts-group)
3599 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3600 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3601 (tramp-parse-netrc-group, tramp-parse-putty-group)
3602 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3603 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3604 (tramp-sh-handle-file-selinux-context)
3605 (tramp-sh-handle-file-name-all-completions)
3606 (tramp-sh-handle-insert-directory)
3607 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3608 (tramp-wait-for-output, tramp-send-command-and-read)
3609 * net/tramp-smb.el (tramp-smb-read-file-entry)
3610 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3612 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3614 (tramp-remote-coding-commands): Add an alternative using "base64
3615 -d -i". This is needed for older base64 versions from GNU
3616 coreutils. Reported by Klaus Reichl
3617 <Klaus.Reichl@thalesgroup.com>.
3619 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3621 * simple.el (count-words-region): New function.
3623 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3625 * shell.el (shell-dir-cookie-re): New custom variable.
3626 (shell-dir-cookie-watcher): New function.
3628 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3629 and compilation-mode (bug#7350).
3631 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3632 highlight when one of them is empty.
3634 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3636 (skeleton-newline): New function.
3637 (skeleton-internal-1): Use it.
3639 * simple.el (open-line): `newline' may strip trailing space.
3641 2010-11-12 Kevin Ryde <user42@zip.com.au>
3643 * international/mule-cmds.el (princ-list): Use mapc.
3645 2010-11-12 Glenn Morris <rgm@gnu.org>
3647 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3648 Use it to replace all instances of "*Compile-Log*"
3650 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3652 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3655 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3657 * progmodes/modula2.el: Use SMIE and skeleton.
3658 (m2-mode-syntax-table): (*..*) can be nested.
3659 Add //...\n. Fix paren syntax.
3660 (m2-mode-map): Remove LF and TAB bindings.
3661 (m2-indent): Add safety property.
3662 (m2-smie-grammar): New var.
3663 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3664 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3665 (m2-mode): Use define-derived-mode.
3666 (m2-newline, m2-tab): Remove.
3667 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3668 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3669 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3670 (m2-import): Use define-skeleton.
3672 2010-11-11 Glenn Morris <rgm@gnu.org>
3674 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3676 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3677 (ls-lisp-verbosity): Add custom :set-after property.
3678 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3679 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3680 (ls-lisp-insert-directory): Update caller.
3681 (ls-lisp-set-options): New function.
3682 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3685 * play/landmark.el (lm-prompt-for-move):
3686 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3688 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3690 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3691 (idlwave-study-twins): Prefix dynamic local variable `name'.
3692 (idlwave-routine-twin-compare): Update for above change.
3694 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3695 Prefix dynamic local variables `name', `kwd', and `link'.
3696 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3697 * progmodes/idlw-complete-structtag.el
3698 (idlwave-complete-structure-tag-help):
3699 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3700 (idlwave-complete-sysvar-tag-help)
3701 (idlwave-complete-class-structure-tag-help):
3702 Update for above name changes.
3704 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3706 * net/browse-url.el (browse-url-browser-function): Change the
3707 default to use `browse-url-mail' on mailto: URLs.
3709 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3711 * emacs-lisp/package.el (package-read-all-archive-contents):
3712 Reset package-archive-contents to nil before re-reading.
3714 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3716 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3717 already found as misspellings by (flyspell-large-region), just
3718 do highlighting (bug#7322).
3720 2010-11-10 Glenn Morris <rgm@gnu.org>
3722 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3724 * emulation/edt.el (edt-with-position): New macro.
3725 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3726 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3727 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3729 * emulation/tpu-extras.el (tpu-with-position): New macro.
3730 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3732 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3734 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3735 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3736 (texinfo-master-menu, texinfo-insert-node-lines)
3737 (texinfo-multiple-files-update):
3738 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3739 Use line-beginning-position.
3741 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3742 No recent Emacs supports system-type `emx'.
3744 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3745 (ada-command-separator, ada-default-prj-properties)
3746 (ada-find-any-references): Update for above name change.
3748 * dirtrack.el (dirtrack-directory-function)
3749 (dirtrack-canonicalize-function):
3750 * filecache.el (file-cache-completion-ignore-case)
3751 (file-cache-case-fold-search, file-cache-ignore-case):
3752 * term.el (serial-port-is-file-p): Cosmetic change.
3754 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3755 Remove non-existent `windows-95' system-type.
3756 * dired.el (dired-chown-program): Remove non-existent `linux'
3759 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3760 (ping-program-options): Remove non-existent `linux' system-type.
3762 * startup.el (package-initialize): Update declaration.
3764 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3765 (ls-lisp-handle-switches): Use time-less-p.
3766 (ls-lisp-format-time): Use float-time.
3768 * textmodes/remember.el (remember-time-to-seconds): Remove.
3769 (remember-store-in-mailbox): Use float-time.
3771 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3773 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3774 never a real function.
3775 (with-no-warnings): Remove compat stub, now unused.
3776 (time-less-p): Doc fix.
3777 (time-to-number-of-days): Simplify.
3779 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3781 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3782 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3783 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3784 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3785 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3787 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3788 (eshell-shuffle-files, eshell-shorthand-tar-command)
3789 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3790 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3791 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3792 Prefix dynamic local variable `matches'.
3794 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3795 Prefix dynamic local variable `skeleton'.
3797 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3799 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3800 in mail buffer; make yank-action always a command that yanks original
3803 2010-11-09 Glenn Morris <rgm@gnu.org>
3805 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3807 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3809 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3810 completion field (bug#7211).
3812 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3813 Fix handling of backslash escapes.
3814 (python-quote-syntax): Adjust accordingly.
3816 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3818 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3819 (vc-mtn-workfile-branch): Adjust to new output format.
3821 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3823 * international/mule-cmds.el (princ-list): Mark as obsolete.
3825 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3827 * emacs-lisp/smie.el: New package.
3829 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3831 * files.el (backup-by-copying-when-mismatch):
3832 Set `permanent-local' property.
3834 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3835 `permanent-local' property for `backup-by-copying-when-mismatch'.
3837 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3839 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3841 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3843 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3844 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3845 AUTOINOUT for SV style multidimensional arrays, bug294.
3846 Reported by Eric Mastromarchi.
3847 (verilog-preprocess): Use with-current-buffer and
3848 font-lock-fontify-buffer to cleanup style issues.
3850 2010-11-09 Glenn Morris <rgm@gnu.org>
3852 * locate.el (locate, locate-mode): Doc fixes.
3854 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3856 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3857 user for confirmation.
3858 (server-force-stop): Use it.
3859 (server-start): Use server-force-stop for kill-emacs-hook, to
3860 avoid user interaction while killing Emacs.
3862 2010-11-09 Glenn Morris <rgm@gnu.org>
3864 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3865 (meta-indent-line): Simplify.
3867 * vc/emerge.el (emerge-line-number-in-buf):
3868 * textmodes/ispell.el (ispell-region):
3869 * textmodes/fill.el (current-fill-column):
3870 * progmodes/xscheme.el (xscheme-send-current-line):
3871 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3872 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3873 * progmodes/sh-script.el (sh-handle-prev-do):
3874 * progmodes/meta-mode.el (meta-indent-line):
3875 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3877 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3878 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3879 * progmodes/fortran.el (fortran-looking-at-if-then):
3880 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3881 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3882 (cperl-find-pods-heres):
3883 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3884 * net/quickurl.el (quickurl-list-insert):
3885 * net/ldap.el (ldap-search-internal):
3886 * net/eudc.el (eudc-expand-inline):
3887 * mail/sendmail.el (sendmail-send-it):
3888 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3889 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3890 (viper-brac-function):
3891 * calc/calc-yank.el (calc-do-grab-region):
3892 * calc/calc-keypd.el (calc-keypad-press):
3893 * term.el (term-move-columns, term-insert-spaces):
3894 * speedbar.el (speedbar-highlight-one-tag-line):
3895 * simple.el (current-word):
3896 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3897 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3899 * hippie-exp.el (he-line-beg):
3900 * epa.el (epa--marked-keys):
3901 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3902 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3903 (dired-relist-entry):
3904 * buff-menu.el (Buffer-menu-buffer):
3905 * array.el (current-line):
3906 * allout.el (allout-resolve-xref)
3907 (allout-latex-verbatim-quote-curr-line):
3908 Replace yet more uses of end-of-line etc with line-end-position, etc.
3910 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3912 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3913 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3914 (checkdoc-syntax-table): Initialize in the declaration.
3915 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3916 the mode on unconditionally.
3918 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3919 (extent-end-position, extent-start-position): Remove setf method for
3920 non-existing functions (bug#7319).
3922 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3924 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3925 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3926 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3927 (smie-prec2->grammar): Rename from smie-prec2-levels.
3928 (smie-grammar): Rename from smie-op-levels.
3929 (smie-indent--hanging-p): Rename from smie-hanging-p.
3930 (smie-rule-hanging-p): New alias.
3931 (smie-indent--bolp): Rename from smie-bolp.
3932 (smie-indent--hanging-p): New alias.
3933 (smie--token): New dynamically bound variable.
3934 (smie-indent--parent): New function.
3935 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3936 (smie-rule-next-p): Rename from smie-next-p.
3937 (smie-rule-prev-p): Rename from smie-prev-p.
3938 (smie-rule-sibling-p, smie-rule-parent)
3939 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3940 (smie-rule-separator-outdent): New var.
3941 (smie-indent--rule): Merge with smie-indent--column.
3942 (smie-indent-forward-token, smie-indent-backward-token):
3943 Also recognize close parens.
3944 (smie-indent-keyword): Don't use smie-indent--column any more.
3945 (smie-indent-after-keyword): Ignore closers by default.
3946 (smie-indent-line): Use with-demoted-errors.
3947 * progmodes/octave-mod.el (octave-smie-grammar):
3948 Rename from octave-smie-op-levels.
3949 (octave-smie-rules): Adjust to new behavior.
3950 * progmodes/prolog.el (prolog-smie-grammar):
3951 Rename from prolog-smie-op-levels.
3953 2010-11-07 Glenn Morris <rgm@gnu.org>
3955 * eshell/esh-util.el (subst-char-in-string)
3956 (directory-files-and-attributes): These compatibility definitions are
3957 not needed on any version of Emacs since at least 21.4.
3959 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3960 (verilog-get-end-of-line): Remove.
3961 (verilog-within-string, verilog-re-search-forward-substr)
3962 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3963 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3964 Use point-at-bol, point-at-eol.
3965 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3967 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3968 (electric-pascal-terminate-line, pascal-set-auto-comments)
3969 (pascal-indent-paramlist, pascal-indent-declaration)
3970 (pascal-get-lineup-indent, pascal-func-completion)
3971 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3972 Use point-at-bol, point-at-eol.
3973 * progmodes/flymake.el (flymake-line-beginning-position)
3974 (flymake-line-end-position): Remove.
3975 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3976 * eshell/esh-util.el (line-end-position, line-beginning-position):
3977 Remove compat definitions.
3979 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3981 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3982 Use line-end-position.
3984 * emacs-lisp/chart.el (chart-zap-chars):
3985 * play/decipher.el (decipher-set-map):
3986 * progmodes/ada-mode.el (ada-get-current-indent)
3987 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3988 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3989 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3990 (ada-get-all-references):
3991 * progmodes/cperl-mode.el (cperl-electric-paren)
3992 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3993 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3994 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3995 (cperl-word-at-point-hard):
3996 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3997 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3998 (idlwave-shell-display-line):
3999 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4000 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4001 * progmodes/js.el (js--re-search-forward-inner)
4002 (js--re-search-backward-inner):
4003 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4004 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4005 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4006 * textmodes/flyspell.el (flyspell-process-localwords):
4007 * textmodes/ispell.el (ispell-buffer-local-parsing)
4008 (ispell-buffer-local-dict, ispell-buffer-local-words):
4009 Use point-at-bol and point-at-eol.
4011 * speedbar.el (speedbar-generic-item-info)
4012 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4013 (speedbar-add-indicator, speedbar-check-vc-this-line)
4014 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4015 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4016 Replace more uses of end-of-line etc with line-end-position.
4018 2010-11-06 Glenn Morris <rgm@gnu.org>
4020 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4021 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4022 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4023 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4024 (texinfo-multiple-files-update):
4025 * textmodes/table.el (table--probe-cell-left-up)
4026 (table--probe-cell-right-bottom):
4027 * textmodes/picture.el (picture-tab-search):
4028 * textmodes/page-ext.el (pages-copy-header-and-position)
4029 (pages-directory-for-addresses):
4030 * progmodes/vera-mode.el (vera-get-offset):
4031 * progmodes/simula.el (simula-calculate-indent):
4032 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4033 * progmodes/prolog.el (end-of-prolog-clause):
4034 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4035 * progmodes/icon.el (indent-icon-exp):
4036 * progmodes/etags.el (tag-re-match-p):
4037 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4038 * progmodes/ebnf2ps.el (ebnf-begin-file):
4039 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4040 (dcl-save-local-variable):
4041 * play/life.el (life-setup):
4042 * play/gametree.el (gametree-looking-at-ply):
4043 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4044 * mail/sendmail.el (mail-mode-auto-fill):
4045 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4046 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4047 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4048 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4049 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4050 * type-break.el (type-break-file-keystroke-count):
4051 * term.el (term-replace-by-expanded-history-before-point)
4052 (term-skip-prompt, term-extract-string):
4053 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4054 (speedbar-contract-line, speedbar-toggle-line-expansion)
4055 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4056 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4057 * sort.el (sort-skip-fields):
4058 * skeleton.el (skeleton-internal-list):
4059 * simple.el (line-move-finish, line-move-to-column):
4060 * shell.el (shell-forward-command):
4061 * misc.el (copy-from-above-command):
4062 * makesum.el (double-column):
4063 * ebuff-menu.el (electric-buffer-update-highlight):
4064 * dired.el (dired-move-to-end-of-filename):
4065 * dframe.el (dframe-popup-kludge):
4066 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4067 * arc-mode.el (archive-get-lineno):
4068 Use line-end-position and line-beginning-position.
4070 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4071 (idlwave-study-twins): Prefix dynamic local `class'.
4072 (idlwave-routine-twin-compare): Update for above name change.
4074 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4075 Use boundp tests to silence compiler. Update for changed name of
4076 bytecomp-filename variable.
4078 * emulation/viper-cmd.el (viper-read-string-with-history):
4079 Prefix dynamic local `initial'.
4080 (viper-minibuffer-standard-hook): Update for above name change.
4082 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4083 (elint-init-form): Update for above name change.
4085 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4086 local variables `cbeg' and `cend' a prefix.
4087 (mail-extr-voodoo): Update for above name change.
4089 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4090 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4091 (reftex-toc-promote-action): Doc fix.
4093 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4094 `prompt', `data' a prefix.
4095 (reftex-select-post-command-hook, reftex-select-callback)
4096 (reftex-select-mouse-accept, reftex-select-read-cite):
4097 Update for above name changes.
4099 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4100 `refstyle' to reftex-refstyle.
4101 (reftex-offer-label-menu): Update for above name change.
4102 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4103 `refstyle' name change.
4105 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4106 with with-current-buffer.
4107 (diff, template): Give dynamic local variables a prefix.
4108 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4109 (emerge-line-number-in-buf): Update for above name change.
4110 (emerge-combine-versions-internal): Rename local `template' to
4111 emerge-combine-template.
4112 (emerge-combine-versions-edit): Update for above name change.
4114 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4116 * textmodes/reftex-cite.el
4117 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4118 entries with whitespace after \bibitem.
4119 (reftex-create-bibtex-file): Match entries containing numbers and
4120 symbol constituents. Make sure that entries with whitespace at
4121 various places are found.
4123 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4125 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4127 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4129 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4131 2010-11-05 Glenn Morris <rgm@gnu.org>
4133 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4134 (woman2-roff-buffer): Give local variable `request' a prefix.
4135 (woman0-macro): Rename argument `request' in the same way.
4136 (woman-request): New name for `request' dynamic variable.
4137 (woman-unquote, woman-forward-arg): Update for above name change.
4138 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4139 (woman1-unquote): New name for `unquote' dynamic variable.
4140 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4141 (woman-translations): Rename from `translations'. No longer global.
4142 (woman2-tr, woman-translate): Update for above name change.
4143 (woman-translate): Check for bound variable.
4144 (woman2-roff-buffer): Give local variable `translations' a prefix.
4146 * play/doctor.el: Give all local variables a prefix. Update callers.
4147 (doc$, doctor-put-meaning): Use backquote.
4149 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4150 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4152 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4153 variables bytes, ptr, op a prefix.
4154 (disassemble-offset): Update for above change.
4156 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4158 * emacs-lisp/package.el (package-unpack): Remove no-op.
4159 (package--builtins, package--dir): Doc fix.
4160 (package-activate-1, package-activate, package-install)
4161 (package-compute-transaction): Fix error message.
4162 (package-delete): Use delete-directory. Omit system packages.
4163 (package-initialize): Set package-alist to nil first.
4164 (package-menu-mark-delete, package-menu-mark-install): Don't add
4165 symbols that are inconsistent with the package state.
4166 (package-menu-execute): Perform deletions and installations as
4167 single batch operations.
4169 2010-11-03 Glenn Morris <rgm@gnu.org>
4171 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4172 (props): Remove unnecessary declaration.
4174 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4175 set-process-query-on-exit-flag.
4177 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4178 (reftex-toc-do-promote): Remove unused local `mpos'.
4179 (reftex-toc-restore-region): Make `mpos' local to this function.
4181 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4183 * play/landmark.el (lm-losing-threshold): Correct spelling.
4184 (lm-human-plays): Use new name.
4186 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4187 (gomoku-human-plays): Use new name.
4189 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4190 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4191 (gomoku-score-trans-table, gomoku-winning-threshold)
4192 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4194 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4196 * emacs-lisp/package.el: Don't put built-in packages in
4197 package-alist, to avoid loading inefficiencies.
4198 (package-built-in-p): Make VERSION optional, and treat it as a
4199 minimum acceptable version.
4200 (package-activate): Search separately for built-in packages.
4201 Emit a warning if a dependency fails.
4202 (define-package): Handle most common case, where there is no
4203 obsolete package, first.
4204 (package-compute-transaction): Print required version in error.
4205 (package--initialized): New variable.
4206 (list-packages): Use it.
4207 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4208 built-in packages in packages-alist; keep it separate.
4209 Set package--initialized.
4210 (describe-package): Avoid activating packages as a side-effect.
4211 Search separately for built-in packages.
4212 (describe-package-1): Handle the case where an elpa package is
4213 simultaneously built-in and available/installed.
4214 (package-installed-p, package--generate-package-list):
4215 Search separately for built-in packages.
4216 (package-load-descriptor): Doc fix.
4218 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4220 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4221 Handle __DATA__ and __END__.
4223 2010-11-02 Noah Friedman <friedman@splode.com>
4225 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4226 nil, do not ask to recompile files that are not already compiled,
4227 and do not recompile them.
4229 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4231 * emacs-lisp/package.el (package-initialize): Ensure that
4232 obsoleted built-in packages are not in package-activated-list
4234 (describe-package-1): Make the "installed" status override
4237 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4239 * subr.el (version-separator, version-regexp-alist): Remove '*'
4241 (version-list-<=, version<=, version=): Doc fix.
4243 2010-11-01 Kenichi Handa <handa@m17n.org>
4245 * faces.el (glyphless-char): Inherit underline for tty.
4247 2010-11-01 Kenichi Handa <handa@m17n.org>
4249 Implement various display methods for glyphless characters.
4251 * international/characters.el (char-acronym-table): New variable.
4252 (glyphless-char-control): New variable.
4253 (update-glyphless-char-display): New function.
4255 * faces.el (glyphless-char): New face.
4257 2010-11-01 Glenn Morris <rgm@gnu.org>
4259 * calendar/holidays.el (general-holidays, oriental-holidays)
4260 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4261 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4262 the definitions of their targets.
4264 * emacs-lisp/smie.el (smie): New custom group.
4265 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4267 * faces.el (xw-defined-colors, x-setup-function-keys):
4268 * mouse-sel.el (x-select-text):
4269 * term/w32console.el (x-setup-function-keys): Update declarations.
4271 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4273 * textmodes/ispell.el (comment-add): Declare.
4275 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4278 * info.el (finder-keywords-hash, package-alist): Declare.
4280 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4282 * finder.el (finder-compile-keywords): Don't use intern-soft,
4283 since package names may not yet exist in the obarray.
4285 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4287 * vc/vc-arch.el (vc-arch-checkin):
4288 * vc/vc-cvs.el (vc-cvs-checkin):
4289 * vc/vc-mtn.el (vc-mtn-checkin):
4290 * vc/vc-rcs.el (vc-rcs-checkin):
4291 * vc/vc-sccs.el (vc-sccs-checkin):
4292 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4293 since 2010-04-21 commit by Stefan Monnier.
4295 2010-11-01 Glenn Morris <rgm@gnu.org>
4297 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4299 * startup.el (package-enable-at-startup, package-initialize):
4302 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4305 2010-10-31 Julien Danjou <julien@danjou.info>
4307 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4308 (byte-recompile-directory):
4309 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4310 Use `byte-recompile-file'.
4312 2010-10-31 Glenn Morris <rgm@gnu.org>
4314 * cus-start.el: Handle standard values via a keyword.
4315 Only set version property if specified.
4316 (cursor-in-non-selected-windows, menu-bar-mode)
4317 (tool-bar-mode, show-trailing-whitespace):
4318 Do not specify standard values.
4319 (transient-mark-mode, temporary-file-directory): Use :standard.
4321 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4323 * term/x-win.el (x-get-selection-value): New function that gets
4324 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4326 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4328 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4329 preserve owner and group when editing files. (Bug#7289)
4331 2010-10-31 Glenn Morris <rgm@gnu.org>
4333 * speedbar.el (speedbar-mode):
4334 * play/fortune.el (fortune-in-buffer, fortune):
4335 * play/gomoku.el (gomoku-mode):
4336 * play/landmark.el (lm-mode):
4337 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4338 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4340 * select.el (x-selection): Mark it as an obsolete alias.
4342 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4344 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4345 major-mode (bug#7284).
4347 2010-10-31 Glenn Morris <rgm@gnu.org>
4349 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4350 rather than just an unused variable that inherits from the real one.
4352 2010-10-31 Alan Mackenzie <acm@muc.de>
4354 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4355 This fixes bug #7185.
4357 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
4359 * startup.el (command-line): Search for package directories, and
4360 don't load package.el if none are found.
4362 * emacs-lisp/package.el (describe-package, list-packages):
4363 Call package-initialize if it has not been called yet.
4365 2010-10-30 Alan Mackenzie <acm@muc.de>
4367 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4368 which fontifies the tail of an enum.
4369 (c-basic-matchers-after): Insert a call to the above new function.
4370 This fixes bug #7264.
4372 2010-10-30 Glenn Morris <rgm@gnu.org>
4374 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4375 tool-bar-mode, transient-mark-mode. (Bug#7306)
4376 Include the :set property in the dumped Emacs.
4378 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4380 SMIE: change indent rules format, improve smie-setup.
4381 * emacs-lisp/smie.el (smie-precs-precedence-table)
4382 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4383 Mark them pure so the tables gets built at compile time.
4384 (smie-bnf-precedence-table): Store the closer-alist in the table.
4385 (smie-prec2-levels): Preserve the closer-alist.
4386 (smie-blink-matching-open): Be more forgiving in case of indentation.
4387 (smie-hanging-p): Rename from smie-indent--hanging-p.
4388 (smie-bolp): Rename from smie-indent--bolp.
4389 (smie--parent, smie--after): New dynamic vars.
4390 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4391 (smie-indent-rules): Remove.
4392 (smie-indent--offset-rule): Remove fun.
4393 (smie-rules-function): New var.
4394 (smie-indent--rule): New fun.
4395 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4396 (smie-indent-exps): Use it.
4397 (smie-setup): Setup paren blinking; add keyword args for token
4398 functions; extract closer-alist from op-levels.
4399 (smie-indent-debug-log): Remove var.
4400 (smie-indent-debug): Remove fun.
4401 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4402 (prolog-smie-rules): New fun to replace it.
4403 (prolog-mode-variables): Simplify.
4404 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4405 it's setup automatically.
4406 (octave-smie-indent-rules): Remove.
4407 (octave-smie-rules): New fun to replace it.
4408 (octave-mode): Simplify.
4410 2010-10-29 Glenn Morris <rgm@gnu.org>
4412 * files.el (temporary-file-directory): Remove (already defined in C).
4413 * cus-start.el: Add temporary-file-directory.
4415 * abbrev.el (abbrev-mode):
4416 * composite.el (auto-composition-mode):
4417 * menu-bar.el (menu-bar-mode):
4418 * simple.el (transient-mark-mode):
4419 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4420 that they do not define the associated variables twice.
4421 * simple.el (transient-mark-mode): Remove defvar.
4422 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4423 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4424 Handle multiple groups, and also custom-delayed-init-variables.
4425 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4427 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4429 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4430 (pcase-if): Add one minor optimization.
4431 (pcase-split-equal): Rename from pcase-split-eq.
4432 (pcase-split-member): Rename from pcase-split-memq.
4433 (pcase-u1): Add strings to the member optimization.
4434 Add `guard' variant of predicates.
4435 (pcase-q1): Add string patterns.
4437 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4439 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4441 2010-10-28 Glenn Morris <rgm@gnu.org>
4443 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4444 Move menu-bar related settings to ../menu-bar.el.
4445 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4446 Move ns-specific settings here from term/ns-win.el.
4448 * simple.el (x-selection-owner-p): Remove unused declaration.
4450 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4452 * minibuffer.el (completion-cycling): New var (bug#7266).
4453 (minibuffer-complete, completion--do-completion):
4454 Use completion--flush-all-sorted-completions.
4455 (minibuffer-complete): Only cycle if completion-cycling is set.
4456 (completion--flush-all-sorted-completions): Unset completion-cycling.
4457 (minibuffer-force-complete): Set completion-cycling.
4458 (completion-all-sorted-completions): Move declaration before first use.
4460 2010-10-28 Leo <sdl.web@gmail.com>
4462 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4463 which changes the order of matches seen by users (bug#7231).
4465 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4467 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4468 Don't confuse -omega as "-o mega".
4470 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4472 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4473 (log-edit-author): New dynamic var.
4474 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4475 to return the author if different from committer.
4476 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4478 * play/landmark.el: Adjust commenting convention.
4479 (lm-nil-score): Rename from nil-score.
4480 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4481 (OOOOscore): Move into a let in lm-score-trans-table.
4482 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4484 * electric.el (electric-indent-chars): Autoload.
4485 * progmodes/octave-mod.el (octave-mode):
4486 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4487 (ruby-mode-abbrev-table): Merge initialization and declaration.
4489 2010-10-27 Glenn Morris <rgm@gnu.org>
4491 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4494 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4496 * term/ns-win.el: Restore require of cl when compiling.
4497 (menu-bar-final-items): Remove non-existent `windows' menu.
4498 (ns-handle-nxopen): Optionally handle the temp-case.
4499 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4500 (ns-insert-file, ns-find-file): Use `pop'.
4502 2010-10-26 Glenn Morris <rgm@gnu.org>
4504 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4506 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4508 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4510 * term/common-win.el (x-setup-function-keys): Remove most of the
4511 keymappings. Comment on the remaining ones.
4513 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4515 * server.el (server-port): New option. (Bug#854)
4516 (server-start): Use server-port.
4518 2010-10-26 Glenn Morris <rgm@gnu.org>
4520 * term/ns-win.el (ns-version-string): Remove unused declaration.
4521 (ns-invocation-args): Change to x-invocation-args.
4522 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4523 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4524 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4525 Use x-invocation-args instead of ns-invocation-args.
4526 (ns-initialize-window-system, handle-args-function-alist):
4527 Use x-handle-args instead of ns-handle-args.
4528 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4529 * startup.el (command-line-ns-option-alist): Replace
4530 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4531 ns-handle-iconic with the x- equivalents.
4533 * term/common-win.el (x-select-enable-clipboard):
4534 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4536 * term/ns-win.el: No need to require cl when compiling.
4537 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4538 (xw-defined-colors): Use the common-win definitions.
4539 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4540 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4541 * term/common-win.el (x-select-text, x-alternatives-map)
4542 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4543 * loadup.el [ns]: Load common-win.
4545 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4547 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4548 recipients; expand mail aliases (Bug#7280).
4550 2010-10-25 Glenn Morris <rgm@gnu.org>
4552 * term/common-win.el (x-handle-switch): Simplify with pop.
4553 Optionally handle numeric switches.
4554 (x-handle-numeric-switch): Just call x-handle-switch.
4555 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4556 (x-handle-name-switch, x-handle-display, x-handle-args):
4559 * term/ns-win.el: Do not require easymenu.
4560 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4561 <spell>: Move adjustments to menu-bar.el.
4562 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4563 <separator-undo, spell>: Move ns-win's adjustments here.
4564 * loadup.el [ns]: Do not load easymenu.
4566 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4568 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4571 * startup.el (fancy-startup-tail): Instead of using inline images,
4572 refer to image files from etc/.
4574 * wid-edit.el (checkbox): Likewise.
4575 (widget-image-find): Center image specs.
4577 2010-10-24 Glenn Morris <rgm@gnu.org>
4579 * term/ns-win.el (x-select-text): Doc fix.
4580 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4581 (x-select-text): Move to term/common-win.
4582 * term/w32-win.el (xw-defined-colors): Move to common-win.
4583 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4584 (x-setup-function-keys, x-select-text): Move to common-win.
4585 * term/common-win.el (x-select-text, x-alternatives-map)
4586 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4589 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4591 * net/mairix.el (mairix-searches-mode-map):
4592 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4594 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4596 * verilog-mode.el (verilog-directive-re): Make this variable
4597 auto-built for efficiency of execution and updating.
4598 (verilog-extended-complete-re): Support 'pure' fucntion & task
4599 declarations (these have no bodies).
4600 (verilog-beg-of-statement): General cleanup to enable support of
4601 'pure' fucntion & task declarations (these have no bodies).
4602 These efforts together fix Verilog bug210 from veripool; which was also
4603 noticed by Steve Pearlmutter.
4604 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4605 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4606 Support `elsif. Reported by Shankar Giri.
4607 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4608 attribute handling for lining up declarations and assignments.
4609 (verilog-beg-of-statement-1): Fix issue where continued declaration
4610 is indented differently if it is after a begin..end clock.
4611 (verilog-in-attribute-p, verilog-skip-backward-comments)
4612 (verilog-skip-forward-comment-p): Support proper treatment of
4613 attributes by indent code. Reported by Jeff Steele.
4614 (verilog-in-directive-p): Fix comment to correctly describe function.
4615 (verilog-backward-up-list, verilog-in-struct-region-p)
4616 (verilog-backward-token, verilog-in-struct-p)
4617 (verilog-in-coverage-p, verilog-do-indent)
4618 (verilog-pretty-declarations): Use verilog-backward-up-list as
4619 wrapper around backward-up-list inorder to properly skip comments.
4620 Reported by David Rogoff.
4621 (verilog-property-re, verilog-endcomment-reason-re)
4622 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4623 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4624 of if). Reported by Max Bjurling and
4625 (verilog-calc-1): Fix for clocking block in modport
4626 declaration. Reported by Brian Hunter.
4628 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4630 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4631 (verilog-gate-keywords, verilog-read-sub-decls)
4632 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4633 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4634 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4635 (verilog-read-decls): Fix spaces in V2K module parameters causing
4636 mis-identification as interfaces, bug287.
4637 (verilog-read-decls): Fix not treating "parameter string" as a
4638 parameter in AUTOINSTPARAM.
4639 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4640 treating `elsif similar to `endif inside AUTOSENSE.
4641 (verilog-do-indent): Implement correct automatic or static task or
4642 function end comment highlight. Reported by Steve Pearlmutter.
4643 (verilog-font-lock-keywords-2): Fix highlighting of single
4644 character pins, bug264. Reported by Michael Laajanen.
4645 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4646 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4647 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4648 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4649 (verilog-pretty-expr): Fix interactive arguments, bug272.
4650 Reported by Mark Johnson.
4651 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4652 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4653 bug269. Suggested by Gary Delp.
4654 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4655 (verilog-preprocessor, verilog-set-compile-command):
4656 Create verilog-preprocess and verilog-preprocessor to show
4657 preprocessed output.
4658 (verilog-get-beg-of-line, verilog-get-end-of-line)
4659 (verilog-modi-file-or-buffer, verilog-modi-name)
4660 (verilog-modi-point, verilog-within-string): Move defmacro's
4661 before first use to avoid warning. Reported by Steve Pearlmutter.
4662 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4663 (verilog-colorize-region, verilog-highlight-buffer)
4664 (verilog-highlight-includes, verilog-highlight-modules)
4665 (verilog-highlight-region, verilog-mode): Rename colorize to
4666 highlight to match other packages. Disable module highlighting,
4667 as received speed complaints, reenable for experimentation only
4668 using new verilog-highlight-modules.
4669 (verilog-read-decls): Fix regexp stack overflow in very large
4670 AUTO_TEMPLATEs, bug250.
4671 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4672 (verilog-scan): Create verilog-save-buffer-state to standardize
4673 making insignificant changes that shouldn't call hooks.
4674 (verilog-save-no-change-functions, verilog-save-scan-cache)
4675 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4676 Create verilog-save-no-change-functions to wrap verilog-scan
4677 preservation, and fix to work with nested preserved calls.
4678 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4679 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4680 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4681 (verilog-submit-bug-report): Update variable list to be complete.
4682 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4683 breaking on-the-fly font-locking.
4684 (verilog-colorize-buffer, verilog-colorize-include-files)
4685 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4686 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4687 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4688 AUTOINST cell instance name, middle mouse button now finds-file on
4689 it. Suggested by Brad Dobbie.
4690 (verilog-alw-get-temps, verilog-auto-reset)
4691 (verilog-auto-sense-sigs, verilog-read-always-signals)
4692 (verilog-read-always-signals-recurse): Fix loop indexes being
4693 AUTORESET. AUTORESET now assumes any variables in the
4694 initialization section of a for() should be ignored.
4695 Reported by Dan Dever.
4696 (verilog-error-font-lock-keywords)
4697 (verilog-error-regexp-emacs-alist)
4698 (verilog-error-regexp-xemacs-alist): Fix error detection of
4699 Cadence HAL, reported by David Asher. Repair drift between the
4700 three similar error variables.
4701 (verilog-modi-lookup, verilog-modi-lookup-cache)
4702 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4703 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4704 Fix slow verilog-auto expansion on very large files.
4705 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4706 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4707 "{1*2{...". Broke in last revision.
4708 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4709 submodule connections with replications "{#{a},#{b}}".
4711 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4713 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4714 Fix typo in docstring.
4716 2010-10-24 Kenichi Handa <handa@m17n.org>
4718 * face-remap.el (text-scale-adjust): Call read-event with a proper
4721 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4723 * emacs-lisp/unsafep.el: Don't mark functions that display
4724 messages as safe. Suggested by Johan Bockgård.
4726 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4728 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4729 Turn comments into docstrings.
4731 * minibuffer.el (completion--replace): Move point where it belongs
4732 when there's a common suffix (bug#7215).
4734 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4736 Merge read-color and facemenu-read-color (Bug#7242).
4738 * faces.el (read-color): Use the completion code from
4739 facemenu-read-color. Require match in completion. Doc fix.
4741 * facemenu.el (facemenu-read-color): Alias for read-color.
4742 (facemenu-set-foreground, facemenu-set-background):
4745 * frame.el (set-background-color, set-foreground-color)
4746 (set-cursor-color, set-mouse-color, set-border-color):
4749 2010-10-24 Leo <sdl.web@gmail.com>
4751 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4752 argument of delete-file and delete-directory (Bug#7011).
4754 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4756 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4759 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4761 * emacs-lisp/package.el (package--generate-package-list): Make the
4762 *Packages* buffer read-only.
4764 2010-10-24 Alan Mackenzie <acm@muc.de>
4766 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4767 result of `c-beginning-of-decl-1' between invocations of a lambda
4768 function (Bug #7265).
4770 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4772 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4773 executable is not available on the system (Bug#7268).
4775 2010-10-24 Glenn Morris <rgm@gnu.org>
4777 * select.el (selection-coding-system, next-selection-coding-system):
4778 Sync doc with C versions.
4780 * w32-vars.el (x-select-enable-clipboard):
4781 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4782 * term/common-win.el (x-select-enable-clipboard): Move here.
4784 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4785 definition of C variable.
4787 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4788 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4789 Don't redefine things that are defined in C.
4790 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4791 (show-trailing-whitespace, auto-hscroll-mode)
4792 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4793 Set up the appropriate custom properties.
4795 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4798 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4799 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4800 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4801 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4803 2010-10-23 Glenn Morris <rgm@gnu.org>
4805 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4808 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4809 Sync docs with C version.
4811 * term/ns-win.el (xw-defined-colors):
4812 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4814 * term/pc-win.el (x-select-enable-clipboard):
4815 * term/x-win.el (x-select-enable-clipboard):
4816 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4818 * comint.el (comint-password-prompt-regexp): Make it less vague.
4821 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4823 * help.el (finder-by-keyword): Remove unnecessary autoload.
4825 2010-10-22 Glenn Morris <rgm@gnu.org>
4827 * loadup.el: Unconditionally load float-sup.
4828 * paren.el (show-paren-delay):
4829 * emacs-lisp/float-sup.el:
4830 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4831 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4832 (lazy-lock-stealth-verbose): Assume float support.
4833 * ps-print.el: Assume float support on Emacs.
4834 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4835 Remove non-float branch.
4837 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4838 src/Makefile no longer being pre-processed.
4840 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4842 * emacs-lisp/find-func.el (find-library): Use test-completion.
4844 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4846 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4848 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4850 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4851 space in stat format string.
4852 (tramp-send-command): Unset $PS1 when using here documents, in
4853 order not to get several prompts.
4854 (tramp-get-inline-coding): Return `nil' in case of errors.
4856 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4858 * hexl.el (hexl-mode, hexl-mode-exit):
4859 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4860 (hexl-revert-buffer-function): New function.
4861 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4863 2010-10-19 Alan Mackenzie <acm@muc.de>
4865 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4866 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4867 that these keywords aren't wrongly matched as identifiers.
4869 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4870 setting of c-new-BEG and c-new-END from c-before-change to
4871 c-after-change. (Bug#7181)
4873 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4875 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4878 * custom.el (custom-theme-set-variables): Likewise.
4879 (load-theme): Add custom-theme-set-faces and
4880 custom-theme-set-variables to safe-functions while loading.
4881 (custom-enabled-themes): Mark as risky.
4883 2010-10-18 Julien Danjou <julien@danjou.info>
4885 * bindings.el: Remove end dashes in default mode-line-format.
4887 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4889 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4890 to delete-forward-char.
4892 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4893 deletechar, and hence delete-forward-char.
4895 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4897 * repeat.el (repeat): Use read-key (bug#6256).
4899 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4901 * emacs-lisp/unsafep.el: Don't mark functions that display
4902 messages as safe. Suggested by Johan Bockgård.
4904 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4906 * minibuffer.el (completion--replace): Move point where it belongs
4907 when there's a common suffix (bug#7215).
4909 2010-10-19 Kenichi Handa <handa@m17n.org>
4911 * international/characters.el: Add category '|' (word breakable)
4912 to fullwidth characters.
4914 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4916 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4917 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4918 order to make stat results a float. Patch by Andreas Schwab
4919 <schwab@linux-m68k.org>.
4921 2010-10-18 Julien Danjou <julien@danjou.info>
4923 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4924 hidden by `make-pointer-invisible'.
4926 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4928 * files.el (locate-file-completion-table): Strip non-matching elements
4929 before checking length of list (bug#7238).
4931 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4933 * custom.el (custom-theme-set-variables): Mark as a safe function.
4934 (load-theme): Check forms using unsafep.
4936 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4938 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4940 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4941 Fix aspell data file searching (bug#7230).
4943 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4945 * cus-theme.el (custom-theme--migrate-settings): New var.
4946 (customize-create-theme): Allow editing the `user' theme.
4947 (custom-theme-add-variable, custom-theme-add-var-1)
4948 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4949 to the front of each variable or face widget.
4950 (custom-theme-write): Save theme settings in the correct order.
4951 Optionally, remove saved settings from user customizations.
4952 (custom-theme-write-variables, custom-theme-write-faces):
4953 Save only the checked widgets.
4954 (customize-themes): Add a link for migrating custom settings.
4956 * custom.el (custom-declare-theme, provide-theme):
4957 Use custom-theme-name-valid-p.
4958 (custom-theme-name-valid-p): Remove checks that are now
4959 unnecessary since themes no longer obey load-path.
4961 * cus-edit.el (custom-variable-value-create): For the simple
4962 style, hide documentation string when hidden.
4964 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4966 * cus-edit.el (custom-variable, custom-face): Combine the
4967 :inhibit-magic and :display-style properties into a single
4968 :custom-style property.
4969 (custom-toggle-hide-variable, custom-toggle-hide-face):
4970 New functions. If hiding an edited value, save it to :shown-value.
4971 (custom-variable-value-create, custom-face-value-create): Use them.
4972 (custom-magic-reset): Allow magic property to be unset.
4974 * custom.el: Custom themes no longer use load-path.
4975 (custom-theme-load-path): New option. Change built-in theme
4977 (custom-enabled-themes): Add custom-theme-load-path dependency.
4978 (custom-theme--load-path): New function.
4979 (load-theme, custom-available-themes): Use it.
4981 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4982 (customize-themes): Link to custom-theme-load-path variable.
4983 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4984 :custom-style property.
4986 * themes/*.el: Moved to etc/.
4988 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4990 * textmodes/reftex-cite.el
4991 (reftex-extract-bib-entries-from-thebibliography): Do not move
4992 point when searching for \bibitem entries. Match entries with
4993 spaces or tabs in front of arguments.
4995 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4997 * cus-theme.el (customize-create-theme): Delete overlays after
4998 erasing. If given a THEME arg, display only the faces of that arg
4999 instead of custom-theme--listed-faces.
5000 (custom-theme-variable-menu, custom-theme-variable-action)
5001 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5002 (custom-theme-add-variable, custom-theme-add-face): Apply value
5003 from the theme settings, instead of the current value.
5004 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5005 (custom-theme-visit-theme): Allow calling outside theme buffers.
5006 (custom-theme-merge-theme): Don't enable the theme when merging.
5007 (custom-theme-write-variables, custom-theme-write-faces): Use the
5008 :shown-value properties to save buffer values, not global ones.
5009 (customize-themes): Display a warning about user customizations.
5011 * cus-edit.el (custom-variable-value-create)
5012 (custom-face-value-create): Obey new special properties
5013 :shown-value and :inhibit-magic.
5015 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5017 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5018 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5021 2010-10-14 Kenichi Handa <handa@m17n.org>
5023 * mail/rmail.el (rmail-show-message-1): Catch an error of
5024 base64-decode-region and just show an error message (bug#7165).
5026 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5027 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5028 a font-spec (bug#7197).
5030 2010-10-14 Glenn Morris <rgm@gnu.org>
5032 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5034 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5036 * international/mule.el (define-coding-system):
5037 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5038 * composite.el (compose-region): Fix typo in docstring.
5040 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5042 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5043 only after checking the theme-face property.
5045 * faces.el (face-spec-reset-face): Reset all attributes in one
5046 single call to set-face-attribute.
5047 (face-spec-match-p): Make it a defsubst.
5048 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5049 (x-create-frame-with-faces, tty-create-frame-with-faces)
5050 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5051 frame-set-background-mode, since they are recomputed immediately
5052 afterwards in face-set-after-frame-default.
5053 (face-set-after-frame-default): Minor optimization.
5054 (cursor): Provide non-trivial defface spec.
5056 * custom.el (custom-theme-recalc-face): Simplify.
5058 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5060 * calc/calc-alg.el (math-var): Rename from `var'.
5061 (math-is-polynomial, math-is-poly-rec): Replace `var'
5064 * calc/calcalg2.el (math-var): Rename from `var'.
5065 (calcFunc-table, math-scan-for-limits): Replace `var'
5068 2010-10-13 Glenn Morris <rgm@gnu.org>
5070 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5072 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5074 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5076 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5078 * net/tls.el (tls-program): Remove spurious %s from openssl.
5079 (tls-starttls-switches): Remove starttls hack.
5080 (open-tls-stream): Ditto.
5081 (tls-find-starttls-argument): Ditto.
5083 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5085 * image.el (image-library-alist): Declare as obsolete alias.
5086 (image-type-available-p): Use `dynamic-library-alist'.
5088 * term/w32-win.el (dynamic-library-alist):
5089 Use instead of `image-library-alist'.
5091 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5093 * subr.el (last): Make it faster. (Bug#7174)
5095 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5097 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5099 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5101 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5102 (describe-theme-1): Extract doc from unloaded themes.
5104 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5106 * themes/tango-theme.el:
5107 * themes/tango-dark-theme.el:
5108 * themes/wheatgrass-theme.el: New files.
5110 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5112 * cus-theme.el (describe-theme, customize-themes)
5113 (custom-theme-save): New commands.
5114 (custom-new-theme-mode-map): Bind C-x C-s.
5115 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5116 (customize-create-theme): New optional arg THEME.
5117 (custom-theme-revert): Use it.
5118 (custom-theme-visit-theme): Remove dead code.
5119 (custom-theme-merge-theme): Use custom-available-themes.
5120 (custom-theme-write): Make interactive.
5121 (custom-theme-write): Use custom-theme-name-valid-p.
5122 (describe-theme-1, custom-theme-choose-revert)
5123 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5125 (custom-theme-allow-multiple-selections): New option.
5126 (custom-theme-choose-mode): New major mode.
5128 * custom.el (custom-theme-set-variables): Remove dead code.
5129 Obey custom--inhibit-theme-enable.
5130 (custom--inhibit-theme-enable): New var.
5131 (provide-theme): Obey it.
5132 (load-theme): Replace load with manual read/eval, in order to
5133 check for correctness. Use custom-theme-name-valid-p.
5134 (custom-theme-name-valid-p): New function.
5135 (custom-available-themes): Use it.
5137 * cus-edit.el (custom--initialize-widget-variables): New function.
5138 (Custom-mode): Use it.
5140 * cus-face.el (custom-theme-set-faces): Remove dead code.
5141 Obey custom--inhibit-theme-enable.
5143 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5145 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5147 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5149 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5151 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5152 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5153 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5155 * cus-start.el (all): ns-right-alternate-modifier is new.
5157 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5159 * emacs-lisp/lisp.el (lisp-completion-at-point):
5160 Use emacs-lisp-mode-syntax-table for the whole function.
5162 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5164 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5165 instead of font-lock-mode before adding keywords.
5166 Remove hi-lock-mode off code. Remove inhibit hack.
5167 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5168 non-nil; removed hook inhibit hack.
5170 2010-10-12 Glenn Morris <rgm@gnu.org>
5172 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5173 (load-path-shadows-find): ... to this.
5174 (list-load-path-shadows): Update for above change.
5176 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5178 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5180 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5181 Fix comment for declare-function.
5183 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5185 * custom.el (custom-fix-face-spec): New function; code moved from
5186 custom-face-edit-fix-value.
5187 (custom-push-theme): Use it when checking if a face has been
5188 changed outside customize.
5189 (custom-available-themes): New function.
5190 (load-theme): Use it.
5192 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5194 * custom.el (custom-push-theme): Cleanup (use cond).
5195 (disable-theme): Recompute the saved-face property.
5196 (custom-theme-recalc-face): Follow face alias before setting prop.
5198 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5199 New variables, containing checkbox images.
5201 * startup.el (fancy-startup-tail):
5202 * wid-edit.el (checkbox): Use them.
5204 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5206 * shell.el (shell-mode-map):
5207 * progmodes/modula2.el (m2-mode-map):
5208 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5209 * play/mpuz.el (mpuz-mode-map):
5210 * play/landmark.el (lm-mode-map):
5211 * play/decipher.el (decipher-mode-map):
5212 * play/5x5.el (5x5-mode-map):
5213 * net/telnet.el (telnet-mode-map):
5214 * net/quickurl.el (quickurl-list-mode-map):
5215 * net/mairix.el (mairix-searches-mode-map):
5216 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5217 * net/dig.el (dig-mode-map):
5218 * mail/mspools.el (mspools-mode-map):
5219 * hexl.el (hexl-mode-map):
5220 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5221 (wordstar-C-o-map, wordstar-C-q-map):
5222 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5223 * emacs-lisp/chart.el (chart-map):
5224 * edmacro.el (edmacro-mode-map):
5225 * erc/erc-list.el (erc-list-menu-mode-map):
5226 * array.el (array-mode-map): Declare and define in one step.
5228 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5230 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5232 * epa.el (epa-passphrase-callback-function): Display filename
5233 passed as the 3rd arg.
5234 * epa-file.el (epa-file-passphrase-callback-function):
5235 Pass filename to epa-passphrase-callback-function.
5237 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5239 * cus-edit.el (custom-face-widget-to-spec)
5240 (custom-face-get-current-spec, custom-face-state): New functions.
5241 (custom-face-set, custom-face-mark-to-save)
5242 (custom-face-value-create, custom-face-state-set): Use them.
5244 * cus-theme.el (custom-theme--listed-faces): New var.
5245 (customize-create-theme): Use *Custom Theme* as the buffer name.
5246 Set revert-buffer-function. Optional arg BUFFER. Insert all
5247 faces listed in custom-theme--listed-faces.
5248 (custom-theme-revert): New function.
5249 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5251 (custom-theme-write): Prompt for theme name if empty.
5252 (custom-theme-write-variables): Use dolist.
5253 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5255 2010-10-09 Alan Mackenzie <acm@muc.de>
5257 Enhance fontification of declarators to take account of the
5258 presence/absence of "typedef".
5260 * cc-engine.el (c-forward-type): New &optional param
5262 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5263 presence of either or both of a "struct"-like keyword and "typedef".
5265 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5266 fontification of declarators which follow a "}".
5267 (c-font-lock-declarations): Fontify declarators according to the
5268 presence/absence of "typedef".
5270 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5272 (c-typedef-decl-key): New lang variable built from
5273 c-typedef-decl-kwds.
5275 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5277 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5278 since that's too annoying. Move the filter groups commands to
5281 * epa.el (epa-passphrase-callback-function): Say what we're
5282 querying the password for.
5284 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5285 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5287 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5289 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5290 (custom-magic-value-create): Pad button tags with spaces.
5291 (custom-face-edit): New variable.
5292 (custom-face-value-create): Determine whether to use the usual
5293 face editor here, instead of using custom-face-selected.
5294 Pass face defaults to custom-face-edit widget.
5295 (custom-face-selected, custom-display-unselected): Delete widgets.
5296 (custom-display-unselected-match): Function removed.
5297 (custom-face-set, custom-face-mark-to-save):
5298 Accept custom-face-edit widgets as the direct widget child.
5300 * wid-edit.el (widget--completing-widget): New var.
5301 (widget-default-complete): Bind it when doing completion.
5302 (widget-string-complete, widget-file-complete): Use it.
5304 2010-10-09 Glenn Morris <rgm@gnu.org>
5306 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5307 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5308 (holiday-hebrew-misc): Small simplifications.
5310 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5312 * net/browse-url.el: Don't require thingatpt, term, dired,
5313 executable, or w3-auto when compiling.
5314 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5316 (browse-url-text-emacs): Require term.
5318 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5320 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5322 2010-10-08 Glenn Morris <rgm@gnu.org>
5324 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5326 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5327 (shadows-compare-text-p): Make it an obsolete alias for...
5328 (load-path-shadows-compare-text): ... new name.
5329 (find-emacs-lisp-shadows): Update for above name change.
5330 (load-path-shadows-same-file-or-nonexistent): New name for the old
5331 shadow-same-file-or-nonexistent.
5333 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5335 * minibuffer.el (completion--some, completion--do-completion)
5336 (minibuffer-complete-and-exit, minibuffer-completion-help)
5337 (completion-basic-try-completion)
5338 (completion-basic-all-completions)
5339 (completion-pcm--find-all-completions): Use lexical-let to
5340 avoid some false matches in variable completion (Bug#7056)
5342 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
5344 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
5346 2010-10-08 Leo <sdl.web@gmail.com>
5348 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5349 return non-nil if the file exists (Bug#7090).
5351 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5353 * minibuffer.el (completion--replace):
5354 Better preserve markers (bug#7138).
5356 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
5358 * server.el (server-process-filter): Doc fix.
5360 2010-10-08 Drew Adams <drew.adams@oracle.com>
5362 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
5364 2010-10-08 Glenn Morris <rgm@gnu.org>
5366 * vc/ediff-wind.el (ediff-setup-control-frame):
5367 * vc/ediff-ptch.el (ediff-default-backup-extension):
5368 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5369 (ediff-exec-process): Remove system-types emx, windows-95.
5371 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
5373 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
5375 * cus-edit.el (custom-variable, custom-face): Doc fix.
5376 (custom-face-edit): Add value-create attribute.
5377 (custom-face-edit-value-create)
5378 (custom-face-edit-value-visibility-action): New functions.
5379 Hide unused face attributes by default, and add a visibility toggle.
5380 (custom-face-edit-deactivate): Show empty values with shadow face.
5381 (custom-face-selected): Only use this for face specs with default
5383 (custom-face-value-create): Cleanup.
5385 * wid-edit.el (widget-checklist-value-create): Use dolist.
5386 (widget-checklist-match-find): Make second arg optional.
5388 2010-10-07 Glenn Morris <rgm@gnu.org>
5390 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5393 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5394 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5395 load-path-shadows-mode, update references.
5396 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5397 Rename variable and button.
5398 (list-load-path-shadows): Update button caller.
5400 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5402 * emacs-lisp/smie.el (smie-bnf-classify): New function.
5403 (smie-bnf-precedence-table): Use it to remember the closers/openers.
5404 (smie-merge-prec2s): Handle those new entries.
5405 (smie-prec2-levels): Only set precedence to nil for actual
5407 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5408 that is now unnecessary.
5410 2010-10-07 Miles Bader <miles@gnu.org>
5412 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5414 2010-10-07 Glenn Morris <rgm@gnu.org>
5416 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5417 (mail-position-on-field): Remove declarations.
5418 (mail-position-on-field): Autoload it.
5419 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5420 and mail-header-end. Don't require sendmail.
5422 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5423 (shadow-mode): New mode.
5424 (shadow-find-file): New button.
5425 (list-load-path-shadows): Use shadow-mode and buttons.
5427 * iimage.el (iimage-version): Remove.
5428 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5429 Turn into defcustoms.
5430 (iimage-mode-map): Give it a doc string.
5432 * calendar/appt.el (appt-activate): Give a warning rather than an error
5433 if there is no diary-file.
5435 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
5437 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5438 Use `tramp-handle-find-backup-file-name'.
5440 2010-10-06 Glenn Morris <rgm@gnu.org>
5442 * font-core.el (font-lock-defaults-alist): Remove variable.
5443 (font-lock-mode): Doc fix.
5444 (font-lock-default-function): Do not consult font-lock-defaults-alist.
5445 * font-lock.el (font-lock-refresh-defaults): Doc fix.
5446 (font-lock-set-defaults): Doc fix.
5447 Do not consult font-lock-defaults-alist.
5449 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5451 * emacs-lisp/cl.el: No longer provide cl-19.
5453 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
5455 * net/tramp.el (tramp-handle-directory-files-and-attributes)
5456 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5457 New defuns, taken from tramp-smb.el.
5458 (tramp-coding-system-change-eol-conversion)
5459 (tramp-set-process-query-on-exit-flag): Remove.
5461 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5462 (tramp-compat-coding-system-change-eol-conversion)
5463 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5466 * net/tramp-gvfs.el:
5467 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5468 by `tramp-compat-set-process-query-on-exit-flag'.
5470 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5471 Use `tramp-handle-directory-files-and-attributes',
5472 `tramp-handle-file-exists-p' and
5473 `tramp-handle-file-newer-than-file-p'.
5474 (tramp-imap-handle-file-exists-p)
5475 (tramp-imap-handle-file-executable-p)
5476 (tramp-imap-handle-file-readable-p)
5477 (tramp-imap-handle-directory-files-and-attributes)
5478 (tramp-imap-handle-file-newer-than-file-p): Remove.
5480 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5481 by `tramp-compat-set-process-query-on-exit-flag' and
5482 `tramp-coding-system-change-eol-conversion' by
5483 `tramp-compat-coding-system-change-eol-conversion'.
5485 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5486 Use `tramp-handle-directory-files-and-attributes',
5487 `tramp-handle-file-exists-p' and
5488 `tramp-handle-file-newer-than-file-p'.
5489 (tramp-smb-handle-directory-files-and-attributes)
5490 (tramp-smb-handle-file-exists-p)
5491 (tramp-smb-handle-file-newer-than-file-p): Remove.
5492 (tramp-smb-maybe-open-connection):
5493 Replace `tramp-set-process-query-on-exit-flag' by
5494 `tramp-compat-set-process-query-on-exit-flag'.
5496 2010-10-05 Glenn Morris <rgm@gnu.org>
5498 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5500 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5502 Continue reorganization of load dependencies. (Bug#7156)
5504 * net/tramp.el (tramp-handle-file-local-copy-hook)
5505 (tramp-delete-temp-file-function): Move down.
5506 (tramp-exists-file-name-handler): Move up.
5507 (tramp-register-file-name-handlers): Simplify autoload.
5508 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5509 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5510 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5511 (tramp-handle-file-name-completion)
5512 (tramp-handle-file-name-directory)
5513 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5514 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5515 (tramp-handle-find-backup-file-name)
5516 (tramp-handle-insert-file-contents, tramp-handle-load)
5517 (tramp-handle-substitute-in-file-name)
5518 (tramp-handle-unhandled-file-name-directory)
5519 (tramp-mode-string-to-int, tramp-local-host-p)
5520 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5522 * net/tramp-gvfs.el (top):
5523 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5525 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5526 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5528 2010-10-04 Glenn Morris <rgm@gnu.org>
5530 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5531 (appt-activate): Give status messages.
5533 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5535 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5536 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5537 `gnutls-negotiate' (formerly `starttls-negotiate').
5538 Remove trivial wrapper `starttls-open-stream'.
5540 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5542 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5543 log-outgoing commands.
5544 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5545 to create a buffer local revert-buffer-function variable.
5546 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5547 revert-buffer-function lambda.
5549 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5551 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5552 `gnutls-boot'. Make TYPE the only required parameter.
5553 Allow TRUSTFILES and KEYFILES to be lists.
5554 (open-ssl-stream): Use it.
5556 2010-10-03 Glenn Morris <rgm@gnu.org>
5558 * subr.el (directory-sep-char): Remove obsolete variable.
5559 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5562 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5563 * vc/vc.el (vc-static-header-alist): Doc fix.
5564 * vc/vc-cvs.el (vc-cvs-header):
5565 * vc/vc-rcs.el (vc-rcs-header):
5566 * vc/vc-sccs.el (vc-sccs-header):
5567 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5568 * obsolete/vc-mcvs.el (vc-mcvs-header):
5569 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5572 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5574 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5575 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5577 2010-10-03 Glenn Morris <rgm@gnu.org>
5579 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5581 * textmodes/rst.el (rst-font-lock-keywords-function):
5584 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5586 * printing.el: Drop Emacs 20 code.
5588 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5589 without having used appt.el already).
5591 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5592 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5593 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5595 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5596 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5598 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5599 (charset-width, find-charset-region, chars-in-region, forward-point)
5600 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5601 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5602 Remove compatibility cruft (none of these are used by ps*.el).
5604 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5606 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5608 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5610 * server.el (server-process-filter, server-return-error):
5611 Give emacsclient time to shut down after receiving an error string.
5613 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5615 * files.el (remote-file-name-inhibit-cache): New defcustom.
5617 * time.el (display-time-file-nonempty-p):
5618 Use `remote-file-name-inhibit-cache'.
5620 * net/tramp.el (tramp-completion-reread-directory-timeout):
5623 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5624 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5625 `remote-file-name-inhibit-cache'. Check also for an integer
5626 value. Add/increase counter when `tramp-verbose' >= 10.
5627 (tramp-set-file-property): Add/increase counter when
5628 `tramp-verbose' >= 10.
5630 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5631 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5632 (tramp-bug): Set tramp-autoload cookie. Report all interned
5633 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5634 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5635 characters only in strings.
5637 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5638 to backward compatibility.
5640 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5641 (tramp-handle-file-name-all-completions)
5642 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5643 (tramp-open-connection-setup-interactive-shell):
5644 Call `tramp-cleanup-connection' directly.
5646 2010-10-02 Glenn Morris <rgm@gnu.org>
5648 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5650 * subr.el (char-bytes): Remove obsolete function.
5652 * isearch.el (isearch-return-char): Remove obsolete function.
5654 * mouse.el: No longer provide mldrag.
5655 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5656 Remove obsolete aliases.
5658 * comint.el (comint-kill-output): Remove obsolete alias.
5660 * composite.el (decompose-composite-char): Remove obsolete function.
5661 * ps-def.el (decompose-composite-char): Remove unused function.
5663 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5665 * outline.el (outline-visible): Remove obsolete function.
5667 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5668 * faces.el (internal-find-face, internal-get-face)
5669 (frame-update-faces, frame-update-face-colors)
5670 (x-frob-font-weight, x-frob-font-slant)
5671 (internal-frob-font-weight, internal-frob-font-slant)
5672 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5673 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5674 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5676 * emulation/viper-util.el (viper-get-face):
5677 * obsolete/lucid.el (find-face, get-face): Use facep.
5678 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5679 Remove unused functions.
5680 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5682 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5683 delete tempfile if interrupted during compilation.
5685 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5687 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5689 (tls-program): Add --insecure to be consistent with the defaults from
5690 openssl s_client. Now all three commands are insecure.
5692 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5694 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5695 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5696 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5698 2010-10-01 Glenn Morris <rgm@gnu.org>
5700 * obsolete/sc.el: Remove file.
5702 * files.el (temporary-file-directory): On darwin, also try
5703 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5705 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5707 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5708 Let's not break compatibility gratuitously, shall we?
5710 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5712 * net/tls.el (tls-starttls-switches): New variable.
5713 (tls-find-starttls-argument): Use it.
5714 (open-tls-stream): Ditto.
5716 * net/netrc.el (netrc-credentials): Return the value of the "default"
5718 (netrc-machine): Ditto.
5720 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5722 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5724 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5726 * server.el (server-start): Don't write pid to the authentication file.
5727 (server-create-tty-frame): Don't send pid.
5728 (server-process-filter): Send pid at the start of every connection.
5730 2010-09-30 Glenn Morris <rgm@gnu.org>
5732 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5733 (show-all-diary-entries): Remove obsolete function aliases.
5735 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5736 Remove options, obsolete since 22.1.
5737 (appt-display-format, appt-display-message):
5738 Remove backwards-compatibility code.
5739 (appt-check): No longer check appt-issue-message.
5740 (appt-make-list): No longer autoload it. Doc fix. No longer
5741 activate the package.
5743 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5745 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5746 (starttls-negotiate): Just call boot, and let the handshake be
5747 triggered from the read loop.
5749 2010-09-29 Glenn Morris <rgm@gnu.org>
5751 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5752 not displaying the diary.
5753 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5754 * calendar/appt.el (appt-check): No longer need to kill diary.
5756 * calendar/diary-lib.el (diary-list-entries): Move the
5757 "Preparing..." message entirely here.
5758 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5759 messages to diary-list-entries.
5760 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5761 diary-display-function.
5763 * calendar/diary-lib.el (diary-include-other-diary-files):
5764 Trap some recursive includes.
5766 * calendar/appt.el (appt-activate): Check diary file.
5768 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5770 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5773 * calendar/time-date.el: No need to require cl for Emacs 21.
5775 2010-09-28 Glenn Morris <rgm@gnu.org>
5777 * calendar/appt.el (appt-check): Minor simplification.
5779 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5781 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5784 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5786 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5787 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5789 2010-09-27 Kenichi Handa <handa@m17n.org>
5791 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5794 2010-09-27 Kenichi Handa <handa@m17n.org>
5796 * international/mule.el (define-coding-system): Docstring fixed.
5798 * international/mule-diag.el (describe-character-set): Use princ
5799 with proper print-length and print-level instead of insert.
5801 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5803 * window.el (walk-windows): Doc fix (bug#7105).
5805 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5807 * emacs-lisp/float-sup.el (e): Remove.
5809 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5811 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5813 (starttls-negotiate): Use it.
5815 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5817 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5820 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5822 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5824 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5826 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5828 * net/netrc.el (netrc-store-data): New function.
5830 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5832 * net/gnutls.el: GnuTLS glue code to set up a connection.
5834 2010-09-25 Julien Danjou <julien@danjou.info>
5836 * notifications.el: Call dbus-register-signal only if it is bound.
5838 2010-09-25 Glenn Morris <rgm@gnu.org>
5840 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5841 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5842 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5843 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5844 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5845 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5846 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5847 * eshell/esh-util.el, eshell/esh-var.el:
5848 Remove leading `*' from docs of faces and defcustoms.
5850 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5852 * eshell/em-ls.el (eshell-ls-archive-regexp):
5853 * eshell/esh-util.el (eshell-tar-regexp):
5854 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5855 * info.el (Info-suffix-list):
5856 * international/mule.el (auto-coding-alist):
5857 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5858 * progmodes/etags.el (tags-compression-info-list):
5859 Support xz compression.
5861 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5863 * files.el (get-free-disk-space): Don't assume the "df" output
5864 columns line up (Bug#6995).
5866 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5868 * finder.el (finder-unknown-keywords):
5869 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5870 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5872 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5874 * server.el (server-start): Revert part of 2010-08-08 change. Using
5875 address 127.0.0.1 for local host is now done in Fmake_network_process.
5877 2010-09-24 Glenn Morris <rgm@gnu.org>
5879 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5880 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5881 * textmodes/css-mode.el, textmodes/dns-mode.el:
5882 Move autoloaded auto-mode-alist entries to files.el.
5883 * files.el (auto-mode-alist): Move entries here.
5885 2010-09-23 Glenn Morris <rgm@gnu.org>
5887 * isearch.el (isearch-lazy-highlight-cleanup)
5888 (isearch-lazy-highlight-initial-delay)
5889 (isearch-lazy-highlight-interval)
5890 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5891 * net/net-utils.el (ipconfig-program-options):
5892 Move aliases to options before the associated definitions.
5894 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5896 * newcomment.el (comment-normalize-vars): Better test validity of
5899 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5901 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5902 (float-e): New name for `e'.
5903 (degrees-to-radians, radians-to-degrees):
5904 * calendar/solar.el (solar-longitude):
5905 * calculator.el (calculator-registers, calculator-funcall):
5906 * textmodes/artist.el (artist-spray-random-points):
5907 * play/bubbles.el (bubbles--initialize-images): Use new names.
5909 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5911 Update to CEDET 1.0's version of EIEIO.
5913 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5915 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5916 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5917 (class-precedence-list): If class is nil, return nil.
5918 (eieio-generic-call): If class of first input arg is nil, don't
5919 look up static methods, and do check for primary methods.
5920 (initialize-instance): See if the default needs to be evaluated
5921 during the constructor.
5922 (eieio-perform-slot-validation-for-default): Don't do the check
5923 for values that will eventually be evaluated.
5924 (eieio-eval-default-p): New function.
5925 (eieio-default-eval-maybe): Use it.
5927 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5929 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5930 method-invocation-order.
5931 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5932 (eieio-class-precedence-dfs): Compute class precedence list using
5934 (eieio-class-precedence-bfs): Compute class precedence list using
5936 (eieio-class-precedence-c3): Compute class precedence list using
5938 (class-precedence-list): New function.
5939 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5940 (inconsistent-class-hierarchy): New error symbol.
5941 (call-next-method): Stow the replacement argument list for future
5942 call-next-method invocations.
5944 2010-09-23 Glenn Morris <rgm@gnu.org>
5946 * calendar/appt.el (appt-check): If not displaying the diary,
5947 use (diary 1) to only get the entries we need.
5948 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5949 that it is in day order. (Bug#7019)
5951 * calendar/appt.el (appt-check): Rather than showing the diary,
5952 just turn off invisible display, and only if needed.
5954 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5956 2010-09-23 Glenn Morris <rgm@gnu.org>
5958 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5959 (byte-compile-defvar, byte-compile-cl-warn):
5960 Start warnings with lower-case, like the majority.
5962 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5964 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5966 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5967 * files.el (auto-mode-alist): Move ld-script entries here, further down
5970 * vc/add-log.el: Don't require timezone when compiling.
5971 (timezone-make-date-sortable): Autoload it.
5972 (change-log-sortable-date-at): Don't require timezone.
5973 Use `ignore-errors'.
5975 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5976 Move alias before definition, so it does not need autoloading.
5978 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5979 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5980 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5981 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5982 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5983 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5984 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5985 * textmodes/tex-mode.el, textmodes/two-column.el:
5986 Remove leading `*' from docs of defcustoms etc.
5988 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5990 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5992 2010-09-22 Dan Christensen <jdc@uwo.ca>
5994 * calendar/time-date.el (date-to-time): Try using parse-time-string
5995 first before using the slower timezone-make-date-arpa-standard.
5997 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5999 * calendar/time-date.el (format-seconds): Comment fix.
6001 2010-09-22 Glenn Morris <rgm@gnu.org>
6003 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6004 is not automatically buffer-local.
6006 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6008 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6009 (smie-indent-comment): Be more careful with comment-start-skip.
6010 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6011 (smie-indent-functions): Use them.
6013 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6015 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6017 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6019 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6020 tool-bar-position. Don't modify frame parameters here.
6021 (menu-bar-options-save): Add tool-bar-position.
6023 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6025 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6027 * textmodes/reftex-parse.el (reftex-what-macro)
6028 (reftex-context-substring): Let-bind forward-sexp-function to nil
6029 since we don't need/want to treat \begin...\end as a block (bug#7053).
6031 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6033 * simple.el (blink-matching-open): Use syntax-class.
6035 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6036 Set invisibility spec for pascal's outline mode.
6037 (pascal-outline-change): Clean up calling convention.
6038 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6040 * progmodes/prolog.el (prolog-smie-forward-token)
6041 (prolog-smie-backward-token): New functions.
6042 (prolog-mode-variables): Use them to parse "!," correctly.
6043 Set up smie-blink-matching for ".".
6045 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6047 (ispell-region, ispell-process-line): Update users.
6049 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6052 * textmodes/ispell.el: Fix commenting convention.
6053 (ispell-parse-output): Simplify, use push.
6054 (ispell-region): Use match-string-no-properties.
6055 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6056 (ispell-minor-mode): Use define-minor-mode.
6057 (ispell-message): Remove unused var `skip-regexp'.
6058 (ispell-add-per-file-word-list): Use dynamic let-binding.
6059 Try and use the proper comment marker.
6061 * mail/sendmail.el: Fix commenting convention.
6062 (sendmail-send-it): Use line-beginning-position.
6064 * help-fns.el (describe-variable): Add original value, if applicable.
6066 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6068 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6070 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6072 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6074 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6075 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6076 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6077 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6078 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6079 something like "." can also be a closer.
6080 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6081 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6082 Rename internal functions to use "--". Update callers.
6084 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6086 * fringe.el (fringe-styles): New var.
6087 (fringe-mode, fringe-query-style): Use it.
6089 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6091 * progmodes/sql.el: Version 2.8
6092 (sql-login-params): Update widget structure; changes still needed.
6093 (sql-product-alist): Add :list-all and :list-table features for
6094 SQLite, Postgres and MySQL products.
6095 (sql-redirect): Handle default value.
6096 (sql-execute, sql-execute-feature): New functions.
6097 (sql-read-table-name): New function.
6098 (sql-list-all, sql-list-table): New functions. User API.
6099 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6100 for above functions.
6101 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6102 for above functions.
6103 (sql-postgres-login-params): Add user and database defaults.
6104 (sql-buffer-live-p): Bug fix.
6105 (sql-product-history): New variable.
6106 (sql-read-product): New function. Use it.
6107 (sql-set-product, sql-product-interactive): Use it.
6108 (sql-connection-history): New variable.
6109 (sql-read-connection): New function. Use it.
6110 (sql-connect): New function.
6111 (sql-for-each-login): Redesign function interface.
6112 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6113 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6114 (sql-comint): Check for program. Existing live buffer.
6115 (sql-comint-postgres): Add port parameter.
6117 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6119 * emacs-lisp/warnings.el: Fix commenting convention.
6120 (display-warning): Use special mode and make the buffer read-only.
6122 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6124 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6125 empty string when it follows a repeated or optional pattern.
6127 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6129 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6130 (indent-region): Use indent-according-to-mode.
6132 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6134 * fringe.el (fringe-mode): Doc fix.
6136 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6138 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6139 refreshing the preview buffer.
6141 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6143 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6144 (latex-syntax-propertize-rules): New consts; replace
6145 tex-font-lock-syntactic-keywords.
6146 (tex-env-mark, latex-env-before-change): New functions.
6147 (latex-electric-env-pair-mode): New minor mode.
6148 (tex-font-lock-verb): Change arguments; do move point.
6149 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6150 representation as a form of comment.
6151 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6152 (doctex-syntax-propertize-rules): New const; replaces
6153 doctex-font-lock-syntactic-keywords.
6154 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6156 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6157 (fortran-make-syntax-propertize-function): New function; replaces
6158 fortran-font-lock-syntactic-keywords.
6159 (fortran-mode): Use it.
6160 (fortran-line-length): Use it. Improve interactive spec.
6162 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6163 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6164 when adding surrounding \(..\).
6166 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6168 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6170 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6171 Use with-current-buffer.
6173 * isearch.el (isearch-face): Rename from `isearch'.
6174 (isearch-highlight): Use new name.
6176 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6178 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6179 5, for `half' width fringes. (Bug#6933)
6181 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6183 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6184 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6186 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6188 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6190 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6191 in calculating new frame position. Add more space between new and
6192 parent on the left (Bug#7048).
6194 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6196 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6199 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6201 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6203 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6204 obsolete alias for x-selection-value.
6206 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6208 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6210 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6213 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6215 * net/tramp-compat.el (tramp-compat-with-temp-message)
6216 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6217 (tramp-compat-process-put): New defuns.
6219 * net/tramp.el (top):
6220 * net/tramp-gvfs.el (top):
6221 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6223 * net/tramp.el (tramp-progress-reporter-update):
6224 Use `tramp-compat-funcall'.
6226 * net/tramp.el (tramp-process-actions):
6227 * net/tramp-gvfs.el (tramp-handle-vc-registered):
6228 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
6229 (tramp-get-remote-stat, tramp-get-remote-readlink):
6230 Use `tramp-compat-with-temp-message'.
6232 * net/tramp-sh.el (top): Require 'cl.
6233 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6234 (tramp-open-connection-setup-interactive-shell):
6235 Use `tramp-compat-process-put'.
6237 2010-09-15 Alan Mackenzie <acm@muc.de>
6239 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6241 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6243 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6245 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6246 `lexical' for warnings related to lexical scoping.
6247 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6248 global vars which don't have a prefix and could hence affect lexical
6249 scoping in unrelated files.
6251 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6253 * net/imap.el: Revert back to version
6254 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6257 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6259 * obsolete/old-whitespace.el (whitespace-unload-function):
6260 Explicitly pass `obarray' to `unintern' to avoid a warning.
6262 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6264 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6265 Add `when' argument. Update callers.
6267 * subr.el (unintern): Declare the obarray arg mandatory.
6269 2010-09-14 Glenn Morris <rgm@gnu.org>
6271 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6274 * calendar/diary-lib.el (diary-included-files): New variable.
6275 (diary-list-entries): Maybe initialize diary-included-files.
6276 (diary-include-other-diary-files): Append to diary-included-files.
6277 * calendar/appt.el (appt-update-list): Also check the members of
6278 diary-included-files. (Bug#6999)
6279 (appt-check): Doc fix.
6281 2010-09-14 David Reitter <david.reitter@gmail.com>
6283 * simple.el (line-move-visual): Do not truncate goal column to
6284 integer size. (Bug#7020)
6286 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6288 * repeat.el (repeat): Allow repeating when the last event is a click.
6289 Suggested by Drew Adams (bug#6256).
6291 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6293 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6294 Replace setting HGRCPATH to "" by some less invasive --config options.
6296 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6298 * font-lock.el (font-lock-beginning-of-syntax-function):
6301 2010-09-14 Glenn Morris <rgm@gnu.org>
6303 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6304 and tool-bar modes. (Bug#6211)
6305 (menu-bar-mode): Move setting of standard-value after the
6306 minor-mode definition, otherwise it seems to have no effect.
6308 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6310 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6311 Fix typo. (Bug#6976)
6313 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6315 * whitespace.el: Allow cleaning up blanks without blank
6316 visualization (Bug#6651). Adjust help window for
6317 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6318 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6319 (whitespace-style): Add new value 'face. Adjust docstring.
6320 (whitespace-space, whitespace-hspace, whitespace-tab):
6321 Adjust foreground property face.
6322 (whitespace-line-column): Adjust docstring and type declaration.
6323 (whitespace-style-value-list, whitespace-toggle-option-alist)
6324 (whitespace-help-text): Adjust const initialization.
6325 (whitespace-toggle-options, global-whitespace-toggle-options):
6327 (whitespace-display-window, whitespace-interactive-char)
6328 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6329 (whitespace-help-scroll): New fun.
6331 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6333 * calendar/time-date.el (format-seconds): Comment fix.
6335 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
6337 * progmodes/sql.el: Version 2.7.
6338 (sql-buffer-live-p): Improve detection.
6339 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6340 (sql-set-sqli-buffer): Use it.
6341 (sql-product-interactive): Run `sql-set-sqli-hook'.
6342 (sql-rename-buffer): Code cleanup.
6343 (sql-redirect, sql-redirect-value): New functions. More to come.
6345 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
6347 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.
6348 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6349 (TRAMP_SRC): New macro.
6350 ($(lisp)/net/tramp-loaddefs.el): New target.
6352 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
6354 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
6356 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
6358 * net/tramp.el (top): Don't show loading message. Require just
6359 'tramp-compat, everything else is required there.
6360 Use `ignore-errors' where appropriate.
6361 (tramp-inline-compress-start-size, tramp-copy-size-limit)
6362 (tramp-terminal-type, tramp-end-of-output)
6363 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6364 (tramp-completion-function-alist-ssh)
6365 (tramp-completion-function-alist-telnet)
6366 (tramp-completion-function-alist-su)
6367 (tramp-completion-function-alist-putty, tramp-remote-path)
6368 (tramp-remote-process-environment, tramp-sh-extra-args)
6369 (tramp-actions-before-shell, tramp-uudecode)
6370 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6371 (tramp-perl-file-attributes)
6372 (tramp-perl-directory-files-and-attributes)
6373 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6374 (tramp-perl-encode, tramp-perl-decode)
6375 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6376 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6377 (tramp-handle-make-symbolic-link, tramp-handle-load)
6378 (tramp-handle-file-name-as-directory)
6379 (tramp-handle-file-name-directory)
6380 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6381 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6382 (tramp-do-file-attributes-with-ls)
6383 (tramp-do-file-attributes-with-perl)
6384 (tramp-do-file-attributes-with-stat)
6385 (tramp-handle-set-visited-file-modtime)
6386 (tramp-handle-verify-visited-file-modtime)
6387 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6388 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6389 (tramp-handle-file-selinux-context)
6390 (tramp-handle-set-file-selinux-context)
6391 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6392 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6393 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6394 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6395 (tramp-handle-file-ownership-preserved-p)
6396 (tramp-handle-directory-file-name, tramp-handle-directory-files)
6397 (tramp-handle-directory-files-and-attributes)
6398 (tramp-do-directory-files-and-attributes-with-perl)
6399 (tramp-do-directory-files-and-attributes-with-stat)
6400 (tramp-handle-file-name-all-completions)
6401 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6402 (tramp-handle-copy-file, tramp-handle-copy-directory)
6403 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6404 (tramp-do-copy-or-rename-file-via-buffer)
6405 (tramp-do-copy-or-rename-file-directly)
6406 (tramp-do-copy-or-rename-file-out-of-band)
6407 (tramp-handle-make-directory, tramp-handle-delete-directory)
6408 (tramp-handle-delete-file)
6409 (tramp-handle-dired-recursive-delete-directory)
6410 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6411 (tramp-handle-insert-directory)
6412 (tramp-handle-unhandled-file-name-directory)
6413 (tramp-handle-expand-file-name)
6414 (tramp-handle-substitute-in-file-name)
6415 (tramp-handle-executable-find, tramp-process-sentinel)
6416 (tramp-handle-start-file-process, tramp-handle-process-file)
6417 (tramp-handle-call-process-region, tramp-handle-shell-command)
6418 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6419 (tramp-handle-insert-file-contents)
6420 (tramp-handle-insert-file-contents-literally)
6421 (tramp-handle-find-backup-file-name)
6422 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6423 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6424 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6425 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6426 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6427 (tramp-find-file-exists-command, tramp-open-shell)
6428 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6429 (tramp-open-connection-setup-interactive-shell)
6430 (tramp-local-coding-commands, tramp-remote-coding-commands)
6431 (tramp-find-inline-encoding, tramp-call-local-coding-command)
6432 (tramp-inline-compress-commands, tramp-find-inline-compress)
6433 (tramp-compute-multi-hops, tramp-maybe-open-connection)
6434 (tramp-send-command, tramp-wait-for-output)
6435 (tramp-send-command-and-check, tramp-barf-unless-okay)
6436 (tramp-send-command-and-read, tramp-mode-string-to-int)
6437 (tramp-convert-file-attributes, tramp-check-cached-permissions)
6438 (tramp-file-mode-from-int, tramp-file-mode-permissions)
6439 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6440 (tramp-method-out-of-band-p, tramp-local-host-p)
6441 (tramp-get-remote-path, tramp-get-remote-tmpdir)
6442 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6443 (tramp-get-test-command, tramp-get-test-nt-command)
6444 (tramp-get-file-exists-command, tramp-get-remote-ln)
6445 (tramp-get-remote-perl, tramp-get-remote-stat)
6446 (tramp-get-remote-readlink, tramp-get-remote-trash)
6447 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6448 (tramp-get-local-uid, tramp-get-local-gid)
6449 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6451 (tramp-methods, tramp-default-method-alist)
6452 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6453 Move initialization to tramp-sh.el.
6454 (tramp-temp-name-prefix): Make it a defconst.
6455 (tramp-dissect-file-name): Don't check anymore for multi-hop
6457 (tramp-debug-outline-regexp): Add a docstring.
6458 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6459 (tramp-get-debug-buffer): Use it.
6461 * net/tramp-cache.el (top): Set tramp-autoload cookie for
6462 initialization forms.
6463 (tramp-set-connection-property): Don't protect `tramp-message'
6464 call, it isn't necessary any longer.
6465 (tramp-dump-connection-properties): Use `ignore-errors'.
6467 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6468 'password-cache and 'auth-source.
6470 * net/tramp-gvfs.el (top):
6471 * net/tramp-smb.el (top): Require 'tramp-sh.
6473 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6475 * net/tramp-sh.el: New file, derived from tramp.el.
6476 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6477 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6478 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6479 Use `ignore-errors' where appropriate.
6480 (tramp-sh-file-name-handler-alist): Rename from
6481 `tramp-file-name-handler-alist'.
6482 (tramp-send-command-and-check): Return t or nil. Remove all
6483 `zerop' checks, where called.
6484 (tramp-handle-set-file-modes)
6485 (tramp-do-copy-or-rename-file-directly)
6486 (tramp-handle-delete-directory, tramp-handle-delete-file)
6487 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6488 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6489 (tramp-get-remote-ln): Set tramp-autoload cookie.
6491 * net/tramp-fish.el: Remove file.
6493 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6495 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6496 buffer-file-name to avoid file-locking. (Bug#7026)
6498 2010-09-13 Julien Danjou <julien@danjou.info>
6500 * notifications.el (notifications-notify): Add support for
6501 image-path and sound-name.
6502 (notifications-specification-version): Add this variable.
6504 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6506 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6508 2010-09-12 Leo <sdl.web@gmail.com>
6510 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6511 (rcirc-completion-start): New variables.
6512 (rcirc-nick-completions): Rename to rcirc-completions.
6513 (rcirc-nick-completion-start-offset): Delete.
6514 (rcirc-completion-at-point): New function for constructing
6515 completion data for both nicks and irc commands. Add to
6516 completion-at-point-functions in rcirc mode.
6517 (rcirc-complete): Rename from rcirc-nick-complete; use
6518 rcirc-completion-at-point.
6519 (defun-rcirc-command): Update rcirc-client-commands.
6521 2010-09-11 Glenn Morris <rgm@gnu.org>
6523 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6524 atomically, to avoid parallel build errors. (Bug#4196)
6526 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6528 * progmodes/sql.el: Version 2.6
6529 (sql-dialect): Synonym for "sql-product".
6530 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6531 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6532 Set "sql-buffer" to buffer name not buffer object so multiple sql
6533 interactive buffers work properly. Reverts misguided changes in
6535 (sql-comint): Make sure different buffer name is used if "*SQL*"
6536 buffer is for a different product.
6537 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6539 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6540 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6541 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6542 Accept new buffer name or prompt for one.
6543 (sql-port): Default to zero.
6544 (sql-comint-mysql): Handle "sql-port" as a numeric.
6545 (sql-port-history): Delete unused variable.
6546 (sql-get-login): Default "sql-port" to a number.
6547 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6548 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6549 "sqlite3" executables.
6550 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6551 (sql-buffer-live-p): New function.
6552 (sql-mode-menu, sql-send-string): Use it.
6553 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6555 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6556 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6558 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6560 * net/netrc.el (netrc-credentials): New convenience function.
6562 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6564 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6565 to replace texinfo-font-lock-syntactic-keywords.
6566 (texinfo-mode): Use it.
6568 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6569 Use syntax-propertize-function.
6571 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6572 replace sgml-font-lock-syntactic-keywords.
6573 (sgml-mode): Use it.
6575 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6576 since we don't use it.
6578 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6580 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6582 (vhdl-fontify-buffer): Adjust.
6584 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6585 replace tcl-font-lock-syntactic-keywords.
6588 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6589 replace simula-font-lock-syntactic-keywords.
6590 (simula-mode): Use it.
6592 * progmodes/sh-script.el (sh-st-symbol): Remove.
6593 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6594 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6595 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6596 (sh-font-lock-paren): Set syntax-multiline.
6597 (sh-font-lock-syntactic-keywords): Remove.
6598 (sh-syntax-propertize-function): New function to replace it.
6601 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6602 Define while compiling.
6603 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6604 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6605 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6606 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6607 (ruby-here-doc-end-syntax): Only define when
6608 syntax-propertize is not available.
6609 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6611 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6612 (electric-indent-chars): Silence bytecompiler.
6613 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6614 electric-indent-chars.
6616 * progmodes/python.el (python-syntax-propertize-function): New var to
6617 replace python-font-lock-syntactic-keywords.
6618 (python-mode): Use it.
6619 (python-quote-syntax): Simplify and adjust to new use.
6621 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6622 replace perl-font-lock-syntactic-keywords.
6623 (perl-syntax-propertize-special-constructs): New fun to replace
6624 perl-font-lock-special-syntactic-constructs.
6625 (perl-font-lock-syntactic-face-function): New fun.
6626 (perl-mode): Use it.
6628 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6629 to replace octave-font-lock-close-quotes.
6630 (octave-syntax-propertize-function): New function to replace
6631 octave-font-lock-syntactic-keywords.
6632 (octave-mode): Use it.
6634 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6635 replaces mixal-font-lock-syntactic-keywords.
6636 (mixal-mode): Use it.
6638 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6639 New var; replaces makefile-font-lock-syntactic-keywords.
6640 (makefile-mode): Use it.
6641 (makefile-imake-mode): Adjust.
6643 * progmodes/js.el (js--regexp-literal): Define while compiling.
6644 (js-syntax-propertize-function): New var; replaces
6645 js-font-lock-syntactic-keywords.
6648 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6649 replaces gdb-script-font-lock-syntactic-keywords.
6650 (gdb-script-mode): Use it.
6652 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6653 (fortran--font-lock-syntactic-keywords): New var.
6654 (fortran-line-length): Update syntax-propertize-function and
6655 fortran--font-lock-syntactic-keywords.
6657 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6659 * progmodes/cfengine.el (cfengine-mode):
6660 Use syntax-propertize-function.
6661 (cfengine-font-lock-syntactic-keywords): Remove.
6663 * progmodes/autoconf.el (autoconf-mode):
6664 Use syntax-propertize-function.
6665 (autoconf-font-lock-syntactic-keywords): Remove.
6667 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6668 (ada-after-change-function, ada-initialize-syntax-table-properties)
6669 (ada-handle-syntax-table-properties): Only define when
6670 syntax-propertize is not available.
6671 (ada-mode): Use syntax-propertize-function.
6673 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6674 (font-lock-fontify-syntactic-keywords-region): Move handling of
6675 font-lock-syntactically-fontified to...
6676 (font-lock-default-fontify-region): ...here.
6677 Let syntax-propertize-function take precedence.
6678 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6680 * emacs-lisp/syntax.el (syntax-propertize-function)
6681 (syntax-propertize-chunk-size, syntax-propertize--done)
6682 (syntax-propertize-extend-region-functions): New vars.
6683 (syntax-propertize-wholelines, syntax-propertize-multiline)
6684 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6685 (syntax-propertize): New functions.
6686 (syntax-propertize-rules): New macro.
6687 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6688 (syntax-ppss): Call syntax-propertize.
6690 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6692 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6694 * textmodes/ispell.el (ispell-init-process): Improve comments.
6695 XEmacs compatibility changes regarding (add-hook) 'local option
6696 and (set-process-query-on-exit-flag).
6698 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6700 * net/tramp-cache.el (tramp-parse-connection-properties):
6701 Set tramp-autoload cookie.
6703 2010-09-09 Glenn Morris <rgm@gnu.org>
6705 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6706 (imagemagick-register-types): Doc fix.
6708 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6710 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6712 * progmodes/js.el (require): Require is already "eval-and-compile".
6713 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6714 (js--re-search-backward): Use js--re-search-forward.
6716 * progmodes/fortran.el (fortran-line-length): Don't recompute
6717 syntactic keywords redundantly a second time.
6719 * progmodes/ada-mode.el: Replace "(set '" with setq.
6720 (ada-mode): Simplify.
6721 (ada-create-case-exception, ada-adjust-case-interactive)
6722 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6723 (ada-search-ignore-string-comment, ada-move-to-start)
6724 (ada-move-to-end): Use with-syntax-table.
6726 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6727 (font-lock-unfontify-region, font-lock-default-fontify-region):
6728 Update usage correspondingly.
6729 (font-lock-fontify-syntactic-keywords-region):
6730 Set parse-sexp-lookup-properties buffer-locally here.
6731 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6733 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6735 2010-09-08 Glenn Morris <rgm@gnu.org>
6737 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6738 Error if not compiled with -DBYTE_CODE_METER.
6740 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6741 Ignore dir-locals-file.
6743 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6745 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6747 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6748 for the `gnu' messages.
6749 (compilation-set-skip-threshold): New command.
6750 (compilation-start): Use \' rather than $.
6751 (compilation-forget-errors): Use clrhash.
6753 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6755 * textmodes/ispell.el (ispell-valid-dictionary-list):
6758 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6760 Migrate to Tramp 2.2. Rearrange load dependencies.
6761 (Bug#1529, Bug#5448, Bug#5705)
6763 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6764 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6765 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6767 * net/tramp.el (top): Remove all other tramp-* loads except
6768 tramp-compat.el. Remove all changes to tramp-unload-hook for
6769 other tramp-* packages. Rearrange defun order. Change calls of
6770 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6771 `tramp-compat-octal-to-decimal' to new function names.
6772 (tramp-terminal-type, tramp-initial-end-of-output)
6773 (tramp-methods, tramp-foreign-file-name-handler-alist)
6774 (tramp-tramp-file-p, tramp-completion-mode-p)
6775 (tramp-send-command-and-check, tramp-get-remote-path)
6776 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6777 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6778 (with-file-property, with-connection-property): Move to
6780 (tramp-local-call-process, tramp-decimal-to-octal)
6781 (tramp-octal-to-decimal): Move to tramp-compat.el.
6782 (tramp-handle-shell-command): Do not require 'shell.
6783 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6785 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6787 * net/tramp-cache.el (top): Require 'tramp. Add to
6788 `tramp-unload-hook'.
6789 (tramp-cache-data, tramp-get-file-property)
6790 (tramp-set-file-property, tramp-flush-file-property)
6791 (tramp-flush-directory-property, tramp-get-connection-property)
6792 (tramp-set-connection-property, tramp-flush-connection-property)
6793 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6795 (with-file-property, with-connection-property): New defuns, moved
6797 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6800 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6801 (tramp-version): Set tramp-autoload cookie.
6803 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6804 changes to tramp-unload-hook for other tramp-* packages. Add to
6805 `tramp-unload-hook'.
6806 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6807 (tramp-compat-call-process): New defuns, moved from tramp.el.
6809 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6810 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6811 Add to `tramp-unload-hook'. Change call of
6812 `tramp-compat-decimal-to-octal' to new function name.
6813 (tramp-fish-method): Make it a defconst.
6814 (tramp-fish-file-name-p): Make it a defsubst.
6815 (tramp-fish-method, tramp-fish-file-name-handler)
6816 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6818 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6819 `tramp-foreign-file-name-handler-alist'. Add to
6820 `tramp-unload-hook'.
6821 (tramp-ftp-method): Make it a defconst.
6822 (tramp-ftp-file-name-p): Make it a defsubst.
6823 (tramp-ftp-method, tramp-ftp-file-name-handler)
6824 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6826 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6827 `tramp-foreign-file-name-handler-alist'. Add to
6828 `tramp-unload-hook'. Change checks, whether package can be
6830 (tramp-gvfs-file-name-p): Make it a defsubst.
6831 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6832 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6833 (tramp-gvfs-handle-file-directory-p): New defun.
6834 (tramp-gvfs-file-name-handler-alist): Use it.
6836 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6837 `tramp-foreign-file-name-handler-alist'. Add to
6838 `tramp-unload-hook'.
6839 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6840 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6842 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6843 (tramp-gw-open-connection): Set tramp-autoload cookie.
6845 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6846 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6847 Add to `tramp-unload-hook'. Change checks, whether package can be
6849 (tramp-imap-file-name-p): Make it a defsubst.
6850 (tramp-imap-method, tramp-imaps-method)
6851 (tramp-imap-file-name-handler)
6852 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6854 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6855 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6856 Add to `tramp-unload-hook'. Change checks, whether package can be
6857 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6859 (tramp-smb-tunnel-method): Make it a defconst.
6860 (tramp-smb-file-name-p): Make it a defsubst.
6861 (tramp-smb-method, tramp-smb-file-name-handler)
6862 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6864 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6865 (tramp-uuencode-region): Set tramp-autoload cookie.
6867 * net/trampver.el (top) Add to `tramp-unload-hook'.
6868 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6869 cookie. Update release number.
6871 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6873 * textmodes/ispell.el (ispell-start-process): Make sure original
6874 arg list is properly initialized (Bug#6993, Bug#6994).
6876 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6878 * files.el (directory-abbrev-alist): Use \` as default regexp.
6880 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6881 chars like - or ] (bug#6984).
6882 (rx-any-condense-range): Explode 2-char ranges.
6884 2010-09-06 Glenn Morris <rgm@gnu.org>
6886 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6888 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6890 * textmodes/bibtex.el:
6891 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6893 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6895 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6896 since no callers use it.
6897 (imap-message-get): Ditto.
6898 (imap-message-put): Ditto.
6899 (imap-mailbox-map): Ditto.
6900 (imap-mailbox-put): Ditto.
6901 (imap-mailbox-get): Ditto.
6902 (imap-mailbox-get): Revert last change for this function.
6904 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6906 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6907 callers to use `imap-fetch' instead. According to the comments, this
6908 should be safe, since all other IMAP clients use the 1:* syntax.
6909 (imap-enable-exchange-bug-workaround): Remove.
6910 (imap-debug): Remove -- doesn't seem very useful.
6912 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6914 * net/imap.el (imap-log): New convenience function used throughout
6915 instead of repeating the same code all over the place.
6917 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6919 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6920 when mouse-drag-copy-region is non-nil (Bug#6956).
6922 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6924 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6925 Improve regexps (Bug#6987).
6926 (dired-sort-toggle): Search more robustly for -t flag.
6928 * files.el (get-free-disk-space): Search more robustly for
6929 "available" column. Suggested by Ehud Karni
6930 <ehud@unix.mvs.co.il>.
6932 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6934 * international/uni-bidi.el:
6935 * international/uni-category.el:
6936 * international/uni-combining.el:
6937 * international/uni-decimal.el:
6938 * international/uni-mirrored.el:
6939 * international/uni-name.el: Regenerate.
6941 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6943 * electric.el (electric-indent-post-self-insert-function):
6944 Don't reindent with a sloppy indentation function.
6946 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6947 border case in change-log-mode.
6949 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6951 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6952 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6953 Recognize leading tab in gcc-include regexp. Ignore names with
6954 leading "from" or "in" in gnu regexp (Bug#6937).
6956 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6958 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6959 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6960 (ispell-start-process): Avoid setq and simplify logic.
6961 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6962 (kill-buffer-hook): Don't use it globally with code that uses
6963 expand-file-name since that may call kill-buffer via
6964 code_conversion_restore.
6966 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6968 * emacs-lisp/package.el (package-directory-list): Only call
6969 file-name-nondirectory on a string.
6971 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6973 * emacs-lisp/package.el (package--download-one-archive):
6974 Ensure that archive-contents is valid before saving it.
6975 (package-activate-1, package-mark-obsolete, define-package)
6976 (package-compute-transaction, package-list-maybe-add): Use push.
6978 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6980 Use SMIE's blink-paren for octave-mode.
6981 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6982 Backslashes do not escape single-quotes, single-quotes do.
6983 (octave-block-else-regexp, octave-block-end-regexp)
6984 (octave-block-match-alist): Remove.
6985 (octave-smie-bnf-table): New var, with old content.
6986 (octave-smie-op-levels): Use it.
6987 (octave-smie-closer-alist): New var.
6988 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6989 (octave-blink-matching-block-open): Remove.
6990 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6991 (octave-electric-space): Let self-insert-command run expand-abbrev and
6994 * electric.el (electricity): New group.
6995 (electric-indent-chars): New var.
6996 (electric-indent-post-self-insert-function): New fun.
6997 (electric-indent-mode): New minor mode.
6998 (electric-pair-skip-self): New custom.
6999 (electric-pair-post-self-insert-function): New function.
7000 (electric-pair-mode): New minor mode.
7002 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7003 calcAlg-blink-matching-open.
7004 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7005 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7006 Use the new blink-matching-check-function.
7008 Provide blink-matching support to SMIE.
7009 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7010 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7011 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7013 * simple.el (newline): Fix last change to properly remove itself from
7016 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7018 * simple.el (newline): Eliminate optimization.
7019 Use post-self-insert-hook to set hard-newline and things before
7020 running post-self-insert-hook.
7021 (blink-matching-check-mismatch): New function.
7022 (blink-matching-check-function): New variable.
7023 (blink-matching-open): Use them.
7024 Skip back forward over prefix chars skipped by forward-sexp.
7025 Don't check if the parens are backslash escaped.
7026 (blink-paren-post-self-insert-function): Check backslash escaping here.
7028 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7030 * emacs-lisp/package.el (package-menu-mode-map):
7031 Change package-menu-revert bindings to revert-buffer.
7032 (package-menu-mode): Set revert-buffer-function.
7033 (package-menu-revert): Doc fix.
7035 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7037 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7038 `default-directory' unless using Ispell per-directory personal
7039 dictionaries and not in a mini-buffer under XEmacs.
7040 (kill-buffer-hook): Do not kill ispell process on exit when
7041 `ispell-process-directory' is "~/". (Bug#6143)
7043 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7045 * simple.el (kill-new): Call interprogram-cut-function with only
7048 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7049 Remove cut buffer from error message.
7051 * term/x-win.el (x-select-text):
7052 * term/pc-win.el (x-selection-value):
7053 * term/ns-win.el (x-selection-value):
7054 * eshell/em-term.el:
7055 * w32-fns.el (x-get-selection-value):
7056 * mouse-sel.el (mouse-sel-set-selection-function):
7057 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7059 * term/x-win.el: Update documentation for x-last-selected-text-*.
7060 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7061 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7062 (x-select-text): Remove argument PUSH, update documentation.
7063 Remove cut-buffer code.
7064 (x-selection-value-internal): Was previously x-selection-value.
7065 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7066 Update documentation, remove cut-buffer code.
7067 Call x-selection-value-internal.
7068 (x-clipboard-yank): Call x-selection-value-internal.
7069 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7071 * term/pc-win.el (x-last-selected-text):
7072 x-cut-buffer-or-selection-value renamed to x-selection-value
7073 (x-select-text): Remove argument PUSH, update documentation.
7075 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7076 x-cut-buffer-or-selection-value renamed to x-selection-value
7077 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7078 (x-select-text): Remove argument PUSH, update documentation.
7080 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7082 * w32-fns.el (x-last-selected-text):
7083 x-cut-buffer-or-selection-value renamed to x-selection-value.
7084 (x-cut-buffer-max): Remove.
7085 (x-select-text): Remove argument PUSH, update documentation.
7087 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7089 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7091 * mouse-sel.el (mouse-sel-get-selection-function):
7092 x-cut-buffer-or-selection-value renamed to x-selection-value.
7093 (x-select-text): Remove optional push.
7095 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7097 * simple.el (blink-paren-function): Move from C to here.
7098 (blink-paren-post-self-insert-function): New function.
7099 (post-self-insert-hook): Use it.
7101 * emacs-lisp/pcase.el (pcase-split-memq):
7102 Fix overenthusiastic optimisation.
7103 (pcase-u1): Handle the case of a lambda pred.
7105 2010-08-31 Kenichi Handa <handa@m17n.org>
7107 * international/mule-cmds.el (standard-display-european-internal):
7108 Setup standard-display-table for 8-bit characters by storing 8-bit
7109 characters in the element vector.
7111 * disp-table.el (standard-display-8bit):
7112 Setup standard-display-table for 8-bit characters by storing 8-bit
7113 characters in the element vector.
7114 (standard-display-european): Likewise.
7116 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7118 * textmodes/nroff-mode.el (nroff-view): New command.
7119 (nroff-mode-map): Bind it to C-c C-c.
7121 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7123 * emacs-lisp/smie.el (smie-down-list): New command.
7125 Remove old indentation and navigation code on octave-mode.
7126 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7127 smie-down-list rather than add a binding for octave-down-block.
7128 (octave-mark-block, octave-blink-matching-block-open):
7129 Rely on forward-sexp-function.
7130 (octave-fill-paragraph): Don't narrow, so you can use
7131 indent-according-to-mode.
7132 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7133 (octave-in-block-p, octave-re-search-forward-kw)
7134 (octave-re-search-backward-kw, octave-indent-calculate)
7135 (octave-end-as-array-index-p, octave-block-end-offset)
7136 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7137 (octave-down-block, octave-backward-up-block, octave-up-block)
7138 (octave-before-magic-comment-p, octave-indent-line): Remove.
7140 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7142 * emacs-lisp/package.el (package--read-archive-file): Just use
7143 `read', to avoid copying an additional string.
7144 (package-menu-mode): Set header-line-format here.
7145 (package-menu-refresh, package-menu-revert): Signal an error if
7146 not in the Package Menu.
7147 (package-menu-package-list): New var.
7148 (package--generate-package-list): Operate on the current buffer;
7149 don't assume that it is *Packages*, since the user may rename it.
7150 Allow persistent package listings and sort keys using
7151 package-menu-package-list and package-menu-package-sort-key.
7152 (package-menu--version-predicate): Fix version calculation.
7153 (package-menu-sort-by-column): Don't select the window.
7154 (package--list-packages): Create the *Packages* buffer.
7155 Set package-menu-package-list-key.
7156 (list-packages): Sorting by status is now the default.
7157 (package-buffer-info): Use match-string-no-properties.
7158 (define-package): Add a &rest argument for future proofing, but
7160 (package-install-from-buffer, package-install-buffer-internal):
7161 Merge into a single function, package-install-from-buffer.
7162 (package-install-file): Change caller.
7164 * finder.el: Load finder-inf using `require'.
7165 (finder-list-matches): Sorting by status is now the default.
7166 (finder-compile-keywords): Simpify printing.
7168 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7170 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7171 (octave-mode-map): Remove special bindings for forward/backward-block
7172 and octave-backward-up-block. Use smie-close-block.
7173 (octave-continuation-marker-regexp): New var.
7174 (octave-continuation-regexp): Use it.
7175 (octave-operator-table, octave-smie-op-levels)
7176 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7177 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7178 (octave-mode): Use SMIE.
7179 (octave-close-block): Delete.
7181 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7183 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7184 CLIPBOARD, not in PRIMARY. (Bug#6944)
7186 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7188 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7190 (smie-indent-column): Allow indirection through variables.
7192 * composite.el (save-buffer-state): Delete, unused.
7193 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7194 (font-lock-default-fontify-region): Use with-syntax-table.
7195 * jit-lock.el (with-buffer-unmodified): Remove.
7196 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7198 Use `declare' in defmacros.
7199 * window.el (save-selected-window):
7200 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7201 * progmodes/python.el (def-python-skeleton):
7202 * net/dbus.el (dbus-ignore-errors):
7203 * jka-cmpr-hook.el (with-auto-compression-mode):
7204 * international/mule.el (with-category-table):
7205 * emacs-lisp/timer.el (with-timeout):
7206 * emacs-lisp/lisp-mnt.el (lm-with-file):
7207 * emacs-lisp/eieio.el (with-slots):
7208 * emacs-lisp/easymenu.el (easy-menu-define):
7209 * emacs-lisp/debug.el (debugger-env-macro):
7210 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7211 (Multiple-value-call, Multiple-value-prog1):
7212 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7213 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7214 edebug rule to definition.
7215 * emacs-lisp/lisp-mode.el (save-selected-window)
7216 (with-current-buffer, combine-after-change-calls)
7217 (with-output-to-string, with-temp-file, with-temp-buffer)
7218 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7219 (dolist, dotimes, when, unless):
7220 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7222 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7224 * finder.el: Require `package'.
7225 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7226 (finder-package-info): Var deleted.
7227 (finder-keywords-hash, finder--builtins-alist): New vars.
7228 (finder-compile-keywords): Compute package--builtins and
7229 finder-keywords-hash instead of finder-keywords-hash, respecting
7230 the "Package" header.
7231 (finder-unknown-keywords, finder-list-matches):
7232 Use finder-keywords-hash and package--list-packages.
7233 (finder-mode): Don't set font-lock-defaults.
7234 (finder-exit): We don't use "*Finder-package*" and "*Finder
7235 Category*" buffers anymore.
7237 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7238 (package--builtins): Set default value to nil.
7239 (package-initialize): Load precomputed value of package--builtins
7241 (package-alist, package-compute-transaction)
7242 (package-download-transaction): Improve docstring.
7243 (package-read-all-archive-contents): Do not change
7244 package--builtins here.
7245 (list-packages): Make package-list-packages an alias for this.
7246 Sort by status by default.
7247 (package--list-packages): Add optional PACKAGES arg.
7248 (describe-package-1): Use font-lock-face property. For built-in
7249 packages, insert file commentary.
7250 (package--generate-package-list): Rename from
7251 package-list-packages-internal; all callers changed. Add optional
7252 PACKAGES arg. Add alphabetical sort fallbacks.
7253 (package-menu--version-predicate, package-menu--status-predicate)
7254 (package-menu--description-predicate)
7255 (package-menu--name-predicate): New functions.
7257 * info.el (Info-finder-find-node): Search package-alist instead of
7258 finder-package-info.
7260 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7262 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7264 (version-to-list): Handle versions like "10.3d".
7266 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7268 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7269 (macroexp-accumulate): Use `declare'.
7271 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7273 * whitespace.el (whitespace-style): Adjust type declaration.
7275 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
7277 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7278 empty argument to gvfs-copy.
7280 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7282 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7283 handle new TRASH arg of `delete-file'.
7285 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7287 * net/tramp.el (tramp-handle-insert-directory): Don't use
7288 `forward-word', its default syntax could be changed.
7290 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7291 Michael Albinus <michael.albinus@gmx.de>
7293 Implement compression for inline methods.
7295 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7296 (tramp-copy-size-limit): Allow also nil.
7297 (tramp-inline-compress-commands): New defconst.
7298 (tramp-find-inline-compress, tramp-get-inline-compress)
7299 (tramp-get-inline-coding): New defuns.
7300 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7301 replaced by `tramp-get-inline-coding'.
7302 (tramp-handle-file-local-copy, tramp-handle-write-region)
7303 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7305 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
7307 Detect ssh 'ControlMaster' argument automatically in some cases.
7309 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7310 (tramp-default-method): Use it.
7312 2010-08-26 Karel Klíč <kklic@redhat.com>
7314 * net/tramp.el (tramp-file-name-for-operation):
7315 Add file-selinux-context.
7317 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7319 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7321 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7323 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7326 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7328 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7329 (js-paren-indent-offset, js-square-indent-offset)
7330 (js-curly-indent-offset): New options.
7331 (js--proper-indentation): Use them.
7333 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7335 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7336 instead of inspecting font-lock properties (Bug#6916).
7338 2010-08-26 David Reitter <david.reitter@gmail.com>
7340 * server.el (server-visit-files): Run pre-command-hook and
7341 post-command-hook for each buffer while it is current (Bug#6910).
7342 (server-execute): Do not run hooks here.
7344 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7346 Sync with Tramp 2.1.19.
7348 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7349 (tramp-reporter-dump-variable, tramp-load-report-modules)
7350 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
7351 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
7353 * net/tramp-compat.el (top): Do not autoload
7354 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7355 only when `start-file-process' is not bound.
7356 (byte-compile-not-obsolete-vars): Define if not bound.
7357 (tramp-compat-funcall): New defmacro.
7358 (tramp-compat-line-beginning-position)
7359 (tramp-compat-line-end-position)
7360 (tramp-compat-temporary-file-directory)
7361 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7362 (tramp-compat-copy-file, tramp-compat-copy-directory)
7363 (tramp-compat-delete-file, tramp-compat-delete-directory)
7364 (tramp-compat-number-sequence, tramp-compat-process-running-p):
7366 (tramp-advice-file-expand-wildcards): Do not use
7367 `tramp-handle-file-remote-p'.
7368 (tramp-compat-make-temp-file): Simplify fallback implementation.
7369 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7370 (tramp-compat-copy-tree): Remove function.
7371 (tramp-compat-delete-file): New defun.
7372 (tramp-compat-delete-directory): Provide implementation for older
7374 (tramp-compat-file-attributes): Handle only
7375 `wrong-number-of-arguments' error.
7377 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7378 Add PRESERVE_SELINUX_CONTEXT.
7379 (tramp-fish-handle-delete-file): Add TRASH arg.
7380 (tramp-fish-handle-directory-files-and-attributes):
7381 Do not use `tramp-fish-handle-file-attributes.
7382 (tramp-fish-handle-file-local-copy)
7383 (tramp-fish-handle-insert-file-contents)
7384 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
7386 * net/tramp-gvfs.el (top): Require url-util.
7387 (tramp-gvfs-mount-point): Remove.
7388 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
7389 and `set-file-selinux-context'.
7390 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
7391 (tramp-gvfs-handle-file-selinux-context)
7392 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7393 (with-tramp-dbus-call-method): Format trace message.
7394 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7395 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7396 Implement backup call, when operation on local files fails.
7397 Use progress reporter. Flush properties of changed files.
7398 (tramp-gvfs-handle-delete-file): Add TRASH arg.
7399 Use `tramp-compat-delete-file'.
7400 (tramp-gvfs-handle-expand-file-name): Expand "~/".
7401 (tramp-gvfs-handle-make-directory): Make more traces.
7402 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
7403 (tramp-gvfs-url-file-name): Hexify file name in url.
7404 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7405 into account for the resulting file name.
7406 (tramp-gvfs-handler-askquestion): Preserve current message, in
7407 order to let progress reporter continue afterwards. (Bug#6257)
7408 Return dummy mountpoint, when the answer is "no".
7409 See `tramp-gvfs-maybe-open-connection'.
7410 (tramp-gvfs-handler-mounted-unmounted)
7411 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7412 attribute "default_location". Set "prefix" property.
7413 Handle default-location.
7414 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7415 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7416 exists. Raise an error, if not (due to a corresponding answer
7417 "no" in interactive questions, for example).
7418 Use `tramp-compat-funcall'.
7420 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7421 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7422 (tramp-imap-do-copy-or-rename-file)
7423 (tramp-imap-handle-insert-file-contents)
7424 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7425 (tramp-imap-handle-delete-file): Add TRASH arg.
7427 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7428 Add PRESERVE-SELINUX-CONTEXT.
7429 (tramp-smb-handle-copy-file)
7430 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7431 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7432 Use `with-progress-reporter'.
7433 (tramp-smb-handle-delete-file): Add TRASH arg.
7435 * net/tramp.el (tramp-methods): Move hostname to the end in all
7436 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
7438 (tramp-verbose): Describe verbose level 9.
7439 (tramp-completion-function-alist)
7440 (tramp-file-name-regexp, tramp-chunksize)
7441 (tramp-local-coding-commands, tramp-remote-coding-commands)
7442 (with-connection-property, tramp-completion-mode-p)
7443 (tramp-action-process-alive, tramp-action-out-of-band)
7444 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7445 (tramp-exists-file-name-handler): Fix docstring.
7446 (tramp-remote-process-environment): Use `format' instead of
7447 `concat'. Protect version string by apostroph.
7448 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7450 (tramp-file-name-regexp-unified)
7451 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7452 not regard the volume letter as remote filename. (Bug#5447)
7453 (tramp-perl-file-attributes)
7454 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7455 (tramp-vc-registered-read-file-names): Read input as
7456 here-document, otherwise the command could exceed maximum length
7458 (tramp-file-name-handler-alist): Add `file-selinux-context' and
7459 `set-file-selinux-context'.
7460 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
7461 backtrace functions.
7462 (tramp-error-with-buffer): Don't show the connection buffer when
7463 we are in completion mode.
7464 (tramp-progress-reporter-update, tramp-remote-selinux-p)
7465 (tramp-handle-file-selinux-context)
7466 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
7467 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
7469 (with-progress-reporter): New defmacro.
7470 (tramp-debug-outline-regexp): New defconst.
7471 (top, tramp-rfn-eshadow-setup-minibuffer)
7472 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7473 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7474 (tramp-completion-mode-p, tramp-check-for-regexp)
7475 (tramp-open-connection-setup-interactive-shell)
7476 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7477 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7478 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
7479 Use `tramp-compat-funcall'.
7480 (tramp-handle-make-symbolic-link): Flush file properties.
7481 (tramp-handle-load, tramp-handle-file-local-copy)
7482 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7483 (tramp-handle-vc-registered, tramp-maybe-send-script)
7484 (tramp-find-shell): Use `with-progress-reporter'.
7485 (tramp-do-file-attributes-with-stat): Add space in format string,
7486 in order to work around a bug in pdksh. Reported by Gilles Pion
7488 (tramp-handle-verify-visited-file-modtime): Do not send a command
7489 when the connection is not established.
7490 (tramp-handle-set-file-times): Simplify the check for utc.
7491 (tramp-handle-directory-files-and-attributes)
7492 (tramp-get-remote-path): Use `copy-tree'.
7493 (tramp-completion-handle-file-name-all-completions): Ensure, that
7494 non remote files are still checked. Oops.
7495 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7496 Handle PRESERVE-SELINUX-CONTEXT.
7497 (tramp-do-copy-or-rename-file): Add progress reporter.
7498 (tramp-do-copy-or-rename-file-directly): Do not use
7499 `tramp-handle-file-remote-p'.
7500 (tramp-do-copy-or-rename-file-out-of-band):
7501 Use `tramp-compat-delete-directory'.
7502 (tramp-do-copy-or-rename-file-out-of-band)
7503 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7504 Use `format-spec-make'.
7505 (tramp-handle-delete-file): Add TRASH arg.
7506 (tramp-handle-dired-uncache): Flush directory cache, not only file
7508 (tramp-handle-expand-file-name)
7509 (tramp-completion-handle-file-name-all-completions)
7510 (tramp-completion-handle-file-name-completion):
7511 Use `tramp-connectable-p'.
7512 (tramp-handle-start-file-process): Set connection property "vec".
7513 Use it, in order to invalidate file caches. Check only for
7514 `remote-tty' process property.
7515 Implement tty setting. (Bug#4604, Bug#6360)
7516 (tramp-file-name-for-operation): Add `call-process-region' and
7517 `set-file-selinux-context'.
7518 (tramp-find-foreign-file-name-handler)
7519 (tramp-advice-make-auto-save-file-name)
7520 (tramp-set-auto-save-file-modes): Remove superfluous check for
7521 `stringp'. This is done inside `tramp-tramp-file-p'.
7522 (tramp-file-name-handler): Trace 'quit. Catch the error for some
7523 operations when we are in completion mode. This gives the user
7524 the chance to correct the file name in the minibuffer.
7525 (tramp-completion-mode-p): Use `non-essential'.
7526 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7527 compatibility: Use `completion-ignore-case' if
7528 `read-file-name-completion-ignore-case' does not exist.
7529 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
7530 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7532 (tramp-action-password): Hide password prompt before next run.
7533 (tramp-process-actions): Widen connection buffer for the trace.
7534 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7535 process property. Trace stty settings if `tramp-verbose' >= 9.
7536 Apply workaround for IRIX64 bug. Move argument of last
7537 `tramp-send-command' where it belongs to.
7538 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7539 front of `login-args'.
7540 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7541 on "/dev/null" instead of "/".
7542 (tramp-get-ls-command-with-dired): Make test for "--dired"
7544 (tramp-set-auto-save-file-modes): Adapt version check.
7545 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7546 (tramp-handle-process-file): Call the program in a subshell, in
7547 order to preserve working directory.
7548 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7549 `tramp-remote-sh' from `tramp-methods'.
7550 (tramp-get-ls-command): Make test for "--color=never" stronger.
7551 (tramp-check-for-regexp): Use (forward-line 1).
7553 * net/trampver.el: Update release number.
7555 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7557 * help.el (help-map): Bind `C-h P' to describe-package.
7559 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7561 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7562 when downloading archives.
7563 (describe-package-1): Add package commentary.
7564 (package-install-button-action): New function.
7565 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7566 (package-menu-view-commentary): Function removed.
7567 (package-list-packages-internal): Hide the `package' package too.
7569 2010-08-25 Kenichi Handa <handa@m17n.org>
7571 * language/misc-lang.el ("Arabic"): New language environment.
7572 Setup composition-function-table for Arabic characters.
7574 * international/fontset.el (setup-default-fontset): Fix typo for
7575 arabic OTF spec (fini->fina).
7577 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7579 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7582 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7584 * whitespace.el: Allow cleaning up blanks without blank
7585 visualization (Bug#6651). Adjust help window for
7586 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7587 instead of whitespace-line-column (from EmacsWiki). New version
7589 (whitespace-style): Add new value 'face. Adjust docstring.
7590 (whitespace-space, whitespace-hspace, whitespace-tab):
7591 Adjust foreground property face.
7592 (whitespace-line-column): Adjust docstring and type declaration.
7593 (whitespace-style-value-list, whitespace-toggle-option-alist)
7594 (whitespace-help-text): Adjust const initialization.
7595 (whitespace-toggle-options, global-whitespace-toggle-options):
7597 (whitespace-display-window, whitespace-interactive-char)
7598 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7599 (whitespace-help-scroll): New fun.
7601 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7603 * emacs-lisp/package.el (list-packages): Alias for
7604 package-list-packages.
7606 2010-08-24 Kevin Ryde <user42@zip.com.au>
7608 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7611 * progmodes/ruby-mode.el (ruby): Add defgroup.
7613 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7615 * progmodes/python.el: Add Ipython support (Bug#5390).
7616 (python-shell-prompt-alist)
7617 (python-shell-continuation-prompt-alist): New options.
7618 (python--set-prompt-regexp): New function.
7619 (inferior-python-mode, run-python, python-shell):
7620 Require ansi-color. Use python--set-prompt-regexp to set the comint
7621 prompt based on the Python interpreter.
7622 (python--prompt-regexp): New var.
7623 (python-check-comint-prompt)
7624 (python-comint-output-filter-function): Use it.
7625 (run-python): Use a pipe (Bug#5694).
7627 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7629 * progmodes/python.el (python-send-region): Send a different
7630 Python command if Ipython is in use.
7631 (python-check-version): Use a Python command to find the version.
7633 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7635 * mouse.el (mouse-yank-primary): Avoid setting primary when
7636 deactivating the mark (Bug#6872).
7638 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7640 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7641 with "else" (Bug#3991).
7643 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7645 * net/dbus.el: Accept UNIX domain sockets as bus address.
7646 (top): Don't initialize `dbus-registered-objects-table' anymore,
7647 this is done in dbusbind,c.
7648 (dbus-check-event): Adapt test for bus.
7649 (dbus-return-values-table, dbus-unregister-service)
7650 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7653 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7655 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7657 2010-08-22 Juri Linkov <juri@jurta.org>
7659 * simple.el (read-extended-command): New function with the logic
7660 for `completing-read' moved to Elisp from `execute-extended-command'.
7661 Use `function-called-at-point' in `minibuffer-default-add-function'
7662 to get a command name for M-n (bug#5364, bug#5214).
7664 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7666 * startup.el (command-line-1): Issue warning for ignored arguments
7667 --unibyte, etc (Bug#6886).
7669 2010-08-22 Leo <sdl.web@gmail.com>
7671 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7672 (ignore, bright, dim, keyword): Split list of nicknames before
7673 passing to rcirc-add-or-remove (Bug#6894).
7675 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7677 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7679 2010-08-22 Leo <sdl.web@gmail.com>
7681 Fix buffer-list rename&refresh after killing a buffer in ido.
7682 * ido.el: Revert Óscar's.
7683 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7684 Remember the buffers at head, rather than their name.
7685 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7687 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7688 Stefan Monnier <monnier@iro.umontreal.ca>
7690 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7691 extra backslash added to each line (bug#6890).
7693 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7695 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7697 2010-08-22 Glenn Morris <rgm@gnu.org>
7699 * menu-bar.el (menu-bar-games-menu): Add landmark.
7701 2010-08-22 Glenn Morris <rgm@gnu.org>
7703 * align.el (align-regexp): Make group and spacing arguments
7704 use the interactive defaults when non-interactive. (Bug#6698)
7706 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7707 expansion, so as not to need sendmail.
7708 (mail-text-start): Remove declaration.
7709 (rmail-retry-failure): Require sendmail.
7711 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7713 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7715 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7717 * progmodes/flymake.el (flymake-start-syntax-check-process):
7718 Use `start-file-process' in order to let it run also on remote hosts.
7720 2010-08-22 Kenichi Handa <handa@m17n.org>
7722 * files.el: Add `word-wrap' as safe local variable.
7724 2010-08-22 Glenn Morris <rgm@gnu.org>
7726 * woman.el (woman-translate): Case matters. (Bug#6849)
7728 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7730 * simple.el (kill-region): Doc fix (Bug#6787).
7732 2010-08-22 Glenn Morris <rgm@gnu.org>
7734 * calendar/diary-lib.el (diary-header-line-format):
7735 Fit it to the window, not the frame.
7737 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7739 * subr.el (ignore-errors): Add debug declaration.
7741 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7743 * whitespace.el (whitespace-color-off): Remove post-command-hook
7746 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7748 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7750 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7752 * cus-edit.el (custom-group-value-create): Add extra newline
7753 before end line (Bug#6876).
7755 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7757 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7758 when extending it. Before killing on the second click, check if
7759 the buffer is the correct one. Doc fix.
7760 (mouse-secondary-save-then-kill): Allow usage without first
7761 calling mouse-start-secondary, by defaulting to point. Don't save
7762 an empty secondary selection. Doc fix.
7764 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7766 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7767 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7769 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7770 Adjust initialization.
7771 (whitespace-bob-marker, whitespace-eob-marker)
7772 (whitespace-buffer-changed): New vars.
7773 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7774 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7775 (whitespace-post-command-hook, whitespace-display-char-on):
7777 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7778 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7780 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7782 * files.el (locate-file-completion-table): Only list the .el and .elc
7783 extensions if there's no other choice (bug#5955).
7785 * facemenu.el (facemenu-self-insert-data): New var.
7786 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7788 (facemenu-add-face): Use them.
7790 * simple.el (blink-matching-open): Obey forward-sexp-function.
7792 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7794 * simple.el (prog-mode-map): New var.
7795 (prog-indent-sexp): New command.
7797 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7799 * progmodes/prolog.el (smie): Require.
7801 * emacs-lisp/smie.el (smie-default-backward-token)
7802 (smie-default-forward-token): Strip properties.
7803 (smie-next-sexp): Be more careful with associative operators.
7804 (smie-forward-sexp-command): Generalize.
7805 (smie-backward-sexp-command): Simplify.
7806 (smie-closer-alist): New var.
7807 (smie-close-block): New command.
7808 (smie-indent-debug-log): New var.
7809 (smie-indent-offset-rule): Add a few more cases.
7810 (smie-indent-column): New function.
7811 (smie-indent-after-keyword): Use it.
7812 (smie-indent-keyword): Use it.
7813 Fix up the opener code's point position.
7814 (smie-indent-comment): Only applies at BOL.
7815 (smie-indent-debug): New command.
7817 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7818 declarations that are useful before running the macro.
7820 2010-08-18 Joakim Verona <joakim@verona.se>
7822 * image.el (imagemagick-types-inhibit): New variable.
7823 (imagemagick-register-types): New function.
7824 * image-mode.el (image-transform-properties): New function.
7825 (image-transform-set-scale, image-transform-fit-to-height)
7826 (image-transform-set-rotation, image-transform-set-resize)
7827 (image-transform-fit-to-width, image-transform-fit-to-height):
7829 (image-toggle-display-image): Support image transforms.
7831 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7833 * image.el (create-animated-image): Don't add heuristic mask to image
7836 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7838 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7839 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7841 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7843 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7845 Font-lock '...' strings, plus various simplifications and fixes.
7846 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7847 (octave-font-lock-close-quotes): New function.
7848 (octave-font-lock-syntactic-keywords): New var.
7849 (octave-mode): Use it. Set beginning-of-defun-function.
7850 (octave-mode-map): Don't override the <foo>-defun commands.
7851 (octave-mode-menu): Pass it directly to easy-menu-define;
7852 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7853 (octave-block-match-alist): Fix up last change so that
7854 octave-close-block uses the more specific keyword.
7855 (info-lookup-mode): Silence byte-compiler.
7856 (octave-beginning-of-defun): Not interactive any more.
7858 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7859 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7860 (octave-completion-at-point-function): Make sure point is within
7862 (octave-reindent-then-newline-and-indent):
7863 Use reindent-then-newline-and-indent.
7864 (octave-add-octave-menu): Remove.
7866 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7868 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7869 (report-emacs-bug-can-use-xdg-email): New functions.
7870 (report-emacs-bug): Set can-xdg-email to result of
7871 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7872 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7875 * net/browse-url.el (browse-url-default-browser): Add cond
7876 for browse-url-xdg-open.
7877 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7879 2010-08-17 Glenn Morris <rgm@gnu.org>
7881 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7882 (c-fontify-recorded-types-and-refs): Define for compiler.
7883 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7886 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7889 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7891 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7893 (tramp-handle-process-file): Call the program in a subshell, in
7894 order to preserve working directory.
7895 (tramp-action-password): Hide password prompt before next run.
7896 (tramp-process-actions): Widen connection buffer for the trace.
7898 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7900 * net/rcirc.el (rcirc-log-process-buffers): New option.
7901 (rcirc-print): Use it.
7902 (rcirc-generate-log-filename): New function.
7903 (rcirc-log-filename-function): Change default to
7904 rcirc-generate-log-filename (Bug#6828).
7906 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7908 * simple.el (deactivate-mark): If select-active-regions is `only',
7909 only set selection for temporarily active regions.
7911 * cus-start.el: Change defcustom for select-active-regions.
7913 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7915 * mouse.el (mouse--drag-set-mark-and-point): New function.
7916 (mouse-drag-track): Use LOCATION arg to push-mark.
7917 Use mouse--drag-set-mark-and-point to take click-count into
7918 consideration when updating point and mark (Bug#6840).
7920 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7922 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7923 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7925 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7927 * font-lock.el (lisp-font-lock-keywords-2):
7928 Add combine-after-change-calls, condition-case-no-debug,
7929 with-demoted-errors, and with-silent-modifications (Bug#6025).
7931 2010-08-14 Kevin Ryde <user42@zip.com.au>
7933 * emacs-lisp/copyright.el (copyright-update-year)
7934 (copyright-update): Temporary switch-to-buffer to ensure the
7935 buffer change being queried is visible (Bug#5394).
7937 2010-08-14 Tom Tromey <tromey@redhat.com>
7939 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7942 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7944 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7947 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7949 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7950 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7951 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7952 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7953 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7954 Call menu-bar-set-tool-bar-position.
7956 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7958 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7959 comment style (bug#6834).
7960 * progmodes/scheme.el (scheme-mode-syntax-table):
7961 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7962 "b" flag in "' 14b" syntax.
7964 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7965 for (un)commenting the region and performing completion.
7966 (octave-mode-menu): Use standard commands for help and completion.
7967 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7968 (octave-mode): Use define-derived-mode.
7969 Set completion-at-point-functions and don't set columns.
7970 Don't disable adaptive-fill-regexp.
7971 (octave-describe-major-mode, octave-comment-region)
7972 (octave-uncomment-region, octave-comment-indent)
7973 (octave-indent-for-comment): Remove.
7974 (octave-indent-calculate): Rename from calculate-octave-indent.
7975 (octave-indent-line, octave-fill-paragraph): Update caller.
7976 (octave-initialize-completions): No need to make an alist.
7977 (octave-completion-at-point-function): New function.
7978 (octave-complete-symbol): Use it.
7979 (octave-insert-defun): Use define-skeleton.
7981 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7982 (octave-mode-map): Use comment-dwim (bug#6829).
7984 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7986 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7987 indentation of inserted comment.
7989 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7991 * faces.el (region): Add type gtk that uses gtk colors.
7993 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7994 Handle theme-name change.
7996 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7998 * progmodes/sql.el: Version 2.5
7999 (sql-product-alist): Add :prompt-cont-regexp property for several
8001 (sql-prompt-cont-regexp): New variable.
8002 (sql-output-newline-count, sql-output-by-send):
8003 New variables. Record number of newlines in input text.
8004 (sql-send-string): Handle multiple filters and count newlines.
8005 (sql-send-magic-terminator): Count terminator newline.
8006 (sql-interactive-remove-continuation-prompt): Filters output to
8007 remove continuation prompts; one for each newline.
8008 (sql-interactive-mode): Set up new variables, prompt regexp and
8010 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8011 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8013 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8015 * emacs-lisp/pcase.el: New file.
8017 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8019 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8020 as here-document, otherwise the command could exceed maximum
8021 length of command line.
8022 (tramp-handle-vc-registered): Call script accordingly.
8023 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8025 2010-08-10 Kenichi Handa <handa@m17n.org>
8027 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8030 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8032 * emacs-lisp/package.el (package-version-split)
8033 (package--version-first-nonzero, package-version-compare):
8035 (package-directory-list, package-load-all-descriptors)
8036 (package--built-in, package-activate, define-package)
8037 (package-installed-p, package-compute-transaction)
8038 (package-read-all-archive-contents)
8039 (package--add-to-archive-contents, package-buffer-info)
8040 (package-tar-file-info, package-list-packages-internal):
8041 Use version-to-list and version-list-*.
8043 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8044 Use version-to-list.
8045 (package-upload-buffer-internal): Use version-list-<=.
8047 2010-08-09 Kenichi Handa <handa@m17n.org>
8049 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8052 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8054 * tutorial.el (tutorial--default-keys): C-d is now bound to
8055 delete-forward-char (Bug#6826).
8057 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8058 for `double' value of mouse-1-click-follows-link (Bug#6807).
8060 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8062 * replace.el (replace-highlight): Bind isearch-forward and
8063 isearch-error, ensuring that highlighting is updated if the user
8064 switches the search direction (Bug#6808).
8066 * isearch.el (isearch-lazy-highlight-forward): New var.
8067 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8068 (isearch-lazy-highlight-update): Use it.
8070 2010-08-08 Kenichi Handa <handa@m17n.org>
8072 * international/mule.el (define-charset): Store NAME as :base property.
8073 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8074 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8075 current priority. Force using the designation of the specific
8076 charset by adding `charset' text property. Improve the whole algorithm.
8078 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8080 * emulation/pc-select.el (pc-selection-mode-hook)
8081 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8082 (pc-selection-mode): Fix typos in docstrings.
8084 2010-08-08 Kenichi Handa <handa@m17n.org>
8086 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8087 ctext-non-standard-encodings-alist here.
8089 * international/mule.el (ctext-non-standard-encodings-alist):
8090 Add "koi8-r" and "microsoft-cp1251".
8091 (ctext-standard-encodings): New variable.
8092 (ctext-non-standard-encodings-table): List only elements for
8093 non-standard encodings.
8094 (ctext-pre-write-conversion): Adjust for the above change.
8095 Check ctext-standard-encodings.
8097 * international/mule-conf.el (compound-text): Doc fix.
8098 (ctext-no-compositions): Doc fix.
8099 (compound-text-with-extensions): Doc fix.
8101 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8103 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8105 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8107 * progmodes/which-func.el (which-func-format): Split help-echo text
8108 into lines, like other mode-line tooltips.
8110 * server.el (server-start): When using TCP sockets, force IPv4
8111 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8113 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8115 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8117 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8119 * term.el (term-delimiter-argument-list): Reflow docstring.
8120 (term-read-input-ring, term-write-input-ring, term-send-input)
8121 (term-bol, term-erase-in-display, serial-supported-or-barf):
8122 Fix typos in docstrings.
8124 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8126 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8128 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8130 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8132 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8134 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8135 Fix typo in docstring (bug#6747).
8137 2010-08-08 Leo <sdl.web@gmail.com>
8139 * eshell/esh-io.el (eshell-get-target): Better detection of
8140 read-only file (Bug#6762).
8142 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8144 * align.el (align-default-spacing): Doc fix.
8145 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8147 2010-08-08 Stephen Peters <speters@itasoftware.com>
8149 * calendar/icalendar.el
8150 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8151 (icalendar--get-weekday-numbers): New.
8152 (icalendar--convert-recurring-to-diary): Handle multiple byday
8153 values in weekly rules. (Bug#6766)
8155 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8157 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8158 (icalendar--create-uid, icalendar-export-region)
8159 (icalendar--parse-summary-and-rest): Code formatting.
8161 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8163 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
8164 to italicize headers.
8165 (calc-highlight-selections-with-faces): New variable.
8166 (calc-selected-face, calc-nonselected-face): New faces.
8168 * calc/calccomp.el (math-comp-highlight-string): Use
8169 `calc-highlight-selections-with-faces' to determine how to highlight
8172 * calc/calc-sel.el (calc-show-selections): Change message to when
8173 using faces to highlight selections.
8175 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8177 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8178 Add SQLite 3 keywords, functions and datatypes.
8179 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8182 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8184 * simple.el (select-active-regions): Move to keyboard.c.
8185 (deactivate-mark): Used saved-region-selection.
8186 (select-active-region): Function removed.
8187 (activate-mark, set-mark, push-mark-command)
8188 (handle-shift-selection): Don't call it.
8189 (keyboard-quit): Avoid adding the region to the window selection.
8191 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8192 select-active-regions implementation.
8193 (mouse-yank-at-click): Doc fix.
8195 * cus-start.el: Add custom declaration for select-active-regions.
8197 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8199 * simple.el (delete-forward-char): Doc fix.
8201 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8202 after reading the tutorial.
8204 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8206 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8207 Fix for the case that a C style comment has its delimiters alone on
8208 their respective lines.
8210 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8212 * net/tramp.el (tramp-handle-start-file-process): Set connection
8214 (tramp-process-sentinel): Use it for flushing the cache.
8215 We cannot do it via the process buffer, the buffer could be deleted
8216 already when running the sentinel.
8218 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8220 * comint.el (comint-mode): Make directory tracking functions
8221 functional on remote files. (Bug#6764)
8223 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8225 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8227 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8229 * emacs-lisp/find-gc.el (find-gc-source-files):
8230 Rename unexec.c => unexcoff.c.
8232 * emacs-lisp/authors.el (authors-fixed-entries):
8233 Rename unexec.c => unexcoff.c.
8235 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8237 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8238 cache, not only file cache.
8239 (tramp-process-sentinel): New defun.
8240 (tramp-handle-start-file-process): Use it, in order to invalidate
8243 2010-08-03 Leo <sdl.web@gmail.com>
8245 * server.el (server-start): Simplify loop.
8247 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8249 * frame.el (screen-height, screen-width, set-screen-width)
8250 (set-screen-height): Remove ancient compatibility aliases.
8252 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8253 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8255 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8256 that change current buffer.
8258 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8260 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8261 beginning of the string. Use `string-match-p'. (Bug#6765)
8263 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8265 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8267 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8269 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8270 (package--builtins): Tweak descriptions.
8271 (package-print-package): Upcase descriptions if necessary.
8272 Show all built-in packages in font-lock-builtin-face.
8273 (package-list-packages-internal): Omit "emacs" package.
8274 Show status of built-in packages as "built-in".
8276 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8278 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8279 before killing to preserve the primary selection (Bug#6701).
8281 * term/x-win.el (x-select-text): Doc fix.
8283 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8285 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8286 (objc-font-lock-extra-types):
8287 * progmodes/cc-mode.el (c-basic-common-init):
8288 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8289 (c++-make-template-syntax-table)
8290 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8291 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8292 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8293 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8294 * progmodes/cc-fonts.el (c-make-inverse-face)
8295 (c-basic-matchers-after):
8296 * progmodes/cc-engine.el (c-forward-keyword-clause)
8297 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8298 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8299 (c-guess-continued-construct, c-guess-basic-syntax):
8300 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8301 The above functions were modified or created.
8303 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8305 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8307 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8309 * files.el (bidi-paragraph-direction): Define safe local values.
8311 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8312 language-info-alist. Remove outdated FIXME in a comment.
8314 2010-07-31 Alan Mackenzie <acm@muc.de>
8316 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8317 Auto-fill broken in C/C++ modes.
8319 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8321 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8322 (menu-bar-showhide-tool-bar-menu-customize-disable)
8323 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8324 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8325 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8326 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8327 make a menu for Options => toolbar that can move it.
8329 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8331 * emacs-lisp/package-x.el (package--make-rss-entry):
8332 (package-maint-add-news-item, package--update-news)
8333 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8335 * emacs-lisp/package.el (package-archive-url): Rename from
8337 (package-install): Doc fix.
8338 (package-download-single, package-download-tar, package-install)
8339 (package-menu-view-commentary): Callers changed.
8341 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8343 * net/tramp.el (tramp-handle-start-file-process): Check only for
8344 `remote-tty' process property.
8345 (tramp-open-shell): Don't check for tty.
8346 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8349 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8352 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8354 * emacs-lisp/package.el (package-load-list, package-archives)
8355 (package-archive-contents, package-user-dir)
8356 (package-directory-list, package--builtins, package-alist)
8357 (package-activated-list, package-obsolete-alist): Mark as risky.
8359 2010-07-28 Phil Hagelberg <phil@evri.com>
8361 Add support for non-default package repositories.
8362 * emacs-lisp/package.el (package-archive-base): Var deleted.
8363 (package-archives): New variable.
8364 (package-archive-contents): Doc fix.
8365 (package-load-descriptor): Do nothing if descriptor file is missing.
8366 (package--write-file-no-coding): New function.
8367 (package-unpack-single): Use it.
8368 (package-archive-id): New function.
8369 (package-download-single, package-download-tar)
8370 (package-menu-view-commentary): Use it.
8371 (package-installed-p): Make second argument optional.
8372 (package-read-all-archive-contents): New function.
8373 (package-initialize): Use it.
8374 (package-read-archive-contents): Add ARCHIVE argument.
8375 (package--add-to-archive-contents): New function.
8376 (package-install): Don't call package-read-archive-contents.
8377 (package--download-one-archive): Store archive file in a
8378 subdirectory of package-user-dir.
8379 (package-menu-execute): Remove spurious line movement.
8381 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8383 * cus-start.el (tool-bar-style): Add text-image-horiz.
8385 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8387 * progmodes/gud.el (gud-common-init): Check for remoteness of
8388 `file', and not of `default-directory'.
8390 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8392 * net/tramp.el (tramp-methods): Move hostname to the end in all
8393 ssh `tramp-login-args'.
8394 (tramp-verbose): Describe verbose level 9.
8395 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8396 (tramp-open-connection-setup-interactive-shell): Trace stty
8397 settings if `tramp-verbose' >= 9.
8398 (tramp-handle-start-file-process): Implement tty setting.
8399 (Bug#4604, Bug#6360)
8401 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8402 `tramp-verbose' to 9.
8404 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8406 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8407 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8408 Remove references to package `lisp-re' (bug#4369).
8410 2010-07-27 Tom Tromey <tromey@redhat.com>
8412 * progmodes/js.el (js-mode):
8413 * progmodes/make-mode.el (makefile-mode):
8414 * progmodes/simula.el (simula-mode):
8415 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8417 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8419 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8421 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8422 (display-time-world-buffer-name, display-time-world-mode-map):
8423 Fix typos in docstrings.
8425 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8427 * image-mode.el (image-display-size): New function.
8428 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8429 (image-mode-fit-frame): Use it (Bug#6639).
8431 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8433 * dired.el (dired-buffers-for-dir): Handle list values of
8434 dired-directory (Bug#6636).
8436 2010-07-26 Sam Steingold <sds@gnu.org>
8438 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8439 Do not call `x-get-selection' the second time, reuse the value.
8441 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8443 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8444 which consist of control chars only. Suggested by Richard Stallman.
8446 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8448 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8449 exists before passing an error to find-file-not-found-functions
8452 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8454 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8455 Remove leading nil element, adjust values.
8456 (tetris-shapes, tetris-shape-scores):
8457 Change representation of shapes and remove some redundancy.
8458 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8459 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8460 Adjust for working with new representation of shapes.
8461 (tetris-shape-rotations): New function.
8462 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8463 (tetris-rotate-prev, tetris-rotate-next):
8464 Adjust for working with the new version of tetris-test-shape.
8466 2010-07-23 Markus Triska <markus.triska@gmx.at>
8468 * progmodes/ps-mode.el: Use comint (bug#5954).
8469 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8470 (ps-mode-other-newline): Simplify.
8471 (ps-run-mode): Derive from comint-mode instead of
8472 fundamental-mode, yielding input history etc.
8473 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8474 (ps-run-send-string): Adapt for comint-mode.
8475 (ps-run-newline): Remove now unneeded function.
8477 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8479 * net/tramp.el (tramp-methods): Move hostname to the end in all
8480 plink `tramp-login-args'.
8482 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8484 * net/tramp.el (tramp-open-shell): New defun.
8485 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8488 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8490 * net/tramp.el (tramp-file-name-regexp-unified)
8491 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8492 not regard the volume letter as remote filename. (Bug#5447)
8494 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8496 * custom.el (custom-declare-variable): Give a clearer error message
8497 when the docstring is missing (bug#6476).
8499 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8501 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8502 (sql-login-params): New widget definition.
8503 (sql-oracle-login-params, sql-mysql-login-params)
8504 (sql-solid-login-params, sql-sybase-login-params)
8505 (sql-informix-login-params, sql-ingres-login-params)
8506 (sql-ms-login-params, sql-postgres-login-params)
8507 (sql-interbase-login-params, sql-db2-login-params)
8508 (sql-linter-login-params): Use it.
8509 (sql-sqlite-login-params): Use it; Define "database" parameter as
8511 (sql-sqlite-program): Change to "sqlite3".
8512 (sql-comint-sqlite): Make sure database name is complete.
8513 (sql-for-each-login): New function.
8514 (sql-connect, sql-save-connection): Use it.
8515 (sql-get-login-ext): New function.
8516 (sql-get-login): Use it.
8517 (sql-make-alternate-buffer-name): Handle :file parameters.
8519 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8521 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8522 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8524 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8526 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8528 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8530 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8532 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8534 * net/tramp.el (tramp-get-ls-command)
8535 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8538 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8540 * progmodes/sql.el: Version 2.3.
8541 (sql-connection-alist): Change keys from symbols to strings;
8542 enhanced the widget definition.
8543 (sql-mode-menu): Add submenu to select connections.
8544 (sql-interactive-mode-menu): Add "Save Connection" item.
8545 (sql-add-product): Fix menu item.
8546 (sql-get-product-feature): Improved error handling.
8547 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8548 (sql-make-alternate-buffer-name): Simplified.
8549 (sql-product-interactive): Handle missing product.
8550 (sql-connect): Support string keys, minor improvements.
8551 (sql-save-connection): New function.
8552 (sql-connection-menu-filter): New function.
8554 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8556 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8557 (tramp-open-connection-setup-interactive-shell):
8558 Apply workaround for IRIX64 bug. Move argument of last
8559 `tramp-send-command' where it belongs to.
8561 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8563 * net/tramp.el (tramp-perl-file-attributes)
8564 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8565 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8566 front of `login-args'.
8568 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8570 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8571 Set `show-trailing-whitespace' to nil.
8572 (display-time-world-display): Simplify.
8574 2010-07-18 Alan Mackenzie <acm@muc.de>
8576 Enhance `c-file-style' in file/directory local variables.
8577 * progmodes/cc-mode.el (c-count-cfss): New function.
8578 (c-before-hack-hook): Call `c-set-style' differently according to
8579 whether c-file-style was set in file or directory local
8582 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8584 * progmodes/sql.el: Version 2.2.
8585 (sql-product, sql-user, sql-database, sql-server, sql-port):
8586 Use defcustom :safe keyword rather than putting safe-local-variable
8588 (sql-password): Use defcustom :risky keyword rather than putting
8589 risky-local-variable property.
8590 (sql-oracle-login-params, sql-sqlite-login-params)
8591 (sql-solid-login-params, sql-sybase-login-params)
8592 (sql-informix-login-params, sql-ingres-login-params)
8593 (sql-ms-login-params, sql-postgres-login-params)
8594 (sql-interbase-login-params, sql-db2-login-params)
8595 (sql-linter-login-params): Add `port' option.
8596 (sql-get-product-feature): Add NO-INDIRECT parameter.
8597 (sql-comint-oracle, sql-comint-sybase)
8598 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8599 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8600 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8601 (sql-comint-linter): Rename sql-connect-* functions to
8603 (sql-product-alist, sql-mode-menu): Rename as above and
8604 :sqli-connect-func to :sqli-comint-func.
8605 (sql-connection): New variable.
8606 (sql-interactive-mode): Set it.
8607 (sql-connection-alist): New variable.
8608 (sql-connect): New function.
8609 (sql--alt-buffer-part, sql--alt-if-not-empty)
8610 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8612 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8614 * image-mode.el (image-bookmark-make-record): Do not set context
8615 in an image (Bug#6650).
8617 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8619 * simple.el (select-active-region): New function.
8620 (push-mark-command, set-mark, activate-mark)
8621 (handle-shift-selection): Use it.
8622 (deactivate-mark): Don't check for size of region.
8624 * mouse.el (mouse-drag-track): Use select-active-region.
8626 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8628 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8631 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8633 * term/x-win.el (x-select-enable-primary): Change default to nil.
8634 (x-select-enable-clipboard): Add :version keyword.
8636 * mouse.el (mouse-drag-copy-region):
8637 * simple.el (select-active-regions): Likewise.
8639 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8641 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8642 (vc-coding-system-for-diff): Use it to decide whether to inherit
8643 from the file the EOL format for reading the diffs of that file.
8646 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8648 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8649 unibyte, so compressed attachments are not compressed again.
8651 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8653 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8654 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8655 (tramp-find-shell): Simplify setting connection property.
8656 (tramp-get-ls-command): Make test for "--color=never" stronger.
8658 2010-07-15 Simon South <ssouth@member.fsf.org>
8660 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8661 blocks within record declarations (i.e. variant parts) correctly.
8663 2010-07-15 Simon South <ssouth@member.fsf.org>
8665 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8666 over literal tokens when parsing so newlines aren't "absorbed" by
8667 single-line comments. Corrects the indentation of case blocks
8668 that have a comment on the first line.
8670 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8672 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8673 by Drew Adams (Bug#5504).
8675 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8677 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8678 now that Unicode is used (Bug#6594).
8680 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8682 * term/x-win.el (x-select-enable-clipboard): Default to t.
8683 (x-initialize-window-system): Don't overwrite Paste menu item.
8685 * simple.el (select-active-regions): Default to t.
8686 (push-mark-command): Don't overwrite primary with empty string.
8688 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8689 (mouse-drag-copy-region): Default to nil.
8691 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8692 Cut/Copy/Paste menu bar items.
8694 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8696 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8697 Patch applied by Karl Fogel.
8699 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8700 and `bookmark-current-buffer' if they have been already set in
8701 another buffer (e.g gnus-art).
8703 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8704 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8706 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8708 * bookmark.el (bookmark-make-record-default): Allow unneeded
8709 information to be omitted from the record.
8711 Adjust declarations and calls:
8713 * info.el (bookmark-make-record-default): Adjust declaration.
8714 (Info-bookmark-make-record): Adjust call.
8716 * woman.el (bookmark-make-record-default): Adjust declaration.
8717 (woman-bookmark-make-record): Adjust call.
8719 * man.el (bookmark-make-record-default): Adjust declaration.
8720 (Man-bookmark-make-record): Adjust call.
8722 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8724 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8726 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8728 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8729 This is also from Thierry Volpiatto's patch in bug #6444. However,
8730 because it was extraneous to the functional change in that patch,
8731 and causes a re-indendation, I am committing it separately.
8733 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8735 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8736 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8737 Patch applied by Karl Fogel (Bug#6444).
8739 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8741 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8743 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8745 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8746 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8747 (ns-alternatives-map): Change S-tab binding to backtab
8750 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8753 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8755 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8758 * language/tv-util.el (tai-viet-re): Remove format.
8760 2010-07-12 Kenichi Handa <handa@m17n.org>
8762 * language/hebrew.el: Remove no-byte-compile declaration.
8763 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8764 composition-function-table for 3-character looking back.
8765 (hebrew-font-get-precomposed): New function.
8766 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8768 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8770 * mouse.el (mouse-drag-track): Handle select-active-regions
8773 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8775 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8776 empty argument to gvfs-copy.
8778 2010-07-10 Glenn Morris <rgm@gnu.org>
8780 * calendar/calendar.el (calendar-week-end-day): New function.
8781 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8782 Respect calendar-week-start-day. (Bug#6606)
8783 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8784 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8785 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8786 respect calendar-week-start-day.
8788 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8790 * simple.el (use-region-p): Doc fix (Bug#6607).
8792 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8794 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8795 Add regexps for cucumber and ruby.
8797 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8799 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8800 (epa-file-insert-file-contents): Hack to prevent
8801 find-file from opening empty buffer when decryption failed
8804 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8806 * textmodes/ispell.el (ispell-alternate-dictionary):
8807 Use file-readable-p.
8808 Return nil if no word-list is found at default locations.
8809 (ispell-complete-word-dict): Default to nil.
8810 (ispell-command-loop): Use 'word-list' when using lookup-words.
8811 (lookup-words): Use ispell-complete-word-dict or
8812 ispell-alternate-dictionary. Check for word-list availability
8813 and handle errors if needed with better messages (Bug#6539).
8814 (ispell-complete-word): Use ispell-complete-word-dict or
8815 ispell-alternate-dictionary.
8817 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8819 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8820 builtins (BufferError, BytesWarning, WindowsError; callables
8821 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8823 2010-07-07 Glenn Morris <rgm@gnu.org>
8825 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8826 (zone-shift-left): Ignore intangibility, and any errors from
8828 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8829 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8830 deleting, and copying text properties.
8831 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8832 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8833 to point-max is hard.
8834 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8835 (zone-fill-out-screen): Ignore intangibility.
8837 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8839 * menu-bar.el (menu-bar-mode):
8840 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8843 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8844 word/line selection (Bug#6565).
8846 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8848 * net/dbus.el (dbus-send-signal): Declare function.
8850 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8852 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8853 (dbus-register-property): New optional argument EMITS-SIGNAL.
8854 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8856 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8858 * mouse.el (mouse-drag-overlay): Variable deleted.
8859 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8860 (mouse--remap-link-click-p): New function.
8861 (mouse-drag-track): Handle dragging by using temporary Transient
8862 Mark mode, instead of a special overlay.
8863 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8866 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8869 2010-07-02 Juri Linkov <juri@jurta.org>
8871 * autoinsert.el (auto-insert-alist): Fix readability
8872 by using dotted pair notation for lambda.
8874 2010-07-02 Juri Linkov <juri@jurta.org>
8876 * faces.el (read-face-name): Rename arg `string-describing-default'
8877 to `default'. Doc fix. Display the default value in quotes
8878 in the prompt. With empty input, return the `default' arg,
8879 unless the default value is a string (in which case return nil).
8880 (describe-face): Replace the string `default' arg of `read-face-name'
8881 with the symbol `default'.
8883 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8885 * emulation/viper-cmd.el (viper-delete-backward-char)
8886 (viper-del-backward-char-in-insert)
8887 (viper-del-backward-char-in-replace, viper-change)
8888 (viper-backward-indent): Replace delete-backward-char with
8889 delete-char (Bug#6552).
8891 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8893 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8895 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8897 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8898 argument passed to frame-creation-function (Bug#5378).
8900 * faces.el (x-handle-named-frame-geometry)
8901 (x-handle-reverse-video, x-create-frame-with-faces)
8902 (face-set-after-frame-default, tty-create-frame-with-faces):
8903 Don't separately consult default-frame-alist. It is now passed as the
8906 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8908 * startup.el (command-line): Don't call tool-bar-setup in a
8911 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8913 * ruler-mode.el (ruler--save-header-line-format): New fun.
8914 (ruler-mode): Use it as a setter function, so as not to overwrite
8915 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8917 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8919 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8920 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8921 (vc-log-outgoing): Use it.
8922 (vc-diff-internal): Set diff-vc-backend.
8924 * vc/diff-mode.el (diff-vc-backend): New var.
8926 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8928 * dynamic-setting.el (font-setting-change-default-font):
8929 Remove call to message.
8931 2010-06-28 Kenichi Handa <handa@m17n.org>
8933 * international/quail.el (quail-insert-kbd-layout): Fix the
8934 showing of untranslated characters.
8936 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8938 * simple.el (delete-active-region): New option.
8939 (delete-backward-char): Implement in Lisp.
8940 (delete-forward-char): New command.
8942 * mouse.el (mouse-region-delete-keys): Delete.
8943 (mouse-show-mark): Simplify.
8945 * bindings.el (global-map): Bind delete and DEL, the former to
8946 delete-forward-char.
8948 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8950 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8951 (ruby-mode): Bind indent-line-function (Bug#5119).
8953 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8955 * startup.el (command-line): Recognize "0" X resource value.
8957 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8959 * startup.el (command-line): Use X resources to set the value of
8960 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8962 * menu-bar.el (menu-bar-mode):
8963 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8964 Set init-value to t.
8966 * frame.el (frame-notice-user-settings): Don't change
8967 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8968 vice versa (Bug#2249).
8970 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8972 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8974 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8976 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8977 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8979 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8980 default directories are expanded (Bug#6143).
8982 2010-06-24 Juri Linkov <juri@jurta.org>
8984 * minibuffer.el (completions-format): Change default from nil to
8985 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8987 2010-06-24 Juri Linkov <juri@jurta.org>
8989 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8990 buffer-locally to lambda that re-runs the vc diff command.
8993 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8995 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8996 echo area is in use (Bug#3412).
8998 2010-06-22 Glenn Morris <rgm@gnu.org>
9000 * textmodes/texinfmt.el (texinfo-format-region)
9001 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9002 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9003 (texinfo-format-option, texinfo-noindent):
9004 Use line-beginning-position and line-end-position.
9006 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9007 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9008 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9011 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9013 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9014 forward-line fallout.
9016 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9018 * mouse.el (mouse-appearance-menu): Add docstring.
9020 * help.el (describe-key): Print up-event using key-description.
9022 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9024 * net/zeroconf.el (zeroconf-resolve-service)
9025 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9026 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9028 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9030 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9032 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9034 Avoid displaying files with a nil state in vc-dir.
9035 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9036 cases that cause insertion.
9037 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9040 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9042 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9044 2010-06-29 Leo <sdl.web@gmail.com>
9046 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9048 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9050 * generic-x.el (bat-generic-mode): Fix regexp for command line
9051 switches (Bug#5719).
9053 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9055 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9056 of nconc to avoid pure storage error (Bug#6239).
9058 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
9060 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9061 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9062 bindings of bookmark-automatically-show-annotations (Bug#6515).
9064 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9066 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9067 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9069 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9071 * comint.el (make-comint, make-comint-in-buffer): Mention return
9072 value in the docstrings. (Bug#6498)
9074 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9076 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9077 since it is not present when using some non-default switches.
9079 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9081 * simple.el (compose-mail): Fix doc string to refer to
9082 `compose-mail-user-agent-warnings', instead of to the
9083 nonexistent `compose-mail-check-user-agent'.
9085 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9087 Fix an indentation bug:
9089 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9090 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9093 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9094 (c-clear->-pair-props-if-match-before): now return t when they've
9095 cleared properties, nil otherwise.
9096 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9097 by taking account of the existing value.
9099 * progmodes/cc-defs.el
9100 (c-clear-char-property-with-value-function): Fix this to clear the
9101 property rather than overwriting it with nil.
9103 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9105 * emacs-lisp/package.el (package-print-package): Add link to
9106 package description via describe-package.
9107 (describe-package-1): List package requirements. Add button to
9108 perform installation.
9109 (package-menu-describe-package): New command.
9111 * help-mode.el (help-package): New button type.
9113 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9115 * emacs-lisp/package.el: Move package-list-packages binding to
9117 (describe-package, describe-package-1, package--dir): New funs.
9118 (package-activate-1): Use package--dir.
9120 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9122 * help-mode.el (help-package-def): New button type.
9124 * menu-bar.el: Move package-list-packages binding here from
9127 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9129 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9131 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9133 * emacs-lisp/edebug.el (edebug-read-list):
9134 Phase out old-style backquotes.
9136 2010-06-17 Juri Linkov <juri@jurta.org>
9138 * help-mode.el (help-mode): Set buffer-local variable
9139 revert-buffer-function to help-mode-revert-buffer.
9140 (help-mode-revert-buffer): New function.
9142 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9143 before popping to "*info*" (like in other Info functions).
9144 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9145 old-history-forward. Pop to old-buffer-name or "*info*" to
9146 recreate the killed buffer. Set Info-history-forward from
9147 old-history-forward.
9148 (Info-breadcrumbs-depth): Add :group and :version.
9150 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9152 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9154 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9156 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9157 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9159 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9161 * emacs-lisp/package.el (package-menu-mode-map):
9162 Move initialization into declaration.
9164 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9166 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9168 * emacs-lisp/package.el (package-archive-base): Point to
9170 (package-enable, package-load-list): New defcustoms.
9171 (package-user-dir, package-directory-list): Turn into defcustoms.
9172 Don't include package-user-dir in package-directory-list.
9173 (package--builtins-base): Don't include Emacs as a "package".
9174 (package-subdirectory-regexp): New var.
9175 (package-load-all-descriptors, package-compute-transaction)
9176 (package-download-transaction): Obey package-load-list.
9177 (package-activate-1): Rename from package-do-activate.
9178 (package-list-packages-internal): Check package-load-list.
9179 (package-load-descriptor, package-generate-autoloads)
9180 (package-unpack, package-unpack-single)
9181 (package--read-archive-file, package-delete):
9182 Use expand-file-name.
9184 * emacs-lisp/package-x.el: New file. Package uploading
9185 functionality split out from package.el.
9187 * startup.el (command-line): Load packages after reading init file.
9189 2010-06-17 Tom Tromey <tromey@redhat.com>
9191 * emacs-lisp/package.el: New file.
9193 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9195 Fix vc-annotate for renamed files when using Git.
9196 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9197 ls-files. Doe not pass the object as a file name to cat-file, it
9199 (vc-git-annotate-command): Pass the file name using -- to avoid
9200 ambiguity with the revision.
9201 (vc-git-previous-revision): Pass a relative file name.
9203 2010-06-22 Glenn Morris <rgm@gnu.org>
9205 * progmodes/js.el (js-mode-map): Use standard capitalization and
9206 ellipses for menu entries.
9208 * wid-edit.el (widget-complete): Doc fix.
9210 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9212 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9214 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9216 Fix annotating other revisions for renamed files in vc-annotate.
9217 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9218 VC backend. Use it when non-nil.
9219 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9222 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9223 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9224 Do not pass the file name to the 'previous-revision call when we
9225 don't want a file diff. (Bug#6489)
9227 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9229 Fix finding revisions for renamed files in vc-annotate.
9230 * vc/vc.el (vc-find-revision): Add an optional argument for
9231 the VC backend. Use it when non-nil.
9232 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9233 backend to vc-find-revision. (Bug#6487)
9235 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9237 Fix reading file names in Git annotate buffers.
9238 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9239 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9241 2010-06-20 Alan Mackenzie <acm@muc.de>
9243 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9244 in file local variables, set it first.
9246 2010-06-19 Glenn Morris <rgm@gnu.org>
9248 * descr-text.el (describe-char-unicode-data): Insert separating
9249 space when needed. (Bug#6422)
9251 * progmodes/idlwave.el (idlwave-action-and-binding):
9252 Fix typo in 2009-12-03 change. (Bug#6450)
9254 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9256 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9257 handling for `lambda' (misunderstanding).
9259 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9261 * calc/calc-poly.el (math-accum-factors): Make sure that
9262 constants aren't distributed after they are factored out.
9264 2010-06-16 Juri Linkov <juri@jurta.org>
9266 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9267 `list-colors-print'. (Bug#6332)
9269 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9271 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9273 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9274 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9276 * font-lock.el (font-lock-major-mode): Rename from
9277 font-lock-mode-major-mode to distinguish it from
9278 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9279 (font-lock-set-defaults):
9280 * font-core.el (font-lock-default-function): Adjust users.
9281 (font-lock-mode): Don't set it at all.
9283 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9285 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9287 2010-06-16 Glenn Morris <rgm@gnu.org>
9289 * calendar/appt.el (appt-time-msg-list): Doc fix.
9290 (appt-check): Let-bind appt-warn-time.
9291 (appt-add): Make the 3rd argument optional.
9292 Simplify argument names. Doc fix. Check for integer WARNTIME.
9293 Only add WARNTIME to the output list if non-nil.
9295 2010-06-16 Ivan Kanis <apple@kanis.eu>
9297 * calendar/appt.el (appt-check): Let the 3rd element of
9298 appt-time-msg-list specify the warning time.
9299 (appt-add): Add new argument with the warning time. (Bug#5176)
9301 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9303 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9304 older than version 1.6. (Bug#6361)
9306 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9308 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9309 used by cl-do-arglist. (Bug#6408)
9311 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9313 * textmodes/ispell.el (ispell-dictionary-base-alist):
9314 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9315 Suggested by Rolando Pereira (bug#6434).
9317 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9319 * facemenu.el (list-colors-sort): Doc fix.
9321 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9323 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9325 2010-06-14 Juri Linkov <juri@jurta.org>
9327 Add sort option `list-colors-sort'. (Bug#6332)
9328 * facemenu.el (color-rgb-to-hsv): New function.
9329 (list-colors-sort): New defcustom.
9330 (list-colors-sort-key): New function.
9331 (list-colors-display): Doc fix. Sort list according to the option
9333 (list-colors-print): Add HSV values to `help-echo' property of
9336 2010-06-14 Juri Linkov <juri@jurta.org>
9338 * compare-w.el: Move to the "vc" subdirectory.
9340 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9342 * image-mode.el (image-mode-map): Remap left-char and right-char.
9344 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9346 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9348 * term/common-win.el (x-colors): Add all the color names defined
9349 in rgb.txt (Bug#6332).
9351 * facemenu.el (list-colors-print): Don't print extra names if it
9352 will overflow the window width.
9354 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9357 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9359 * files.el (make-directory): Doc fix (bug#6396).
9361 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9363 * net/tramp.el (tramp-remote-process-environment): Protect version
9364 string by apostroph.
9365 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9367 (tramp-file-name-for-operation): Add `call-process-region'.
9368 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9370 * net/tramp-compat.el (top): Do not autoload
9371 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9372 only when `start-file-process' is not bound.
9373 (tramp-advice-file-expand-wildcards): Do not use
9374 `tramp-handle-file-remote-p'.
9375 (tramp-compat-make-temp-file): Handle the case, that
9376 `make-temp-file' has no third argument EXTENSION.
9378 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9380 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9382 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9384 2010-06-11 Juri Linkov <juri@jurta.org>
9386 * finder.el (finder-known-keywords): Add keyword "vc"
9387 for version control.
9389 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9390 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9391 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9392 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9394 2010-06-11 Juri Linkov <juri@jurta.org>
9396 Move version control related files to the "vc" subdirectory.
9397 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9398 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9399 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9400 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9401 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9402 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9403 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9404 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9405 Move files to the "vc" subdirectory.
9407 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9409 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9412 2010-06-11 Stephen Eglen <stephen@gnu.org>
9414 * shell.el: Bind `shell-resync-dirs' to M-RET.
9416 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9418 * notifications.el: Move file from lisp/net, because it is
9419 supposed to talk locally to the user.
9421 2010-06-10 Julien Danjou <julien@danjou.info>
9423 * net/notifications.el (notifications-on-action-signal)
9424 (notifications-on-closed-signal): Pass notification id as first
9425 argument to the callback functions. Add docstrings.
9426 (notifications-notify): Fix docstring.
9428 2010-06-10 Glenn Morris <rgm@gnu.org>
9430 * emacs-lisp/authors.el (authors-ignored-files)
9431 (authors-valid-file-names): Add some files.
9433 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9435 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9436 merge conflict, giving preference to the emacs-23 version of the code.
9438 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9440 * emacs-lisp/advice.el (ad-compile-function):
9441 Define warning-suppress-types before we let-bind it (bug#6275).
9443 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9444 declare it, make it buffer-local and permanent-local (bug#6324).
9445 (vc-resynch-window): Adjust name.
9446 * vc-hooks.el (vc-find-file-hook): Adjust name.
9448 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9450 * net/notifications.el (notifications-notify): Fix docstring.
9452 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9454 Update to Unicode 6.0.0 beta.
9455 * international/charprop.el: Update copyright.
9456 * international/mule-cmds.el (ucs-names): Update character ranges.
9457 * international/uni-bidi.el:
9458 * international/uni-category.el:
9459 * international/uni-combining.el:
9460 * international/uni-comment.el:
9461 * international/uni-decimal.el:
9462 * international/uni-decomposition.el:
9463 * international/uni-digit.el:
9464 * international/uni-lowercase.el:
9465 * international/uni-mirrored.el:
9466 * international/uni-name.el:
9467 * international/uni-numeric.el:
9468 * international/uni-old-name.el:
9469 * international/uni-titlecase.el:
9470 * international/uni-uppercase.el: Regenerate.
9472 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9474 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9475 (smie-precs-precedence-table): Fix typo in docstring.
9477 * vc-mtn.el (log-edit-extract-headers): Declare function.
9479 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9481 * net/notifications.el (dbus-register-signal): Declare function.
9482 (notifications-notify): Fix typos and reflow docstring.
9484 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9486 Improve VC create/retrieve tag/branch.
9487 * vc.el (vc-create-tag): Do not read the directory name for VCs
9488 with repository revision granularity. Adjust the tag/branch
9489 prompt. Reset VC properties.
9490 (vc-retrieve-tag): Do not read the directory name for VCs
9491 with repository revision granularity. Reset VC properties.
9493 2010-06-09 Julien Danjou <julien@danjou.info>
9495 * net/notifications.el: New file.
9497 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9499 Add optional support for resetting VC properties.
9500 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9501 call vc-file-clearprops when true.
9502 (vc-resynch-buffer): Add new optional argument, pass it down.
9503 (vc-resynch-buffers-in-directory): Likewise.
9505 Improve support for special markup in the VC commit message.
9506 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9507 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9508 * vc-git.el (vc-git-checkin):
9509 * vc-bzr.el (vc-bzr-checkin): Likewise.
9511 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9513 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9514 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9516 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9518 * iimage.el: Remove images as soon as the underlying text is modified.
9519 (iimage-modification-hook): New function.
9520 (iimage-mode-buffer): Use it.
9522 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9524 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9525 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9526 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9527 (smie-indent-keyword): Add handling of open-paren keywords.
9528 (smie-indent-comment-continue): Don't assume comment-continue.
9530 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9532 * window.el (pop-to-buffer): Remove the conditional that
9533 compares new-window and old-window, so it will reselect
9534 the selected window unconditionally.
9535 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9537 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9539 * emacs-lisp/smie.el (smie-indent-offset-after)
9540 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9541 (smie-indent-after-keyword): Use them.
9542 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9543 (smie-indent-keyword): Tweak the black magic.
9544 (smie-indent-comment-continue): Strip comment-continue before use.
9545 (smie-indent-functions): Indent comments before keywords.
9547 2010-06-06 Juri Linkov <juri@jurta.org>
9549 * isearch.el (isearch-lazy-highlight-search): Fix looping
9550 by checking for empty match. This syncs this loop with the
9551 similar loop in `isearch-search'. (Bug#6362)
9553 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9555 * net/dbus.el (dbus-register-method): Declare function.
9556 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9557 (dbus-introspect): Doc fix.
9558 (dbus-event-bus-name, dbus-introspect-get-interface)
9559 (dbus-introspect-get-argument): Reflow docstrings.
9561 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9563 vc-log-incoming/vc-log-outgoing fixes for Git.
9564 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9565 incoming/outgoing logs.
9566 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9567 instead of vc-git-compute-remote.
9568 (vc-git-compute-remote): Remove.
9570 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9572 * term/common-win.el (x-colors): Add "dark green" and "dark
9573 turquoise" (Bug#6332).
9575 2010-06-04 Juri Linkov <juri@jurta.org>
9577 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9578 Instead of setting `replace' to t and replacing the same string
9579 with itself, don't do certain actions when
9580 kill-do-not-save-duplicates is non-nil and string is equal to car
9581 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9582 interprogram-paste strings to kill-ring, and don't push the input
9583 argument `string' to kill-ring.
9584 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9586 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9588 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9590 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9592 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9593 (tramp-gvfs-handler-mounted-unmounted)
9594 (tramp-gvfs-connection-mounted-p): Handle default-location.
9596 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9597 move files to trash.
9599 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9601 * international/mule-cmds.el (nonascii-insert-offset)
9602 (nonascii-translation-table): Add obsolescence information.
9604 * international/mule.el (make-translation-table-from-vector): Doc fix.
9606 2010-06-03 Glenn Morris <rgm@gnu.org>
9608 * desktop.el (desktop-clear-preserve-buffers):
9609 Add "*Warnings*" buffer. (Bug#6336)
9611 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9613 vc-log-incoming/vc-log-outgoing improvements for Git.
9614 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9616 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9618 Add bindings for vc-log-incoming and vc-log-outgoing.
9619 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9620 and vc-log-outgoing.
9621 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9622 and vc-log-outgoing.
9624 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9626 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9627 (rcirc-handler-366): Always sort nicknames.
9629 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9631 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9633 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9635 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9637 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9639 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9640 (rcirc-sort-nicknames-join): Avoid setq.
9642 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9644 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9645 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9646 (rcirc-handler-366): Use them.
9648 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9650 Split smie-indent-calculate into more manageable chunks.
9651 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9652 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9653 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9654 (smie-indent-exps): Extract from smie-indent-calculate.
9655 (smie-indent-functions): New var.
9656 (smie-indent-functions): Use them.
9658 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9660 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9661 (smie-indent-calculate): Simplify and cleanup.
9663 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9665 * net/tramp-gvfs.el (top): Require url-util.
9666 (tramp-gvfs-mount-point): Remove.
9667 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9669 (with-tramp-dbus-call-method): Format trace message.
9670 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9671 Implement backup call, when operation on local files fails.
9672 Use progress reporter. Flush properties of changed files.
9673 (tramp-gvfs-handle-make-directory): Make more traces.
9674 (tramp-gvfs-url-file-name): Hexify file name in url.
9675 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9676 into account for the resulting file name.
9677 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9678 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9679 (tramp-gvfs-handler-mounted-unmounted)
9680 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9681 attribute "default_location". Set "prefix" property.
9682 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9683 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9684 exists. Raise an error, if not (due to a corresponding answer
9685 "no" in interactive questions, for example).
9687 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9689 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9691 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9693 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9696 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9698 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9699 * vc-git.el (vc-git-compute-remote): New function.
9700 (vc-git-log-outgoing): Use it instead of hard coding a value.
9701 (vc-git-log-incoming): New function.
9703 Improve state updating for VC tag commands.
9704 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9705 to update the state of all buffers in the directory.
9707 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9709 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9711 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9712 `file-directory-p' to the filename part rather than to the whole text.
9714 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9716 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9718 2010-05-31 Drew Adams <drew.adams@oracle.com>
9720 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9722 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9724 * subr.el (momentary-string-display): Just use read-event to read
9725 the exit event (Bug#6238).
9727 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9729 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9731 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9733 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9734 Suggested by Eli Zaretskii <eliz@gnu.org>.
9736 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9738 * minibuffer.el (completion-file-name-table): Don't return a boundary
9739 past the end of `string' (bug#6299).
9740 (completion--file-name-table): Delegate to completion-file-name-table
9741 for the `boundaries' case.
9743 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9745 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9748 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9749 `path-separator', but maintain compatibility with Emacs 20.2.
9751 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9753 * server.el (server-process-filter): Receive parent-id argument
9755 (server-create-window-system-frame): New arg. Pass parent-id as
9758 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9760 Bidi-sensitive word movement with arrow keys.
9761 * subr.el (right-arrow-command, left-arrow-command): Move to
9764 * bindings.el (right-char, left-char): Move from subr.el and
9765 rename from right-arrow-command and left-arrow-command.
9766 (right-word, left-word): New functions.
9767 (global-map) <right>: Bind to right-char.
9768 (global-map) <left>: Bind to left-char.
9769 (global-map) <C-right>: Bind to right-word.
9770 (global-map) <C-left>: Bind to left-word.
9772 * ls-lisp.el (ls-lisp-classify-file): New function.
9773 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9774 (ls-lisp-classify): Call ls-lisp-classify-file.
9775 (insert-directory): Remove blanks from switches.
9777 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9779 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9780 (ansi-color-drop-regexp): New constant.
9781 (ansi-color-apply, ansi-color-filter-region)
9782 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9783 (ansi-color-apply): Build string list before calling concat.
9785 2010-05-28 Juri Linkov <juri@jurta.org>
9787 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9788 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9791 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9793 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9794 to ignored backtrace functions.
9795 (with-progress-reporter): Expand docstring.
9796 (tramp-handle-delete-file): Implement TRASH argument.
9797 (tramp-get-remote-trash): New defun.
9799 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9801 * net/tramp-compat.el (tramp-compat-delete-file):
9802 Use `symbol-value' for backward compatibility.
9804 * net/tramp.el (tramp-handle-make-symbolic-link)
9806 (tramp-do-copy-or-rename-file-via-buffer)
9807 (tramp-do-copy-or-rename-file-directly)
9808 (tramp-do-copy-or-rename-file-out-of-band)
9809 (tramp-handle-process-file, tramp-handle-call-process-region)
9810 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9811 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9812 (tramp-delete-temp-file-function): Use `delete-file' instead
9813 of `tramp-compat-delete-file'.
9815 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9816 (tramp-fish-handle-make-symbolic-link)
9817 (tramp-fish-handle-process-file): Use `delete-file' instead
9818 of `tramp-compat-delete-file'.
9820 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9821 Use `delete-file' instead of `tramp-compat-delete-file'.
9823 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9824 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9825 `tramp-compat-delete-file'.
9827 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9828 Use `delete-file' instead of `tramp-compat-delete-file'.
9830 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9831 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9832 (tramp-smb-handle-write-region): Use `delete-file' instead of
9833 `tramp-compat-delete-file'.
9834 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9836 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9838 * dired.el (dired-delete-file): New arg TRASH.
9839 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9840 (dired-do-flagged-delete, dired-do-delete): Use trash.
9842 * speedbar.el (speedbar-item-delete): Allow trashing.
9844 * files.el (delete-directory): New arg TRASH.
9846 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9847 (ange-ftp-rename-remote-to-remote)
9848 (ange-ftp-rename-local-to-remote)
9849 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9850 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9852 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9855 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9856 handle new TRASH arg of `delete-file'.
9858 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9859 (tramp-handle-make-symbolic-link, tramp-handle-load)
9860 (tramp-do-copy-or-rename-file-via-buffer)
9861 (tramp-do-copy-or-rename-file-directly)
9862 (tramp-do-copy-or-rename-file-out-of-band)
9863 (tramp-handle-process-file, tramp-handle-call-process-region)
9864 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9865 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9866 (tramp-delete-temp-file-function): Use null TRASH arg in
9867 tramp-compat-delete-file call.
9869 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9870 (tramp-fish-handle-delete-file)
9871 (tramp-fish-handle-make-symbolic-link)
9872 (tramp-fish-handle-process-file): Use null TRASH arg in
9873 `tramp-compat-delete-file' call.
9875 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9876 arg in `tramp-compat-delete-file' call.
9878 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9879 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9880 `tramp-compat-delete-file' call.
9882 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9883 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9884 `tramp-compat-delete-file' call.
9886 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9887 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9888 (tramp-smb-handle-write-region): Use null TRASH arg in
9889 tramp-compat-delete-file call.
9890 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9891 (tramp-smb-handle-delete-file): Rename arg.
9893 * diff.el (diff-sentinel):
9894 * epg.el (epg--make-temp-file, epg-decrypt-string)
9895 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9896 * jka-compr.el (jka-compr-partial-uncompress)
9897 (jka-compr-call-process, jka-compr-write-region):
9898 * server.el (server-sentinel): Remove optional arg from
9899 delete-file, reverting 2010-05-03 change.
9901 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9903 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9904 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9906 2010-05-27 Kenichi Handa <handa@m17n.org>
9908 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9909 element of GSTRING is nil.
9911 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9913 * emacs-lisp/smie.el (smie-forward-token-function)
9914 (smie-backward-token-function): New vars.
9915 (smie-backward-sexp, smie-forward-sexp)
9916 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9917 (smie-default-backward-token): Rename from smie-backward-token and
9919 (smie-default-forward-token): Rename from smie-forward-token and
9921 (smie-next-sexp): Handle nil results from next-token.
9922 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9924 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9926 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9927 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9929 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9931 * htmlfontify.el (hfy-face-resolve-face): New function.
9932 (hfy-face-to-style): Use it (Bug#6279).
9934 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9936 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9937 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9939 2010-05-26 Glenn Morris <rgm@gnu.org>
9941 * emulation/edt.el (edt-load-keys): Use locate-library.
9943 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9945 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9946 (log-edit-changelog-entries): Doc fix.
9947 (log-edit-changelog-insert-entries): Args changed.
9948 Rename relative filenames in ChangeLog entries. Delete tabs.
9949 (log-edit-insert-changelog-entries): Reorganize return value of
9950 `log-edit-changelog-entries' to pass filenames to
9951 log-edit-changelog-insert-entries.
9953 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9955 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9956 `image-dired-dired-insert-marked-thumbs' to
9957 `image-dired-dired-toggle-marked-thumbs'.
9959 * image-dired.el: Require cl when compiling.
9960 (image-dired-dired-toggle-marked-thumbs): Rename from
9961 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9962 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9963 to 'no-dir. Skip files whose names don't match
9964 `image-file-name-regexp'. When file has a thumbnail overlay,
9965 delete it. (Bug#5270)
9967 2010-05-25 Juri Linkov <juri@jurta.org>
9969 * image-mode.el (image-mode): Add image-after-revert-hook to
9971 (image-after-revert-hook): New function. (Bug#5669)
9973 2010-05-25 Juri Linkov <juri@jurta.org>
9975 * image.el (image-animated-p): When delay between animated images
9976 is 0, set it to 10 (0.1 sec). (Bug#6258)
9978 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9980 * net/tramp.el (tramp-handle-insert-directory): Don't use
9981 `forward-word', its default syntax could be changed.
9983 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9985 * net/tramp.el (tramp-progress-reporter-update): New defun.
9986 (with-progress-reporter): Use it.
9987 (tramp-process-actions):
9988 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9989 Preserve current message, in order to let progress reporter continue
9990 afterwards. (Bug#6257)
9992 2010-05-25 Glenn Morris <rgm@gnu.org>
9994 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9997 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9999 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10000 (rcirc-default-full-name): Change to "unknown".
10001 (rcirc-user-name-history): Add variable.
10003 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10004 Jonathan Rockway <jon@jrock.us>
10006 * net/rcirc.el (rcirc-server-alist): Add :pass.
10007 (rcirc): When prompting for connection parameters, also prompt for
10008 username and password.
10009 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10010 value to server when connecting.
10012 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10014 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10015 (smie-merge-prec2s): Pass the tables as separate args.
10016 (smie-bnf-precedence-table): Adjust call accordingly.
10017 (smie-prec2-levels): Set levels at the end.
10019 Replace Lisp calls to delete-backward-char by delete-char.
10020 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10021 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10022 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10023 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10024 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10025 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10026 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10027 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10028 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10029 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10030 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10031 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10032 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10033 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10034 delete-backward-char by calls to delete-char.
10036 2010-05-25 Kenichi Handa <handa@m17n.org>
10038 * language/hebrew.el (hebrew-shape-gstring): New function.
10039 Register it in composition-function-table for all Hebrew combining
10042 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10044 * epa.el (epa--select-keys): Don't explicitly delete the window since
10045 that can fail (e.g. sole window in frame). Use dedication instead.
10047 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10049 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10051 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10053 * image.el (image-refresh): Define as an alias for image-flush.
10055 * image-mode.el (image-toggle-display-image): Caller changed.
10057 2010-05-21 Juri Linkov <juri@jurta.org>
10059 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10060 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10061 whitespace, call wildcard-to-regexp on substrings and concat them
10062 with "\\|". (Bug#6114)
10064 2010-05-21 Alan Mackenzie <acm@muc.de>
10066 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10067 Replace parameter `here' with `here-' and `here-plus', which sandwich
10068 any pertinent CPP construct.
10069 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10070 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10071 CPP construct from taking part in the scanning.
10073 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10075 * net/tramp.el (tramp-do-copy-or-rename-file)
10076 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10077 Tune `with-progress-reporter' messages.
10078 (tramp-handle-vc-registered):
10079 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10080 (tramp-fish-handle-insert-file-contents)
10081 (tramp-fish-maybe-open-connection):
10082 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10083 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10084 (tramp-imap-handle-insert-file-contents)
10085 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10087 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10089 * add-log.el (change-log-font-lock-keywords):
10090 Highlight all authors in multi-author entries.
10092 * smerge-mode.el (smerge-refine-ignore-whitespace)
10093 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10094 Fix typos in docstrings.
10095 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10097 2010-05-21 Glenn Morris <rgm@gnu.org>
10099 * progmodes/fortran.el (fortran-mode):
10100 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10102 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10103 having a relative path in src/Makefile.in.
10105 2010-05-20 Kevin Ryde <user42@zip.com.au>
10107 * help-mode.el (help-make-xrefs): For Info node links turn
10108 newlines into spaces. Link node names with newlines are matched
10109 by help-xref-info-regexp and buttonized, this change ensures they
10110 can be followed successfully with RET. (Bug#6206)
10112 2010-05-20 Juri Linkov <juri@jurta.org>
10114 * locate.el (locate): Use pop-to-buffer instead of
10115 switch-to-buffer-other-window. (Bug#6204)
10117 2010-05-20 Juri Linkov <juri@jurta.org>
10119 * replace.el (replace-highlight): Fix lazy-highlighting
10120 for `M-s w str M-% str RET'.
10122 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10124 * isearch.el (isearch-yank-word-or-char): Pull next subword
10125 when `subword-mode' is activated. (Bug#6220)
10127 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10129 * isearch.el (isearch-update-post-hook): New hook.
10130 (isearch-update): Use the new hook. (Bug#6225)
10132 2010-05-20 Juri Linkov <juri@jurta.org>
10134 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10135 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10138 2010-05-20 Juri Linkov <juri@jurta.org>
10140 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10143 2010-05-20 Juri Linkov <juri@jurta.org>
10145 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10146 FILE-NAME to read from the minibuffer when called interactively
10147 with prefix argument instead of using buffer-file-name.
10148 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10150 * dired.el: Update autoloads.
10152 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10154 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10155 nxml-finish-element, for consistency with SGML mode.
10157 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10158 octave-close-block.
10160 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10162 * composite.el: Require cl when compiling.
10163 (reference-point-alist, compose-gstring-for-graphic)
10164 (compose-gstring-for-terminal): Fix typos in docstrings.
10166 2010-05-19 Juri Linkov <juri@jurta.org>
10168 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10169 set-window-parameter.
10171 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10173 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10175 (tramp-maybe-open-connection): Use it.
10177 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10179 * simple.el (move-end-of-line): Make sure we are at line beginning
10180 before backing up to end of previous line.
10182 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10184 * password-cache.el (password-cache-remove): Fix docstring.
10186 * net/secrets.el: Autoload the widget functions.
10187 (secrets-search-items, secrets-create-item)
10188 (secrets-get-attributes, secrets-expand-item): Attributes will be
10189 stored on the password database without leading ":", as all other
10190 clients do as well.
10191 (secrets-mode): Fix docstring.
10192 (secrets-show-secrets): Provide it as autoloaded command only when
10193 D-Bus support is available. Check existence of Secret Service API.
10195 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10197 * indent.el (indent-region): Deactivate region (bug#6200).
10199 2010-05-19 Glenn Morris <rgm@gnu.org>
10201 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10203 2010-05-19 Kenichi Handa <handa@m17n.org>
10205 * composite.el: Register compose-gstring-for-graphic in
10206 composition-function-table only for combining characters (Mn, Mc, Me).
10208 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10210 * calc/calc-trail.el (calc-trail-isearch-forward)
10211 (calc-trail-isearch-backward): Ensure that the new window
10212 point is set correctly.
10214 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10216 * subr.el (read-quoted-char): Resolve modifiers after key
10217 remapping (bug#6212).
10219 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10221 Add visualization code for secrets.
10222 * net/secrets.el (secrets-mode): New major mode.
10223 (secrets-show-secrets, secrets-show-collections)
10224 (secrets-expand-collection, secrets-expand-item)
10225 (secrets-tree-widget-after-toggle-function)
10226 (secrets-tree-widget-show-password): New defuns.
10228 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10230 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10231 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10232 handled in smie-next-sexp.
10233 (smie-indent-calculate): Provide a starting indentation (so the
10234 recursion is well-founded ;-).
10236 Fix handling of non-associative equal levels.
10237 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10238 when it's not needed.
10239 (smie-op-left, smie-op-right): New functions.
10240 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10241 Better handle equal levels to distinguish the associative case from
10242 the "multi-keyword construct" case.
10243 (smie-backward-sexp, smie-forward-sexp): Use it.
10245 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10247 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10249 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10250 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10252 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10254 Provide a simple generic indentation engine and use it for Prolog.
10255 * emacs-lisp/smie.el: New file.
10256 * progmodes/prolog.el (prolog-smie-op-levels)
10257 (prolog-smie-indent-rules): New var.
10258 (prolog-mode-variables): Use them to configure SMIE.
10259 (prolog-indent-line, prolog-indent-level): Remove.
10261 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10263 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10264 order before computing the averages.
10266 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10268 * calc/calc-vec.el (calc-histogram):
10269 (calcFunc-histogram): Allow vectors as inputs.
10270 (math-vector-avg): New function.
10272 * calc/calc-ext.el (math-group-float): Have the number of digits
10273 being grouped depend on the radix (Bug#6189).
10275 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10277 * version.el (emacs-copyright, emacs-version): Don't define here,
10278 now that emacs.c defines it.
10280 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10282 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10283 "Describe Language Environment" menu item.
10285 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10287 Bidi-sensitive movement with arrow keys.
10288 * subr.el (right-arrow-command, left-arrow-command): New functions.
10290 * bindings.el (global-map): Bind them to right and left arrow keys.
10292 Don't override standard definition of convert-standard-filename.
10293 * files.el (convert-standard-filename):
10294 Call w32-convert-standard-filename and dos-convert-standard-filename on
10295 the corresponding systems.
10297 * w32-fns.el (w32-convert-standard-filename): Rename from
10298 convert-standard-filename. Doc fix.
10300 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10301 (convert-standard-filename): Don't defalias.
10302 (register-name-alist, make-register, register-value)
10303 (set-register-value, intdos): Obsolete aliases for the
10304 corresponding dos-* functions and variables.
10305 (dos-intdos): Add a doc string.
10307 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10309 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10310 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10311 (math-compose-tex-func):
10312 * calc/calccomp.el (math-compose-expr):
10313 * calc/calc-ext.el (math-format-flat-expr-fancy):
10314 * calc/calc-store.el (calc-read-var-name):
10315 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10317 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10318 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10319 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10320 (math-standard-units): Add units.
10322 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10324 * progmodes/asm-mode.el (asm-mode):
10325 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10327 * pcomplete.el (pcomplete-completions-at-point): New function,
10328 extracted from pcomplete-std-complete.
10329 (pcomplete-std-complete): Use it.
10331 2010-05-15 Glenn Morris <rgm@gnu.org>
10333 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10334 Remove references to CVS, RCS and Old directories.
10336 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10338 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10341 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10343 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10344 (sh-mode-syntax-table): Give it a default value instead.
10345 (sh-header-marker): Make buffer-local.
10346 (sh-mode): Move make-local-variable to the corresponding setq.
10347 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10348 Use complete-with-action.
10350 * simple.el (prog-mode): New (abstract) major mode.
10351 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10352 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10354 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10356 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10357 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10358 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10359 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10360 (sql-escape-newlines-filter, sql-input-sender)
10361 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10363 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10365 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10367 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10368 latex-open-block and C-c / to latex-close-block.
10370 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10371 and C-c C-e to sgml-close-tag.
10373 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10375 * net/tramp.el (with-progress-reporter): Create reporter object
10376 only when the message would be displayed. Handle nested calls.
10377 (tramp-handle-load, tramp-handle-file-local-copy)
10378 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10379 (tramp-maybe-send-script, tramp-find-shell):
10380 Use `with-progress-reporter'.
10381 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10384 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10385 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10386 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10387 Use `with-progress-reporter'.
10389 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10391 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10392 process everytime when spellchecking from the minibuffer (bug#6143).
10394 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10396 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10398 * dos-fns.el: Add "dos-" prefix for namespace control.
10399 (convert-standard-filename): Define as alias for
10400 dos-convert-standard-filename but only if applicable.
10402 2010-05-12 Alan Mackenzie <acm@muc.de>
10404 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10405 Push the mark at the start of these functions when appropriate.
10407 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10409 * minibuffer.el (completion-cycle-threshold): New custom var.
10410 (completion--do-completion): Use it.
10411 (minibuffer-complete): Use cycling if appropriate.
10413 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10415 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10416 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10418 2010-05-11 Juri Linkov <juri@jurta.org>
10420 * scroll-all.el (scroll-all-check-to-scroll):
10421 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10423 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10425 * iimage.el (iimage-mode-map): Move initialization into declaration.
10426 (iimage-mode-buffer): Use with-silent-modifications.
10427 Simplify calling convention. Adjust callers.
10428 (iimage-mode): Don't run hook redundantly.
10430 * minibuffer.el (completion-pcm--pattern->regex):
10431 Fix last change (bug#6160).
10433 2010-05-10 Juri Linkov <juri@jurta.org>
10435 Remove nodes visited during Isearch from the Info history.
10436 * info.el (Info-isearch-initial-history)
10437 (Info-isearch-initial-history-list): New variables.
10438 (Info-isearch-start): Record initial values of
10439 Info-isearch-initial-history and Info-isearch-initial-history-list.
10440 Add Info-isearch-end to isearch-mode-end-hook.
10441 (Info-isearch-end): New function.
10443 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10445 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10446 format string, in order to work around a bug in pdksh.
10447 Reported by Gilles Pion <gpion@lfdj.com>.
10448 (tramp-handle-verify-visited-file-modtime): Do not send a command
10449 when the connection is not established.
10450 (tramp-handle-set-file-times): Simplify the check for utc.
10452 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10454 Fix use of `filter-buffer-substring' (rework previous change).
10455 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10456 (cua-repeat-replace-region):
10457 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10458 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10459 (cua-cut-region-to-global-mark): Use it.
10461 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10463 * progmodes/sql.el: Version 2.1.
10464 (sql-product-alist): Redesign structure of product info.
10465 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10466 (sql-port, sql-port-history): New variables.
10467 (sql-interactive-product): New variable.
10468 (sql-send-terminator): New variable.
10469 (sql-imenu-generic-expression): Add "Types" imenu entry.
10470 (sql-oracle-login-params, sql-sqlite-login-params)
10471 (sql-mysql-login-params, sql-solid-login-params)
10472 (sql-sybase-login-params, sql-informix-login-params)
10473 (sql-ingres-login-params, sql-ms-login-params)
10474 (sql-postgres-login-params, sql-interbase-login-params)
10475 (sql-db2-login-params, sql-linter-login-params)
10476 (sql-oracle-scan-on): New variables.
10477 (sql-mode-map): Add C-c C-i to start interactive mode.
10478 (sql-mode-menu): Update existing menu entries.
10479 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10480 (sql-mode-oracle-font-lock-keywords)
10481 (sql-mode-postgres-font-lock-keywords)
10482 (sql-mode-ms-font-lock-keywords)
10483 (sql-mode-sybase-font-lock-keywords)
10484 (sql-mode-informix-font-lock-keywords)
10485 (sql-mode-interbase-font-lock-keywords)
10486 (sql-mode-ingres-font-lock-keywords)
10487 (sql-mode-solid-font-lock-keywords)
10488 (sql-mode-mysql-font-lock-keywords)
10489 (sql-mode-sqlite-font-lock-keywords)
10490 (sql-mode-db2-font-lock-keywords)
10491 (sql-mode-linter-font-lock-keywords): Update initialization to
10492 reduce run-time complexity.
10493 (sql-add-product, sql-del-product): New functions.
10494 (sql-set-product-feature, sql-get-product-feature): New functions.
10495 (sql-product-font-lock): Update product API.
10496 (sql-add-product-keywords): New function.
10497 (sql-highlight-product): Update product API.
10498 (sql-help-list-products): New function.
10499 (sql-help): Dynamically lists free and non-free products.
10500 (sql-get-login): Correct bug in handling history and added
10502 (sql-copy-column): Copy without properties.
10503 (sqli-input-sender): Apply filters to SQLi input.
10504 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10505 Implement as a filter.
10506 (sql-escape-newlines-filter): Implement as a filter.
10507 (sql-remove-tabs-filter): New function.
10508 (sql-send-magic-terminator): New function.
10509 (sql-send-string): Implement magic terminator.
10510 (sql-send-region): Use `sql-send-string'.
10511 (sql-interactive-mode): Use product API.
10512 (sql-product-interactive): Use product API.
10513 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10514 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10515 (sql-db2, sql-linter): Use `sql-product-interactive'.
10516 (sql-connect): New function.
10517 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10518 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10519 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10520 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10523 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10525 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10526 New custom variable.
10527 (completion-pcm--string->pattern): Use it.
10528 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10529 Make it handle any symbol as `any'.
10530 (completion-pcm--merge-completions): Extract common suffix for the new
10531 `prefix' symbol as well.
10532 (completion-substring--all-completions): Use the new `prefix' symbol.
10534 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10536 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10538 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10539 (tramp-compat-funcall): New defmacro.
10540 (tramp-compat-line-beginning-position)
10541 (tramp-compat-line-end-position)
10542 (tramp-compat-temporary-file-directory)
10543 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10544 (tramp-compat-copy-file, tramp-compat-copy-directory)
10545 (tramp-compat-delete-file, tramp-compat-delete-directory)
10546 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10547 * net/tramp.el (top, with-progress-reporter)
10548 (tramp-rfn-eshadow-setup-minibuffer)
10549 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10550 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10551 (tramp-completion-mode-p, tramp-check-for-regexp)
10552 (tramp-open-connection-setup-interactive-shell)
10553 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10554 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10555 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10556 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10557 (tramp-reporter-dump-variable, tramp-load-report-modules)
10558 (tramp-append-tramp-buffers)
10559 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10561 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10563 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10565 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10566 buffer-modtime. Adjust users.
10568 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10570 * international/mule.el (auto-coding-alist): Only purecopy
10571 car of each item, not the whole list (Bug#6083).
10573 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10575 * progmodes/js.el (js-mode): Make paragraph variables local before
10576 calling c-setup-paragraph-variables (Bug#6071).
10578 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10580 * composite.el (compose-region, reference-point-alist): Fix typos
10581 in the doc strings.
10583 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10585 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10586 gnuplot's "set" command.
10588 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10590 * abbrev.el (last-abbrev-text): Doc fix.
10591 (abbrev-prefix-mark): Don't escape parenthesis.
10593 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10595 * composite.el (find-composition): Doc fix.
10597 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10599 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10600 (sql-oracle-program, sql-sqlite-options)
10601 (sql-query-placeholders-and-send): Doc fixes.
10602 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10603 (sql-imenu-generic-expression, sql-buffer)
10604 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10605 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10606 (sql-mode-sybase-font-lock-keywords)
10607 (sql-mode-informix-font-lock-keywords)
10608 (sql-mode-interbase-font-lock-keywords)
10609 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10610 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10611 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10612 (sql-product-feature, sql-highlight-product)
10613 (comint-line-beginning-position, sql-rename-buffer)
10614 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10615 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10616 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10617 Fix typos in docstrings.
10619 2010-05-08 Juri Linkov <juri@jurta.org>
10621 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10622 property instead of `invisible' and `after-string' (bug#5998).
10624 2010-05-08 Juri Linkov <juri@jurta.org>
10626 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10628 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10630 * filecache.el (file-cache-add-directory-list)
10631 (file-cache-add-directory-recursively): Fix typos in docstrings.
10633 2010-05-08 Kenichi Handa <handa@m17n.org>
10635 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10636 (gujarati-composable-pattern): Fix typo.
10638 2010-05-08 Kenichi Handa <handa@m17n.org>
10640 * language/indian.el (oriya-composable-pattern)
10641 (tamil-composable-pattern, malayalam-composable-pattern):
10642 Add two-part vowels to "v" (vowel sign).
10644 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10646 * files.el (copy-directory): Handle symlinks (Bug#5982).
10648 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10650 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10651 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10654 2010-05-08 Glenn Morris <rgm@gnu.org>
10656 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10658 * minibuffer.el (completion-at-point): Doc fix.
10660 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10662 * electric.el (Electric-command-loop): Minor tweak.
10664 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10665 better with dedicated windows.
10667 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10669 * Version 23.2 released.
10671 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10672 Stefan Monnier <monnier@iro.umontreal.ca>
10674 Highlight vendor specific properties.
10675 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10676 (css-proprietary-property): New face.
10677 (css-font-lock-keywords): Use them.
10679 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10681 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10683 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10685 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10686 * files.el (auto-mode-alist): Remove redundant entries.
10688 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10689 * simple.el (auto-save-mode): Move from files.el.
10690 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10692 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10694 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10696 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10698 * mail/binhex.el (binhex-decode-region-internal)
10699 * mail/uudecode.el (uudecode-decode-region-internal)
10700 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10701 (dns-read-type, dns-query)
10702 * pgg-parse.el (pgg-parse-armor)
10703 * pgg.el (pgg-verify-region)
10704 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10707 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10709 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10711 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10713 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10714 * emulation/cua-base.el (cua-repeat-replace-region):
10715 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10716 (cua-cut-region-to-global-mark):
10717 Remove text properties with `set-text-properties'.
10719 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10721 * net/tramp.el (top, with-progress-reporter):
10722 Use `symbol-function' inside `funcall'.
10724 * net/tramp-compat.el (tramp-compat-file-attributes)
10725 (tramp-compat-delete-file, tramp-compat-delete-directory):
10726 Handle only `wrong-number-of-arguments' error.
10728 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10729 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10732 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10734 * minibuffer.el (completion--sreverse, completion--common-suffix):
10736 (completion-pcm--merge-completions): Extract common suffix when safe.
10738 * emacs-lisp/easy-mmode.el (define-minor-mode):
10739 Make :variable more flexible.
10740 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10742 2010-05-05 Juri Linkov <juri@jurta.org>
10744 Add `slow' and `history' tags to the desktop data.
10746 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10747 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10748 (Info-finder-find-node): Require `finder.el' to be able
10749 to restore node from the desktop.
10750 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10751 data `Info-history' and `slow' tag in the assoc list.
10752 (Info-restore-desktop-buffer): Don't restore nodes with the
10753 `slow' tag. Restore `Info-history'.
10755 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10757 Add FORCE argument to `delete-file'.
10759 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10760 forcing to delete the temporary file.
10761 (ange-ftp-delete-file): Add FORCE arg.
10762 (ange-ftp-rename-remote-to-remote)
10763 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10764 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10765 Force file deletion.
10767 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10769 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10770 (tramp-handle-make-symbolic-link, tramp-handle-load)
10771 (tramp-do-copy-or-rename-file-via-buffer)
10772 (tramp-do-copy-or-rename-file-directly)
10773 (tramp-do-copy-or-rename-file-out-of-band)
10774 (tramp-handle-process-file, tramp-handle-call-process-region)
10775 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10776 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10777 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10779 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10780 (tramp-fish-handle-make-symbolic-link)
10781 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10783 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10784 Use `tramp-compat-delete-file'.
10786 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10787 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10789 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10790 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10792 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10793 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10794 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10795 Use `tramp-compat-delete-file'.
10797 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10800 * subr.el (add-minor-mode): Use push.
10801 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10802 * emulation/edt.el (edt-select-mode): Simplify.
10804 Use define-minor-mode in more cases.
10805 * term/tvi970.el (tvi970-set-keypad-mode):
10806 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10807 (normal-erase-is-backspace-mode):
10808 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10809 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10810 (get-scroll-bar-mode): New function.
10811 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10813 Use define-minor-mode for less obvious cases.
10814 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10815 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10816 * international/iso-ascii.el (iso-ascii-mode):
10817 * frame.el (auto-raise-mode, auto-lower-mode):
10818 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10820 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10822 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10823 in order to see error messages for failed logins.
10825 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10827 * diff.el (diff-sentinel):
10829 * epg.el (epg--make-temp-file, epg-decrypt-string)
10830 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10832 * jka-compr.el (jka-compr-partial-uncompress)
10833 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10835 * server.el (server-sentinel): Use delete-file's new FORCE arg
10838 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10840 Use define-minor-mode where applicable.
10841 * view.el (view-mode):
10842 * type-break.el (type-break-query-mode)
10843 (type-break-mode-line-message-mode):
10844 * textmodes/reftex.el (reftex-mode):
10845 * term/vt100.el (vt100-wide-mode):
10846 * tar-mode.el (tar-subfile-mode):
10847 * savehist.el (savehist-mode):
10848 * ibuf-ext.el (ibuffer-auto-mode):
10849 * composite.el (auto-composition-mode):
10850 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10851 Use define-minor-mode.
10852 (vhdl-mode): Use static mode-line format.
10853 (vhdl-mode-line-update): Delete.
10854 (vhdl-create-mode-menu, vhdl-activate-customizations)
10855 (vhdl-hs-minor-mode): Don't bother calling it.
10857 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10859 * simple.el (with-wrapper-hook): Move.
10860 (buffer-substring-filters): Mark obsolete.
10861 (filter-buffer-substring-functions): New variable.
10862 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10864 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10865 Michael Albinus <michael.albinus@gmx.de>
10867 Implement compression for inline methods.
10869 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10870 (tramp-copy-size-limit): Allow also nil.
10871 (tramp-inline-compress-commands): New defconst.
10872 (tramp-find-inline-compress, tramp-get-inline-compress)
10873 (tramp-get-inline-coding): New defuns.
10874 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10875 replaced by `tramp-get-inline-coding'.
10876 (tramp-handle-file-local-copy, tramp-handle-write-region)
10877 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10879 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10881 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10882 Remove unused functions.
10884 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10885 Set find-tag-default-function as a variable rather than a property.
10887 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10888 * progmodes/etags.el (tags-completion-at-point-function):
10889 Remove left over interactive spec. Add autoloading stub.
10890 (complete-tag): Use tags-completion-at-point-function.
10892 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10894 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10896 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10898 * ido.el (ido-init-completion-maps): Remove C-v binding.
10899 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10901 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10903 * minibuffer.el (tags-completion-at-point-function): New function.
10904 (completion-at-point-functions): Use it.
10906 * progmodes/etags.el (complete-tag): Revert last change.
10908 2010-04-29 Alan Mackenzie <acm@muc.de>
10910 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10911 off-by-one error (in end of macro position).
10913 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10915 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10916 firefox is absent. Don't autoload.
10917 (browse-url-galeon-program): Don't autoload.
10919 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10921 * bindings.el (complete-symbol): Move into minibuffer.el.
10923 * minibuffer.el (complete-tag): Move from etags.el. If tags
10924 completion cannot be performed, return nil instead of signalling
10926 (completion-at-point): Make it an alias for complete-symbol.
10927 (complete-symbol): Move from bindings.el, and replace with the
10928 body of completion-at-point.
10930 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10932 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10934 * net/tramp.el (tramp-remote-selinux-p): New defun.
10935 (tramp-handle-file-selinux-context)
10936 (tramp-handle-set-file-selinux-context): Use it.
10938 2010-04-28 Sam Steingold <sds@gnu.org>
10940 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10941 `safe-local-variable' if the value is a string or a symbol with
10942 the property `bug-reference-url-format'.
10944 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10946 * progmodes/bug-reference.el (bug-reference-url-format):
10947 Revert 2010-04-27 change due to security risk.
10949 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10951 Make it possible to locally disable a globally enabled mode.
10952 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10953 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10954 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10955 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10956 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10957 that subsequent hooks get a chance to disable it.
10959 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10961 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10962 Avoid re-enabling a minor mode after the user turned the minor mode
10963 off if MODE-enable-in-buffers is run twice (typically once from
10964 fundamental-mode's after-change-major-mode-hook and a second time from
10965 run-mode-hook's own after-change-major-mode-hook).
10967 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10969 2010-04-27 Sam Steingold <sds@gnu.org>
10971 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10972 `safe-local-variable' if the value is a string or a function, as
10973 documented and implemented on 2010-04-02.
10975 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10977 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10978 when method is 'kill.
10980 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10982 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10983 condition in default directory check.
10984 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10985 Kill ispell process when killing its associated buffer.
10987 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10989 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10990 but we aren't using it.
10992 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10994 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10995 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10997 2010-04-24 Glenn Morris <rgm@gnu.org>
10999 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11000 Ignore VCS-ignore files, and deleted nextstep preferences files.
11001 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11002 (authors-ambiguous-files): New list.
11003 (authors-valid-file-names): Add some deleted files.
11004 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11005 (authors-disambiguate-file-name): New function. (Bug#5501)
11006 (authors-canonical-file-name): Doc fix.
11007 Don't warn about obsolete files.
11008 (authors-canonical-file-name, authors-scan-el):
11009 Use authors-disambiguate-file-name.
11011 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11012 Add autoload cookies.
11013 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11014 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11015 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11016 They have definitions / compiler macros in cl.el.
11017 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11018 Replace manual autoloads with generated ones.
11019 (htmlfontify-unload-rgb-file): Remove autoload.
11020 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11022 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11024 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11025 (byte-compile-setq-default): Optimize for the
11026 single-var case and don't call byte-compile-form in this case to avoid
11027 inf-loop with byte-compile-set-default.
11029 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11031 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11033 Implement SELINUX backends.
11035 * net/tramp.el (tramp-file-name-handler-alist):
11036 Add `file-selinux-context' and `set-file-selinux-context'.
11037 (tramp-handle-file-selinux-context)
11038 (tramp-handle-set-file-selinux-context): New defuns.
11039 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11040 Handle PRESERVE-SELINUX-CONTEXT.
11042 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11043 Add `file-selinux-context' and `set-file-selinux-context'.
11044 (tramp-gvfs-handle-file-selinux-context)
11045 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11046 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11048 * net/ange-ftp.el (ange-ftp-copy-file):
11049 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11050 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11051 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11052 Add PRESERVE-SELINUX-CONTEXT.
11054 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11056 Synchronize with Tramp repository.
11058 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11059 (tramp-action-process-alive, tramp-action-out-of-band)
11060 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11061 (tramp-exists-file-name-handler): Fix docstring.
11062 (with-progress-reporter): New defmacro.
11063 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11064 (tramp-maybe-open-connection): Use it.
11066 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11068 Detect ssh 'ControlMaster' argument automatically in some cases.
11070 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11071 (tramp-default-method): Use it.
11073 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11075 * net/tramp.el (tramp-handle-copy-file): Add new optional
11076 parameter `preserve-selinux-context'.
11077 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11079 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11081 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11082 Ensure, that non remote files are still checked. Oops.
11084 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11088 * icomplete.el (icomplete-completions): Use `non-essential'.
11090 * net/tramp.el (tramp-connectable-p): New defun.
11091 (tramp-handle-expand-file-name)
11092 (tramp-completion-handle-file-name-all-completions)
11093 (tramp-completion-handle-file-name-completion): Use it.
11095 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11097 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11099 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11101 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11103 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11105 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11108 * info.el (info-tool-bar-map): Add labels.
11110 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11112 * cus-edit.el (custom-commands): Add labels for tool bar.
11113 (custom-buffer-create-internal, Custom-mode): Adjust for
11114 labels in custom-commands.
11116 * dynamic-setting.el: Renamed from font-setting.el.
11118 2010-04-21 John Wiegley <jwiegley@gmail.com>
11120 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11121 toggles the use of virtual buffers.
11122 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11123 (ido-toggle-virtual-buffers): New function.
11125 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11127 Use `define-derived-mode'; fix window selection; doc fixes.
11128 * play/tetris.el (tetris, tetris-update-speed-function)
11129 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11130 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11131 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11132 (tetris-pause-game): Fix typos in docstrings.
11133 (tetris-mode-map, tetris-null-map):
11134 Move initialization into declaration.
11135 (tetris-mode): Define with `define-derived-mode';
11136 set show-trailing-whitespace to nil.
11137 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11139 2010-04-21 Karel Klíč <kklic@redhat.com>
11141 * files.el (backup-buffer): Handle SELinux context, and return it
11142 if a backup was made by renaming.
11143 (backup-buffer-copy): Set SELinux context to the target file.
11144 (basic-save-buffer): Set SELinux context of the newly written file.
11145 (basic-save-buffer-1): Now it also returns any SELinux context.
11146 (basic-save-buffer-2): Set SELinux context of the newly created file,
11148 * net/tramp.el (tramp-file-name-for-operation):
11149 Add file-selinux-context.
11151 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11153 Make the log-edit comments use RFC822 format throughout.
11155 * vc.el (vc-checkin, vc-modify-change-comment):
11156 Adjust to new vc-start/finish-logentry.
11157 (vc-find-conflicted-file): New command.
11158 (vc-transfer-file): Adjust to new vc-checkin.
11159 (vc-next-action): Improve scoping.
11161 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11162 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11164 * vc-git.el (vc-git-log-edit-mode): Remove.
11165 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11166 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11168 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11169 (vc-start-logentry): Remove argument `extra'.
11170 (vc-finish-logentry): Remove extra args.
11172 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11173 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11174 (vc-bzr-conflicted-files): New function.
11176 * log-edit.el (log-edit-extra-flags)
11177 (log-edit-before-checkin-process): Remove.
11178 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11179 (log-edit-headers-alist): New var.
11180 (log-edit-header-contents-regexp): New const.
11181 (log-edit-match-to-eoh): New function.
11182 (log-edit-font-lock-keywords): Use them.
11183 (log-edit): Insert a "Summary:" header as default.
11184 (log-edit-mode): Mark font-lock rules as case-insensitive.
11185 (log-edit-done): Cleanup headers.
11186 (log-view-process-buffer): Remove.
11187 (log-edit-extract-headers): New function to replace it.
11189 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11191 * subr.el (default-direction-reversed): Remove obsolescence info.
11193 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11195 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11198 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11199 I.e. include text after point in the completion region.
11200 Also, return nil when we're not after/in a symbol.
11202 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11203 default enable-multibyte-characters.
11205 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11207 * international/mule.el: Help the user choose a valid coding-system.
11208 (read-buffer-file-coding-system): New function.
11209 (set-buffer-file-coding-system): Use it. Prompt the user if the
11210 coding-system cannot encode all the chars.
11212 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11213 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11214 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11215 Don't use *vc-bzr-shelve*.
11217 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11219 Fix the version number for added files.
11220 * vc-hg.el (vc-hg-working-revision): Check if the file is
11221 registered after hg parent fails (Bug#5961).
11223 2010-04-19 Glenn Morris <rgm@gnu.org>
11225 * htmlfontify.el (htmlfontify-buffer)
11226 (htmlfontify-copy-and-link-dir): Autoload entry points.
11228 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11230 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11231 name relative to the project root (Bug#5960).
11233 2010-04-19 Glenn Morris <rgm@gnu.org>
11235 * vc-git.el (vc-git-print-log): Doc fix.
11237 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11239 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11241 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
11243 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11244 default settings (Bug#5928).
11246 2010-04-19 Glenn Morris <rgm@gnu.org>
11248 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11250 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11252 2010-04-19 Kenichi Handa <handa@m17n.org>
11254 * language/indian.el (malayalam-composable-pattern): Fix previous
11255 change (add U+0D4D "SIGN VIRAMA").
11256 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11257 (tamil-composable-pattern): Fix typo in the regexp.
11258 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11259 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11260 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11262 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11264 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11265 paragraph-separate (Bug#5821).
11267 2010-04-19 Juri Linkov <juri@jurta.org>
11269 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11271 * info.el (Info-find-node-2): Comment out code that skips
11273 (Info-mouse-follow-link): New command.
11274 (Info-link-keymap): New keymap.
11275 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11276 Return a string with links instead of inserting breadcrumbs
11277 to the Info buffer.
11278 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11279 Instead of putting the `invisible' text property over the Info
11280 header, make an overlay over the Info header with the `invisible'
11281 property and `after-string' set to the string returned by
11282 `Info-breadcrumbs'.
11284 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11286 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11287 Reported by monkey@sandpframing.com.
11289 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11291 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11292 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11293 available in the "keyseq cache" any more.
11295 * custom.el (defcustom): Add edebug spec.
11297 2010-04-18 Juri Linkov <juri@jurta.org>
11299 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11301 * view.el (view-file, view-buffer): Move test for special mode-class
11302 from view-file to view-buffer.
11304 * tar-mode.el (tar-extract): Turn if's into one cond
11305 like in arc-mode.el.
11307 2010-04-18 Juri Linkov <juri@jurta.org>
11309 Add 7z archive format support (bug#5475).
11311 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11312 (archive-7z-extract): New defcustom.
11313 (archive-find-type): Add magic string for 7z.
11314 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11315 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11316 `buffer' arg of `call-process'.
11317 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11318 call the function `archive-7z-extract' with the variable
11319 `archive-7z-extract' let-bound to `archive-zip-extract'.
11320 (archive-7z-summarize, archive-7z-extract): New functions.
11322 * international/mule.el (auto-coding-alist):
11323 * files.el (auto-mode-alist): Add 7z file extension.
11325 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11327 * loadup.el: Setup hash-cons for pure data.
11329 Fix duplicate entries in cedet's loaddefs.el files.
11330 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11331 Should make most file-local generated-autoload-file unnecessary.
11332 (print-readably): Silence warnings.
11333 (autoload-find-destination): Take load-name as an arg to make sure
11334 it's the same as the one that will be in the file.
11335 (autoload-generate-file-autoloads): Adjust to above changes.
11336 Try to make the dataflow a bit simpler.
11338 * cvs-status.el (cvs-refontify): Remove unused.
11340 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11342 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11344 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11345 twos-complement mode.
11347 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11349 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11350 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11351 (calc-inverse): Add "Option" to message, as appropriate.
11352 (calc-hyperbolic): Add "Option" to message, as appropriate.
11353 (calc-option, calc-is-option): New functions.
11355 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11356 (calc-option-prefix-help): New function.
11358 * calc/calc-misc.el (calc-help): Add "Option" entry.
11360 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11361 (calc-option-flag): New variable.
11362 (calc-do): Set `calc-option-flag to nil.
11363 (calc-set-mode-line): Add "Opt " as appropriate.
11365 2010-04-16 Juri Linkov <juri@jurta.org>
11367 Move scrolling commands from simple.el to window.el
11368 because their primitives are implemented in window.c.
11370 * simple.el (scroll-error-top-bottom)
11371 (scroll-up-command, scroll-down-command, scroll-up-line)
11372 (scroll-down-line, scroll-other-window-down)
11373 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11374 * window.el (scroll-error-top-bottom)
11375 (scroll-up-command, scroll-down-command, scroll-up-line)
11376 (scroll-down-line, scroll-other-window-down)
11377 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11378 Move from simple.el to window.el because their primitives are
11379 implemented in window.c.
11381 2010-04-16 Juri Linkov <juri@jurta.org>
11383 * isearch.el (isearch-lookup-scroll-key): Check both
11384 `isearch-scroll' and `scroll-command' properties.
11385 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11387 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11389 * simple.el (scroll-up-command, scroll-down-command)
11390 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11392 2010-04-15 Juri Linkov <juri@jurta.org>
11394 * simple.el (scroll-up-command, scroll-down-command)
11395 (scroll-up-line, scroll-down-line): Put `scroll-command'
11396 property on the these symbols. Remove them from
11397 `scroll-preserve-screen-position-commands'.
11399 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11400 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11401 Remove it from `scroll-preserve-screen-position-commands'.
11403 * isearch.el (isearch-allow-scroll): Doc fix.
11405 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11407 * net/tramp.el (tramp-error-with-buffer): Don't show the
11408 connection buffer when we are in completion mode.
11409 (tramp-file-name-handler): Catch the error for some operations
11410 when we are in completion mode. This gives the user the chance to
11411 correct the file name in the minibuffer.
11413 2010-04-15 Glenn Morris <rgm@gnu.org>
11415 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11417 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11419 Simplify by using `define-derived-mode'.
11420 * info.el (Info-mode):
11421 * calendar/todo-mode.el (todo-mode):
11422 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11423 (gomoku-mode-map): Move initialization into declaration.
11425 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11428 * ido.el (ido-file-name-all-completions-1):
11429 * minibuffer.el (minibuffer-completion-help):
11430 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11432 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11434 * simple.el (non-essential): New var.
11436 Add a new field `location' to bookmarks for non-file bookmarks.
11437 * bookmark.el (bookmark-location): Use the new field, if present.
11438 (bookmark-insert-location): Undo last change, not needed any more.
11439 * man.el (Man-bookmark-make-record):
11440 * woman.el (woman-bookmark-make-record): Add `location' field.
11442 2010-04-14 Juri Linkov <juri@jurta.org>
11444 * simple.el (scroll-error-top-bottom): New defcustom.
11445 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11447 * emulation/pc-select.el (pc-select-override-scroll-error):
11448 Obsolete in favor of `scroll-error-top-bottom'.
11450 2010-04-14 Juri Linkov <juri@jurta.org>
11452 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11453 `scroll-up-command' and `M-v' to `scroll-down-command'.
11455 * emulation/cua-rect.el (cua--init-rectangles):
11456 * forms.el (forms--change-commands):
11457 * image-mode.el (image-mode-map):
11458 Remap scroll-down-command and scroll-up-command
11459 in addition to scroll-down and scroll-up.
11461 2010-04-14 Juri Linkov <juri@jurta.org>
11463 * mwheel.el (scroll-preserve-screen-position-commands):
11464 Add mwheel-scroll to this list of commands.
11466 * simple.el (scroll-preserve-screen-position-commands):
11467 Add scroll-up-command, scroll-down-command, scroll-up-line,
11468 scroll-down-line to this list of commands.
11470 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11472 * obsolete/complete.el: Move from lisp/complete.el.
11474 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11476 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11477 to the minor mode function now turns the mode ON unconditionally.
11479 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11481 * vc-dir.el (vc-dir-kill-line): New command.
11482 (vc-dir-mode-map): Bind it to C-k.
11484 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11486 * woman.el: Add bookmark declarations to silence the compiler.
11487 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11488 step to compatibility between man and woman bookmarks.
11489 Adjust for Man-default-bookmark-title renaming.
11490 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11492 * man.el: Add bookmark declarations to silence the compiler.
11493 (Man-name-local-regexp): Make it match NAME as well.
11494 (Man-getpage-in-background): Return the buffer.
11495 (Man-notify-when-ready): Use `case'.
11496 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11497 Don't hardcode "NAME". Simplify.
11498 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11499 Rename from Man-bookmark-make-record.
11500 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11501 we have the actual man-args. Use Man-getpage-in-background rather
11502 than `man' since the arg is already processed. Let bookmark.el do the
11503 window handling. Only wait for the relevant process.
11504 Don't forget to autoload.
11506 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11508 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11510 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11512 (woman-mode): Setup bookmark support.
11514 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11515 (man-bookmark-jump): New functions.
11516 (Man-mode): Setup bookmark support.
11518 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11520 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11521 recognize ssh-keygen prompt (Bug#2817).
11523 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11525 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11527 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11529 Synchronize with Tramp repository.
11531 * net/tramp.el (tramp-completion-function-alist)
11532 (tramp-file-name-regexp, tramp-chunksize)
11533 (tramp-local-coding-commands, tramp-remote-coding-commands):
11535 (tramp-remote-process-environment): Use `format' instead of `concat'.
11536 (tramp-handle-directory-files-and-attributes)
11537 (tramp-get-remote-path): Use `copy-tree'.
11538 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11539 compatibility: Use `completion-ignore-case' if
11540 `read-file-name-completion-ignore-case' does not exist.
11541 (tramp-do-copy-or-rename-file-directly): Do not use
11542 `tramp-handle-file-remote-p'.
11543 (tramp-do-copy-or-rename-file-out-of-band):
11544 Use `tramp-compat-delete-directory'.
11545 (tramp-do-copy-or-rename-file-out-of-band)
11546 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11547 Use `format-spec-make'.
11548 (tramp-find-foreign-file-name-handler)
11549 (tramp-advice-make-auto-save-file-name)
11550 (tramp-set-auto-save-file-modes): Remove superfluous check for
11551 `stringp'. This is done inside `tramp-tramp-file-p'.
11552 (tramp-debug-outline-regexp): New defconst.
11553 (tramp-get-debug-buffer): Use it.
11554 (tramp-check-for-regexp): Use (forward-line 1).
11555 (tramp-set-auto-save-file-modes): Adapt version check.
11557 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11558 Wrap call of `featurep' for 2nd argument.
11559 (tramp-compat-make-temp-file): Simplify fallback implementation.
11560 (tramp-compat-copy-tree): Remove function.
11561 (tramp-compat-delete-directory): Provide implementation for older
11564 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11565 Do not use `tramp-fish-handle-file-attributes.
11567 * net/trampver.el: Update release number.
11569 2010-04-10 Glenn Morris <rgm@gnu.org>
11571 * progmodes/compile.el (compilation-save-buffers-predicate):
11572 Add missing :version tag.
11574 2010-04-09 Sam Steingold <sds@gnu.org>
11576 * progmodes/compile.el (compilation-save-buffers-predicate):
11577 Remove the "autoload" cookie.
11579 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11580 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11581 and `bug-reference-prog-mode' can be used in hooks directly.
11583 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11585 Add --author support to git commit.
11586 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11587 (vc-git-log-edit-mode): New minor mode.
11588 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11591 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11593 * vc-hooks.el, vc-git.el: Improve documentation comments.
11595 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11597 Fix some of the problems in defsubst* (bug#5728).
11598 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11599 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11601 2010-04-07 Sam Steingold <sds@gnu.org>
11603 * progmodes/compile.el (compilation-save-buffers-predicate):
11604 New custom variable.
11605 (compile, recompile): Pass it to `save-some-buffers'.
11607 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11609 * wid-edit.el (widget-choose): Move cursor to the second line of
11610 the buffer (Bug#5695).
11612 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11614 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11615 * vc.el (vc-print-log-setup-buttons): New function split out from
11616 vc-print-log-internal.
11617 (vc-log-internal-common): New function, a parametrized version of
11618 vc-print-log-internal.
11619 (vc-print-log-internal): Just call vc-log-internal-common with the
11621 (vc-incoming-outgoing-internal):
11622 (vc-log-incoming, vc-log-outgoing): New functions.
11623 (vc-log-view-type): New permanent local variable.
11625 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11627 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11628 of the dynamic bound vc-short-log.
11629 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11631 * vc-git.el (vc-git-log-outgoing): New function.
11632 (vc-git-log-view-mode): Use vc-log-view-type instead
11633 of the dynamic bound vc-short-log.
11635 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11636 of the dynamic bound vc-short-log. Highlight the tag.
11637 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11638 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11639 (vc-hg-incoming-mode): Remove.
11640 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11642 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11644 Fix default-directory for vc-root-diff.
11645 * vc.el (vc-root-diff): Bind default-directory to the root
11646 directory for the diff command.
11648 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11650 * progmodes/verilog-mode.el (verilog-forward-sexp):
11651 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11652 word keywords, suggested by Steve Pearlmutter.
11653 (verilog-pretty-declarations): Support lineup of declarations in
11655 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11656 fix bug for /* / comments.
11657 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11658 Speed up and simplfy as this is never called with a bound.
11659 (verilog-pretty-declarations): Enhance to line up declarations
11660 inside a parameter list, suggested by Alan Morgan.
11661 (verilog-pretty-expr): Tune assignment regular expression match
11662 string for corner cases; also use markers instead of character
11663 number as indent changes the later.
11665 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11667 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11668 as missing keyword.
11669 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11670 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11671 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11672 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11674 (verilog-keywords):
11675 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11676 1800-2009 keywords, including "global.".
11678 2010-04-06 John Wiegley <jwiegley@gmail.com>
11680 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11681 appearing in buffer list (if a live buffer name matched a recentf
11682 file basename). Should use uniquify to offer a real solution.
11684 2010-04-06 John Wiegley <jwiegley@gmail.com>
11686 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11687 comment to code, and add a :version tag.
11688 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11690 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11692 Enable recentf-mode if using virtual buffers.
11693 * ido.el (recentf-list): Declare for byte-compiler.
11694 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11695 (ido-make-buffer-list): Simplify.
11696 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11698 2010-04-05 Juri Linkov <juri@jurta.org>
11700 Scrolling commands which scroll a line instead of full screen.
11701 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11703 * simple.el (scroll-up-line, scroll-down-line): New commands.
11704 Put property isearch-scroll=t on them.
11706 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11709 2010-04-05 Juri Linkov <juri@jurta.org>
11711 Scrolling commands which do not signal errors at top/bottom.
11712 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11714 * simple.el (scroll-up-command, scroll-down-command): New commands.
11715 Put property isearch-scroll=t on them.
11717 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11718 `scroll-down-command' and [next] from `scroll-up' to
11719 `scroll-up-command'.
11721 * emulation/cua-base.el: Put property CUA=move on
11722 `scroll-up-command' and `scroll-down-command'.
11723 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11724 and `scroll-down-command' to `cua-scroll-down'.
11726 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11728 * help.el (describe-mode): Return nil.
11730 2010-04-04 John Wiegley <jwiegley@gmail.com>
11732 * ido.el (ido-use-virtual-buffers): New variable to indicate
11733 whether "virtual buffer" support is enabled for IDO.
11734 (ido-virtual): Face used to indicate virtual buffers in the list.
11735 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11736 exists, but a virtual buffer of that name does (which would be why
11737 it was in the list), recreate the buffer by reopening the file.
11738 (ido-make-buffer-list): If virtual buffers are being used, call
11739 `ido-add-virtual-buffers-to-list' before the make list hook.
11740 (ido-virtual-buffers): New variable which contains a copy of the
11741 current contents of the `recentf-list', albeit pared down for the
11742 sake of speed, and with proper faces applied.
11743 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11744 create a list of "virtual buffers" to present to the user in
11745 addition to the currently open set. Note that this logic could
11746 get rather slow if that list is too large. With the default
11747 `recentf-max-saved-items' of 200, there is little speed penalty.
11749 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11751 * font-lock.el: Require CL when compiling.
11752 (font-lock-turn-on-thing-lock): Use `case'.
11754 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11756 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11759 2010-04-02 Juri Linkov <juri@jurta.org>
11761 * ehelp.el (electric-help-orig-major-mode):
11762 New buffer-local variable.
11763 (electric-help-mode): Set it to original major-mode. Doc fix.
11764 (with-electric-help): Use `electric-help-orig-major-mode' instead
11765 of (default-value 'major-mode). Doc fix.
11766 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11768 2010-04-02 Sam Steingold <sds@gnu.org>
11770 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11771 `vc-hg-command' with a list of flags.
11773 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11774 Also accept "patch" and "RFE".
11775 (bug-reference-fontify): `bug-reference-url-format' can also be a
11776 function to be able to handle the bug kind.
11777 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11779 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11781 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11782 value to fboundp, it may not be a symbol.
11784 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11786 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11788 2010-03-31 Juri Linkov <juri@jurta.org>
11790 * simple.el (next-line, previous-line): Re-throw a signal
11791 with `signal' instead of using `ding'.
11792 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11794 2010-03-31 Juri Linkov <juri@jurta.org>
11796 * simple.el (keyboard-escape-quit): Raise deselecting the active
11797 region higher than exiting the minibuffer.
11798 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11800 2010-03-31 Juri Linkov <juri@jurta.org>
11802 * image.el (image-animated-p): Use `image-metadata' instead of
11803 `image-extension-data'. Get GIF extenstion data from metadata
11804 property `extension-data'.
11806 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11808 * simple.el (append-to-buffer): Simplify.
11810 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11812 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11813 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11815 2010-03-31 Kenichi Handa <handa@m17n.org>
11817 * language/sinhala.el (composition-function-table): Fix regexp for
11818 the new Unicode specification.
11820 * language/indian.el (devanagari-composable-pattern)
11821 (tamil-composable-pattern, kannada-composable-pattern)
11822 (malayalam-composable-pattern): Adjust for the new Unicode
11824 (bengali-composable-pattern, gurmukhi-composable-pattern)
11825 (gujarati-composable-pattern, oriya-composable-pattern)
11826 (telugu-composable-pattern): New variables to cope with the new
11827 Unicode specification. Use them in composition-function-table.
11829 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11831 Make tmm-menubar work for the Buffers menu again (bug#5726).
11832 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11833 vectors rather than cons cells, as used in menu-bar-update-buffers.
11835 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11837 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11838 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11839 electric punctuation for "{}();,:" (Bug#5586).
11841 * mail/sendmail.el (mail-default-directory): Doc fix.
11843 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11845 * mail/sendmail.el (mail-default-directory): Doc fix.
11847 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11849 * subr.el (version-regexp-alist, version-to-list)
11850 (version-list-<, version-list-=, version-list-<=)
11851 (version-list-not-zero, version<, version<=, version=): Doc fix.
11854 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11856 * vc.el (vc-root-diff): Doc fix.
11858 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11860 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11862 * simple.el (append-to-buffer): Fix last change.
11864 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11866 * simple.el (append-to-buffer): Ensure that point is preserved if
11867 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11870 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11872 * files.el (auto-mode-case-fold): Change default to t.
11874 2010-03-30 Juri Linkov <juri@jurta.org>
11876 * dired-x.el (dired-omit-mode): Doc fix.
11878 2010-03-30 Juri Linkov <juri@jurta.org>
11880 * replace.el (occur-accumulate-lines): Move occur-engine related
11881 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11882 to be located after `occur-engine'.
11884 2010-03-30 Juri Linkov <juri@jurta.org>
11886 Make occur handle multi-line matches cleanly with context.
11887 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11889 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11890 (occur-engine): Add local variables `ret', `prev-after-lines',
11891 `prev-lines'. Use more arguments for `occur-context-lines'.
11892 Set first elem of its returned list to `data', and the second elem
11893 to `prev-after-lines'. Don't print the separator line.
11894 In the end, print remaining context after-lines.
11895 (occur-context-lines): Add new arguments `begpt', `endpt',
11896 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11897 after-lines of the previous match with before-lines of the
11898 current match and not overlap them. Return a list with two
11899 values: the output line and the list of context after-lines.
11901 2010-03-30 Juri Linkov <juri@jurta.org>
11903 * replace.el (occur-accumulate-lines): Fix a bug where the first
11904 context line at the beginning of the buffer was missing.
11906 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11908 * files.el: Make bidi-display-reordering safe variable for boolean
11911 2010-03-29 Phil Hagelberg <phil@evri.com>
11912 Chong Yidong <cyd@stupidchicken.com>
11914 * subr.el: Extend progress reporters to perform "spinning".
11915 (progress-reporter-update, progress-reporter-do-update):
11916 Handle non-numeric value arguments.
11917 (progress-reporter--pulse-characters): New var.
11919 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11921 * progmodes/compile.el (compilation-start): Fix regexp detection
11922 of initial cd command (Bug#5771).
11924 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11926 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11928 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11930 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11931 * progmodes/gdb-mi.el: Restore.
11932 * progmodes/gdb-ui.el: Remove.
11933 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11935 2010-03-25 Glenn Morris <rgm@gnu.org>
11937 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11938 all dired buffers, even tramp ones. (Bug#5755)
11940 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11942 Add "union tags" in mpc.el.
11943 * mpc.el: Remove backward compatibility code.
11944 (mpc-browser-tags): Change default.
11945 (mpc--find-memoize-union-tags): New var.
11946 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11947 (mpc-cmd-find): Handle the case where the playlist does not exist.
11949 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11950 (mpc-cmd-add): Use mpc-cmd-flush.
11951 (mpc-tagbrowser-tag-name): New fun.
11952 (mpc-tagbrowser-buf): Use it.
11953 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11955 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11958 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11959 Use replace-regexp-in-string.
11960 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11961 (makefile-imake-mode-syntax-table): Move init into defvar.
11962 (makefile-mode): Use define-derived-mode.
11964 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11965 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11966 not be present any more.
11968 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11970 * faces.el (set-face-attribute): Fix typo in docstring.
11971 (face-valid-attribute-values): Reflow docstring.
11973 2010-03-24 Glenn Morris <rgm@gnu.org>
11975 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11977 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11979 * indent.el (indent-for-tab-command): Doc fix.
11981 2010-03-24 Alan Mackenzie <acm@muc.de>
11983 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11984 Fix off-by-one error. Fixes bug #5747.
11986 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11988 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11989 (image-dired-read-comment): Doc fix.
11991 * json.el (json-object-type, json-array-type, json-key-type)
11992 (json-false, json-null, json-read-number):
11993 * minibuffer.el (completion-in-region-functions):
11994 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11995 (cal-tex-cursor-week):
11996 * emacs-lisp/trace.el (trace-function):
11997 * eshell/em-basic.el (eshell/printnl):
11998 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11999 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12000 * obsolete/levents.el (allocate-event, event-key, event-object)
12001 (event-point, event-process, event-timestamp, event-to-character)
12002 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12003 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12004 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12005 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12006 (reftex-highlight-selection): Fix typos in docstrings.
12008 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12010 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12012 2010-03-24 Glenn Morris <rgm@gnu.org>
12014 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12015 2008-02-13 without comment; mark it obsolete.
12016 (rmail-highlight-headers): Use rmail-highlight-face once more.
12018 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12020 * woman.el (woman2-process-escapes): Only consume the newline if
12021 the filler character is on a line by itself (Bug#5729).
12023 2010-03-24 Kenichi Handa <handa@m17n.org>
12025 * language/indian.el (devanagari-composable-pattern): Add more
12028 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12030 * net/trampver.el: Update release number.
12032 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12034 * net/tramp.el (tramp-find-executable):
12035 Use `tramp-get-connection-buffer'. Make the regexp for checking
12036 output of "wc -l" more robust.
12037 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12038 (tramp-open-connection-setup-interactive-shell): Remove workaround
12039 for OpenSolaris bug, it is not needed anymore.
12041 2010-03-24 Glenn Morris <rgm@gnu.org>
12043 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12045 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12047 * files.el (auto-mode-alist): Accept more verilog file patterns.
12049 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12051 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12053 2010-03-24 Glenn Morris <rgm@gnu.org>
12055 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12056 log-edit-before-checkin-process.
12058 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12060 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12062 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12063 (log-view-process-buffer, log-edit-extra-flags): Declare.
12065 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12067 2010-03-23 Sam Steingold <sds@gnu.org>
12069 Fix bug#5620: recalculate all markers on compilation buffer
12070 modifications, not on file modifications.
12071 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12072 variable: the buffer modification time, for buffers not associated with
12074 (compilation-mode): Create it.
12075 (compilation-filter): Update it.
12076 (compilation-next-error-function): Use it instead of
12077 `visited-file-modtime' for timestamp.
12079 2010-03-23 Juri Linkov <juri@jurta.org>
12081 Implement Occur multi-line matches.
12082 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12084 * replace.el (occur): Doc fix.
12085 (occur-engine): Set `begpt' to the beginning of the first line.
12086 Set `endpt' to the end of the last match line. At first, count
12087 line numbers between `origpt' and `begpt'. Split out code from
12088 `out-line' variable to new let-bindings `match-prefix' and
12089 `match-str'. In `out-line' add non-numeric prefix to all
12090 non-first lines of multi-line matches. Finally, count lines
12091 between `begpt' and `endpt' and add to `lines'.
12093 2010-03-23 Juri Linkov <juri@jurta.org>
12095 * replace.el (occur-accumulate-lines, occur-engine):
12096 Use `occur-engine-line' instead of duplicate code.
12097 (occur-engine-line): New function created from duplicate code
12098 in `occur-accumulate-lines' and `occur-engine'.
12100 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12101 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12103 2010-03-23 Juri Linkov <juri@jurta.org>
12105 * finder.el: Remove TODO tasks.
12107 * info.el (Info-finder-find-node): Add node "all"
12108 with all package info. Handle a list of multiple keywords
12109 separated by comma.
12110 (info-finder): In interactive use with a prefix argument,
12111 use `completing-read-multiple' to read a list of keywords
12112 separated by comma.
12114 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12116 Add a new completion style `substring'.
12117 * minibuffer.el (completion-basic--pattern): New function.
12118 (completion-basic-try-completion, completion-basic-all-completions):
12120 (completion-substring--all-completions)
12121 (completion-substring-try-completion)
12122 (completion-substring-all-completions): New functions.
12123 (completion-styles-alist): New style `substring'.
12125 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12127 Get rid of .elc files after removal of the corresponding .el.
12128 * Makefile.in (compile-clean): New target.
12129 (compile-main): Use it.
12131 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12133 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12134 don't do make there. When compiling with separate object dir, there
12135 is no Makefile there.
12137 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12139 Get rid of the ELCFILES abomination, again.
12140 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12141 (all, compile): Don't call compile-last.
12142 (compile-main): Build the "elcfiles" list dynamically.
12143 (compile-targets): New (internal) target.
12145 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12147 * Makefile.in (top_srcdir): Define.
12148 (abs_top_builddir): Define.
12149 (srcdir): Don't append `/..'.
12150 (EMACS): Use ${abs_top_builddir}.
12151 (all, compile, compile-always, compile-last): Don't set emacswd.
12152 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12154 (lisp): Use $(srcdir) instead of @srcdir@.
12156 2010-03-21 Juri Linkov <juri@jurta.org>
12158 Fix message of multi-line occur regexps and multi-buffer header lines.
12159 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12161 * replace.el (occur-1): Don't display regexp if it is longer
12162 than window-width. Use `query-replace-descr' to display regexp.
12163 (occur-engine): Don't display regexp in the buffer header for
12164 multi-buffer occur. Display a separate header line with total
12165 match count and regexp for multi-buffer occur.
12166 Use `query-replace-descr' to display regexp.
12168 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12170 * net/secrets.el: Fix parenthesis.
12171 (secrets-enabled): Fix parenthesis.
12173 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12175 Use more relative file and directory names.
12176 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12177 (setwins, setwins_almost, setwins_for_subdirs):
12178 Don't `cd'; output relative names.
12179 (all, compile, compile-always, compile-last): Set emacswd.
12180 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12181 Just cd to the lisp source dir so we can use relative file names.
12183 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12185 2010-03-20 Glenn Morris <rgm@gnu.org>
12187 * textmodes/rst.el: Use faces for font-lock customization, and make the
12188 old -face variables obsolete.
12189 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12190 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12191 (rst-block-face, rst-external-face, rst-definition-face)
12192 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12193 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12195 (rst-font-lock-keywords-function): Update for above changes.
12197 2010-03-20 Juri Linkov <juri@jurta.org>
12200 * obsolete/s-region.el: Move to obsolete.
12202 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12204 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12206 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12208 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12210 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12212 Add special markup processing for commit logs.
12213 * log-edit.el (log-edit-extra-flags): New variable.
12214 (log-edit): Add new argument MODE. Use that mode when non-nil
12215 instead of the log-view-mode.
12216 (log-view-process-buffer): New function.
12218 * vc.el: Document that the checkin method takes optional
12219 arguments. Document new backend specific method: log-view-mode.
12220 (vc-default-log-edit-mode): New function.
12221 (vc-checkin): Use a backend specific log-view-mode.
12222 Pass extra arguments to the checkin method.
12223 (vc-modify-change-comment): Pass a dummy extra argument.
12225 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12227 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12228 (vc-finish-logentry): Process the log buffer before passing it
12229 down. Pass log-edit-extra-flags.
12231 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12233 (log-edit-extra-flags, log-edit-before-checkin-process):
12236 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12238 (log-edit-extra-flags, log-edit-before-checkin-process):
12240 (vc-hg-log-edit-mode): New derived mode.
12242 * vc-arch.el (vc-arch-checkin):
12243 * vc-cvs.el (vc-cvs-checkin):
12244 * vc-git.el (vc-git-checkin):
12245 * vc-mtn.el (vc-mtn-checkin):
12246 * vc-rcs.el (vc-rcs-checkin):
12247 * vc-sccs.el (vc-sccs-checkin):
12248 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12250 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12252 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12255 2010-03-19 Glenn Morris <rgm@gnu.org>
12257 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12259 2010-03-18 Glenn Morris <rgm@gnu.org>
12261 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12263 * replace.el (query-replace-history): Give it a doc string.
12264 (map-query-replace-regexp): Use query-replace-from-history-variable
12265 and query-replace-to-history-variable.
12267 * mail/hashcash.el (declare-function): Remove duplicate definition.
12269 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12270 Make it an obsolete alias for report-emacs-bug-address.
12271 (message-strip-special-text-properties): Declare.
12272 (report-emacs-bug): Remove test for a pretest bug address.
12273 Combine message-mode-specific code.
12275 * mail/supercite.el: Don't require sendmail.
12276 (mh-in-header-p): Declare rather than using with-no-warnings.
12277 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12278 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12280 * calendar/cal-french.el: Convert to utf-8.
12282 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12285 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12287 * net/secrets.el (secrets-enabled): New variable. Use it instead
12290 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12292 * net/secrets.el (top): Register the D-Bus signals only when the
12293 service "org.freedesktop.secrets" can be pinged.
12294 Provide subfeature `enabled'.
12296 2010-03-14 Juri Linkov <juri@jurta.org>
12298 Add finder unknown keywords.
12300 * finder.el (finder-unknown-keywords): New function.
12302 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12303 to create a Finder node with unknown keywords.
12305 2010-03-14 Juri Linkov <juri@jurta.org>
12307 * finder.el (finder-compile-keywords): Replace `princ' with
12308 `prin1' on a list of symbols interned from keyword strings.
12310 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12311 a comma, then split keywords using a comma and optional whitespace.
12312 Otherwise, split by whitespace.
12320 * progmodes/mixal-mode.el: Fix keywords.
12322 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12324 * Makefile.in (ELCFILES): Add net/secrets.elc.
12326 * net/secrets.el: New file.
12328 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12330 * facemenu.el (list-colors-display, list-colors-print): New arg
12331 callback. Use it to allow selecting colors.
12333 * wid-edit.el (widget-image-insert): Insert image prop even if the
12334 current display is non-graphic.
12335 (widget-field-value-set): New fun.
12336 (editable-field): Use it.
12337 (widget-field-value-get): Clean up unused var.
12338 (widget-color-value-create, widget-color--choose-action):
12339 New funs. Allow using list-colors-display to choose color.
12341 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12343 * cus-edit.el: Resort topmost custom groups.
12344 (custom-buffer-sort-alphabetically): Default to t.
12345 (customize-apropos): Use apropos-parse-pattern.
12346 (custom-search-field): New var.
12347 (custom-buffer-create-internal): Add custom-apropos search field.
12348 (custom-add-parent-links): Don't display parent doc.
12349 (custom-group-value-create): Don't sort top-level custom group.
12350 (custom-magic-value-create): Show visibility button before option name.
12352 (custom-variable-state): New fun, from custom-variable-state-set.
12353 (custom-variable-state-set): Use it.
12354 (custom-group-value-create): Hide options with standard values
12355 using the :hidden-states property. Use progress reporter.
12357 (custom-show): Simplify.
12358 (custom-visibility): Disable images by default.
12359 (custom-variable): New property :hidden-states.
12360 (custom-variable-value-create): Enable images for
12361 custom-visibility widgets. Use :hidden-states property to
12362 determine initial visibility.
12364 * wid-edit.el (widget-image-find): Give images center ascent.
12365 (visibility): Add :on-image and :off-image properties.
12366 (widget-visibility-value-create): Use them.
12368 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12370 * cus-edit.el (processes): Remove from development group.
12371 (oop, hypermedia): Delete group.
12372 (comm): Promote to top-level group.
12374 * net/browse-url.el (browse-url):
12375 * net/xesam.el (xesam):
12376 * net/tramp.el (tramp):
12377 * net/goto-addr.el (goto-address):
12378 * net/ange-ftp.el (ange-ftp): Put in comm group.
12380 * view.el (view): Remove from editing group.
12382 * uniquify.el (uniquify): Put in files group.
12384 * net/browse-url.el (browse-url):
12385 * ps-print.el (postscript): Put in external group.
12387 * cus-edit.el (outlines):
12388 * textmodes/text-mode.el (text-mode-hook):
12389 * textmodes/table.el (table):
12390 * textmodes/picture.el (picture):
12391 * outline.el (outlines): Put in wp group.
12393 * nxml/nxml-mode.el (nxml): Remove from wp group.
12395 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12397 * mail/metamail.el (metamail): Remove from hypermedia group.
12399 * cus-edit.el (abbrev):
12400 * whitespace.el (whitespace):
12401 * vcursor.el (vcursor):
12402 * reveal.el (reveal):
12403 * hl-line.el (hl-line): Put in convenience group.
12405 * epg-config.el (epg): Put in data group.
12407 * emulation/pc-select.el (pc-select): Put in emulations group.
12409 * calculator.el (calculator): Put in applications group.
12411 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12413 Add .dir-locals.el support for file-less buffers.
12414 * files.el (hack-local-variables): Split out code to apply local
12415 variable settings ...
12416 (hack-local-variables-apply): ... here. New function.
12417 (hack-dir-local-variables): Use the default directory for when the
12418 buffer does not have an associated file.
12419 (hack-dir-local-variables-non-file-buffer): New function.
12420 * diff-mode.el (diff-mode):
12421 * vc-annotate.el (vc-annotate-mode):
12422 * vc-dir.el (vc-dir-mode):
12423 * log-edit.el (log-edit-mode):
12424 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12426 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12428 Add support for shelving snapshots and for showing shelves.
12429 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12430 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12432 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12433 (vc-bzr-extra-menu-map): Map them.
12435 2010-03-11 Glenn Morris <rgm@gnu.org>
12437 * cus-edit.el (customize-changed-options-previous-release):
12440 * image.el (image-animate-max-time): Fix :version tag.
12442 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12446 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12448 * vc-git.el (vc-git-revision-table): Include remote branches.
12450 2010-03-10 Kim F. Storm <storm@cua.dk>
12452 Animated image API.
12453 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12455 * image.el (image-animate-max-time): New defcustom.
12456 (image-animated-types): New defconst.
12457 (create-animated-image, image-animate-timer)
12458 (image-animate-start, image-animate-stop, image-animate-timeout)
12459 (image-animated-p): New functions.
12461 * image-mode.el (image-toggle-display-image):
12462 Replace `create-image' with `create-animated-image'.
12464 2010-03-09 Miles Bader <miles@gnu.org>
12466 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12467 instead of "format:"; this ensures that the output is
12468 newline-terminated.
12470 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12472 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12473 that all errors are caught, and that the return value is always a
12476 2010-03-08 Kenichi Handa <handa@m17n.org>
12478 * language/misc-lang.el (windows-1256): New coding system.
12479 (cp1256): New alias of windows-1256 (bug#5690).
12481 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12483 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12484 call to rfc822-bad-address. (Bug#5692)
12486 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12488 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12489 Use vc-git-root as default directory for revision path (Bug#5657).
12491 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12493 * calculator.el (calculator): Don't bind split-window-keep-point
12496 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12498 * vc-git.el: Re-flow to fit into 80 columns.
12499 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12500 Remove spurious `quote' element in each case alternative.
12501 (vc-git-show-log-entry): Use prog1.
12502 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12504 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12506 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12508 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12510 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12511 definition, not the name (Bug#5481).
12513 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12515 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12516 argument with a local variable. (Bug#5670)
12518 2010-03-02 Juri Linkov <juri@jurta.org>
12520 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12522 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12524 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12525 error when FILENAME and NEWNAME are existing remote directories.
12527 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12528 parameter DIR-FLAG.
12530 2010-03-02 Glenn Morris <rgm@gnu.org>
12532 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12533 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12535 2010-03-01 Kenichi Handa <handa@m17n.org>
12537 * language/burmese.el (burmese-composable-pattern): Rename from
12538 myanmar-composable-pattern.
12540 * international/characters.el (script-list):
12541 * international/fontset.el (script-representative-chars):
12542 Change myanmar to burmese.
12543 (otf-script-alist): Likewise.
12544 (setup-default-fontset): Likewise. Re-fix :otf spec.
12546 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12548 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12550 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12552 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12554 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12556 * net/tramp.el (tramp-handle-write-region): START can be a string.
12557 Take care in the checks. Reported by Dan Davison
12558 <davison@stats.ox.ac.uk>.
12560 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12562 * net/dbus.el (dbus-introspect, dbus-get-property)
12563 (dbus-set-property, dbus-get-all-properties):
12564 Use `dbus-call-method' when noninteractive. (Bug#5645)
12566 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12568 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12569 * emacs-lisp/elint.el (elint-add-required-env):
12570 * calendar/icalendar.el (icalendar--add-diary-entry):
12571 * calc/calcalg2.el (math-tracing-integral):
12572 * files.el (recover-session-finish): Use with-current-buffer
12573 instead of save-excursion.
12575 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12577 Fix in-buffer completion when after-change-functions modify the buffer.
12578 * minibuffer.el (completion--replace): New function.
12579 (completion--do-completion): Use it and use relative movement.
12581 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12583 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12585 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12587 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12588 Allow the characters _<> in the stack entry (Bug#5653).
12590 2010-02-26 Kenichi Handa <handa@m17n.org>
12592 * language/burmese.el: Fix entries in composition-function-table.
12593 (myanmar-composable-pattern): New variable.
12595 * international/fontset.el (setup-default-fontset): Add an entry
12598 * international/characters.el (script-list): Add Myanmar
12601 2010-02-26 Glenn Morris <rgm@gnu.org>
12603 * custom.el (custom-initialize-delay): Doc fix.
12605 * mail/sendmail.el (send-mail-function): Autoload the call
12606 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12608 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12610 * files.el (hack-local-variables-filter): For eval forms, also
12611 check safe-local-variable-p (Bug#5636).
12613 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12615 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12616 setting the modes by `ignore-errors'. It might fail, for example
12617 if the file is not owned by the user but the group.
12618 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12620 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12622 * files.el (directory-listing-before-filename-regexp):
12623 Use stricter matching for iso-style dates, to avoid false matches with
12624 date-like filenames (Bug#5597).
12626 * htmlfontify.el (htmlfontify): Doc fix.
12628 * eshell/eshell.el (eshell): Doc fix.
12630 * startup.el (fancy-about-screen): In mode-line, apply
12631 mode-line-buffer-id face only to the buffer name (Bug#5613).
12633 2010-02-20 Kevin Ryde <user42@zip.com.au>
12635 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12636 In `watcom' anchor regexp to start of line, to avoid slowness
12639 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12641 * subr.el (remove-yank-excluded-properties): Explain in a comment
12642 why `category' property is removed.
12644 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12646 * isearch.el (isearch-update-post-hook, isearch-update):
12647 Revert 2010-02-17 change.
12649 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12651 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12652 (icalendar--convert-weekly-to-ical)
12653 (icalendar--convert-yearly-to-ical)
12654 (icalendar--convert-block-to-ical)
12655 (icalendar--convert-cyclic-to-ical)
12656 (icalendar--convert-anniversary-to-ical): Take care of time
12657 specifications where hour has 1-digit only (Bug#5549).
12659 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12661 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12662 of disassemble output in GDB 7.1.
12664 2010-02-19 Glenn Morris <rgm@gnu.org>
12666 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12667 property. (Bug#5593)
12669 2010-02-18 Sam Steingold <sds@gnu.org>
12671 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12673 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12675 Use abbreviated file names in bookmarks (bug#5591).
12676 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12677 calls to expand-file-name.
12678 (bookmark-relocate): Use abbreviated file names in bookmarks.
12679 (bookmark-load): Use abbreviated file names in messages.
12681 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12683 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12684 expand "." and "..". Reported by Thierry Volpiatto
12685 <thierry.volpiatto@gmail.com>.
12687 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12689 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12690 permissions of the temporary file to "0600". In case the remote
12691 file has no read permissions for the owner, there might be
12692 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12694 22010-02-18 Glenn Morris <rgm@gnu.org>
12696 * emacs-lisp/authors.el (authors-renamed-files-alist):
12697 Add entries for INSTALL.CVS.
12699 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12701 * vc-bzr.el: Fix typo in Known Bugs section.
12703 * isearch.el (isearch-update-post-hook): New hook.
12704 (isearch-update): Use the new hook.
12706 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12708 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12709 Fix errors in copying directories.
12710 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12711 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12712 (tramp-handle-delete-file)
12713 (tramp-handle-dired-recursive-delete-directory)
12714 (tramp-handle-write-region): Flush also the cache for the upper
12717 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12719 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12721 * cus-edit.el (hardware): Doc fix.
12723 * man.el (man): Add to external custom group.
12725 * delim-col.el (columns): Move to wp custom group.
12727 * doc-view.el (doc-view): Add to data custom group.
12729 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12731 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12732 by ispell-parse-output (Bug#5575).
12734 2010-02-16 Kenichi Handa <handa@m17n.org>
12736 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12737 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12738 (skkdic-convert): Use `euc-japan' coding system for writing.
12740 2010-02-16 Glenn Morris <rgm@gnu.org>
12742 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12743 tex-main-file before using it. (Bug#5562)
12745 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12747 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12748 warnings, since it is annoying for the user to see them each time he
12751 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12753 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12754 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12755 instead of PROC for caching "first-password-request". Otherwise,
12756 new processes would not profit from passwords already entered.
12758 * net/tramp-cache.el (tramp-dump-connection-properties):
12759 Don't save "first-password-request" property.
12761 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12763 * outline.el (outline-head-from-level):
12764 * simple.el (with-wrapper-hook):
12765 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12766 (elint-defun, elint-buffer-env, elint-top-form-logged)
12767 (elint-unbound-variable):
12768 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12769 Fix typos in docstrings.
12771 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12773 * files.el (insert-directory): When WILDCARD-REGEXP and
12774 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12775 whole directory. (Bug#5551)
12777 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12778 dired's alignment sanity. (Bug#5516)
12780 2010-02-14 Juri Linkov <juri@jurta.org>
12782 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12783 Remove remaining ^H with their preceding chars. (Bug#5566)
12785 2010-02-13 Glenn Morris <rgm@gnu.org>
12787 * simple.el (transpose-subr): Give it a doc-string.
12789 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12792 2010-02-12 Juri Linkov <juri@jurta.org>
12794 * arc-mode.el (archive-unique-fname): Make directories for nested
12795 archives. (Bug#5540)
12797 2010-02-12 Juri Linkov <juri@jurta.org>
12799 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12801 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12803 * subr.el (copy-overlay): Handle deleted overlays.
12805 * man.el (Man-completion-table): Don't signal an error if we can't run
12806 manual-program (bug#4056).
12808 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12810 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12812 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12814 * info.el (Info-bookmark-jump): Simplify.
12816 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12817 (bookmark-default-handler): Accept new bookmark field `buffer'.
12819 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12821 * iswitchb.el (iswitchb-completions): Revert last change.
12823 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12825 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12826 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12827 This prevents file names like "~/" being listed literally.
12829 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12831 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12832 Remove dead code. (Bug#5546)
12834 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12836 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12837 correctly (Bug#5548).
12839 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12841 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12842 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12844 2010-02-08 Kenichi Handa <handa@m17n.org>
12846 * international/mule-util.el (with-coding-priority): Add autoload
12847 cookie for putting `lisp-indent-function'.
12849 2010-02-07 Glenn Morris <rgm@gnu.org>
12851 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12852 Move F2003 named interfaces from keywords-2 to keywords-1, and
12853 use function-name-face rather than constant-face.
12854 Simplify "abstract interface" regexp.
12856 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12858 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12859 ID-FORMAT. Pass it to `file-attributes'.
12861 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12863 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12865 * faces.el (set-face-attribute): Allow calling
12866 internal-set-lisp-face-attribute with 'unspecified family and
12867 foundry argument (Bug#5536).
12869 2010-02-07 Glenn Morris <rgm@gnu.org>
12871 * progmodes/f90.el (f90-font-lock-keywords-2)
12872 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12873 Handle F2003 named interfaces.
12875 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12877 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12878 beg and end before calling c-get-state-before-change-functions.
12880 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12882 * vc-bzr.el (vc-bzr-dir-extra-headers):
12883 Disable the pending merges header.
12885 2010-02-05 Juri Linkov <juri@jurta.org>
12887 * doc-view.el (doc-view-mode):
12888 * image-mode.el (image-mode): Put property mode-class=special.
12891 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12893 * vc-svn.el (vc-svn-revision-table): New function.
12895 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12897 * net/ange-ftp.el (ange-ftp-insert-directory):
12898 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12899 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12900 Handle also directories. (Bug#5478)
12902 2010-02-05 Glenn Morris <rgm@gnu.org>
12904 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12906 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12908 * startup.el (command-line-1): Convert options beginning with a
12909 single dash as well (Bug#5519).
12911 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12913 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12914 * minibuffer.el (completion-initials-expand): Only check the presence
12915 of delims *within* the boundaries, since otherwise the / delim is
12916 always found for files.
12918 Fix up various corner case problems.
12919 * doc-view.el (doc-view-last-page-number): New function.
12920 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12921 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12922 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12923 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12924 (doc-view-convert-current-doc): Don't create the resolution.el file
12926 (doc-view-pdf/ps->png): Do it here instead.
12927 (doc-view-already-converted-p): Check that resolution.el is present.
12928 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12929 windows that are not yet showing images.
12931 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12933 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12934 `dired-uncache' for every elemnt which is an absolute file name.
12936 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12937 directory, handle its directory component.
12938 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12939 function is called permanently and creates noise, otherwise.
12941 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12942 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12943 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12945 2010-02-04 David Burger <dburger@google.com> (tiny change)
12947 * macros.el (apply-macro-to-region-lines):
12948 Minor simplification. (Bug#5485)
12950 2010-02-04 Glenn Morris <rgm@gnu.org>
12952 * mail/rmail.el (rmail-show-message-1): Handle malformed
12953 quoted-printable text. (Bug#5441)
12955 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12957 * simple.el (visual-line-mode): Capitalize lighter.
12959 2010-02-03 John Wiegley <jwiegley@gmail.com>
12961 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12962 list of files considered for "virtual buffer" completions.
12964 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12966 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12967 also in case of (and (not full) (not wildcard)). This is needed
12968 when dired is called with a list of files, which are not in
12969 `default-directory'. (Bug#5478)
12971 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12973 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12975 2010-02-02 Juri Linkov <juri@jurta.org>
12977 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12978 from unidiff to allow function-line after @@.
12980 2010-02-02 Juri Linkov <juri@jurta.org>
12982 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12983 '(RCS SCCS) with inverted condition.
12985 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12987 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12990 2010-02-01 Juri Linkov <juri@jurta.org>
12992 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12993 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12994 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12995 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12997 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12999 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13000 (doc-view-revert-buffer): New command.
13001 (doc-view-mode-map): Use it.
13003 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13005 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13006 pending merge is detected.
13008 2010-01-31 Juri Linkov <juri@jurta.org>
13010 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13011 beginning of interactive spec like all other grep commands do.
13012 Put "all" in front of "gz". (Bug#5260)
13014 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13016 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13018 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13020 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13021 regexp is incorrect (Bug#5476).
13023 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13025 * net/tramp.el (tramp-handle-insert-directory): Handle also
13026 symlinks, when FILENAME is not in `default-directory'.
13028 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13030 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13031 FILE is not in `default-directory'. (Bug#5478)
13033 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13034 of SWITCHES. Handle the case, FILENAME is not in
13035 `default-directory'. (Bug#5478)
13036 (tramp-register-file-name-handlers): Add safe-magic property.
13038 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13040 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13043 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13045 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13046 (flymake-master-make-header-init): Add other C++ filename masks.
13047 (flymake-find-possible-master-files)
13048 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13050 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13052 Fix some busybox annoyances.
13054 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13055 not responding." string.
13056 (tramp-open-connection-setup-interactive-shell): Dump stty
13057 settings. Enable "neveropen" arg for all `tramp-send-command'
13058 calls. Handle "=" in variable values properly.
13059 (tramp-find-inline-encoding): Raise an error, when no encoding is
13061 (tramp-wait-for-output): Check, whether PROC buffer is available.
13062 Remove spurious " ^H" sequences, sent by busybox.
13063 (tramp-get-ls-command): Suppress coloring, if possible.
13065 2010-01-28 Glenn Morris <rgm@gnu.org>
13067 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13069 * log-edit.el (log-edit-strip-single-file-name): Add missing
13070 :safe, :group, and :version tags.
13072 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13074 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13075 buffers. (Bug#5477)
13077 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13079 * files.el (delete-directory): Handle moving to trash without
13080 first doing recursion (Bug#5436).
13082 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13084 * vc-hooks.el (vc-path): Mark as obsolete.
13086 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13088 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13091 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13093 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13095 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13097 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13099 * vc-bzr.el (vc-bzr-revision-table): New function.
13101 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13103 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13104 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13106 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13108 Remove support for adding --signoff on commit.
13109 Future support will use an incompatible generic mechanism.
13110 * vc-git.el (vc-git-add-signoff): Remove variable.
13111 (vc-git-toggle-signoff): Remove function.
13112 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13114 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13115 Rename from xterm-set-background-mode. Return t if the background mode
13117 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13118 earlier, call it again in case the background mode has changed.
13120 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13122 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13125 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13127 * emacs-lisp/assoc.el (aelement): Doc fix.
13128 (aput, adelete, amake): Use lexical-let (Bug#5450).
13130 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13132 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13133 is the same as subprogram call, not declaration. (Bug#5435).
13135 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13137 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13138 (tramp-smb-maybe-open-connection): Use it.
13140 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13142 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13144 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13146 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13147 just because we see "encoding: 8bit".
13148 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13150 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13152 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13154 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13156 * jka-compr.el (jka-compr-load): If load-file is not in
13157 load-history, try its file-truename version. (bug#5447)
13159 2010-01-21 Alan Mackenzie <acm@muc.de>
13161 Fix a situation where deletion of a cpp construct throws an error.
13162 * progmodes/cc-engine.el (c-invalidate-state-cache):
13163 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13164 special cpp construct is still in the buffer.
13165 (c-parse-state): Record the special cpp with markers, not numbers.
13167 2010-01-21 Kenichi Handa <handa@m17n.org>
13169 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13170 process last-command-event, as it is now decoded first (Bug#5380).
13172 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13174 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13176 2010-01-20 Glenn Morris <rgm@gnu.org>
13178 * indent.el (tab-always-indent): Fix custom-type.
13180 2010-01-19 Alan Mackenzie <acm@muc.de>
13182 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13183 buffer throws "args out of range".
13184 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13185 playing the role of delimiter.
13187 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13189 * progmodes/ada-mode.el: Fix bug#5400.
13190 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13191 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13192 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13193 Improve comments in "is" portion. Handle null procedure declaration.
13194 (ada-move-to-end): Improve doc string.
13196 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13198 * ido.el (ido-cur-list): Initialize to nil.
13199 Remove obsolete information from commentary.
13200 (ido-choice-list): Initialize to nil.
13201 (ido-get-bufname): Reject minibuffers.
13202 (ido-make-buffer-list): If "default" is a nonexistent
13203 buffer, ignore it, as per the function's comment.
13204 (ido-kill-buffer-internal): New function.
13205 (ido-kill-buffer-at-head): Use it.
13206 (ido-visit-buffer): Likewise.
13208 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13210 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13212 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13214 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13215 Fix typos in chart titles.
13217 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13218 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13219 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13220 (describe-class, eieio-describe-generic, describe-generic):
13221 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13222 (eieio-speedbar-expand):
13223 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13224 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13225 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13226 (viper-del-backward-char-in-replace, viper-backward-indent)
13227 (viper-brac-function, viper-register-to-point, viper-submit-report):
13228 * net/tramp.el (tramp-remote-coding-commands):
13229 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13230 Fix typos in docstrings.
13232 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13234 * mail/sendmail.el (mail-yank-original): Set the mark if the
13235 specified function for yanking does not do it.
13237 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13239 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13241 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13242 resyncing a directory.
13244 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13246 * progmodes/ada-mode.el: Fix bug#1920.
13247 (ada-ident-re): Delete ., allow multibyte characters.
13248 (ada-goto-label-re): New; matches goto labels.
13249 (ada-block-label-re): New; matches block labels.
13250 (ada-label-re): New; matches both.
13251 (ada-named-block-re): Delete; callers changed to use
13252 `ada-block-label-re' instead.
13253 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13254 Use `ada-block-label-re'.
13255 (ada-indent-on-previous-lines): Improve handling of goto labels.
13256 (ada-get-indent-block-start): Special-case block label.
13257 (ada-get-indent-label): Split into `ada-indent-block-label' and
13258 `ada-indent-goto-label'.
13259 (ada-goto-stmt-start, ada-goto-next-non-ws):
13260 Optionally ignore goto labels.
13261 (ada-goto-next-word): Simplify.
13262 (ada-indent-newline-indent-conditional): Insert newline before
13263 trying to fix indentation; doc fix.
13265 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13267 * calc/calc.el (calc-command-flags): Give it an initial value.
13269 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13271 * files.el (minibuffer-with-setup-hook):
13272 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13273 (artist-key-draw-continously, artist-key-do-continously-continously)
13274 (artist-key-set-point-continously, artist-mouse-draw-continously):
13275 Fix typos in docstrings.
13277 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13279 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13280 Never return t (Bug#3898).
13282 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13284 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13285 can parse the output of the external commands (Bug#5279).
13287 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13289 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13291 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13293 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13295 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13297 * startup.el (command-line): Remove unused --icon-type arg.
13298 Handle --display arg, passing it to command-line-1 (Bug#5392).
13300 2010-01-16 Mario Lang <mlang@delysid.org>
13302 * emacs-lisp/chart.el (chart-translate-namezone):
13303 * textmodes/artist.el (artist-compute-popup-menu-table):
13304 Remove duplicated words in doc-strings.
13306 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13308 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13309 to mairix-search to suppress threading (Bug#5342).
13311 2010-01-15 Kenichi Handa <handa@m17n.org>
13313 * international/mule-cmds.el (canonicalize-coding-system-name):
13314 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13316 2010-01-15 Glenn Morris <rgm@gnu.org>
13318 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13320 * wid-edit.el (widget-keymap): Doc fix.
13322 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13323 former seems to be more widely accepted by various svn versions.
13325 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13327 * find-cmd.el (find-constituents):
13328 * vc-arch.el (vc-arch-root):
13329 * window.el (window-body-height, pop-up-frames):
13330 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13331 * progmodes/ada-stmt.el (ada-if):
13332 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13333 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13334 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13335 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13337 * progmodes/flymake.el (flymake-post-syntax-check):
13338 Fix typo in error message.
13340 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13342 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13343 which is always a string. (Bug#5313)
13345 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13347 * progmodes/ada-xref.el (ada-default-prj-properties):
13348 Simplify previous change.
13350 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13352 * progmodes/ada-xref.el (ada-default-prj-properties):
13353 Default ada_project_path to $ADA_PROJECT_PATH.
13355 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13357 * progmodes/ada-mode.el (ada-create-keymap):
13358 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13360 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13362 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13363 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13364 (ada-get-current-indent, ada-imenu-generic-expression)
13365 (ada-which-function): Check for it.
13367 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13369 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13370 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13372 2010-01-14 Glenn Morris <rgm@gnu.org>
13374 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13376 2010-01-14 Kenichi Handa <handa@m17n.org>
13378 * composite.el (auto-composition-mode): Make it a buffer local
13379 variable (permanent-local).
13380 (auto-composition-function): Set the default value to
13381 auto-compose-chars.
13382 (auto-composition-mode): Make it a simple function, not a minor mode.
13383 (global-auto-composition-mode): Likewise.
13384 (turn-on-auto-composition-if-enabled): Delete it.
13386 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13388 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13390 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13392 * files.el (copy-directory): Compute target for recursive
13393 directories with identical names. (Bug#5343)
13395 2010-01-12 Glenn Morris <rgm@gnu.org>
13397 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13398 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13400 2010-01-11 Sam Steingold <sds@gnu.org>
13402 * imenu.el (imenu-default-create-index-function): Detect infinite
13403 loops caused by imenu-prev-index-position-function.
13405 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13407 * htmlfontify.el (htmlfontify-load-rgb-file)
13408 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13409 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13410 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13411 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13412 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13413 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13414 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13415 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13416 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13417 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13418 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13419 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13420 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13421 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13422 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13423 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13424 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13425 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13426 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13427 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13428 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13429 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13430 backslash-quoting from parentheses, etc.
13432 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13434 * progmodes/js.el: Autoload javascript-mode alias.
13436 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13438 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13439 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13440 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13441 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13442 Fix typos in docstrings.
13443 (ffap-url-regexp): Doc fix.
13444 (ffap-at-mouse): Fix typo in message.
13446 2010-01-11 Glenn Morris <rgm@gnu.org>
13448 * version.el (emacs-copyright): Set copyright year to 2010.
13450 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13452 * format.el (format-annotate-function): Only set
13453 write-region-post-annotation-function after running to-fn so as not to
13454 affect nested write-region calls (bug#5273).
13456 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13458 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13461 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13463 * man.el (Man-goto-section): Signal error if the section is not
13466 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13468 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13469 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13471 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13473 * progmodes/compile.el: Don't treat compile-command as safe if
13474 compilation-read-command might be nil (Bug#4218).
13476 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13478 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13481 2010-01-08 Kenichi Handa <handa@m17n.org>
13483 * international/fontset.el (build-default-fontset-data):
13484 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13486 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13488 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13489 to `create-file-buffer' as it expects, not just a buffer name.
13490 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13491 to help uniquify. (Bug#3224)
13493 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13495 * font-setting.el (font-setting-change-default-font): Use user-spec
13498 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13500 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13502 2010-01-05 Tom Tromey <tromey@redhat.com>
13504 * progmodes/python.el (python-font-lock-keywords):
13505 Handle qualified decorators (Bug#881).
13507 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13509 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13510 in a lightweight checkout.
13512 2010-01-05 Kenichi Handa <handa@m17n.org>
13514 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13516 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13518 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13520 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13522 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13523 checkouts. (Bug#618)
13524 (vc-bzr-log-view-mode): Also highlight the author.
13525 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13526 (vc-bzr-shelve-menu-map):
13527 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13528 (vc-bzr-shelve-apply): Make prompt more explicit.
13530 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13532 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13533 They are valid characters in URL paths (rfc3986), and at least
13534 Firefox does not understand the encoded version (Bug#3166).
13536 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13538 * progmodes/octave-mod.el (octave-end-keywords)
13539 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13540 Add "end" keyword (Bug#3061).
13541 (octave-end-as-array-index-p): New function.
13542 (calculate-octave-indent): Use it.
13544 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13546 * bookmark.el: Consistently put the text property on the bookmark name.
13547 (bookmark-bmenu-marks-width): Bump back to 2, to include
13549 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13550 property on the bookmark name, instead of not putting it at all.
13551 (bookmark-bmenu-list): Fix where we put the text property.
13553 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13555 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13556 for showing buffer modified state (as added in the previous change).
13558 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13560 * bookmark.el: Show modified state of bookmark buffer more accurately.
13561 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13562 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13563 (with-buffer-modified-unmodified): New macro.
13564 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13565 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13566 Use new macro to preserve the buffer modified state.
13568 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13570 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13571 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13572 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13573 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13574 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13575 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13576 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13578 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13580 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13581 Make the lines in the generated doc string shorter. (Bug#4668)
13583 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13585 * net/rcirc.el: Add follow-link binding (Bug#4738).
13587 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13589 * Makefile.in (bzr-update): Rename from cvs-update.
13590 (cvs-update): New target for backward compatibility.
13592 * makefile.w32-in (bzr-update): Rename from cvs-update.
13593 (cvs-update): New target for backward compatibility.
13595 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13597 * bookmark.el: Remove gratuitous gratitude.
13599 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13601 * bookmark.el (bookmark-bmenu-any-marks): New function.
13602 (bookmark-bmenu-save): Clear buffer modification if no marks.
13604 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13606 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13607 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13608 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13609 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13611 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13612 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13613 To: emacs-devel {_AT_} gnu.org
13614 Subject: bookmark.el bug report
13615 Date: Mon, 28 Dec 2009 14:19:16 +0800
13616 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13618 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13620 * bookmark.el: Improvements suggested by Drew Adams:
13621 (bookmark-bmenu-ensure-position): New name for
13622 `bookmark-bmenu-check-position'. Just ensure the position,
13623 don't return any meaningful value.
13624 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13627 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13629 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13630 (bookmark-yank-point, bookmark-bmenu-check-position):
13631 Fix typos in docstrings.
13632 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13633 (bookmark-name-from-full-record, bookmark-get-position)
13634 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13635 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13636 Remove useless quoting of parenthesis, etc. in docstrings.
13638 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13639 (ediff-append-custom-diff): Fix typo in error message.
13640 (ediff-meta-mark-equal-files): Fix typos in messages.
13642 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13644 * net/imap-hash.el (imap-hash-make): Doc fix.
13645 (imap-hash-test): Fix typo in error message; reflow docstring.
13646 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13647 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13648 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13649 Fix typos in docstrings.
13650 (imap-hash-open-connection): Fix typo in error message.
13652 * play/gomoku.el (gomoku): Fix typos in docstring.
13654 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13655 (gdb-jsonify-buffer): Fix typos in docstring.
13656 (gdb-goto-breakpoint): Fix typo in error message.
13657 ("Display Other Windows"): Fix typo in help message.
13658 (gdb-speedbar-expand-node): Fix typo in question.
13660 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13661 (idlwave-html-system-help-location, idlwave-html-help-location)
13662 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13663 (idlwave-help-browser-generic-args, idlwave-help-directory)
13664 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13665 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13666 (idlwave-online-help, idlwave-help-html-link)
13667 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13668 Fix typos in docstrings.
13669 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13671 (idlwave-help-assistant-start): Fix typo in error message.
13673 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13674 (octave-electric-space): Fix typos in docstrings.
13676 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13678 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13680 2010-01-01 Juri Linkov <juri@jurta.org>
13682 * comint.el (comint-input-ring-size): Make it a defcustom and
13683 increase the default to 500 (Bug#5148).
13685 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13687 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13688 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13689 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13691 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13693 Show working revision correctly for mercurial.
13694 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13695 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13697 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13699 Declare some functions for the byte-compiler.
13700 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13701 (speedbar-timer-fn, speedbar-change-expand-button-char)
13702 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13704 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13706 This changeset reverts GDB Graphical Interface to use annotations.
13707 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13709 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13711 Make vc-dir work on subdirectories of the bzr root.
13712 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13713 Return file names relative to it.
13714 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13715 relative directory to vc-bzr-after-dir-status.
13717 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13719 * font-lock.el (font-lock-refresh-defaults): New function, which
13720 can be used to let font-lock react to external changes in
13721 variables like font-lock-defaults and keywords.
13722 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13724 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13726 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13728 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13730 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13732 Supersede color.diff settings in git log (bug#5211).
13734 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13735 escape chars in its output when the user has color.diff set to `always'.
13736 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13738 2009-12-26 Kevin Ryde <user42@zip.com.au>
13740 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13741 node. Keep previous "Index" name to work with past coreutils too.
13743 * man.el (man): Revise docstring a bit to show -a and -l as
13744 examples. Add -k description since support for it has otherwise
13745 been a secret. (Further to bug#3717.)
13746 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13747 "no matches" rather than "Can't find manpage", as the latter reads
13748 like -k was interpreted as a page name, which is not so. (Bug#5431)
13750 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13752 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13753 switches. Check also for //SUBDIRED// line.
13755 2009-12-25 Kenichi Handa <handa@m17n.org>
13757 * language/indian.el (devanagari-composable-pattern): Fix to
13758 handle ZWNJ and ZWJ. Use it in composition-function-table for
13760 (malayalam-composable-pattern): Fix previous change.
13762 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13764 * ps-print.el (ps-face-attributes): It was not returning the
13765 attribute face for faces specified as string. Reported by harven
13766 <harven@free.fr>. (Bug#5254)
13767 (ps-print-version): New version 7.3.5.
13769 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13771 * calendar/icalendar.el (icalendar--convert-tz-offset):
13772 Fix timezone names.
13773 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13774 (icalendar--add-diary-entry): Remove the trailing blank that
13775 diary-make-entry inserts.
13777 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13779 Make `file-expand-wildcards' work for remote files.
13781 * files.el (file-expand-wildcards): In case of remote files, check
13782 only local file name part for wildcards. Provide feature 'files
13783 and subfeature 'remote-wildcards. (Bug#5198)
13785 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13786 if there is already an established connection.
13787 (tramp-advice-file-expand-wildcards): Remove it.
13789 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13790 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13791 Activate advice for older GNU Emacs versions. (Bug#5237)
13793 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13795 Some doc fixes (more needed).
13797 * find-cmd.el (find-constituents): Reflow docstring.
13798 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13799 (find-generic): Doc fix.
13801 2009-12-17 Juri Linkov <juri@jurta.org>
13803 Fix regression from 23.1 to allow multiple modes in Local Variables.
13805 * files.el (hack-local-variables-filter): While ignoring duplicates,
13806 don't take `mode' into account.
13807 (hack-local-variables-filter, hack-dir-local-variables):
13808 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13810 2009-12-17 Juri Linkov <juri@jurta.org>
13812 Make `dired-diff' safer. (Bug#5225)
13814 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13815 `current' or when `file' is a directory of the `current' file.
13817 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13819 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13820 unconditionally preloaded files.
13822 2009-12-16 Juri Linkov <juri@jurta.org>
13824 Revert to old 23.1 logic of using the file at the mark as default.
13825 * dired-aux.el (dired-diff): Use the file at the mark as default
13826 if it's not the same as the current file, and the target dir is
13827 the current dir or the mark is active. Add the current file
13828 as the arg of `dired-dwim-target-defaults'. Use the default file
13829 in the prompt. (Bug#5225)
13831 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13833 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13834 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13835 (tramp-check-for-regexp): Check also, when an echoing shell stops
13836 to echo sent commands.
13838 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13840 * Makefile.in: Revert last change (Bug#5191).
13842 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13844 * vc-hg.el (vc-hg-print-log): Fix argument order.
13845 (vc-hg-working-revision): Make sure the command is executed in a
13846 known environment so that we can parse the output. (Bug#4417)
13848 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13850 * progmodes/python.el (python-symbol-completions): Remove text
13851 properties from symbol string before calling python-send-receive.
13853 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13855 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13856 when there are values for both file and line. (Bug#5060)
13858 2009-12-14 Juri Linkov <juri@jurta.org>
13860 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13861 whitespace after the file name of the first line of unified format,
13862 because git-diff doesn't output whitespace and file modification time
13863 after the file name.
13865 2009-12-14 David Kastrup <dak@gnu.org>
13867 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13868 check if it already has the `display' property added by
13869 `Info-display-images-node', and not put the `invisible' property
13872 2009-12-13 Glenn Morris <rgm@gnu.org>
13874 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13875 (report-emacs-bug): In message-mode, sort manually before storing
13876 original report text. (Bug#5178)
13877 Remove superfluous save-excursion.
13879 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13881 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13882 when responding to "GetAll" properties.
13884 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13886 * simple.el (compose-mail): Remove mail-setup-with-from from
13887 customization checks.
13889 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13891 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13892 RAR archives created on Unix systems.
13894 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13896 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13897 the varalias that was accidentally removed by the 2009-11-19 change
13900 2009-12-12 Kenichi Handa <handa@m17n.org>
13902 * language/indian.el (indian-compose-regexp): New function.
13903 (malayalam-composable-pattern): Fix the pattern.
13904 (composition-function-table): Set malayalam-composable-pattern for
13905 Malayalam characters.
13907 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13909 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13910 rather than down-mouse-1, based on follow-link conventions.
13912 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13915 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13917 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13918 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13919 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13920 (verilog-leap-to-head, verilog-backward-token):
13921 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13923 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13925 * progmodes/verilog-mode.el (verilog-auto-lineup)
13926 (verilog-nameable-item-re): Cleanup user-visible spelling and
13927 documentation errors. One reported by Gary Delp.
13928 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13929 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13930 package, bug195. Reported by Pierre-David Pfister.
13932 2009-12-11 Glenn Morris <rgm@gnu.org>
13934 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13936 * mail/emacsbug.el: No longer require sendmail.
13937 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13938 (report-emacs-bug-orig-text): Doc fix.
13939 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13940 New local variables, to adapt to different mail-user-agents.
13941 (report-emacs-bug): Fix test for a gnu.org address.
13942 Use overlays for emphasis, since font-lock defeats 'face property.
13943 Pretest bugs also end up at the newsgroup these days.
13944 Stop message-mode stripping text properties.
13945 Set and use the new buffer-local variables.
13946 (report-emacs-bug-hook): Add doc-string.
13947 Remove some unnecessary save-excursions and simplify.
13948 Use the appropriate hook and send-command.
13950 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13951 capitalization of some menu entries.
13953 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13955 * whitespace.el (whitespace-display-char-on):
13956 Ensure `buffer-display-table' is unique when two or more windows are
13957 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13960 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13962 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13963 characters in the Attribute field.
13965 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13967 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13969 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13971 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13972 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13973 Disregard autoload-excludes.
13974 (update-directory-autoloads): Obey autoload-excludes here instead.
13975 But don't store its contents in no-autoloads and remove entries that
13976 refer to excludes files.
13978 2009-12-10 Glenn Morris <rgm@gnu.org>
13980 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13981 (expand-mail-aliases): Define for compiler.
13983 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13984 Define for compiler.
13986 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13987 appropriate for the mail-user-agent in use.
13989 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13991 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13993 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13995 Fix short log parsing and fontification.
13996 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13997 Fix fontification for the [merge] label.
13999 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14001 Drop some properties to avoid surprises (bug#5002).
14002 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14003 (hfy-fontify-buffer): Use it.
14005 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14008 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14009 Adjust all callers.
14010 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14011 args compulsory. Adjust callers.
14012 (ffap-gopher-at-point): Remove unused var `name'.
14014 Get rid of the ELCFILES abomination.
14015 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14016 (compile-elcfiles): New phony target.
14017 (compile-main): Compute ELCFILES dynamically.
14018 (compile-clean): New target to remove left-over elc files.
14019 (compile, all): Use it.
14021 2009-12-09 Kenichi Handa <handa@etlken>
14023 * international/mule-diag.el: Require help-mode instead of help-fns.
14025 2009-12-09 Kenichi Handa <handa@m17n.org>
14027 * international/mule-cmds.el (ucs-names): Supply sufficiently
14028 fine ranges instead of pre-calculating accurate ranges.
14029 Iterate with bigger gc-cons-threshold.
14031 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14033 Add support for stashing a snapshot of the current tree.
14034 * vc-git.el (vc-git-stash-snapshot): New function.
14035 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14037 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14039 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14040 instead of `(beginning|end)-of-line'.
14042 2009-12-08 Glenn Morris <rgm@gnu.org>
14044 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14046 * Makefile.in (ELCFILES): Regenerate.
14048 2009-12-07 Juri Linkov <juri@jurta.org>
14050 Don't lazy-highlight the comint output in history Isearch mode.
14052 * comint.el (comint-history-isearch-search): Instead of
14053 `comint-line-beginning-position', use `comint-after-pmark-p'
14054 to check if point if before the process mark, and go to
14055 `process-mark' in this case.
14057 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14059 * textmodes/tex-mode.el (latex-complete)
14060 (latex-indent-or-complete): Remove.
14061 (latex-mode): Set completion-at-point-functions instead.
14063 Provide a standard completion command and hook it into TAB.
14064 * minibuffer.el (completion-at-point-functions): New var.
14065 (completion-at-point): New command.
14066 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14067 * progmodes/python.el (python-mode-map): Use completion-at-point.
14068 (python-completion-at-point): Rename from python-partial-symbol and
14069 adjust for use in completion-at-point-functions.
14070 (python-mode): Setup completion-at-point for Python completion.
14071 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14072 extracted from lisp-complete-symbol.
14073 (lisp-complete-symbol): Use it.
14074 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14075 setup completion-at-point for Elisp completion.
14076 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14077 Use completion-at-point.
14078 * ielm.el (ielm-map): Use completion-at-point.
14079 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14080 * progmodes/sym-comp.el: Move to...
14081 * obsolete/sym-comp.el: Move from progmodes.
14083 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14085 Prevent save-buffer in Rmail buffers from using the coding-system
14086 of the current message, and from clobbering the encoding mnemonics
14087 in the mode line (Bug#4623).
14089 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14091 (rmail-message-encoding): New variable.
14092 (rmail-write-region-annotate): Record the encoding of the current
14093 message in rmail-message-encoding.
14094 (rmail-after-save-hook): New function, restores the encoding of
14095 the current message after the message collection is saved.
14097 2009-12-07 Juri Linkov <juri@jurta.org>
14099 * progmodes/grep.el (grep-read-files): Use `completing-read'
14100 instead of `read-string'. Set its `collection' arg to
14101 `read-file-name-internal'. (Bug#4301)
14103 2009-12-07 Juri Linkov <juri@jurta.org>
14105 Correctly restore original Isearch point. (Bug#4994)
14107 * isearch.el (isearch-mode): Move `isearch-push-state' after
14108 `(run-hooks 'isearch-mode-hook)'.
14109 (isearch-cancel): When `isearch-push-state-function' is defined,
14110 let-bind `isearch-cmds' to the first state (the last element of
14111 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14112 function and restores the original point). Otherwise, move point
14113 to `isearch-opoint'.
14115 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14117 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14118 chars that don't have names, so the table can be built much faster at
14121 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14123 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14124 change. Suggested by David Kastrup.
14126 * simple.el (compose-mail): Check for incompatibilities and warn.
14127 (compose-mail-user-agent-warnings): New option.
14129 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14131 Support showing a single log entry from vc-annotate.
14132 * vc.el (print-log): Add a new argument: START-REVISION.
14133 (vc-print-log-internal): Add a new optional argument and
14134 pass it to the backend.
14135 (vc-print-log, vc-print-root-log): Adjust callers.
14136 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14137 buffer already displays the requested log entry, use it.
14138 Otherwise display only the log entry in question.
14139 * vc-svn.el (vc-svn-print-log):
14140 * vc-mtn.el (vc-mtn-print-log):
14141 * vc-hg.el (vc-hg-state):
14142 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14143 (vc-git-show-log-entry): Return t on success.
14144 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14145 (vc-bzr-show-log-entry): Return t on success.
14146 * vc-rcs.el (vc-rcs-print-log):
14147 * vc-sccs.el (vc-sccs-print-log):
14148 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14150 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14152 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14153 Add menus to the meta mode. (Bug#5043)
14155 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14157 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14160 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14162 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14164 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14165 Berbain <raphael.berbain@gmail.com>.
14167 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14169 (tramp-initial-end-of-output): New defconst.
14170 (tramp-methods, tramp-find-shell)
14171 (tramp-open-connection-setup-interactive-shell)
14172 (tramp-maybe-open-connection): Use it.
14173 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14174 Handle existence of `#' and `$'.
14176 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14177 Use `tramp-initial-end-of-output'.
14179 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14181 Get the background mode from the terminal for xterm, and set
14183 * term/xterm.el (xterm-set-background-mode): New function.
14184 (terminal-init-xterm): Use it in case xterm supports background
14185 color queries. Recompute faces after getting the background
14188 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14190 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14191 number comment back on its own line, for easier parsing.
14193 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14195 Make it work for non-file buffers (bug#5102).
14196 * doc-view.el (doc-view-current-cache-dir):
14197 Use doc-view-buffer-file-name rather than buffer-file-name.
14198 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14200 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14202 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14203 author field is too short.
14205 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14207 * vc-git.el (vc-git-print-log): Handle a limit argument.
14208 Display the short log in graph form and with labels.
14209 (vc-git-log-view-mode): Handle labels.
14211 Make vc-revert change VC state from 'added to 'unregistered.
14212 * vc-git.el (vc-git-revert): Call git reset first.
14214 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14216 * net/newst-backend.el, net/newst-plainview.el:
14217 * net/newst-reader.el, net/newst-ticker.el:
14218 * net/newst-treeview.el, net/newsticker.el:
14219 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14221 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14223 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14225 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14226 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14227 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14228 Update annotation regexp.
14230 * simple.el (beginning-of-visual-line): Constrain to field
14231 boundaries (Bug#5106).
14233 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14235 * xml.el (xml-substitute-numeric-entities):
14236 Move newsticker--decode-numeric-entities in newst-backend.el to
14237 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14238 * net/newst-backend.el (newsticker--parse-generic-feed)
14239 (newsticker--parse-generic-items)
14240 (newsticker--decode-numeric-entities):
14241 Move newsticker--decode-numeric-entities in newst-backend.el to
14242 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14244 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14246 * progmodes/js.el (js--js-not): Add null to the list of values.
14248 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14250 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14252 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14254 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14255 delimiter if it is at the end of the current line.
14256 (bibtex-generate-url-list): Fix docstring.
14258 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14260 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14261 minibuffer's content with itself.
14262 Fold the confirm-after-completion case into the `confirm' case.
14263 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14265 2009-12-06 Kevin Ryde <user42@zip.com.au>
14267 * ffap.el (ffap-rfc-path): Make this a defcustom since
14268 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14270 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14271 manuals, similar to existing setup for help-mode. (Bug#3913.)
14273 2009-12-05 Juri Linkov <juri@jurta.org>
14275 Save and restore dired buffer's point positions too. (Bug#4880)
14277 * dired.el (dired-save-positions): Return in the first element
14278 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14280 (dired-restore-positions): First restore buffer's position.
14281 While restoring window's positions, check if window still displays
14282 the original buffer.
14284 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14286 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14289 * shell.el (shell): Require ansi-color (Bug#5113).
14291 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14293 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14295 2009-12-05 Alan Mackenzie <acm@muc.de>
14297 * progmodes/cc-mode.el (c-before-hack-hook)
14298 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14299 `c-file-style' to work again. This reversion restores the current
14300 software to its state in Emacs 23.1. (Bug#4146)
14302 2009-12-05 Kevin Ryde <user42@zip.com.au>
14304 * textmodes/sgml-mode.el (sgml-lexical-context):
14305 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14307 2009-12-05 Juri Linkov <juri@jurta.org>
14309 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14310 for virtual nodes. (Bug#4147)
14311 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14312 when moving from a virtual node.
14313 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14314 (Info-mode): Add `Info-virtual-index' to the docstring.
14316 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14318 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14319 track of the buffer position of the end of a BibTeX entry as this
14320 position may change during reformatting.
14321 (bibtex-format-entry): Remove whitespace before processing
14322 numerical fields so that we recognize the latter properly.
14323 (bibtex-reformat): Do not use push which changes the global value
14324 of bibtex-entry-format.
14325 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14326 (bibtex-field-re-init): Replace only space characters by regexp
14328 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14329 (bibtex-initialize): Also update bibtex-strings.
14330 (bibtex-kill-field): Preserve white space at end of entry.
14331 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14332 Update bibtex-reference-keys.
14334 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14336 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14337 point after a star, if that's the only place where modifications can
14340 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14342 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14345 2009-12-04 Juri Linkov <juri@jurta.org>
14347 * proced.el (proced): Call `(proced-update t)' to update process
14348 information instead of only running proced-post-display-hook.
14349 (proced-send-signal): Add a leading space to the buffer name
14350 " *Marked Processes*" to make this buffer ephemeral.
14352 2009-12-04 Juri Linkov <juri@jurta.org>
14354 * dired.el (dired-auto-revert-buffer): New defcustom.
14355 (dired-internal-noselect): Use it.
14357 2009-12-04 Juri Linkov <juri@jurta.org>
14359 Change roles of modes and functions in image-mode.el (Bug#5062).
14361 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14362 in `auto-mode-alist'.
14363 (image-mode-previous-major-mode): New variable.
14364 (image-minor-mode-map): Rename from `image-mode-text-map'.
14365 (image-mode): Move graceful error-handling code from
14366 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14367 (image-minor-mode): Remove all image-handling code.
14368 Replace `image-mode-text-map' with `image-minor-mode-map'.
14369 Check for `image-type' in mode-line format string.
14370 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14371 (image-mode-as-text): New function with most code from
14372 `image-mode-maybe'.
14373 (image-toggle-display-text): Move code that removes image
14374 properties from `image-toggle-display' to here.
14375 (image-toggle-display-image): New function with code that adds
14376 image properties copied from `image-toggle-display'.
14377 (image-toggle-display): Remove most code with leaving only code
14378 that toggles between `image-mode-as-text' and `image-mode'.
14380 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14382 * net/newst-treeview.el
14383 (newsticker--treeview-list-highlight-start): Restored call to
14384 save-excursion: Selected item was stuck.
14385 (newsticker--treeview-list-select): New.
14386 (newsticker--treeview-item-show-text)
14387 (newsticker--treeview-item-show)
14388 (newsticker--treeview-item-update): Use new
14389 newsticker-treeview-item-mode.
14390 (newsticker-treeview-update): Keep current item.
14391 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14392 (newsticker--treeview-first-feed): Doc change.
14393 (newsticker-treeview-list-menu)
14394 (newsticker-treeview-item-menu): Add menu entries.
14395 (newsticker-treeview-item-mode): New.
14397 * net/newst-backend.el (newsticker-customize): Delete other
14400 2009-12-04 Sam Steingold <sds@gnu.org>
14402 * log-view.el (log-view-mode-map): "q" calls quit-window,
14403 like in all the other non-self-insert buffers.
14405 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14408 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14409 key decoding rather than do it manually via last-input-event +
14411 (term-exec): Use delete-and-extract-region.
14412 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14413 (term-process-pager): Remove unused var `i'.
14414 (term-dynamic-simple-complete): Make obsolete.
14415 (serial-update-config-menu): Remove unused vars `y' and `str'.
14416 (term-update-mode-line): Remove unused var `temp'.
14418 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14420 Limit the number of log entries displayed by default.
14421 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14422 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14423 using a prefix argument.
14425 2009-12-03 Glenn Morris <rgm@gnu.org>
14427 * progmodes/idlwave.el (class): Restore still useful declaration.
14429 2009-12-03 Alan Mackenzie <acm@muc.de>
14431 Enhance `c-parse-state' to run efficiently in "brace deserts".
14433 * progmodes/cc-mode.el (c-basic-common-init):
14434 Call c-state-cache-init.
14435 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14436 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14437 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14439 * progmodes/cc-langs.el (c-before-font-lock-function):
14440 c-extend-and-neutralize-syntax-in-CPP has been renamed
14441 c-neutralize-syntax-in-and-mark-CPP.
14443 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14444 with `category' properties now, not `syntax-table' ones.
14446 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14447 enhanced (but slower) version of c-end-of-macro that won't land
14448 inside a literal or on another awkward character.
14449 (c-state-cache-too-far, c-state-cache-start)
14450 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14451 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14452 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14453 (c-state-min-scan-pos, c-state-brace-pair-desert)
14454 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14455 buffer local variables.
14456 (c-state-literal-at, c-state-lit-beg)
14457 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14458 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14459 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14460 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14461 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14462 (c-renarrow-state-cache)
14463 (c-append-lower-brace-pair-to-state-cache)
14464 (c-state-push-any-brace-pair, c-append-to-state-cache)
14465 (c-remove-stale-state-cache)
14466 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14467 (c-invalidate-state-cache-1, c-parse-state-1)
14468 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14469 (c-parse-state): Enhance and refactor.
14470 (c-debug-parse-state): Amend to deal with all the new variables.
14472 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14473 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14474 modify to use category text properties rather than syntax-table ones.
14475 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14476 to switch off/on the syntactic paren property of C++ template
14477 delimiters using the category property.
14478 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14479 template delims suppressed.
14480 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14481 New constant/macros which apply category properties to the start
14482 and end of preprocessor constructs.
14483 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14484 "comment out" the syntactic value of characters in preprocessor
14486 (c-with-cpps-commented-out)
14487 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14488 with characters in all or all but one preprocessor constructs
14491 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14493 * proced.el (proced-filter-alist): Use regexp-quote.
14495 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14498 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14499 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14500 arguments. Expand `default-directory'.
14502 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14503 the benefit of returning an expanded localname.
14504 (tramp-tramp-file-p): Handle the case NAME is not a string.
14506 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14508 Add support for bzr shelve/unshelve.
14509 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14510 (vc-bzr-extra-menu-map): New variables.
14511 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14512 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14513 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14514 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14515 (vc-bzr-dir-extra-headers): Display shelves.
14517 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14519 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14521 * textmodes/bibtex.el (bibtex-complete-internal):
14522 Use completion-in-region.
14523 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14525 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14527 Support applying stashes. Improve UI.
14528 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14529 (vc-git-stash-apply, vc-git-stash-pop)
14530 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14531 (vc-git-stash-menu): New functions.
14532 (vc-git-stash-menu-map): New variable.
14533 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14535 2009-12-03 Glenn Morris <rgm@gnu.org>
14537 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14538 (vc-print-log-internal): Fix previous change.
14539 (vc-revert): Correct pluralization.
14541 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14543 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14544 it to be an alist any more.
14545 (makefile-complete): Use completion-in-region.
14547 * progmodes/octave-mod.el (octave-complete-symbol):
14548 Use completion-in-region.
14551 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14552 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14553 (idlwave-complete-class): Don't quote lambda.
14554 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14555 (idlwave-mode-map): Move initialization into declaration.
14556 (idlwave-action-and-binding): Use backquotes.
14557 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14559 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14560 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14561 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14562 `parts', and `all-parts'.
14563 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14564 (idlwave-convert-xml-system-routine-info): Remove unused string
14566 (idlwave-display-user-catalog-widget): Use dolist.
14567 (idlwave-scanning-lib): Declare dynamically-scoped var.
14568 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14569 (completion-highlight-first-word-only): Declare to silence bytecomp.
14570 (idlwave-popup-select): Tighten scope of `resp'.
14571 (idlwave-find-struct-tag): Remove unused var `beg'.
14572 (idlwave-after-load-rinfo-hook): Declare.
14573 (idlwave-sintern-class-info): Remove unused var `taglist'.
14574 (idlwave-find-class-definition): Remove unused var `list'.
14575 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14576 (idlwave-what-module-find-class): Remove unused var `classes'.
14578 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14580 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14582 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14584 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14585 buffers visited. Remove redundant current-buffer-saving.
14587 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14589 Use completion-in-buffer and remove uses of dynamic scoping.
14590 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14591 (pascal-buffer-to-use, pascal-flag): Don't declare.
14592 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14593 (pascal-get-completion-decl, pascal-keyword-completion):
14594 Add `pascal-str' argument, save-excursion,
14595 return the found completions, and don't filter with pascal-pred.
14596 (pascal-completion-cache): New var.
14597 (pascal-completion): Don't switch buffer any more (it was never
14598 necessary). Don't save-excursion any more (it's done by the called
14599 subroutines). Use a cache to avoid redundant computations.
14600 Use complete-with-action rather than pascal-completion-response and
14601 let it apply the predicate as well.
14602 (pascal-complete-word): Use completion-in-buffer when
14603 pascal-toggle-completions is nil.
14604 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14606 (pascal-comp-defun): Don't change buffer any more.
14607 Use complete-with-action rather than pascal-completion-response and
14608 let it apply the predicate as well.
14609 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14612 2009-12-02 Kenichi Handa <handa@m17n.org>
14614 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14615 shape for all Indic scripts.
14617 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14619 Use completion-in-buffer.
14620 * wid-edit.el (widget-field-text-end): New function.
14621 (widget-field-value-get): Use it.
14622 (widget-string-complete, widget-file-complete)
14623 (widget-color-complete): Use it and completion-in-region.
14624 (widget-complete): Don't narrow the buffer.
14626 2009-12-02 Glenn Morris <rgm@gnu.org>
14628 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14629 (rmail-select-summary): Use rmail-pop-to-buffer.
14630 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14631 rmail-pop-to-buffer, to prevent horizontal splits.
14633 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14634 save-excursion with save-current-buffer.
14635 Widen before searching. (Bug#5093)
14636 (diary-list-sexp-entries): Remove superfluous save-excursion.
14638 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14640 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14643 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14645 * ido.el (ido-file-internal): Handle filenames at point that do
14646 not have a directory part. (Bug#5049)
14648 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14650 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14651 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14653 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14655 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14656 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14659 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14661 * comint.el (comint-insert-input): Ignore clicks to the right of
14662 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14664 * vc.el (vc-print-log-internal): Don't wait for the process to
14665 terminate before setting up the major mode.
14667 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14670 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14673 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14675 2009-12-01 Glenn Morris <rgm@gnu.org>
14677 * window.el (window--display-buffer-2): Fix previous changes.
14679 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14681 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14683 2009-12-01 Glenn Morris <rgm@gnu.org>
14685 * Makefile.in (ELCFILES): Add mpc.elc.
14687 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14689 * mpc.el: New file.
14691 2009-12-01 Glenn Morris <rgm@gnu.org>
14693 * window.el (window-to-use): Define for compiler.
14695 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14696 consistent with others (no final period).
14698 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14699 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14701 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14703 Make vc-print-log buttons work.
14704 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14706 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14708 * savehist.el (savehist-autosave-interval): Allow setting to nil
14709 through customize. (Bug#5056)
14711 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14713 Fix references to jit-lock properties.
14714 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14715 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14716 (perl-font-lock-special-syntactic-constructs):
14717 Quote jit-lock-defer-multiline property.
14719 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14721 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14723 2009-11-30 Juri Linkov <juri@jurta.org>
14725 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14726 value `buffer' of `multi-isearch-next-buffer-current-function'.
14727 Use `(current-buffer)' when `buffer' is nil.
14728 (multi-isearch-next-buffer-from-list): Don't fallback to
14729 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14731 2009-11-30 Juri Linkov <juri@jurta.org>
14733 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14734 of buffers with `get-buffer' to `multi-isearch-buffers'.
14735 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14736 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14737 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14738 FILES with `expand-file-name' converting relative file names
14739 to absolute. Doc fix. (Bug#4727)
14741 2009-11-30 Juri Linkov <juri@jurta.org>
14743 * misearch.el (multi-isearch-read-buffers)
14744 (multi-isearch-read-matching-buffers): New functions.
14745 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14746 Use them in the `interactive' spec. Doc fix.
14747 (multi-isearch-read-files, multi-isearch-read-matching-files):
14749 (multi-isearch-files, multi-isearch-files-regexp):
14750 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14752 2009-11-30 Juri Linkov <juri@jurta.org>
14754 * doc-view.el (doc-view-continuous):
14755 Rename from `doc-view-continuous-mode'.
14756 (doc-view-menu): Move "Toggle display" to the top.
14757 Add submenu "Continuous" with radio buttons "Off"/"On"
14758 and "Save as Default".
14759 (doc-view-scroll-up-or-next-page)
14760 (doc-view-scroll-down-or-previous-page)
14761 (doc-view-next-line-or-next-page)
14762 (doc-view-previous-line-or-previous-page):
14763 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14765 2009-11-30 Juri Linkov <juri@jurta.org>
14767 * comint.el (comint-mode-map): Rebind `M-r' from
14768 `comint-previous-matching-input' to
14769 `comint-history-isearch-backward-regexp'.
14770 Unbind `M-s' to allow global key binding `M-s'.
14771 Add menu items for `comint-history-isearch-backward' and
14772 `comint-history-isearch-backward-regexp'. (Bug#3746)
14774 2009-11-30 Juri Linkov <juri@jurta.org>
14776 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14777 For def=recenter, replace `recenter' with `recenter-top-bottom'
14778 that is called with `this-command' and `last-command' let-bound
14779 to `recenter-top-bottom'. When the last `def' was not `recenter',
14780 set `recenter-last-op' to nil. (Bug#4981)
14782 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14784 Minor cleanup and simplification.
14785 * filecache.el (file-cache-add-directory)
14786 (file-cache-add-directory-recursively)
14787 (file-cache-add-from-file-cache-buffer)
14788 (file-cache-delete-file-regexp, file-cache-delete-directory)
14789 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14790 (file-cache-temp-minibuffer-message): Delete function.
14791 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14793 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14794 Don't signal an error when bumping into EOB in tr, s, or y.
14796 2009-11-29 Juri Linkov <juri@jurta.org>
14798 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14801 * descr-text.el (describe-char-unidata-list): Use lowercase name
14802 for "Unicode name" like in other tags.
14804 2009-11-29 Juri Linkov <juri@jurta.org>
14806 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14807 New compatibility macro.
14808 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14810 2009-11-29 Juri Linkov <juri@jurta.org>
14812 Add defcustom to define the cycling order of `recenter-top-bottom'.
14815 * window.el (recenter-last-op): Doc fix.
14816 (recenter-positions): New defcustom.
14817 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14818 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14820 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14822 Improve integration of Tramp and ange-ftp in eshell.
14824 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14825 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14826 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14828 * eshell/esh-util.el (top): Require also Tramp when compiling.
14829 (eshell-directory-files-and-attributes): Check for FTP remote
14831 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14832 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14833 (eshell-file-attributes): Handle ".". Return `entry'.
14835 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14836 (ange-ftp-directory-files-and-attributes)
14837 (ange-ftp-real-directory-files-and-attributes): New defuns.
14839 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14840 shell with "exec" when possible. This prevents trailing prompts
14841 in `start-file-process'.
14843 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14845 Try and remove assumptions about point-min==1.
14846 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14847 (rng-compute-mode-line-string): Show the validation percentage in
14848 terms of the narrowed text, not the widened text.
14849 (rng-do-some-validation): Don't catch internal errors when debugging.
14850 (rng-first-error): Simplify.
14851 (rng-after-change-function): Remove work around. AFAIK the bug has
14852 been fixed a while ago.
14854 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14855 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14857 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14859 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14860 `cd' doesn't always do it for us (bug#5067).
14862 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14863 on 2009-10-25 as part of some other change (bug#5067).
14865 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14867 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14869 (byte-compile-warnings): Use byte-compile-warning-types.
14870 (byte-compile-save-excursion): Warn about use of set-buffer right
14871 after save-excursion.
14873 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14874 the excursion as well.
14876 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14878 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14879 providing a Tramp related implementation of "su" and "sudo".
14880 (eshell-unix-initialize): Add "su" and "sudo".
14882 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14884 * net/socks.el (socks-send-command): Convert binary request to
14885 unibyte before sending. This fixes mishandling of some port
14886 numbers such as 129.
14888 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14890 * help.el (describe-bindings-internal): Remove `interactive'.
14892 * man.el (Man-completion-table): Trim a terminating "(".
14893 Remove the space between name page a section.
14894 Add the command's description on the `help-echo' property.
14895 Remove `process-connection-type' binding since it's unused by
14897 Provide completion for the "<section> <name>" format as well.
14898 (Man-default-man-entry): Remove spurious var shadowing the argument.
14900 2009-11-26 Kevin Ryde <user42@zip.com.au>
14902 * log-view.el: Add "Keywords: tools", since its other keywords
14903 aren't in finder-known-keywords, and following vc.el.
14905 * sha1.el (sha1-string-external): default-directory "/" in case
14906 otherwise non-existent. process-connection-type pipe for touch of
14907 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14909 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14911 Misc coding convention cleanups.
14912 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14913 hfy-init-kludge-hooks.
14914 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14915 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14916 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14918 (hfy-slant, hfy-weight): Use tables rather than code.
14919 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14920 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14921 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14922 (hfy-face-to-css): Remove `nconc' with single arg.
14923 (hfy-p-to-face-lennart): Use `or'.
14924 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14925 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14926 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14927 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14928 (hfy-force-fontification): Use run-hooks.
14930 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14932 Various minor fixes.
14933 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14934 Javascript belongs in the header, not the body.
14935 (hfy-javascript): Remove.
14936 (hfy-fontify-buffer): Don't insert it any more.
14937 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14938 Fix bug in invis handling when there were no invis props in a chunk.
14940 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14942 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14944 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14946 * finder.el (finder-mode-map): Add a menu.
14948 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14950 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14951 "unsigned" structs.
14953 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14954 fork" statement better.
14956 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14958 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14959 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14960 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14961 Reported by Clay Douglass.
14963 (verilog-auto-inst, verilog-auto-star-safe)
14964 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14965 Fix removing "// Interfaces" when saving .* expansions.
14966 Reported by Pierre-David Pfister.
14968 2009-11-26 Glenn Morris <rgm@gnu.org>
14970 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14973 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14975 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14976 Really use previous revision.
14978 2009-11-25 Kevin Ryde <user42@zip.com.au>
14980 * man.el (Man-completion-table): default-directory "/" in case
14981 doesn't otherwise exist. process-environment COLUMNS=999 so as
14982 not to truncate long names. process-connection-type pipe to avoid
14983 any chance of hitting the pseudo-tty TIOCGWINSZ.
14984 (man): completion-ignore-case t for friendliness and since man
14985 itself is case-insensitive on the command line.
14986 Further to Bug#3717.
14988 * arc-mode.el: Add "Keywords: files", so the details in its
14989 commentary can be reached from finder-by-keyword.
14990 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14991 editing mode, but it's comms related and sgml-mode.el has "comm"
14993 * textmodes/bibtex-style.el: Add "Keywords: tex".
14994 * international/isearch-x.el, international/ja-dic-cnv.el:
14995 * international/ja-dic-utl.el, international/kkc.el:
14996 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14998 2009-11-25 Juri Linkov <juri@jurta.org>
15000 * man.el (Man-completion-table): Modify regexp to include
15001 section names to completion strings. (Bug#3717)
15003 2009-11-25 Juri Linkov <juri@jurta.org>
15005 Search recursively in gzipped files. (Bug#4982)
15007 * progmodes/grep.el (grep-highlight-matches): Add new options
15008 `always' and `auto'. Doc fix.
15009 (grep-process-setup): Check `grep-highlight-matches' for
15010 `auto-detect' to determine the need to compute grep defaults.
15011 Move Windows/DOS specific --colors settings handling
15012 to `grep-compute-defaults'. Check `grep-highlight-matches'
15013 to get the value of "--color=".
15014 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15015 has the value `auto-detect'. Move Windows/DOS specific settings
15016 from `grep-process-setup'.
15017 (zrgrep): New command with alias `rzgrep'.
15019 2009-11-25 Juri Linkov <juri@jurta.org>
15021 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15022 to nil instead of switching off view-mode. (Bug#4896)
15024 2009-11-25 Juri Linkov <juri@jurta.org>
15026 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15028 * mwheel.el (mwheel-scroll-up-function)
15029 (mwheel-scroll-down-function): New defvars.
15030 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15031 `scroll-up', and `mwheel-scroll-down-function' instead of
15034 * doc-view.el (doc-view-scroll-up-or-next-page)
15035 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15036 Use this ARG in the call to image-scroll-up/image-scroll-down.
15037 Change `interactive' spec to "P". Goto next/previous page only
15038 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15039 SPC/DEL case). Doc fix.
15040 (doc-view-next-line-or-next-page)
15041 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15043 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15044 `doc-view-scroll-up-or-next-page', and buffer-local
15045 `mwheel-scroll-down-function' to
15046 `doc-view-scroll-down-or-previous-page'.
15048 2009-11-25 Juri Linkov <juri@jurta.org>
15050 Provide additional default values (directories at other Dired
15051 windows) via M-n in the minibuffer of some Dired commands.
15053 * dired-aux.el (dired-diff, dired-compare-directories)
15054 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15055 `minibuffer-default' in `minibuffer-with-setup-hook'.
15056 (dired-dwim-target-directory): Find a window that displays Dired
15057 buffer instead of failing when the next window is not Dired.
15058 Use `get-window-with-predicate' to find for the next Dired window.
15059 (dired-dwim-target-defaults): New function.
15061 * ediff-util.el (ediff-read-file-name):
15062 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15063 in `minibuffer-with-setup-hook'.
15065 2009-11-25 Juri Linkov <juri@jurta.org>
15067 Provide additional default values (file name at point or at the
15068 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15070 * minibuffer.el (read-file-name-defaults): New function.
15071 (read-file-name): Reset `minibuffer-default' to nil when
15072 it duplicates initial input `insdef'.
15073 Bind `minibuffer-default-add-function' to lambda that
15074 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15075 (minibuffer-insert-file-name-at-point): New command.
15077 * files.el (file-name-at-point-functions): New defcustom.
15078 (find-file-default): Remove defvar.
15079 (find-file-read-args): Don't use `find-file-default'.
15080 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15081 to `read-file-name'.
15082 (find-file-literally): Use `read-file-name' with
15083 `confirm-nonexistent-file-or-buffer'.
15085 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15087 * dired.el (dired-read-dir-and-switches):
15088 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15089 to `read-file-name'.
15090 (dired-file-name-at-point): New function.
15091 (dired-mode): Add hook `dired-file-name-at-point' to
15092 `file-name-at-point-functions'.
15094 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15096 Really make the *Completions* window soft-dedicated (bug#5030).
15097 * window.el (window--display-buffer-2): Add `dedicated' argument.
15098 (display-buffer): Pass it when needed so the dedicated flag is set
15099 after calling set-window-buffer, which would otherwise reset it.
15101 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15103 * progmodes/meta-mode.el (meta-complete-symbol):
15104 * progmodes/etags.el (complete-tag):
15105 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15106 Use completion-in-region.
15108 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15109 (dabbrev-completion): Use completion-in-region.
15110 (dabbrev--abbrev-at-point): Simplify regexp.
15112 * abbrev.el (abbrev--before-point): Use word-motion functions
15113 if :regexp is not specified (bug#5031).
15115 * subr.el (string-prefix-p): New function.
15117 * man.el (Man-completion-cache): New var.
15118 (Man-completion-table): Use it.
15120 * vc.el (vc-print-log-internal): Make `limit' optional for better
15121 compatibility (e.g. with vc-annotate.el).
15123 2009-11-24 Kevin Ryde <user42@zip.com.au>
15125 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15126 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15128 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15129 when .el source file not found or other error.
15131 2009-11-24 Markus Triska <markus.triska@gmx.at>
15133 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15135 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15137 Handle the [back] button properly (bug#4979).
15138 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15139 Use help-setup-xref, help-buffer, and with-help-window.
15140 (describe-char): Add `buffer' argument.
15141 Pass proper command to help-setup-xref. Don't meddle with
15142 help-xref-stack-item directly.
15143 (describe-text-category): Use with-help-window and help-buffer.
15145 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15146 for the displayed buffer (bug#4887).
15148 * man.el (Man-completion-table): New function.
15151 2009-11-24 David Reitter <david.reitter@gmail.com>
15153 * vc-git.el (vc-git-registered): Use checkout directory (where
15154 .git is) rather than the file's directory and a relative path spec
15155 to work around a bug in git.
15157 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15159 Improve handling of processes on remote hosts.
15161 * eshell/esh-util.el (eshell-path-env): New defvar.
15162 (eshell-parse-colon-path): New defun.
15163 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15165 * eshell/esh-ext.el (eshell-search-path):
15166 Use `eshell-parse-colon-path'.
15167 (eshell-remote-command): Remove argument HANDLER.
15168 (eshell-external-command): Check for FTP remote connection.
15170 * eshell/esh-proc.el (eshell-gather-process-output):
15171 Use `file-truename', in order to start also symlinked files.
15172 Apply `start-file-process' instead of `start-process'.
15173 Shorten `command' to the local file name part.
15175 * eshell/em-cmpl.el (eshell-complete-commands-list):
15176 Use `eshell-parse-colon-path'.
15178 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15180 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15181 to `eshell-directory-change-hook'.
15183 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15185 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15186 because it could be enabled automatically if view-read-only is non-nil.
15188 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15190 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15191 made on 2009-11-22.
15193 2009-11-24 Glenn Morris <rgm@gnu.org>
15195 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15196 deleted variable bookmark-bmenu-bookmark-column.
15198 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15200 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15202 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15204 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15205 two slashes to the "file:" prefix.
15206 (browse-url-file-url): De-munge Cygwin filenames before passing
15207 them to Windows browser.
15208 (browse-url-default-windows-browser): Use call-process.
15210 2009-11-23 Juri Linkov <juri@jurta.org>
15212 Implement DocView Continuous mode. (Bug#4896)
15213 * doc-view.el (doc-view-continuous-mode): New defcustom.
15214 (doc-view-mode-map): Bind C-n/<down> to
15215 `doc-view-next-line-or-next-page', C-p/<up> to
15216 `doc-view-previous-line-or-previous-page'.
15217 (doc-view-next-line-or-next-page)
15218 (doc-view-previous-line-or-previous-page): New commands.
15220 2009-11-23 Juri Linkov <juri@jurta.org>
15222 Implement Isearch in comint input history. (Bug#3746)
15223 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15224 `isearch-mode-hook'.
15225 (comint-history-isearch): New defcustom.
15226 (comint-history-isearch-backward)
15227 (comint-history-isearch-backward-regexp): New commands.
15228 (comint-history-isearch-message-overlay): New buffer-local variable.
15229 (comint-history-isearch-setup, comint-history-isearch-end)
15230 (comint-goto-input, comint-history-isearch-search)
15231 (comint-history-isearch-message, comint-history-isearch-wrap)
15232 (comint-history-isearch-push-state)
15233 (comint-history-isearch-pop-state): New functions.
15235 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15237 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15239 (tramp-handle-make-symbolic-link)
15240 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15242 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15243 (tramp-handle-process-file): Use it.
15245 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15247 * window.el (move-to-window-line-last-op): Remove.
15248 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15250 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15252 Make M-r mirror the new cycling behavior of C-l.
15253 * window.el (move-to-window-line-last-op): New var.
15254 (move-to-window-line-top-bottom): New command.
15255 (global-map): Bind M-r move-to-window-line-top-bottom.
15257 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15259 * dired-x.el (dired-guess-shell-alist-default):
15260 Support xz format. (Bug#4953)
15262 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15264 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15265 last-command-char/last-command-event.
15266 (viper-prefix-arg-value): Do correct conversion of event-char for
15269 * emulation/viper-util.el, emulation/viper.el:
15270 Use viper-last-command-char instead of
15271 last-command-char/last-command-event.
15273 * ediff-init.el, ediff-mult.el, ediff-util.el:
15274 Replace last-command-char and last-command-event
15275 with (ediff-last-command-char) everywhere.
15277 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15278 created in fundamental mode.
15280 * ediff.el (ediff-version): Revert the change of interactive-p to
15281 called-interactively-p.
15283 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15285 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15286 generation from word-movement command names.
15288 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15290 * cus-start.el (all): Add native condition for font-use-system-font.
15292 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15294 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15295 Correct the patch from 2009-11-18. (Bug#3910)
15297 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15299 * progmodes/subword.el: Rename from lisp/subword.el.
15301 * subword.el: Rename to progmodes/subword.el.
15303 * Makefile.in (ELCFILES): Adapt to subword.el move.
15305 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15306 Stefan Monnier <monnier@iro.umontreal.ca>
15308 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15309 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15310 (bookmark-bmenu-show-filenames): Use push.
15311 (bookmark-bmenu-hide-filenames): Use local var instead of
15312 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15313 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15314 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15315 filenames now that the bookmark names are always available.
15317 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15319 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15320 (bookmark-search-pattern): Move and leave unbound.
15321 (bookmark-bmenu-mode-map): Change binding.
15322 (bookmark-read-search-input): Simplify.
15323 Don't use text-char-description. Don't error on non-char events.
15324 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15325 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15326 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15327 Use a local var for the timer.
15328 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15329 (i.e. bookmark-bmenu-search).
15331 2009-11-21 Glenn Morris <rgm@gnu.org>
15333 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15335 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15337 * net/browse-url.el (browse-url-default-windows-browser):
15338 Use cygstart for cygwin.
15340 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15342 * bookmark.el: Formatting and doc fixes only:
15343 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15344 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15345 Minor grammar and punctuation fixes in doc string.
15346 (bookmark-read-search-input): Adjust to fit within 80 columns.
15348 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15350 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15351 (c-backward-into-nomenclature): Adapt to subword renaming.
15353 * subword.el (subword-forward, subword-backward, subword-mark)
15354 (subword-kill, subword-backward-kill, subword-transpose)
15355 (subword-downcase, subword-upcase, subword-capitalize)
15356 (subword-forward-internal, subword-backward-internal):
15357 Rename from forward-subword, backward-subword, mark-subword,
15358 kill-subword, backward-kill-subword, transpose-subwords,
15359 downcase-subword, upcase-subword, capitalize-subword,
15360 forward-subword-internal, backward-subword-internal.
15362 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15364 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15366 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15368 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15369 (bookmark-bmenu-filter-alist-by-regexp)
15370 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15371 (bookmark-bmenu-search): New command.
15372 (bookmark-bmenu-mode-map): Bind it.
15374 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15376 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15377 backward-subword to quit the byte-compiler.
15379 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15381 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15383 * progmodes/cc-cmds.el (c-update-modeline)
15384 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15385 Refer to subword.el functions instead of cc-subword.el.
15387 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15388 subword.el functions instead of cc-subword.el.
15390 * progmodes/cc-subword.el: Rename to subword.el.
15391 * subword.el: Rename from progmodes/cc-subword.el.
15392 (subword-mode-map): Rename from c-subword-mode-map.
15393 (subword-mode): Rename from c-subword-mode.
15394 (global-subword-mode): New global minor mode.
15395 (forward-subword): Rename from c-forward-subword.
15396 (backward-subword): Rename from c-backward-subword.
15397 (mark-subword): Rename from c-mark-subword.
15398 (kill-subword): Rename from c-kill-subword.
15399 (backward-kill-subword): Rename from c-backward-kill-subword.
15400 (transpose-subwords): Rename from c-tranpose-subword.
15401 (downcase-subword): Rename from c-downcase-subword.
15402 (capitalize-subword): Rename from c-capitalize-subword.
15403 (forward-subword-internal): Rename from c-forward-subword-internal.
15404 (backward-subword-internal): Rename from c-backward-subword-internal.
15406 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15408 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15409 from a dired buffer.
15410 (vc-dired-deduce-fileset): New function.
15411 (vc-root-diff, vc-print-root-log): Use it.
15413 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15414 nil LIMIT argument to vc-print-log-internal.
15416 2009-11-20 Glenn Morris <rgm@gnu.org>
15418 * Makefile.in (ELCFILES): Regenerate.
15420 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15422 * calc/calc.el (calc-set-mode-line):
15423 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15424 (math-format-number): Rename `math-format-complement-signed' to
15425 `math-format-twos-complement'.
15427 * calc/calc-bin.el (math-format-twos-complement): Rename from
15428 math-format-complement-signed.
15429 (calc-radix): Rename `calc-complement-signed-mode' to
15430 `calc-twos-complement-mode'.
15431 (calc-octal-radix, calc-hex-radix): Add an argument for
15434 * calc/calc-embed.el (calc-embedded-mode-vars):
15435 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15437 * calc/calc-ext.el (calc-init-extensions):
15438 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15439 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15441 * calc/calc-units.el (math-build-units-table-buffer):
15442 Let `calc-twos-complement-mode' be nil.
15444 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15447 * calc/calc-vec.el (calcFunc-vunpack):
15448 * calc/calc-aent.el (calc-do-calc-eval):
15449 * calc/calc-forms.el (math-format-date):
15450 * calc/calc-graph.el (calc-graph-plot):
15451 * calc/calc-math.el (math-use-emacs-fn):
15452 * calc/calccomp.el (math-compose-expr):
15453 Let `calc-twos-complement-mode' be nil.
15455 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15457 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15458 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15459 * minibuffer.el (completion-in-region-functions): New hook.
15460 (completion-in-region): New function.
15461 * emacs-lisp/lisp.el (lisp-complete-symbol):
15462 * pcomplete.el (pcomplete-std-complete): Use it.
15464 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15466 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15467 (latex-complete-alist): New vars.
15468 (latex-string-prefix-p, latex-complete-bibtex-keys)
15469 (latex-complete-envnames, latex-complete-refkeys)
15470 (latex-complete-data): New functions.
15471 (latex-complete, latex-indent-or-complete): New commands.
15473 * window.el (display-buffer-mark-dedicated): New var.
15474 (display-buffer): Obey it.
15475 * minibuffer.el (minibuffer-completion-help): Use it.
15477 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15479 * filecache.el (file-cache-add-file): Use push and cons.
15480 (file-cache-delete-file-regexp): Use push.
15481 (file-cache-complete): Use completion-in-region.
15483 * simple.el (with-wrapper-hook): Fix thinko.
15485 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15486 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15487 Use with-current-buffer and string-to-number.
15488 (hfy-fallback-colour-values): Use assoc-string.
15489 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15490 (hfy-face-at): Remove unused var `found-face'.
15491 (hfy-compile-stylesheet): Remove unused var `css'.
15492 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15494 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15495 Use with-current-buffer.
15496 (hfy-text-p): Use expand-file-name and fewer setq.
15498 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15500 * htmlfontify.el, hfy-cmap.el: New files.
15502 2009-11-19 Juri Linkov <juri@jurta.org>
15504 * minibuffer.el (completions-format): New defcustom.
15505 (completion--insert-strings): Implement vertical format.
15507 * simple.el (switch-to-completions): Move point to the first
15508 completion when point was at the beginning of the buffer.
15510 2009-11-19 Juri Linkov <juri@jurta.org>
15512 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15514 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15516 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15518 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15519 (mail-signature): Change default to t.
15520 (mail-from-style): Deprecate `system-default' value.
15521 (mail-insert-from-field): For default value of mail-from-style,
15522 default to `angles' unless `angles' needs quoting and `parens'
15524 (mail-citation-prefix-regexp): Use citation regexp from
15527 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15529 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15530 Set variables for computing the prompt for reading password.
15532 2009-11-19 Glenn Morris <rgm@gnu.org>
15534 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15536 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15538 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15539 (newsticker-treeview-listwindow-height): Fix custom type.
15541 2009-11-19 Kenichi Handa <handa@m17n.org>
15543 * descr-text.el (describe-char-padded-string): Compose with TAB
15544 only if there's a font for CH.
15545 (describe-char): Fix the condition for detecting a trivial composition.
15547 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15549 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15550 more accurate version of the regexp. (Bug#3910)
15552 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15554 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15556 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15558 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15559 (font-setting-change-default-font): Fix typo in docstring.
15561 2009-11-18 Alan Mackenzie <acm@muc.de>
15563 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15565 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15567 * font-setting.el (font-use-system-font): Move ...
15569 * cus-start.el (all): ... to here.
15571 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15573 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15574 Don't set `ad-return-value' if `ad-do-it' doesn't.
15576 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15579 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15581 * menu-bar.el: Put "Use system font" in Option-menu.
15582 (menu-bar-options-save): Add font-use-system-font.
15584 * loadup.el: If feature system-font-setting or font-render-setting is
15585 there, load font-setting.
15587 * Makefile.in (ELCFILES): Add font-settings.el.
15588 * font-setting.el: New file.
15590 2009-11-17 Glenn Morris <rgm@gnu.org>
15592 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15594 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15595 Preserve point in the list buffer. (Bug#4939)
15597 (newsticker--treeview-list-update-highlight)
15598 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15600 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15602 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15605 * calc/calc-ext.el (calc-init-extensions): Remove references to
15608 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15610 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15611 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15614 2009-11-16 Kevin Ryde <user42@zip.com.au>
15616 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15617 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15619 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15620 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15621 Ignore trailing spaces by omit-nulls to split-string (fixing
15622 regression from Emacs 21 due to the incompatible split-string
15623 change). (Bug #4928.)
15625 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15627 * vc.el (vc-log-show-limit): Default to 2000.
15628 (vc-print-log-internal): Insert buttons to request more entries
15629 when limiting the output.
15631 * vc-sccs.el (vc-sccs-print-log):
15632 * vc-rcs.el (vc-rcs-print-log):
15633 * vc-cvs.el (vc-cvs-print-log):
15634 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15637 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15639 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15640 error when `tramp-gvfs-dbus-event-vector' is set.
15641 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15643 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15645 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15647 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15649 * net/dbus.el (dbus-unregister-service): New defun.
15650 (dbus-register-property): Register the handlers of
15651 "org.freedesktop.DBus.Properties" for SERVICE.
15652 (dbus-property-handler): Fix docstring.
15654 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15656 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15657 Quote doc string reference in defvaralias as it is not in special form.
15658 (byte-compile-output-docform): Doc fix.
15660 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15662 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15663 (calc-complement-signed-mode): New variables.
15664 (calc-set-mode-line): Add indicator for twos-complements.
15665 (math-format-number): Format twos-complement notation.
15667 * calc/calc-bin.el (calc-word-size): Reset the variables
15668 `math-2-word-size' and `math-half-2-word-size'.
15669 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15670 (calc-symclip): New functions.
15672 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15674 * calc/calc-embed.el (calc-embedded-mode-vars):
15675 Add `calc-complement-signed-mode' to the list of modes.
15677 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15678 (calc-b-oper-keys): Add `calc-symclip' to list.
15680 * calc/calc-ext.el (math-read-number-fancy): Read complement
15682 (calc-init-extensions): Add binding for `calc-symclip'.
15683 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15685 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15687 (calc-modes-menu): Add item for twos complement mode.
15689 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15691 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15693 * register.el (jump-to-register, insert-register): Handle Semantic
15694 tags. From commented-out advice in semantic/senator.el.
15696 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15698 * vc.el (vc-log-show-limit): New variable.
15699 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15700 when using a prefix argument.
15701 (vc-print-log-internal): Add new argument LIMIT.
15703 * vc-svn.el (vc-svn-print-log):
15704 * vc-mtn.el (vc-mtn-print-log):
15705 * vc-hg.el (vc-hg-print-log):
15706 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15707 pass it to the log command when set. Make the BUFFER argument
15710 * vc-sccs.el (vc-sccs-print-log):
15711 * vc-rcs.el (vc-rcs-print-log):
15712 * vc-git.el (vc-git-print-log):
15713 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15714 ignore it. Make the BUFFER argument non-optional
15716 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15718 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15720 * dired.el (dired-mode-map): Move encryption items to "Operate"
15723 * strokes.el (strokes-update-window-configuration): Make strokes
15724 buffer current before erasing (Bug#4906).
15726 2009-11-15 Juri Linkov <juri@jurta.org>
15728 * simple.el (set-mark-default-inactive): Add :type, :group
15729 and :version. (Bug#4876)
15731 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15733 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15734 (archive-unique-fname): ... here. (Bug#4929)
15736 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15738 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15741 * novice.el (disabled-command-function): Add useful args.
15742 Setup the help buffer so that [back] works.
15743 Remove redundant call to help-mode.
15744 (disabled-command-function): Use `case'.
15745 (en/disable-command): New function extracted from enable-command.
15746 (enable-command, disable-command): Use it.
15748 2009-11-14 Glenn Morris <rgm@gnu.org>
15750 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15751 constants. (Bug#4913)
15753 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15755 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15757 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15758 defined in C that have no doc-strings. (Bug#1063)
15760 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15762 * cus-edit.el (data, files):
15763 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15765 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15767 * simple.el (shell-command): Doc fix (Bug#4891).
15769 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15771 2009-11-14 Glenn Morris <rgm@gnu.org>
15773 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15774 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15775 If they are already loaded, eval-after-load will do the right thing.
15777 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15780 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15782 * simple.el (x-selection-owner-p): Declare.
15783 (read-mail-command): Use custom radio type rather than choice.
15784 (completion-no-auto-exit): Doc fix.
15786 * custom.el (defgroup):
15787 * epg-config.el (epg): Doc fixes.
15789 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15791 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15792 * international/ccl.el (define-ccl-program): Do not purecopy the
15793 docstring, defconst does it anyway.
15795 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15797 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15800 * x-dnd.el (x-dnd-maybe-call-test-function):
15801 * window.el (split-window-vertically):
15802 * whitespace.el (whitespace-help-on):
15803 * vc-rcs.el (vc-rcs-consult-headers):
15804 * userlock.el (ask-user-about-lock-help)
15805 (ask-user-about-supersession-help):
15806 * type-break.el (type-break-force-mode-line-update):
15807 * time-stamp.el (time-stamp-conv-warn):
15808 * terminal.el (te-set-output-log, te-more-break, te-filter)
15809 (te-sentinel, terminal-emulator):
15810 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15811 (term-write-input-ring, term-check-source, term-start-output-log):
15812 (term-display-buffer-line, term-dynamic-list-completions):
15813 (term-ansi-make-term, serial-term):
15814 * subr.el (selective-display):
15815 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15816 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15817 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15818 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15819 (speedbar-remove-localized-speedbar-support)
15820 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15821 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15822 (speedbar-buffers-line-directory):
15823 * simple.el (shell-command-on-region, append-to-buffer)
15824 (prepend-to-buffer):
15825 * shadowfile.el (shadow-save-todo-file):
15826 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15827 (scroll-bar-maybe-set-window-start):
15828 * sb-image.el (speedbar-image-dump):
15829 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15830 (load-save-place-alist-from-file):
15831 * ps-samp.el (ps-print-message-from-summary):
15832 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15833 (ps-background-image, ps-begin-job, ps-do-despool):
15834 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15835 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15836 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15837 (pr-call-process, pr-file-list, pr-interface-save):
15838 * novice.el (disabled-command-function)
15839 (enable-command, disable-command):
15840 * mouse.el (mouse-buffer-menu-alist):
15841 * mouse-copy.el (mouse-kill-preserving-secondary):
15842 * macros.el (kbd-macro-query):
15843 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15844 * informat.el (batch-info-validate):
15845 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15846 * hippie-exp.el (try-expand-dabbrev-visible):
15847 * help-mode.el (help-make-xrefs):
15848 * help-fns.el (describe-variable):
15849 * generic-x.el (bat-generic-mode-run-as-comint):
15850 * finder.el (finder-mouse-select):
15851 * find-dired.el (find-dired-sentinel):
15852 * filesets.el (filesets-file-close):
15853 * files.el (list-directory):
15854 * faces.el (list-faces-display, describe-face):
15855 * facemenu.el (list-colors-display):
15856 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15857 * epg.el (epg--process-filter, epg-cancel):
15858 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15859 (epa--read-signature-type):
15860 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15861 (emerge-file-names):
15862 * ehelp.el (electric-helpify):
15863 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15864 * ediff-vers.el (rcs-ediff-view-revision):
15865 * ediff-util.el (ediff-setup):
15866 * ediff-mult.el (ediff-append-custom-diff):
15867 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15869 * echistory.el (Electric-command-history-redo-expression):
15870 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15871 * disp-table.el (describe-display-table):
15872 * dired.el (dired-find-buffer-nocreate):
15873 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15874 * dabbrev.el (dabbrev--same-major-mode-p):
15875 * chistory.el (list-command-history):
15876 * apropos.el (apropos-documentation):
15877 * allout.el (allout-obtain-passphrase):
15878 (allout-copy-exposed-to-buffer):
15879 (allout-verify-passphrase): Use with-current-buffer.
15881 2009-11-13 Glenn Morris <rgm@gnu.org>
15883 * Makefile.in (ELCFILES): Regenerate.
15885 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15887 * net/dbus.el (dbus-registered-objects-table): Rename from
15888 `dbus-registered-functions-table', because it contains also properties.
15889 (dbus-unregister-object): Unregister also properties.
15890 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15891 Use a timeout of 500 msec, in order to not block.
15892 (dbus-register-property, dbus-property-handler): New defuns.
15894 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15896 * simple.el (minibuffer-default-add-completions): Drop deprecated
15899 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15901 * textmodes/artist.el (artist-mouse-choose-operation):
15902 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15903 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15904 (artist-compute-up-event-key): New function.
15905 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15907 2009-11-13 Kenichi Handa <handa@m17n.org>
15909 * language/japan-util.el: Make sure that the value of jisx0208
15910 property is jisx0208 character.
15912 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15914 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15915 car or each item, not the whole list.
15917 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15919 * minibuffer.el (minibuffer-completion-help):
15920 Use minibuffer-hide-completions.
15922 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15924 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15925 (dired-revert): Use them (bug#4880).
15927 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15929 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15931 2009-11-12 Juri Linkov <juri@jurta.org>
15933 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15935 (find-file-literally-at-point): Alias of `ffap-literally'.
15937 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15939 * textmodes/ispell.el (ispell-skip-region-alist):
15940 * textmodes/css-mode.el (auto-mode-alist):
15941 * progmodes/compile.el (auto-mode-alist):
15942 * international/mule.el (ctext-non-standard-encodings-alist)
15943 (ctext-non-standard-encodings-regexp):
15944 * simple.el (shell-command-switch, text-read-only):
15945 * replace.el (occur-mode-map):
15946 * paths.el (rmail-file-name):
15947 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15948 * find-file.el (ff-special-constructs):
15949 * files.el (file-name-handler-alist):
15950 * composite.el: Purecopy strings.
15952 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15954 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15956 * widget.el (define-widget): Purecopy the docstring.
15957 * international/mule-cmds.el (charset): Do not purecopy the
15958 docstring here, define-widget does it.
15960 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15961 * textmodes/bibtex-style.el (auto-mode-alist):
15962 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15963 * progmodes/compile.el (compile-command):
15964 * language/korea-util.el (default-korean-keyboard):
15965 * international/mule-conf.el (file-coding-system-alist):
15966 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15967 * tooltip.el (tooltip-frame-parameters):
15968 * newcomment.el (comment-end, comment-padding):
15969 * dired.el (dired-trivial-filenames):
15970 * comint.el (comint-file-name-prefix): Purecopy initial values.
15972 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15974 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15975 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15977 (tramp-advice-make-auto-save-file-name)
15978 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15979 after removing the advice.
15981 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15983 * progmodes/grep.el (grep-regexp-alist):
15984 * international/mule-cmds.el (iso-2022-control-alist):
15985 * emacs-lisp/timer.el (timer-duration-words):
15986 * subr.el (version-separator, version-regexp-alist):
15987 * minibuffer.el (completion-styles-alist):
15988 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15989 Change defvars to defconsts.
15991 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15992 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15993 * international/mule-conf.el: Allow to be byte compiled.
15995 * international/mule.el (define-charset): Purecopy props.
15996 (load-with-code-conversion): Purecopy doc string and file name.
15997 (put-charset-property): Purecopy strings.
15998 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16000 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16001 (define-char-code-property): Correctly purecopy the table.
16003 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16005 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16007 * subr.el (add-hook): Purecopy strings.
16008 (eval-after-load): Purecopy load-history-regexp and the form.
16010 * custom.el (custom-declare-group): Purecopy load-file-name.
16012 * subr.el (menu-bar-separator): New defconst.
16013 * net/eudc.el (eudc-tools-menu):
16014 * international/mule-cmds.el (set-coding-system-map)
16015 (mule-menu-keymap):
16016 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16017 * vc-hooks.el (vc-menu-map):
16018 * replace.el (occur-mode-map):
16019 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16020 (menu-bar-edit-menu, menu-bar-goto-menu)
16021 (menu-bar-custom-menu, menu-bar-showhide-menu)
16022 (menu-bar-options-menu, menu-bar-tools-menu)
16023 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16024 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16025 (menu-bar-help-menu):
16026 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16027 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16029 * term/x-win.el (x-gtk-stock-map):
16030 * progmodes/vera-mode.el (auto-mode-alist):
16031 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16032 (inferior-lisp-program, inferior-lisp-load-command):
16033 * progmodes/hideshow.el (hs-special-modes-alist):
16034 * progmodes/gud.el (same-window-regexps):
16035 * progmodes/grep.el (grep-program, find-program, xargs-program):
16036 * net/telnet.el (same-window-regexps):
16037 * net/rlogin.el (same-window-regexps):
16038 * language/ethiopic.el (font-ccl-encoder-alist):
16039 * vc-sccs.el (vc-sccs-master-templates):
16040 * vc-rcs.el (vc-rcs-master-templates):
16041 * subr.el (cl-assertion-failed):
16042 * simple.el (next-error-overlay-arrow-position):
16043 * lpr.el (lpr-command):
16044 * locate.el (locate-ls-subdir-switches):
16045 * info.el (same-window-regexps, info)
16046 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16047 * image-mode.el (image-mode, auto-mode-alist):
16048 * hippie-exp.el (hippie-expand-ignore-buffers):
16049 * format.el (format-alist):
16050 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16052 * facemenu.el (facemenu-keybindings):
16053 * dired.el (dired-listing-switches, dired-chown-program):
16054 * diff.el (diff-switches, diff-command):
16055 * cus-edit.el (same-window-regexps):
16056 * bindings.el (mode-line-mule-info)
16057 (mode-line-buffer-identification): Purecopy strings.
16059 2009-11-11 Juri Linkov <juri@jurta.org>
16061 * simple.el (dired-get-filename) <declare-function>:
16062 Tell the byte-compiler about dired-get-filename.
16063 (shell-command): In Dired mode, get filename from the current line
16064 as the default value.
16066 2009-11-10 Glenn Morris <rgm@gnu.org>
16068 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16069 * calendar/holidays.el, progmodes/cperl-mode.el:
16070 Update x-popup-menu declarations.
16072 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16073 (list-load-path-shadows): Use dolist.
16074 (list-load-path-shadows): Use with-current-buffer.
16076 2009-11-10 Juri Linkov <juri@jurta.org>
16078 * minibuffer.el (read-file-name): Support a list of default values
16079 in `default-filename'. Use the first file name where only one
16080 element is required. Doc fix.
16082 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16084 * net/dbus.el (dbus-unregister-object): Release service, if no
16085 other method is registered for it.
16087 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16089 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16090 bookmark-sort-flag is non-nil (Bug#4653).
16092 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16094 * emulation/cua-base.el: Add CUA property to some CC mode commands
16097 2009-11-08 Kevin Ryde <user42@zip.com.au>
16099 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16100 at end of sentence (Bug#4818).
16102 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16104 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16105 Handle "see declaration of" MSFT statements (Bug#4100).
16107 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16109 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16110 (tramp-advice-file-expand-wildcards): Unload via
16111 `ad-remove-advice'.
16113 * net/trampver.el: Update release number.
16115 2009-11-08 Kevin Ryde <user42@zip.com.au>
16117 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16120 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16122 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16123 in order to keep context in SELinux.
16125 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16127 * dired-aux.el (dired-query): Place cursor in echo area and allow
16130 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16131 menu item if not on a directory (Bug#4701).
16133 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16135 Sync with Tramp 2.1.17.
16137 * net/tramp.el (tramp-handle-copy-directory): Don't use
16138 `file-remote-p' (due to compatibility).
16140 * net/tramp-compat.el (tramp-compat-copy-directory)
16141 (tramp-compat-delete-directory): New defuns.
16143 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16144 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16145 Use `tramp-compat-delete-directory'.
16147 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16148 (tramp-smb-handle-delete-directory):
16149 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16151 * net/trampver.el: Update release number.
16153 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16155 * tar-mode.el (tar-copy): Call write-region on the right buffer
16158 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16159 by hand, if necessary (Bug#4878).
16161 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16163 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16164 align size column (Bug#4839).
16166 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16169 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16171 * progmodes/ld-script.el (auto-mode-alist):
16172 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16174 * cus-face.el (custom-declare-face): Purecopy face spec.
16176 2009-11-06 Kenichi Handa <handa@m17n.org>
16178 * international/uni-bidi.el: Re-generated.
16179 * international/uni-category.el: Re-generated.
16180 * international/uni-combining.el: Re-generated.
16181 * international/uni-mirrored.el: Re-generated.
16183 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16185 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16186 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16187 (tex-start-options, slitex-run-command, latex-run-command)
16188 (tex-run-command, tex-directory):
16189 * textmodes/ispell.el (ispell-html-skip-alists)
16190 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16191 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16192 (adaptive-fill-regexp):
16193 * textmodes/dns-mode.el (auto-mode-alist):
16194 * progmodes/python.el (interpreter-mode-alist):
16195 * progmodes/etags.el (tags-compression-info-list):
16196 * progmodes/etags.el (tags-file-name):
16197 * net/browse-url.el (browse-url-galeon-program)
16198 (browse-url-firefox-program):
16199 * mail/sendmail.el (mail-signature-file)
16200 (mail-citation-prefix-regexp):
16201 * international/mule-conf.el (eight-bit):
16202 * international/latexenc.el (latex-inputenc-coding-alist):
16203 * international/fontset.el (x-pixel-size-width-font-regexp):
16204 * emacs-lisp/warnings.el (warning-type-format):
16205 * emacs-lisp/trace.el (trace-buffer):
16206 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16207 (emacs-lisp-mode-map):
16208 * calendar/holidays.el (holiday-solar-holidays)
16209 (holiday-bahai-holidays, holiday-islamic-holidays)
16210 (holiday-christian-holidays, holiday-hebrew-holidays)
16211 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16212 (hebrew-holidays-1, holiday-oriental-holidays)
16213 (holiday-general-holidays):
16214 * x-dnd.el (x-dnd-known-types):
16215 * tool-bar.el (tool-bar):
16216 * startup.el (site-run-file):
16217 * shell.el (shell-dumb-shell-regexp):
16218 * rfn-eshadow.el (file-name-shadow-tty-properties)
16219 (file-name-shadow-properties):
16220 * paths.el (remote-shell-program, news-directory):
16221 * mouse.el ([C-down-mouse-3]):
16222 * menu-bar.el (menu-bar-tools-menu):
16223 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16224 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16225 (jka-compr-compression-info-list):
16226 * isearch.el (search-whitespace-regexp):
16227 * image-file.el (image-file-name-extensions):
16228 * find-dired.el (find-ls-option):
16229 * files.el (directory-listing-before-filename-regexp)
16230 (directory-free-space-args, insert-directory-program)
16231 (list-directory-brief-switches, magic-fallback-mode-alist)
16232 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16233 (automount-dir-prefix):
16234 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16235 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16236 (face-font-registry-alternatives, face-font-registry-alternatives)
16237 (face-font-family-alternatives):
16238 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16239 (facemenu-foreground-menu, facemenu-face-menu):
16240 * epa-hook.el (epa-file-name-regexp):
16241 * dnd.el (dnd-protocol-alist):
16242 * textmodes/rst.el (auto-mode-alist):
16243 * button.el (default-button): Purecopy strings.
16245 2009-11-06 Glenn Morris <rgm@gnu.org>
16247 * Makefile.in (ELCFILES): Update.
16249 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16251 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16252 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16254 * nxml/xsd-regexp.el (xsdre-gen-categories):
16255 * nxml/xmltok.el (xmltok-parse-entity):
16256 * nxml/rng-parse.el (rng-parse-validate-file):
16257 * nxml/rng-maint.el (rng-format-manual)
16258 (rng-manual-output-force-new-line):
16259 * nxml/rng-loc.el (rng-save-schema-location-1):
16260 * nxml/rng-cmpct.el (rng-c-parse-file):
16261 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16262 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16264 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16266 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16267 Remove extra save-excursions and make-variable-buffer-local's.
16268 Suggested by Stefan Monnier.
16270 (verilog-getopt-file, verilog-module-inside-filename-p)
16271 (verilog-set-define): Merge GNU 1.35 and repair changes from
16272 switching to using with-current-buffer.
16274 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16275 being treated as a number and confusing AUTORESET.
16276 Reported by Dan Dever.
16278 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16279 Add verilog-auto-ignore-concat to fix backward compatibility with
16280 older verilog-modes. Reported by Dan Katz.
16282 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16283 containing closing anchors "...$".
16285 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16286 Reported by Wade Smith.
16288 (verilog-batch-execute-func): Comment on function usage.
16290 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16292 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16295 (verilog-label-re, verilog-calc-1): Support proper indent of named
16298 (verilog-backward-token, verilog-basic-complete-re)
16299 (verilog-beg-of-statement, verilog-indent-re): Support proper
16300 indent of the assert statement at the beginning of a block of text.
16302 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16303 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16306 2009-11-05 Glenn Morris <rgm@gnu.org>
16308 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16309 Emacs 19. (Bug#1531)
16310 (byte-compile-fix-header): Update for the above change.
16311 Drop test for epoch::version.
16313 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16314 * cus-dep.el (custom-make-dependencies):
16315 * finder.el (finder-compile-keywords):
16316 Use autoload-rubric's feature argument.
16318 * calendar/diary-lib.el (top-level): Make load behave more like require.
16320 * vc-git.el (vc-git-stash-map): Move definition before use.
16322 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16324 * custom.el (custom-declare-group): Purecopy standard-value.
16325 (custom-declare-group): Purecopy custom-prefix.
16327 * international/mule.el (load-with-code-conversion):
16328 Call do-after-load-evaluation unconditionally.
16330 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16332 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16334 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16336 2009-11-04 Glenn Morris <rgm@gnu.org>
16338 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16339 (byte-compile-compatibility): Remove option.
16340 (byte-compile-close-variables, byte-compile-fix-header)
16341 (byte-compile-insert-header, byte-compile-output-docform)
16342 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16343 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16344 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16345 (byte-compile-insert, byte-compile-defun):
16346 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16347 (byte-defop-compiler19): Remove.
16348 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16349 used by anything. Replace all calls with byte-defop-compiler.
16351 2009-11-04 Juri Linkov <juri@jurta.org>
16353 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16354 (menu-bar-options-menu): Don't quote the `prop' arg of
16355 `menu-bar-make-mm-toggle'.
16357 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16359 * calendar/calendar.el (cal-loaddefs):
16360 * calendar/diary-lib.el (diary-loaddefs):
16361 * calendar/holidays.el (hol-loaddefs):
16362 * eshell/esh-module.el (esh-groups): Load rather than require.
16364 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16366 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16368 (todo-top-priorities): Only display-buffer when called interactively.
16369 (todo-item-start): Don't save excursion point.
16370 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16371 (todo-insert-item-here, todo-file-item, todo-remove-item):
16372 Adjust uses of todo-item-start and todo-item-end.
16374 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16375 (autoload-rubric): Don't use any more.
16377 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16378 and only put a prop if it is non-nil.
16380 2009-11-03 Juri Linkov <juri@jurta.org>
16382 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16383 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16385 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16386 and "Menu" to make top-level menu item visually one unit (like
16387 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16388 multi-word menu items). Fix :help string for quit-window.
16390 2009-11-03 Glenn Morris <rgm@gnu.org>
16392 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16393 (byte-compile-file-form-define-abbrev-table)
16394 (byte-compile-file-form-custom-declare-variable)
16395 (byte-compile-variable-ref, byte-compile-defvar):
16396 Whether or not a warning is enabled should only affect whether we issue
16397 the warning, not whether or not we collect the relevant data.
16398 Eg warnings can be turned on and off throughout the course of a file.
16400 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16401 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16403 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16405 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16406 * play/mpuz.el (mpuz-create-buffer):
16407 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16408 (lm-print-y,s,noise, lm-print-w0, lm-init):
16409 * play/gomoku.el (gomoku-prompt-for-move):
16410 * play/fortune.el (fortune-in-buffer):
16411 * play/dissociate.el (dissociated-press):
16412 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16413 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16414 * mail/supercite.el (sc-eref-show):
16415 * mail/smtpmail.el (smtpmail-send-it):
16416 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16417 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16418 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16419 (rmail-summary-goto-msg, rmail-summary-expunge)
16420 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16421 (rmail-summary-add-label, rmail-summary-output-menu)
16422 (rmail-summary-output-body):
16423 * mail/rfc822.el (rfc822-addresses):
16424 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16425 * mail/mailpost.el (post-mail-send-it):
16426 * mail/hashcash.el (hashcash-generate-payment):
16427 * mail/feedmail.el (feedmail-run-the-queue)
16428 (feedmail-queue-send-edit-prompt-help-first)
16429 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16430 (feedmail-deduce-address-list):
16431 * eshell/esh-ext.el (eshell-remote-command):
16432 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16433 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16434 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16435 (viper-save-string-in-file, viper-valid-marker):
16436 * emulation/viper-keym.el (viper-toggle-key):
16437 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16438 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16439 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16440 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16441 (viper-exec-form-in-emacs, viper-brac-function):
16442 * emulation/viper.el (viper-delocalize-var):
16443 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16444 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16445 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16446 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16447 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16448 * emulation/edt.el (edt-electric-helpify):
16449 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16450 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16451 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16452 (cua-indent-to-global-mark-column):
16453 * calendar/diary-lib.el (calendar-mark-1):
16454 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16455 Use with-current-buffer.
16456 * emulation/viper.el (viper-delocalize-var): Use dolist.
16458 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16460 * comint.el (comint-replace-by-expanded-history-before-point):
16461 Replace !! with the previous input string literally (Bug#1795).
16463 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16465 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16466 to be made up of whitespace.
16468 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16470 * minibuffer.el (read-file-name): Don't use file dialogs for
16471 remote directories (Bug#99).
16473 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16475 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16477 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16479 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16480 instead of deleting the window or frame.
16482 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16484 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16485 Support face colors.
16487 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16488 New function. Support face colors (Bug#1168).
16489 (tex-common-initialization): Use it.
16491 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16492 mode allows it (Bug#1168).
16494 2009-10-31 Juri Linkov <juri@jurta.org>
16496 * facemenu.el (list-colors-display): Don't mark buffer as
16497 modified (Bug#3948).
16499 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16501 * international/mule-diag.el (list-character-sets-1):
16502 Minor message fix (Bug#3526).
16504 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16505 Fix face property (Bug#4834).
16506 (etags-list-tags, etags-tags-apropos-additional)
16507 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16510 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16513 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16515 * textmodes/two-column.el (2C-split):
16516 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16517 * textmodes/tex-mode.el (tex-set-buffer-directory):
16518 * textmodes/spell.el (spell-region, spell-string):
16519 * textmodes/reftex.el (reftex-erase-buffer):
16520 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16521 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16522 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16523 (reftex-select-item):
16524 * textmodes/reftex-ref.el (reftex-label-info-update)
16525 (reftex-offer-label-menu):
16526 * textmodes/reftex-index.el (reftex-index-change-entry)
16527 (reftex-index-phrases-info):
16528 * textmodes/reftex-global.el (reftex-create-tags-file)
16529 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16530 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16531 (reftex-view-crossref-from-bibtex):
16532 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16533 (reftex-extract-bib-entries-from-thebibliography)
16534 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16535 * textmodes/refbib.el (r2b-capitalize-title):
16536 (r2b-convert-buffer, r2b-help):
16537 * textmodes/page-ext.el (pages-directory)
16538 (pages-directory-goto-with-mouse):
16539 * textmodes/bibtex.el (bibtex-validate-globally):
16540 * textmodes/bib-mode.el (bib-capitalize-title):
16541 * textmodes/artist.el (artist-clear-buffer, artist-system):
16542 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16543 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16544 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16545 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16546 (xscheme-send-control-g-interrupt, xscheme-start-process)
16547 (xscheme-process-sentinel, xscheme-cd):
16548 * progmodes/verilog-mode.el (verilog-read-always-signals)
16549 (verilog-set-define, verilog-getopt-file)
16550 (verilog-module-inside-filename-p):
16551 * progmodes/sh-script.el:
16552 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16553 (python-pdbtrack-grub-for-buffer, python-execute-file):
16554 * progmodes/octave-inf.el (inferior-octave):
16555 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16556 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16557 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16558 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16559 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16560 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16561 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16562 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16563 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16564 (idlwave-shell-examine-display, idlwave-shell-run-region)
16565 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16566 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16567 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16568 (idlwave-help-get-help-buffer):
16569 * progmodes/gud.el (gud-basic-call, gud-find-class)
16570 (gud-tooltip-activate-mouse-motions-if-enabled):
16571 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16572 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16573 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16574 (ebrowse-tags-next-file):
16575 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16576 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16577 (ebnf-eps-finish-and-write):
16578 * progmodes/cpp.el (cpp-edit-save):
16579 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16580 * progmodes/cc-defs.el (c-emacs-features):
16581 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16582 (antlr-directory-dependencies):
16583 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16584 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16585 (ada-find-any-references, ada-make-filename-from-adaname)
16586 (ada-make-body-gnatstub):
16587 * obsolete/rnews.el (news-list-news-groups):
16588 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16589 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16590 * net/rcirc.el (rcirc-debug):
16591 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16592 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16593 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16594 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16595 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16596 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16597 (newsticker--treeview-list-clear-highlight)
16598 (newsticker--treeview-list-update-highlight)
16599 (newsticker--treeview-list-highlight-start)
16600 (newsticker--treeview-tree-update-highlight)
16601 (newsticker--treeview-get-selected-item)
16602 (newsticker-treeview-mark-list-items-old)
16603 (newsticker--treeview-set-current-node):
16604 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16605 * net/newst-backend.el (newsticker--get-news-by-funcall)
16606 (newsticker--get-news-by-wget, newsticker--image-get)
16607 (newsticker--image-sentinel):
16608 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16609 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16610 (eudc-ph-close-session):
16611 * net/eudc.el (eudc-save-options):
16612 * language/thai-word.el (thai-update-word-table):
16613 * language/japan-util.el (japanese-string-conversion):
16614 * international/titdic-cnv.el (tsang-quick-converter)
16615 (ziranma-converter, ctlau-converter):
16616 * international/mule-cmds.el (describe-language-environment):
16617 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16618 (skkdic-convert-postfix, skkdic-convert-prefix):
16619 (skkdic-convert-okuri-nasi, skkdic-convert):
16620 * emacs-lisp/re-builder.el (reb-update-overlays):
16621 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16622 * emacs-lisp/gulp.el (gulp-send-requests):
16623 * emacs-lisp/find-gc.el (trace-call-tree):
16624 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16625 (eieio-describe-generic):
16626 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16627 * emacs-lisp/edebug.el (edebug-outside-excursion):
16628 * emacs-lisp/debug.el (debugger-make-xrefs):
16629 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16630 * emacs-lisp/chart.el (chart-new-buffer):
16631 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16632 Use with-current-buffer.
16633 * textmodes/artist.el (artist-system): Don't call
16634 copy-sequence on a fresh string.
16635 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16637 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16639 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16640 is no item to edit. (Bug#4820)
16641 (todo-top-priorities): Restore point and restore narrowing in Todo
16644 2009-10-31 Glenn Morris <rgm@gnu.org>
16646 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16647 (comint-last-output-start, comint-last-input-start)
16648 (comint-last-input-end): Don't defvar when compiling.
16649 (ange-ftp-process-file): Use bound-and-true-p.
16651 * pcmpl-rpm.el (top-level): Move provide statement to end.
16652 (pcmpl-rpm): Remove unused custom group.
16654 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16656 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16658 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16659 (byte-compile-warnings): Add `constants' as an option.
16660 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16661 (display-call-tree): Update for byte-compile-fdefinition possibly
16662 returning `(macro lambda ...)'. (Bug#4778)
16663 (byte-compile-variable-ref, byte-compile-setq-default):
16664 Respect `constants' member of byte-compile-warnings.
16666 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16668 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16669 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16672 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16674 * textmodes/ispell.el (ispell-skip-region-alist):
16675 * international/mule-conf.el (eight-bit):
16676 * international/fontset.el (font-encoding-alist):
16677 * startup.el (pure-space-overflow-message):
16678 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16679 * paths.el (gnus-nntp-service, rmail-spool-directory)
16680 (term-file-prefix):
16681 * files.el (save-some-buffers-action-alist):
16682 * cmuscheme.el (same-window-buffer-names):
16683 * ielm.el (same-window-buffer-names):
16684 * shell.el (same-window-buffer-names):
16685 * mail/sendmail.el (same-window-buffer-names):
16686 * progmodes/inf-lisp.el (same-window-buffer-names):
16687 * bindings.el (mode-line-client)
16688 (mode-line-column-line-number-mode-map):
16689 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16690 (tibetan-precomposed-regexp): Purecopy string arguments.
16692 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16694 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16695 (calcDigit-nondigit):
16696 * calc/calc-yank.el (calc-copy-to-buffer):
16697 * calc/calc-units.el (calc-invalidate-units-table):
16698 * calc/calc-trail.el (calc-trail-yank):
16699 * calc/calc-store.el (calc-insert-variables):
16700 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16701 * calc/calc-prog.el (calc-read-parse-table):
16702 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16703 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16704 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16705 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16706 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16707 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16708 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16709 * calc/calc-ext.el (calc-realign):
16710 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16711 (calc-embedded-finish-edit, calc-embedded-make-info)
16712 (calc-embedded-finish-command, calc-embedded-stack-change):
16713 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16715 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16716 shell-dynamic-complete-filename in preference to
16717 comint-dynamic-complete-filename.
16719 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16720 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16721 Don't consider whether the display supports colors.
16722 (bookmark-import-new-list): Use dolist.
16723 (bookmark-bmenu-mode-map): Move initialization into declaration.
16724 (bookmark-bmenu-list): Use dolist, simplify.
16725 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16726 (menu-bar-final-items): Use push.
16728 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16730 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16731 it works on remote files.
16732 (vc-hg-diff): Don't pass any `--cwd' argument.
16734 2009-10-27 Kevin Ryde <user42@zip.com.au>
16736 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16737 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16738 (Further to Bug#3921).
16740 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16742 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16743 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16744 calling `tramp-imap-put-file'. Add file size to the call.
16745 (tramp-imap-get-file-entries): Compute also user name, file size,
16747 (tramp-imap-handle-insert-directory): Insert uid and gid.
16748 (tramp-imap-handle-file-attributes): Transform uid and gid
16749 according to `id-format'.
16750 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16751 size in header X-Size.
16753 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16755 * simple.el (transpose-subr): Give clearer error when the mark
16756 is not set. (Bug#4807)
16758 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16760 * net/tramp.el (tramp-perl-file-truename): New defconst.
16761 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16762 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16763 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16764 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16766 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16767 Ignore `dired-call-process'.
16768 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16770 2009-10-26 Julian Scheid <julians37@gmail.com>
16772 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16773 (tramp-get-remote-readlink): New defun.
16774 (tramp-handle-file-truename): Use it.
16775 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16776 file exists if cache value present.
16777 (tramp-check-cached-permissions): New defun.
16778 (tramp-handle-file-readable-p): Use it.
16779 (tramp-handle-file-writable-p): Likewise.
16780 (tramp-handle-file-executable-p): Likewise.
16781 (tramp-handle-file-name-all-completions): Try using Perl to get
16782 partial completions. When perl not available, combine `cd' and
16783 `ls' into single remote operation and use shell expansion to get
16784 partial remote directory contents. Set `file-exists-p' cache for
16785 directory and any files returned by ls. Change cache handling to
16786 support partial directory contents. Use error message emitted by
16787 remote `cd' or Perl code for local tramp-error.
16788 (tramp-do-copy-or-rename-file-directly): Avoid separate
16789 tramp-send-command-and-check call.
16790 (tramp-handle-process-file): Merge three remote ops into one.
16791 Do not flush all caches when `process-file-side-effects' is set.
16792 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16793 file-attributes shows uid/gid to be set already.
16795 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16797 * textmodes/tex-mode.el (tex-dvi-view-command)
16798 (tex-show-queue-command, tex-open-quote):
16799 * progmodes/ruby-mode.el (auto-mode-alist)
16800 (interpreter-mode-alist): Purecopy strings.
16802 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16804 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16805 string for the hook, keymap and abbrev table.
16807 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16809 * x-dnd.el (x-dnd-xdnd-to-action):
16810 * startup.el (fancy-startup-text, fancy-about-text): Change to
16811 defconst from defvar.
16813 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16815 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16816 Purecopy initialization strings.
16818 * mail/sendmail.el (mail-header-separator)
16819 (mail-personal-alias-file):
16820 * mail/rmail.el (rmail-default-dont-reply-to-names)
16821 (rmail-ignored-headers, rmail-retry-ignored-headers)
16822 (rmail-highlighted-headers, rmail-secondary-file-directory)
16823 (rmail-secondary-file-regexp):
16824 * files.el (null-device, file-name-invalid-regexp)
16825 (locate-dominating-stop-dir-regexp)
16826 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16827 (interpreter-mode-alist): Use mapcar instead of mapc.
16829 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16831 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16832 (completion-ignored-extensions):
16833 (debug-ignored-errors): Purecopy strings.
16835 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16837 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16838 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16839 (pcomplete--here): Use push.
16841 * subr.el (all-completions): Declare the 4th arg obsolete.
16843 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16845 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16846 (pcomplete-unquote-argument): New function.
16847 (pcomplete--common-suffix): Always pay attention to case.
16848 (pcomplete--table-subvert): Quote and unquote the text.
16849 (pcomplete--common-quoted-suffix): New function.
16850 (pcomplete-std-complete): Use it and pcomplete-begin.
16852 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16853 we're inside a dedicated or minibuffer window.
16855 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16857 * bookmark.el: Update documentation, especially documentation
16858 of `bookmark-alist' and of the bookmark file format.
16859 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16861 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16863 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16864 keybindings apply to the mail buffer (Bug#4003). Shrink help
16867 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16868 (global-whitespace-mode, global-whitespace-newline-mode)
16869 (whitespace-toggle-options, global-whitespace-toggle-options):
16870 Doc fix (Bug#3660).
16872 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16873 of xmltok-start before the end tag was inserted (Bug#2840).
16875 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16876 patterns that are preceded by an open-paren (Bug#1320).
16878 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16880 * files.el (delete-directory): Delete symlinks to directories with
16881 delete-file (Bug#4739).
16883 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16885 * vc.el (vc-backend-for-registration): Rename from
16886 vc-get-backend-for-registration. Update callers.
16888 * international/mule-cmds.el (set-language-info-alist):
16890 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16891 (charset): Purecopy the name.
16892 (define-char-code-property): Purecopy string arguments.
16894 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16895 Purecopy string arguments.
16897 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16898 * ediff-hook.el (menu-bar-ediff-menu):
16899 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16900 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16902 2009-10-24 Glenn Morris <rgm@gnu.org>
16904 * comint.el (comint-dynamic-list-completions):
16905 * term.el (term-dynamic-list-completions): Use choose-completion rather
16906 than obsolete alias mouse-choose-completion.
16908 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16909 file-cache-choose-completion.
16910 (file-cache-choose-completion): Handle an optional event argument.
16911 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16913 * progmodes/octave-mod.el (octave-complete-symbol):
16914 Use choose-completion if mouse-choose-completion is ever removed.
16916 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16919 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16922 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16924 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16926 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16927 Ignore `pred' now that we receive one.
16928 Handle test-completion specially.
16930 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16932 * vc.el (vc-responsible-backend): Throw an error if not backend is
16933 found. Remove the REGISTER argument. Move the code dealing with
16935 (vc-get-backend-for-registration): ... here. New function.
16936 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16937 of vc-responsible-backend, pass the file name instead of the
16940 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16942 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16944 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16945 (pcomplete-comint-setup): Don't modify a global var via
16946 accidental side-effects.
16947 (pcomplete-shell-setup): Adjust call accordingly.
16948 (pcomplete-parse-comint-arguments): Use push.
16950 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16952 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16953 Allow uncapitalized info node names (Bug#3921).
16955 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16956 to the DEBUG file (Bug#3781).
16958 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16960 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16961 dictionary entry (Bug#4579).
16963 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16965 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16966 from `rfn-eshadow-update-overlay-hook' when unloading.
16967 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16968 "rsyncc". Adjust doc string.
16969 (tramp-temp-buffer-file-name): New buffer-local defvar.
16970 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16971 Keep temporary file when indicated by method ("rsync" and
16973 (tramp-handle-write-region): Handle APPEND.
16974 (tramp-delete-temp-file-function): New defun. Added to
16975 `kill-buffer-hook'.
16977 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16979 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16981 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16983 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16984 (color-name-rgb-alist, tty-standard-colors)
16985 (tty-color-mode-alist): Change to defconst.
16987 * simple.el (mark-inactive): Purecopy message.
16989 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16990 (global-map, yank-menu):
16991 * textmodes/ispell.el (ispell-menu-map):
16992 * net/eudc.el (eudc-tools-menu):
16993 * international/mule-cmds.el (describe-language-environment-map)
16994 (setup-language-environment-map, set-coding-system-map)
16995 (mule-menu-keymap):
16996 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16997 * replace.el (occur-mode-map):
16998 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17000 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17002 * calc/calc.el (math-read-number, math-read-number-simple):
17003 Use `save-match-data'.
17005 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17007 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17008 rather than fiddling with global-map bindings, since it should only
17009 affect per-terminal settings.
17010 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17012 * minibuffer.el (completion-table-with-terminator): Allow to specify
17013 the terminator-regexp.
17015 * simple.el (switch-to-completions): Look for *Completions* in other
17018 * pcomplete.el: Allow the use of completion-tables.
17019 (pcomplete-std-complete): New command.
17020 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17021 (pcomplete--here): Use a function for `form' rather than an expression,
17022 so it can be byte-compiled.
17023 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17024 Add edebug declaration.
17025 (pcomplete-show-completions): Remove unused var `curbuf'.
17026 (pcomplete-do-complete, pcomplete-stub):
17027 Don't assume `completions' is a list of strings any more.
17029 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17031 * find-dired.el (find-name-arg): Fix typo in docstring.
17033 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17035 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17036 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17038 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17041 * comint.el (comint-read-input-ring, comint-write-input-ring)
17042 (comint-substitute-in-file-name)
17043 (comint-dynamic-complete-as-filename)
17044 (comint-dynamic-simple-complete)
17045 (comint-dynamic-list-filename-completions)
17046 (comint-dynamic-list-completions)
17047 (comint-redirect-results-list-from-process): Minor simplifications.
17049 2009-10-21 Kevin Ryde <user42@zip.com.au>
17051 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17052 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17053 the first form. And insert a blank line after ";;; Code" since
17054 that's usual style. (Bug#4612)
17056 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17058 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17060 * minibuffer.el (completion-table-with-terminator): Properly implement
17061 boundaries, in case `terminator' appears in the suffix.
17062 (completion--embedded-envvar-table): Don't return boundaries if
17063 there's no valid completion. Simplify.
17064 (completion-file-name-table): New completion table extracted from
17065 completion--file-name-table.
17066 (completion--file-name-table): Use it.
17067 (read-file-name-predicate): Declare obsolete.
17068 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17069 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17070 completion-file-name-table, and use the `pred' argument.
17071 * files.el (locate-file-completion-table): Use the `pred' arg rather
17072 than read-file-name-predicate.
17073 (abbreviate-file-name): Use \` rather than ^ for BOS.
17075 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17077 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17078 vc-responsible-backend to register, it causes problems.
17080 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17082 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17084 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17086 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17087 (tramp-smb-handle-file-attributes): Use it.
17088 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17089 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17090 `mapcar'. Use `tramp-smb-get-stat-capability'.
17091 Add `dired-filename' text properties.
17092 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17093 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17096 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17098 * subr.el (read-key-delay): Reduce to 0.01.
17099 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17102 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17104 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17106 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17107 (Info-menu): Remove unused vars `last' and `completions'.
17108 (Info-index-nodes): Remove unused var `node'.
17110 * info.el (Info-complete-menu-item): Use complete-with-action.
17112 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17114 Make vc-annotate work through copies and renames.
17115 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17116 Return the file name too.
17117 (vc-annotate-revision-at-line)
17118 (vc-annotate-find-revision-at-line)
17119 (vc-annotate-revision-previous-to-line)
17120 (vc-annotate-show-log-revision-at-line): Update to get the file
17121 name from vc-annotate-extract-revision-at-line.
17122 (vc-annotate-show-diff-revision-at-line-internal): Change the
17123 argument to mean whether to show a file diff or not. Get the file
17124 name from vc-annotate-extract-revision-at-line.
17125 (vc-annotate-show-diff-revision-at-line):
17126 Update vc-annotate-show-diff-revision-at-line call.
17127 (vc-annotate-warp-revision): Add an optional file argument.
17129 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17130 (vc-git-annotate-extract-revision-at-line): Also return the file
17133 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17134 command. Remove unused code.
17135 (vc-hg-annotate-re): Update to match --follow output.
17136 (vc-hg-annotate-extract-revision-at-line): Also return the file
17139 * vc.el: Update annotate-extract-revision-at-line documentation.
17141 2009-10-18 Kevin Ryde <user42@zip.com.au>
17143 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17144 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17146 * net/browse-url.el (browse-url): Identify alist with "consp and
17147 not functionp" and let all other things go down the `apply' leg,
17148 as suggested by Stefan. (Further to bug#4531.)
17150 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17152 * minibuffer.el (read-file-name): Check for repeat before putting
17153 a default argument in file-name-history (Bug#4657).
17155 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17156 read syntax (Bug#4737).
17158 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17160 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17162 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17163 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17164 entries and make note of obsolete tags.
17166 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17168 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17170 2009-10-18 Glenn Morris <rgm@gnu.org>
17172 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17173 grep, so that binary files (eg international/uni-bidi.el) can match.
17174 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17175 now, and in any case the file header format has changed.
17177 2009-10-17 Glenn Morris <rgm@gnu.org>
17179 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17180 (flyspell-get-word, flyspell-large-region)
17181 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17183 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17185 * Makefile.in (ELCFILES): Add ede/shell.
17187 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17189 * term/common-win.el (x-colors): Purecopy it.
17191 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17193 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17194 permissive for when the buffer is empty.
17195 (tar-header-block-tokenize): Decode the username and groupname.
17196 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17198 2009-10-17 Eric Ludlam <zappo@gnu.org>
17200 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17201 contains multibyte characters, choose first applicable coding
17202 system automatically.
17204 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17206 * international/mule-cmds.el (select-safe-coding-system): If the file
17207 has a coding cookie, use it regardless of any other setting (bug#4712).
17209 2009-10-17 Glenn Morris <rgm@gnu.org>
17211 * foldout.el (foldout-mouse-swallow-events):
17212 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17214 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17215 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17216 (dired-keep-marker-symlink, dired-dwim-target)
17217 (dired-copy-preserve-time): Do not autoload these defcustoms.
17219 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17220 messages from messing up the file coding. (Bug#4623)
17222 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17224 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17225 if no match is found for the current dictionary. (Bug#4578)
17227 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17228 optional, since that is how it is documented, and this is often called
17229 with a nil argument. (Bug#4577)
17230 (flyspell-external-point-words, flyspell-auto-correct-word)
17231 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17232 (flyspell-word-search-backward): Remove nil argument in calls to
17233 flyspell-get-word, since it is not needed now.
17235 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17237 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17239 2009-10-16 Glenn Morris <rgm@gnu.org>
17241 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17243 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17245 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17246 (ange-ftp-file-size): New function.
17247 (ange-ftp-file-attributes): Use it.
17249 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17251 * net/tramp-smb.el (tramp-smb-version): New defvar.
17252 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17255 2009-10-16 Glenn Morris <rgm@gnu.org>
17257 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17258 Maybe copy some custom properties from old to new name. (Bug#4706)
17260 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17262 * subr.el (error, sit-for, start-process-shell-command)
17263 (start-file-process-shell-command): Set the calling convention
17264 after the function definition.
17266 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17268 * subr.el (error, sit-for, start-process-shell-command)
17269 (start-file-process-shell-command): Use the new
17270 set-advertised-calling-convention feature.
17272 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17274 * international/ucs-normalize.el (ucs-normalize-version):
17276 (check-range): Adjust for Unicode 5.2.
17278 2009-10-15 Juri Linkov <juri@jurta.org>
17280 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17281 to the `menu-item' format.
17283 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17285 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17286 if the environment variable does not exist.
17288 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17289 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17291 (tramp-smb-handle-add-name-to-file)
17292 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17293 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17294 (tramp-smb-handle-file-attributes)
17295 (tramp-smb-do-file-attributes-with-stat)
17296 (tramp-smb-handle-file-local-copy)
17297 (tramp-smb-handle-insert-directory)
17298 (tramp-smb-handle-make-directory)
17299 (tramp-smb-handle-make-directory-internal)
17300 (tramp-smb-handle-make-symbolic-link)
17301 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17302 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17303 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17304 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17305 Handle long file names.
17306 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17307 process is running.
17308 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17309 Read share names with "-g" option.
17311 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17313 * net/rcirc.el (rcirc-view-log-file): New command.
17314 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17315 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17318 2009-10-15 Glenn Morris <rgm@gnu.org>
17320 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17321 from the second command-line argument.
17322 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17323 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17324 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17325 w32-batch-update-autoloads.
17326 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17327 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17329 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17330 the headers cannot be located. Simplify, subtracting superflous
17333 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17335 Replace completion-base-size by completion-base-position to fix bugs
17336 such as (bug#4699).
17337 * simple.el (completion-base-position): New var.
17338 (completion-base-size): Mark as obsolete.
17339 (choose-completion): Make it work for mouse events as well.
17340 Pass the new base-position to choose-completion-string.
17341 (choose-completion-guess-base-position): New function, extracted from
17342 choose-completion-delete-max-match.
17343 (choose-completion-delete-max-match): Use it. Make obsolete.
17344 (choose-completion-string): Use the new base-position info.
17345 (completion-root-regexp): Delete.
17346 (completion-setup-function): Preserve completion-base-position.
17347 Eliminate obsolete base-size manipulation.
17348 * minibuffer.el (display-completion-list): Don't mess with base-size.
17349 (minibuffer-completion-help): Set completion-base-position instead.
17350 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17352 * textmodes/bibtex.el (bibtex-complete):
17353 * emacs-lisp/crm.el (crm--choose-completion-string):
17354 Adjust to new calling convention.
17355 * complete.el (partial-completion-mode): Use minibufferp to avoid
17356 bumping into incompatible change to choose-completion-string-functions.
17357 * ido.el (ido-choose-completion-string): Make its calling convention
17359 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17360 base-size manipulation.
17361 (comint-dynamic-list-input-ring): Use dotimes and push.
17362 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17363 fundamental-mode. Use `or'.
17365 2009-10-14 Juri Linkov <juri@jurta.org>
17367 * misearch.el (multi-isearch-next-buffer-from-list)
17368 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17370 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17372 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17375 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17376 string we return is all made up of text from the completions rather
17377 than part from the completions and part from the input (bug#4219).
17379 * ido.el (ido-everywhere): Use define-minor-mode.
17381 * buff-menu.el (list-buffers, ctl-x-map):
17382 Mark the entry points with ;;;###autoload cookies.
17384 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17386 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17387 correctly in the detached head case.
17388 (vc-git-print-log): Remove unused binding.
17390 * vc.el (vc-responsible-backend): When a directory is passed for
17391 for registration create a VC repository if no backend is
17392 responsible for the directory argument.
17393 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17395 * vc.el: Move comments about RCS and SCCS ...
17397 * vc-sccs.el: ... here, respectively.
17399 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17401 * minibuffer.el (completion--file-name-table): Return nil if there's
17402 no file completion, even if substitute-in-file-name changed
17403 the string (bug#4708).
17405 2009-10-13 Juri Linkov <juri@jurta.org>
17407 * files-x.el (read-file-local-variable-value): Don't filter out
17408 minor modes from mode name completion (bug#4664).
17410 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17412 * international/mule-cmds.el (ucs-names): Remove exclusion of
17413 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17415 2009-10-13 Kenichi Handa <handa@m17n.org>
17417 * international/uni-name.el: Regenerated.
17419 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17421 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17422 should be automatically buffer-local, but isn't.)
17424 2009-10-12 Sam Steingold <sds@gnu.org>
17426 * progmodes/compile.el (compilation-next-error-function): Fix the
17427 timestamps if the buffer has been visited before.
17428 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17429 non-anchored patterns, like the perl one (bug#3928).
17431 2009-10-12 Glenn Morris <rgm@gnu.org>
17433 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17436 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17438 * proced.el (proced-unload-function): New function.
17440 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17441 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17444 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17446 2009-10-11 Juri Linkov <juri@jurta.org>
17448 * files-x.el (read-file-local-variable-value):
17449 Provide default value only for bound variables (bug#4664).
17451 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17453 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17454 connection methods like smb.
17456 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17459 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17460 (tramp-smb-file-name-handler-alist): Add handlers for
17461 `add-name-to-file', `make-symbolic-link'.
17462 (tramp-smb-handle-add-name-to-file)
17463 (tramp-smb-do-file-attributes-with-stat)
17464 (tramp-smb-handle-make-symbolic-link)
17465 (tramp-smb-get-cifs-capabilities): New defuns.
17466 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17467 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17468 (tramp-smb-handle-file-local-copy)
17469 (tramp-smb-handle-make-directory-internal)
17470 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17471 The file name syntax depends on cifs capabilities.
17472 (tramp-smb-handle-file-attributes):
17473 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17474 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17475 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17477 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17479 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17480 (eieio-defclass): Apply deftype handler and setf-method properties
17482 (eieio-add-new-slot): Avoid union function from cl library.
17483 (eieio--typep): New function.
17484 (eieio-perform-slot-validation): Use it.
17486 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17488 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17489 Update documentation to refer to the variables documented in r1.135.
17492 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17494 * bookmark.el (Info-suffix-list): Remove this unused variable.
17495 (bookmark-current-point): Remove this obsolete variable.
17496 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17497 Adjust for removal of bookmark-current-point.
17499 (bookmarks-already-loaded, bookmark-current-buffer)
17500 (bookmark-yank-point): Document. (Bug#4188)
17502 2009-10-10 Glenn Morris <rgm@gnu.org>
17504 * frame.el (frame-height): Doc fix.
17506 * calendar/calendar.el (calendar-split-width-threshold): New option.
17507 (calendar-basic-setup): Use calendar-split-width-threshold.
17509 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17511 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17512 Ideographic Supplement" range (U+1F200..U+1F2FF).
17514 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17516 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17517 since the list will have been rebuilt anyway. (Bug#4349)
17519 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17521 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17522 (bookmark-bmenu-execute-deletions): Don't save here, as
17523 bookmark-delete will now do so if necessary.
17524 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17527 2009-10-09 Glenn Morris <rgm@gnu.org>
17529 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17531 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17533 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17534 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17535 argument now, so the two function's behaviors will match. (Bug#3645)
17537 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17539 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17540 (tramp-file-name-real-host, tramp-file-name-port):
17541 Apply `save-match-data'.
17543 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17544 case both directories are remote.
17545 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17546 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17548 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17550 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17552 2009-10-07 Glenn Morris <rgm@gnu.org>
17554 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17557 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17559 * files-x.el (read-file-local-variable): Include some
17560 non-user-variables in the completion table (bug#4664).
17562 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17564 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17567 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17568 (tramp-smb-file-name-handler-alist): Add handler for
17569 `copy-directory', `expand-file-name', `set-file-modes'.
17570 (tramp-smb-handle-copy-directory)
17571 (tramp-smb-handle-expand-file-name)
17572 (tramp-smb-handle-set-file-modes): New defuns.
17573 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17574 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17576 (tramp-smb-handle-insert-directory): Don't flush the cache.
17577 (tramp-smb-maybe-open-connection): Check for samba client and
17580 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17582 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17583 to not error out of search for "^lisp=" fails.
17585 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17587 * makefile.w32-in (WINS_UPDATES): New macro.
17588 (custom-deps, finder-data, autoloads): Use it.
17590 2009-10-07 Glenn Morris <rgm@gnu.org>
17592 * Makefile.in (autoloads): Revert previous change.
17593 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17594 the list of preloaded files passed on the command-line, get
17595 it from src/Makefile.
17597 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17598 show the original buffer rather than a random one.
17600 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17602 * help.el (describe-no-warranty): Place point in a slightly better
17603 position in the GPLv3 text.
17605 2009-10-06 Sam Steingold <sds@gnu.org>
17607 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17608 the comm attribute is present before calling regexp-quote.
17610 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17612 * play/animate.el (animate-string): For good effect, make sure
17613 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17615 * play/animate.el (animate-sequence, animate-birthday-present):
17616 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17618 2009-10-06 Glenn Morris <rgm@gnu.org>
17620 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17622 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17623 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17624 (batch-update-autoloads): Process a string value of autoload-excludes,
17625 set during the build process.
17626 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17628 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17629 inside with-parsed... macro so that `v' is defined.
17631 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17632 * progmodes/fortran.el (fortran-end-of-block)
17633 (fortran-beginning-of-block):
17634 Also push mark in the macro case.
17636 * emerge.el (emerge-show-file-name):
17637 * calc/calc.el (calc-quit):
17638 * calc/calc-misc.el (calc-big-or-small):
17639 * calc/calc-graph.el (calc-graph-view):
17640 * calc/calc-ext.el (calc-reset):
17641 * calendar/calendar.el (calendar-basic-setup):
17642 Use window-full-height-p.
17644 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17645 header we don't understand, don't insert another. (Bug#4624)
17646 If changing mime charset, insert the new one in the right place.
17648 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17650 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17651 (cal-tex-cursor-month): Correctly increment the end date for diary and
17652 holiday listing. (Bug#4626)
17654 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17656 * help-fns.el (describe-function-1): Don't burp if the function is not
17659 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17661 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17662 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17663 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17664 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17666 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17667 (eieio-default-superclass): Reflow docstrings.
17668 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17669 (eieio-unbind-method-implementations, defmethod)
17670 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17671 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17672 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17673 (eieio-slot-originating-class-p, eieio-slot-name-index)
17674 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17675 (constructor, initialize-instance, no-next-method, object-print)
17676 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17677 Fix typos in docstrings.
17678 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17679 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17680 (next-method-p): Doc fixes.
17681 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17682 Fix typos in error messages.
17683 (eieio-defmethod): Fix typo in description of generic method.
17685 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17686 (eieio-persistent-save-interactive, slot-missing):
17687 Fix typos in docstrings.
17688 (eieio-instance-inheritor-slot-boundp): Doc fix.
17690 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17691 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17693 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17694 (eieio-custom-object-apply-reset):
17695 Fix typos in docstrings and error messages.
17697 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17698 Fix typo in docstring.
17700 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17701 (eieio-browse-tree): Doc fix.
17702 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17703 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17704 Fix typos in docstrings.
17706 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17707 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17708 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17709 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17712 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17714 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17715 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17716 Set log-view-vc-backend so that diff can work.
17718 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17720 (vc-diff-internal): Autoload this instead of vc-version-diff.
17722 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17724 * simple.el (eval-expression): Doc fix.
17726 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17728 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17730 * files.el (directory-files-no-dot-files-regexp): New defconst.
17731 (delete-directory): Use it.
17732 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17734 * net/tramp.el (tramp-verbose): Fix docstring.
17735 (tramp-methods): Add recursive option to `tramp-copy-args'.
17736 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17737 "scp1_old", "scp2_old", "rsync", "rsyncc".
17738 (tramp-default-method): Check also for `auth-source-user-or-password'.
17739 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17740 Add handler for `copy-directory'.
17741 (tramp-handle-copy-directory): New defun.
17742 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17743 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17744 Optimize sent command.
17746 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17748 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17749 window if necessary.
17751 * calendar/calendar.el (calendar-basic-setup): Don't call
17752 switch-to-buffer in a dedicated window.
17754 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17756 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17757 don't do anything related to relocating, just return nil.
17758 (bookmark-error-no-filename): New error.
17759 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17760 bookmark has no file. Don't even attempt to handle things that
17761 are not files; the whole point of custom handlers is to keep that
17762 knowledge elsewhere anyway. Tighten some comments.
17763 (bookmark-file-or-variation-thereof): Remove now-unused function.
17764 (bookmark-location): Doc string fix.
17767 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17769 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17770 don't use a file dialog, because they usually don't know how to read
17771 a directory target from the user. (Bug#4230)
17772 Also, make sure the prompt can display directories as well as files.
17774 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17776 * bookmark.el (bookmark-set, bookmark-buffer-name):
17777 Improve doc strings. (Bug#1193)
17779 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17781 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17782 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17783 (bookmark-get-annotation, bookmark-set-annotation)
17784 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17785 (bookmark-set-position, bookmark-get-front-context-string)
17786 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17787 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17788 (bookmark-jump-other-window, bookmark-handle-bookmark)
17789 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17790 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17791 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17792 Improve doc strings to say whether bookmark can be a string or
17793 a record or both, and make other consistency and clarity fixes.
17794 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17795 (bookmark-default-annotation-text, bookmark-yank-word)
17796 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17797 (bookmark-import-new-list, bookmark-maybe-rename)
17798 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17799 (bookmark-bmenu-bookmark): Give these doc strings.
17800 (bookmark-bmenu-check-position): Give this a doc string, but also
17801 add a FIXME comment about how the function may be pointless.
17802 (bookmark-default-handler): Rework doc string and change a
17803 parameter name, to clarify that this takes a bookmark record
17804 not a bookmark name.
17805 (bookmark-set): Change a parameter name to indicate its meaning,
17806 and improve the doc string a bit.
17809 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17811 * bookmark.el (bookmark-alist): Document the new `handler' element
17812 in the param alist.
17813 (bookmark-make-record-function): Adjust documentation for above.
17816 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17818 * info.el (Info-bookmark-make-record): Document this function.
17819 (Info-bookmark-jump): Document with a doc string, not just a comment.
17822 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17824 * files.el (copy-directory): New defun.
17826 * dired-aux.el (dired-copy-file-recursive): Use it.
17828 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17830 * files-x.el (modify-dir-local-variable)
17831 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17834 * recentf.el (recentf-unload-function): New function.
17836 2009-10-04 Glenn Morris <rgm@gnu.org>
17838 * window.el (window-full-height-p): Add doc string.
17840 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17842 * window.el (window-full-height-p): New function. (Bug#4543)
17844 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17846 * vc.el: Remove commented out code.
17847 (vc-derived-from-dir-mode): Remove, unused.
17848 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17850 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17852 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17853 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17854 there could be recursive loading when `default-directory' is a
17855 remote file name. (Bug#4614)
17857 2009-10-03 Glenn Morris <rgm@gnu.org>
17859 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17861 (calendar-generate-window): Test for shrinkability rather than width.
17863 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17864 reusing existing buffers, in case we happen to visit two files with the
17865 same basename. (Bug#4593)
17867 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17869 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17870 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17871 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17872 subdirs of cedet as well.
17873 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17875 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17877 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17878 Obey advertised-signature-table.
17880 * help-fns.el (help-function-arglist): Don't check
17881 advertised-signature-table.
17882 (describe-function-1): Do it here instead so it also applies to subrs.
17884 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17886 * simple.el (start-file-process): Say in the doc-string, that file
17887 handlers might not support pty association, if PROGRAM is nil.
17889 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17890 HOST and USER are strings. They are nil, when there are
17891 incomplete entries in ~/.netrc, for example.
17892 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17893 root directory ("device busy" error otherwise).
17895 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17896 Flush file properties of created directory.
17898 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17900 * makefile.w32-in (WINS_BASIC): Remove cedet.
17901 (WINS_CEDET): Add cedet.
17902 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17904 2009-10-02 Kevin Ryde <user42@zip.com.au>
17906 * net/browse-url.el (browse-url): Pass any symbol in
17907 browse-url-browser-function to `apply', since if you've mistakenly put
17908 an unbound symbol then the error is clearer. (Bug#4531)
17910 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17912 * allout.el (allout-init, allout-back-to-current-heading)
17913 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17914 (allout-ascend, allout-up-current-level, allout-end-of-level)
17915 (allout-previous-visible-heading, allout-forward-current-level)
17916 (allout-backward-current-level, allout-show-children):
17917 * apropos.el (apropos-describe-plist):
17918 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17919 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17920 * completion.el (add-completion, add-permanent-completion):
17921 * descr-text.el (describe-text-category, describe-char):
17922 * desktop.el (desktop-lazy-abort):
17923 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17924 * dired.el (dired-build-subdir-alist):
17925 * ediff.el (ediff-version):
17926 * elide-head.el (elide-head, elide-head-show):
17927 * emerge.el (emerge-version):
17929 * face-remap.el (variable-pitch-mode):
17930 * faces.el (describe-face):
17931 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17933 * files.el (find-file-existing, auto-save-mode):
17934 * font-lock.el (font-lock-fontify-buffer):
17935 * help-fns.el (describe-function, describe-variable)
17936 (describe-syntax, describe-categories):
17937 * help.el (view-lossage, describe-bindings, describe-key)
17939 * hexl.el (hexl-current-address):
17940 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17941 * info.el (Info-goto-emacs-key-command-node):
17942 * log-edit.el (log-edit-insert-cvs-template)
17943 (log-edit-insert-cvs-rcstemplate):
17944 * menu-bar.el (menu-bar-mode):
17945 * mouse.el (mouse-appearance-menu):
17946 * newcomment.el (comment-indent-new-line):
17947 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17948 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17949 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17950 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17951 * recentf.el (recentf-mode):
17952 * savehist.el (savehist-mode, savehist-save):
17953 * shadowfile.el (shadow-copy-files):
17954 * simple.el (kill-ring-save, next-line, previous-line)
17955 (normal-erase-is-backspace-mode):
17956 * strokes.el (strokes-update-window-configuration)
17957 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17958 (strokes-xpm-for-stroke):
17959 * time.el (emacs-uptime, emacs-init-time):
17960 * tutorial.el (tutorial--describe-nonstandard-key)
17961 (tutorial--detailed-help):
17962 * type-break.el (type-break-mode)
17963 (type-break-mode-line-message-mode, type-break-query-mode)
17964 (type-break-guesstimate-keystroke-threshold):
17965 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17966 * version.el (emacs-version):
17967 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17968 * winner.el (winner-mode):
17969 * calendar/timeclock.el (timeclock-in, timeclock-out)
17970 (timeclock-status-string, timeclock-change)
17971 (timeclock-workday-remaining-string)
17972 (timeclock-workday-elapsed-string)
17973 (timeclock-when-to-leave-string):
17974 * calendar/todo-mode.el (todo-add-category):
17975 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17976 * emacs-lisp/autoload.el (update-file-autoloads):
17977 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17978 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17979 (checkdoc-message-text, checkdoc-defun):
17980 * emacs-lisp/debug.el (debugger-list-functions):
17981 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17982 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17983 (eieio-describe-generic):
17984 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17985 * emacs-lisp/shadow.el (list-load-path-shadows):
17986 * emulation/cua-base.el (cua-mode):
17987 * emulation/edt.el (edt-set-scroll-margins):
17988 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17989 (tpu-toggle-regexp, tpu-toggle-search-direction)
17990 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17991 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17992 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17993 (viper-set-parsing-style-toggling-macro)
17994 (viper-set-emacs-state-searchstyle-macros):
17995 * emulation/viper.el (viper-set-hooks):
17996 * eshell/esh-mode.el (eshell-truncate-buffer):
17997 * international/mule-cmds.el (prefer-coding-system)
17998 (describe-input-method, describe-language-environment):
17999 * international/mule-diag.el (list-character-sets)
18000 (describe-character-set, describe-coding-system)
18001 (describe-fontset, list-fontsets, list-input-methods):
18002 * mail/sendmail.el (mail-signature):
18003 * net/ange-ftp.el (ange-ftp-copy-file):
18004 * net/browse-url.el (browse-url):
18005 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18006 * net/quickurl.el (quickurl-add-url):
18007 * net/rcirc.el (names, topic):
18008 * net/xesam.el (xesam-mode):
18009 * play/5x5.el (5x5-new-game):
18010 * play/yow.el (apropos-zippy):
18011 * progmodes/ada-mode.el (ada-mode-version):
18012 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18014 (f90-beginning-of-block):
18015 * progmodes/fortran.el (fortran-end-of-block)
18016 (fortran-beginning-of-block):
18017 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18018 * progmodes/python.el (python-describe-symbol, python-shell):
18019 * term/ns-win.el (ns-print-buffer):
18020 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18021 * textmodes/flyspell.el (flyspell-mode-on):
18022 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18023 (pages-directory-for-addresses):
18024 * textmodes/table.el (table-recognize-cell)
18025 (table-query-dimension, table-generate-source)
18026 (table-insert-sequence, table--warn-incompatibility):
18027 * textmodes/tex-mode.el (tex-validate-buffer):
18028 * textmodes/texinfmt.el (texinfmt-version)
18029 (texinfo-format-buffer):
18030 Use `called-interactively-p' instead of `interactive-p'.
18032 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18034 * image-mode.el (image-toggle-display):
18035 * emacs-lisp/elp.el (elp-instrument-function):
18036 * emacs-lisp/advice.el (ad-make-advised-definition):
18037 * emacs-lisp/easy-mmode.el (define-minor-mode):
18038 * net/browse-url.el (browse-url-maybe-new-window):
18039 * progmodes/sh-script.el (sh-learn-buffer-indent):
18040 Pass new argument 'any to `called-interactively-p'.
18042 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18044 * international/uni-bidi.el:
18045 * international/uni-category.el:
18046 * international/uni-combining.el:
18047 * international/uni-comment.el:
18048 * international/uni-decimal.el:
18049 * international/uni-decomposition.el:
18050 * international/uni-digit.el:
18051 * international/uni-lowercase.el:
18052 * international/uni-mirrored.el:
18053 * international/uni-name.el:
18054 * international/uni-numeric.el:
18055 * international/uni-old-name.el:
18056 * international/uni-titlecase.el:
18057 * international/uni-uppercase.el:
18058 Regenerate from Unicode 5.2.0 data.
18060 2009-10-01 Glenn Morris <rgm@gnu.org>
18062 * Makefile.in (ELCFILES): Regenerate.
18064 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18066 * subr.el (interactive-p): Mark obsolete.
18067 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18068 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18069 advertised-signature-table for subroutines as well.
18071 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18072 (set-advertised-calling-convention): New function.
18073 (make-obsolete, define-obsolete-function-alias)
18074 (make-obsolete-variable, define-obsolete-variable-alias):
18075 Make the optional-ness of `when' obsolete.
18076 (define-obsolete-face-alias): Make `when' non-optional.
18077 * help-fns.el (help-function-arglist):
18078 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18079 Use advertised-signature-table.
18081 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18083 * files.el (delete-directory): New defun. The original function
18084 in fileio.c has been renamed to `delete-directory-internal'.
18086 * dired.el (dired-delete-file): Call `delete-directory' with
18087 RECURSIVE parameter.
18089 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18090 parameter RECURSIVE. Implementation is missing.
18092 * net/tramp.el (tramp-handle-make-directory): Flush upper
18093 directory's file properties.
18094 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18095 (tramp-handle-dired-recursive-delete-directory): Flush directory
18096 properties after the remove command only.
18098 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18099 Handle optional parameter RECURSIVE.
18101 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18102 Handle optional parameter RECURSIVE.
18104 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18105 connection timeout.
18106 (tramp-smb-handle-delete-directory): Handle optional parameter
18109 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18111 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18112 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18113 (byte-compile-defmacro): Use backquotes.
18115 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18117 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18118 has no associated file.
18119 (vc-resynch-buffer): Use vc-dir-buffers.
18121 2009-10-01 Glenn Morris <rgm@gnu.org>
18123 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18124 (chart-file-count):
18125 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18126 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18127 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18128 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18129 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18130 (eieio-copy-parents-into-subclass, make-instance, class-children)
18131 (eieio-generic-form):
18133 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18134 match-data. (Bug#4555).
18136 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18137 rather than parsing it as a regexp. This relaxes the layout
18138 requirements and makes errors easier to detect.
18139 (check-declare-verify): Check file is regular.
18140 (check-declare-directory): Doc fix.
18141 * subr.el (declare-function): Doc fix.
18143 * ibuffer.el (ibuffer-format-qualifier):
18144 * isearch.el (hi-lock-regexp-okay):
18145 * calc/calc.el (math-zerop):
18146 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18147 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18148 Remove unused declarations.
18150 2009-09-30 Eric Ludlam <zappo@gnu.org>
18152 * emacs-lisp/eieio.el (boolean-p): Delete.
18154 2009-09-30 Glenn Morris <rgm@gnu.org>
18156 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18158 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18159 filename is not a string.
18161 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18163 * files.el (safe-local-eval-forms): Fix typo.
18165 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18167 * vc-hooks.el (vc-dir-buffers): New var.
18168 (vc-state-refresh): New function.
18169 (vc-state): Use it.
18170 (vc-after-save): Always ask the backend to recompute the new state.
18171 Always call vc-dir if necessary, using vc-dir-buffers.
18172 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18173 Use vc-dir-buffers.
18174 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18175 (vc-dir-prepare-status-buffer, vc-dir-update)
18176 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18177 Don't call expand-file-name on default-directory.
18179 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18181 * speedbar.el (speedbar-item-delete):
18182 * calc/calc-prog.el (calc-kbd-if):
18183 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18185 * epa.el (epa-key-list-mode-map):
18186 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18188 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18189 (hs-show-hook): Fix typo in docstring.
18191 2009-09-29 Glenn Morris <rgm@gnu.org>
18193 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18194 file-name-nondirectory call preventing location of cedet files.
18195 (check-declare-verify): Use literal search rather than re-search.
18196 Add basic defmethod and defclass, and define-overloadable-function.
18198 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18199 Use tramp-compat-file-attributes rather than nonexistent
18200 tramp-compat-handle-file-attributes.
18202 * Makefile.in (lisptagsfiles4): New.
18203 (AUTOGENEL): Add cedet loaddefs files.
18204 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18205 (update-elclist, compile-always, backup-compiled-files)
18206 (bootstrap-clean): Add yet another directory level.
18207 (update-elclist): Use LC_COLLATE rather than COLLATE.
18208 (ELCFILES): Update, via `make update-elclist'.
18210 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18212 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18213 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18214 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18216 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18218 * Makefile.in (lisptagsfiles3): Define.
18219 (TAGS, TAGS-LISP): Use it.
18220 (update-elclist): Add third directory level to look for elc files.
18221 (compile-always): Likewise.
18222 (backup-compiled-files): Likewise.
18223 (bootstrap-clean): Likewise.
18224 (ELCFILES): Update.
18226 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18228 * Makefile.in (ELCFILES): Add CEDET files.
18230 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18232 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18234 * net/tramp.el (top): Require tramp-imap.
18236 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18237 Use `tramp-compat-handle-file-attributes'.
18239 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18241 * net/tramp-imap.el: New package.
18243 2009-09-28 Eric Ludlam <zappo@gnu.org>
18245 * emacs-lisp/chart.el:
18246 * emacs-lisp/eieio-base.el:
18247 * emacs-lisp/eieio-comp.el:
18248 * emacs-lisp/eieio-custom.el:
18249 * emacs-lisp/eieio-datadebug.el:
18250 * emacs-lisp/eieio-opt.el:
18251 * emacs-lisp/eieio-speedbar.el:
18252 * emacs-lisp/eieio.el: New files.
18254 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18256 * whitespace.el (whitespace-trailing-regexp)
18257 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18260 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18262 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18265 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18266 menu-bar-ediff-menu.
18268 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18269 define-overloadable-function.
18271 * progmodes/autoconf.el: Provide autoconf as well, so that this
18272 file can be `require'd.
18274 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18276 * emacs-lisp/autoload.el (generated-autoload-feature)
18277 (generated-autoload-load-name): New vars.
18278 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18279 (make-autoload): Recognize define-overloadable-function and
18280 defclass forms (for EIEIO).
18282 * Makefile.in (update-subdirs): Exclude cedet directory.
18284 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18286 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18288 * faces.el: Default light-background background for region face to
18289 ns_selection_color under NS.
18291 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18293 * net/imap-hash.el: New library, see NEWS.
18295 * Makefile.in (ELCFILES): Add imap-hash.el.
18297 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18299 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18300 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18301 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18302 definition where the docstring could be taken for the return value.
18304 2009-09-26 Glenn Morris <rgm@gnu.org>
18306 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18307 Add option to only show images below a certain size.
18308 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18309 save-excursion calls.
18311 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18313 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18314 subdirectories) and eieio.
18316 2009-09-26 Alan Mackenzie <acm@muc.de>
18318 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18319 Correct buggy bracketing. (Bug#4289)
18321 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18322 character constants (as case labels). (Bug#4289)
18324 2009-09-25 Juri Linkov <juri@jurta.org>
18326 * files.el (safe-local-eval-forms): Allow time-stamp in
18327 before-save-hook (Bug#4554).
18329 2009-09-25 Drew Adams <drew.adams@oracle.com>
18331 * menu-bar.el (list-buffers-directory): Doc fix.
18333 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18335 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18336 Try and avoid copying twice the same paragraph.
18337 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18338 Remove save-excursion.
18339 (log-edit-changelog-entry): Do it here instead.
18341 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18343 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18344 when available, instead of hardcoding mode names. Doc fix.
18346 * menu-bar.el (list-buffers-directory): Add docstring.
18347 Make automatically buffer-local.
18349 * dired.el (dired-mode):
18350 * files.el (cd-absolute):
18351 * pcvs.el (cvs-temp-buffer):
18352 * pcvs-util.el (cvs-get-buffer-create):
18353 * shell.el (shell-mode):
18354 * vc-dir.el (vc-dir-mode):
18355 Don't make `list-buffers-directory' buffer local.
18357 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18359 * comint.el (comint-exec, comint-run, make-comint):
18360 Doc fixes (Bug#4542).
18362 2009-09-25 Glenn Morris <rgm@gnu.org>
18364 * mail/rmailmm.el (rmail-mime): New custom group.
18365 Move all defcustoms in this file into this group.
18366 (rmail-mime-media-type-handlers-alist): Revert previous change.
18367 (rmail-mime-show-images): New option.
18368 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18369 references to it, since it wasn't actually used for anything.
18370 (rmail-mime-insert-image): New function.
18371 (rmail-mime-image): Use rmail-mime-insert-image.
18372 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18373 obey the value of `rmail-mime-show-images' option. Print the size of
18376 2009-09-25 David Engster <deng@randomsample.de>
18378 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18380 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18382 * whitespace.el: Does not highlight trailing spaces While point is
18383 at end of line. Does not highligt spaces at beginning of buffer
18384 while point is at beginning of buffer. Does not highlight spaces
18385 at end of buffer while point is at end of buffer. (Bug#4177)
18387 (whitespace-display-mappings): Adjust initialization.
18388 (whitespace-point, whitespace-font-lock-refontify): New vars.
18389 (whitespace-color-on, whitespace-color-off): Adjust code.
18390 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18391 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18392 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18394 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18396 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18398 * textmodes/sgml-mode.el: Remove xml-mode alias.
18400 * files.el (auto-mode-alist, conf-mode-maybe)
18401 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18403 2009-09-24 Alan Mackenzie <acm@muc.de>
18405 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18406 c-forward-conditionals, but it doesn't move point and doesn't set
18408 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18409 (c-down-conditional-with-else, c-backward-conditional)
18410 (c-forward-conditional): Refactor to use c-scan-conditionals.
18412 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18414 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18415 (help-default-arg-highlight): Remove.
18416 (help-highlight-arg): New function.
18417 (help-do-arg-highlight): Use it.
18418 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18420 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18422 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18423 Undo last change, which didn't fix the problem and introduced others.
18425 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18427 * progmodes/gdb-mi.el: Don't require speedbar.
18428 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18430 2009-09-24 Glenn Morris <rgm@gnu.org>
18432 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18434 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18436 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18437 there is no newline after the final mime boundary. (Bug#4539)
18438 Move markers on insertion so that any buttons inserted don't end up in
18439 the next part of a multipart message.
18440 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18441 (rmail-mime-bulk-handler): Optionally handle images.
18442 (rmail-mime-image): New button action.
18443 (rmail-mime-image-handler): New function.
18444 (rmail-mime-mode): New mode.
18445 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18447 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18449 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18450 than just dropping elements from it (bug#4504).
18452 * term.el (term-set-scroll-region): Don't move cursor any more.
18453 (term-handle-ansi-escape): Call term-goto here instead.
18454 Suggested by Ivan Kanis <apple@kanis.eu>.
18456 * term.el: Require CL.
18457 (term-ansi-reset): New function.
18458 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18459 (term-handle-colors-array): Simplify.
18461 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18463 * allout.el (allout-overlay-interior-modification-handler)
18464 (allout-obtain-passphrase):
18465 * epa-file.el (epa-file-write-region):
18466 * ps-print.el (ps-begin-job):
18467 * vc-hooks.el (vc-toggle-read-only):
18468 * vc-rcs.el (vc-rcs-rollback):
18469 * vc-sccs.el (vc-sccs-rollback):
18470 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18471 (vc-version-diff, vc-revert, vc-rollback):
18472 * wdired.el (wdired-check-kill-buffer):
18473 * emacs-lisp/authors.el (authors):
18474 * net/socks.el (socks-open-connection):
18475 * net/zeroconf.el (zeroconf-service-add-hook):
18476 * obsolete/vc-mcvs.el (vc-mcvs-register):
18477 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18478 (gdb-select-frame):
18479 * progmodes/grep.el (lgrep, rgrep):
18480 * progmodes/idlw-help.el (idlwave-help-check-locations)
18481 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18482 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18483 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18484 (reftex-toc-rename-label): Fix typos in error messages.
18486 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18487 (dired-copy-how-to-fn): Doc fix.
18488 (dired-files-attributes, dired-read-shell-command):
18489 Fix typos in docstrings.
18491 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18492 (dired-x-find-file-other-window): Reflow docstrings.
18493 (dired-omit-marker-char, dired-read-shell-command)
18494 (dired-x-submit-report): Fix typos in docstrings.
18496 * shell.el (shell-mode-hook):
18497 * view.el (View-scroll-line-forward):
18498 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18499 Fix typos in docstrings.
18501 * net/dig.el (dig-invoke): Fix typo in docstring.
18502 (query-dig): Reflow docstring.
18504 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18505 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18506 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18507 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18508 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18509 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18510 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18511 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18512 (idlwave-completion-map, idlwave-current-indent)
18513 (idlwave-custom-ampersand-surround, idlwave-customize)
18514 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18515 (idlwave-define-abbrev, idlwave-determine-class-special)
18516 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18517 (idlwave-end-block-reg, idlwave-end-of-statement)
18518 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18519 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18520 (idlwave-explicit-class-listed, idlwave-file-header)
18521 (idlwave-fill-paragraph, idlwave-find-class-definition)
18522 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18523 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18524 (idlwave-in-quote, idlwave-indent-action-table)
18525 (idlwave-indent-expand-table, idlwave-indent-line)
18526 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18527 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18528 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18529 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18530 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18531 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18532 (idlwave-outlawed-buffers, idlwave-popup-select)
18533 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18534 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18535 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18536 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18537 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18538 (idlwave-statement-type, idlwave-struct-skip)
18539 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18540 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18541 (idlwave-what-module-find-class): Fix typos in docstrings.
18542 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18543 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18544 (idlwave-find-module, idlwave-find-structure-definition)
18545 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18546 (idlwave-list-load-path-shadows, idlwave-next-statement)
18547 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18548 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18549 (idlwave-template): Reflow docstrings.
18551 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18552 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18553 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18554 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18555 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18556 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18557 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18558 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18559 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18560 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18561 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18562 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18563 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18564 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18565 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18566 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18567 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18568 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18569 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18570 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18571 Fix typos in docstrings.
18572 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18573 (idlwave-shell-hide-output, idlwave-shell-mode)
18574 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18577 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18579 2009-09-24 Ivan Kanis <apple@kanis.eu>
18581 * term.el (term-bold-attribute): New var.
18582 (term-handle-colors-array): Use it.
18584 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18586 * progmodes/gdb-mi.el (gdb-version): New variable.
18587 (gdb-non-stop-handler): Set gdb-version.
18588 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18589 Condition "--thread" option on gdb-version.
18590 (gdb-invalidate-threads): Remove unused argument.
18592 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18594 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18595 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18597 2009-09-23 Glenn Morris <rgm@gnu.org>
18599 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18600 replying to mail without References or Message-Id. (Bug#4525)
18602 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18604 * term/ns-win.el (ns-reg-to-script): New variable.
18606 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18608 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18610 2009-09-22 Sam Steingold <sds@gnu.org>
18612 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18613 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18614 to 1 because hg returns status 1 when nothing is found.
18615 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18617 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18619 * textmodes/fill.el: Convert to utf-8 encoding.
18620 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18623 * add-log.el (change-log-fill-forward-paragraph): New function.
18624 (change-log-mode): Use it so fill-region DTRT.
18625 Set fill-indent-according-to-mode here rather than in
18626 change-log-fill-paragraph.
18627 (change-log-fill-paragraph): Remove.
18629 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18631 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18632 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18634 2009-09-22 Glenn Morris <rgm@gnu.org>
18636 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18637 the scroll-bar scroll the calendar window rather than the buffer.
18639 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18640 commands that move point (as opposed to scrolling).
18642 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18644 * emacs-lisp/elint.el (elint): New custom group.
18645 (elint-log-buffer): Make it a defcustom.
18646 (elint-scan-preloaded, elint-ignored-warnings)
18647 (elint-directory-skip-re): New options.
18648 (elint-builtin-variables): Doc fix.
18649 (elint-preloaded-env): New variable.
18650 (elint-unknown-builtin-args): Add an entry for encode-time.
18651 (elint-extra-errors): Make it a variable rather than a constant.
18652 (elint-preloaded-skip-re): New constant.
18653 (elint-directory): Skip files matching elint-directory-skip-re.
18654 (elint-features): New variable, local to linted buffers.
18655 (elint-update-env): Initialize elint-features. Possibly add
18656 elint-preloaded-env to the buffer's environment.
18657 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18659 (elint-init-form): New function, extracted from elint-init-env.
18660 Make non-list forms a warning rather than an error.
18661 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18662 easy-menu-define, put that adds an error-condition, and provide.
18663 When requiring cl, also require cl-macs. Really require cl, to handle
18664 some cl macros. Store required libraries in the list elint-features,
18665 so as not to re-load them. Treat cc-require like require.
18666 (elint-init-env): Call elint-init-form to do the work.
18667 Handle eval-and-compile and such like.
18668 (elint-add-required-env): Do not clear messages.
18669 (elint-special-forms): Add handlers for function, defalias, if, when,
18671 (elint-form): Add optional argument to ignore elint-special-forms,
18672 useful to prevent recursive calls from handlers. Doc fix.
18673 Respect elint-ignored-warnings.
18674 (elint-form): Respect elint-ignored-warnings.
18675 (elint-bound-variable, elint-bound-function): New variables.
18676 (elint-unbound-variable): Respect elint-bound-variable.
18677 (elint-get-args): Respect elint-bound-function.
18678 (elint-check-cond-form): Add some simple handling for (f)boundp and
18680 (elint-check-defalias-form): New handler.
18681 (elint-check-let-form): Make an empty let a warning rather than an
18683 (elint-check-setq-form): Make an empty setq a warning rather than an
18684 error. Respect elint-ignored-warnings.
18685 (elint-check-defvar-form): Accept null doc-strings.
18686 (elint-check-conditional-form): New handler. Does some simple-minded
18687 checking of featurep and (f)boundp tests.
18688 (elint-put-function-args): New function.
18689 (elint-initialize): Use elint-scan-doc-file rather than
18690 elint-find-builtin-variables. Use elint-put-function-args.
18691 Possibly scan preloaded-file-list.
18692 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18693 extend to handle functions as well.
18695 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18697 * linum.el (linum-delete-overlays, linum-update-window):
18698 Do not modify the right margin. (Bug#3971)
18700 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18702 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18703 Use nxml-mode instead of xml-mode.
18705 2009-09-21 Kevin Ryde <user42@zip.com.au>
18707 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18709 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18711 * net/dig.el (dig-mode): Use define-derived-mode.
18713 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18715 * vc-dispatcher.el (vc-do-command): Return the process object in
18716 the asynchronous case. Use when instead of if. Do not run
18717 vc-exec-after to display a message if not enabled. (Bug#4463)
18719 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18720 properties to the stash strings.
18721 (vc-git-stash-list): Return a list of strings.
18722 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18723 (vc-git-stash-show-at-point): New functions.
18724 (vc-git-stash-map): New keymap.
18726 * register.el (ctl-x-r-map): Define the keys here instead of
18729 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18731 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18732 list, to workaround performance problem (bug#4485).
18734 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18736 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18738 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18740 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18741 Document that this option is not recommended to use.
18743 2009-09-19 Glenn Morris <rgm@gnu.org>
18745 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18748 * calc/calc-alg.el (var):
18749 * calc/calcalg2.el (var): Define for compiler.
18751 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18753 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18754 Doc fix (Bug#3932).
18756 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18758 * time-stamp.el (time-stamp-month-dd-yyyy)
18759 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18760 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18761 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18762 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18763 Remove functions that have been obsolete since 1995 (Bug#4436).
18765 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18766 indent buffer only if called interactively (Bug#4452).
18768 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18769 Eli Zaretskii <eliz@gnu.org>
18771 This fixes bug#4197 (merged to bug#865, though not identical).
18772 * server.el (server-auth-dir): Add docstring note about FAT32.
18773 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18774 but warn against using them.
18776 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18778 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18779 older GDB where there is no has_more field.
18781 2009-09-19 Glenn Morris <rgm@gnu.org>
18783 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18785 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18787 * files.el (auto-mode-alist): Change default for XML files to nXML
18790 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18792 * server.el (server-ensure-safe-dir): Pass 'integer
18793 to `file-attributes', as suggested.
18795 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18797 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18798 (dired-query): Use read-key.
18800 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18802 * cus-start.el (ns-use-qd-smoothing): Remove.
18804 2009-09-18 Glenn Morris <rgm@gnu.org>
18806 * allout.el (top-level): Remove unnecessary progn.
18808 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18810 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18811 definition of abbrev table.
18813 * speedbar.el (speedbar-track-mouse):
18814 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18815 * net/eudc.el (eudc-expand-inline):
18816 * net/newst-backend.el (newsticker--cache-read-feed):
18817 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18818 condition-case handlers.
18820 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18822 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18823 (gdb-var-list): Add an element for has_more field.
18824 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18825 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18826 (gdb-var-update-handler-1): Parse output of dynamic variable
18827 objects (STL containers).
18828 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18829 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18831 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18833 (gud-speedbar-buttons): Make node expandable if expression "has more"
18836 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18838 * startup.el (emacs-quick-startup): Remove variable and all uses.
18839 (command-line): Set `inhibit-x-resources' instead.
18840 (command-line-1): Use `inhibit-x-resources' instead.
18842 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18844 * subr.el: Fix last change to avoid using the `unless' macro,
18845 which breaks bootstrapping.
18847 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18849 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18850 extended definitions, in case we reload subr.el after having
18852 (eval-next-after-load): Mark as obsolete.
18854 2009-09-17 Juri Linkov <juri@jurta.org>
18856 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18857 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18858 (menu-bar-showhide-menu, menu-bar-tools-menu)
18859 (menu-bar-describe-menu, menu-bar-help-menu)
18860 (minibuffer-local-completion-map, minibuffer-local-map):
18863 2009-09-17 Glenn Morris <rgm@gnu.org>
18865 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18866 arguments, whether or not it has a handler.
18868 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18870 * simple.el (hard-newline): Give it a doc-string.
18872 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18873 (lisp-mode-syntax-table): Give them doc-strings.
18875 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18877 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18878 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18879 (menu-bar-options-menu, menu-bar-showhide-menu)
18880 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18881 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18882 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18883 (menu-bar-options-menu, menu-bar-tools-menu)
18884 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18885 (menu-bar-help-menu):
18886 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18889 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18890 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18891 calls for the menu names and :help.
18893 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18895 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18896 to :minor-mode-function (bug#4455).
18898 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18900 * startup.el (command-line): Initialize the window-system after
18901 processing the command-line.
18903 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18904 page-delimiter matches the empty string.
18906 2009-09-16 Glenn Morris <rgm@gnu.org>
18908 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18909 byte-compile-not-obsolete-var. It's a list now.
18910 (byte-compile-not-obsolete-funcs): New variable.
18911 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18912 byte-compile-not-obsolete-funcs.
18913 (byte-compile-variable-ref, byte-compile-defvar): Update for
18914 byte-compile-not-obsolete-vars name-change and list nature.
18915 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18916 and variables behind (f)boundp tests.
18917 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18919 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18921 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18923 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18925 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18926 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18929 2009-09-15 Stephen Eglen <stephen@gnu.org>
18931 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18932 the virtual-buffers, use the name of the buffer specified by
18933 find-file-noselect, as the match may be a symlink. (This was a
18934 problem if the target and the symlink had different names.)
18936 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18938 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18940 * desktop.el (desktop-path): Check user-emacs-directory.
18942 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18944 * loadup.el: Use after-load-functions to GC after loading each file.
18945 Remove the explicit GC calls that used to be sprinkled around.
18947 * subr.el (after-load-functions): New hook.
18948 (do-after-load-evaluation): Run it. Use string-match-p to detect
18949 `obsolete' packages, rather than painfully extracting the relevant
18952 2009-09-15 Glenn Morris <rgm@gnu.org>
18954 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18955 free variable `doc'.
18957 * dired.el (dired-mode-map): Add menu entry for async shell command.
18959 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18960 variables, also consider the .elc files, since the .el files are
18961 normally gzipped (subsequent code locates the .el.gz from the .elc).
18963 * calc/calc-prog.el (arglist): Define for compiler.
18965 * calendar/diary-lib.el (diary-display-function): Change the default to
18967 (body): Define for compiler.
18969 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18970 (byte-compile-file-form, byte-compile-lambda)
18971 (byte-compile-top-level-body, byte-compile-form)
18972 (byte-compile-variable-ref, byte-compile-setq)
18973 (byte-compile-setq-default, byte-compile-body)
18974 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18975 (batch-byte-compile): Give some more local variables with common names
18976 a "bytecomp-" prefix to avoid masking warnings about free variables.
18978 * startup.el (command-line-1): Give local variables with common names a
18979 distinguishing prefix, so as not to hide free variable warnings during
18982 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18983 clever and add a suffix to make a unique name, just let the user decide
18984 whether or not to overwrite it. If the input is a directory, write the
18985 default filename to that directory. (Bug#4388)
18986 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18987 is a filename-as-a-directory.
18989 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18991 * textmodes/page.el (what-page): Don't move to beginning of line.
18992 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18994 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18996 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18998 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19000 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19001 * help.el (help-for-help-internal): Add purecopy calls for text.
19003 * vc.el (top): print-log method now takes an optional SHORTLOG
19004 argument. Add a new method: root.
19005 (vc-root-diff, vc-print-root-log): New functions.
19006 (vc-log-short-style): New variable.
19007 (vc-print-log-internal): Add support for showing short logs.
19009 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19010 vc-print-root-log and vc-print-root-diff.
19012 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19013 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19014 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19017 * vc-cvs.el (vc-cvs-print-log):
19018 * vc-mtn.el (vc-mtn-print-log):
19019 * vc-rcs.el (vc-rcs-print-log):
19020 * vc-sccs.el (vc-sccs-print-log):
19021 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19022 that is ignored for now.
19024 * vc-mtn.el (vc-mtn-annotate-command):
19025 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19027 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19029 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19030 to function-key-map, and give them ascii-character property.
19031 * term/x-win.el (x-alternatives-map):
19032 * term/ns-win.el (ns-alternatives-map):
19033 * term/internal.el (msdos-key-remapping-map):
19034 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19036 2009-09-14 Glenn Morris <rgm@gnu.org>
19038 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19039 temp-buffers (2009-09-12).
19041 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19043 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19044 the new read-key function.
19046 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19048 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19049 is defined (Bug#4405).
19051 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19053 * recentf.el (recentf-cleanup): Use a hash table to find
19054 duplicates (Bug#4407).
19056 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19058 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19059 kp-0 to ascii equivalents (Bug#4325).
19061 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19063 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19065 * eshell/em-hist.el:
19066 * eshell/em-dirs.el (eshell-complete-user-reference):
19067 Declare pcomplete functions and variables to avoid compiler warnings.
19069 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19071 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19072 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19073 * eshell/em-alias.el (eshell-aliases-file):
19074 * eshell/em-hist.el (eshell-history-file-name):
19075 Use expand-file-name instead of concat to make file names (Bug#4308).
19077 2009-09-13 Glenn Morris <rgm@gnu.org>
19079 * ediff-merg.el (ediff-do-merge):
19080 * filesets.el (filesets-run-cmd):
19081 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19082 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19083 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19084 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19085 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19086 Replace empty `let's with `progn'.
19088 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19090 * mail/sendmail.el (send-mail-function):
19091 * tooltip.el (tooltip-mode):
19092 * simple.el (transient-mark-mode):
19093 * rfn-eshadow.el (file-name-shadow-mode):
19094 * frame.el (blink-cursor-mode):
19095 * font-core.el (global-font-lock-mode):
19096 * files.el (temporary-file-directory)
19097 (small-temporary-file-directory, auto-save-file-name-transforms):
19098 * epa-hook.el (auto-encryption-mode):
19099 * composite.el (global-auto-composition-mode):
19100 Use custom-initialize-delay.
19101 * startup.el (command-line): Don't explicitly call
19102 custom-reevaluate-setting for all the above vars.
19103 * custom.el (custom-initialize-safe-set)
19104 (custom-initialize-safe-default): Delete.
19106 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19108 * term/x-win.el (x-initialize-window-system):
19109 * term/w32-win.el (w32-initialize-window-system):
19110 * term/ns-win.el (ns-initialize-window-system): Don't call
19111 mouse-wheel-mode since it's enabled globally by default already.
19113 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19114 actually define the variable, but only silences the byte-compiler.
19115 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19116 before looking it up.
19117 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19120 2009-09-12 Glenn Morris <rgm@gnu.org>
19122 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19124 (elint-add-required-env): Don't beep on error.
19125 (elint-forms): In case of error, return ENV unchanged.
19126 (elint-init-env): Skip non-list forms.
19127 (elint-log): Handle unknown file positions.
19129 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19131 * epg.el (epg-make-context): Add autoload cookie.
19132 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19133 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19134 (epg-verify-string, epg-start-sign, epg-sign-file)
19135 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19136 (epg-encrypt-string, epg-start-export-keys)
19137 (epg-export-keys-to-file, epg-export-keys-to-string)
19138 (epg-start-import-keys, epg-import-keys-from-file)
19139 (epg-import-keys-from-string, epg-start-receive-keys)
19140 (epg-receive-keys, epg-import-keys-from-server)
19141 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19142 (epg-sign-keys, epg-start-generate-key)
19143 (epg-generate-key-from-file, epg-generate-key-from-string):
19144 Remove autoload cookie.
19146 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19148 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19149 reevaluation of trash-directory.
19151 * mwheel.el: Fix last change.
19152 (mouse-wheel-mode): New defvar.
19153 (mouse-wheel-mode): Remove autoload cookie.
19155 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19157 * mwheel.el (mwheel-installed-bindings): New var.
19158 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19159 the bindings we set last time. Use custom-initialize-delay.
19160 * loadup.el: Load mwheel after term/*-win.el.
19161 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19162 and mouse-wheel-up-event now that their first evaluation is done
19163 sufficiently late to be correct.
19165 * startup.el (tutorial-directory): Make it a defcustom.
19166 Use custom-initialize-delay rather than eval-at-startup to set it.
19167 * image.el (image-load-path): Make it a defcustom.
19168 Use custom-initialize-delay rather than eval-at-startup to set it.
19169 * subr.el (eval-at-startup): Remove.
19170 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19172 * subr.el (do-after-load-evaluation): Warn the user after loading an
19175 2009-09-12 Glenn Morris <rgm@gnu.org>
19177 * proced.el (proced-mark-alt): Remove alias.
19178 (proced-mode-map): Remove proced-mark-alt.
19180 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19181 Elint file and directory. Remove initialization entry.
19183 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19185 (elint-current-buffer): Set mode-line-process.
19186 (elint-init-env): Handle define-derived-mode.
19187 Fix declare-function with unspecified arglist. Guard against odd
19188 defalias statements (eg iso-insert's 8859-1-map).
19189 (elint-add-required-env): Use a temp buffer.
19190 (elint-form): Just print the function/macro name, not the whole form.
19191 Return env unchanged if we fail to parse a macro.
19192 (elint-forms): Guard against parse errors.
19193 (elint-output): New function, to handle batch mode.
19194 (elint-log-message): Add optional argument. Use elint-output.
19195 (elint-set-mode-line): New function.
19197 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19199 * emacs-lisp/elp.el (elp-not-profilable): Add more
19200 functions (Bug#4233).
19202 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19204 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19205 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19207 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19209 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19210 (gdb-var-list-children): Use json parsing.
19212 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19214 * progmodes/js.el (js--proper-indentation): Handle the case where
19215 char-before is null. Reported by Deniz Dogan.
19217 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19219 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19221 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19223 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19224 (epg-digest-algorithm-alist): Add SHA224.
19225 (epg-context-set-passphrase-callback)
19226 (epg-context-set-progress-callback): Add description about
19229 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19231 * custom.el (custom-delayed-init-variables): New var.
19232 (custom-initialize-delay): New function.
19233 * startup.el (command-line): "Re"evaluate all vars in
19234 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19235 explicitly any more.
19236 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19237 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19239 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19241 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19243 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19244 (gdb-var-update-handler): Use json parsing.
19246 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19248 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19249 decode annotated text, regardless of language environment. (Bug#2741)
19251 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19253 * Makefile.in (autoloads): Make rmail.el writable as well.
19255 2009-09-11 Glenn Morris <rgm@gnu.org>
19257 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19259 * dired.el: Regenerate with extracted autoloads.
19260 * Makefile.in (autoloads): Make dired.el writable.
19262 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19263 * ibuffer.el: Regenerate with extracted autoloads.
19264 * Makefile.in (autoloads): Make ibuffer.el writable.
19266 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19267 * version.el (emacs-copyright, emacs-major-version)
19268 (emacs-minor-version): Reformat doc-strings for make-docfile.
19270 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19271 functions and variables, since they must be stuff specific to some other
19273 (apropos-print): Make mouse-click message less specific about button.
19275 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19276 that records where a macro was defined.
19277 * help-fns.el (describe-function-1): Mention if a function has a
19279 * help-mode.el (help-function-cmacro): New button.
19281 * locate.el (top-level): Always require dired.
19282 (locate-mode-map): Initialize inside the defvar.
19284 * net/ange-ftp.el (dired-compress-file): Declare.
19285 (ange-ftp-dired-compress-file): Add doc string.
19287 * term/ns-win.el (x-display-name, x-setup-function-keys):
19288 Unify doc-strings with X versions.
19290 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19292 * emulation/crisp.el (crisp-mode-map): Move initialization
19294 (crisp-mode): Use define-minor-mode.
19296 * progmodes/xscheme.el (xscheme-evaluation-commands):
19297 Put a :advertised-binding property rather than using
19298 advertised-xscheme-send-previous-expression.
19299 (advertised-xscheme-send-previous-expression): Declare obsolete.
19300 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19302 (crisp-mode): Add corresponding bindings to
19303 undo's :advertised-binding instead.
19304 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19305 than using dired-advertised-find-file.
19306 (dired-advertised-find-file):
19307 * simple.el (advertised-undo):
19308 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19309 (widget-keymap): Put a :advertised-binding property rather
19310 than using advertised-widget-backward.
19311 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19312 than using advertised-undo.
19313 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19315 2009-09-10 Simon South <ssouth@slowcomputing.org>
19317 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19318 Mark mode is enabled and region is active; otherwise indent or
19319 insert TAB as usual.
19320 (delphi-mode): Update description of TAB-key binding.
19322 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19324 * subr.el (define-key-rebound-commands): Mark obsolete.
19325 * startup.el (precompute-menubar-bindings): Remove.
19326 (normal-top-level): Remove obsolete code that tried to precompute
19328 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19329 define-key-rebound-commands and precompute-menubar-bindings.
19331 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19333 * net/imap.el (imap-interactive-login): Better messages.
19334 (imap-open): Fix bug with renamed buffer on reconnect.
19335 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19336 for easier debugging and cleaner code. On successful (guessed based on
19337 server capabilities) secondary authentication, set imap-state
19339 (imap-last-authenticator): Define imap-last-authenticator as a variable
19342 2009-09-10 Glenn Morris <rgm@gnu.org>
19344 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19346 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19347 (byte-compile-file-form-autoload): Don't warn about unknown functions
19348 where the autoload statement comes after the use.
19349 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19350 that any handlers inside the body (eg require) are in turn respected.
19352 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19355 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19356 and syntax and abbrev tables basic docs, if they don't have any.
19358 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19360 * international/mule-cmds.el (top-level): Require cl when compiling.
19361 (view-hello-file): Use default-value rather than
19362 default-enable-multibyte-characters.
19364 * progmodes/fortran.el: Move all safe and risky properties into the
19367 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19368 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19369 * mail/undigest.el:
19370 Put autoloads in rmail.el rather than loaddefs.el.
19371 * mail/rmail.el: Regenerate with extracted autoloads.
19373 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19374 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19376 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19378 Reported in thread for Bug#4375.
19379 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19380 "-data-evaluate-expression" instead of print.
19381 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19382 (gdb-tooltip-print): Parse output from above MI command.
19383 (gdb): Revert 2009-08-11 change. User should detach inferior
19386 Remove the word "separate" from IO functions as inferior
19387 output is now never displayed in the GUD buffer.
19389 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19391 * startup.el (command-line-normalize-file-name): On Windows and
19392 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19394 2009-09-10 Juri Linkov <juri@jurta.org>
19396 * isearch.el (isearch-text-char-description): Propertize escape
19397 character sequences with the `escape-glyph' face. (Bug#4344)
19399 * simple.el (shell-command): Set asynchronous process filter to
19400 `comint-output-filter'. (Bug#4343)
19402 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19403 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19404 the list. Move "asm" to the bottom.
19405 (grep-find-ignored-directories): Add `choice' with nil value
19406 to empty the list easily.
19407 (grep-find-ignored-files): New option.
19408 (grep-files-history): Set to nil by default instead of '("ch" "el").
19409 (grep-compute-defaults): Add "<X>" to `grep-template'.
19410 (grep-read-files): Bind new local variables `default-alias' and
19411 `default-extension'. Use a list of default values for the file prompt.
19412 (lgrep): Add `--exclude=' command line options composed from
19413 `grep-find-ignored-files'.
19414 (rgrep): Add `-name' command line options composed from
19415 `grep-find-ignored-files'. (Bug#4301)
19417 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19419 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19422 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19424 * calendar/time-date.el (autoload):
19425 Expand define-obsolete-function-alias into defalias and make-obsolete
19426 for old Emacsen that Gnus supports.
19427 (with-no-warnings): Define it for old Emacsen.
19428 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19430 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19431 float-time is available; suppress compile warning for time-to-seconds.
19433 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19435 * net/imap.el (imap-message-map): Docstring fix.
19437 2009-09-09 Glenn Morris <rgm@gnu.org>
19439 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19440 line numbers too. (Bug#4374)
19442 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19444 * smerge-mode.el (smerge-remove-props, smerge-refine):
19445 Use with-silent-modifications (bug#4342).
19447 * subr.el (with-silent-modifications): New macro.
19449 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19451 * files.el (top-level): Require `cl' when compiling.
19453 2009-09-07 Glenn Morris <rgm@gnu.org>
19455 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19457 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19458 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19460 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19462 * vc-git.el (vc-git-annotate-command): Use separator to parse
19463 arguments correctly.
19465 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19467 * proced.el (proced-mode): Doc fix.
19469 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19471 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19473 (tramp-do-file-attributes-with-ls): Check for file existence at
19475 (tramp-do-file-attributes-with-stat): Likewise.
19476 (tramp-convert-file-attributes): Return nil when attr is nil.
19478 2009-09-05 Glenn Morris <rgm@gnu.org>
19480 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19481 properties to this button.
19482 (diary-fancy-display): Don't extend the button to the final newline.
19483 (diary-fancy-display-mode): Continue to define "q" as a local key.
19485 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19488 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19490 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19491 (byte-compile-dest-file-function): New option.
19492 (byte-compile-dest-file): Doc fix.
19493 Obey byte-compile-dest-file-function.
19494 (byte-compile-cl-file-p): New function.
19495 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19496 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19497 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19498 than for file being previously loaded.
19499 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19500 (byte-compile-file-form-require): Handle the case where requiring a file
19501 indirectly causes CL to be loaded.
19503 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19505 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19506 before killing the old buffer, since by the time `kill-buffer' is
19507 run so many buffer variables have been set to nil that it may not
19508 behave as expected. (Bug#4061)
19510 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19512 * files.el (find-alternate-file): If the old buffer is modified
19513 and visiting a file, behave similarly to `kill-buffer' when
19514 killing it, thus reverting to the pre-1.878 behavior; see
19515 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19516 for discussion. Also, consult `buffer-file-name' as a variable
19517 not as a function, for consistency with the rest of the code.
19519 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19521 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19522 also when adding a new directory.
19524 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19527 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19529 * files.el (locate-file-completion-table): Make it provide boundary
19530 information, so partial-completion works better.
19532 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19534 * mail/footnote.el (Footnote-text-under-cursor):
19535 Check footnote-text-marker-alist before using it (bug#4324).
19537 2009-09-04 Glenn Morris <rgm@gnu.org>
19539 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19540 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19541 * play/solitaire.el, play/tetris.el:
19542 Remove leading * from defcustom and defface docs.
19544 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19546 (diary-fancy-overriding-map): New variable.
19547 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19550 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19553 2009-09-03 Glenn Morris <rgm@gnu.org>
19555 * arc-mode.el (archive-mode):
19556 * dos-fns.el (set-default-process-coding-system):
19557 * man.el (Man-getpage-in-background):
19558 * menu-bar.el (menu-bar-describe-menu):
19559 * server.el (server-process-filter):
19560 * startup.el (command-line):
19561 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19562 * w32-fns.el (set-default-process-coding-system):
19563 * x-dnd.el (x-dnd-handle-file-name):
19564 * international/mule-cmds.el (mule-menu-keymap)
19565 (set-default-coding-systems, language-info-alist, set-language-info)
19566 (set-language-environment, standard-display-european-internal)
19567 (set-locale-environment):
19568 * international/mule-diag.el (mule-diag):
19569 * mail/emacsbug.el (report-emacs-bug):
19570 * mail/rmail.el (rmail-mode):
19571 * mail/sendmail.el (mail-setup):
19572 Use default-value rather than default-enable-multibyte-characters.
19574 * progmodes/f90.el: Move all safe properties into the defcustoms.
19575 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19577 * calendar/appt.el (appt-check):
19578 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19579 (diary-check-diary-file, diary-list-entries)
19580 (diary-include-other-diary-files, diary-simple-display)
19581 (diary-fancy-display, diary-print-entries)
19582 (diary-mark-included-diary-files, diary-make-entry):
19583 Don't call substitute-in-file-name on diary-file.
19585 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19586 Stefan Monnier <monnier@iro.umontreal.ca>
19588 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19589 (footnote-mode-map): Move initialization into the declaration.
19590 (footnote-minor-mode-map): Define it rather than changing global-map.
19591 (footnote-mode): Use define-minor-mode.
19593 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19595 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19596 (tramp-do-file-attributes-with-perl)
19597 (tramp-do-file-attributes-with-stat): Rename from
19598 `tramp-handle-file-attributes-with-*'.
19599 (tramp-handle-file-attributes): Use them.
19600 (tramp-do-directory-files-and-attributes-with-perl)
19601 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19602 `tramp-handle-directory-files-and-attributes-with-*'.
19603 (tramp-handle-directory-files-and-attributes): Use them.
19604 (tramp-method-out-of-band-p): Additional parameter SIZE.
19605 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19606 (tramp-handle-write-region): Use it.
19607 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19608 (tramp-handle-vc-registered): Check, whether the first run did
19609 return files to be tested.
19610 (tramp-advice-make-auto-save-file-name): Do not call directly
19611 `tramp-handle-make-auto-save-file-name', because this would bypass
19612 the locking mechanism.
19614 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19615 (file-remote-p, process-file, start-file-process, set-file-times)
19616 (tramp-compat-file-attributes): Compatibility functions shall not
19617 call directly `tramp-handle-*', because this would bypass the
19619 (tramp-compat-number-sequence): New defun.
19621 2009-09-02 Glenn Morris <rgm@gnu.org>
19623 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19624 alias for float-time.
19625 (time-to-number-of-days): In Emacs, use float-time.
19626 * net/newst-backend.el (time-add): Suppress warnings from compat
19628 * time.el (emacs-uptime, emacs-init-time):
19629 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19630 Use float-time rather than time-to-seconds.
19632 * minibuffer.el (completion-initials-expand): Fix typo.
19634 * faces.el (modeline, modeline-inactive, modeline-highlight)
19635 (modeline-buffer-id):
19636 * info.el (info-menu-5): Mark these face aliases as obsolete.
19638 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19640 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19642 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19643 no "--thread" option.
19644 (gdb-stopped): Don't print "Switched to thread" message when it is
19647 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19649 * minibuffer.el (completion-try-completion)
19650 (completion-all-completions): Remove ill-defined (and
19651 mistakenly installed and luckily never used nor documented)
19652 `completion-styles' property.
19653 (completion-initials-expand, completion-initials-all-completions)
19654 (completion-initials-try-completion): New functions.
19655 (completion-styles-alist): Add doc to each entry.
19656 Add new `initials' entry.
19658 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19660 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19661 MI command -var-evaluate-expression.
19662 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19663 and tweak for case of string child.
19664 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19666 2009-09-01 Glenn Morris <rgm@gnu.org>
19668 * add-log.el (change-log-date-face, change-log-name-face)
19669 (change-log-email-face, change-log-file-face, change-log-list-face)
19670 (change-log-conditionals-face, change-log-function-face)
19671 (change-log-acknowledgement-face):
19672 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19673 (custom-modified-face, custom-set-face, custom-changed-face)
19674 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19675 (custom-documentation-face, custom-state-face, custom-comment-face)
19676 (custom-comment-tag-face, custom-variable-tag-face)
19677 (custom-variable-button-face, custom-face-tag-face)
19678 (custom-group-tag-face-1, custom-group-tag-face):
19679 * diff-mode.el (diff-header-face, diff-file-header-face)
19680 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19681 (diff-added-face, diff-changed-face, diff-function-face)
19682 (diff-context-face, diff-nonexistent-face):
19683 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19684 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19685 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19686 (Info-title-4-face):
19687 * isearch.el (isearch-lazy-highlight-face):
19688 * log-view.el (log-view-file-face, log-view-message-face):
19689 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19690 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19691 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19693 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19694 (smerge-base-face, smerge-markers-face):
19695 * wid-edit.el (widget-documentation-face, widget-button-face)
19696 (widget-field-face, widget-single-line-field-face)
19697 (widget-inactive-face, widget-button-pressed-face):
19698 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19699 (woman-addition-face):
19700 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19701 (eshell-ls-executable-face, eshell-ls-readonly-face)
19702 (eshell-ls-unreadable-face, eshell-ls-special-face)
19703 (eshell-ls-missing-face, eshell-ls-archive-face)
19704 (eshell-ls-backup-face, eshell-ls-product-face)
19705 (eshell-ls-clutter-face):
19706 * eshell/em-prompt.el (eshell-prompt-face):
19707 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19708 * obsolete/old-whitespace.el (whitespace-highlight-face):
19709 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19710 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19711 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19712 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19713 (antlr-font-lock-literal-face):
19714 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19715 (ebrowse-root-class-face, ebrowse-file-name-face)
19716 (ebrowse-default-face, ebrowse-member-attribute-face)
19717 (ebrowse-member-class-face, ebrowse-progress-face):
19718 * progmodes/make-mode.el (makefile-space-face):
19719 * progmodes/sh-script.el (sh-heredoc-face):
19720 * textmodes/flyspell.el (flyspell-incorrect-face)
19721 (flyspell-duplicate-face):
19722 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19723 * textmodes/texinfo.el (texinfo-heading-face):
19724 Mark face aliases with "-face" suffix as obsolete.
19726 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19729 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19730 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19731 easy-menu-define wants to modify these.
19733 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19735 * net/browse-url.el (browse-url-file-url):
19736 * term/internal.el (dos-codepage-setup):
19737 Use default-value rather than default-enable-multibyte-characters.
19739 * progmodes/etags.el (etags-goto-tag-location):
19740 * progmodes/flymake.el (flymake-highlight-line)
19741 (flymake-goto-file-and-line, flymake-goto-line):
19742 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19743 (gdb-goto-breakpoint):
19744 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19745 * progmodes/python.el (python-find-function)
19746 (python-pdbtrack-track-stack-file):
19747 * progmodes/verilog-mode.el (verilog-surelint-off):
19748 * term/ns-win.el (ns-open-file-select-line):
19749 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19750 Use forward-line rather than goto-line.
19752 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19753 * textmodes/reftex-index.el (reftex-display-index):
19754 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19755 * textmodes/reftex-toc.el (reftex-toc):
19756 Remove unnecessary bindings of default-major-mode (all are followed by
19757 major-mode check and possible mode switch).
19759 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19761 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19762 Handle watchpoints (bug#4282).
19763 (def-gdb-thread-buffer-command): Enable thread to be selected by
19764 clicking without selecting threads buffer first.
19765 (gdb-current-context-command): Use selected frame so that "up",
19766 "down" etc work in the GUD buffer.
19767 (gdb-update): Find selected frame before rendering stack buffer.
19768 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19770 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19772 * progmodes/sym-comp.el (displayed-completions): Remove.
19773 (symbol-complete): Use minibuffer-complete.
19775 2009-08-31 Glenn Morris <rgm@gnu.org>
19777 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19779 * apropos.el (apropos-symbols-internal):
19780 Handle (obsolete) face aliases.
19782 * faces.el (describe-face): Adjust the output format to be more like
19783 describe-variable, and to mention (obsolete) face aliases.
19784 Adjust the whitespace so that help-setup-xref works.
19786 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19787 * calendar/diary-lib.el (diary-button-face):
19788 Mark these face aliases as obsolete.
19790 * calendar/calendar.el (calendar-today): Doc fix.
19792 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19794 * progmodes/gdb-mi.el (gdb-control-all-threads)
19795 (gdb-control-current-thread): Force tool bar update.
19796 (gdb-non-stop-handler): New function.
19797 (gdb-init-1): Use it to test if non-stop mode is supported.
19798 Remove unused gdbmi buffer type.
19800 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19802 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19803 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19805 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19807 * comint.el (comint-exec-1): Check command is non-null first.
19808 Part of gdb-mi.el change (2009-08-28).
19810 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19812 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19814 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19816 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19817 instead of `dolist' to avoid a recursive require when bootstrapping.
19819 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19821 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19823 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19825 * net/imap.el (imap-send-command): Simplify.
19826 (imap-wait-for-tag): point-max -> buffer-size.
19828 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19830 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19831 with constant argument.
19833 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19835 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19837 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19838 Change default, since most of our files don't have a history.
19839 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19842 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19845 * calc/calc.el: Improve commenting convention.
19846 (calc-digit-map, toplevel): Simplify.
19848 * comint.el (comint-insert-input): Be careful to only set point if we
19849 don't delegate to some other command.
19851 * proced.el (proced-signal-list): Make it an alist.
19852 (proced-grammar-alist): Capitalize names.
19853 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19854 Disable undo manually and make it read-only.
19855 Use completion-annotate-function.
19857 * minibuffer.el (minibuffer-message): If the current buffer is not
19858 a minibuffer, insert the message in the echo area rather than at the
19860 (completion-annotate-function): New variable.
19861 (minibuffer-completion-help): Use it.
19862 (completion--embedded-envvar-table): Environment vars are
19863 always case-sensitive.
19865 2009-08-30 Glenn Morris <rgm@gnu.org>
19867 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19868 from fortran-current-defun.
19869 (fortran-beginning-of-subprogram): Be more precise about finding the
19870 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19871 (fortran-end-of-subprogram): Simplify.
19872 (fortran-current-defun): Use fortran-start-prog-re.
19874 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19876 * subr.el (do-after-load-evaluation): Simplify.
19878 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19880 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19882 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19883 (vc-rcs-print-log): Use it.
19885 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19887 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19889 * paths.el (abbrev-file-name): Move to abbrev.el.
19890 * abbrev.el (abbrev-file-name): Move from paths.el.
19891 Obey user-emacs-directory.
19892 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19893 user-emacs-directory.
19894 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19895 abbrev-file-name and calc-settings-file any more.
19896 * startup.el (command-line): Recompute abbrev-file-name and
19897 abbreviated-home-dir.
19898 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19899 of the special code for when C-h bindings haven't been changed.
19900 (display-startup-echo-area-message): Use with-current-buffer.
19901 (command-line-1): Use a list of strings, rather than a list of lists
19902 of strings for longopts.
19904 * files.el (get-free-disk-space): Use / for default-directory.
19906 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19907 Use with-current-buffer.
19909 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19910 Recognize immutable variables like most-positive-fixnum.
19911 (byte-compile-setq-default): Check and warn if trying to assign
19912 to an immutable variable, or a non-variable.
19914 * progmodes/cc-vars.el (c-comment-continuation-stars):
19915 * progmodes/cc-engine.el (c-looking-at-bos):
19916 * progmodes/cc-cmds.el (c-toggle-auto-state)
19917 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19918 (c-comment-line-break-function): Add version of obsolescence.
19920 2009-08-28 Juri Linkov <juri@jurta.org>
19922 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19923 associated with `archive-mode'.
19925 * image.el (image-type-header-regexps): Use only JPEG magic number
19926 to determine JPEG images, and don't use `image-jpeg-p' because
19927 Emacs can display non-JFIF non-Exif JPEG images.
19929 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19931 * arc-mode.el (archive-mode):
19932 * emacs-lisp/re-builder.el (re-builder-unload-function):
19933 Protect against the default value of `major-mode' being nil.
19935 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19937 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19938 Fix typos in docstrings.
19940 * progmodes/js.el (js--macro-decl-re): Doc fix.
19941 (js--plain-method-re, js--split-name): Refloc docstring.
19942 (js--class-styles, js--make-merged-item, js--splice-into-items):
19943 Fix typos in docstrings; reflow docstrings.
19944 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19945 (js--variable-decl-matcher, js--inside-pitem-p)
19946 (js--parse-state-at-point, js--get-all-known-symbols)
19947 (js--symbol-history, js-find-symbol, js--js-references)
19948 (js--moz-interactor, js--js-encode-value, js--read-tab):
19949 Fix typos in docstrings.
19951 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19953 * textmodes/reftex.el (reftex-get-file-buffer-force):
19954 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19955 * emulation/viper.el (viper-go-away, viper-set-hooks):
19956 * emacs-lisp/re-builder.el (re-builder-unload-function):
19957 * emacs-lisp/bytecomp.el (byte-compile-file):
19958 * ses.el (ses-unload-function):
19959 * hexl.el (hexl-find-file):
19960 * files.el (normal-mode):
19961 * ehelp.el (with-electric-help):
19962 * autoinsert.el (auto-insert-alist):
19963 * arc-mode.el (archive-mode):
19964 Use (default-value 'major-mode) instead of default-major-mode.
19966 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19967 * international/mule.el (load-with-code-conversion):
19968 * emacs-lisp/debug.el (debug):
19969 * ediff-vers.el (ediff-rcs-get-output-buffer):
19970 * dired.el (dired-internal-noselect): Don't let-bind
19971 default-major-mode around code that doesn't use it.
19972 E.g. buffer creation via get-buffer-create doesn't use it.
19974 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19976 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19977 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19978 when writing the temp file. Otherwise, epa-file gets confused.
19979 (tramp-register-file-name-handlers): Make it a defun. Move also
19980 `epa-file-handler' to the front of `file-name-handler-alist'.
19982 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19984 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19985 start right after a ^M.
19986 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19987 (tramp-completion-file-name-regexp-separate)
19988 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19989 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19990 Don't modify last-coding-system-used by accident.
19991 (tramp-completion-file-name-handler): Apply the checks here,
19992 instead during registration.
19993 (tramp-register-file-name-handlers): Rename from
19994 `tramp-register-file-name-handler'. Register both
19995 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19996 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19998 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20000 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20001 Remove variable ...
20002 (gdb-init-1, gdb-display-separate-io-buffer)
20003 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20005 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20006 (gdb-inferior-filter): Use comint-output-filter to stop
20007 echoing and remove ^M characters.
20009 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20011 * emulation/viper-init.el (viper-restore-cursor-type):
20012 * emulation/cua-base.el (cua--update-indications):
20013 Replace default-cursor-type with (default-value 'cursor-type).
20015 * mail/sendmail.el (mail-recover-1):
20016 * international/mule-diag.el (describe-current-coding-system-briefly)
20017 (describe-current-coding-system):
20018 * international/mule-cmds.el (select-safe-coding-system)
20019 (select-message-coding-system)
20020 (set-language-environment-coding-systems, set-locale-environment):
20021 * hexl.el (hexl-insert-multibyte-char):
20022 * dos-w32.el (find-buffer-file-type-coding-system):
20023 * simple.el (what-cursor-position):
20024 Replace uses of default-buffer-file-coding-system
20025 with (default-value 'buffer-file-coding-system).
20027 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20028 Replace uses of default-cursor-in-non-selected-windows
20029 with (default-value 'cursor-in-non-selected-windows).
20030 Use with-current-buffer.
20032 * mail/feedmail.el: Use CL macros.
20033 (feedmail-run-the-queue, feedmail-send-it-immediately):
20034 * dos-w32.el (find-buffer-file-type): Replace uses of
20035 default-buffer-file-type with (default-value 'buffer-file-type).
20037 2009-08-28 Glenn Morris <rgm@gnu.org>
20039 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20040 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20041 Use default-value of major-mode rather than default-major-mode.
20043 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20045 * Makefile.in (update-elcfiles): Report left over elc files.
20047 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20048 expand-file-name and with-current-buffer.
20049 (mail-get-names, mail-directory): Use with-current-buffer.
20051 * vc.el (vc-read-revision): New function.
20052 (vc-version-diff, vc-merge): Use it.
20054 2009-08-27 Sam Steingold <sds@gnu.org>
20056 * simple.el (kill-do-not-save-duplicates): New user option.
20057 (kill-new): When it is non-nil, and the new string is the same as
20058 the latest kill, set replace to t to avoid duplicates in kill-ring.
20060 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20062 * net/tramp.el (tramp-handle-process-file): Do not flush all
20063 caches when `process-file-side-effects' is set.
20064 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20065 instead of `tramp-find-file-exists-command'.
20066 Unset `process-file-side-effects'.
20068 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20070 * net/tramp.el (tramp-methods): New method "rsyncc".
20071 (top): Add completion function for "rsyncc".
20072 (tramp-message-show-message): New defvar.
20073 (tramp-message, tramp-error): Use it.
20074 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20076 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20077 `tramp-methods' entry `copy-env' of "rsyncc".
20078 (tramp-vc-registered-read-file-names): New defconst.
20079 (tramp-vc-registered-file-names): New defvar.
20080 (tramp-handle-vc-registered): Implement optimization strategy.
20081 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20082 (tramp-vc-file-name-handler): New defun.
20083 (tramp-get-ls-command, tramp-get-test-command)
20084 (tramp-get-file-exists-command, tramp-get-remote-ln)
20085 (tramp-get-remote-perl, tramp-get-remote-stat)
20086 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20088 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20089 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20091 (tramp-get-file-property): Check for timestamps in
20092 `tramp-cache-inhibit-cache'.
20093 (tramp-set-file-property): Write timestamp.
20095 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20097 * language/japan-util.el (japanese-symbol-table): Add entries for
20100 * international/characters.el: Add category `j' to cp932-2-byte.
20102 2009-08-27 Kenichi Handa <handa@m17n.org>
20104 * international/fontset.el (build-default-fontset-data): New macro.
20105 (setup-default-fontset): Use build-default-fontset-data for CJK,
20106 tibetan, ethiopic, and ipa.
20108 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20110 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20111 (enable-multibyte-characters): Not customizable any more.
20113 * subr.el (default-mode-line-format, default-header-line-format)
20114 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20115 (default-direction-reversed, default-truncate-lines)
20116 (default-left-margin, default-tab-width, default-case-fold-search)
20117 (default-left-margin-width, default-right-margin-width)
20118 (default-left-fringe-width, default-right-fringe-width)
20119 (default-fringes-outside-margins, default-scroll-bar-width)
20120 (default-vertical-scroll-bar, default-indicate-empty-lines)
20121 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20122 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20123 (default-scroll-down-aggressively, default-fill-column)
20124 (default-cursor-type, default-buffer-file-type)
20125 (default-cursor-in-non-selected-windows)
20126 (default-buffer-file-coding-system, default-major-mode)
20127 (default-enable-multibyte-characters): Mark as obsolete.
20129 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20131 * vc-dir.el (vc-dir-update): Remove debug helper.
20133 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20135 2009-08-26 Sam Steingold <sds@gnu.org>
20137 * simple.el (save-interprogram-paste-before-kill): New user option.
20138 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20139 save the interprogram-paste into kill-ring before overriding it
20140 with the Emacs kill.
20142 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20144 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20145 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20146 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20147 and move to vc-rcs.el.
20148 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20150 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20151 (vc-rcs-update-changelog): Remove.
20152 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20153 and move to vc-rcs.el.
20155 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20156 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20158 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20159 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20160 vc.el, renamed to be RCS specific.
20162 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20164 (vc-cvs-update-changelog): Move here from vc.el.
20166 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20169 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20171 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20173 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20175 * vc-git.el (vc-git-register): Use "git add" for directories.
20176 (vc-git-stash, vc-git-stash-show): New functions.
20177 (vc-git-extra-menu-map): Bind them.
20179 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20180 directory correctly in case the item is a directory itself.
20182 * vc.el: Document the desired behavior for reverted files in the
20184 (vc-default-prettify-state-info): Remove function, unused.
20186 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20188 2009-08-26 Glenn Morris <rgm@gnu.org>
20190 * bindings.el (standard-mode-line-format): Reposition dashes in
20191 which-func entry. (Bug#4217)
20193 * files.el (enable-local-variables, enable-local-eval)
20194 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20196 (auto-mode-alist, ignored-local-variables)
20197 (save-some-buffers-action-alist): Move risky declarations to the
20199 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20200 (font-lock-defaults, format-alist, imenu--index-alist)
20201 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20202 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20203 (mode-line-modified, mode-line-mule-info, mode-line-position)
20204 (mode-line-process, mode-line-remote, outline-level)
20205 (parse-time-rules, rmail-output-file-alist)
20206 (special-display-buffer-names, vc-mode):
20207 Move risky declarations to the relevant files.
20208 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20209 (mode-line-modified, mode-line-process, mode-line-position)
20210 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20211 * font-core.el (font-lock-defaults):
20212 * format.el (format-alist):
20213 * vc-hooks.el (vc-mode):
20214 * window.el (special-display-buffer-names):
20215 * international/mule-cmds.el (input-method-alist):
20216 Define riskiness here (dumped file) rather than in files.el.
20217 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20218 * imenu.el (imenu-generic-expression, imenu--index-alist):
20219 * outline.el (outline-level):
20220 * time.el (display-time-string):
20221 * calendar/parse-time.el (parse-time-rules):
20222 * mail/rmailout.el (rmail-output-file-alist):
20223 Autoload riskiness here, rather than placing in files.el.
20225 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20227 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20229 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20231 * simple.el (process-file-side-effects): New defvar.
20233 * dired-aux.el (dired-show-file-type):
20234 * vc.el (vc-diff-internal):
20235 * vc-arch.el (vc-arch-diff):
20236 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20237 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20238 * vc-git.el (vc-git-registered, vc-git-working-revision)
20239 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20240 (vc-git--empty-db-p):
20241 * vc-hooks.el (vc-user-login-name):
20242 * vc-svn.el (vc-svn-registered, vc-svn-state)
20243 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20244 * progmodes/grep.el (grep-probe): Let-bind
20245 `process-file-side-effects' with nil.
20247 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20249 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20250 daemon. Replace ping by checking for running service for bluez
20251 and zeroconf. (Bug#4239)
20253 2009-08-25 Kevin Ryde <user42@zip.com.au>
20255 * net/dig.el (dig): Add autoload cookie.
20257 2009-08-25 Glenn Morris <rgm@gnu.org>
20259 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20260 load-history for absolute file-names.
20261 (byte-compile-file-form-require): Warn about use of the cl package.
20263 * format.el (format-alist): Doc fix.
20265 * play/bubbles.el (top-level): Don't require cl at run-time.
20267 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20270 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20272 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20274 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20276 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20278 * calc/calc-alg.el (math-trig-rewrite)
20279 (math-hyperbolic-trig-rewrite): New functions.
20280 (calc-simplify): Simplify trig functions when asked.
20282 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20284 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20286 2009-08-24 Kenichi Handa <handa@m17n.org>
20288 * language/ind-util.el (mapthread): Delete it.
20289 (combinatorial): New function.
20290 (indian--puthash-cv): Use combinatorial instead of mapthread.
20292 2009-08-22 Kevin Ryde <user42@zip.com.au>
20294 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20295 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20296 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20297 Clarify docstring that the value is strings not symbols.
20298 (checkdoc-list-of-strings-p): New function.
20300 2009-08-22 Glenn Morris <rgm@gnu.org>
20302 * files.el (auto-mode-alist):
20303 * hippie-exp.el (he-concat-directory-file-name):
20304 * lpr.el (lpr-windows-system, printer-name):
20305 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20306 * ps-print.el (ps-windows-system):
20307 * startup.el (command-line):
20308 * emulation/viper-ex.el (viper-glob-function):
20309 * international/mule-cmds.el (set-language-environment-coding-systems):
20310 * net/ange-ftp.el (ange-ftp-write-region):
20311 * obsolete/fast-lock.el (fast-lock-cache-name):
20312 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20313 unisoft-unix, vax-vms, win32, w32.
20315 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20316 given name if the pattern is not more specific.
20318 * calendar/lunar.el (lunar-phase-names): New option.
20319 (lunar-phase): Doc fix.
20320 (lunar-cycles-per-year): New constant.
20321 (lunar-index): New function.
20322 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20323 (lunar-phase-name): Use lunar-phase-names.
20324 (calendar-lunar-phases): Use format.
20325 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20327 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20328 Copy imenu-example--name-and-position function here for own use.
20329 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20331 * bs.el (bs--redisplay):
20332 * cus-edit.el (custom-redraw):
20333 * ibuffer.el (ibuffer-bury-buffer):
20334 * server.el (server-goto-line-column):
20335 * startup.el (command-line-1):
20336 * strokes.el (strokes-xpm-for-stroke):
20337 * term.el (term-display-buffer-line):
20338 * view.el (View-goto-line):
20339 * calc/calc.el (calc-do, calc-trail-buffer):
20340 * play/gamegrid.el (gamegrid-add-score-insecure):
20341 * progmodes/ada-mode.el (ada-compile-goto-error):
20342 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20343 (ebrowse-select-1st-to-9nth):
20344 * progmodes/cperl-mode.el (cperl-time-fontification):
20345 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20346 * progmodes/gud.el (gud-display-line):
20347 (idlwave-shell-display-line):
20348 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20349 * progmodes/make-mode.el (makefile-browser-toggle):
20350 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20351 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20352 * textmodes/picture.el (picture-draw-rectangle):
20353 * textmodes/reftex-index.el (reftex-index-goto-letter):
20354 (reftex-select-jump-to-previous):
20355 * textmodes/reftex-sel.el (reftex-find-start-point)
20356 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20357 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20358 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20359 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20360 * textmodes/two-column.el (2C-associated-buffer):
20361 Use forward-line rather than goto-line.
20363 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20366 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20367 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20368 (quick-check-list-to-regexp): Declare.
20370 * progmodes/make-mode.el (makefile-browser-insert-selection):
20371 Use goto-char rather than goto-line.
20373 * progmodes/prolog.el (compilation-error-regexp-alist)
20374 (compilation-forget-errors): Declare.
20376 2009-08-22 Juri Linkov <juri@jurta.org>
20378 * progmodes/grep.el (lgrep, rgrep): At the beginning
20379 set `dir' to `default-directory' unless `dir' is a non-nil
20380 readable directory. (Bug#4052)
20381 (lgrep, rgrep): Change a weird way to report an error
20382 from using `read-string' to using `error'.
20383 Instead of using interactive arguments in the function body,
20384 add new argument `confirm'.
20386 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20388 * textmodes/remember.el (remember-buffer):
20389 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20390 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20391 (icalendar-extract-ical-from-buffer):
20392 * net/newst-treeview.el (newsticker-groups-filename):
20393 * net/newst-backend.el (newsticker-cache-filename):
20394 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20395 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20396 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20397 (speedbar-buffers-line-path, speedbar-path-line)
20398 (speedbar-buffers-line-path):
20399 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20401 * epa.el (epa-display-verify-result):
20402 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20404 2009-08-21 Glenn Morris <rgm@gnu.org>
20406 * progmodes/js.el (inferior-moz-process): Fix declaration.
20408 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20410 * obsolete/rnewspost.el (news-mail-reply):
20411 Use goto-char rather than goto-line.
20413 * term/ns-win.el (ns-open-file-select-line):
20414 Use line-beginning-position rather than goto-line.
20416 * apropos.el (apropos-command):
20417 * ehelp.el (electric-helpify):
20418 * printing.el (pr-show-setup):
20419 * strokes.el (strokes-help):
20420 * tutorial.el (tutorial--describe-nonstandard-key)
20421 (tutorial--detailed-help):
20422 * woman.el (woman-mini-help, woman-display-extended-fonts):
20423 * calc/calc-help.el (calc-describe-key):
20424 * emulation/edt.el (edt-electric-helpify):
20425 * international/mule-diag.el (mule-diag):
20426 * play/yow.el (apropos-zippy):
20427 * progmodes/python.el (python-describe-symbol):
20428 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20429 * textmodes/table.el (*table--cell-describe-mode)
20430 (*table--cell-describe-bindings):
20431 Use help-print-return-message rather than the now obsolete alias.
20433 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20434 (calendar-cursor-to-visible-date):
20435 * play/5x5.el (5x5-position-cursor):
20436 * play/decipher.el (decipher):
20437 * play/gomoku.el (gomoku-goto-xy):
20438 * play/landmark.el (lm-goto-xy):
20439 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20440 (mpuz-paint-digit):
20441 Use forward-line, not goto-line.
20443 * mail/rmail.el (rmail-obsolete): Delete custom group.
20444 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20445 (rmail-remote-password, rmail-remote-password-required):
20446 Remove unneeded :set-after and :set properties.
20448 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20450 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20452 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20454 * loadup.el: Remove leftover macos code.
20456 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20457 Explicitly pass the date format to git blame so that user local
20458 so that the output format can be parsed.
20460 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20462 * net/dbus.el (top): Don't check for (getenv
20463 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20465 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20467 * log-edit.el (log-edit-strip-single-file-name): New var.
20468 (log-edit-insert-changelog): Use it. Bug#3571
20470 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20472 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20475 * help.el (help-print-return-message): Rename from
20476 print-help-return-message.
20478 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20479 cvs-mode-map parent hack.
20480 (log-view-mode): Derive from special-mode.
20482 * linum.el (linum-mode): window-size-change-functions is redundant.
20483 Adapt to new window-configuration-change-hook behavior.
20484 (linum-after-size, linum-after-config): Remove.
20486 * imenu.el (imenu-example--name-and-position)
20487 (imenu-example--lisp-extract-index-name)
20488 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20491 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20492 (inferior-prolog-mode): Use it.
20493 (inferior-prolog-load-file): Reset list of errors.
20495 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20497 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20499 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20501 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20503 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20504 is running already.
20506 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20508 * subr.el (listify-key-sequence-1): Use normal syntax since those
20509 integers are nowadays always represented by the same (positive) number
20511 (read-key-empty-map): New const.
20512 (read-key-delay): New var.
20513 (read-key): New function.
20514 (force-mode-line-update): Use with-current-buffer.
20515 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20516 (start-process-shell-command, start-file-process-shell-command):
20517 Discourage the use of command-args.
20519 2009-08-19 Glenn Morris <rgm@gnu.org>
20521 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20523 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20525 * simple.el (choose-completion-string): Don't rely on
20526 minibuffer-completing-file-name and ad-hoc checks to decide whether
20527 to continue completion or not.
20529 * minibuffer.el (minibuffer-hide-completions): New function.
20530 (completion--do-completion): Use it.
20531 (completions-annotations): New face.
20532 (completion--insert-strings): Use it.
20533 (completion-pcm--delim-wild-regex): Add docstring.
20534 (completion-pcm--string->pattern): Add support for 0-width delimiters
20535 in completion-pcm--delim-wild-regex.
20537 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20539 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20540 Remove unused var `buffer-modified-p'.
20542 * minibuffer.el (completion--do-completion): Move point for the #b001
20543 case as well (bug#4176).
20544 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20546 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20548 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20549 and :session buses.
20551 2009-08-18 Kenichi Handa <handa@m17n.org>
20553 * international/ucs-normalize.el (ucs-normalize-version):
20555 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20556 (utf-8-hfs): Make it perform normalization on encoding too.
20558 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20559 (sentence-end-without-space): Delete duplicated chars.
20560 (sentence-end-base): Likewise.
20562 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20563 (html-mode): Delete duplicated chars from sentence-end-base.
20565 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20566 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20568 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20570 * files.el (hack-one-local-variable): If the mode function is for
20571 a minor mode, pass it an argument (Bug#4148).
20573 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20575 * net/tramp.el (tramp-register-completion-file-name-handler):
20576 Check also for (member 'partial-completion completion-styles).
20578 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20580 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20583 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20585 * progmodes/cperl-mode.el: Merge upstream 6.2.
20586 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20587 (cperl-forward-re): Check cperl-brace-recursing.
20588 (cperl-highlight-charclass): New function.
20589 (cperl-find-pods-heres): Use it.
20590 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20591 (cperl-beautify-regexp-piece): Fix column calculation.
20592 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20593 (cperl-beautify-level): Don't process entire regexp.
20594 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20596 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20597 (cperl-init-faces): Build a list in the normal way.
20599 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20601 * calendar/parse-time.el (parse-time-string-chars): Save match
20604 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20606 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20607 (sql-product): Use it.
20608 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20609 (sql-set-product): Add completion.
20610 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20611 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20612 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20613 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20614 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20615 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20616 (sql-highlight-db2-keywords): Remove.
20617 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20618 (sql-highlight-product): Use derived-mode-p.
20619 (sql-set-sqli-buffer): Use with-current-buffer.
20620 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20623 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20625 * term.el: Fix commenting convention, turn comments into docstrings.
20627 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20629 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20631 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20633 * calendar/parse-time.el (parse-time-string-chars): Compute using
20634 character classes, to handle non-ascii characters (Bug#3190).
20636 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20638 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20639 another heredoc if the user adds another < (Bug#3226).
20641 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20642 Don't initialize based on window-system (Bug#4124).
20644 * facemenu.el (facemenu-read-color): Use a completion function
20645 that accepts any defined color, such as RGB triplets (Bug#3677).
20647 * files.el (get-free-disk-space): Change fallback default
20648 directory to /. Expand DIR argument before switching to fallback.
20649 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20651 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20653 * files.el (load-library): Doc fix.
20655 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20657 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20658 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20659 incremental search string.
20661 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20664 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20665 (ediff-merge-region-is-non-clash)
20666 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20667 Also check if the job is really a merge job.
20669 * ediff.el (ediff-current-file): New function.
20671 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20673 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20675 (js-insert-and-indent): Delete function.
20676 (js-mode-map): Don't bind keys to js-insert-and-indent.
20677 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20678 (js-end-of-defun): Rename from js--end-of-defun.
20679 (js-auto-indent-flag): Delete variable.
20681 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20683 * progmodes/js.el: Remove proclaim statement.
20684 Defvar which-func-imenu-joiner-function to silence compiler.
20686 * files.el (auto-mode-alist): Use js-mode for .js files.
20688 * progmodes/js2-mode.el: Remove file.
20690 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20692 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20694 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20696 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20697 Karl Landstrom <karl.landstrom@brgeight.se>
20699 * progmodes/js.el: New file.
20701 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20703 * timezone.el (timezone-parse-date): Add ability to understand ISO
20704 basic format (minimal separators) dates in addition to the
20705 already-supported extended format dates.
20707 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20709 * international/ucs-normalize.el: Add a `coding' file variable.
20711 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20713 2009-08-14 Sam Steingold <sds@gnu.org>
20715 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20717 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20719 * faces.el (help-argument-name): Define it here instead of
20720 help-fns.el, because in daemon mode help-fns.el may be loaded when
20721 faces are still uninitialized (Bug#1078).
20723 * help-fns.el (help-argument-name): Move defface to faces.el.
20725 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20727 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20728 create buffer with a pty but no process so that GDB can make the
20729 inferior the controlling process.
20731 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20733 * international/ucs-normalize.el: New file.
20735 2009-08-13 Richard Stallman <rms@gnu.org>
20737 * mail/rmail.el (rmail-get-attr-names):
20738 Accept an attribute header that is too short.
20740 * mail/rmail.el (rmail-forget-messages):
20741 Ignore nil elt in rmail-message-vector. Use dotimes.
20743 * progmodes/compile.el (compilation-goto-locus):
20744 Use next-error-move-function.
20746 * simple.el (next-error-move-function): New variable.
20748 2009-08-12 Juri Linkov <juri@jurta.org>
20750 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20751 always non-nil. (Bug#4052)
20753 * replace.el (read-regexp): Return empty string when
20754 `default-value' is nil.
20755 (keep-lines-read-args): Don't use empty string as the
20756 default value for `read-regexp'. (Bug#2495)
20758 2009-08-12 Juri Linkov <juri@jurta.org>
20760 * international/mule-cmds.el (ucs-insert): Change arguments
20761 from `arg' to `character', `count', `inherit' to be the same
20762 as in `insert-char'. Doc fix. (Bug#4039)
20764 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20766 2009-08-12 Juri Linkov <juri@jurta.org>
20768 * files-x.el: New file.
20770 * files.el: Move code that deals with adding/deleting
20771 file/directory-local variables to files-x.el.
20773 * Makefile.in (ELCFILES): Add files-x.elc.
20775 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20777 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20778 to use `goto-line'.
20779 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20781 (gdb-invalidate-disassembly): Do not refresh upon receiving
20782 'update signal. Instead, update all disassembly buffers only after
20784 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20785 (gdb-starting): Move -data-list-register-names...
20786 (gdb-stopped): ...here so it's sent when first thread stops.
20787 (gdb-registers-handler-custom): Do nothing if register names are
20790 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20791 from `gdb-mi.el' to avoid extra tangling.
20793 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20794 change which breaks `gud-def' definitions used in `gdb'.
20795 (gdb-update-gud-running): No extra fuss for updating frame number.
20797 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20799 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20800 (describe-language-environment-map, setup-language-environment-map)
20801 (set-coding-system-map): Move initialization into declaration.
20802 (set-language-info-alist): Last arg to define-key-after can be skipped.
20804 * international/quail.el (quail-completion-1): Simplify.
20805 (quail-define-rules): Use slightly more compact code.
20806 (quail-insert-decode-map): Propertize keys, compact columns.
20808 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20811 2009-08-10 Miles Bader <miles@gnu.org>
20813 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20814 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20815 (js2-instance-member, js2-private-member, js2-private-function-call)
20816 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20817 (js2-magic-paren, js2-external-variable):
20818 Remove "-face" suffix from face names.
20819 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20820 (js2-highlight-undeclared-vars, js2-peek-token)
20821 (js2-parse-function-params, js2-mode-show-errors)
20822 (js2-mode-show-warnings, js2-make-magic-delimiter)
20823 (js2-mode-highlight-magic-parens): Update to use new face names.
20825 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20827 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20828 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20830 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20832 * subr.el: Provide hashtable-print-readable.
20834 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20835 hs-c-like-adjust-block-beginning.
20836 (hs-hide-block-at-point): Stop hiding at the beginning of
20837 hs-block-end-regexp (Bug#700).
20839 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20841 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20843 (gdb-registers-handler-custom): Do not fail when register names
20846 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20848 * progmodes/gdb-mi.el (gdb-control-all-threads)
20849 (gdb-control-current-thread): Interactive setters for
20850 `gdb-gud-control-all-threads' to use in menu.
20851 (gdb-show-run-p): Show «Go» when process is not active.
20852 (gud-tool-bar-map): Add non-stop/A,T indicator.
20853 Uses gud/thread.xpm and gud/all.xpm.
20855 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20857 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20858 (nslookup-font-lock-keywords): Make it a variable.
20859 (net-utils-mode): New mode for viewing diagnostic network output.
20860 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20861 (net-utils-run-simple): New function.
20862 (ifconfig, iwconfig, netstat, arp, route): Use it.
20864 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20866 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20867 (gdb-memory-set-address, def-gdb-set-positive-number)
20868 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20869 after changing settings.
20870 (gdb-invalidate-disassembly): Update when first shown.
20871 (gdb-edit-locals-value): Fix.
20872 (gdb-registers-handler-custom): Print registers in right order and
20873 allow changing register values (only for current thread yet).
20874 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20875 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20876 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20877 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20878 Thread info in mode name.
20879 (gdb-registers-mode-map): TAB to switch to locals.
20881 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20883 * mail/rmail.el (rmail-add-mbox-headers)
20884 (rmail-set-message-counters-counter): Search for
20885 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20887 2009-08-08 Glenn Morris <rgm@gnu.org>
20889 * Makefile.in (ELCFILES): Update.
20891 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20893 * mail/sendmail.el (mail-yank-original):
20894 Set buffer-file-coding-system from the one used by the message whose
20897 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20898 to "windows" when "pgnuplot" is used.
20899 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20900 Don't call accept-process-output if "pgnuplot" is used.
20901 (calc-graph-init): Don't send -display and -geometry to
20902 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20903 running "pgnuplot -V" with shell-command-to-string.
20905 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20908 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20910 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20913 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20915 * vc-dispatcher.el (vc-resynch-window): Update comment.
20917 * term.el (term-handle-ansi-escape): Add comments with the
20918 terminfo capabilities implemented.
20920 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20922 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
20923 (gdb-var-create-handler): Rewritten using JSON parser.
20924 (gdb-propertize-header): Move earlier.
20925 (gdb-set-header): Remove to avoid duplication.
20926 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20927 Refresh disassembly buffers only after threads list have been
20929 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20932 2009-08-04 Juri Linkov <juri@jurta.org>
20934 * files.el: Commands to add/delete file/directory-local variables.
20935 (read-file-local-variable, read-file-local-variable-value)
20936 (read-file-local-variable-mode, modify-file-local-variable)
20937 (modify-file-local-variable-prop-line)
20938 (modify-dir-local-variable): New functions.
20939 (add-file-local-variable, delete-file-local-variable)
20940 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20941 (add-dir-local-variable, delete-dir-local-variable)
20942 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20943 (copy-dir-locals-to-file-locals-prop-line): New commands.
20945 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20947 * abbrev.el (insert-abbrev-table-description): Prettify output.
20948 Suggested by Karl Chen.
20950 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20952 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20953 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20954 (gdb-overlay-arrow-position, gdb-thread-position)
20955 (gdb-disassembly-position): Declare variables.
20956 (gdb-wait-for-pending): Function now.
20957 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20958 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20959 compilation goes smoothly.
20960 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20961 (gdb-non-stop-setting): New customization setting which replaces
20962 `gdb-non-stop' so changing it doesn't break active GDB session.
20963 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20964 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20965 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20966 (gdb-show-threads-by-default): New customization options.
20967 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20969 (gdb-get-buffer-create): Send buffers update signal when they are
20971 (gdb-invalidate-locals, gdb-invalidate-registers)
20972 (gdb-invalidate-breakpoints)
20973 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20974 (gdb-invalidate-memory): Accept update signal.
20975 (gdb-current-context-command): Use --frame option.
20976 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20977 Implement `gdb-frame-number' selection logic.
20978 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20979 whether to show GUD toolbar buttons.
20980 (gdb-thread-exited): Unselect current thread when it exits.
20981 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20982 (gdb-mark-line): Routine which sets overlay arrow or inverses
20983 video on fringeless displays.
20984 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20985 to build aligned columns of data in GDB buffers and set text
20986 properties line-by-line.
20987 (gdb-invalidate-breakpoints)
20988 (gdb-breakpoints-list-handler-custom)
20989 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20990 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20991 (gdb-registers-handler-custom): Align data columns.
20992 (gdb-locals-handler-custom): Now prints data like in variable
20994 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20995 Remove confusing buttons.
20996 (gdb-invalidate-threads): Append --frame.
20997 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20998 between breakpoints/threads buffers.
20999 (gdb-set-window-buffer): Now can ignore dedicated windows.
21000 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21001 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21002 (def-gdb-thread-buffer-gud-command): Replaces
21003 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21004 for fine thread control.
21005 (gdb-preempt-existing-or-display-buffer): New function used to
21006 display bound buffers without breaking window layout.
21007 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21008 (gdb-select-frame): New version of `gdb-frames-select' which now
21009 sets `gdb-frame-number' so commands may use --frame option instead
21010 of inner debugger state.
21011 (gdb-frame-handler): Do not set `gdb-frame-number'.
21012 (gdb-threads-mode-map): Select threads with mouse.
21014 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21015 avoid compilation warning.
21016 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21019 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21020 Argument `key' renamed to `buffer-type'.
21021 (gdb-current-context-buffer-name): Do not add thread info to
21022 buffer name when no thread is selected.
21023 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21024 command (bug 3794).
21025 (gdb-thread-selected): Handle `=thread-selected' notification.
21026 (gdb-wait-for-pending): New macro to deal with congestion problems.
21027 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21029 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21030 This fixes problem similar to one described in bug 3947.
21031 (gud-menu-map): More menu items.
21032 (gdb-init-1): Reset `gdb-thread-number' to nil.
21034 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21037 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21038 (gdb-current-context-command): Do not append --thread if
21039 `gdb-thread-number' is nil.
21040 (gdb-running-threads-count, gdb-stopped-threads-count):
21042 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21043 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21044 New customization options.
21045 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21047 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21048 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21049 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21050 set `gdb-thread-number' and update `gud-running' properly.
21051 (gdb-running): Update threads list when new threads appear.
21052 (gdb-stopped): Support non-stop operation and new thread switching
21054 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21055 (gdb-json-partial-output): New set of JSON routines.
21056 (def-gdb-auto-update-trigger): New `signal-list' optional
21058 (gdb-thread-list-handler-custom): Update `gud-running',
21059 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21060 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21061 (gdb-continue-thread, gdb-step-thread): New commands for fine
21062 thread execution control.
21063 (gud-menu-map): New menu items to switch non-stop options.
21064 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21065 (gdb-send): Mimic RET properly (bug 3794).
21067 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21068 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21070 (def-gdb-auto-update-handler): New nopreserve optional argument.
21071 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21073 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21074 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21075 (gdb-parent-mode): New mode to derive other GDB modes from.
21076 (gdb-display-disassembly-for-thread)
21077 (gdb-frame-disassembly-for-thread): New commands for threads
21080 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21081 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21082 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21083 (gdb-update): We now store all GDB buffers in a list so that they
21084 can be updated by traversing a list instead of calling invalidate
21085 triggers explicitly.
21086 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21087 pair for GDB buffer.
21088 (gdb-stack-buffer-name): Add thread information.
21089 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21090 handle pending triggers.
21091 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21092 (def-gdb-thread-buffer-simple-command)
21093 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21094 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21095 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21096 New commands which show buffers bound to thread.
21097 (gdb-stack-list-locals-regexp): Remove unused regexp.
21099 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21100 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21101 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21102 to (gud-comint-buffer) in *-buffer-name functions
21103 because (gdb-get-target-string) already does that.
21104 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21105 (gdb-changed-registers-handler): Rewritten without regexps.
21107 * progmodes/gdb-mi.el: Basic thread selection support.
21108 (gdb-thread-number): New variable.
21109 (gdb-current-context-command): New macro which adds --thread
21111 (gdb-threads-mode-map): Select thread with SPC.
21112 (gdb-thread-list-handler-custom): Mark current thread with overlay
21113 arrow. Synchronize GDB thread and Emacs thread.
21114 (gdb-select-thread): New command which selects current thread.
21115 (gdb-invalidate-frames, gdb-invalidate-locals)
21116 (gdb-invalidate-registers): Use --thread option.
21118 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21120 * net/tramp.el (top): Make check for tramp-gvfs loading more
21122 (tramp-handle-insert-file-contents): `unwind-protect' must be
21123 inside `with-parsed-tramp-file-name'.
21125 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21128 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21130 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21131 directory if CLASSPATH is not set.
21133 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21135 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21137 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21139 2009-08-02 Kevin Ryde <user42@zip.com.au>
21141 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21142 Update freshmeat link. Delete newsforge.com as it seems gone.
21144 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21146 * select.el (x-set-selection): Doc fix (Bug#4021).
21148 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21150 * help-fns.el (describe-variable): Treat list return values from
21151 dir-locals-find-file properly (Bug#4005).
21153 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21155 * net/tramp.el (tramp-debug-message): Print also microseconds.
21157 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21159 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21161 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21162 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21165 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21166 (tramp-get-file-property): Use it.
21168 * autorevert.el (auto-revert-handler):
21169 Allow `auto-revert-tail-mode' for remote files.
21171 2009-08-02 Jason Rumney <jasonr@gnu.org>
21173 * minibuffer.el (read-file-name): Treat confirm options to
21174 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21176 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21178 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21179 (font-lock-variable-name-face, font-lock-constant-face):
21180 Darken the colors for light backgrounds.
21182 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21184 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21185 month names. (Bug#3987)
21187 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21189 * simple.el (line-move-finish): Pass whole number to
21190 line-move-to-column.
21191 (line-move-visual): Perform hscroll to the recorded position.
21193 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21195 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21197 2009-07-29 Alan Mackenzie <acm@muc.de>
21199 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21201 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21203 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21204 (gdb-place-breakpoints): Use full path when setting breakpoints.
21206 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21208 * calc/calc.el (calc-mode-map): Add keybinding for
21209 `calc-transpose-lines'.
21211 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21213 * calc/calc-misc.el (calc-transpose-lines): New function.
21215 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21217 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21218 Simplify check for out-of-band methods.
21219 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21220 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21222 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21224 * vc-git.el (vc-git-checkin): Fix typo.
21226 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21228 * progmodes/js2-mode.el: New file.
21230 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21232 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21233 (gud-menu-map): Adjust tooltip accordingly.
21235 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21237 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21238 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21240 * add-log.el (change-log-mode-map): Add a menu.
21242 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21244 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21245 function returns nil.
21246 (dbus-handle-event): Handle special return value :ignore.
21247 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21249 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21251 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21254 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21258 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21260 * term/pc-win.el (x-display-name, x-colors)
21261 (x-select-enable-clipboard, x-select-text): Doc fix.
21263 * term/common-win.el (x-display-name, x-colors): Doc fix.
21265 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21266 (xw-defined-colors): Doc fix.
21268 * w32-fns.el (x-select-text, x-setup-function-keys)
21269 (x-get-selection, x-set-selection): Doc fix.
21271 * term/x-win.el (x-select-text, x-setup-function-keys)
21272 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21274 * select.el (x-set-selection): Doc fix.
21276 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21278 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21279 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21280 "IsNSSSupportAvailable" method is not available.
21281 Reported by Steve Youngs <steve@sxemacs.org>.
21283 2009-07-24 Kenichi Handa <handa@m17n.org>
21285 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21286 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21287 (build-unicode-category-table): Fix range checks.
21289 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21291 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21292 the buffer we try to sync is current when calling
21295 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21296 not show up to date files.
21298 2009-07-24 Glenn Morris <rgm@gnu.org>
21300 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21301 Add autoload cookies. If necessary, initialize.
21302 (elint-log): Handle non-file buffers.
21303 (elint-initialize): Add optional argument to reinitialize.
21304 (elint-find-builtin-variables): Save excursion.
21306 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21308 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21311 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21313 * vc.el (vc-print-log-internal): New function, split out from ...
21314 (vc-print-log): ... here.
21315 (vc-dir-move-to-goal-column): Declare.
21317 * vc-git.el (vc-git-add-signoff): New variable.
21318 (vc-git-checkin): Use it.
21319 (vc-git-toggle-signoff): New function.
21320 (vc-git-extra-menu-map): Bind it to menu.
21321 (vc-git--run-command-string): Accept a nil FILE argument.
21322 (vc-git-stash-list): New function.
21323 (vc-git-dir-extra-headers): Use it.
21325 2009-07-23 Glenn Morris <rgm@gnu.org>
21327 * help-fns.el (describe-variable): Describe ignored and risky local
21328 variables in a similar way to that in which we describe safe ones.
21330 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21331 (byte-compile-output-file-form, byte-compile-output-docform)
21332 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21333 Give some more local variables with common names a "bytecomp-" prefix,
21334 so as not to shadow things during compilation.
21335 * emacs-lisp/cl-macs.el (load-time-value)
21336 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21337 `outbuffer' to `bytecomp-outbuffer'.
21339 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21340 since the next two variables cover them automatically now.
21341 (elint-builtin-variables, elint-autoloaded-variables): New.
21342 (elint-unknown-builtin-args): Remove all members, since they can be
21343 parsed automatically now.
21344 (elint-extra-errors): New.
21345 (elint-env-add-env, elint-env-add-macro): Use cadr.
21346 (elint-current-buffer): Use or. Change final message.
21347 (elint-get-top-forms): Use line-end-position.
21348 (elint-init-env): Use cadr. Handle autoload, declare-function,
21350 (elint-add-required-env): Doc fix. Use or. Standardize error.
21351 (regexp-assoc): Remove unused function.
21352 (elint-top-form): Set elint-current-pos, to record the start of the
21353 top-level form, for compilation-mode.
21354 (elint-form): Trap errors in macro expansion. Use dolist.
21355 (elint-unbound-variable): Use elint-builtin-variables and
21356 elint-autoloaded-variables.
21357 (elint-get-args): Use cadr, or.
21358 (elint-check-cond-form): Use dolist, cadr.
21359 (elint-check-condition-case-form): Doc fix. Use cadr.
21360 Use elint-extra-errors.
21361 (elint-log): New function.
21362 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21363 Distinguish errors and warnings.
21364 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21365 Use a bytecomp-style format.
21366 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21367 (elint-get-log-buffer): Use compilation mode. Disable undo.
21368 Don't truncate lines.
21369 (elint-initialize): Set builtin and autoloaded variable lists.
21370 Only process elint-unknown-builtin-args if non-nil.
21371 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21373 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21375 2009-07-22 Kevin Ryde <user42@zip.com.au>
21377 * net/newst-backend.el (newsticker--parse-atom-1.0)
21378 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21379 (newsticker--parse-rss-1.0):
21380 * progmodes/idlwave.el (idlwave-mode):
21381 * progmodes/idlw-shell.el (idlwave-shell-mode):
21382 * progmodes/vera-mode.el (vera-mode):
21383 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21384 * progmodes/vhdl-mode.el (vhdl-mode):
21385 * textmodes/table.el (table-generate-source)
21386 (table--warn-incompatibility):
21387 Hyperlink urls in docstrings with URL `...'.
21389 2009-07-22 Glenn Morris <rgm@gnu.org>
21391 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21392 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21393 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21394 Remove leading * from defcustom docs.
21396 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21398 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21400 (list-load-path-shadows): Optionally, just return shadows as a string.
21402 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21404 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21406 * mail/rmailedit.el (rmail-edit-mode):
21407 Use auto-save-include-big-deletions.
21409 * mail/rmail.el (rmail-variables):
21410 Use auto-save-include-big-deletions.
21412 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21415 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21417 * calc/calc.el (calc-undo-length): New variable.
21418 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21420 2009-07-21 Richard Stallman <rms@gnu.org>
21422 * files.el (auto-save-mode): Handle buffer-save-size = -2
21425 2009-07-21 Glenn Morris <rgm@gnu.org>
21427 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21429 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21431 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21432 silence compiler. Instead...
21433 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21434 (ps-print-ensure-fontified): Update for above function name changes.
21436 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21437 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21438 silence compiler. Instead...
21439 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21440 (mh-show-buffer): Only define for compiler.
21441 (pr-mh-current-message): Update for above function name changes.
21443 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21445 (find-file-noselect, insert-file-1): Update for above change.
21447 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21449 * mail/mailclient.el (mailclient-send-it): Fix message.
21451 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21452 (edebug-eval): Check cl-debug-env is bound.
21453 (print-level, print-circle): Don't redefine built-in variables.
21455 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21456 (custom-print-vectors): Remove old comments from doc.
21458 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21459 (emerge-version): Make the variable an obsolete alias for the
21460 emacs-version variable. Make the function obsolete.
21461 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21462 Emerge options, rather than merging in into the main Options menu.
21463 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21464 and auto advance modes. Disable edit/fast items when not relevant.
21466 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21468 * term/vt420.el (terminal-init-vt420): Fix typo.
21470 2009-07-20 Sam Steingold <sds@gnu.org>
21472 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21473 variable (removed from compile.el on 2004-03-11).
21475 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21477 * files.el (hack-local-variables-filter): Fix last change.
21479 2009-07-19 Juri Linkov <juri@jurta.org>
21481 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21482 (dir-local-variables-alist): New buffer-local variable.
21483 (hack-local-variables-filter): If variable is not dir-local,
21484 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21485 because file-local overrides dir-local.
21486 (c-postprocess-file-styles) <declare-function>:
21487 Remove obsolete declaration.
21488 (hack-dir-local-variables): Add dir-local variable/value pair to
21489 `dir-local-variables-alist' and remove duplicates. Doc fix.
21491 * help-fns.el (describe-variable): Add information about
21492 file-local and dir-local variables.
21494 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21496 * files.el (hack-local-variables-filter): Rewrite.
21498 2009-07-19 Glenn Morris <rgm@gnu.org>
21500 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21501 Silence compiler by only defining on XEmacs.
21503 * international/mule.el (auto-coding-regexp-alist): Only match
21504 BABYL... at the start of buffer, not of lines. (Bug#3790)
21506 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21507 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21508 (cal-menu-context-mouse-menu): Doc fix.
21510 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21512 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21514 2009-07-18 Juri Linkov <juri@jurta.org>
21516 * info.el: Virtual Info keyword finder.
21517 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21518 (Info-finder-file): New variable.
21519 (Info-finder-find-file): New function.
21520 (finder-known-keywords, finder-package-info)
21521 (find-library-name, lm-commentary): Use defvar and
21522 declare-function to silence compiler warnings.
21523 (Info-finder-find-node): New function.
21524 (info-finder): New command.
21526 * subr.el (process-kill-buffer-query-function): New function.
21527 (add-hook)<kill-buffer-query-functions>: Add hook
21528 `process-kill-buffer-query-function'.
21530 2009-07-18 Alan Mackenzie <acm@muc.de>
21532 * progmodes/cc-mode.el (c-before-hack-hook)
21533 (c-postprocess-file-styles): Give invocation of `c-set-style'
21534 DONT-OVERRIDE parameter of t. Already set style variables will
21535 thus not be overridden by style settings given by `c-file-syle'.
21537 * files.el (hack-local-variables-filter): Remove entries with
21538 duplicate keys from `file-local-variables-alist'.
21540 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21542 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21543 x-set-selection if display-selections-p returns nil for the
21546 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21548 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21550 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21552 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21553 Accept nil in addition to a regexp.
21554 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21555 Accept nil in addition to a regexp.
21556 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21557 buffers that have an associated file. Handle nil values of
21558 desktop-buffers-not-to-save and desktop-files-not-to-save.
21561 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21562 (x-disown-selection-internal): New functions.
21564 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21566 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21568 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21569 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21571 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21573 * simple.el (set-mark): Revert last change.
21575 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21577 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21578 rendering of pngs is not possible instead of messaging a long
21581 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21583 * w32-fns.el (x-selection-owner-p): New function.
21585 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21586 (mouse-yank-at-click, mouse-yank-primary):
21587 If select-active-regions is non-nil, deactivate the mark before
21590 * simple.el (deactivate-mark, set-mark): Only save selection if we
21593 2009-07-17 Kenichi Handa <handa@m17n.org>
21595 * case-table.el (describe-buffer-case-table): Fix for the case
21596 that KEY is a cons.
21598 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21600 * vc-rcs.el (vc-rcs-find-file-hook):
21601 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21603 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21605 * net/tramp.el (tramp-wait-for-output): Handle the case when
21606 commands do not return a newline but a null byte before the shell
21609 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21611 * term/ns-win.el (ns-set-alpha): Don't declare.
21612 (ns-set-background-alpha): Remove function.
21614 2009-07-16 Kevin Ryde <user42@zip.com.au>
21616 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21617 y-or-n-p, for safety.
21619 2009-07-16 Richard Stallman <rms@gnu.org>
21621 * files.el (auto-save-mode): If buffer-saved-size is -2,
21624 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21625 (rmail-retry-ignored-headers): Add more uninteresting fields.
21627 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21629 * net/rcirc.el (rcirc): Use history variables.
21630 (rcirc-server-name-history, rcirc-nick-name-history)
21631 (rcirc-server-port-history): New variables.
21633 2009-07-15 Kenichi Handa <handa@m17n.org>
21635 * international/mule-cmds.el (set-language-environment-charset):
21636 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21639 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21640 Delete unibyte-display.
21642 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21644 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21646 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21648 * simple.el (deactivate-mark): Optional argument FORCE.
21649 (set-mark): Use deactivate-mark.
21651 * info.el (Info-search): No need to check transient-mark-mode
21652 before calling deactivate-mark.
21654 * select.el (x-set-selection): Doc fix.
21655 (x-valid-simple-selection-p): Allow buffer values.
21656 (xselect--selection-bounds): Handle buffer values.
21657 Suggested by David De La Harpe Golden.
21659 * mouse.el (mouse-set-region, mouse-drag-track):
21660 Call copy-region-as-kill before setting the mark, to let
21661 select-active-regions work.
21663 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21665 * simple.el (deactivate-mark): If select-active-regions is
21666 non-nil, copy the selection data into a string.
21667 (activate-mark): If select-active-regions is non-nil, set the
21668 selection to the current buffer.
21669 (set-mark): Update selection if select-active-regions is non-nil.
21671 * select.el (x-valid-simple-selection-p): Allow buffer values.
21673 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21675 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21676 and more featureful message-mode.
21678 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21680 * select.el (x-set-selection): Doc fix.
21681 (x-valid-simple-selection-p): Disallow selection data consisting
21682 of a list or cons of integers, since that is not used.
21683 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21684 (xselect-convert-to-string, xselect-convert-to-length)
21685 (xselect-convert-to-filename, xselect-convert-to-charpos)
21686 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21688 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21690 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21691 output in -break-info command (Emacs bug #3794).
21693 2009-07-14 Glenn Morris <rgm@gnu.org>
21695 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21696 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21697 (edebug-print-length, edebug-print-level, edebug-print-circle)
21698 (edebug-sit-for-seconds, edebug-view-outside)
21699 (edebug-bounce-point, edebug-set-global-break-condition)
21700 (edebug-Go-nonstop-mode, edebug-trace-mode)
21701 (edebug-Trace-fast-mode, edebug-continue-mode)
21702 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21703 (edebug-visit-eval-list): Doc fixes.
21705 * subr.el (def-edebug-spec): Doc fix.
21707 2009-07-14 Kenichi Handa <handa@m17n.org>
21709 * international/characters.el: Fix setting of category ?C.
21711 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21713 * term/ns-win.el (x-select-font): defalias x-select-font to
21714 ns-popup-font-panel instead of generate-fontset-menu.
21716 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21718 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21720 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21722 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21723 the PK\003\004 header (Bug#3770).
21725 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21727 * pcomplete.el (pcomplete-comint-setup): Check for
21728 shell-dynamic-complete-filename too.
21730 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21732 * simple.el (temporary-goal-column): Change the value for
21733 line-move-visual to a cons cell.
21734 (line-move-visual): Record or set the window hscroll, if
21735 necessary (Bug#3494).
21736 (line-move-1): Handle cons value of temporary-goal-column.
21738 2009-07-11 Kenichi Handa <handa@m17n.org>
21740 * international/mule-diag.el (describe-character-set): Don't show
21743 2009-07-10 Sam Steingold <sds@gnu.org>
21745 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21746 Omake sometimes indents the errors it prints, so allow all
21747 regexps to start with spaces.
21749 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21751 * cus-edit.el (customize-changed-options-previous-release):
21752 Bump value to 22.1. (Bug#3804)
21754 2009-07-08 Sam Steingold <sds@gnu.org>
21756 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21757 to be a cons cell (test . ignored-directory) to selectively ignore
21758 some directories depending on the location of the search.
21760 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21762 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21763 remote user is root, on the local host.
21764 (tramp-local-host-p): Either the local user or the remote user
21765 must be root. (Bug#3771)
21767 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21769 * progmodes/gdb-mi.el (gdb): Remove description of
21770 gdb-use-separate-io-buffer.
21771 (menu): Don't allow toggling of or enable
21772 gdb-use-separate-io-buffer from menubar.
21774 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21776 * mail/unrmail.el (unrmail): Make sure the message ends with two
21777 newlines (Bug#3769).
21779 2009-07-08 Glenn Morris <rgm@gnu.org>
21781 * calendar/calendar.el (calendar-current-date): Rework previous change.
21783 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21785 * calendar/calendar.el (calendar-current-date):
21786 Add an optional argument giving an offset from today.
21788 2009-07-08 Glenn Morris <rgm@gnu.org>
21790 * tutorial.el (tutorial--describe-nonstandard-key):
21791 Adjust the message for when a key has been unbound.
21792 (help-with-tutorial): Hide the arch-tag.
21794 2009-07-08 Kenichi Handa <handa@m17n.org>
21796 * international/fontset.el (setup-default-fontset): For each
21797 script, append (not set) font-specs.
21799 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21802 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21804 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21805 -data-list-register-names to ...
21806 (gdb-starting): ... here because GDB 7.0 requires execution to
21807 have started when using this MI command.
21808 (gdb-set-header): New function to distinguish select and
21809 unselected tabs in gdb buffers.
21810 (gdb-propertize-header): New macro that uses gdb-set-header.
21811 (gdb-breakpoints-header, gdb-locals-header): Use it.
21812 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21814 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21816 * Makefile.in (ELCFILES): Remove fadr.elc.
21818 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21820 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21821 may contain frame information, so `string-match' should be used.
21822 (gdb-update): Disassembly is invalidated through
21823 `gdb-get-selected-frame'.
21824 (gdb-pad-string): New function to pad string with spaces.
21825 (gdb-invalidate-disassembly): Invalidate only if the buffer
21827 (gdb-disassembly-handler-custom): Column alignment.
21828 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21830 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21832 (gdb-frame-handler): Match convention to for disassembly buffer
21834 (gdb-stack-list-frames-handler): Rewritten without regexps.
21835 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21836 not highlight breakpoints without line information.
21837 (gdb-input): Add trailing newline to command.
21839 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21841 (gdb-breakpoints-list-handler-custom): Replacement for
21842 `gdb-break-list-handler'. Using real parser instead of regexps
21844 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21845 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21846 to place breakpoints.
21847 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21849 (gdb-disassembly-handler-custom): Show overlay arrow.
21850 (gdb-disassembly-place-breakpoints): Show breakpoints in
21851 disassembly buffer.
21852 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21853 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21854 instead of parsing breakpoints buffer. Fixed old menu references
21859 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21860 (gdb-memory-address): New variable which holds top address of
21861 memory page shown in memory buffer.
21862 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21863 New customization variables.
21865 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21866 display the memory buffer.
21867 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21868 buffer display parameters.
21869 (def-gdb-memory-format, gdb-memory-format-binary)
21870 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21871 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21872 Functions for setting memory buffer format.
21873 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21874 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21875 unit size used in memory buffer.
21876 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21877 Switch to next/previous page of memory buffer.
21878 Now using (bindat-get-field) instead of fadr functions.
21880 2009-07-07 Sam Steingold <sds@gnu.org>
21882 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21883 non-top-level files.
21885 2009-07-07 Kenichi Handa <handa@m17n.org>
21887 * international/mule-cmds.el (reset-language-environment):
21888 Put the highset priority to the charset iso-8859-1.
21890 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21892 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21893 to the end of the line when locating the block (Bug#700).
21895 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21897 * net/tramp.el (tramp-handle-write-region): Flush file properties
21898 in case of short track.
21900 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21902 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21903 Coded custom representation of verilog error regular expressions
21904 to work with Emacs-22's new format.
21905 (verilog-error-regexp-xemacs-alist): Coded custom representation
21906 of verilog error regular expressions to work with XEmacs format.
21907 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21908 error recognition into XEmacs.
21909 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21910 error recognition into Emacs-22.
21912 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21914 * woman.el: Remove stand-alone closing parentheses.
21915 (woman-file-name, woman2-format-paragraphs)
21916 (woman-leave-blank-lines): Code cleanup.
21917 (woman-use-own-frame): Change default to nil.
21918 (woman-italic, woman-bold, woman-unknown, woman-addition):
21919 Change defaults to inherit from default faces.
21920 (woman2-process-escapes): Consume the newline after a stand-alone
21921 filler character (Bug#3651).
21923 2009-07-06 Glenn Morris <rgm@gnu.org>
21925 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21926 (top-level): Move provide to the end.
21927 (ffap): Remove defunct URL from custom group.
21929 * subr.el (eval-after-load): Doc fix.
21931 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21933 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21934 `calc-embedded-word' is called twice.
21936 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21938 * files.el (find-alternate-file-other-window, find-alternate-file):
21939 Obey confirm-nonexistent-file-or-buffer.
21941 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21943 * dired-aux.el (dired-show-file-type): Handle remote files.
21945 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21947 * desktop.el (desktop-globals-to-save):
21948 Add file-name-history (Bug#2750).
21950 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21952 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21954 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21956 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21957 property on entire argument since this is what eshell-lisp-command
21960 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21962 * net/tramp-gvfs.el (tramp-gvfs-methods)
21963 (tramp-gvfs-zeroconf-domain)
21964 (tramp-bluez-discover-devices-timeout): Add version flag.
21965 (tramp-gvfs-handler-mounted-unmounted)
21966 (tramp-gvfs-connection-mounted-p): Polish handling of
21967 incompatibilities between GVFS 0.2 and 1.0.
21969 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21971 * cus-start.el (all): Add make-pointer-invisible.
21973 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21975 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21976 formatted correctly.
21978 2009-07-02 Juri Linkov <juri@jurta.org>
21980 * info.el: Virtual Info files and nodes.
21981 (Info-virtual-files, Info-virtual-nodes): New variables.
21982 (Info-current-node-virtual): New variable.
21983 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21985 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21986 to check for a virtual file instead of checking a fixed list
21988 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21989 instead of ad-hoc processing of "dir" and (apropos history toc).
21990 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21991 instead of ad-hoc processing of "dir" and (apropos history toc).
21992 Reread a file when moving from a virtual node.
21993 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21994 (Info-directory-toc-nodes, Info-directory-find-file)
21995 (Info-directory-find-node): New functions.
21996 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21997 (Info-history): Move part of code to
21998 `Info-history-find-node'.
21999 (Info-history-toc-nodes, Info-history-find-file)
22000 (Info-history-find-node): New functions.
22001 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22002 (Info-toc): Move part of code to `Info-toc-find-node'.
22003 (Info-toc-find-node): New function.
22004 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22005 the current Info file name to references because now the node
22006 "*TOC*" belongs to the same Info manual.
22007 (Info-toc-build): Rename from `Info-build-toc'.
22008 (Info-toc-nodes): Rename input argument `file' to `filename'.
22009 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22010 instead of ad-hoc processing of ("dir" apropos history toc).
22011 (Info-index-nodes): Use Info-virtual-file-p
22012 to check for a virtual file instead of checking a fixed list
22014 (Info-index-node): Add check for `Info-current-node-virtual'.
22015 Raise `save-match-data' higher up the tree to contain
22016 `search-forward' too (bug fix).
22017 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22018 (Info-virtual-index-nodes): New variable.
22019 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22020 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22021 (Info-apropos-file, Info-apropos-nodes): New variables.
22022 (Info-apropos-toc-nodes, Info-apropos-find-file)
22023 (Info-apropos-find-node, Info-apropos-matches): New functions.
22024 (info-apropos): Move part of code to `Info-apropos-find-node' and
22025 `Info-apropos-matches'.
22026 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22027 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22028 for a virtual file instead of checking a fixed list of node names.
22030 * simple.el (async-shell-command): New command.
22032 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22034 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22035 instead of `mount-info'.
22037 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22039 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22040 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22042 2009-07-02 Kenichi Handa <handa@m17n.org>
22044 * international/mule.el (set-keyboard-coding-system): Force *-unix
22045 coding-system to avoid eol conversion.
22047 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22049 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22050 Add handler for `process-file', `shell-command' and
22051 `start-file-process'.
22052 (tramp-gvfs-handle-shell-command)
22053 (tramp-gvfs-handle-start-file-process)
22054 (tramp-gvfs-handle-process-file): New defuns.
22055 (tramp-synce-list-devices): Simplify check for existence of property.
22057 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22059 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22061 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22063 * language/korean.el (set-language-info-alist): Add korean-cp949,
22066 2009-07-01 Kenichi Handa <handa@m17n.org>
22068 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22070 * international/encoded-kb.el: Deleted.
22072 * international/mule.el (set-keyboard-coding-system): Perform the
22073 necessary setup here instead of calling encoded-kbd-setup-display.
22075 2009-07-01 Glenn Morris <rgm@gnu.org>
22077 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22079 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22081 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22083 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22085 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22086 Handle also the 'rename case, when setting file modes. (Bug#3712)
22087 (tramp-default-file-modes): Remove execute permissions.
22089 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22090 (top): Add a default for "synce" in `tramp-default-user-alist'.
22091 Add completion function for "synce" method.
22092 (tramp-hal-service, tramp-hal-path-manager)
22093 (tramp-hal-interface-manager, tramp-hal-interface-device):
22095 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22096 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22099 * net/trampver.el: Update release number.
22101 2009-06-30 Kenichi Handa <handa@m17n.org>
22103 * international/fontset.el (setup-default-fontset): Add CJK fonts
22104 for symbols and the other miscellaneous characters.
22106 * language/korea-util.el (setup-korean-environment-internal):
22107 Make char-width-table suitable for Korean environments.
22108 (exit-korean-environment): Cancel above.
22110 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22111 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22112 setup-function to make char-width-table suitable for respective
22113 environments, and an exit-function to cancel that.
22115 * language/japan-util.el (setup-japanese-environment-internal):
22116 Call use-cjk-char-width-table with arg `ja_JP'.
22118 * international/characters.el (cjk-char-width-table): Delete it.
22119 (cjk-char-width-table-list): New variable.
22120 (use-cjk-char-width-table): New arg local-name.
22121 (use-default-char-width-table): Fix for the case that Emacs is
22122 already using the default char-width-table.
22124 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22126 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22127 modes mandatory. (Bug#3712)
22129 2009-06-29 Alan Mackenzie <acm@muc.de>
22131 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22132 correction between the visible width of TABs and their number of bytes.
22134 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22136 * server.el (server-buffer-done): Prevent kill-buffer from
22137 prompting by clearing the buffer modification flag (Bug#3696).
22139 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22141 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22142 (verilog-endcomment-reason-re): Support unique case and priority case.
22143 (verilog-basic-complete-re): Support localparam lineup.
22144 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22145 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22147 (verilog-leap-to-case-head): Now support *nested* unique &
22148 priority case statements.
22149 (verilog-auto-lineup): Make just declarations the default (as it
22151 (verilog-leap-to-case-head): Support priority/unique case statements.
22152 (verilog-auto-lineup): Rework to give users radio buttons to
22153 select the various styles of automatic lineup.
22154 (verilog-error-regexp-alist): Rework to support the XEmacs style
22155 of error regular expressions from compilers, lint tools &
22156 simulators. Note that GNU Emacs has made it impossible for a mode
22157 to load such things.
22158 (electric-verilog-terminate-line, verilog-indent-declaration)
22159 (verilog-auto-wiure): Rework for radio button selection of
22160 auto-lineup selection of specification of auto lineup.
22161 (verilog-beg-of-statement-1): Redesign to support proper operation
22162 in additional code, based on testing with auto-lineup.
22163 (verilog-calculate-indent, assignments & declarations)
22164 (verilog-backward-token): Enhance to support auto-lineup of
22165 assignments & declarations.
22166 (verilog-in-directive-p, verilog-at-struct-p): New function for
22167 easy test of whether we are.
22168 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22169 to support safe execution at almost anyline.
22170 (verilog-calc-1): Properly support indenting deep inside generate
22172 (verilog-init-font): Remove definition & use of verilog-init-font,
22173 as it is redundant with font-lock-defaults.
22174 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22175 to avoid circular calls if syntax-ppss is a function (as is the
22176 case now in 22.x GNU Emacs) as that function would sometimes call
22177 itself, leading to (nearly) infinite recursion.
22178 (verilog-ovm-begin-re, verilog-ovm-end-re)
22179 (verilog-ovm-statement-re, verilog-leap-to-head)
22180 (verilog-backward-token): Add support for OVM macros. Some are
22181 complete statements, and others open and close scopes like begin
22183 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22184 (verilog-defun-level-generate-only-re): Really fix the defun-list
22186 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22187 coverpoint, constraint and cross statements.
22188 (verilog-defun-level-list, verilog-generate-defun-level-list)
22189 (verilog-all-defun-level-list): Redo these specifications - it is
22190 too hard to support eval-when compile aggregation of lists also
22191 built at when-compile time.
22192 (verilog-defun-level-list): Place defconsts of variables used in
22193 building regular expressions which are built in eval-when-compile
22194 bodies in the same eval-when-compile body to facilitate compile
22196 (verilog-beg-block-re-ordered): Support indenting
22197 virtual/protected tasks and functions.
22198 (verilog-defun-level-list, verilog-in-generate-region-p)
22199 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22200 indentation of some module items (generate items).
22201 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22202 across virtual/protected tasks and functions.
22204 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22206 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22207 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22208 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22209 in concatenations. Reported by Yishay Belkind.
22210 (verilog-auto-ascii-enum): Support one-hot state machines in
22211 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22212 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22213 modport in AUTOINST and add vl-modport for users.
22214 Reported by David Rogoff.
22215 (verilog-auto-inout-module, verilog-auto-inst)
22216 (verilog-decls-get-interfaces, verilog-insert-definition)
22217 (verilog-insert-one-definition, verilog-read-decls)
22218 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22219 (verilog-sig-modport, verilog-signals-combine-bus)
22220 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22221 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22222 Suggested by David Rogoff.
22223 (verilog-repair-open-comma): Fix non-insertion of comma when
22224 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22225 (verilog-make-width-expression): Simplify [A-1:0] expression
22226 widths to just {A{1'b0}}.
22227 (verilog-mode): Cleanup checkdoc warnings.
22228 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22229 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22230 inputs/outputs or data type. Suggested by Vasu Kandadi.
22231 (next-error-last-buffer): Fix byte-compiler warning.
22232 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22233 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22234 or shell command text during AUTO expansion. Suggested by Tad Truex.
22235 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22236 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22237 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
22238 in AUTOINOUT. Reported by Matthew Lovell.
22239 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22240 causing use of <= assignments. Reported by Alex Reed.
22241 (verilog-read-decls): Fix triand, trior, wand, wor to be
22242 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22243 (verilog-extended-complete-re): Support import "DPI-C" functions.
22244 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22245 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22246 (verilog-insert-date, verilog-insert-year)
22247 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22248 Windows systems. Reported by Michael Potts.
22249 (verilog-read-module-name): Fix AUTOINST when the child module
22250 declaration's name is a tick define. Reported by Elliot Mednick.
22251 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22252 passed to next parameter's definition. Reported by Bruce T.
22253 (verilog-read-decls): Fix detecting "parameter int" when using
22254 AUTOINSTPARAM. Reported by Bruce T.
22255 (verilog-goto-defun): Fix goto not finding modules unless first
22256 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22257 (verilog-mode): Expand -f flag arguments on entry to mode so
22258 verilog-goto-defun will work. Reported by Lawrence Butcher.
22259 (verilog-getopt): Expand environment variables in -f file
22260 arguments. Suggested by Lawrence Butcher.
22261 (verilog-set-define): Fix "Symbol's value as variable is void"
22262 when reading enumerations.
22263 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22264 Suggested by Stephen Peltan.
22265 (verilog-read-defines): Fix reading of enumerations in include
22266 files. Reported by Steve Peltan.
22268 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22270 * files.el (trash-directory): Fix defcustom type.
22272 2009-06-28 Juri Linkov <juri@jurta.org>
22274 * help-fns.el (describe-function-1): Correctly locate adviced
22275 functions in hyperlink (Bug#2438).
22277 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22279 * files.el (trash-directory): Change default to nil.
22280 (move-file-to-trash): If trash-directory is nil and
22281 system-move-file-to-trash is unbound, perform freedesktop-style
22284 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22286 * files.el (move-file-to-trash): Add freedesktop trash
22289 2009-06-28 Glenn Morris <rgm@gnu.org>
22291 * autorevert.el (global-auto-revert-non-file-buffers)
22292 (global-auto-revert-mode): Doc fixes.
22294 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22296 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22298 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22300 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22301 opened an X connection before calling x-get-resource (Bug#3194).
22303 * play/doctor.el: Remove reference to obsolete website.
22304 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22306 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22308 Remove find-file-not-found-hook VC method. (Bug#2757)
22309 * vc-hooks.el (vc-file-not-found-hook)
22310 (vc-default-find-file-not-found-hook): Remove functions.
22311 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22312 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22315 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22317 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22319 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22320 compatibility function for `looking-back'.
22322 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22323 Use `ispell-looking-back'.
22325 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22327 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22328 rather than `filename'.
22330 2009-06-23 Miles Bader <miles@gnu.org>
22332 * face-remap.el (text-scale-set): New function.
22334 2009-06-23 Glenn Morris <rgm@gnu.org>
22336 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22338 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22340 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22342 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22344 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22345 Simplify Persian conditionals.
22347 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22348 variable `filename'.
22350 * comint.el (comint-insert-input): Doc fix.
22352 * Makefile.in (ELCFILES): Fix typo in previous change.
22354 2009-06-23 Miles Bader <miles@gnu.org>
22356 * cus-start.el: Add entry for `recenter-redisplay'.
22358 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22360 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22361 Add an optional argument for the backend, use it instead of
22362 calling vc-backend.
22363 (vc-mode-line): Add an optional argument for the backend.
22364 Pass the backend to vc-state and vc-working-revision. Move code for
22365 special handling for vc-state being a buffer to ...
22367 * vc-rcs.el (vc-rcs-find-file-hook):
22368 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22370 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22371 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22372 vc-stay-local-p and vc-mode-line calls.
22374 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22375 (vc-cvs-diff, vc-cvs-annotate-command)
22376 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22377 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22378 vc-mode-line calls.
22380 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22382 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22383 backend when calling vc-mode-line.
22384 (vc-register): Do not create a closure for calling the vc register
22385 function, call it directly.
22387 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22389 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22390 to make it obvious item can be clicked.
22392 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22394 2009-06-23 Kenichi Handa <handa@m17n.org>
22396 * language/korea-util.el (korean-key-bindings): Change the binding
22397 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22400 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22402 Sync with Tramp 2.1.16.
22404 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22406 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22407 when a loading of a package fails. Completion function for rsync
22408 is `tramp-completion-function-alist-ssh'.
22409 (all): Replace all calls of `split-string' and
22410 `tramp-split-string' by `tramp-compat-split-string'.
22411 (tramp-default-method): Use `tramp-compat-process-running-p'.
22412 (tramp-default-proxies-alist): Allow also Lisp forms.
22413 (tramp-remote-path): Add choice "Private Directories".
22414 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22415 (tramp-domain-regexp): Allow also "-", "_" and ".".
22416 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22417 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22418 (tramp-debug-message): Insert header line in debug buffer.
22419 (tramp-handle-directory-files-and-attributes-with-stat):
22420 Care about filenames with spaces, or starting with "-".
22421 (tramp-handle-dired-uncache): New defun.
22422 (tramp-handle-insert-directory): Don't flush the directory from
22423 cache, this is handled by `dired-uncache' now.
22424 (tramp-handle-insert-file-contents): Improve error handling.
22425 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22426 Quote `tramp-end-of-output'.
22427 (tramp-action-password): Improve trace message.
22428 (tramp-check-for-regexp): Both echoes must be present, before removing.
22429 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22430 (tramp-compute-multi-hops): Eval cons cells of
22431 `tramp-default-proxies-alist'.
22432 (tramp-maybe-open-connection): Use the same command pattern for
22433 first hop and further hops.
22434 (tramp-wait-for-output): Remove handling of newlines.
22435 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22436 (tramp-split-string): Remove function. It is handled in
22439 * net/tramp-cmds.el (tramp-bug):
22440 Recommend `tramp-cleanup-all-connections' in the bug mail.
22442 * net/tramp-compat.el (tramp-compat-split-string)
22443 (tramp-compat-process-running-p): New defuns.
22445 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22446 for `dired-uncache'.
22448 * net/tramp-gvfs.el: New package.
22450 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22451 Add handler for `dired-uncache'.
22452 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22454 * net/trampver.el: Update release number. Make version check fit
22457 2009-06-22 Jim Meyering <meyering@redhat.com>
22459 Automatically handle .xz suffix (XZ-compressed files), too.
22460 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22461 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22463 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22464 Nick Roberts <nickrob@snap.net.nz>
22466 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22467 repository (http://sphinx.net.ru/hg/gdb-mi/).
22469 2009-06-22 Glenn Morris <rgm@gnu.org>
22471 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22472 `mode' and `eval' entries. (Bug#3430)
22474 * Makefile.in (ELCFILES): Add fadr.elc.
22476 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22477 differing behavior of \n and ^ in strings. (Bug#3385)
22479 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22481 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22483 (lisp-indent-function): Make it a defcustom.
22485 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22487 * progmodes/gdb-ui.el: Replace with ...
22488 * progmodes/gdb-mi.el: ... this file.
22489 * progmodes/gud.el: Modify for gdb-mi.el.
22491 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22493 * fadr.el: New file.
22495 See ChangeLog.14 for earlier changes.
22497 ;; Local Variables:
22501 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22503 This file is part of GNU Emacs.
22505 GNU Emacs is free software: you can redistribute it and/or modify
22506 it under the terms of the GNU General Public License as published by
22507 the Free Software Foundation, either version 3 of the License, or
22508 (at your option) any later version.
22510 GNU Emacs is distributed in the hope that it will be useful,
22511 but WITHOUT ANY WARRANTY; without even the implied warranty of
22512 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22513 GNU General Public License for more details.
22515 You should have received a copy of the GNU General Public License
22516 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.