1 2011-04-12 Martin Rudalics <rudalics@gmx.at>
3 * window.el (adjust-window-trailing-edge): If WINDOW is a
4 window-splits nil window, try to adjust it the Emacs 23 way.
5 (switch-to-prev-buffer, switch-to-next-buffer): If we have to
6 show a buffer from the frame's buffer list try to postpone
7 showing visible buffers. Reported by Juanma Barranquero.
9 2011-04-09 Martin Rudalics <rudalics@gmx.at>
11 * window.el (resize-window): With window-splits nil resize
12 either left or right sibling to behave more like Emacs 23.
13 Reported by Juanma Barranquero.
14 (delete-window, split-window): Simplify code and adapt to new
15 window-splits/window-nest semantics.
16 (window-state-get-1, window-state-put-1, window-state-put-2)
17 (display-buffer-split-window-1)
18 (display-buffer-split-atom-window): Adapt to new
19 window-splits/window-nest semantics.
20 (display-buffer-macro-specifiers, display-buffer-alist): Replace other-visible-frame
22 (display-buffer-pop-up-window)
23 (display-buffer-pop-up-side-window): Reset new window's previous
24 buffers to nil to avoid that we switch back to the buffer from
25 the split window when quitting the window.
27 * menu-bar.el (kill-this-buffer, kill-this-buffer-enabled-p): Do
28 not offer to kill a buffer when we can't reliably kill it.
30 * help.el (help-window-display-message): Improve message shown.
32 * cus-start.el (all): Add entry for window-nest, rework that of
35 * buff-menu.el (Buffer-menu-select): Bind window-splits to t.
37 2011-02-24 Glenn Morris <rgm@gnu.org>
39 * files-x.el (modify-dir-local-variable): Handle dir-locals from
40 the cache, and from non-file sources.
42 * help-fns.el (describe-variable): Return consistent results when a
43 dir-local from a file came from the cache or did not. (Bug#8095)
44 If a dir-local has no associated file, say it came from a "directory".
46 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
47 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
49 * files.el (dir-locals-find-file): Doc fix.
50 Fix the check for cache elements that have no associated file,
51 and the mtime check for those that do. (Bug#8095)
53 * dired-x.el (dired-hack-local-variables):
54 Handle interrupts during hacking local variables. (Bug#5216)
56 * emacs-lisp/autoload.el (autoload-save-buffers)
57 (autoload-find-destination, update-directory-autoloads):
58 Avoid prompts when updating autoloads.
60 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
62 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
64 2011-02-23 Kenichi Handa <handa@m17n.org>
66 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
67 error when a multipart boundary in the nested multipart is found.
69 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
72 2011-02-23 Glenn Morris <rgm@gnu.org>
74 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
75 * dired-x.el (dired-omit-mode): Safe if boolean.
76 (dired-enable-local-variables): Fix doc and custom type.
77 (dired-enable-local-variables, dired-local-variables-file)
78 (dired-hack-local-variables): Make obsolete.
79 (dired-omit-here-always): Use dir-locals.el instead.
81 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
83 2011-02-22 Martin Rudalics <rudalics@gmx.at>
85 * progmodes/compile.el (compilation-goto-locus): Call
86 display-buffer-same-frame-other-window.
88 * window.el (window-atom-check-1): Fix handling of case where
89 only one atomic window was left.
90 (window-sizable-p): Fix doc-string.
91 (window-size-fixed-p): Move after window-size-firxed-1.
92 (split-window): Make sure that the new window gets any odd line
93 since this was the Emacs 23 behavior.
94 (window-list-no-nils, window-state-get-1, window-state-get)
95 (window-state-put-1, window-state-put-2, window-state-put): New
97 (window-state-ignored-parameters, window-state-put-list): New
99 (display-buffer-alist): Fix doc-string.
100 (display-buffer-even-sizes): Rename to
101 display-buffer-even-window-sizes.
102 (display-buffer-reuse-window): Call
103 display-buffer-even-window-sizes.
104 (display-buffer-pop-up-window): Don't pass specifiers to side
106 (display-buffer-same-window, display-buffer-same-frame)
107 (display-buffer-other-window)
108 (display-buffer-same-frame-other-window)
109 (pop-to-buffer-same-frame)
110 (pop-to-buffer-same-frame-other-window): Make these interactive.
111 (display-buffer-alist-add, display-buffer-alist-set): New
114 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
116 * help-fns.el (describe-function-1): Don't signal an error just because
117 the DOC file disappeared.
119 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
121 * eshell/esh-ext.el (eshell-external-command): Do not restrict
122 remote check to "ftp". (Bug#8089)
124 2011-02-21 Alan Mackenzie <acm@muc.de>
127 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
128 in macros finding their way into c-state-nonlit-pos-cache.
129 Strengthen the comments.
130 (c-state-dump): New commented out diagnostic routine.
132 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
134 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
135 `field' property of `rfn-eshadow-overlay'.
137 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
139 * net/netrc.el (netrc-parse): Comment fix.
141 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
143 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
144 Autoload. Add optional arg FRAME, and pass it to color-values.
145 (color-complement): Caller changed. Doc fix.
146 (color-gradient): Rewrite for better clarity and efficiency.
148 * faces.el (color-values): Use cond for clarity. Doc fix.
150 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
152 (list-colors-sort-key, list-colors-print):
153 Use color-normalized-values.
155 2011-02-20 Drew Adams <drew.adams@oracle.com>
157 * color.el: First part of merge from hexrgb.el.
158 (color-rgb-to-hex): Rename from color-rgb->hex.
159 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
160 saturation to zero if the value is too small.
161 (color-rgb-to-hsl): Rename from color-rgb->hsl.
162 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
163 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
164 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
165 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
166 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
167 (color-cie-de2000): Doc fix.
169 2011-02-20 Alan Mackenzie <acm@muc.de>
171 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
172 locating the beginning of a macro. (Bug#7595)
174 2011-02-20 Glenn Morris <rgm@gnu.org>
176 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
179 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
180 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
182 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
183 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
185 * progmodes/hideshow.el (hs-find-block-beginning)
186 (hs-hide-level-recursive): Ignore comments when parsing braces
189 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
191 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
192 (vc-bzr-pull): Use it.
194 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
196 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
197 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
198 but returning an alist. Ignore comments in bzr conffile.
199 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
200 (vc-bzr-error-regex-alist): New var.
201 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
203 * vc/vc-dispatcher.el (vc-do-async-command):
204 Bind inhibit-read-only to t.
206 * progmodes/compile.el (compilation--flush-directory-cache):
207 Handle the case where cdr of compilation--flush-directory-cache
208 points to no buffer, which can occur if we previously switched to
209 compilation-mode in a pregenerated buffer.
211 2011-02-19 Kenichi Handa <handa@m17n.org>
213 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
214 get the header copy into the temporary buffer.
215 (rmail-mime-insert-decoded-text): Ignore us-ascii.
216 (rmail-show-mime): When rmail-mime-coding-system is nil, set
217 buffer-file-coding-system to undecided.
219 2011-02-19 Eli Zaretskii <eliz@gnu.org>
221 * international/mule-cmds.el (read-char-by-name, ucs-insert):
222 Document completion with asterisk and a substring.
224 2011-02-19 Glenn Morris <rgm@gnu.org>
226 * files.el (find-file-literally): Doc fix.
228 * simple.el (rfc822-goto-eoh): Give it a doc-string.
230 * log-edit.el (log-edit-insert-changelog):
231 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
233 2011-02-19 Glenn Morris <rgm@gnu.org>
235 * dired-x.el: Don't require dired-aux.
236 (dired-do-create-files, dired-mark-read-regexp)
237 (dired-do-create-files-regexp): Autoload from dired-aux.
239 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
240 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
242 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
243 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
245 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
246 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
247 (dired-clean-up-buffers-too): Declare.
249 * dired-x.el (dired-initial-position): Merge into dired.el's version.
250 * dired.el (dired-initial-position): Merge dired-x's version here.
251 (dired-find-subdir): Declare.
253 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
254 * dired-aux.el (dired-add-entry): Give it a doc-string.
255 Merge dired-x's dired-omit handling here.
256 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
258 * international/mule-diag.el (list-input-methods-1):
259 Indent all lines of multi-line doc-strings. (Bug#8066)
261 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
263 Fix 2011-02-02 changes.
265 * apropos.el (apropos-print): Call apropos-mode before setting up
266 buffer variables. Use inhibit-read-only.
268 * emacs-lisp/package.el (package--list-packages):
269 Call package-menu-mode before setting up buffer variables.
271 * play/solitaire.el (solitaire): Call solitaire-mode before
272 setting up buffer variables. Use inhibit-read-only.
274 2011-02-18 Lawrence Mitchell <wence@gmx.li>
276 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
277 Bind case-fold-search to nil when looking for end of here-doc.
279 2011-02-18 Eli Zaretskii <eliz@gnu.org>
281 * image-mode.el (image-toggle-display-image):
282 Set find-file-literally non-nil in buffers visiting binary image
285 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
287 * files.el (cd): Make completion obey cd-path (bug#7924).
289 2011-02-18 Glenn Morris <rgm@gnu.org>
291 * progmodes/prolog.el: Don't require compile when compiling.
292 (compilation-shell-minor-mode, compilation-error-regexp-alist)
293 (compilation-forget-errors, compilation-fake-loc)
294 (compilation-parse-errors-function, compilation-error-list): Declare.
295 (prolog-inferior-mode): Require 'compile.
297 * emulation/cua-base.el (pc-selection-mode): Declare.
299 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
300 (customize-object): Add autoload cookie.
301 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
302 (eieio-browse, describe-class, eieio-describe-class)
303 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
304 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
305 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
306 * Makefile.in (autoloads): Make eieio.el writable.
308 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
309 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
310 (dired-hack-local-variables): Use inhibit-read-only.
311 (dired-guess-default): Simplify.
312 (dired-make-relative-symlink): Use dotimes.
313 (dired-simultaneous-find-file): Use dolist.
314 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
315 (dired-x-hands-off-my-keys): Doc fix.
316 (dired-x-bind-find-file): Doc fix. Use remapping.
317 (after-init-hook): No need to add dired-x-bind-find-file.
318 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
319 No need to call expand-file-name.
320 (dired-filename-at-point): Remove unused locals `end', `filename'.
322 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
324 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
326 2011-02-18 Christian Ohler <ohler@gnu.org>
328 * emacs-lisp/ert.el (ert--setup-results-buffer)
329 (ert-results-pop-to-backtrace-for-test-at-point)
330 (ert-results-pop-to-messages-for-test-at-point)
331 (ert-results-pop-to-should-forms-for-test-at-point)
332 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
333 were incorrect and unnecessary. This should make `make check'
336 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
338 * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
339 (allout-widgets-icons-dark-subdir): Track relocations of icons
340 * lisp/allout.el: Remove commentary about remove encryption
341 passphrase mnemonic support and verification.
342 (allout-encrypt-string): (allout-encrypt-string): Recognize epg
343 failure to decrypt gpg2 armored text using gpg1, and indicate that
344 the gpg version *might* be the problem in the error message.
346 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
348 * net/rcirc.el (rcirc-float-time): New function.
349 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
350 (rcirc-ctcp-sender-PING): Use it.
352 2011-02-17 Glenn Morris <rgm@gnu.org>
354 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
355 (speedbar-update-flag, speedbar-fetch-etags-command)
356 (speedbar-fetch-etags-arguments):
357 * term.el (term-buffer-maximum-size, term-input-chunk-size)
358 (term-completion-autolist, term-completion-addsuffix)
359 (term-completion-recexact, term-completion-fignore):
360 * term/sup-mouse.el (sup-mouse-fast-select-window):
361 * term/x-win.el (x-select-request-type):
362 Convert some defvars with "*" to defcustoms.
364 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
366 * vc/vc.el (vc-default-previous-version):
367 Remove alias that points nowhere. (Bug#4496)
369 * dired-x.el (dired-clean-up-after-deletion):
370 kill-buffer does not need save-excursion.
371 (dired-do-run-mail): Doc fix.
372 (dired-filename-at-point): Doc fix.
373 Use looking-at, and skip-chars rather than re search.
375 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
377 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
379 * allout-widgets.el: New allout extension that shows allout
380 outline structure with graphical widgets. 'allout-widgets'
381 customize group is an 'allout' subgroup, for easy discovery.
383 * allout.el: Include PGP and GnuPG in Keywords, and other
384 commentary refinements.
385 (allout-abbreviate-flattened-numbering): Rename to
386 allout-flattened-numbering-abbreviation, and
387 define-obsolete-variable-alias the old name.
388 (allout-flattened-numbering-abbreviation): Rename from
389 allout-abbreviate-flattened-numbering.
390 (allout-mode-p): Include among autoloads, for use by other modes
392 (allout-listify-exposed):
393 Use allout-flattened-numbering-abbreviation.
394 (allout-encrypt-string): Use set-buffer-multibyte directly.
395 (allout-set-buffer-multibyte): Remove.
397 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
399 * simple.el (just-one-space): Remove useless `or' call.
401 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
403 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
404 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
405 (soap-decoded-multi-refs, soap-current-wsdl)
406 (soap-encoded-namespaces): Rename CL-style *...* variables.
408 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
410 * net/soap-client.el: Add "comm" and "hypermedia" to the
411 keywords. Reflow too long lines.
413 * net/soap-inspect.el: Ditto. Require 'cl.
415 2011-02-16 Bastien Guerry <bzg@altern.org>
417 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
418 in a `doctor-type' argument.
420 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
422 * net/soap-client.el:
423 * net/soap-inspect.el: New files.
425 2011-02-16 Leo <sdl.web@gmail.com>
427 * dired-x.el (dired-mode-map, dired-extra-startup):
428 Remove dired-copy-filename-as-kill since it's already in dired.el.
430 2011-02-16 Glenn Morris <rgm@gnu.org>
432 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
433 Doc fixes. Add :set property, replacing top-level calls.
434 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
435 (dired-guess-shell-gnutar): Test tar version rather than system-type.
436 (dired-extra-startup, dired-man, dired-info): Doc fixes.
437 (dired-clean-up-after-deletion): Use when and dolist.
438 (dired-jump): Use unless and when.
439 (dired-virtual): Use line-end-position.
440 (dired-default-directory-alist): Rename from default-directory-alist.
441 (dired-default-directory): Update for above name change.
442 (dired-vm): Drop VM < 5 and simplify.
443 (dired-buffer-more-recently-used-p): Rewrite.
444 (dired-filename-at-point): Use when and or.
445 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
448 2011-02-15 Glenn Morris <rgm@gnu.org>
450 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
452 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
454 * vc/vc-git.el (vc-git-root-log-format): New option for
455 customizing log format.
456 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
457 (vc-git-log-view-mode): Use it.
458 (vc-git-expanded-log-entry): New function.
459 (vc-git-log-view-mode): Use it. Truncate lines in root log.
461 * vc/vc-hg.el (vc-hg-root-log-template): New option for
462 customizing log format.
463 (vc-hg-print-log): Use it.
464 (vc-hg-expanded-log-entry): New function.
465 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
466 vc-hg-expanded-log-entry. Truncate lines in root log.
468 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
470 * vc/log-view.el (log-view-mode-menu):
471 Add log-view-toggle-entry-display.
473 2011-02-14 Glenn Morris <rgm@gnu.org>
475 * dired-x.el: Don't require man when compiling.
476 (dired-omit-extensions, dired-local-variables-file)
477 (dired-x-hands-off-my-keys): Make them defcustoms.
478 (Man-support-local-filenames, Man-getpage-in-background): Declare.
479 (vm-visit-folder): Declare rather than defining.
480 (dired-x-help-address, dired-x-variable-list): Remove.
481 (dired-x-submit-report): Make it an obsolete alias.
483 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
485 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
487 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
489 * net/imap.el: Bring it back.
491 2011-02-13 Alan Mackenzie <acm@muc.de>
493 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
494 narrow-to-region call that cuts context off the end (Bug#7722).
496 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
497 Refactor nested if-forms with a simple cond.
498 (c-forward-<>-arglist): Revert 2011-01-31 change.
500 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
502 * vc/log-view.el: New command log-view-toggle-entry-display for
503 toggling log entries between concise and detailed forms.
504 (log-view-toggle-entry-display): New command.
505 (log-view-mode-map): Bind RET to it.
506 (log-view-expanded-log-entry-function): New variable.
507 (log-view-current-entry, log-view-inside-comment-p)
508 (log-view-current-tag): New functions.
509 (log-view-toggle-mark-entry): Use log-view-current-entry and
510 log-view-end-of-defun instead of searching directly with
512 (log-view-end-of-defun): Likewise. Add optional ARG for
513 compatibility with end-of-defun.
514 (log-view-end-of-defun): Ignore comments and VC buttons.
516 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
517 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
519 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
521 * net/imap.el: Remove file. All the functionality is in nnimap.el.
523 * net/imap-hash.el: Remove file.
525 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
527 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
529 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
532 * net/tramp-imap.el: Remove file.
534 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
536 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
537 widget library for buttons, just use button.el.
539 * vc/log-view.el (log-view-mode-map): Don't inherit from
542 2011-02-12 Glenn Morris <rgm@gnu.org>
544 * emacs-lisp/cl-seq.el (union, nunion, intersection)
545 (nintersection, set-difference, nset-difference)
546 (set-exclusive-or, nset-exclusive-or): Doc fix.
548 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
550 * faces.el (face-attr-match-p): Handle the obsolete :bold and
551 :italic props, so that frame-set-background-mode works. (Bug#7966)
553 * simple.el (next-error): Doc fix.
555 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
557 * dired-aux.el (dired-create-files): Adapt destination name to
558 match the new behavior of copy-directory.
560 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
562 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
563 from rmail-dont-reply-to-names. Callers changed.
564 (mail-dont-reply-to): Rename from mail-dont-reply-to.
565 (rmail-dont-reply-to): Make it an obsolete alias.
567 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
568 nil, and make obsolete (Bug#7888).
569 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
571 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
573 * mail/rmailsort.el (rmail-sort-by-correspondent)
574 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
576 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
578 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
580 * files.el (copy-directory): New argument COPY-CONTENTS for
581 copying directory contents into another existing directory.
583 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
585 * minibuffer.el (completion-table-case-fold): New function for
586 creating a case-insensitive completion table.
588 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
590 * net/tramp.el (tramp-default-method): Also check if
591 `auth-source-search' is bound.
592 (tramp-read-passwd): Use `auth-source-search' instead of
593 `auto-source-user-or-password'.
595 * net/tramp-imap.el: Autoload `auto-source-search' instead of
596 `auto-source-user-or-password.
597 (tramp-imap-passphrase-callback-function): Use it.
599 * net/imap-hash.el: Autoload `auto-source-search' instead of
600 `auto-source-user-or-password.
601 (imap-hash-open-connection): Use it.
603 * mail/smtpmail.el: Autoload `auto-source-search' instead of
604 `auto-source-user-or-password.
605 (smtpmail-try-auth-methods): Use it.
607 2011-02-12 Phil Hagelberg <phil@hagelb.org>
609 * emacs-lisp/package.el: Allow packages to be reinstalled.
610 (package--write-file-no-coding): Remove EXCL arg.
611 (package-unpack-single): Don't use it.
613 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
615 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
616 in each sub directory.
617 (vc-svn-registered): Use vc-svn-root.
618 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
619 (vc-svn-repository-hostname): Use "svn info".
621 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
623 * simple.el (delete-trailing-whitespace): New optional buffer
626 2011-02-11 Bastien Guerry <bzg@altern.org>
628 * files.el (basic-save-buffer): save unmodified buffers when
629 the file pointed by buffer-file-name doesn't exist.
631 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
633 * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
635 2011-02-11 Glenn Morris <rgm@gnu.org>
637 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
639 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
641 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
643 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
645 * server.el (server-process-filter): Use pcase.
647 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
649 (smie-indent--parent): Extend to "parent of arg".
650 (smie-indent-inside-string): New function.
651 (smie-indent-functions): Use it.
653 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
654 bzr locking race condition.
656 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
657 still valid before using it.
659 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
660 `message' -> `compilation-message' rename (bug#8004).
662 Move keymap initialization into declaration.
663 * textmodes/enriched.el (enriched-mode-map):
664 * textmodes/bib-mode.el (bib-mode-map):
665 * term/lk201.el (lk201-function-map):
666 * tar-mode.el (tar-mode-map):
667 * replace.el (occur-mode-map):
668 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
669 * progmodes/idlw-help.el (idlwave-help-mode-map):
670 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
671 * play/solitaire.el (solitaire-mode-map):
672 * play/snake.el (snake-mode-map, snake-null-map):
673 * play/pong.el (pong-mode-map):
674 * play/handwrite.el (menu-bar-handwrite-map):
675 * play/gametree.el (gametree-mode-map):
676 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
677 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
678 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
679 (newsticker--url-keymap):
680 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
681 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
682 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
683 (menu-bar-edit-menu, menu-bar-custom-menu)
684 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
685 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
686 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
687 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
688 (menu-bar-tools-menu, menu-bar-describe-menu)
689 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
690 (menu-bar-help-menu):
691 * mail/rmailsum.el (rmail-summary-mode-map):
692 * kmacro.el (kmacro-step-edit-map):
693 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
694 (ibuffer-mode-operate-map):
695 * hi-lock.el (hi-lock-menu, hi-lock-map):
696 * emulation/vip.el (vip-mode-map):
697 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
698 * bookmark.el (bookmark-bmenu-mode-map):
699 * help-mode.el (help-mode-map): Move initialization into declaration.
701 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
703 * net/rcirc.el: Add PRIVMSG and CTCP functions.
704 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
705 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
706 (rcirc-cmd-me, rcirc-authenticate): Use them.
708 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
710 * allout.el: Synopsis: Change allout user configuration so
711 auto-activation is controlled solely by customization
712 `allout-auto-activation'.
714 (allout-auto-activation-helper) (allout-setup): New autoloads
715 implement new custom set procedure for allout-auto-activation.
716 Also, explicitly invoke
717 (allout-setup) after allout-auto-activation is custom-defined, to
718 effect the settings in emacs sessions besides the few where
719 allout-auto-activation customization is donea.
720 (allout-auto-activation): Use allout-auto-activation-helper to
721 :set. Revise the docstring.
722 (allout-init): Reduce functionality to just customizing
723 allout-auto-activation, and mark obsolete.
724 (allout-mode): Respect string values for allout-auto-activation.
725 Run allout-after-copy-or-kill-hook without any args.
726 (allout-mode) (allout-layout) (allout-default-layout)
727 (outlineify-sticky): Adjust docstring for new scheme.
728 (allout-after-copy-or-kill-hook): No arguments - hook implementers
729 should concentrate on the kill ring.
731 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
733 * password-cache.el (password-cache-remove): Accept secrets that are
736 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
738 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
739 of here-doc that immediately follows a comment.
741 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
743 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
745 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
747 (rcirc-ctcp-sender-PING): New function.
749 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
751 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
752 Remove the mark/nomark handling, and activate shift-select-mode instead.
754 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
756 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
758 * calc/calc-units.el (math-logunits-quant): Add support for
759 non-logarithmic units.
761 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
763 * allout.el (allout-after-copy-or-kill-hook): New hook for
764 extension-specific processing of killed text.
765 (allout-mode): Include new allout-after-copy-or-kill-hook among
767 (allout-kill-line) (allout-kill-topic): Ensure that processing
768 after kill happens even if barf-if-buffer-read-only is raised.
769 Include new allout-after-copy-or-kill-hook among that subsequent
771 (allout-deannotate-hidden): Actually remove the annotation text
774 * allout.el (allout-listify-exposed): Copy text sans text properties.
776 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
778 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
780 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
782 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
784 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
786 * calc/calc.el (calc-logunits-field-reference): Rename from
787 `calc-default-field-reference-level'.
788 (calc-logunits-power-reference): Rename from
789 `calc-default-power-reference-level'
791 * calc/calc-units.el (math-logunits-quant): Rename from
792 `math-logunits-level'
793 (math-logunits-plus): Rename from math-logcombine.
794 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
795 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
796 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
798 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
799 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
800 (calc-logunits-quantity): Rename from `calc-level'.
801 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
802 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
803 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
804 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
805 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
808 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
809 (calc-ul-prefix-help): Remove.
810 (calc-l-prefix-help): New function.
811 (calc-full-help): Add reference to `calc-l-prefix-help'.
813 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
815 * calc/README: Mention logarithmic units.
817 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
819 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
820 non-ASCII characters (Bug#7925).
822 2011-02-05 Glenn Morris <rgm@gnu.org>
824 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
826 * calendar/diary-lib.el (diary-font-lock-keywords):
827 Tweak diary-time-regexp match. (Bug#7891)
829 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
830 (f90-mode): Use it for mode's `find-tag-default-function' property.
832 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
834 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
836 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
838 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
841 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
843 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
844 font-lock-syntax-table remappings.
845 (sh-here-doc-markers, sh-here-doc-re): Remove.
846 (sh-font-lock-close-heredoc): Remove.
847 (sh-syntax-propertize-here-doc): New function.
848 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
849 instead of the sh-here-doc-re.
850 (sh-font-lock-paren): Don't do anything in comments or strings.
851 Handle line continuations. Accept a few more chars.
852 Don't rely on the font-lock-syntax-table remappings.
853 `esac' is not a valid pattern.
854 (sh-syntax-propertize-function): Handle here-docs differently, so we
855 don't bother syntax-propertizing the insides.
857 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
858 Handle new bashisms ";&" and ";;&" (bug#7947).
860 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
862 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
863 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
865 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
867 * net/tramp.el (tramp-postfix-method-format)
868 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
869 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
870 (tramp-postfix-user-regexp, tramp-prefix-port-format)
871 (tramp-prefix-port-regexp, tramp-postfix-host-format)
872 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
875 2011-02-04 Sam Steingold <sds@gnu.org>
877 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
879 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
881 * international/mule-util.el (with-coding-priority): Doc fix.
883 2011-02-04 Eli Zaretskii <eliz@gnu.org>
885 * arc-mode.el (archive-mode-map): Fix a typo in last change.
887 2011-02-03 Sam Steingold <sds@gnu.org>
889 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
890 Do not error out when `func' is nil.
892 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
894 * net/tramp-sh.el (tramp-remote-path): Add default settings for
895 `tramp-default-remote-path' to the docstring.
896 (tramp-get-remote-path): Suppress error message when `getconf
899 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
901 2011-02-03 Glenn Morris <rgm@gnu.org>
903 * vc/vc-hg.el (vc-hg-command): Doc fix.
905 * term/w32-win.el (libpng-version): Declare for compiler.
907 * msb.el: No need to load dired while compiling.
909 * emacs-lisp/elint.el (elint-standard-variables):
910 Remove a couple of built-ins that now have doc-strings.
912 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
913 `require' is automatically `eval-and-compile'd.
915 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
916 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
918 * strokes.el (strokes-fill-current-buffer-with-whitespace):
919 Move definition before use.
920 (strokes-report-bug): Make it obsolete.
922 2011-02-02 Sam Steingold <sds@gnu.org>
924 * apropos.el (apropos-print): Now that `apropos-mode' inherits
925 from `special-mode', entering it makes the buffer read-only, so
926 call it only when everything has been already inserted.
927 * emacs-lisp/ert.el (ert--setup-results-buffer)
928 (ert-results-pop-to-backtrace-for-test-at-point)
929 (ert-results-pop-to-messages-for-test-at-point)
930 (ert-results-pop-to-timings): Ditto.
931 * emacs-lisp/package.el (package--list-packages): Ditto.
932 * play/solitaire.el (solitaire): Ditto.
934 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
936 * progmodes/compile.el: Make all faces inherit.
937 (compilation-warning): Inherit from font-lock-variable-name-face.
938 (compilation-info): Inherit from font-lock-type-face.
939 (compilation-line-number): Reassign to font-lock-keyword-face.
940 (compilation-column-number): Reassign to font-lock-doc-face.
941 (compilation-leave-directory-face): Reassign to
942 font-lock-builtin-face.
944 2011-02-02 Eli Zaretskii <eliz@gnu.org>
946 * dired.el (dired-insert-directory): Don't invoke `ls' when
947 ls-lisp.el is used to emulate it.
949 2011-02-01 Julien Danjou <julien@danjou.info>
951 * color.el (color-gradient): Add a color-gradient function.
953 2011-02-01 Sam Steingold <sds@gnu.org>
955 * simple.el (special-mode-map): Bind "h" to `describe-mode';
956 bind "z" to `kill-this-buffer'.
957 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
958 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
959 (apropos-mode): Inherit from `special-mode'.
960 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
961 * bookmark.el (bookmark-bmenu-mode): Define using
962 `define-derived-mode' inheriting from `special-mode'.
963 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
964 * image-mode.el (image-mode-map): Ditto.
965 * replace.el (occur-mode): Define using
966 `define-derived-mode' inheriting from `special-mode'.
967 * tar-mode.el (tar-mode): Inherit from `special-mode'.
968 * calendar/diary-lib.el (diary-fancy-display-mode):
969 Inherit from `special-mode-map'.
970 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
971 Inherit from `special-mode'.
972 * emacs-lisp/package.el (package-menu-mode-map): Copy from
974 (package-menu-mode): Define using `define-derived-mode'
975 inheriting from `special-mode'.
976 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
977 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
978 (xesam-mode-map): Define separately.
979 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
980 * progmodes/compile.el (compilation-minor-mode-map)
981 (compilation-mode-map): Inherit from `special-mode-map'.
982 * vc/diff-mode.el (diff-mode-shared-map):
983 Inherit from `special-mode-map'.
984 * vc/log-view.el (log-view-mode-map): Add a comment.
986 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
988 * custom.el (load-theme): Define return value. Drop use of
989 unsafep; call custom-theme-load-confirm for non-known-safe themes.
990 (custom-theme-load-confirm): Scroll in the correct window.
991 (custom-enabled-themes): Add custom-safe-themes to :set-after.
993 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
994 checkbox if load-theme fails.
996 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
998 * progmodes/compile.el (compilation-next-error): Check there's
999 a message before using it (bug#7941).
1001 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1003 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1004 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1005 of potential pivots.
1007 2011-01-31 Alan Mackenzie <acm@muc.de>
1009 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1010 Continue parsing if we encounter a naked # (Bug#7595).
1011 (c-beginning-of-statement): Avoid loop in locating the beginning
1012 of a macro. (Not actually committed until 2011-02-20, see above).
1014 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1016 * files.el (copy-directory): Fix arguments to recursive call.
1018 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1020 * files.el (copy-directory): If destination is an existing
1021 directory, copy into a subdirectory there.
1023 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1025 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1028 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1030 * image-dired.el (image-dired-mouse-display-image): No-op if no
1031 file is found (Bug#7817).
1033 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1035 2011-01-31 Kenichi Handa <handa@m17n.org>
1037 * international/quail.el (quail-keyboard-layout-alist):
1038 Remove superfluous SPC for "pc105-uk" (bug#7927).
1040 2011-01-31 Glenn Morris <rgm@gnu.org>
1042 * msb.el (msb-menu-bar-update-buffers): Update for changed
1043 argument handling of menu-bar-select-frame. (Bug#7902)
1045 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1047 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1048 to the recursion depth (Bug#7722).
1050 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1052 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1053 command-line-default-directory (Bug#7872).
1055 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1057 * progmodes/compile.el (compilation--flush-directory-cache):
1058 New function, extracted from compilation--remove-properties.
1059 (compilation--remove-properties, compilation--parse-region): Use it.
1060 (compilation--previous-directory): Handle one more case.
1061 (compilation-enable-debug-messages): Remove.
1062 (compilation-parse-errors, compilation--flush-parse): Just remove the
1063 left over debug messages.
1065 2011-01-31 Sam Steingold <sds@gnu.org>
1067 * progmodes/compile.el (compilation-enable-debug-messages):
1068 Add a variable to make the parsing messages introduced in
1069 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1070 (compilation-parse-errors, compilation--flush-parse): Use it.
1072 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1074 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1075 (rcirc-nick-completion-format): New defcustom.
1076 (rcirc-complete): Use it.
1078 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1080 * net/rcirc.el: Clean log filenames (Bug#7933).
1081 (rcirc-log-write): Use convert-standard-filename.
1082 (rcirc-log-filename-function): Documentation updates.
1084 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1086 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1087 Check report-emacs-bug-can-use-osx-open and use that if t.
1088 (report-emacs-bug-can-use-osx-open): New function.
1089 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1090 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1092 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1094 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1095 updating Dired or VC-dir buffers after async command completes.
1097 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1098 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1100 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1101 completions if it exists. Use vc-set-async-update.
1102 (vc-git-pull): Use vc-set-async-update.
1104 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1105 read-shell-command. Use vc-set-async-update.
1106 (vc-hg-merge-branch): Use vc-set-async-update.
1108 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1110 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1111 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1114 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1116 * progmodes/compile.el: Avoid an N² behavior in grep.
1117 (compilation--previous-directory): New fun.
1118 (compilation--previous-directory-cache): New var.
1119 (compilation--remove-properties): Flush it.
1120 (compilation-directory-properties, compilation-error-properties):
1121 Use the new fun to speed up looking for the current directory.
1123 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1125 * vc/vc-hg.el (vc-hg-history): New var.
1126 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1127 (vc-hg-merge-branch): New function.
1129 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1130 the other way around.
1132 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1133 (vc-git-merge-branch): New functions.
1134 (vc-git-history): New var.
1136 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1138 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1140 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1141 vc-do-async-command.
1143 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1146 2011-01-28 Leo <sdl.web@gmail.com>
1148 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1149 highlighting to the "this function is advised" message.
1151 * help-mode.el (help-mode-finish): Apply highlighting here, to
1152 avoid clobbering by substitute-command-keys (Bug#6304).
1154 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1156 * woman.el (woman0-roff-buffer): Process roff escape sequences
1157 occurring prior to the first request (Bug#7843).
1159 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1161 * progmodes/compile.el: Don't use font-lock any more.
1162 (compilation-error-regexp-alist-alist): Change handling of makepp
1163 so it preserves the warning/error distinction on subsequent files.
1164 Simplify various rules.
1165 (compilation-directory-properties): Use font-lock-face.
1166 Add a compilation-message property.
1167 (compilation-internal-error-properties): Use font-lock-face.
1168 Don't set the compilation-debug property here.
1169 (compilation--put-prop, compilation--remove-properties)
1170 (compilation--parse-region, compilation--ensure-parse)
1171 (compilation--ensure-parse): New functions.
1172 (compilation-parse-errors): New function, largely inspired of
1173 compilation-mode-font-lock-keywords. Set compilation-debug here.
1174 (compilation--parsed): New var.
1175 (compilation--flush-parse): Use compilation--ensure-parse.
1176 (compilation-start): Don't call font-lock.
1177 (compilation-turn-on-font-lock): Remove.
1178 (compilation-setup): Don't set font-lock-extra-managed-props not change
1179 other font-lock settings, other than keywords.
1180 Don't activate font-lock-mode.
1181 Set change-major-mode-hook and before-change-functions.
1182 (compilation--unsetup): Remove properties and hooks.
1183 (compilation-next-single-property-change): New function.
1184 (compilation-next-error): Use it to parse when needed.
1185 (compile-goto-error): Parse buffer as needed.
1186 (compilation--compat-error-properties): Don't need a dummy `face'
1189 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1191 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1192 (compilation-process-setup-function): Fix docstring's false promises.
1193 (compilation-error-regexp-alist-alist): Catch omake's continuous
1194 recompilation message and avoid reuse of old markers.
1195 (compilation-parse-errors-function): Declare obsolete.
1196 (compilation-buffer-modtime): Remove.
1197 (compilation--make-cdrloc, compilation--loc->col)
1198 (compilation--loc->line, compilation--loc->file-struct)
1199 (compilation--loc->marker, compilation--loc->visited)
1200 (compilation--make-file-struct, compilation--file-struct->file-spec)
1201 (compilation--file-struct->formats)
1202 (compilation--file-struct->loc-tree): New macros. Use them.
1203 (compilation--message): New defstruct. Use them.
1204 (compilation-next-error-function): Don't mess with timestamps to try
1205 and guess when to reparse.
1207 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1209 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1210 (tex-old-error-file-name): New function,
1211 extracted from tex-compilation-parse-errors.
1212 (tex-compilation-parse-errors): Remove.
1213 (tex-error-regexp-alist): New var.
1214 (tex-shell): Use it to avoid compilation-parse-errors-function.
1216 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1217 (grep-mode-font-lock-keywords): Remove regexp that seems like
1218 a left-over from before we used compile.el.
1219 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1220 modifying the buffer within with-silent-modifications.
1222 * progmodes/compile.el: Cleanup text-properties namespace by using
1223 `compilation-message' instead of `message', `compilation-directory'
1224 instead of `directory', and `compilation-debug' instead of `debug'.
1225 (compilation-last-buffer, compilation-parsing-end)
1226 (compilation-error-list, compilation-old-error-list): Move to the
1227 compatibility part of the code.
1228 (compilation-error-properties): If `file' is a function, let it return
1230 (compilation-mode-font-lock-keywords): Be more conservative with the
1231 omake "^ *" pattern prefix, to try and minimize the risk of
1232 pathologically slow regexp matching.
1233 (compilation-start): Use inhibit-read-only.
1234 (compilation--unsetup): New function.
1235 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1236 (compilation-filter): Minor tweaks.
1237 (compilation-next-error-function): Try and avoid abusing variables.
1238 (compilation--flush-file-structure): New fun.
1239 (compilation-fake-loc): Use it to improve behavior when file is reused.
1240 (debug-ignored-errors): Add "Moved past last ...".
1241 (compilation--compat-error-properties)
1242 (compilation--compat-parse-errors): Rename by doubling the "-".
1244 Port features from the previous prolog.el to the new one.
1245 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1246 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1247 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1248 variable and use a function to compute the value dynamically.
1249 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1250 (prolog-continued-prompt-regexp): Remove, unused.
1251 (prolog-find-value-by-system): Try and use the value of prolog-system
1252 in the *prolog* buffer if it helps.
1253 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1254 (prolog-zip-on): ..and check prolog-system and version here instead.
1255 (prolog-inferior-self-insert-command): New command.
1256 (prolog-inferior-mode-map): Use it.
1257 (prolog-inferior-error-regexp-alist): New var.
1258 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1259 (prolog-input-filter): Use derived-mode-p.
1260 (prolog-inferior-guess-flavor): New function.
1261 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1262 make-comint to avoid running comint-mode twice.
1263 (prolog-inferior-buffer): New fun.
1264 (prolog-old-process-region, prolog-old-process-file):
1265 Don't call prolog-bsts here...
1266 (prolog-build-prolog-command): ...do it here instead.
1267 (prolog-old-process-region, prolog-old-process-file):
1268 Use compilation-fake-loc and compilation-forget-errors.
1269 (prolog-consult-compile-region): Use bolp.
1271 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1273 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1275 2011-01-27 Sam Steingold <sds@gnu.org>
1277 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1278 Remove "*server*" which is never created by emacs server.
1280 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1282 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1283 there are some diff switches.
1285 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1287 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1288 Copy change made to ruby-font-lock-syntactic-keywords.
1290 * htmlfontify.el: Make it obey the font-lock-face text property.
1291 Miscellaneous cleanup such as:
1292 - Don't hide expressions after a closing paren.
1293 - Move initial setq into let.
1294 - Hoist common parts out of ifs.
1295 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1296 (hfy-face-at): Use get-text-property instead.
1297 (hfy-prop-invisible-p): Use invisible-p if available.
1298 (htmlfontify-manual): Use \\[...].
1299 (hfy-html-quote-regex): Use [...].
1300 (hfy-combined-face-spec): Simplify.
1301 (hfy-compile-face-map): Don't presume point-min==1.
1302 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1303 match end of string.
1304 (hfy-text-p): η-reduce.
1305 (hfy-tags-for-file): Receive cache-hash directly.
1306 (hfy-mark-tag-names): Adjust call.
1308 2011-01-27 Glenn Morris <rgm@gnu.org>
1310 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1311 (msb-after-load-hook): Remove eval-after-load wackiness.
1313 2011-01-25 Sam Steingold <sds@gnu.org>
1315 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1316 literal "diff" (important for windows-nt).
1318 2011-01-25 Glenn Morris <rgm@gnu.org>
1320 * emacs-lisp/copyright.el (copyright-at-end-flag)
1321 (copyright-names-regexp): Add safety properties.
1322 (copyright-year-ranges): New option.
1323 (copyright-find-end): New function, split from copyright-update-year.
1324 (copyright-update-year): Use copyright-find-end.
1325 (copyright-fix-years): Optionally, convert years to ranges.
1326 Handle years continued over comment lines.
1327 Do not mess with the fill-prefix.
1328 Do not call copyright-update.
1329 (copyright-update-directory): Optionally, fix years rather than update.
1330 Skip directories. Find files with only safe local vars.
1332 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1334 * files.el (file-name-non-special): Only change buffer-file-name after
1335 insert-file-contents if it's `visit'ing the file (bug#7854).
1337 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1339 * dired.el (dired-revert): Doc fix (Bug#7758).
1341 * simple.el (line-move-visual): Doc fix (Bug#7594).
1343 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1345 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1346 here-doc which ends with an underscore.
1347 (ruby-mode-set-encoding): Skip shebang line always.
1348 (ruby-mode-map): Bind C-c C-c to comment-region.
1349 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1350 (ruby-forward-sexp): Stop after literal hash key labels.
1351 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1354 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1356 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1357 the correct buffer (Bug#7650).
1359 2011-01-25 Glenn Morris <rgm@gnu.org>
1361 * comint.el (comint-mode): Doc fix. (Bug#7897)
1363 * simple.el (do-auto-fill): Give it a doc string.
1365 * button.el (make-text-button): Doc fix. (See bug#7881)
1367 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1369 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1370 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1372 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1373 Handle ?" and friends differently (e.g. don't use backrefs).
1375 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1377 * calc/calc.el (calc-default-power-reference-level)
1378 (calc-default-field-reference-level): New variables.
1379 * calc/calc-units.el (math-standard-units): Add dB and Np.
1380 (math-logunits): New variable.
1381 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1382 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1383 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1385 (math-find-base-units-rec): Add entry for ln(10).
1386 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1387 (calc-ul-prefix-help): New function.
1388 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1389 functions. Add keybindings for new units functions.
1391 2011-01-22 Martin Rudalics <rudalics@gmx.at>
1393 * window.el (display-buffer-pop-up-frame): Fix typo. Pass
1394 pop-up-frame-alist to pop-up-frame-function only if the latter
1397 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1399 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1400 rcirc buffers. (Bug#4940)
1402 2011-01-22 Glenn Morris <rgm@gnu.org>
1404 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1405 split out from copyright-update-year.
1406 (copyright-update): Don't mess with the GPL version if we don't own the
1407 copyright. Update license regexp, and remove no longer needed
1409 (copyright-fix-years): Use copyright-find-copyright.
1411 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1413 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1415 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1417 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1418 (lm): Rename to landmark.
1419 (lm-test-run): Rename to landmark-test-run.
1421 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1423 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1424 "Case sensitive" menu item.
1426 2011-01-22 Roland McGrath <roland@frob.com>
1428 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1429 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1431 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1433 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1435 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1437 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1438 Assume foo(bar) is a manpage reference rather than some unquoted
1441 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1443 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1444 Suggested by Flo <sensorflo@gmail.com>.
1446 2011-01-22 Glenn Morris <rgm@gnu.org>
1448 * progmodes/compile.el (compilation-error-regexp-alist):
1449 Fix custom type. (Bug#7812)
1451 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
1453 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1454 allout-number-siblings, in keeping with what obtained due to
1455 (now-defunct) allout-keybindings-list. Ditch repeat binding to
1457 (allout-before-change-handler): Better expose spots affected by
1460 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1462 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1464 2011-01-22 Phil Hagelberg <phil@evri.com>
1466 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1467 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1468 (pcmpl-ssh-config-hosts): New function.
1469 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1470 pcmpl-ssh-known-hosts.
1472 2011-01-21 Martin Rudalics <rudalics@gmx.at>
1474 * frame.el (pop-up-frame-alist, pop-up-frame-function)
1475 (special-display-frame-alist, special-display-popup-frame): Move
1478 * window.el (display-buffer-alist): Remove some specifiers from
1479 default value. Fix some typos.
1480 (pop-up-frame-alist, pop-up-frame-function)
1481 (special-display-frame-alist, special-display-popup-frame): Move
1482 here from frame.el. Disable byte compiler obsolete warnings.
1483 (special-display-p, same-window-p): Restore Emacs 23 definitions
1484 with obsolete warnings for byte compiler disabled.
1486 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1488 * calc/calc-undo.el (calc-undo): Autoload it.
1489 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1490 and autoload for `calc-undo'.
1491 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1492 * calc/calc-prog.el:
1493 * calc/calc-graph.el:
1494 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1496 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
1498 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1499 keybindings to `calc-undo'.
1501 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1503 Don't mess with *temp*.
1504 * obsolete/spell.el: Move from textmodes/spell.el.
1506 * term.el (term-read-input-ring):
1507 * startup.el (display-startup-echo-area-message):
1508 * progmodes/antlr-mode.el (antlr-directory-dependencies):
1509 * comint.el (comint-read-input-ring): Use with-temp-buffer.
1510 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1513 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
1515 * allout.el (allout-institute-keymap): Use fset instead of
1516 reapplying defalias.
1518 (allout-hotspot-key-handler): Check for non-control-modified
1519 bindings for hotspot characters if there are no control-modified
1522 * allout.el: Summary - migrate to defining allout mode using
1523 define-minor-mode instead of defun. Significantly clean-up
1524 internal keymap provisions, refactoring and, in the process,
1525 removing a lot of accumulated cruft.
1527 allout-mode-map is now a keymap by virtue of being a defalias to
1528 allout-mode-map-value, which contains the actual keymap structure.
1530 (allout-mode): Use define-minor-mode rather than defun.
1531 Remove now-unnecessary minor-mode setup activities from the body.
1532 Specify :keymap as allout-mode-map so the minor-mode-map-alist
1533 entry will be '(allout-mode . allout-mode-map) - see
1534 allout-mode-map-value, below. Adjust docstring to track changes.
1535 (allout-minor-mode): Remove this defalias, now that we're using
1537 (allout-mode-map): Set value to be 'allout-mode-map. The actual
1538 keymap is allout-mode-map-value, via defalias.
1539 (allout-mode-map-value): The variable holding the actual mode
1540 keymap structure, by virtue of defalias from allout-mode-map.
1541 (allout-compose-and-institute-keymap): Rename from
1542 allout-bind-keys, and including the binding-composition
1543 functionality of the former produce-allout-mode-map and
1544 allout-setup-mode-map.
1545 (allout-institute-keymap): Take over the "setup" part of the former
1546 allout-setup-mode-map. Reassign allout-mode-map-value value and
1547 update the defalias.
1548 (allout-command-prefix) (allout-prefixed-keybindings)
1549 (allout-unprefixed-keybindings):
1550 Use allout-compose-and-institute-keymap to process the bindings.
1551 (allout-unprefixed-keybindings): Remove extraneous '?' question
1553 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1554 user can customize if they want to use that binding.
1555 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1556 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
1557 elided that, previously, instead of the one for \C-h.)
1558 (allout-hotspot-key-handler): Remove attempt to resolve the key
1559 through the literal key-string lookup on allout-keybindings-list.
1560 That probably hasn't worked for a Long Time, and removal of
1561 allout-keybindings-list further simplifies the keybindings
1563 (allout-pre-command-business): Use allout-mode-map-value instead
1565 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1566 the bindings if they want to use a keybinding having a trailing
1567 \C-h. No deprecation needed since this feature was never in a
1569 (allout-keybindings-list): Remove. It's not been useful for a
1570 while. (See allout-hotspot-key-handler changes, above.)
1571 (produce-allout-mode-map): Remove. Consolidate into
1572 allout-compose-and-institute-keymap.
1573 (allout-mode-map-adjustments): Remove. No longer necessary with
1574 removal of allout-preempt-trailing-ctrl-h.
1575 (allout-setup-mode-map): Remove. Consolidate into
1576 allout-compose-and-institute-keymap and allout-institute-keymap.
1578 2011-01-20 Glenn Morris <rgm@gnu.org>
1580 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1582 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1584 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1586 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1588 * files.el (find-alternate-file, basic-save-buffer)
1589 (basic-save-buffer-2, revert-buffer, recover-file)
1590 (kill-buffer-ask, abort-if-file-too-large)
1591 (set-visited-file-name, write-file, backup-buffer)
1592 (basic-save-buffer, save-some-buffers):
1593 * dired-aux.el (dired-compress-file): Callers changed.
1595 2011-01-19 Martin Rudalics <rudalics@gmx.at>
1597 * window.el (delete-other-windows): Mention return value in
1599 (display-buffer-method-specifiers): Remove variable.
1600 (display-buffer-alist): Add fun-with-args specifier.
1601 (display-buffer-even-sizes): Simplify code.
1602 (display-buffer): Handle fun-with-args specifier.
1603 (mouse-autoselect-window-select): Replace condition-case by
1606 2011-01-19 Glenn Morris <rgm@gnu.org>
1608 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1609 Also check the property status. (Bug#7861)
1611 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1613 * net/tramp.el (tramp-debug-message): Extend function exclude
1614 list. Use `regexp-opt'.
1616 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1618 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1619 highlighting doesn't spill over subsequent lines.
1621 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1622 keymap expression. Improve docstring.
1624 * electric.el (electric-indent-post-self-insert-function):
1625 Don't auto-indent for indent-to-left-margin, it's too often
1628 2011-01-17 Martin Rudalics <rudalics@gmx.at>
1630 * window.el (display-buffer-even-sizes): Fix typo.
1632 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1634 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1635 spaces if the frame was resized, so that the full visible buffer
1636 serves as canvas for strokes.
1638 2011-01-16 Glenn Morris <rgm@gnu.org>
1640 * info-xref.el (info-xref-docstrings): Replace cl function.
1641 Also skip directories.
1643 2011-01-16 Kevin Ryde <user42@zip.com.au>
1645 * info-xref.el: Version 3.
1646 (info-xref-check, info-xref-check-all): Move commentary details
1647 into docstrings for better visibility.
1648 Use compilation-mode for the results buffer.
1649 (info-xref-output, info-xref-output-error, info-xref-with-output)
1650 (info-xref-filename, info-xref-in-progress):
1651 New internals for this.
1652 (info-xref-check-list, info-xref-check-buffer)
1653 (info-xref-check-all-custom): Use those.
1654 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1655 (info-xref-output-heading): Rename from info-xref-filename-heading.
1656 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1657 (info-xref-filename-heading): Move to output managing section.
1658 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1659 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1660 (info-xref-subfile-p): Move to generic section with those two.
1661 (info-xref-check-node): New function split from
1662 info-xref-check-buffer, shared by info-xref-docstrings.
1663 (info-xref-goto-node-p): Move to a checking section with that func.
1664 (info-xref-unavail): New counter.
1665 (info-xref-check-node): Use it.
1666 (info-xref-with-output): Show count of unavailables at end of output.
1667 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1668 symlinks. Exclude .texi files. Exclude Emacs backup files.
1669 (info-xref-check-all-custom): Fix quietening viper-mode and
1670 gnus-registry-install -- use setq not let so as not to unbind
1673 2011-01-16 Juri Linkov <juri@jurta.org>
1675 * isearch.el (isearch-abort): Don't quit if search has
1676 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1678 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1680 * files.el (backup-buffer): Make last-resort backup file in
1681 .emacs.d (Bug#6953).
1683 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1684 make it with permission 700.
1686 2011-01-15 Kenichi Handa <handa@m17n.org>
1688 * mail/rmailmm.el (rmail-mime-insert-header):
1689 Set rmail-mime-coding-system to a cons whose car is the last coding
1690 system used to decode the header.
1691 (rmail-mime-find-header-encoding): New function.
1692 (rmail-mime-insert-decoded-text):
1693 Override rmail-mime-coding-system if it is a cons.
1694 (rmail-show-mime): If only a header part was decoded, find the
1695 coding system while ignoring mm-charset-override-alist.
1697 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1699 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1701 2011-01-15 Kenichi Handa <handa@m17n.org>
1703 * mail/rmailmm.el (rmail-mime-next-item)
1704 (rmail-mime-previous-item): Delete them.
1705 (rmail-mime-shown-mode): Recursively call for children.
1706 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1708 (rmail-mime-raw-mode): Recursively call for children.
1709 (rmail-mode-map): Change mapping of tab and backtab to
1710 forward-button and backward-button respectively.
1711 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1713 (rmail-mime-update-tagline): New function.
1714 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1715 body display is changed.
1716 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1717 (rmail-mime-image): Delete this button type.
1718 (rmail-mime-toggle): New button type.
1719 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1720 body display is changed. Change the save button label to "Save".
1721 Don't process show/hide button here.
1722 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1723 the body display is changed. Unconditionally call
1724 rmail-mime-insert for children.
1725 (rmail-mime-handle): Update `display' vector of the just inserted
1727 (rmail-mime-process): If mail-header-parse-content-type returns
1728 nil, use "text/plain" as the fallback type.
1729 (rmail-mime-insert): For raw-mode, recursively call
1730 rmail-mim-insert for children.
1731 (rmail-mime): Handle the case that the current buffer is not rmail
1732 buffer (e.g. in summary buffer).
1734 2011-01-15 Kenichi Handa <handa@m17n.org>
1736 * mail/rmailmm.el (rmail-mime-next-item)
1737 (rmail-mime-previous-item): Skip the body of a non-multipart
1738 entity if a tagline is shown.
1740 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1742 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1743 (tmm-prompt): Simplify.
1744 (tmm-add-prompt): Remove unused var `win'.
1746 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1747 to minor mode which used nil accidentally to mean "turn off".
1749 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1751 * net/tramp-sh.el (tramp-find-inline-compress)
1752 (tramp-get-inline-coding): Quote command after pipe symbol for
1753 local calls under W32. (Bug#6784)
1755 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1757 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1758 only when running under W32.
1760 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1762 * progmodes/grep.el (grep-compute-defaults): Quote the program
1763 file name after the pipe symbol in Grep templates. (Bug#6784)
1764 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1766 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1768 * buff-menu.el (Buffer-menu-buffer-list): New var.
1769 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1770 restricted buffer list is not lost on revert (Bug#7749).
1772 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1774 * net/ldap.el (ldap-search-internal): Discard stderr output.
1776 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1778 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1780 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1782 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1784 2011-01-15 Kenichi Handa <handa@m17n.org>
1786 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1787 part as a plain text.
1788 (rmail-mime-process-multipart): Set the default content-type to
1789 nil for unknown multipart subtypes (bug#7651).
1791 2011-01-14 Martin Rudalics <rudalics@gmx.at>
1793 * simple.el (compose-mail-other-frame): Fix typo introduced in
1796 * window.el (window-safely-shrinkable-p): Remove.
1798 * calendar/calendar.el (calendar-generate-window): Only fit a
1799 vertically combined window to its buffer.
1800 (calendar-basic-setup): Call pop-to-buffer, preferably making a
1801 new window at the bottom of the frame. Remove the
1802 split-height-threshold binding around call of
1803 calendar-list-holidays, this must be handled separately.
1805 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1807 * hexl.el (hexl-mode-old-*): Remove.
1808 (hexl-mode--old-var-vals): New var to replace them.
1809 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1810 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1811 Use them to set local vars (bug#7846).
1812 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1813 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1814 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1816 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1817 (smerge-resolve--normalize-re): New var.
1818 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1819 (smerge-resolve): Use them.
1820 * newcomment.el (comment-only-p): New function.
1821 (comment-or-uncomment-region): Use it.
1823 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1825 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1826 table, get the value before switching to the output buffer. (Bug#7733)
1828 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1830 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1832 2011-01-14 Kim F. Storm <storm@cua.dk>
1834 * emulation/cua-base.el (cua--init-keymaps):
1835 Remap exchange-point-and-mark in cua-global-keymap.
1837 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1839 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1842 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1844 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1846 (easy-menu-create-menu, easy-menu-convert-item-1):
1847 Use :label rather than nil for labels. Use `case'.
1848 Add :enable as alias for :active.
1849 (easy-menu-binding): Obey :label.
1851 2011-01-13 Martin Rudalics <rudalics@gmx.at>
1853 * mail/sendmail.el (sendmail-user-agent-compose): Remove let
1854 bindings around funcall of switch-function.
1855 (mail-bury): Merge change from trunk with quit-restore-window.
1857 * electric.el (Electric-pop-up-window): Adapt to new buffer
1860 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1862 Use run-mode-hooks for major mode hooks (bug#513).
1863 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1864 Rename from reftex-toc-map.
1865 (reftex-toc-mode): Use define-derived-mode.
1866 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1867 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1868 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1869 (reftex-select-label-mode, reftex-select-bib-mode):
1870 Use define-derived-mode.
1871 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1872 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1873 Move init into delcaration.
1874 (reftex-index-mode, reftex-index-phrases-mode):
1875 Use define-derived-mode.
1876 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1877 speedbar-syntax-table. Move init into declaration.
1878 (speedbar-mode-map): Rename from speedbar-key-map.
1879 Move init into declaration.
1880 (speedbar-file-key-map): Move init into declaration.
1881 (speedbar-mode): Use define-derived-mode.
1882 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1883 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1884 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1885 (chart-face-list): Move initialization into declaration.
1886 (chart-mode): Use define-derived-mode.
1887 * calculator.el (calculator-mode-map): Move init into declaration.
1888 (calculator-mode): Use define-derived-mode.
1890 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1891 work for nested comments.
1893 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1894 (prolog-use-prolog-tokenizer-flag): Change default when
1895 syntax-propertize can be used.
1896 (prolog-syntax-propertize-function): New var.
1897 (prolog-mode-variables): Move make-local-variable into `set'.
1898 Don't make comment-column local since we don't set it.
1899 Set comment-add (as it was in previous prolog.el). Use dolist.
1900 Set syntax-propertize-function.
1901 (prolog-mode, prolog-inferior-mode):
1902 Call prolog(-inferior)-menu directly, not through the mode-hook.
1903 (prolog-buffer-module, prolog-indent-level)
1904 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1905 (prolog-comment-limits, prolog-goto-comment-column):
1906 Use line-(end|beginning)-position.
1907 (prolog-build-prolog-command): Tighten up regexp.
1908 (prolog-consult-compile): Move make-local-variable into `set'.
1909 (prolog-consult-compile-filter, prolog-goto-next-paren)
1910 (prolog-help-on-predicate, prolog-clause-info)
1911 (prolog-mark-predicate): Don't let+setq.
1912 (prolog-indent-line): Use indent-line-to.
1913 Only call prolog-goto-comment-column if necessary.
1914 (prolog-indent-level): Use bobp.
1915 (prolog-first-pos-on-line): Remove, not used any more.
1916 (prolog-in-string-or-comment): Use syntax-ppss if available.
1917 (prolog-help-on-predicate): Use read-string.
1918 (prolog-goto-predicate-info): Simplify.
1919 (prolog-read-predicate): Use `default' rather than `initial'.
1920 (prolog-temporary-file): Use make-temp-file to close a security hole.
1921 (prolog-toggle-sicstus-sd): New command.
1922 (prolog-electric-underscore, prolog-variables-to-anonymous):
1923 Use dynamic-scoping as it was meant.
1924 (prolog-menu): Move menu definitions to top-level.
1925 Use a toggle-button for Sicstus's source debugger.
1926 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1928 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1929 Move other menu definition to top-level.
1931 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1933 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1934 name. Keep original document's directory as default-directory
1936 (doc-view-initiate-display): Fall back to normal mode when
1937 doc-view-mode cannot be enabled, also when extracting the document
1938 text into a separate buffer (bug#6446).
1940 * simple.el (shell-command): Don't error out if shell command
1941 buffer contains text with non-nil read-only property when erasing
1944 2011-01-13 Kim F. Storm <storm@cua.dk>
1946 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1947 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1948 items when cycling through the matches.
1950 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1952 * dired-x.el (dired-omit-verbose): New defcustom that allows
1953 disabling the omit messages.
1954 (dired-omit-expunge): Use it.
1956 2011-01-13 Christian Ohler <ohler@gnu.org>
1958 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1960 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1962 * font-lock.el (font-lock-verbose): Default to nil.
1964 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1966 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1967 (compose-mail): New arg RETURN-ACTION.
1968 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1970 * mail/sendmail.el (mail-return-action): New var.
1971 (mail-mode): Make it buffer-local.
1972 (mail-bury): Obey it. Move special Rmail window handling to
1974 (mail, mail-setup): New arg RETURN-ACTION.
1975 (sendmail-user-agent-compose): Move from simple.el.
1977 * mail/rmail.el (rmail-mail-return): New function.
1978 (rmail-start-mail): Pass it to compose-mail.
1980 2011-01-12 Martin Rudalics <rudalics@gmx.at>
1982 * dired.el (dired-display-file, dired-why): Use
1983 display-buffer-other-window with label.
1984 (dired-pop-to-buffer): Remove.
1985 (dired-mark-pop-up): Use display-buffer and quit-restore-window.
1987 * proced.el (proced-send-signal): Use display-buffer and
1988 quit-restore-window.
1990 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1992 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1993 menus. Add menu item for customize-themes.
1995 * cus-theme.el (customize-themes):
1996 * emacs-lisp/package.el (package--list-packages):
1997 Use switch-to-buffer.
1999 2011-01-11 Martin Rudalics <rudalics@gmx.at>
2001 * vc/ediff-ptch.el (ediff-show-patch-diagnostics): Use
2002 display-buffer-other-window.
2004 * simple.el (goto-line, compose-mail-other-window): Replace
2005 switch-to-buffer-other-window by pop-to-buffer-other-window.
2006 (pop-global-mark): Use pop-to-buffer-same-window instead of
2008 (compose-mail-other-frame): Use pop-to-buffer-other-frame
2009 instead of switch-to-buffer-other-frame.
2010 (special-mode-map): Bind "q" to quit-restore-window instead of
2013 * buff-menu.el (Buffer-menu-mode-map): Bind "q" to
2014 quit-restore-window.
2015 (buffer-menu): Call pop-to-buffer-same-window.
2016 (buffer-menu-other-window): Call pop-to-buffer-other-window.
2017 (Buffer-menu-select): Rewrite using display-buffer-same-window
2019 (Buffer-menu-1-window, Buffer-menu-mouse-select)
2020 (Buffer-menu-this-window): Call pop-to-buffer-same-window.
2021 (Buffer-menu-other-window): Call pop-to-buffer-other-window.
2022 (Buffer-menu-switch-other-window): Call
2023 display-buffer-same-frame-other-window.
2024 (Buffer-menu-2-window): Add label argument in calls of
2025 display-buffer-same-window and
2026 pop-to-buffer-same-frame-other-window.
2028 * mail/reporter.el (reporter-submit-bug-report): Use
2029 display-buffer-same-frame-other-window.
2031 * progmodes/compile.el (compilation-find-file): Use
2032 display-buffer-same-frame.
2034 * progmodes/inf-lisp.el (switch-to-lisp): Rewrite with new buffer
2035 display method specifiers.
2037 * vc/ediff-ptch.el (ediff-get-patch-buffer): Use
2038 pop-to-buffer-other-window.
2039 (ediff-patch-file-internal): Replace switch-to-buffer by
2040 pop-to-buffer-same-window and switch-to-buffer-other-window by
2041 pop-to-buffer-other-window.
2043 * vc/pcvs.el (cvs-ediff-exit-hook): Call
2044 pop-to-buffer-same-window instead of switch-to-buffer.
2045 (cvs-mode-find-file): Replace switch-to-buffer and
2046 switch-to-buffer-other-window by pop-to-buffer-same-window and
2047 pop-to-buffer-other-window. Replace call to dired-other-window
2048 by call to display-buffer-other-window.
2049 (cvs-temp-buffer): Call display-buffer-other-window instead of
2052 * vc/pcvs-util.el (cvs-bury-buffer): Call quit-restore-window.
2054 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2056 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2058 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2060 * progmodes/prolog.el: Fix up coding convention and such.
2061 (prolog-indent-width): Use the same default as in
2062 previous prolog.el rather than tab-width which depends on which buffer
2063 is current when the file is loaded.
2064 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2066 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2067 (prolog-known-systems): Remove.
2068 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2069 Move initialization into declaration.
2070 (prolog-mode-map): Move initialization into declaration.
2071 Remove system-specific mode-map vars, since they referred to the same
2073 (prolog-mode-variables): Obey the user's preference w.r.t
2074 adaptive-fill-mode. Prefer symbol-value to `eval'.
2075 (prolog-mode-keybindings-edit): Add compatibility bindings.
2076 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2077 (mercury-mode-map): New var.
2078 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2079 (prolog-ensure-process, prolog-process-insert-string)
2080 (prolog-consult-compile): Use with-current-buffer.
2081 (prolog-guess-fill-prefix): Simplify data flow.
2082 (prolog-replace-in-string): New function to use instead of
2084 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2085 (prolog-uncomment-region): Use `uncomment-region' when available.
2086 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2087 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2088 of int-to-char and char-to-int.
2089 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2091 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2093 * progmodes/prolog.el: Replace by a whole new file.
2095 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2097 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2098 (declare-function, undefined, insert-for-yank)
2099 (replace-regexp-in-string): Follow checkdoc's recommendations.
2101 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2103 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2104 refreshing the diary buffer.
2106 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2108 * allout.el: Add 2011 to the file copyright.
2109 (allout-encrypt-string): Prevent encryption from adding an extra
2110 newline at the end of the topic body.
2111 (allout-version): Increment to 2.3.
2113 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2115 * net/dbus.el (dbus-unregister-service): Complete doc.
2116 Fix call of dbus-error signal.
2117 (dbus-register-property): Use `dont-register' keyword.
2119 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2121 * net/dbus.el (dbus-unregister-service): Translate returned
2122 integer into a symbol.
2123 (dbus-register-property): Use `dbus-register-service' to do the
2126 2011-01-09 Martin Rudalics <rudalics@gmx.at>
2128 * dired.el (dired-pop-to-buffer): Call
2129 pop-to-buffer-same-frame-other-window.
2131 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2133 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2134 Suggested by Joakim Verona.
2136 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2138 * wid-edit.el (visibility): Replace :on-image and :off-image
2139 widget properties with :on-glyph and :off-glyph, for consistency
2140 with the `visibility' widget.
2141 (widget-toggle-value-create, widget-visibility-value-create):
2142 Merge into a single function `widget-toggle-value-create'.
2144 * cus-edit.el (custom-variable-value-create, custom-visibility)
2145 (custom-face-edit-value-create, custom-face-value-create):
2146 Replace :on-image and :off-image widget properties with :on-glyph and
2147 :off-glyph, for consistency with the `visibility' widget.
2149 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2151 * net/ldap.el (ldap-search-internal): Don't use eval.
2153 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2155 * subr.el (read-char-choice): Use read-key.
2157 * custom.el (custom-safe-themes): Rename from
2158 custom-safe-theme-files. Add :risky tag.
2159 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2160 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2162 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2164 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2165 from Search and add a label to Undo.
2167 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2168 inappropriate buttons and adding :vert-only tags.
2170 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2171 removal of Help tool-bar button. Remove Undo button for space.
2173 * info.el (info-tool-bar-map): Add :vert-only tags.
2175 2011-01-08 Martin Rudalics <rudalics@gmx.at>
2177 * net/ange-ftp.el (ange-ftp-error): Use
2178 pop-to-buffer-same-frame-other-window.
2180 * vc/log-edit.el (log-edit-show-files): Use
2181 pop-to-buffer-same-frame.
2183 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Remove.
2185 * vc/pcvs.el (cvs-cmd-do, cvs-quickdir): Do not bind
2187 (cvs-do-removal): Call pop-to-buffer-same-frame.
2189 * vc/vc-dir.el (vc-dir): Do not bind pop-up-windows.
2191 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2193 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2194 image backend support. Either of them is fine.
2196 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2198 * subr.el (y-or-n-p): Doc fix.
2200 * custom.el (custom-safe-theme-files): New defcustom.
2201 (custom-theme-load-confirm): New function.
2202 (load-theme): Load theme using `load', confirming with
2203 custom-theme-load-confirm if necessary.
2205 * subr.el (read-char-choice): New function, factored out from
2206 dired-query and hack-local-variables-confirm.
2208 * dired-aux.el (dired-query):
2209 * files.el (hack-local-variables-confirm): Use it.
2211 * dired-aux.el (dired-compress-file):
2212 * files.el (abort-if-file-too-large, find-alternate-file)
2213 (set-visited-file-name, write-file, backup-buffer)
2214 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2215 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2216 Use new format string args for y-or-n-p and yes-or-no-p.
2218 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2220 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2221 [gcc-include]: Tighten file name match, add match for column
2223 [gnu]: Remove unused group.
2225 2011-01-08 Glenn Morris <rgm@gnu.org>
2227 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2229 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2231 2011-01-07 Martin Rudalics <rudalics@gmx.at>
2233 * buff-menu.el (Buffer-menu-switch-other-window): Use
2234 display-buffer-same-frame-other-window.
2235 (Buffer-menu-2-window): Use
2236 pop-to-buffer-same-frame-other-window.
2238 * progmodes/compile.el (compilation-start): Use
2239 pop-up-window-set-height specifier.
2240 (compilation-goto-locus): Rewrite window-setup code with new
2241 display method specifiers.
2243 * vc/ediff-mult.el (ediff-collect-custom-diffs)
2244 (ediff-meta-show-patch): Use display-buffer-other-window.
2246 * files.el (ctl-x-5-map): Remove binding for
2247 display-buffer-other-frame.
2249 * frame.el (pop-up-frame-alist, pop-up-frame-function)
2250 (special-display-frame-alist): Update obsolescence declaration.
2252 * mail/reporter.el (reporter-submit-bug-report): Adapt to new
2255 * man.el (Man-notify-when-ready): Use
2256 display-buffer-other-window.
2258 * pcomplete.el (pcomplete-show-completions): Use
2259 display-buffer-other-window.
2261 * ps-print.el (ps-line-lengths-internal, ps-nb-pages): Use
2262 display-buffer-other-window.
2264 * term.el (term-display-buffer-line): Call
2265 display-buffer-other-window.
2267 * window.el (window-child-count): New function.
2268 (walk-window-tree-1, walk-window-tree, walk-window-subtree):
2270 (windows-with-parameter, window-with-parameter)
2271 (window-atom-root, make-window-atom, window-atom-check-1)
2272 (window-atom-check): New functions.
2273 (window-sides-vertical, window-sides-slots, window-sides-alist):
2275 (window-side-check, window-check): New functions.
2276 (composite-window-p, composite-root-window-p)
2277 (composite-main-window-p, composite-support-window-p)
2278 (composite-root-window, composite-major-window)
2279 (composite-main-sibling, composite-lowest-child-role)
2280 (compound-window-p, compound-main-window-p)
2281 (compound-root-window, group-window-p, group-root-window): Remove,
2282 their functionality is now provided by atomic and side windows.
2283 (other-window): Check other-window-function parameter and rewrite
2284 handling of no-other-window parameter.
2285 (window-deletable-p, delete-window, delete-other-windows)
2286 (split-window): Handle ignore-window-parameters, atomic and side
2287 windows. Call window-check.
2288 (make-compound-window, make-window-group, make-support-window):
2289 Remove, replaced by atomic and side windows.
2290 (display-buffer-names, display-buffer-regexps): Remove, replaced
2291 by display-buffer-alist.
2292 (display-buffer-method-specifiers)
2293 (display-buffer-macro-specifiers): New constants.
2294 (display-buffer-default-specifiers): Rewrite.
2295 (display-buffer-alist): New variable.
2296 (display-buffer-other-window-specifiers)
2297 (display-buffer-same-frame-specifiers)
2298 (display-buffer-other-window-same-frame-specifiers)
2299 (display-buffer-other-frame-specifiers): Rewrite with new
2301 (display-buffer-function, display-buffer-window)
2302 (display-buffer-even-sizes, display-buffer-select-window, display-buffer-in-window):
2304 (display-buffer-set-height): Rename from display-buffer-adjust-height.
2305 (display-buffer-set-width): Rename from display-buffer-adjust-width.
2306 (display-buffer-in-window): Install no-other-window parameter if
2308 (display-buffer-reuse-window): New function.
2309 (display-buffer-split-window-1, display-buffer-split-window):
2311 (display-buffer-split-atom-window, display-buffer-pop-up-window)
2312 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window):
2314 (display-buffer-normalize-specifiers-1)
2315 (display-buffer-normalize-specifiers, display-buffer
2316 (display-buffer-same-window, display-buffer-same-frame)
2317 (display-buffer-other-window)
2318 (display-buffer-same-frame-other-window, pop-to-buffer)
2319 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2320 (pop-to-buffer-other-window)
2321 (pop-to-buffer-same-frame-other-window)
2322 (pop-to-buffer-other-frame): Rewrite using new display
2324 (special-display-regexps, special-display-function)
2325 (same-window-buffer-names, same-window-regexps, pop-up-frames)
2326 (display-buffer-reuse-frames, pop-up-windows)
2327 (split-window-preferred-function, split-height-threshold)
2328 (split-width-threshold, even-window-heights)
2329 (display-buffer-mark-dedicated): Rewrite obsolete declarations.
2330 (special-display-p, same-window-p): Rewrite with new display
2333 2011-01-07 Sam Steingold <sds@gnu.org>
2335 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2336 the `explicit-shell-file-name' because that is the
2337 non-interactive shell.
2339 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2341 * subr.el (y-or-n-p): Accept format string args.
2343 2011-01-07 Glenn Morris <rgm@gnu.org>
2345 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2347 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2349 * allout.el (allout-back-to-current-heading): Ensure return to
2350 the visible containing topic, rather than a collapsed one.
2351 (allout-view-change-hook): Remove hook that was deprecated long ago.
2352 (allout-exposure-change-hook): Remove documentation remarks
2353 concerning removed allout-view-change-hook.
2354 (allout-flag-region): Remove invocation of and documentation
2355 remarks concerning allout-view-change-hook.
2357 2011-01-06 Glenn Morris <rgm@gnu.org>
2359 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2360 (vc-bzr-annotate-extract-revision-at-line):
2361 Handle authors with embedded spaces. (Bug#7792)
2363 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2365 * doc-view.el (doc-view-image-width): New variable.
2366 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2367 backend for PNG images, and do dynamic rescaling instead of
2368 reconverting the whole doc.
2370 2011-01-05 Glenn Morris <rgm@gnu.org>
2372 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2374 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2376 * allout.el: Reconcile with changes in line movement behavior for
2377 long text lines that cross more than a single physical window
2378 line, ie when truncate-lines is nil.
2379 (allout-next-visible-heading): Provide for change in line-move
2380 behavior on long lines when truncate-lines is nil. In that case,
2381 line-move can wind up on the same textual line when it moves to
2382 the next window line, and moving to the bullet position after the
2383 move yields zero advancement. Add logic to detect and compensate
2384 for the lack of progress.
2385 (allout-current-topic-collapsed-p): move-end-of-line respect for
2386 field boundaries is different when operating with body lines
2387 shorter than window width versus ones greater than window width,
2388 which can yield false negatives in this function. Avoid
2389 difference by applying move-end-of-line while field-text-motion is
2392 2011-01-04 Glenn Morris <rgm@gnu.org>
2394 * textmodes/rst.el (rst-compile-toolsets):
2395 Add pdf and s5 to option alist.
2397 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2399 * net/dbus.el (dbus-register-property): Add optional parameter
2400 dont-register-service. Updated docstring accordingly.
2402 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2404 * textmodes/rst.el (rst-compile-pdf-preview)
2405 (rst-compile-slides-preview): Remove extra line.
2407 2011-01-04 Glenn Morris <rgm@gnu.org>
2409 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2410 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2411 default to `prog' without a .py extension.
2412 (rst-compile-pdf-preview, rst-compile-slides-preview):
2413 Use program names from rst-compile-toolsets, rather than hard-coding.
2414 (rst-portable-mark-active-p): Fix presumed typo.
2416 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2418 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2419 libpng versions both before and after 1.4.0. (Bug#7716)
2421 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2423 * time.el (display-time-mode): Mention display-time-interval in
2424 the doc string. (Bug#7713)
2426 2011-01-02 Kenichi Handa <handa@m17n.org>
2428 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2429 condition-case and return an error message string if something
2431 (rmail-show-mime): Adjust for the above change. Insert the
2432 header by rmail-mime-insert-header.
2434 2011-01-02 Kenichi Handa <handa@m17n.org>
2436 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2437 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2438 (rmail-mime-mbox-buffer)
2439 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2440 (rmail-mime-entity): Argument changed. All codes handling an
2441 entity object are changed.
2442 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2444 (rmail-mime-entity-children, rmail-mime-entity-handler)
2445 (rmail-mime-entity-tagline): New functions.
2446 (rmail-mime-message-p): New function.
2447 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2448 (rmail-mime-entity-segment, rmail-mime-next-item)
2449 (rmail-mime-previous-item, rmail-mime-shown-mode)
2450 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2451 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2452 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2454 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2455 (rmail-mime-insert-decoded-text): New function.
2456 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2457 (rmail-mime-insert-image): Argument changed. Caller changed.
2458 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2459 (rmail-mime-set-bulk-data): New function.
2460 (rmail-mime-insert-bulk): Argument changed.
2461 (rmail-mime-multipart-handler): Return t.
2462 (rmail-mime-process-multipart): Argument changed.
2463 Handle "multipart/alternative" here.
2464 (rmail-mime-process): Argument changed.
2465 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2466 (rmail-mime-insert): Argument changed. Handle raw display mode.
2467 (rmail-mime): Argument changed. Handle toggling of raw display
2469 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2470 rmail-mime-view-buffer.
2471 (rmail-insert-mime-forwarded-message): Likewise.
2472 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2474 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2475 non-nil, handle the header in rmail-show-mime-function.
2477 2011-01-02 Leo <sdl.web@gmail.com>
2479 * help-fns.el (describe-variable): Fix previous change.
2481 2011-01-02 Juri Linkov <juri@jurta.org>
2483 * isearch.el (isearch-lazy-highlight-error): New variable.
2484 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2485 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2486 to the current value of `isearch-error' (Bug#7468).
2488 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2490 * help-fns.el (describe-variable): Don't emit trailing whitespace
2493 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2495 * textmodes/rst.el (rst-compile-pdf-preview)
2496 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2498 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2500 * emulation/edt-mapper.el: Override mapping of function keys so
2501 that the later call to read-key-sequence works.
2503 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2505 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2506 Unix EOLs. (Bug#7589)
2508 2011-01-02 Leo <sdl.web@gmail.com>
2510 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2511 if point is not behind eshell-last-output-end (Bug#7585).
2513 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2515 * files.el (file-local-variables-alist):
2516 Make permanent-local (bug#7767).
2518 2011-01-02 Glenn Morris <rgm@gnu.org>
2520 * version.el (emacs-copyright): Set short copyright year to 2011.
2522 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2524 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2525 an existing temp buffer. (Bug#7746)
2527 2011-01-02 Glenn Morris <rgm@gnu.org>
2529 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2530 multiple addresses. (Bug#7760)
2532 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2534 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2535 do-auto-fill if everything points back to allout-auto-fill.
2536 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2537 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2539 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2541 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2544 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2546 * doc-view.el (doc-view-set-doc-type): New function refactored
2548 (doc-view-fallback-mode): New function.
2549 (doc-view-mode): Use it.
2550 (doc-view-mode-maybe): New function that checks if doc-view-mode
2551 can be used and falls back to the next best mode otherwise.
2553 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2554 DVI, OpenDocument, and MS Office files.
2556 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2558 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2560 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2562 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2563 on a copy of auto-mode-alist, because that deletes with side
2566 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2568 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2569 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2570 fallback instead of hard coding fundamental mode.
2572 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2574 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2575 Office) files also for searching.
2577 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2579 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2580 Office) files. Not yet enabled via auto-mode-list.
2581 (doc-view-unoconv-program): New custom variable.
2582 (doc-view-mode-p): Handle new odf document type.
2583 (doc-view-odf->pdf): New conversion function.
2584 (doc-view-convert-current-doc): Call it for odf files.
2585 (doc-view-mode): Recognize newly supported file extensions.
2587 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2589 * net/tramp.el (tramp-default-method-alist)
2590 (tramp-default-user-alist)
2591 (tramp-local-host-regexp, tramp-prefix-domain-format)
2592 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2595 * net/tramp-gvfs.el:
2597 * net/tramp-imap.el:
2599 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2600 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2602 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2604 * saveplace.el (save-place-alist-to-file): Save list sorted and
2605 pretty-printed, so that it is mergeable by line-based text merging,
2606 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2608 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2610 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2611 (allout-mode): Argument "toggle" => "force".
2612 Refine the docstring.
2613 Remove special provisions for reactivation, besides the 'force'
2615 Consolidate layout provisions coce directly into the activation
2616 condition branch, now that we've removed those provisions.
2617 (allout-unload-function): Explicitly activate the mode before
2618 deactivating, if it's initially deactivated.
2619 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2620 warnings for version of function used only where
2621 set-buffer-multibyte is unavailable.
2623 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2625 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2626 are handled by the menu-bar entries. As before, don't use
2627 :visibile to avoid changing the tool-bar.
2629 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2631 * net/secrets.el (secrets-delete-alias): New defun.
2633 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2635 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2636 methods, otherwise ~/.ssh/config would be ignored.
2638 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2640 * emacs-lisp/rx.el: Make it a superset of sregex.
2641 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2642 of args, add `regex' alias.
2643 (rx-info): Add arg to distinguish head and standalone forms.
2644 (rx-check, rx-form): Pass the corresponding arg.
2646 (rx-repeat): Make it work for any number of args.
2647 (rx-syntax): Make it accept syntax chars as is.
2648 * obsolete/sregex.el: Move from emacs-lisp/.
2649 * emacs-lisp/re-builder.el: Remove sregex support.
2650 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2652 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2654 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2655 PRIMARY first, then the clipboard. (Bug#7699)
2657 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2659 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2662 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2664 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2665 .emacs.elc (Bug#7530).
2667 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2668 image spec (Bug#7480).
2670 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2672 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2673 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2676 2010-12-20 Leo <sdl.web@gmail.com>
2678 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2679 always be performed (Bug#7680).
2681 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2683 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2684 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
2687 * color.el: Move from gnus/.
2689 * vc/diff.el (diff-better-file-name): Function deleted.
2690 abbreviating file names causes problems with shell-quote-argument.
2691 (diff-no-select): Just use expand-file-name.
2693 * tool-bar.el (tool-bar--image-expression): New function.
2694 (tool-bar-local-item, tool-bar--image-exp): Use it.
2695 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2696 Use :enable instead of :visible to avoid changing the tool-bar
2697 configuration unnecessarily.
2699 * info.el (info-tool-bar-map): Add separators.
2701 2010-12-17 Ken Brown <kbrown@cornell.edu>
2703 * loadup.el: Use version numbers in Cygwin build.
2705 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
2707 * ido.el (ido-file-internal): Ask for confirmation before
2708 overwriting an existing file (Bug#1238).
2710 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
2712 * tool-bar.el (tool-bar-setup): Add separators.
2714 * menu-bar.el (featurep): Use menu-bar-separator.
2716 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
2718 Migrate allout encryption provisions from pgg to epg.
2720 * allout.el (allout-toggle-current-subtree-encryption)
2721 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2722 defaulting policy and other changes. Change fetch-pass to keymode-cue,
2723 for simpler universal argument interpretation.
2724 (allout-toggle-subtree-encryption): Adjust docstring to describe
2725 changed encryption provisions. Change fetch-pass to keymode-cue, for
2726 simpler universal argument interpretation. Remove provisions for
2727 handling key type and identity - they'll all be within
2728 allout-encrypt-string or epg/epg or even contained all the way in gpg.
2729 (allout-encrypt-string): Include keymode-cue, for optionally prompting
2730 for keypair recipients (universal argument > 1) and, in addition,
2731 associating the specified recipients with the outline (universal
2732 argument > 4) using a file local variable setting for
2733 'epa-file-encrypt-to'.
2734 Require epa, for recipients handling.
2735 Change how regexp filtering elements are named.
2736 Describe the problem with caching of incorrect symmetric-decryption
2738 Use the epa-passphrase-callback-function, in case the user is using
2740 Support saving of the selected keypair recipients when invoked with a
2742 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2744 Establish epg-context with armoring and default epg-protocol.
2745 Remove all passphrase cache, verification, and hinting code.
2746 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2747 No longer used, delete.
2748 (allout-mode): Adjust docstring to describe changed encryption
2749 provisions. Describe the problem with caching of incorrect
2750 symmetric-decryption keys.
2751 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2752 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2753 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2754 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2757 2010-12-16 Daiki Ueno <ueno@unixuser.org>
2759 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2760 key selection prompt; make 'silent as default (Bug#7487).
2762 2010-12-16 Leo <sdl.web@gmail.com>
2764 * eshell/eshell.el (eshell-directory-name):
2765 Use locate-user-emacs-file (Bug#7578).
2767 2010-12-15 Glenn Morris <rgm@gnu.org>
2769 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2771 2010-12-15 Jari Aalto <jari.aalto@cante.net>
2772 Scott Evans <gse@antisleep.com>
2774 * rect.el (rectange--default-line-number-format)
2775 (rectangle-number-line-callback): New functions.
2776 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2778 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
2780 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2781 Delete unused variables.
2782 (move-to-column-force): Remove function obsolete since 21.2.
2784 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
2786 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2787 (tramp-handle-insert-file-contents): Do not set permanent-local
2790 * net/tramp-cache.el (tramp-persistency-file-name):
2791 Use `locate-user-emacs-file' if fboundp.
2793 * net/tramp-sh.el (tramp-methods): Add "ksu".
2794 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2797 2010-12-14 Glenn Morris <rgm@gnu.org>
2799 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2800 (find-tag-marker-ring): Declare.
2801 (js-find-symbol): Require etags.
2803 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2805 (mail-alias-file): Don't autoload. Doc fix.
2806 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2807 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2808 Mark as obsolete, and risky.
2809 (mail-setup): Simplify.
2811 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2812 * mail/sendmail.el (build-mail-aliases): Update autoload.
2814 * dired.el (dired-trivial-filenames, dired-chown-program)
2815 (dired-auto-revert-buffer): Remove autoload cookies.
2816 * mail/sendmail.el (mail-recover-1): Require 'dired.
2818 * dired.el (dired-subdir-switches, dired-chown-program)
2819 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2820 Make into defcustoms.
2821 (dired-chown-program): Simplify initialization.
2823 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2825 2010-12-13 Romain Francoise <romain@orebokech.com>
2827 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2829 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2831 * net/netrc.el (netrc-point-at-eol): Remove the unused
2832 netrc-point-at-old and netrc-bound-and-true-p bindings.
2833 (netrc-parse): Cache the netrc contents.
2835 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2837 * subr.el (posn-col-row): Evaluate header-line-format in the
2838 context of the POSITION window's buffer.
2840 2010-12-13 Glenn Morris <rgm@gnu.org>
2842 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2843 (with-silent-modifications): Doc fixes.
2845 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2847 * net/tramp.el (tramp-action-password, tramp-process-actions):
2848 Revert previous from. Use `save-restriction'.
2850 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2852 * calendar/diary-lib.el (diary-list-sexp-entries):
2853 Handle case of no newline at end of file. (Bug#7536)
2855 2010-12-13 Glenn Morris <rgm@gnu.org>
2857 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2859 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2861 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2862 (tramp-process-actions): Do not widen.
2864 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2865 Protect buffer-modified value. (Bug#7557)
2867 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2869 * log-edit.el (log-edit-changelog-entries):
2870 Regexp quote filename. (Bug#7505)
2872 2010-12-13 Tom Breton <tehom@panix.com>
2874 * cus-edit.el (custom-save-all):
2875 Bind print-length and print-level to nil. (Bug#7581)
2877 2010-12-13 Glenn Morris <rgm@gnu.org>
2879 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2880 Run hooks to update menu contents. (Bug#7586)
2882 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2883 file names, for the sake of MS Windows. (Bug#7588)
2885 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2887 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2888 empty lines without a leading space.
2890 2010-12-13 Leo <sdl.web@gmail.com>
2892 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2893 while mapping over marks (Bug#6810).
2895 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2897 * image-dired.el (image-dired-db-file)
2898 (image-dired-temp-image-file, image-dired-gallery-dir)
2899 (image-dired-temp-rotate-image-file): Set default values relative
2900 to image-dired-dir (Bug#7518).
2902 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2904 * format.el (format-decode-run-method): Pass args FROM and TO, not
2905 point-min and point-max, to shell-command-on-region (Bug#7488).
2907 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2909 * frame.el (blink-cursor-mode): Make default t for ns.
2911 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2913 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2915 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2917 * comint.el (comint-dynamic-list-input-ring)
2918 (comint-dynamic-complete-filename)
2919 (comint-replace-by-expanded-filename)
2920 (comint-dynamic-simple-complete)
2921 (comint-dynamic-list-filename-completions)
2922 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2924 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2927 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2929 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2932 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2934 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2937 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2939 * files.el (file-relative-name): Handle UNC file names on
2940 DOS/Windows. (Bug#4674)
2942 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2944 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2945 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2946 (epg-context-set-passphrase-callback): Mention that the callback
2947 is not called when used with GnuPG 2.x.
2949 2010-12-13 Glenn Morris <rgm@gnu.org>
2951 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2952 Ensure ps-footer-font-size-internal is initialized.
2953 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2955 2010-12-13 Kenichi Handa <handa@m17n.org>
2957 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2958 within condition-case.
2959 (rmail-show-mime): Don't use condition-case.
2960 (rmail-search-mime-message): New function.
2961 (rmail-search-mime-message-function): Set to
2962 rmail-search-mime-message.
2964 2010-12-13 Leo <sdl.web@gmail.com>
2966 * ido.el (ido-common-initialization): New function. (bug#3274)
2968 (ido-completing-read): Call it.
2970 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2972 * bookmark.el (bookmark-name-from-full-record): Rename back to
2973 this original name from `bookmark-name-from-record' reverting part
2974 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2975 As Drew Adams pointed out, there was no reason to cause churn for
2976 third-party callers.
2978 2010-12-12 Alan Mackenzie <acm@muc.de>
2980 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2981 template arglist, check that the current language supports this.
2983 2010-12-11 Glenn Morris <rgm@gnu.org>
2985 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2986 state of the file matches. (Bug#7544)
2987 (vc-bzr-register, vc-bzr-checkin)
2988 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2989 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2991 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2993 2010-12-11 Karel Klíč <kklic@redhat.com>
2995 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2997 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2999 Derive from prog-mode, use derived-mode-p, and fix up various
3000 minor style issues in lisp/progmodes.
3002 * progmodes/vhdl-mode.el (vhdl-mode):
3003 * progmodes/verilog-mode.el (verilog-mode):
3004 * progmodes/vera-mode.el (vera-mode):
3005 * progmodes/sql.el (sql-mode):
3006 * progmodes/scheme.el (scheme-mode):
3007 * progmodes/perl-mode.el (perl-mode):
3008 * progmodes/octave-inf.el (inferior-octave-mode):
3009 * progmodes/autoconf.el (autoconf-mode):
3010 * progmodes/m4-mode.el (m4-mode):
3011 * progmodes/inf-lisp.el (inferior-lisp-mode):
3012 * progmodes/idlwave.el (idlwave-mode):
3013 * progmodes/icon.el (icon-mode):
3014 * progmodes/idlw-help.el (idlwave-help-mode):
3015 * progmodes/dcl-mode.el (dcl-mode):
3016 * progmodes/idlw-shell.el (idlwave-shell-mode):
3017 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3018 (ebrowse-member-mode, ebrowse-electric-position-mode):
3019 Use define-derived-mode.
3021 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3022 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3023 (xscheme-debugger-mode-p, xscheme-send-string-1):
3024 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3025 (tcl-load-file, tcl-restart-with-file):
3026 * progmodes/ps-mode.el (ps-run-running):
3027 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3028 * progmodes/js.el (js--get-all-known-symbols):
3029 * progmodes/inf-lisp.el (inferior-lisp-proc):
3030 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3031 (idlwave-template, idlwave-update-buffer-routine-info)
3032 (idlwave-update-current-buffer-info)
3033 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3034 (idlwave-scan-class-info, idlwave-fix-keywords)
3035 (idlwave-list-buffer-load-path-shadows):
3036 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3037 (idlwave-toolbar-remove):
3038 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3039 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3040 (idlwave-shell-menu-def):
3041 * progmodes/idlw-complete-structtag.el
3042 (idlwave-prepare-structure-tag-completion):
3043 * progmodes/gud.el (gud-set-buffer):
3044 * progmodes/f90.el (f90-backslash-not-special):
3045 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3047 * progmodes/xscheme.el (xscheme-start)
3048 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3049 * progmodes/which-func.el (which-function):
3050 * progmodes/vhdl-mode.el (vhdl-set-style):
3051 * progmodes/verilog-mode.el (verilog-set-compile-command)
3052 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3053 (verilog-set-define, verilog-auto-reeval-locals):
3054 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3055 * progmodes/simula.el (simula-mode):
3056 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3057 * progmodes/python.el (python-check, python-mode):
3058 * progmodes/prolog.el (prolog-mode-variables):
3059 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3060 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3061 * progmodes/delphi.el (delphi-mode):
3062 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3063 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3064 (c-font-lock-init): Move make-local-variable to their setq.
3066 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3067 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3069 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3070 (sh-set-shell): Don't set require-final-newline since it's already done
3072 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3073 since we never set it.
3074 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3075 Use read-string and standard prompt.
3076 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3077 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3078 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3079 (meta-common-mode-map): Rename from meta-mode-map.
3080 Remove C-m binding, which is a user preference, not mode specific.
3081 (meta-common-mode): New major mode; replace meta-common-initialization.
3082 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3083 around with font-lock.
3084 * progmodes/etags.el (select-tags-table-mode):
3085 Derive from special-mode.
3086 * progmodes/octave-mod.el (octave-mode):
3087 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3088 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3089 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3090 Let define-derived-mode do its job.
3091 * progmodes/cpp.el (cpp-edit-mode-map):
3092 Move initialization into declaration.
3093 (cpp-edit-mode): Use define-derived-mode.
3094 (cpp-edit-load): Use derived-mode-p.
3095 * progmodes/mixal-mode.el (mixal-mode):
3096 * progmodes/f90.el (f90-mode):
3097 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3098 require-final-newline since prog-mode does it already.
3099 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3100 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3101 * progmodes/antlr-mode.el: Require cc-mode upfront.
3102 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3104 (antlr-directory-dependencies, antlr-show-makefile-rules):
3106 (antlr-language-option): Don't assume point-min==1.
3107 (antlr-mode): Use define-derived-mode.
3108 * progmodes/ada-mode.el: Use derived-mode-p.
3109 (ada-mode): Use define-derived-mode.
3110 Use hack-local-variables-hook.
3112 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3114 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3115 (texinfo-mode): Don't disable adaptive-fill-mode.
3116 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3117 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3118 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3119 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3120 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3121 (texinfo-insert-@quotation, texinfo-insert-@samp)
3122 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3123 (texinfo-insert-@uref): Use define-skeleton.
3124 (texinfo-insert-@-with-arg): Delete.
3126 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3128 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3129 nil, do quote archive member names. (Bug#6144)
3131 2010-12-10 Glenn Morris <rgm@gnu.org>
3133 * files.el (diff-no-select): Declare.
3135 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3136 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3138 * comint.el (comint-input-ring-file-name): Doc fix.
3140 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3142 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3144 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3145 Use them instead of `nil' and `>', respectively.
3146 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3148 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3149 and menu-bar-positive-p instead of `nil' and `>', respectively.
3152 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3154 * whitespace.el (whitespace-newline-mode): Code fix.
3156 2010-12-09 Glenn Morris <rgm@gnu.org>
3158 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3159 Rename functions without commas, update callers.
3161 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3163 * whitespace.el (whitespace-cleanup-region):
3164 Clean up spaces before tabs. (Bug#7582)
3166 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3168 * bookmark.el: Adjust parameter names and doc strings to resolve
3169 confusion over whether "bookmark" meant a bookmark name or a
3170 bookmark record. Along the way, shorten one function's name for
3171 similar reasons. (Issue #7548)
3172 (bookmark-name-from-record): New name for
3173 `bookmark-name-from-full-record'. All callers changed.
3174 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3175 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3176 (bookmark-get-annotation, bookmark-set-annotation)
3177 (bookmark-get-filename, bookmark-set-filename)
3178 (bookmark-get-position, bookmark-set-position)
3179 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3180 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3181 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3182 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3183 Rename `bookmark' parameter to `bookmark-name-or-record', to
3184 clearly show its role, and shorten or adjust doc strings accordingly.
3185 (bookmark-set-name): Same, and pass the parameter directly to
3186 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3187 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3188 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3189 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3190 and in some cases shorten doc string accordingly.
3191 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3192 and `new-name', and adjust an internal variable to avoid confusion.
3193 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3194 parameter in doc string.
3196 2010-12-08 Glenn Morris <rgm@gnu.org>
3198 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3199 from gdb's history file. (Bug#7575)
3201 * mail/emacsbug.el (report-emacs-bug):
3202 Try to handle some other mail clients.
3204 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3206 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3207 Use string-prefix-p.
3208 (file-name-version-regexp): New var.
3209 (file-name-sans-versions):
3210 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3211 (jka-compr-get-compression-info): Use dolist.
3212 (jka-compr-compression-info-list): Don't bother specifying
3213 version/backup regexps.
3215 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3217 * simple.el (just-one-space): Make argument n default to 1 if
3220 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3222 * electric.el (electric-indent-post-self-insert-function):
3223 Delete trailing newlines even if we don't reindent.
3225 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3227 * minibuffer.el (completion-at-point): Remove the `arg'.
3228 * bindings.el (complete-symbol): Move back from minibuffer.el.
3230 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3232 * simple.el (just-one-space): Delete newlines for negative arg.
3234 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3236 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3237 (ansi-color-filter-apply): Simplify.
3238 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3240 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3242 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3244 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3246 * dired.el (dired-use-ls-dired): Set default to a special
3247 "unspecified" value.
3248 (dired-insert-directory): When called the first time, check
3249 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3251 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3253 * replace.el: Add "collect" feature to occur.
3254 (occur-collect-regexp-history): New var.
3255 (occur-read-primary-args): Return a replace string for nlines,
3257 (occur): Extend the meaning of nlines.
3259 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3261 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3262 (which-func-update-1): Distinguish symbols from strings.
3263 (which-function): Stay within 80 columns.
3265 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3267 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3269 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3271 (comment-style): Use comment-styles's docs to describe values.
3273 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3275 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3276 and ns-show-prefs (Bug#7535).
3278 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3279 bindings (Bug#7535).
3281 2010-12-03 Glenn Morris <rgm@gnu.org>
3283 * nxml/nxml-mode.el: Require rng-nxml.
3284 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3285 Remove declarations.
3287 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3288 * nxml/rng-nxml.el, nxml/rng-valid.el:
3289 Remove leading `*' from defcustom docs.
3291 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3292 (normal-top-level-add-to-load-path, tty-handle-args):
3293 Convert comments to basic doc-strings.
3295 * net/browse-url.el (browse-url-url-at-point)
3296 (browse-url-default-browser): Remove autoload cookies.
3298 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3299 Remove more undefined cl functions.
3301 * vc/diff.el (diff-sentinel): Make new arguments optional.
3302 * ibuf-ext.el (diff-sentinel): Update declaration.
3304 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3306 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3307 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3308 (epg-context-set-passphrase-callback): Mention that the callback
3309 is not called when used with GnuPG 2.x.
3311 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3313 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3314 (tramp-file-name-port): Check also for `tramp-default-port'.
3315 (tramp-get-connection-name): New defun.
3316 (tramp-get-connection-process): Use it.
3317 (tramp-debug-message): Extend function exclude list.
3318 (tramp-drop-volume-letter): Fix doc string.
3320 * net/tramp-cmds.el: Remove solved todo item.
3324 * net/tramp-gvfs.el:
3326 * net/tramp-imap.el:
3327 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3328 and `tramp-default-user-alist', respectively.
3330 * net/tramp-gw.el (tramp-gw-open-connection):
3331 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3333 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3334 `tramp-file-name-port'.
3336 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3337 and "psftp". Exchange "%k" marker with options.
3338 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3339 Compute size of link target.
3340 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3341 `tramp-current-*' up due to gateway methods. Optimize computing of
3342 copy arguments. Use `tramp-get-connection-name' and
3343 `tramp-get-connection-buffer'. Improve debug messages.
3344 (tramp-compute-multi-hops): Remove port determination.
3345 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3347 * net/trampver.el: Update release number.
3349 2010-12-02 Glenn Morris <rgm@gnu.org>
3351 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3352 Avoid infinite loop over windows. (Bug#7492)
3354 * progmodes/flymake.el (flymake-check-file-limit):
3355 Allow nil to mean "no limit".
3356 (flymake-check-patch-master-file-buffer): Update for above change.
3357 Allow a .tex file-name extension to be optional.
3358 (flymake-master-tex-init): Also match \include statements.
3360 2010-11-30 Sam Steingold <sds@gnu.org>
3362 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3363 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3364 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3365 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3366 define-derived-mode').
3367 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3368 users who want to call `nxml-parent-document-set'.
3370 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3372 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3373 stand-alone lines, since that is handled by log-edit-match-to-eoh
3376 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3378 * dired.el (dired-get-filename): Replace backslashes with slashes
3379 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3380 * locate.el (locate-default-make-command-line): Don't consider
3381 drive letter and root directory part of
3382 `directory-listing-before-filename-regexp'. (Bug#7308)
3383 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3385 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3387 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3388 of :smie-open/close-alist.
3389 (smie-next-sexp): Make it accept a "start token" as argument.
3390 (smie-indent-keyword): Be careful not to misidentify tokens that span
3391 more than one line, as empty lines. Add argument `token'.
3393 2010-11-27 Kenichi Handa <handa@m17n.org>
3395 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3396 multipart subtypes, insert all as usual.
3398 * mail/rmail.el: Require rfc2047.
3400 2010-11-27 Kenichi Handa <handa@m17n.org>
3402 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3403 (rmail-mime-entity-disposition)
3404 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3405 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3406 (rmail-mime-save): Handle the case that the button's `data' is a
3408 (rmail-mime-insert-text): New function.
3409 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3410 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3411 (rmail-mime-insert-bulk): New function mostly copied from the old
3412 rmail-mime-bulk-handler.
3413 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3414 (rmail-mime-process-multipart): New function mostly copied from
3415 the old rmail-mime-multipart-handler.
3416 (rmail-mime-show): Just call rmail-mime-process.
3417 (rmail-mime-process): New function mostly copied from the old
3419 (rmail-mime-insert-multipart, rmail-mime-parse)
3420 (rmail-mime-insert, rmail-show-mime)
3421 (rmail-insert-mime-forwarded-message)
3422 (rmail-insert-mime-resent-message): New functions.
3423 (rmail-insert-mime-forwarded-message-function): Set to
3424 rmail-insert-mime-forwarded-message.
3425 (rmail-insert-mime-resent-message-function): Set to
3426 rmail-insert-mime-resent-message.
3428 * mail/rmailsum.el: Require rfc2047.
3429 (rmail-header-summary): Handle multiline Subject: field.
3430 (rmail-summary-line-decoder): Change the default to
3431 rfc2047-decode-string.
3433 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3434 (rmail-mime-feature): Change the default to `rmailmm'.
3435 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3436 (rmail-display-labels): Likewise.
3437 (rmail-show-message-1): Check rmail-enable-mime, and use
3438 rmail-show-mime-function for a MIME message. Decode the headers
3439 according to RFC2047.
3441 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3443 * progmodes/which-func.el (which-func-imenu-joiner-function):
3444 Return a string, as expected.
3445 (which-function-mode): Make sure we stop any previous timer before
3448 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3450 * net/tramp.el (tramp-default-method-alist)
3451 (tramp-default-user-alist, tramp-default-proxies-alist):
3452 Adapt custom options type. (Bug#7445)
3454 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3456 * progmodes/python.el: Add Ipython support (Bug#5390).
3457 (python-shell-prompt-alist)
3458 (python-shell-continuation-prompt-alist): New options.
3459 (python--set-prompt-regexp): New function.
3460 (inferior-python-mode, run-python, python-shell):
3461 Require ansi-color. Use python--set-prompt-regexp to set the comint
3462 prompt based on the Python interpreter.
3463 (python--prompt-regexp): New var.
3464 (python-check-comint-prompt)
3465 (python-comint-output-filter-function): Use it.
3466 (run-python): Use a pipe (Bug#5694).
3468 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3470 * progmodes/python.el (run-python): Doc fix.
3471 (python-keep-current-directory-in-path): New var (Bug#7454).
3473 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3475 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3476 Prompt user before actually printing.
3478 2010-11-27 Glenn Morris <rgm@gnu.org>
3480 * startup.el (package-enable-at-startup, package-initialize):
3481 Remove unnecessary declarations.
3483 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3485 * international/characters.el (glyphless-char-display-control):
3486 Exclude newline and TAB from the c0-control group.
3488 2010-11-27 Glenn Morris <rgm@gnu.org>
3490 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3491 (expand-mail-aliases): Remove unnecessary autoload.
3493 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3495 * shell.el (shell-dir-cookie-re): Move definition before use.
3497 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3498 Replace undefined CL functions.
3500 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3502 * simple.el (prog-mode): Set bidi-paragraph-direction to
3505 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3507 2010-11-26 Glenn Morris <rgm@gnu.org>
3509 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3510 diary-outlook-formats can be sensitive to calendar-date-style.
3511 (diary-outlook-formats): Simplify the default setting.
3512 (diary-from-outlook-internal): Pass subject and body as arguments.
3513 Use dolist rather than dotimes. Don't save the diary buffer.
3514 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3515 Pass subject and body as explicit arguments to the -internal function.
3517 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3519 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3520 parsing them. This makes mailto:...?subject=foo\nbar work.
3522 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3524 * vc/diff.el (diff): Fix last change.
3526 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3528 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3529 (pcase--dontcare-upats): New var.
3530 (pcase-let, pcase-let*): Generate better code.
3531 Accept the same bodies as `let'.
3532 (pcase-dolist): New macro.
3533 (pcase--trivial-upat-p): New helper function.
3534 (pcase--expand): Strip leading "(let nil" if any.
3536 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3538 * mail/mailclient.el (browse-url): Require.
3539 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3540 use the external browser function to send the mail (bug#7469).
3542 * net/browse-url.el (browse-url-browser-function): Revert the
3543 default back to the previous value, since the new value broke
3545 (browse-url-mailto-function): New variable for mailto: URLs.
3546 (browse-url): Use the new variable for mailto: URLs.
3548 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3550 * eshell/esh-cmd.el (eshell-parse-command):
3551 * eshell/esh-arg.el (eshell-parse-arguments):
3552 * eshell/em-script.el (eshell-source-file):
3553 Use with-silent-modifications.
3555 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3557 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3558 for a merge location.
3560 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3561 (vc-bzr-merge-branch): Always prompt.
3562 (vc-bzr-async-command): Use the full branch filename.
3564 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3566 * shell.el (shell): Use current-buffer by default if it's already
3567 a shell mode buffer and its process is dead.
3568 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3570 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3572 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3573 Mention that the keywords should be comma separated.
3575 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3577 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3578 Accept optional prefix arg meaning to prompt for a command.
3579 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3580 prefix arg meaning to prompt for a command.
3581 (vc-pull): Alias for vc-update.
3583 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3584 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3585 (vc-bzr-merge-branch): New functions, implementing merge-branch
3586 and pull operations.
3588 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3590 * Makefile.in: Fix up last merge.
3592 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3593 (diff-sentinel): Get them as arguments instead.
3594 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3595 (diff-file-local-copy, diff-better-file-name): New funs.
3596 (diff-no-select): Rename from diff-into-buffer.
3597 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3598 Prefer closures to buffer-local variables.
3599 (diff): Adjust accordingly.
3600 (diff-buffer-with-file): Move from files.el.
3601 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3602 (diff-buffer-internal): Remove.
3603 (diff-buffer-buffer): Remove.
3604 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3605 the buffer name used, and so as not to mess up windows and frames.
3607 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3609 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3610 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3611 (diff-buffer-with-file): Use it.
3612 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3615 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3617 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3618 \ref's or \pageref's value as default instead of initial input.
3620 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3622 * files.el (backup-by-copying-when-mismatch): The default value is
3625 * startup.el (normal-top-level):
3626 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3627 `backup-by-copying-when-mismatch'.
3629 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3631 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3633 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3635 * progmodes/python.el (python-font-lock-keywords):
3636 Highlight top-level augmented assignments (Bug#6445).
3638 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3640 * term/ns-win.el (ns-right-control-modifier)
3641 (ns-right-command-modifier): Defvar them.
3643 * cus-start.el (all): Add ns-right-control-modifier and
3644 ns-right-command-modifier (Bug#7458).
3646 2010-11-20 Glenn Morris <rgm@gnu.org>
3648 * emacs-lisp/authors.el (authors-ignored-files)
3649 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3651 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3653 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3654 (report-emacs-bug-parse-query-results)
3655 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3656 keywords used for querying the bug database to show them in the
3657 existing bugs buffer.
3659 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3661 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3663 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3665 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3667 * international/characters.el (glyphless-char-display-control):
3668 Make it a defcustom, with update-glyphless-char-display as its
3670 (top level): Don't call update-glyphless-char-display.
3672 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3674 Sync with Tramp 2.2.0.
3676 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3677 `file-remote-p' (due to compatibility).
3679 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3680 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3682 * net/trampver.el: Update release number.
3684 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3686 * faces.el (glyphless-char): Define value for `pc'.
3688 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3690 Implemented a bug querying mechanism.
3691 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3692 (report-emacs-bug-create-existing-bugs-buffer)
3693 (report-emacs-bug-parse-query-results)
3694 (report-emacs-bug-query-existing-bugs): New functions.
3696 2010-11-19 Martin Rudalics <rudalics@gmx.at>
3698 * window.el (display-buffer-same-frame-specifiers)
3699 (display-buffer-other-window-same-frame-specifiers): New
3701 (display-buffer): Call display-buffer-function if it's non-nil.
3702 (display-buffer-same-window, display-buffer-other-window)
3703 (pop-to-buffer-other-window, switch-to-buffer-other-window):
3705 (display-buffer-same-frame)
3706 (display-buffer-other-window-same-frame)
3707 (pop-to-buffer-same-frame)
3708 (pop-to-buffer-other-window-same-frame)
3709 (switch-to-buffer-same-frame)
3710 (switch-to-buffer-other-window-same-frame): New functions.
3711 (display-buffer-function): Un-obsolete.
3713 * bookmark.el (bookmark-bmenu-2-window): Use
3714 pop-to-buffer-other-window.
3715 (bookmark-bmenu-switch-other-window): Use
3716 display-buffer-other-window.
3718 * progmodes/etags.el (find-tag-other-window): New argument
3719 other-frame. Call either pop-to-buffer-other-window or
3720 pop-to-buffer-other-frame.
3721 (find-tag-other-frame): Call find-tag-other-window with
3722 other-frame argument t.
3724 * speedbar.el (speedbar-find-file-in-frame)
3725 (speedbar-buffer-click): Use pop-to-buffer-other-frame.
3727 * term/ns-win.el (ns-find-file): Use pop-to-buffer-other-frame.
3729 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
3731 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3732 a \ref{} or \pageref{} macro, then use its value as initial input.
3734 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3736 * calc/calc-units.el (math-build-units-table-buffer):
3737 calc/README: Mention that the TeX specific units won't use the
3738 `tex' prefix in TeX mode.
3739 calc/calc-lang.el (math-variable-table): Don't use the `tex'
3740 prefix for units in TeX mode.
3742 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3744 * simple.el (kill-new, kill-append, kill-region):
3745 * comint.el (comint-kill-region): Make the yank-handler argument
3748 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3750 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3751 that are both openers (resp. closers) and something else.
3752 (smie-grammar): Loosen definition of valid values.
3753 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3754 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3755 (smie-indent-after-keyword): Adjust users.
3756 (smie-indent-keyword): Don't indent empty lines.
3758 * vc-hg.el (vc-hg-program): New var.
3759 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3760 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3762 2010-11-18 Glenn Morris <rgm@gnu.org>
3764 * emacs-lisp/autoload.el (autoload-find-destination): The function
3765 coding-system-eol-type may return non-numeric values. (Bug#7414)
3767 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
3769 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3771 2010-11-18 Eli Zaretskii <eliz@gnu.org>
3773 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
3775 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
3777 * textmodes/picture.el (picture-mouse-set-point): Don't use
3778 posn-col-row; explicitly compute the motion based on the posn at
3779 the window-start (Bug#7390).
3781 2010-11-18 Glenn Morris <rgm@gnu.org>
3783 * novice.el (disabled-command-function):
3784 Fix 2009-11-15 change. (Bug#7384)
3786 2010-11-18 Glenn Morris <rgm@gnu.org>
3788 * calendar/calendar.el (diary-iso-date-forms): Make elements
3789 mutually exclusive. (Bug#7377)
3791 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3793 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3794 when filling the remaining "unconstrained" values.
3796 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3798 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3801 * files.el (safe-local-variable-p): Gracefully handle errors.
3803 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3804 Use smie-indent-virtual when indenting relative to an opener.
3805 (smie-rule-separator): Use smie-rule-parent.
3806 (smie-indent-keyword): Consult rules, even for openers at bol.
3807 (smie-indent-comment-close): Try to align closer's content.
3809 2010-11-18 Glenn Morris <rgm@gnu.org>
3811 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3813 2010-11-18 Glenn Morris <rgm@gnu.org>
3815 * printing.el (pr-menu-bind): Doc fix.
3817 * speedbar.el (speedbar-toggle-images): Doc fix.
3819 * progmodes/python.el (python-shell): Doc fix.
3821 * wid-edit.el (widget-field-use-before-change)
3822 (widget-use-overlay-change): Doc fixes.
3824 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3826 Minor cleanup to improve style.
3827 * textmodes/rst.el (rst-update-section): Use point-marker.
3828 (rst-get-decoration): Eliminate unneeded assignment.
3829 (rst-promote-region, rst-straighten-decorations)
3830 (rst-section-tree, rst-adjust): Use point-marker.
3831 (rst-toc-mode-mouse-goto): Avoid setq.
3832 (rst-shift-region-guts, rst-shift-region-left)
3833 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3834 (rst-convert-bullets-to-enumeration): Use copy-marker.
3836 * minibuffer.el (completion-fail-discreetly): New var.
3837 (completion--do-completion): Use it.
3839 * electric.el (electric-pair-pairs): New var.
3840 (electric-pair-post-self-insert-function): Use it.
3841 (electric-layout-post-self-insert-function): Don't insert a before
3842 newline unless it's actually needed.
3844 2010-11-17 Martin Rudalics <rudalics@gmx.at>
3846 * window.el (display-buffer-split-window-1): Fix sizing for
3847 internal windows which got broken by the last fix.
3849 * progmodes/compile.el (compilation-minor-mode-map)
3850 (compilation-mode-map): Replace bindings for quit-window by
3851 bindings for quit-restore-window.
3853 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3855 * progmodes/python.el (run-python): Explain why we remove the current
3856 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3858 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3860 2010-11-16 Martin Rudalics <rudalics@gmx.at>
3862 * window.el (display-buffer-split-window-1)
3863 (display-buffer-split-window): Rewrite so that windows are
3864 always split evenly.
3866 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3868 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3869 (octave-mode-map): Don't bind ;, SPC, and LF.
3870 (octave-auto-indent, octave-auto-newline): Remove.
3871 (electric-layout-rules): Declare.
3872 (octave-mode): Set electric-layout-rules.
3873 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3874 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3875 (octave-electric-space): Remove.
3877 * electric.el (electric-layout-mode): New minor mode.
3878 (electric--after-char-pos): New function.
3879 (electric-indent-post-self-insert-function): Use it.
3880 (electric-layout-rules): New var.
3881 (electric-layout-post-self-insert-function): New function.
3882 (electric-indent-mode): Make them interact better.
3884 2010-11-15 Martin Rudalics <rudalics@gmx.at>
3886 * minibuffer.el (minibuffer-completion-help): Don't mark window
3887 as dedicated, the quit-restore parameter should take care of
3888 deleting the window.
3889 (minibuffer-hide-completions): Use quit-restore-window instead
3892 * window.el (display-buffer-split-window-1): Remove max-size
3893 argument and corresponding code.
3894 (display-buffer-split-window): Remove handling of max-height and
3895 max-width specifiers. Restore the pre Emacs 24 behavior where a
3896 single-window frame could be split ignoring the min-height
3897 specifier (then split-height-threshold value). For the
3898 horizontal splitting, side equalling nil case call
3899 display-buffer-split-window-1 with side argument set to 'right
3900 instead of 'below, fixing a bug spotted by Štěpán Němec.
3902 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3904 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3905 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3906 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3908 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3910 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3911 Make sure to check inside the word (Bug#6761).
3913 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3915 * startup.el (command-line): If the cursorColor resource is set,
3916 change the cursor face-spec (Bug#7392).
3918 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3920 The main features of the following allout.el changes are:
3921 - implement user customization for the allout key bindings
3922 - add a customization control by which the user can inhibit use of
3923 a trailing Ctrl-H, so by default it's reserved for use with
3924 describe-prefix-bindings
3925 - adapt to new version of called-interactively-p, while
3926 maintaining backwards compatibility with old version
3927 - fix hotspot navigation so i works properly with meta-modified keys
3929 * allout.el (allout-keybindings, allout-bind-keys)
3930 (allout-keybindings-binding, allout-prefixed-keybindings)
3931 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3932 (allout-keybindings-list, allout-mode-map-adjustments)
3933 (allout-setup-mode-map): Establish allout-mode keymaps as user
3934 customizable settings, and also establish a customizable setting which
3935 regulates whether or not a trailing control-h is reserved for use with
3936 describe-prefix-bindings - and inhibit it by default, so that control-h
3937 *is* reserved for describe-prefix-bindings unless the user changes it.
3939 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3940 and accurately between modified and unmodified events, and handle
3941 modified events more comprehensively.
3943 * allout.el (allout-substring-no-properties):
3944 Alias to use or provide version of `substring-no-properties'.
3945 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3947 * allout.el (allout-next-single-char-property-change):
3948 Alias to use or provide version of `next-single-char-property-change'.
3949 (allout-annotate-hidden, allout-hide-by-annotation):
3950 Use `allout-next-single-char-property-change'.
3952 * allout.el (allout-select-safe-coding-system):
3953 Alias to use or provide version of `select-safe-coding-system'.
3954 (allout-toggle-subtree-encryption):
3955 Use `allout-select-safe-coding-system'.
3957 * allout.el (allout-set-buffer-multibyte):
3958 Alias to use or provide version of `set-buffer-multibyte'.
3959 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3961 * allout.el (allout-called-interactively-p): Macro for using the
3962 different versions of called-interactively-p identically, depending on
3963 the subroutine's argument signature.
3964 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3965 Use `(interactive "p")' instead of `(called-interactively-p)'.
3967 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3968 (allout-previous-visible-heading, allout-forward-current-level)
3969 (allout-backward-current-level, allout-show-children):
3970 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3972 * allout.el (allout-before-change-handler):
3973 Exempt edits to the (overlaid) character after the allout outline
3974 bullet from edit confirmation prompt.
3976 * allout.el (allout-add-resumptions):
3977 Ensure that it respects correct buffer for keybindings.
3979 * allout.el (allout-beginning-of-line):
3980 Use `allout-previous-single-char-property-change' alias for the sake of
3981 diverse compatibility.
3983 * allout.el (allout-end-of-line):
3984 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3986 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3988 * frame.el (frame-notice-user-settings): Don't clobber other
3989 user-set parameters when calling face-set-after-frame-default in
3990 response to background-color parameter (Bug#7373).
3992 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3994 * international/characters.el (glyphless-char-display-control):
3995 Rename from glyphless-char-control; all users changed. Doc fix.
3996 Signal an error if display method is not one of the recognized
3999 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4001 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4002 (tramp-compat-line-end-position): Remove them.
4004 * net/tramp.el (tramp-parse-rhosts-group)
4005 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4006 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4007 (tramp-parse-netrc-group, tramp-parse-putty-group)
4008 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4009 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4010 (tramp-sh-handle-file-selinux-context)
4011 (tramp-sh-handle-file-name-all-completions)
4012 (tramp-sh-handle-insert-directory)
4013 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4014 (tramp-wait-for-output, tramp-send-command-and-read)
4015 * net/tramp-smb.el (tramp-smb-read-file-entry)
4016 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4018 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4020 (tramp-remote-coding-commands): Add an alternative using "base64
4021 -d -i". This is needed for older base64 versions from GNU
4022 coreutils. Reported by Klaus Reichl
4023 <Klaus.Reichl@thalesgroup.com>.
4025 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4027 * simple.el (count-words-region): New function.
4029 2010-11-12 Martin Rudalics <rudalics@gmx.at>
4031 * window.el (display-buffer): Write check for dedicatedness
4032 correctly in the same-window section.
4033 (get-mru-window): Fix doc-string typo.
4035 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4037 * shell.el (shell-dir-cookie-re): New custom variable.
4038 (shell-dir-cookie-watcher): New function.
4040 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4041 and compilation-mode (bug#7350).
4043 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4044 highlight when one of them is empty.
4046 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4048 (skeleton-newline): New function.
4049 (skeleton-internal-1): Use it.
4051 * simple.el (open-line): `newline' may strip trailing space.
4053 2010-11-12 Kevin Ryde <user42@zip.com.au>
4055 * international/mule-cmds.el (princ-list): Use mapc.
4057 2010-11-12 Glenn Morris <rgm@gnu.org>
4059 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4060 Use it to replace all instances of "*Compile-Log*"
4062 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4064 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4067 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4069 * progmodes/modula2.el: Use SMIE and skeleton.
4070 (m2-mode-syntax-table): (*..*) can be nested.
4071 Add //...\n. Fix paren syntax.
4072 (m2-mode-map): Remove LF and TAB bindings.
4073 (m2-indent): Add safety property.
4074 (m2-smie-grammar): New var.
4075 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4076 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4077 (m2-mode): Use define-derived-mode.
4078 (m2-newline, m2-tab): Remove.
4079 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4080 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4081 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4082 (m2-import): Use define-skeleton.
4084 2010-11-11 Glenn Morris <rgm@gnu.org>
4086 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4088 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4089 (ls-lisp-verbosity): Add custom :set-after property.
4090 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4091 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4092 (ls-lisp-insert-directory): Update caller.
4093 (ls-lisp-set-options): New function.
4094 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4097 * play/landmark.el (lm-prompt-for-move):
4098 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4100 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4102 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4103 (idlwave-study-twins): Prefix dynamic local variable `name'.
4104 (idlwave-routine-twin-compare): Update for above change.
4106 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4107 Prefix dynamic local variables `name', `kwd', and `link'.
4108 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4109 * progmodes/idlw-complete-structtag.el
4110 (idlwave-complete-structure-tag-help):
4111 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4112 (idlwave-complete-sysvar-tag-help)
4113 (idlwave-complete-class-structure-tag-help):
4114 Update for above name changes.
4116 2010-11-10 Martin Rudalics <rudalics@gmx.at>
4118 * help.el (with-help-window): In doc-string say how to set up
4119 temp-buffer-show-specifiers.
4121 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4122 (isearch-describe-key, isearch-describe-mode): Replace bindings
4123 for same-window-buffer-names and same-window-regexps by binding
4124 temp-buffer-show-specifiers instead.
4126 * international/mule-diag.el (mule-diag):
4127 * calc/calc-help.el (calc-describe-key, calc-full-help):
4128 * printing.el (pr-show-setup):
4129 * progmodes/python.el (python-describe-symbol):
4130 * textmodes/table.el (*table--cell-describe-mode)
4131 (*table--cell-describe-bindings):
4132 * tutorial.el (tutorial--describe-nonstandard-key)
4133 (tutorial--detailed-help):
4134 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
4135 * play/yow.el (apropos-zippy): Use with-help-window.
4137 * apropos.el (apropos-command): Remove the message calculation part.
4138 (apropos-print): Use with-help-window
4140 * woman.el (woman-mini-help): Remove the message calculation part.
4141 (woman-display-extended-fonts): Use with-help-window.
4143 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4145 * net/browse-url.el (browse-url-browser-function): Change the
4146 default to use `browse-url-mail' on mailto: URLs.
4148 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4150 * emacs-lisp/package.el (package-read-all-archive-contents):
4151 Reset package-archive-contents to nil before re-reading.
4153 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4155 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4156 already found as misspellings by (flyspell-large-region), just
4157 do highlighting (bug#7322).
4159 2010-11-10 Glenn Morris <rgm@gnu.org>
4161 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4163 * emulation/edt.el (edt-with-position): New macro.
4164 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4165 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4166 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4168 * emulation/tpu-extras.el (tpu-with-position): New macro.
4169 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4171 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4173 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4174 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4175 (texinfo-master-menu, texinfo-insert-node-lines)
4176 (texinfo-multiple-files-update):
4177 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4178 Use line-beginning-position.
4180 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4181 No recent Emacs supports system-type `emx'.
4183 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4184 (ada-command-separator, ada-default-prj-properties)
4185 (ada-find-any-references): Update for above name change.
4187 * dirtrack.el (dirtrack-directory-function)
4188 (dirtrack-canonicalize-function):
4189 * filecache.el (file-cache-completion-ignore-case)
4190 (file-cache-case-fold-search, file-cache-ignore-case):
4191 * term.el (serial-port-is-file-p): Cosmetic change.
4193 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4194 Remove non-existent `windows-95' system-type.
4195 * dired.el (dired-chown-program): Remove non-existent `linux'
4198 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4199 (ping-program-options): Remove non-existent `linux' system-type.
4201 * startup.el (package-initialize): Update declaration.
4203 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4204 (ls-lisp-handle-switches): Use time-less-p.
4205 (ls-lisp-format-time): Use float-time.
4207 * textmodes/remember.el (remember-time-to-seconds): Remove.
4208 (remember-store-in-mailbox): Use float-time.
4210 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4212 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4213 never a real function.
4214 (with-no-warnings): Remove compat stub, now unused.
4215 (time-less-p): Doc fix.
4216 (time-to-number-of-days): Simplify.
4218 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4220 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4221 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4222 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4223 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4224 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4226 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4227 (eshell-shuffle-files, eshell-shorthand-tar-command)
4228 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4229 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4230 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4231 Prefix dynamic local variable `matches'.
4233 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4234 Prefix dynamic local variable `skeleton'.
4236 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4238 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4239 in mail buffer; make yank-action always a command that yanks original
4242 2010-11-09 Glenn Morris <rgm@gnu.org>
4244 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4246 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4248 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4249 completion field (bug#7211).
4251 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4252 Fix handling of backslash escapes.
4253 (python-quote-syntax): Adjust accordingly.
4255 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4257 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4258 (vc-mtn-workfile-branch): Adjust to new output format.
4260 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4262 * international/mule-cmds.el (princ-list): Mark as obsolete.
4264 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4266 * emacs-lisp/smie.el: New package.
4268 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4270 * files.el (backup-by-copying-when-mismatch):
4271 Set `permanent-local' property.
4273 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4274 `permanent-local' property for `backup-by-copying-when-mismatch'.
4276 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4278 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4280 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4282 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4283 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4284 AUTOINOUT for SV style multidimensional arrays, bug294.
4285 Reported by Eric Mastromarchi.
4286 (verilog-preprocess): Use with-current-buffer and
4287 font-lock-fontify-buffer to cleanup style issues.
4289 2010-11-09 Glenn Morris <rgm@gnu.org>
4291 * locate.el (locate, locate-mode): Doc fixes.
4293 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4295 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4296 user for confirmation.
4297 (server-force-stop): Use it.
4298 (server-start): Use server-force-stop for kill-emacs-hook, to
4299 avoid user interaction while killing Emacs.
4301 2010-11-09 Glenn Morris <rgm@gnu.org>
4303 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4304 (meta-indent-line): Simplify.
4306 * vc/emerge.el (emerge-line-number-in-buf):
4307 * textmodes/ispell.el (ispell-region):
4308 * textmodes/fill.el (current-fill-column):
4309 * progmodes/xscheme.el (xscheme-send-current-line):
4310 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4311 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4312 * progmodes/sh-script.el (sh-handle-prev-do):
4313 * progmodes/meta-mode.el (meta-indent-line):
4314 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4316 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4317 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4318 * progmodes/fortran.el (fortran-looking-at-if-then):
4319 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4320 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4321 (cperl-find-pods-heres):
4322 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4323 * net/quickurl.el (quickurl-list-insert):
4324 * net/ldap.el (ldap-search-internal):
4325 * net/eudc.el (eudc-expand-inline):
4326 * mail/sendmail.el (sendmail-send-it):
4327 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4328 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4329 (viper-brac-function):
4330 * calc/calc-yank.el (calc-do-grab-region):
4331 * calc/calc-keypd.el (calc-keypad-press):
4332 * term.el (term-move-columns, term-insert-spaces):
4333 * speedbar.el (speedbar-highlight-one-tag-line):
4334 * simple.el (current-word):
4335 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4336 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4338 * hippie-exp.el (he-line-beg):
4339 * epa.el (epa--marked-keys):
4340 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4341 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4342 (dired-relist-entry):
4343 * buff-menu.el (Buffer-menu-buffer):
4344 * array.el (current-line):
4345 * allout.el (allout-resolve-xref)
4346 (allout-latex-verbatim-quote-curr-line):
4347 Replace yet more uses of end-of-line etc with line-end-position, etc.
4349 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4351 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4352 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4353 (checkdoc-syntax-table): Initialize in the declaration.
4354 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4355 the mode on unconditionally.
4357 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4358 (extent-end-position, extent-start-position): Remove setf method for
4359 non-existing functions (bug#7319).
4361 2010-11-07 Martin Rudalics <rudalics@gmx.at>
4363 * ielm.el (top-level): Remove autoloaded add-hook for
4364 same-window-buffer-names.
4365 (ielm): Use pop-to-buffer-same-window.
4367 * progmodes/inf-lisp.el (inferior-lisp): Use
4368 pop-to-buffer-same-window.
4369 (top-level): Remove autoloaded add-hook for
4370 same-window-buffer-names.
4371 (switch-to-lisp): Use pop-to-buffer with tailored specifiers.
4373 * replace.el (occur-mode-goto-occurrence): Use
4374 pop-to-buffer-other-window.
4375 (occur-mode-display-occurrence): Use
4376 display-buffer-other-window.
4378 * shell.el (shell): Use pop-to-buffer-same-window.
4379 (top-level): Remove autoloaded add-hook for
4380 same-window-buffer-names.
4382 * net/rlogin.el: (top-level): Remove autoloaded add-hook for
4383 same-window-regexps.
4384 (rlogin): Use pop-to-buffer-same-window.
4386 * net/telnet.el (top-level): Remove two autoloaded add-hooks for
4387 same-window-regexps.
4388 (telnet, rsh): Use pop-to-buffer-same-window.
4390 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4392 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4393 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4394 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4395 (smie-prec2->grammar): Rename from smie-prec2-levels.
4396 (smie-grammar): Rename from smie-op-levels.
4397 (smie-indent--hanging-p): Rename from smie-hanging-p.
4398 (smie-rule-hanging-p): New alias.
4399 (smie-indent--bolp): Rename from smie-bolp.
4400 (smie-indent--hanging-p): New alias.
4401 (smie--token): New dynamically bound variable.
4402 (smie-indent--parent): New function.
4403 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4404 (smie-rule-next-p): Rename from smie-next-p.
4405 (smie-rule-prev-p): Rename from smie-prev-p.
4406 (smie-rule-sibling-p, smie-rule-parent)
4407 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4408 (smie-rule-separator-outdent): New var.
4409 (smie-indent--rule): Merge with smie-indent--column.
4410 (smie-indent-forward-token, smie-indent-backward-token):
4411 Also recognize close parens.
4412 (smie-indent-keyword): Don't use smie-indent--column any more.
4413 (smie-indent-after-keyword): Ignore closers by default.
4414 (smie-indent-line): Use with-demoted-errors.
4415 * progmodes/octave-mod.el (octave-smie-grammar):
4416 Rename from octave-smie-op-levels.
4417 (octave-smie-rules): Adjust to new behavior.
4418 * progmodes/prolog.el (prolog-smie-grammar):
4419 Rename from prolog-smie-op-levels.
4421 2010-11-07 Glenn Morris <rgm@gnu.org>
4423 * eshell/esh-util.el (subst-char-in-string)
4424 (directory-files-and-attributes): These compatibility definitions are
4425 not needed on any version of Emacs since at least 21.4.
4427 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4428 (verilog-get-end-of-line): Remove.
4429 (verilog-within-string, verilog-re-search-forward-substr)
4430 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4431 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4432 Use point-at-bol, point-at-eol.
4433 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4435 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4436 (electric-pascal-terminate-line, pascal-set-auto-comments)
4437 (pascal-indent-paramlist, pascal-indent-declaration)
4438 (pascal-get-lineup-indent, pascal-func-completion)
4439 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4440 Use point-at-bol, point-at-eol.
4441 * progmodes/flymake.el (flymake-line-beginning-position)
4442 (flymake-line-end-position): Remove.
4443 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4444 * eshell/esh-util.el (line-end-position, line-beginning-position):
4445 Remove compat definitions.
4447 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4449 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4450 Use line-end-position.
4452 * emacs-lisp/chart.el (chart-zap-chars):
4453 * play/decipher.el (decipher-set-map):
4454 * progmodes/ada-mode.el (ada-get-current-indent)
4455 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4456 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4457 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4458 (ada-get-all-references):
4459 * progmodes/cperl-mode.el (cperl-electric-paren)
4460 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4461 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4462 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4463 (cperl-word-at-point-hard):
4464 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4465 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4466 (idlwave-shell-display-line):
4467 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4468 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4469 * progmodes/js.el (js--re-search-forward-inner)
4470 (js--re-search-backward-inner):
4471 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4472 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4473 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4474 * textmodes/flyspell.el (flyspell-process-localwords):
4475 * textmodes/ispell.el (ispell-buffer-local-parsing)
4476 (ispell-buffer-local-dict, ispell-buffer-local-words):
4477 Use point-at-bol and point-at-eol.
4479 * speedbar.el (speedbar-generic-item-info)
4480 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4481 (speedbar-add-indicator, speedbar-check-vc-this-line)
4482 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4483 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4484 Replace more uses of end-of-line etc with line-end-position.
4486 2010-11-06 Martin Rudalics <rudalics@gmx.at>
4488 * mail/sendmail.el (mail-bury): Do something similar to
4489 quit-restore-window.
4490 (top-level): Don't change same-window-buffer-names via add-hook
4492 (mail): Use pop-to-buffer-same-window.
4493 (mail-other-window): Use pop-to-buffer-other-window.
4494 (mail-other-frame): Use pop-to-buffer-other-frame.
4496 * simple.el (display-message-or-buffer): Rename argument FRAME
4497 to IGNORE because it's ignored. Change call to display-buffer
4499 (sendmail-user-agent-compose): Remove let bindings around call
4500 to switch-function; the latter should have been bound to an
4501 appropriate function already.
4502 (clone-buffer): Call pop-to-buffer-other-window.
4503 (clone-indirect-buffer): New semantices of display-flag
4505 (clone-indirect-buffer-other-window): Interactively set
4506 display-flag to 'other-window.
4508 * calendar/solar.el (sunrise-sunset): Use with-help-window instead
4509 of with-output-to-temp-buffer.
4511 * textmodes/bibtex.el (bibtex-search-entry): Use
4512 pop-to-buffer-same-window.
4514 * cmuscheme.el (run-scheme): Use pop-to-buffer-same-window.
4515 (top-level): Remove autoloaded add-hook for
4516 same-window-buffer-names.
4518 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4519 (eshell-remove-from-window-buffer-names): Remove.
4520 (eshell-unload-hook): Don't call
4521 eshell-remove-from-window-buffer-names.
4522 (eshell-buffer-name): Don't call
4523 eshell-remove-from-window-buffer-names and
4524 eshell-add-to-window-buffer-names.
4525 (top-level): Remove eshell-deftest call to check for
4526 same-window-buffer-names.
4527 (eshell): Call pop-to-buffer-same-window.
4529 * files.el (display-buffer-other-frame): Remove.
4531 2010-11-06 Glenn Morris <rgm@gnu.org>
4533 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4534 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4535 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4536 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4537 (texinfo-multiple-files-update):
4538 * textmodes/table.el (table--probe-cell-left-up)
4539 (table--probe-cell-right-bottom):
4540 * textmodes/picture.el (picture-tab-search):
4541 * textmodes/page-ext.el (pages-copy-header-and-position)
4542 (pages-directory-for-addresses):
4543 * progmodes/vera-mode.el (vera-get-offset):
4544 * progmodes/simula.el (simula-calculate-indent):
4545 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4546 * progmodes/prolog.el (end-of-prolog-clause):
4547 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4548 * progmodes/icon.el (indent-icon-exp):
4549 * progmodes/etags.el (tag-re-match-p):
4550 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4551 * progmodes/ebnf2ps.el (ebnf-begin-file):
4552 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4553 (dcl-save-local-variable):
4554 * play/life.el (life-setup):
4555 * play/gametree.el (gametree-looking-at-ply):
4556 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4557 * mail/sendmail.el (mail-mode-auto-fill):
4558 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4559 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4560 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4561 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4562 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4563 * type-break.el (type-break-file-keystroke-count):
4564 * term.el (term-replace-by-expanded-history-before-point)
4565 (term-skip-prompt, term-extract-string):
4566 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4567 (speedbar-contract-line, speedbar-toggle-line-expansion)
4568 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4569 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4570 * sort.el (sort-skip-fields):
4571 * skeleton.el (skeleton-internal-list):
4572 * simple.el (line-move-finish, line-move-to-column):
4573 * shell.el (shell-forward-command):
4574 * misc.el (copy-from-above-command):
4575 * makesum.el (double-column):
4576 * ebuff-menu.el (electric-buffer-update-highlight):
4577 * dired.el (dired-move-to-end-of-filename):
4578 * dframe.el (dframe-popup-kludge):
4579 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4580 * arc-mode.el (archive-get-lineno):
4581 Use line-end-position and line-beginning-position.
4583 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4584 (idlwave-study-twins): Prefix dynamic local `class'.
4585 (idlwave-routine-twin-compare): Update for above name change.
4587 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4588 Use boundp tests to silence compiler. Update for changed name of
4589 bytecomp-filename variable.
4591 * emulation/viper-cmd.el (viper-read-string-with-history):
4592 Prefix dynamic local `initial'.
4593 (viper-minibuffer-standard-hook): Update for above name change.
4595 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4596 (elint-init-form): Update for above name change.
4598 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4599 local variables `cbeg' and `cend' a prefix.
4600 (mail-extr-voodoo): Update for above name change.
4602 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4603 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4604 (reftex-toc-promote-action): Doc fix.
4606 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4607 `prompt', `data' a prefix.
4608 (reftex-select-post-command-hook, reftex-select-callback)
4609 (reftex-select-mouse-accept, reftex-select-read-cite):
4610 Update for above name changes.
4612 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4613 `refstyle' to reftex-refstyle.
4614 (reftex-offer-label-menu): Update for above name change.
4615 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4616 `refstyle' name change.
4618 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4619 with with-current-buffer.
4620 (diff, template): Give dynamic local variables a prefix.
4621 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4622 (emerge-line-number-in-buf): Update for above name change.
4623 (emerge-combine-versions-internal): Rename local `template' to
4624 emerge-combine-template.
4625 (emerge-combine-versions-edit): Update for above name change.
4627 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4629 * textmodes/reftex-cite.el
4630 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4631 entries with whitespace after \bibitem.
4632 (reftex-create-bibtex-file): Match entries containing numbers and
4633 symbol constituents. Make sure that entries with whitespace at
4634 various places are found.
4636 2010-11-05 Martin Rudalics <rudalics@gmx.at>
4638 * window.el (display-buffer-even-sizes)
4639 (display-buffer-adjust-height, display-buffer-adjust-width)
4640 (display-buffer-in-new-window, kill-buffer-and-window): Use
4641 ignore-errors instead of condition-case.
4643 * electric.el (Electric-pop-up-window): Use buffer display
4646 * emacs-lisp/elint.el (elint-display-log): Use
4647 display-buffer-other-window.
4649 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use buffer
4652 * printing.el (pr-file-list): Comment out bindings of
4653 pop-up-windows and pop-up-frames.
4655 * mail/reporter.el (reporter-submit-bug-report): Use
4656 pop-to-buffer-other-window and display specifiers.
4658 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4660 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4662 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4664 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4666 2010-11-05 Glenn Morris <rgm@gnu.org>
4668 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4669 (woman2-roff-buffer): Give local variable `request' a prefix.
4670 (woman0-macro): Rename argument `request' in the same way.
4671 (woman-request): New name for `request' dynamic variable.
4672 (woman-unquote, woman-forward-arg): Update for above name change.
4673 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4674 (woman1-unquote): New name for `unquote' dynamic variable.
4675 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4676 (woman-translations): Rename from `translations'. No longer global.
4677 (woman2-tr, woman-translate): Update for above name change.
4678 (woman-translate): Check for bound variable.
4679 (woman2-roff-buffer): Give local variable `translations' a prefix.
4681 * play/doctor.el: Give all local variables a prefix. Update callers.
4682 (doc$, doctor-put-meaning): Use backquote.
4684 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4685 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4687 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4688 variables bytes, ptr, op a prefix.
4689 (disassemble-offset): Update for above change.
4691 2010-11-04 Martin Rudalics <rudalics@gmx.at>
4693 * window.el (display-buffer-names, display-buffer-regexps): Make
4694 even-window-sizes a seperate specifier. Allow numbers and
4695 functions in the cdr of the adjust-height specifier and remove
4696 even-window-heights and the special handling of
4697 fit-window-to-buffer and shrink-window-if-larger-than-buffer.
4698 Add new specifier adjust-width similar to adjust-height.
4699 (display-buffer-normalize-specifiers-1): Fix typo.
4700 (display-buffer-even-sizes, display-buffer-adjust-height)
4701 (display-buffer-adjust-width): New functions to handle size
4702 adjustment of new window.
4703 (display-buffer-adjust-heights): Remove.
4704 (display-buffer-in-window): Don't call
4705 display-buffer-adjust-heights any more.
4706 (display-buffer-in-lru-buffer-window)
4707 (display-buffer-in-lru-window): Call display-buffer-even-sizes.
4708 (display-buffer-in-new-window): Use functionp instead of
4709 fboundp. Call display-buffer-adjust-height and
4710 display-buffer-adjust-width.
4711 (display-buffer): Use functionp instead of fboundp.
4712 (fit-window-to-buffer): Rename argument IGNORE to OVERRIDE.
4714 * progmodes/compile.el (compilation-start)
4715 (compilation-goto-locus): Use adjust-height specifier in
4716 display-buffer calls.
4718 * buff-menu.el (Buffer-menu-switch-other-window)
4719 (Buffer-menu-2-window): Use buffer display specifiers.
4721 * cus-edit.el (top-level): Remove autoloaded add-hook for
4722 same-window-regexps.
4723 (customize-group, customize-face): New optional argument
4724 OTHER-WINDOW. Use buffer display specifiers. Call
4725 custom-buffer-create with OTHER-WINDOW argument t.
4726 (customize-group-other-window): Call customize-group with
4727 OTHER-WINDOW argument t.
4728 (customize-face-other-window): Call customize-face with
4729 OTHER-WINDOW argument t.
4730 (custom-buffer-create): New optional argument OTHER-WINDOW.
4731 (custom-buffer-create-other-window): Call
4732 pop-to-buffer-other-window.
4733 (customize-browse): Call pop-to-buffer-same-window.
4735 * play/decipher.el (decipher-display-range): Use
4736 pop-to-buffer-other-window.
4737 (decipher-display-stats-buffer): Use
4738 display-buffer-other-window.
4740 * vc/ediff-util.el (ediff-clone-buffer-for-region-comparison):
4741 Use pop-to-buffer-other-window.
4743 * ehelp.el (with-electric-help): Use pop-to-buffer-other-window.
4745 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4747 * emacs-lisp/package.el (package-unpack): Remove no-op.
4748 (package--builtins, package--dir): Doc fix.
4749 (package-activate-1, package-activate, package-install)
4750 (package-compute-transaction): Fix error message.
4751 (package-delete): Use delete-directory. Omit system packages.
4752 (package-initialize): Set package-alist to nil first.
4753 (package-menu-mark-delete, package-menu-mark-install): Don't add
4754 symbols that are inconsistent with the package state.
4755 (package-menu-execute): Perform deletions and installations as
4756 single batch operations.
4758 2010-11-03 Glenn Morris <rgm@gnu.org>
4760 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4761 (props): Remove unnecessary declaration.
4763 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4764 set-process-query-on-exit-flag.
4766 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4767 (reftex-toc-do-promote): Remove unused local `mpos'.
4768 (reftex-toc-restore-region): Make `mpos' local to this function.
4770 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4772 * play/landmark.el (lm-losing-threshold): Correct spelling.
4773 (lm-human-plays): Use new name.
4775 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4776 (gomoku-human-plays): Use new name.
4778 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4779 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4780 (gomoku-score-trans-table, gomoku-winning-threshold)
4781 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4783 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4785 * emacs-lisp/package.el: Don't put built-in packages in
4786 package-alist, to avoid loading inefficiencies.
4787 (package-built-in-p): Make VERSION optional, and treat it as a
4788 minimum acceptable version.
4789 (package-activate): Search separately for built-in packages.
4790 Emit a warning if a dependency fails.
4791 (define-package): Handle most common case, where there is no
4792 obsolete package, first.
4793 (package-compute-transaction): Print required version in error.
4794 (package--initialized): New variable.
4795 (list-packages): Use it.
4796 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4797 built-in packages in packages-alist; keep it separate.
4798 Set package--initialized.
4799 (describe-package): Avoid activating packages as a side-effect.
4800 Search separately for built-in packages.
4801 (describe-package-1): Handle the case where an elpa package is
4802 simultaneously built-in and available/installed.
4803 (package-installed-p, package--generate-package-list):
4804 Search separately for built-in packages.
4805 (package-load-descriptor): Doc fix.
4807 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4809 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4810 Handle __DATA__ and __END__.
4812 2010-11-02 Martin Rudalics <rudalics@gmx.at>
4814 * window.el (display-buffer-names): Describe `not-this-window' and
4815 `not-this-frame' specifiers in doc-string.
4816 (display-buffer-in-lru-buffer-window)
4817 (display-buffer-in-lru-window, display-buffer-in-new-window):
4818 Handle `not-this-window' and `not-this-frame' specifiers when
4819 their cdr specifies a window or a frame.
4820 (display-buffer): Explain in doc-string that the cdr of the
4821 `not-this-window' and `not-this-frame' specifiers argument can
4824 * progmodes/compile.el (compilation-start): When displaying outbuf
4825 directly pass height parameters.
4826 (compilation-goto-locus): Use specifiers in display-buffer and
4827 pop-to-buffer calls. Simplify.
4828 (compilation-find-file): Use specifiers in display-buffer calls.
4830 2010-11-02 Noah Friedman <friedman@splode.com>
4832 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4833 nil, do not ask to recompile files that are not already compiled,
4834 and do not recompile them.
4836 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4838 * emacs-lisp/package.el (package-initialize): Ensure that
4839 obsoleted built-in packages are not in package-activated-list
4841 (describe-package-1): Make the "installed" status override
4844 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4846 * subr.el (version-separator, version-regexp-alist): Remove '*'
4848 (version-list-<=, version<=, version=): Doc fix.
4850 2010-11-01 Kenichi Handa <handa@m17n.org>
4852 * faces.el (glyphless-char): Inherit underline for tty.
4854 2010-11-01 Kenichi Handa <handa@m17n.org>
4856 Implement various display methods for glyphless characters.
4858 * international/characters.el (char-acronym-table): New variable.
4859 (glyphless-char-control): New variable.
4860 (update-glyphless-char-display): New function.
4862 * faces.el (glyphless-char): New face.
4864 2010-11-01 Glenn Morris <rgm@gnu.org>
4866 * calendar/holidays.el (general-holidays, oriental-holidays)
4867 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4868 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4869 the definitions of their targets.
4871 * emacs-lisp/smie.el (smie): New custom group.
4872 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4874 * faces.el (xw-defined-colors, x-setup-function-keys):
4875 * mouse-sel.el (x-select-text):
4876 * term/w32console.el (x-setup-function-keys): Update declarations.
4878 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4880 * textmodes/ispell.el (comment-add): Declare.
4882 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4885 * info.el (finder-keywords-hash, package-alist): Declare.
4887 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4889 * finder.el (finder-compile-keywords): Don't use intern-soft,
4890 since package names may not yet exist in the obarray.
4892 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4894 * vc/vc-arch.el (vc-arch-checkin):
4895 * vc/vc-cvs.el (vc-cvs-checkin):
4896 * vc/vc-mtn.el (vc-mtn-checkin):
4897 * vc/vc-rcs.el (vc-rcs-checkin):
4898 * vc/vc-sccs.el (vc-sccs-checkin):
4899 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4900 since 2010-04-21 commit by Stefan Monnier.
4902 2010-11-01 Glenn Morris <rgm@gnu.org>
4904 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4906 * startup.el (package-enable-at-startup, package-initialize):
4909 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4912 2010-10-31 Julien Danjou <julien@danjou.info>
4914 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4915 (byte-recompile-directory):
4916 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4917 Use `byte-recompile-file'.
4919 2010-10-31 Glenn Morris <rgm@gnu.org>
4921 * cus-start.el: Handle standard values via a keyword.
4922 Only set version property if specified.
4923 (cursor-in-non-selected-windows, menu-bar-mode)
4924 (tool-bar-mode, show-trailing-whitespace):
4925 Do not specify standard values.
4926 (transient-mark-mode, temporary-file-directory): Use :standard.
4928 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4930 * term/x-win.el (x-get-selection-value): New function that gets
4931 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4933 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4935 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4936 preserve owner and group when editing files. (Bug#7289)
4938 2010-10-31 Glenn Morris <rgm@gnu.org>
4940 * speedbar.el (speedbar-mode):
4941 * play/fortune.el (fortune-in-buffer, fortune):
4942 * play/gomoku.el (gomoku-mode):
4943 * play/landmark.el (lm-mode):
4944 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4945 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4947 * select.el (x-selection): Mark it as an obsolete alias.
4949 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4951 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4952 major-mode (bug#7284).
4954 2010-10-31 Glenn Morris <rgm@gnu.org>
4956 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4957 rather than just an unused variable that inherits from the real one.
4959 2010-10-31 Alan Mackenzie <acm@muc.de>
4961 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4962 This fixes bug #7185.
4964 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
4966 * startup.el (command-line): Search for package directories, and
4967 don't load package.el if none are found.
4969 * emacs-lisp/package.el (describe-package, list-packages):
4970 Call package-initialize if it has not been called yet.
4972 2010-10-30 Alan Mackenzie <acm@muc.de>
4974 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4975 which fontifies the tail of an enum.
4976 (c-basic-matchers-after): Insert a call to the above new function.
4977 This fixes bug #7264.
4979 2010-10-30 Glenn Morris <rgm@gnu.org>
4981 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4982 tool-bar-mode, transient-mark-mode. (Bug#7306)
4983 Include the :set property in the dumped Emacs.
4985 2010-10-30 Martin Rudalics <rudalics@gmx.at>
4987 * window.el (window-deletable-p, quit-restore-window): Adapt to
4988 new quit-restore semantics.
4989 (split-window-quit-restore): Remove.
4990 (split-window-vertically, split-window-horizontally):
4991 Unconditionally copy quit-restore parameter to new window.
4992 (display-buffer-names): Mention quit-restore window parameter.
4993 (display-buffer-window-and-buffer): Rename to
4994 display-buffer-window and rewrite doc-string.
4995 (display-buffer-in-window, display-buffer-in-lru-buffer-window)
4996 (display-buffer-in-lru-window, display-buffer-in-new-window)
4997 (display-buffer-in-new-frame, display-buffer): Move quit-restore
4998 parameter handling from display-buffer-in-window to the callers.
4999 Set display-buffer-window.
5001 * help.el (help-window-setup, with-help-window): Use
5002 display-buffer-window insted of display-buffer-window-and-buffer
5003 and adapt to new semantics of the former.
5005 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5007 SMIE: change indent rules format, improve smie-setup.
5008 * emacs-lisp/smie.el (smie-precs-precedence-table)
5009 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5010 Mark them pure so the tables gets built at compile time.
5011 (smie-bnf-precedence-table): Store the closer-alist in the table.
5012 (smie-prec2-levels): Preserve the closer-alist.
5013 (smie-blink-matching-open): Be more forgiving in case of indentation.
5014 (smie-hanging-p): Rename from smie-indent--hanging-p.
5015 (smie-bolp): Rename from smie-indent--bolp.
5016 (smie--parent, smie--after): New dynamic vars.
5017 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5018 (smie-indent-rules): Remove.
5019 (smie-indent--offset-rule): Remove fun.
5020 (smie-rules-function): New var.
5021 (smie-indent--rule): New fun.
5022 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5023 (smie-indent-exps): Use it.
5024 (smie-setup): Setup paren blinking; add keyword args for token
5025 functions; extract closer-alist from op-levels.
5026 (smie-indent-debug-log): Remove var.
5027 (smie-indent-debug): Remove fun.
5028 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5029 (prolog-smie-rules): New fun to replace it.
5030 (prolog-mode-variables): Simplify.
5031 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5032 it's setup automatically.
5033 (octave-smie-indent-rules): Remove.
5034 (octave-smie-rules): New fun to replace it.
5035 (octave-mode): Simplify.
5037 2010-10-29 Glenn Morris <rgm@gnu.org>
5039 * files.el (temporary-file-directory): Remove (already defined in C).
5040 * cus-start.el: Add temporary-file-directory.
5042 * abbrev.el (abbrev-mode):
5043 * composite.el (auto-composition-mode):
5044 * menu-bar.el (menu-bar-mode):
5045 * simple.el (transient-mark-mode):
5046 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5047 that they do not define the associated variables twice.
5048 * simple.el (transient-mark-mode): Remove defvar.
5049 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5050 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5051 Handle multiple groups, and also custom-delayed-init-variables.
5052 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5054 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5056 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5057 (pcase-if): Add one minor optimization.
5058 (pcase-split-equal): Rename from pcase-split-eq.
5059 (pcase-split-member): Rename from pcase-split-memq.
5060 (pcase-u1): Add strings to the member optimization.
5061 Add `guard' variant of predicates.
5062 (pcase-q1): Add string patterns.
5064 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5066 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5068 2010-10-28 Glenn Morris <rgm@gnu.org>
5070 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5071 Move menu-bar related settings to ../menu-bar.el.
5072 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5073 Move ns-specific settings here from term/ns-win.el.
5075 * simple.el (x-selection-owner-p): Remove unused declaration.
5077 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5079 * minibuffer.el (completion-cycling): New var (bug#7266).
5080 (minibuffer-complete, completion--do-completion):
5081 Use completion--flush-all-sorted-completions.
5082 (minibuffer-complete): Only cycle if completion-cycling is set.
5083 (completion--flush-all-sorted-completions): Unset completion-cycling.
5084 (minibuffer-force-complete): Set completion-cycling.
5085 (completion-all-sorted-completions): Move declaration before first use.
5087 2010-10-28 Leo <sdl.web@gmail.com>
5089 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5090 which changes the order of matches seen by users (bug#7231).
5092 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5094 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5095 Don't confuse -omega as "-o mega".
5097 2010-10-27 Martin Rudalics <rudalics@gmx.at>
5099 * frame.el (pop-up-frame-alist, pop-up-frame-function)
5100 (special-display-frame-alist): Make obsolete.
5102 * window.el (display-buffer-window-and-buffer)
5103 (window--display-buffer-in-window, window--reuse-window)
5104 (window--pop-up-window, window--pop-up-frame)
5105 (split-window-sensibly, window-sensibly-splittable-p)
5106 (window--raise-window-frame, window--usable-frame): Remove.
5107 (display-buffer-mark-dedicated, display-buffer-function)
5108 (special-display-buffer-names)
5109 (special-display-regexps, special-display-p)
5110 (special-display-function, same-window-buffer-names)
5111 (same-window-regexps, same-window-p, pop-up-frames)
5112 (display-buffer-reuse-frames, pop-up-windows)
5113 (split-height-threshold, split-width-threshold)
5114 (even-window-heights): Make obsolete.
5115 (display-buffer-names, display-buffer-regexps): New options.
5116 (display-buffer-frame, display-buffer-normalize-specifiers-1)
5117 (display-buffer-normalize-specifiers)
5118 (display-buffer-adjust-heights, display-buffer-select-window)
5119 (display-buffer-in-window, display-buffer-in-lru-buffer-window)
5120 (display-buffer-in-lru-window, display-buffer-split-window-1)
5121 (display-buffer-split-window, display-buffer-in-new-window)
5122 (display-buffer-in-new-frame, normalize-buffer-to-display)
5123 (display-buffer-same-window, display-buffer-other-window)
5124 (pop-to-buffer-same-window, pop-to-buffer-other-window)
5125 (pop-to-buffer-other-frame, normalize-buffer-to-switch-to): New
5127 (display-buffer-locations, display-buffer-default-specifiers)
5128 (display-buffer-other-window-specifiers)
5129 (display-buffer-other-frame-specifiers)
5130 (display-buffer-split-specifiers)
5131 (display-buffer-side-specifiers): New variables/constants.
5132 (display-buffer): Major rewrite.
5133 (pop-to-buffer): Rewrite. Default buffer-or-name argument to
5135 (switch-to-buffer, switch-to-buffer-other-window)
5136 (switch-to-buffer-other-frame): Rewrite.
5138 * calendar/calendar.el (calendar-basic-setup): Do not call
5139 split-window-horizontally before popping to buffer. Eventually
5140 the second argument of pop-to-buffer must be set accordingly.
5142 * dired.el (dired-pop-to-buffer): Adapt to new buffer display
5145 * info.el (Info-revert-find-node, info, info-other-window)
5146 (Info-find-node, Info-next, Info-prev, Info-up)
5147 (Info-goto-emacs-command-node, Info-speedbar-goto-node): Adapt
5148 to new buffer display code.
5150 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5152 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5153 (log-edit-author): New dynamic var.
5154 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5155 to return the author if different from committer.
5156 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5158 * play/landmark.el: Adjust commenting convention.
5159 (lm-nil-score): Rename from nil-score.
5160 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5161 (OOOOscore): Move into a let in lm-score-trans-table.
5162 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5164 * electric.el (electric-indent-chars): Autoload.
5165 * progmodes/octave-mod.el (octave-mode):
5166 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5167 (ruby-mode-abbrev-table): Merge initialization and declaration.
5169 2010-10-27 Glenn Morris <rgm@gnu.org>
5171 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5174 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5176 * term/ns-win.el: Restore require of cl when compiling.
5177 (menu-bar-final-items): Remove non-existent `windows' menu.
5178 (ns-handle-nxopen): Optionally handle the temp-case.
5179 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5180 (ns-insert-file, ns-find-file): Use `pop'.
5182 2010-10-26 Glenn Morris <rgm@gnu.org>
5184 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5186 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5188 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5190 * term/common-win.el (x-setup-function-keys): Remove most of the
5191 keymappings. Comment on the remaining ones.
5193 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5195 * server.el (server-port): New option. (Bug#854)
5196 (server-start): Use server-port.
5198 2010-10-26 Glenn Morris <rgm@gnu.org>
5200 * term/ns-win.el (ns-version-string): Remove unused declaration.
5201 (ns-invocation-args): Change to x-invocation-args.
5202 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5203 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5204 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5205 Use x-invocation-args instead of ns-invocation-args.
5206 (ns-initialize-window-system, handle-args-function-alist):
5207 Use x-handle-args instead of ns-handle-args.
5208 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5209 * startup.el (command-line-ns-option-alist): Replace
5210 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5211 ns-handle-iconic with the x- equivalents.
5213 * term/common-win.el (x-select-enable-clipboard):
5214 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5216 * term/ns-win.el: No need to require cl when compiling.
5217 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5218 (xw-defined-colors): Use the common-win definitions.
5219 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5220 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5221 * term/common-win.el (x-select-text, x-alternatives-map)
5222 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5223 * loadup.el [ns]: Load common-win.
5225 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5227 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5228 recipients; expand mail aliases (Bug#7280).
5230 2010-10-25 Martin Rudalics <rudalics@gmx.at>
5232 * window.el (window-iso-combination-p, window-iso-combinations):
5234 (walk-windows, get-window-with-predicate)
5235 (get-buffer-window-list, one-window-p): Fix doc-string.
5236 (window-in-direction): The column / row value of `posn-at-point'
5237 can be nil for the mini-window, guard against that.
5238 (resize-mini-window): Make this usable. It's needed, for
5239 example, by ispell.el.
5240 (resize-window): Handle case where window argument denotes a
5242 (window-children-count): Remove.
5243 (split-window): Fix some broken size calculations.
5245 2010-10-25 Glenn Morris <rgm@gnu.org>
5247 * term/common-win.el (x-handle-switch): Simplify with pop.
5248 Optionally handle numeric switches.
5249 (x-handle-numeric-switch): Just call x-handle-switch.
5250 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5251 (x-handle-name-switch, x-handle-display, x-handle-args):
5254 * term/ns-win.el: Do not require easymenu.
5255 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5256 <spell>: Move adjustments to menu-bar.el.
5257 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5258 <separator-undo, spell>: Move ns-win's adjustments here.
5259 * loadup.el [ns]: Do not load easymenu.
5261 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5263 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5266 * startup.el (fancy-startup-tail): Instead of using inline images,
5267 refer to image files from etc/.
5269 * wid-edit.el (checkbox): Likewise.
5270 (widget-image-find): Center image specs.
5272 2010-10-24 Glenn Morris <rgm@gnu.org>
5274 * term/ns-win.el (x-select-text): Doc fix.
5275 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5276 (x-select-text): Move to term/common-win.
5277 * term/w32-win.el (xw-defined-colors): Move to common-win.
5278 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5279 (x-setup-function-keys, x-select-text): Move to common-win.
5280 * term/common-win.el (x-select-text, x-alternatives-map)
5281 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5284 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5286 * net/mairix.el (mairix-searches-mode-map):
5287 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5289 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5291 * verilog-mode.el (verilog-directive-re): Make this variable
5292 auto-built for efficiency of execution and updating.
5293 (verilog-extended-complete-re): Support 'pure' fucntion & task
5294 declarations (these have no bodies).
5295 (verilog-beg-of-statement): General cleanup to enable support of
5296 'pure' fucntion & task declarations (these have no bodies).
5297 These efforts together fix Verilog bug210 from veripool; which was also
5298 noticed by Steve Pearlmutter.
5299 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5300 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5301 Support `elsif. Reported by Shankar Giri.
5302 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5303 attribute handling for lining up declarations and assignments.
5304 (verilog-beg-of-statement-1): Fix issue where continued declaration
5305 is indented differently if it is after a begin..end clock.
5306 (verilog-in-attribute-p, verilog-skip-backward-comments)
5307 (verilog-skip-forward-comment-p): Support proper treatment of
5308 attributes by indent code. Reported by Jeff Steele.
5309 (verilog-in-directive-p): Fix comment to correctly describe function.
5310 (verilog-backward-up-list, verilog-in-struct-region-p)
5311 (verilog-backward-token, verilog-in-struct-p)
5312 (verilog-in-coverage-p, verilog-do-indent)
5313 (verilog-pretty-declarations): Use verilog-backward-up-list as
5314 wrapper around backward-up-list inorder to properly skip comments.
5315 Reported by David Rogoff.
5316 (verilog-property-re, verilog-endcomment-reason-re)
5317 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5318 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5319 of if). Reported by Max Bjurling and
5320 (verilog-calc-1): Fix for clocking block in modport
5321 declaration. Reported by Brian Hunter.
5323 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5325 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5326 (verilog-gate-keywords, verilog-read-sub-decls)
5327 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5328 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5329 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5330 (verilog-read-decls): Fix spaces in V2K module parameters causing
5331 mis-identification as interfaces, bug287.
5332 (verilog-read-decls): Fix not treating "parameter string" as a
5333 parameter in AUTOINSTPARAM.
5334 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5335 treating `elsif similar to `endif inside AUTOSENSE.
5336 (verilog-do-indent): Implement correct automatic or static task or
5337 function end comment highlight. Reported by Steve Pearlmutter.
5338 (verilog-font-lock-keywords-2): Fix highlighting of single
5339 character pins, bug264. Reported by Michael Laajanen.
5340 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5341 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5342 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5343 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5344 (verilog-pretty-expr): Fix interactive arguments, bug272.
5345 Reported by Mark Johnson.
5346 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5347 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5348 bug269. Suggested by Gary Delp.
5349 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5350 (verilog-preprocessor, verilog-set-compile-command):
5351 Create verilog-preprocess and verilog-preprocessor to show
5352 preprocessed output.
5353 (verilog-get-beg-of-line, verilog-get-end-of-line)
5354 (verilog-modi-file-or-buffer, verilog-modi-name)
5355 (verilog-modi-point, verilog-within-string): Move defmacro's
5356 before first use to avoid warning. Reported by Steve Pearlmutter.
5357 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5358 (verilog-colorize-region, verilog-highlight-buffer)
5359 (verilog-highlight-includes, verilog-highlight-modules)
5360 (verilog-highlight-region, verilog-mode): Rename colorize to
5361 highlight to match other packages. Disable module highlighting,
5362 as received speed complaints, reenable for experimentation only
5363 using new verilog-highlight-modules.
5364 (verilog-read-decls): Fix regexp stack overflow in very large
5365 AUTO_TEMPLATEs, bug250.
5366 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5367 (verilog-scan): Create verilog-save-buffer-state to standardize
5368 making insignificant changes that shouldn't call hooks.
5369 (verilog-save-no-change-functions, verilog-save-scan-cache)
5370 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5371 Create verilog-save-no-change-functions to wrap verilog-scan
5372 preservation, and fix to work with nested preserved calls.
5373 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5374 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5375 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5376 (verilog-submit-bug-report): Update variable list to be complete.
5377 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5378 breaking on-the-fly font-locking.
5379 (verilog-colorize-buffer, verilog-colorize-include-files)
5380 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5381 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5382 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5383 AUTOINST cell instance name, middle mouse button now finds-file on
5384 it. Suggested by Brad Dobbie.
5385 (verilog-alw-get-temps, verilog-auto-reset)
5386 (verilog-auto-sense-sigs, verilog-read-always-signals)
5387 (verilog-read-always-signals-recurse): Fix loop indexes being
5388 AUTORESET. AUTORESET now assumes any variables in the
5389 initialization section of a for() should be ignored.
5390 Reported by Dan Dever.
5391 (verilog-error-font-lock-keywords)
5392 (verilog-error-regexp-emacs-alist)
5393 (verilog-error-regexp-xemacs-alist): Fix error detection of
5394 Cadence HAL, reported by David Asher. Repair drift between the
5395 three similar error variables.
5396 (verilog-modi-lookup, verilog-modi-lookup-cache)
5397 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5398 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5399 Fix slow verilog-auto expansion on very large files.
5400 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5401 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5402 "{1*2{...". Broke in last revision.
5403 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5404 submodule connections with replications "{#{a},#{b}}".
5406 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5408 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5409 Fix typo in docstring.
5411 2010-10-24 Kenichi Handa <handa@m17n.org>
5413 * face-remap.el (text-scale-adjust): Call read-event with a proper
5416 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5418 * emacs-lisp/unsafep.el: Don't mark functions that display
5419 messages as safe. Suggested by Johan Bockgård.
5421 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5423 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5424 Turn comments into docstrings.
5426 * minibuffer.el (completion--replace): Move point where it belongs
5427 when there's a common suffix (bug#7215).
5429 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5431 Merge read-color and facemenu-read-color (Bug#7242).
5433 * faces.el (read-color): Use the completion code from
5434 facemenu-read-color. Require match in completion. Doc fix.
5436 * facemenu.el (facemenu-read-color): Alias for read-color.
5437 (facemenu-set-foreground, facemenu-set-background):
5440 * frame.el (set-background-color, set-foreground-color)
5441 (set-cursor-color, set-mouse-color, set-border-color):
5444 2010-10-24 Leo <sdl.web@gmail.com>
5446 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5447 argument of delete-file and delete-directory (Bug#7011).
5449 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5451 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5454 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5456 * emacs-lisp/package.el (package--generate-package-list): Make the
5457 *Packages* buffer read-only.
5459 2010-10-24 Alan Mackenzie <acm@muc.de>
5461 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5462 result of `c-beginning-of-decl-1' between invocations of a lambda
5463 function (Bug #7265).
5465 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5467 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5468 executable is not available on the system (Bug#7268).
5470 2010-10-24 Glenn Morris <rgm@gnu.org>
5472 * select.el (selection-coding-system, next-selection-coding-system):
5473 Sync doc with C versions.
5475 * w32-vars.el (x-select-enable-clipboard):
5476 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5477 * term/common-win.el (x-select-enable-clipboard): Move here.
5479 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5480 definition of C variable.
5482 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5483 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5484 Don't redefine things that are defined in C.
5485 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5486 (show-trailing-whitespace, auto-hscroll-mode)
5487 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5488 Set up the appropriate custom properties.
5490 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5493 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5494 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5495 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5496 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5498 2010-10-23 Glenn Morris <rgm@gnu.org>
5500 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5503 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5504 Sync docs with C version.
5506 * term/ns-win.el (xw-defined-colors):
5507 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5509 * term/pc-win.el (x-select-enable-clipboard):
5510 * term/x-win.el (x-select-enable-clipboard):
5511 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5513 * comint.el (comint-password-prompt-regexp): Make it less vague.
5516 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5518 * help.el (finder-by-keyword): Remove unnecessary autoload.
5520 2010-10-22 Glenn Morris <rgm@gnu.org>
5522 * loadup.el: Unconditionally load float-sup.
5523 * paren.el (show-paren-delay):
5524 * emacs-lisp/float-sup.el:
5525 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5526 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5527 (lazy-lock-stealth-verbose): Assume float support.
5528 * ps-print.el: Assume float support on Emacs.
5529 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5530 Remove non-float branch.
5532 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5533 src/Makefile no longer being pre-processed.
5535 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5537 * emacs-lisp/find-func.el (find-library): Use test-completion.
5539 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5541 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5543 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5545 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5546 space in stat format string.
5547 (tramp-send-command): Unset $PS1 when using here documents, in
5548 order not to get several prompts.
5549 (tramp-get-inline-coding): Return `nil' in case of errors.
5551 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5553 * hexl.el (hexl-mode, hexl-mode-exit):
5554 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5555 (hexl-revert-buffer-function): New function.
5556 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5558 2010-10-19 Alan Mackenzie <acm@muc.de>
5560 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5561 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5562 that these keywords aren't wrongly matched as identifiers.
5564 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5565 setting of c-new-BEG and c-new-END from c-before-change to
5566 c-after-change. (Bug#7181)
5568 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5570 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5573 * custom.el (custom-theme-set-variables): Likewise.
5574 (load-theme): Add custom-theme-set-faces and
5575 custom-theme-set-variables to safe-functions while loading.
5576 (custom-enabled-themes): Mark as risky.
5578 2010-10-18 Julien Danjou <julien@danjou.info>
5580 * bindings.el: Remove end dashes in default mode-line-format.
5582 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5584 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5585 to delete-forward-char.
5587 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5588 deletechar, and hence delete-forward-char.
5590 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5592 * repeat.el (repeat): Use read-key (bug#6256).
5594 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5596 * emacs-lisp/unsafep.el: Don't mark functions that display
5597 messages as safe. Suggested by Johan Bockgård.
5599 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5601 * minibuffer.el (completion--replace): Move point where it belongs
5602 when there's a common suffix (bug#7215).
5604 2010-10-19 Kenichi Handa <handa@m17n.org>
5606 * international/characters.el: Add category '|' (word breakable)
5607 to fullwidth characters.
5609 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5611 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5612 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5613 order to make stat results a float. Patch by Andreas Schwab
5614 <schwab@linux-m68k.org>.
5616 2010-10-18 Julien Danjou <julien@danjou.info>
5618 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5619 hidden by `make-pointer-invisible'.
5621 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5623 * files.el (locate-file-completion-table): Strip non-matching elements
5624 before checking length of list (bug#7238).
5626 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5628 * custom.el (custom-theme-set-variables): Mark as a safe function.
5629 (load-theme): Check forms using unsafep.
5631 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5633 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5635 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5636 Fix aspell data file searching (bug#7230).
5638 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5640 * cus-theme.el (custom-theme--migrate-settings): New var.
5641 (customize-create-theme): Allow editing the `user' theme.
5642 (custom-theme-add-variable, custom-theme-add-var-1)
5643 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5644 to the front of each variable or face widget.
5645 (custom-theme-write): Save theme settings in the correct order.
5646 Optionally, remove saved settings from user customizations.
5647 (custom-theme-write-variables, custom-theme-write-faces):
5648 Save only the checked widgets.
5649 (customize-themes): Add a link for migrating custom settings.
5651 * custom.el (custom-declare-theme, provide-theme):
5652 Use custom-theme-name-valid-p.
5653 (custom-theme-name-valid-p): Remove checks that are now
5654 unnecessary since themes no longer obey load-path.
5656 * cus-edit.el (custom-variable-value-create): For the simple
5657 style, hide documentation string when hidden.
5659 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5661 * cus-edit.el (custom-variable, custom-face): Combine the
5662 :inhibit-magic and :display-style properties into a single
5663 :custom-style property.
5664 (custom-toggle-hide-variable, custom-toggle-hide-face):
5665 New functions. If hiding an edited value, save it to :shown-value.
5666 (custom-variable-value-create, custom-face-value-create): Use them.
5667 (custom-magic-reset): Allow magic property to be unset.
5669 * custom.el: Custom themes no longer use load-path.
5670 (custom-theme-load-path): New option. Change built-in theme
5672 (custom-enabled-themes): Add custom-theme-load-path dependency.
5673 (custom-theme--load-path): New function.
5674 (load-theme, custom-available-themes): Use it.
5676 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5677 (customize-themes): Link to custom-theme-load-path variable.
5678 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5679 :custom-style property.
5681 * themes/*.el: Moved to etc/.
5683 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5685 * textmodes/reftex-cite.el
5686 (reftex-extract-bib-entries-from-thebibliography): Do not move
5687 point when searching for \bibitem entries. Match entries with
5688 spaces or tabs in front of arguments.
5690 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5692 * cus-theme.el (customize-create-theme): Delete overlays after
5693 erasing. If given a THEME arg, display only the faces of that arg
5694 instead of custom-theme--listed-faces.
5695 (custom-theme-variable-menu, custom-theme-variable-action)
5696 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5697 (custom-theme-add-variable, custom-theme-add-face): Apply value
5698 from the theme settings, instead of the current value.
5699 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5700 (custom-theme-visit-theme): Allow calling outside theme buffers.
5701 (custom-theme-merge-theme): Don't enable the theme when merging.
5702 (custom-theme-write-variables, custom-theme-write-faces): Use the
5703 :shown-value properties to save buffer values, not global ones.
5704 (customize-themes): Display a warning about user customizations.
5706 * cus-edit.el (custom-variable-value-create)
5707 (custom-face-value-create): Obey new special properties
5708 :shown-value and :inhibit-magic.
5710 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5712 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5713 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5716 2010-10-14 Kenichi Handa <handa@m17n.org>
5718 * mail/rmail.el (rmail-show-message-1): Catch an error of
5719 base64-decode-region and just show an error message (bug#7165).
5721 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5722 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5723 a font-spec (bug#7197).
5725 2010-10-14 Glenn Morris <rgm@gnu.org>
5727 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5729 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5731 * international/mule.el (define-coding-system):
5732 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5733 * composite.el (compose-region): Fix typo in docstring.
5735 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5737 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5738 only after checking the theme-face property.
5740 * faces.el (face-spec-reset-face): Reset all attributes in one
5741 single call to set-face-attribute.
5742 (face-spec-match-p): Make it a defsubst.
5743 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5744 (x-create-frame-with-faces, tty-create-frame-with-faces)
5745 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5746 frame-set-background-mode, since they are recomputed immediately
5747 afterwards in face-set-after-frame-default.
5748 (face-set-after-frame-default): Minor optimization.
5749 (cursor): Provide non-trivial defface spec.
5751 * custom.el (custom-theme-recalc-face): Simplify.
5753 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5755 * calc/calc-alg.el (math-var): Rename from `var'.
5756 (math-is-polynomial, math-is-poly-rec): Replace `var'
5759 * calc/calcalg2.el (math-var): Rename from `var'.
5760 (calcFunc-table, math-scan-for-limits): Replace `var'
5763 2010-10-13 Glenn Morris <rgm@gnu.org>
5765 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5767 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5769 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5771 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5773 * net/tls.el (tls-program): Remove spurious %s from openssl.
5774 (tls-starttls-switches): Remove starttls hack.
5775 (open-tls-stream): Ditto.
5776 (tls-find-starttls-argument): Ditto.
5778 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5780 * image.el (image-library-alist): Declare as obsolete alias.
5781 (image-type-available-p): Use `dynamic-library-alist'.
5783 * term/w32-win.el (dynamic-library-alist):
5784 Use instead of `image-library-alist'.
5786 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5788 * subr.el (last): Make it faster. (Bug#7174)
5790 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5792 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5794 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5796 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5797 (describe-theme-1): Extract doc from unloaded themes.
5799 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5801 * themes/tango-theme.el:
5802 * themes/tango-dark-theme.el:
5803 * themes/wheatgrass-theme.el: New files.
5805 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5807 * cus-theme.el (describe-theme, customize-themes)
5808 (custom-theme-save): New commands.
5809 (custom-new-theme-mode-map): Bind C-x C-s.
5810 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5811 (customize-create-theme): New optional arg THEME.
5812 (custom-theme-revert): Use it.
5813 (custom-theme-visit-theme): Remove dead code.
5814 (custom-theme-merge-theme): Use custom-available-themes.
5815 (custom-theme-write): Make interactive.
5816 (custom-theme-write): Use custom-theme-name-valid-p.
5817 (describe-theme-1, custom-theme-choose-revert)
5818 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5820 (custom-theme-allow-multiple-selections): New option.
5821 (custom-theme-choose-mode): New major mode.
5823 * custom.el (custom-theme-set-variables): Remove dead code.
5824 Obey custom--inhibit-theme-enable.
5825 (custom--inhibit-theme-enable): New var.
5826 (provide-theme): Obey it.
5827 (load-theme): Replace load with manual read/eval, in order to
5828 check for correctness. Use custom-theme-name-valid-p.
5829 (custom-theme-name-valid-p): New function.
5830 (custom-available-themes): Use it.
5832 * cus-edit.el (custom--initialize-widget-variables): New function.
5833 (Custom-mode): Use it.
5835 * cus-face.el (custom-theme-set-faces): Remove dead code.
5836 Obey custom--inhibit-theme-enable.
5838 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5840 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5842 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5844 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5846 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5847 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5848 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5850 * cus-start.el (all): ns-right-alternate-modifier is new.
5852 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5854 * emacs-lisp/lisp.el (lisp-completion-at-point):
5855 Use emacs-lisp-mode-syntax-table for the whole function.
5857 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5859 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5860 instead of font-lock-mode before adding keywords.
5861 Remove hi-lock-mode off code. Remove inhibit hack.
5862 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5863 non-nil; removed hook inhibit hack.
5865 2010-10-12 Glenn Morris <rgm@gnu.org>
5867 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5868 (load-path-shadows-find): ... to this.
5869 (list-load-path-shadows): Update for above change.
5871 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5873 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5875 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5876 Fix comment for declare-function.
5878 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5880 * custom.el (custom-fix-face-spec): New function; code moved from
5881 custom-face-edit-fix-value.
5882 (custom-push-theme): Use it when checking if a face has been
5883 changed outside customize.
5884 (custom-available-themes): New function.
5885 (load-theme): Use it.
5887 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5889 * custom.el (custom-push-theme): Cleanup (use cond).
5890 (disable-theme): Recompute the saved-face property.
5891 (custom-theme-recalc-face): Follow face alias before setting prop.
5893 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5894 New variables, containing checkbox images.
5896 * startup.el (fancy-startup-tail):
5897 * wid-edit.el (checkbox): Use them.
5899 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5901 * shell.el (shell-mode-map):
5902 * progmodes/modula2.el (m2-mode-map):
5903 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5904 * play/mpuz.el (mpuz-mode-map):
5905 * play/landmark.el (lm-mode-map):
5906 * play/decipher.el (decipher-mode-map):
5907 * play/5x5.el (5x5-mode-map):
5908 * net/telnet.el (telnet-mode-map):
5909 * net/quickurl.el (quickurl-list-mode-map):
5910 * net/mairix.el (mairix-searches-mode-map):
5911 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5912 * net/dig.el (dig-mode-map):
5913 * mail/mspools.el (mspools-mode-map):
5914 * hexl.el (hexl-mode-map):
5915 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5916 (wordstar-C-o-map, wordstar-C-q-map):
5917 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5918 * emacs-lisp/chart.el (chart-map):
5919 * edmacro.el (edmacro-mode-map):
5920 * erc/erc-list.el (erc-list-menu-mode-map):
5921 * array.el (array-mode-map): Declare and define in one step.
5923 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5925 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5927 * epa.el (epa-passphrase-callback-function): Display filename
5928 passed as the 3rd arg.
5929 * epa-file.el (epa-file-passphrase-callback-function):
5930 Pass filename to epa-passphrase-callback-function.
5932 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5934 * cus-edit.el (custom-face-widget-to-spec)
5935 (custom-face-get-current-spec, custom-face-state): New functions.
5936 (custom-face-set, custom-face-mark-to-save)
5937 (custom-face-value-create, custom-face-state-set): Use them.
5939 * cus-theme.el (custom-theme--listed-faces): New var.
5940 (customize-create-theme): Use *Custom Theme* as the buffer name.
5941 Set revert-buffer-function. Optional arg BUFFER. Insert all
5942 faces listed in custom-theme--listed-faces.
5943 (custom-theme-revert): New function.
5944 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5946 (custom-theme-write): Prompt for theme name if empty.
5947 (custom-theme-write-variables): Use dolist.
5948 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5950 2010-10-09 Alan Mackenzie <acm@muc.de>
5952 Enhance fontification of declarators to take account of the
5953 presence/absence of "typedef".
5955 * cc-engine.el (c-forward-type): New &optional param
5957 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5958 presence of either or both of a "struct"-like keyword and "typedef".
5960 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5961 fontification of declarators which follow a "}".
5962 (c-font-lock-declarations): Fontify declarators according to the
5963 presence/absence of "typedef".
5965 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5967 (c-typedef-decl-key): New lang variable built from
5968 c-typedef-decl-kwds.
5970 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5972 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5973 since that's too annoying. Move the filter groups commands to
5976 * epa.el (epa-passphrase-callback-function): Say what we're
5977 querying the password for.
5979 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5980 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5982 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5984 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5985 (custom-magic-value-create): Pad button tags with spaces.
5986 (custom-face-edit): New variable.
5987 (custom-face-value-create): Determine whether to use the usual
5988 face editor here, instead of using custom-face-selected.
5989 Pass face defaults to custom-face-edit widget.
5990 (custom-face-selected, custom-display-unselected): Delete widgets.
5991 (custom-display-unselected-match): Function removed.
5992 (custom-face-set, custom-face-mark-to-save):
5993 Accept custom-face-edit widgets as the direct widget child.
5995 * wid-edit.el (widget--completing-widget): New var.
5996 (widget-default-complete): Bind it when doing completion.
5997 (widget-string-complete, widget-file-complete): Use it.
5999 2010-10-09 Glenn Morris <rgm@gnu.org>
6001 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6002 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6003 (holiday-hebrew-misc): Small simplifications.
6005 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6007 * net/browse-url.el: Don't require thingatpt, term, dired,
6008 executable, or w3-auto when compiling.
6009 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6011 (browse-url-text-emacs): Require term.
6013 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6015 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6017 2010-10-08 Glenn Morris <rgm@gnu.org>
6019 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6021 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6022 (shadows-compare-text-p): Make it an obsolete alias for...
6023 (load-path-shadows-compare-text): ... new name.
6024 (find-emacs-lisp-shadows): Update for above name change.
6025 (load-path-shadows-same-file-or-nonexistent): New name for the old
6026 shadow-same-file-or-nonexistent.
6028 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6030 * minibuffer.el (completion--some, completion--do-completion)
6031 (minibuffer-complete-and-exit, minibuffer-completion-help)
6032 (completion-basic-try-completion)
6033 (completion-basic-all-completions)
6034 (completion-pcm--find-all-completions): Use lexical-let to
6035 avoid some false matches in variable completion (Bug#7056)
6037 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6039 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6041 2010-10-08 Leo <sdl.web@gmail.com>
6043 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6044 return non-nil if the file exists (Bug#7090).
6046 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6048 * minibuffer.el (completion--replace):
6049 Better preserve markers (bug#7138).
6051 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6053 * server.el (server-process-filter): Doc fix.
6055 2010-10-08 Drew Adams <drew.adams@oracle.com>
6057 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6059 2010-10-08 Glenn Morris <rgm@gnu.org>
6061 * vc/ediff-wind.el (ediff-setup-control-frame):
6062 * vc/ediff-ptch.el (ediff-default-backup-extension):
6063 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6064 (ediff-exec-process): Remove system-types emx, windows-95.
6066 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6068 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6070 * cus-edit.el (custom-variable, custom-face): Doc fix.
6071 (custom-face-edit): Add value-create attribute.
6072 (custom-face-edit-value-create)
6073 (custom-face-edit-value-visibility-action): New functions.
6074 Hide unused face attributes by default, and add a visibility toggle.
6075 (custom-face-edit-deactivate): Show empty values with shadow face.
6076 (custom-face-selected): Only use this for face specs with default
6078 (custom-face-value-create): Cleanup.
6080 * wid-edit.el (widget-checklist-value-create): Use dolist.
6081 (widget-checklist-match-find): Make second arg optional.
6083 2010-10-07 Glenn Morris <rgm@gnu.org>
6085 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6088 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6089 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6090 load-path-shadows-mode, update references.
6091 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6092 Rename variable and button.
6093 (list-load-path-shadows): Update button caller.
6095 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6097 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6098 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6099 (smie-merge-prec2s): Handle those new entries.
6100 (smie-prec2-levels): Only set precedence to nil for actual
6102 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6103 that is now unnecessary.
6105 2010-10-07 Miles Bader <miles@gnu.org>
6107 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6109 2010-10-07 Glenn Morris <rgm@gnu.org>
6111 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6112 (mail-position-on-field): Remove declarations.
6113 (mail-position-on-field): Autoload it.
6114 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6115 and mail-header-end. Don't require sendmail.
6117 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6118 (shadow-mode): New mode.
6119 (shadow-find-file): New button.
6120 (list-load-path-shadows): Use shadow-mode and buttons.
6122 * iimage.el (iimage-version): Remove.
6123 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6124 Turn into defcustoms.
6125 (iimage-mode-map): Give it a doc string.
6127 * calendar/appt.el (appt-activate): Give a warning rather than an error
6128 if there is no diary-file.
6130 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6132 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6133 Use `tramp-handle-find-backup-file-name'.
6135 2010-10-06 Glenn Morris <rgm@gnu.org>
6137 * font-core.el (font-lock-defaults-alist): Remove variable.
6138 (font-lock-mode): Doc fix.
6139 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6140 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6141 (font-lock-set-defaults): Doc fix.
6142 Do not consult font-lock-defaults-alist.
6144 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6146 * emacs-lisp/cl.el: No longer provide cl-19.
6148 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6150 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6151 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6152 New defuns, taken from tramp-smb.el.
6153 (tramp-coding-system-change-eol-conversion)
6154 (tramp-set-process-query-on-exit-flag): Remove.
6156 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6157 (tramp-compat-coding-system-change-eol-conversion)
6158 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6161 * net/tramp-gvfs.el:
6162 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6163 by `tramp-compat-set-process-query-on-exit-flag'.
6165 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6166 Use `tramp-handle-directory-files-and-attributes',
6167 `tramp-handle-file-exists-p' and
6168 `tramp-handle-file-newer-than-file-p'.
6169 (tramp-imap-handle-file-exists-p)
6170 (tramp-imap-handle-file-executable-p)
6171 (tramp-imap-handle-file-readable-p)
6172 (tramp-imap-handle-directory-files-and-attributes)
6173 (tramp-imap-handle-file-newer-than-file-p): Remove.
6175 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6176 by `tramp-compat-set-process-query-on-exit-flag' and
6177 `tramp-coding-system-change-eol-conversion' by
6178 `tramp-compat-coding-system-change-eol-conversion'.
6180 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6181 Use `tramp-handle-directory-files-and-attributes',
6182 `tramp-handle-file-exists-p' and
6183 `tramp-handle-file-newer-than-file-p'.
6184 (tramp-smb-handle-directory-files-and-attributes)
6185 (tramp-smb-handle-file-exists-p)
6186 (tramp-smb-handle-file-newer-than-file-p): Remove.
6187 (tramp-smb-maybe-open-connection):
6188 Replace `tramp-set-process-query-on-exit-flag' by
6189 `tramp-compat-set-process-query-on-exit-flag'.
6191 2010-10-05 Glenn Morris <rgm@gnu.org>
6193 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6195 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6197 Continue reorganization of load dependencies. (Bug#7156)
6199 * net/tramp.el (tramp-handle-file-local-copy-hook)
6200 (tramp-delete-temp-file-function): Move down.
6201 (tramp-exists-file-name-handler): Move up.
6202 (tramp-register-file-name-handlers): Simplify autoload.
6203 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6204 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6205 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6206 (tramp-handle-file-name-completion)
6207 (tramp-handle-file-name-directory)
6208 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6209 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6210 (tramp-handle-find-backup-file-name)
6211 (tramp-handle-insert-file-contents, tramp-handle-load)
6212 (tramp-handle-substitute-in-file-name)
6213 (tramp-handle-unhandled-file-name-directory)
6214 (tramp-mode-string-to-int, tramp-local-host-p)
6215 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6217 * net/tramp-gvfs.el (top):
6218 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6220 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6221 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6223 2010-10-04 Glenn Morris <rgm@gnu.org>
6225 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6226 (appt-activate): Give status messages.
6228 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6230 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6231 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6232 `gnutls-negotiate' (formerly `starttls-negotiate').
6233 Remove trivial wrapper `starttls-open-stream'.
6235 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6237 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6238 log-outgoing commands.
6239 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6240 to create a buffer local revert-buffer-function variable.
6241 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6242 revert-buffer-function lambda.
6244 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6246 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6247 `gnutls-boot'. Make TYPE the only required parameter.
6248 Allow TRUSTFILES and KEYFILES to be lists.
6249 (open-ssl-stream): Use it.
6251 2010-10-03 Glenn Morris <rgm@gnu.org>
6253 * subr.el (directory-sep-char): Remove obsolete variable.
6254 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6257 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6258 * vc/vc.el (vc-static-header-alist): Doc fix.
6259 * vc/vc-cvs.el (vc-cvs-header):
6260 * vc/vc-rcs.el (vc-rcs-header):
6261 * vc/vc-sccs.el (vc-sccs-header):
6262 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6263 * obsolete/vc-mcvs.el (vc-mcvs-header):
6264 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6267 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6269 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6270 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6272 2010-10-03 Glenn Morris <rgm@gnu.org>
6274 * obsolete/x-menu.el: Remove file, obsolete since 21.1
6276 * textmodes/rst.el (rst-font-lock-keywords-function):
6279 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6281 * printing.el: Drop Emacs 20 code.
6283 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6284 without having used appt.el already).
6286 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6287 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6288 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6290 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6291 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6293 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6294 (charset-width, find-charset-region, chars-in-region, forward-point)
6295 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6296 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6297 Remove compatibility cruft (none of these are used by ps*.el).
6299 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6301 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6303 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6305 * server.el (server-process-filter, server-return-error):
6306 Give emacsclient time to shut down after receiving an error string.
6308 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6310 * files.el (remote-file-name-inhibit-cache): New defcustom.
6312 * time.el (display-time-file-nonempty-p):
6313 Use `remote-file-name-inhibit-cache'.
6315 * net/tramp.el (tramp-completion-reread-directory-timeout):
6318 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6319 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6320 `remote-file-name-inhibit-cache'. Check also for an integer
6321 value. Add/increase counter when `tramp-verbose' >= 10.
6322 (tramp-set-file-property): Add/increase counter when
6323 `tramp-verbose' >= 10.
6325 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6326 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6327 (tramp-bug): Set tramp-autoload cookie. Report all interned
6328 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6329 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6330 characters only in strings.
6332 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6333 to backward compatibility.
6335 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6336 (tramp-handle-file-name-all-completions)
6337 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6338 (tramp-open-connection-setup-interactive-shell):
6339 Call `tramp-cleanup-connection' directly.
6341 2010-10-02 Glenn Morris <rgm@gnu.org>
6343 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6345 * subr.el (char-bytes): Remove obsolete function.
6347 * isearch.el (isearch-return-char): Remove obsolete function.
6349 * mouse.el: No longer provide mldrag.
6350 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6351 Remove obsolete aliases.
6353 * comint.el (comint-kill-output): Remove obsolete alias.
6355 * composite.el (decompose-composite-char): Remove obsolete function.
6356 * ps-def.el (decompose-composite-char): Remove unused function.
6358 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6360 * outline.el (outline-visible): Remove obsolete function.
6362 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6363 * faces.el (internal-find-face, internal-get-face)
6364 (frame-update-faces, frame-update-face-colors)
6365 (x-frob-font-weight, x-frob-font-slant)
6366 (internal-frob-font-weight, internal-frob-font-slant)
6367 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6368 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6369 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6371 * emulation/viper-util.el (viper-get-face):
6372 * obsolete/lucid.el (find-face, get-face): Use facep.
6373 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6374 Remove unused functions.
6375 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6377 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6378 delete tempfile if interrupted during compilation.
6380 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6382 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6384 (tls-program): Add --insecure to be consistent with the defaults from
6385 openssl s_client. Now all three commands are insecure.
6387 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6389 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6390 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6391 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6393 2010-10-01 Glenn Morris <rgm@gnu.org>
6395 * obsolete/sc.el: Remove file.
6397 * files.el (temporary-file-directory): On darwin, also try
6398 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6400 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6402 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6403 Let's not break compatibility gratuitously, shall we?
6405 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6407 * net/tls.el (tls-starttls-switches): New variable.
6408 (tls-find-starttls-argument): Use it.
6409 (open-tls-stream): Ditto.
6411 * net/netrc.el (netrc-credentials): Return the value of the "default"
6413 (netrc-machine): Ditto.
6415 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6417 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6419 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6421 * server.el (server-start): Don't write pid to the authentication file.
6422 (server-create-tty-frame): Don't send pid.
6423 (server-process-filter): Send pid at the start of every connection.
6425 2010-09-30 Glenn Morris <rgm@gnu.org>
6427 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6428 (show-all-diary-entries): Remove obsolete function aliases.
6430 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6431 Remove options, obsolete since 22.1.
6432 (appt-display-format, appt-display-message):
6433 Remove backwards-compatibility code.
6434 (appt-check): No longer check appt-issue-message.
6435 (appt-make-list): No longer autoload it. Doc fix. No longer
6436 activate the package.
6438 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6440 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6441 (starttls-negotiate): Just call boot, and let the handshake be
6442 triggered from the read loop.
6444 2010-09-29 Glenn Morris <rgm@gnu.org>
6446 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6447 not displaying the diary.
6448 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6449 * calendar/appt.el (appt-check): No longer need to kill diary.
6451 * calendar/diary-lib.el (diary-list-entries): Move the
6452 "Preparing..." message entirely here.
6453 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6454 messages to diary-list-entries.
6455 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6456 diary-display-function.
6458 * calendar/diary-lib.el (diary-include-other-diary-files):
6459 Trap some recursive includes.
6461 * calendar/appt.el (appt-activate): Check diary file.
6463 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6465 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6468 * calendar/time-date.el: No need to require cl for Emacs 21.
6470 2010-09-28 Glenn Morris <rgm@gnu.org>
6472 * calendar/appt.el (appt-check): Minor simplification.
6474 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6476 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6479 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6481 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6482 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6484 2010-09-27 Kenichi Handa <handa@m17n.org>
6486 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6489 2010-09-27 Kenichi Handa <handa@m17n.org>
6491 * international/mule.el (define-coding-system): Docstring fixed.
6493 * international/mule-diag.el (describe-character-set): Use princ
6494 with proper print-length and print-level instead of insert.
6496 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6498 * window.el (walk-windows): Doc fix (bug#7105).
6500 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6502 * emacs-lisp/float-sup.el (e): Remove.
6504 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6506 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6508 (starttls-negotiate): Use it.
6510 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6512 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6515 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6517 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6519 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6521 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6523 * net/netrc.el (netrc-store-data): New function.
6525 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6527 * net/gnutls.el: GnuTLS glue code to set up a connection.
6529 2010-09-25 Julien Danjou <julien@danjou.info>
6531 * notifications.el: Call dbus-register-signal only if it is bound.
6533 2010-09-25 Glenn Morris <rgm@gnu.org>
6535 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6536 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6537 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6538 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6539 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6540 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6541 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6542 * eshell/esh-util.el, eshell/esh-var.el:
6543 Remove leading `*' from docs of faces and defcustoms.
6545 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6547 * eshell/em-ls.el (eshell-ls-archive-regexp):
6548 * eshell/esh-util.el (eshell-tar-regexp):
6549 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6550 * info.el (Info-suffix-list):
6551 * international/mule.el (auto-coding-alist):
6552 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6553 * progmodes/etags.el (tags-compression-info-list):
6554 Support xz compression.
6556 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6558 * files.el (get-free-disk-space): Don't assume the "df" output
6559 columns line up (Bug#6995).
6561 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6563 * finder.el (finder-unknown-keywords):
6564 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6565 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6567 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6569 * server.el (server-start): Revert part of 2010-08-08 change. Using
6570 address 127.0.0.1 for local host is now done in Fmake_network_process.
6572 2010-09-24 Glenn Morris <rgm@gnu.org>
6574 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6575 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6576 * textmodes/css-mode.el, textmodes/dns-mode.el:
6577 Move autoloaded auto-mode-alist entries to files.el.
6578 * files.el (auto-mode-alist): Move entries here.
6580 2010-09-23 Glenn Morris <rgm@gnu.org>
6582 * isearch.el (isearch-lazy-highlight-cleanup)
6583 (isearch-lazy-highlight-initial-delay)
6584 (isearch-lazy-highlight-interval)
6585 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6586 * net/net-utils.el (ipconfig-program-options):
6587 Move aliases to options before the associated definitions.
6589 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6591 * newcomment.el (comment-normalize-vars): Better test validity of
6594 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6596 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6597 (float-e): New name for `e'.
6598 (degrees-to-radians, radians-to-degrees):
6599 * calendar/solar.el (solar-longitude):
6600 * calculator.el (calculator-registers, calculator-funcall):
6601 * textmodes/artist.el (artist-spray-random-points):
6602 * play/bubbles.el (bubbles--initialize-images): Use new names.
6604 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6606 Update to CEDET 1.0's version of EIEIO.
6608 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6610 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6611 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6612 (class-precedence-list): If class is nil, return nil.
6613 (eieio-generic-call): If class of first input arg is nil, don't
6614 look up static methods, and do check for primary methods.
6615 (initialize-instance): See if the default needs to be evaluated
6616 during the constructor.
6617 (eieio-perform-slot-validation-for-default): Don't do the check
6618 for values that will eventually be evaluated.
6619 (eieio-eval-default-p): New function.
6620 (eieio-default-eval-maybe): Use it.
6622 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6624 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6625 method-invocation-order.
6626 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6627 (eieio-class-precedence-dfs): Compute class precedence list using
6629 (eieio-class-precedence-bfs): Compute class precedence list using
6631 (eieio-class-precedence-c3): Compute class precedence list using
6633 (class-precedence-list): New function.
6634 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6635 (inconsistent-class-hierarchy): New error symbol.
6636 (call-next-method): Stow the replacement argument list for future
6637 call-next-method invocations.
6639 2010-09-23 Glenn Morris <rgm@gnu.org>
6641 * calendar/appt.el (appt-check): If not displaying the diary,
6642 use (diary 1) to only get the entries we need.
6643 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6644 that it is in day order. (Bug#7019)
6646 * calendar/appt.el (appt-check): Rather than showing the diary,
6647 just turn off invisible display, and only if needed.
6649 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6651 2010-09-23 Glenn Morris <rgm@gnu.org>
6653 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6654 (byte-compile-defvar, byte-compile-cl-warn):
6655 Start warnings with lower-case, like the majority.
6657 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6659 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6661 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6662 * files.el (auto-mode-alist): Move ld-script entries here, further down
6665 * vc/add-log.el: Don't require timezone when compiling.
6666 (timezone-make-date-sortable): Autoload it.
6667 (change-log-sortable-date-at): Don't require timezone.
6668 Use `ignore-errors'.
6670 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6671 Move alias before definition, so it does not need autoloading.
6673 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6674 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6675 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6676 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6677 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6678 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6679 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6680 * textmodes/tex-mode.el, textmodes/two-column.el:
6681 Remove leading `*' from docs of defcustoms etc.
6683 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6685 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6687 2010-09-22 Dan Christensen <jdc@uwo.ca>
6689 * calendar/time-date.el (date-to-time): Try using parse-time-string
6690 first before using the slower timezone-make-date-arpa-standard.
6692 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6694 * calendar/time-date.el (format-seconds): Comment fix.
6696 2010-09-22 Glenn Morris <rgm@gnu.org>
6698 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6699 is not automatically buffer-local.
6701 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6703 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6704 (smie-indent-comment): Be more careful with comment-start-skip.
6705 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6706 (smie-indent-functions): Use them.
6708 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6710 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6712 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6714 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6715 tool-bar-position. Don't modify frame parameters here.
6716 (menu-bar-options-save): Add tool-bar-position.
6718 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6720 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6722 * textmodes/reftex-parse.el (reftex-what-macro)
6723 (reftex-context-substring): Let-bind forward-sexp-function to nil
6724 since we don't need/want to treat \begin...\end as a block (bug#7053).
6726 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6728 * simple.el (blink-matching-open): Use syntax-class.
6730 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6731 Set invisibility spec for pascal's outline mode.
6732 (pascal-outline-change): Clean up calling convention.
6733 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6735 * progmodes/prolog.el (prolog-smie-forward-token)
6736 (prolog-smie-backward-token): New functions.
6737 (prolog-mode-variables): Use them to parse "!," correctly.
6738 Set up smie-blink-matching for ".".
6740 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6742 (ispell-region, ispell-process-line): Update users.
6744 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6747 * textmodes/ispell.el: Fix commenting convention.
6748 (ispell-parse-output): Simplify, use push.
6749 (ispell-region): Use match-string-no-properties.
6750 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6751 (ispell-minor-mode): Use define-minor-mode.
6752 (ispell-message): Remove unused var `skip-regexp'.
6753 (ispell-add-per-file-word-list): Use dynamic let-binding.
6754 Try and use the proper comment marker.
6756 * mail/sendmail.el: Fix commenting convention.
6757 (sendmail-send-it): Use line-beginning-position.
6759 * help-fns.el (describe-variable): Add original value, if applicable.
6761 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6763 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6765 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6767 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6769 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6770 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6771 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6772 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6773 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6774 something like "." can also be a closer.
6775 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6776 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6777 Rename internal functions to use "--". Update callers.
6779 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6781 * fringe.el (fringe-styles): New var.
6782 (fringe-mode, fringe-query-style): Use it.
6784 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6786 * progmodes/sql.el: Version 2.8
6787 (sql-login-params): Update widget structure; changes still needed.
6788 (sql-product-alist): Add :list-all and :list-table features for
6789 SQLite, Postgres and MySQL products.
6790 (sql-redirect): Handle default value.
6791 (sql-execute, sql-execute-feature): New functions.
6792 (sql-read-table-name): New function.
6793 (sql-list-all, sql-list-table): New functions. User API.
6794 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6795 for above functions.
6796 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6797 for above functions.
6798 (sql-postgres-login-params): Add user and database defaults.
6799 (sql-buffer-live-p): Bug fix.
6800 (sql-product-history): New variable.
6801 (sql-read-product): New function. Use it.
6802 (sql-set-product, sql-product-interactive): Use it.
6803 (sql-connection-history): New variable.
6804 (sql-read-connection): New function. Use it.
6805 (sql-connect): New function.
6806 (sql-for-each-login): Redesign function interface.
6807 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6808 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6809 (sql-comint): Check for program. Existing live buffer.
6810 (sql-comint-postgres): Add port parameter.
6812 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6814 * emacs-lisp/warnings.el: Fix commenting convention.
6815 (display-warning): Use special mode and make the buffer read-only.
6817 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6819 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6820 empty string when it follows a repeated or optional pattern.
6822 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6824 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6825 (indent-region): Use indent-according-to-mode.
6827 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6829 * fringe.el (fringe-mode): Doc fix.
6831 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6833 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6834 refreshing the preview buffer.
6836 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6838 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6839 (latex-syntax-propertize-rules): New consts; replace
6840 tex-font-lock-syntactic-keywords.
6841 (tex-env-mark, latex-env-before-change): New functions.
6842 (latex-electric-env-pair-mode): New minor mode.
6843 (tex-font-lock-verb): Change arguments; do move point.
6844 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6845 representation as a form of comment.
6846 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6847 (doctex-syntax-propertize-rules): New const; replaces
6848 doctex-font-lock-syntactic-keywords.
6849 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6851 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6852 (fortran-make-syntax-propertize-function): New function; replaces
6853 fortran-font-lock-syntactic-keywords.
6854 (fortran-mode): Use it.
6855 (fortran-line-length): Use it. Improve interactive spec.
6857 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6858 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6859 when adding surrounding \(..\).
6861 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6863 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6865 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6866 Use with-current-buffer.
6868 * isearch.el (isearch-face): Rename from `isearch'.
6869 (isearch-highlight): Use new name.
6871 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6873 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6874 5, for `half' width fringes. (Bug#6933)
6876 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6878 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6879 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6881 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6883 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6885 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6886 in calculating new frame position. Add more space between new and
6887 parent on the left (Bug#7048).
6889 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6891 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6894 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6896 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6898 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6899 obsolete alias for x-selection-value.
6901 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6903 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6905 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6908 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6910 * net/tramp-compat.el (tramp-compat-with-temp-message)
6911 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6912 (tramp-compat-process-put): New defuns.
6914 * net/tramp.el (top):
6915 * net/tramp-gvfs.el (top):
6916 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6918 * net/tramp.el (tramp-progress-reporter-update):
6919 Use `tramp-compat-funcall'.
6921 * net/tramp.el (tramp-process-actions):
6922 * net/tramp-gvfs.el (tramp-handle-vc-registered):
6923 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
6924 (tramp-get-remote-stat, tramp-get-remote-readlink):
6925 Use `tramp-compat-with-temp-message'.
6927 * net/tramp-sh.el (top): Require 'cl.
6928 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6929 (tramp-open-connection-setup-interactive-shell):
6930 Use `tramp-compat-process-put'.
6932 2010-09-15 Alan Mackenzie <acm@muc.de>
6934 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6936 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6938 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6940 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6941 `lexical' for warnings related to lexical scoping.
6942 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6943 global vars which don't have a prefix and could hence affect lexical
6944 scoping in unrelated files.
6946 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6948 * net/imap.el: Revert back to version
6949 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6952 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6954 * obsolete/old-whitespace.el (whitespace-unload-function):
6955 Explicitly pass `obarray' to `unintern' to avoid a warning.
6957 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6959 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6960 Add `when' argument. Update callers.
6962 * subr.el (unintern): Declare the obarray arg mandatory.
6964 2010-09-14 Glenn Morris <rgm@gnu.org>
6966 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6969 * calendar/diary-lib.el (diary-included-files): New variable.
6970 (diary-list-entries): Maybe initialize diary-included-files.
6971 (diary-include-other-diary-files): Append to diary-included-files.
6972 * calendar/appt.el (appt-update-list): Also check the members of
6973 diary-included-files. (Bug#6999)
6974 (appt-check): Doc fix.
6976 2010-09-14 David Reitter <david.reitter@gmail.com>
6978 * simple.el (line-move-visual): Do not truncate goal column to
6979 integer size. (Bug#7020)
6981 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6983 * repeat.el (repeat): Allow repeating when the last event is a click.
6984 Suggested by Drew Adams (bug#6256).
6986 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6988 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6989 Replace setting HGRCPATH to "" by some less invasive --config options.
6991 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6993 * font-lock.el (font-lock-beginning-of-syntax-function):
6996 2010-09-14 Glenn Morris <rgm@gnu.org>
6998 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6999 and tool-bar modes. (Bug#6211)
7000 (menu-bar-mode): Move setting of standard-value after the
7001 minor-mode definition, otherwise it seems to have no effect.
7003 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7005 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7006 Fix typo. (Bug#6976)
7008 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7010 * whitespace.el: Allow cleaning up blanks without blank
7011 visualization (Bug#6651). Adjust help window for
7012 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7013 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7014 (whitespace-style): Add new value 'face. Adjust docstring.
7015 (whitespace-space, whitespace-hspace, whitespace-tab):
7016 Adjust foreground property face.
7017 (whitespace-line-column): Adjust docstring and type declaration.
7018 (whitespace-style-value-list, whitespace-toggle-option-alist)
7019 (whitespace-help-text): Adjust const initialization.
7020 (whitespace-toggle-options, global-whitespace-toggle-options):
7022 (whitespace-display-window, whitespace-interactive-char)
7023 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7024 (whitespace-help-scroll): New fun.
7026 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7028 * calendar/time-date.el (format-seconds): Comment fix.
7030 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7032 * progmodes/sql.el: Version 2.7.
7033 (sql-buffer-live-p): Improve detection.
7034 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7035 (sql-set-sqli-buffer): Use it.
7036 (sql-product-interactive): Run `sql-set-sqli-hook'.
7037 (sql-rename-buffer): Code cleanup.
7038 (sql-redirect, sql-redirect-value): New functions. More to come.
7040 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7042 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.
7043 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7044 (TRAMP_SRC): New macro.
7045 ($(lisp)/net/tramp-loaddefs.el): New target.
7047 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7049 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7051 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7053 * net/tramp.el (top): Don't show loading message. Require just
7054 'tramp-compat, everything else is required there.
7055 Use `ignore-errors' where appropriate.
7056 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7057 (tramp-terminal-type, tramp-end-of-output)
7058 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7059 (tramp-completion-function-alist-ssh)
7060 (tramp-completion-function-alist-telnet)
7061 (tramp-completion-function-alist-su)
7062 (tramp-completion-function-alist-putty, tramp-remote-path)
7063 (tramp-remote-process-environment, tramp-sh-extra-args)
7064 (tramp-actions-before-shell, tramp-uudecode)
7065 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7066 (tramp-perl-file-attributes)
7067 (tramp-perl-directory-files-and-attributes)
7068 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7069 (tramp-perl-encode, tramp-perl-decode)
7070 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7071 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7072 (tramp-handle-make-symbolic-link, tramp-handle-load)
7073 (tramp-handle-file-name-as-directory)
7074 (tramp-handle-file-name-directory)
7075 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7076 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7077 (tramp-do-file-attributes-with-ls)
7078 (tramp-do-file-attributes-with-perl)
7079 (tramp-do-file-attributes-with-stat)
7080 (tramp-handle-set-visited-file-modtime)
7081 (tramp-handle-verify-visited-file-modtime)
7082 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7083 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7084 (tramp-handle-file-selinux-context)
7085 (tramp-handle-set-file-selinux-context)
7086 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7087 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7088 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7089 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7090 (tramp-handle-file-ownership-preserved-p)
7091 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7092 (tramp-handle-directory-files-and-attributes)
7093 (tramp-do-directory-files-and-attributes-with-perl)
7094 (tramp-do-directory-files-and-attributes-with-stat)
7095 (tramp-handle-file-name-all-completions)
7096 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7097 (tramp-handle-copy-file, tramp-handle-copy-directory)
7098 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7099 (tramp-do-copy-or-rename-file-via-buffer)
7100 (tramp-do-copy-or-rename-file-directly)
7101 (tramp-do-copy-or-rename-file-out-of-band)
7102 (tramp-handle-make-directory, tramp-handle-delete-directory)
7103 (tramp-handle-delete-file)
7104 (tramp-handle-dired-recursive-delete-directory)
7105 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7106 (tramp-handle-insert-directory)
7107 (tramp-handle-unhandled-file-name-directory)
7108 (tramp-handle-expand-file-name)
7109 (tramp-handle-substitute-in-file-name)
7110 (tramp-handle-executable-find, tramp-process-sentinel)
7111 (tramp-handle-start-file-process, tramp-handle-process-file)
7112 (tramp-handle-call-process-region, tramp-handle-shell-command)
7113 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7114 (tramp-handle-insert-file-contents)
7115 (tramp-handle-insert-file-contents-literally)
7116 (tramp-handle-find-backup-file-name)
7117 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7118 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7119 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7120 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7121 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7122 (tramp-find-file-exists-command, tramp-open-shell)
7123 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7124 (tramp-open-connection-setup-interactive-shell)
7125 (tramp-local-coding-commands, tramp-remote-coding-commands)
7126 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7127 (tramp-inline-compress-commands, tramp-find-inline-compress)
7128 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7129 (tramp-send-command, tramp-wait-for-output)
7130 (tramp-send-command-and-check, tramp-barf-unless-okay)
7131 (tramp-send-command-and-read, tramp-mode-string-to-int)
7132 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7133 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7134 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7135 (tramp-method-out-of-band-p, tramp-local-host-p)
7136 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7137 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7138 (tramp-get-test-command, tramp-get-test-nt-command)
7139 (tramp-get-file-exists-command, tramp-get-remote-ln)
7140 (tramp-get-remote-perl, tramp-get-remote-stat)
7141 (tramp-get-remote-readlink, tramp-get-remote-trash)
7142 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7143 (tramp-get-local-uid, tramp-get-local-gid)
7144 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7146 (tramp-methods, tramp-default-method-alist)
7147 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7148 Move initialization to tramp-sh.el.
7149 (tramp-temp-name-prefix): Make it a defconst.
7150 (tramp-dissect-file-name): Don't check anymore for multi-hop
7152 (tramp-debug-outline-regexp): Add a docstring.
7153 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7154 (tramp-get-debug-buffer): Use it.
7156 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7157 initialization forms.
7158 (tramp-set-connection-property): Don't protect `tramp-message'
7159 call, it isn't necessary any longer.
7160 (tramp-dump-connection-properties): Use `ignore-errors'.
7162 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7163 'password-cache and 'auth-source.
7165 * net/tramp-gvfs.el (top):
7166 * net/tramp-smb.el (top): Require 'tramp-sh.
7168 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7170 * net/tramp-sh.el: New file, derived from tramp.el.
7171 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7172 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7173 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7174 Use `ignore-errors' where appropriate.
7175 (tramp-sh-file-name-handler-alist): Rename from
7176 `tramp-file-name-handler-alist'.
7177 (tramp-send-command-and-check): Return t or nil. Remove all
7178 `zerop' checks, where called.
7179 (tramp-handle-set-file-modes)
7180 (tramp-do-copy-or-rename-file-directly)
7181 (tramp-handle-delete-directory, tramp-handle-delete-file)
7182 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7183 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7184 (tramp-get-remote-ln): Set tramp-autoload cookie.
7186 * net/tramp-fish.el: Remove file.
7188 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7190 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7191 buffer-file-name to avoid file-locking. (Bug#7026)
7193 2010-09-13 Julien Danjou <julien@danjou.info>
7195 * notifications.el (notifications-notify): Add support for
7196 image-path and sound-name.
7197 (notifications-specification-version): Add this variable.
7199 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7201 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7203 2010-09-12 Leo <sdl.web@gmail.com>
7205 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7206 (rcirc-completion-start): New variables.
7207 (rcirc-nick-completions): Rename to rcirc-completions.
7208 (rcirc-nick-completion-start-offset): Delete.
7209 (rcirc-completion-at-point): New function for constructing
7210 completion data for both nicks and irc commands. Add to
7211 completion-at-point-functions in rcirc mode.
7212 (rcirc-complete): Rename from rcirc-nick-complete; use
7213 rcirc-completion-at-point.
7214 (defun-rcirc-command): Update rcirc-client-commands.
7216 2010-09-11 Glenn Morris <rgm@gnu.org>
7218 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7219 atomically, to avoid parallel build errors. (Bug#4196)
7221 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7223 * progmodes/sql.el: Version 2.6
7224 (sql-dialect): Synonym for "sql-product".
7225 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7226 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7227 Set "sql-buffer" to buffer name not buffer object so multiple sql
7228 interactive buffers work properly. Reverts misguided changes in
7230 (sql-comint): Make sure different buffer name is used if "*SQL*"
7231 buffer is for a different product.
7232 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7234 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7235 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7236 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7237 Accept new buffer name or prompt for one.
7238 (sql-port): Default to zero.
7239 (sql-comint-mysql): Handle "sql-port" as a numeric.
7240 (sql-port-history): Delete unused variable.
7241 (sql-get-login): Default "sql-port" to a number.
7242 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7243 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7244 "sqlite3" executables.
7245 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7246 (sql-buffer-live-p): New function.
7247 (sql-mode-menu, sql-send-string): Use it.
7248 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7250 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7251 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7253 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7255 * net/netrc.el (netrc-credentials): New convenience function.
7257 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7259 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7260 to replace texinfo-font-lock-syntactic-keywords.
7261 (texinfo-mode): Use it.
7263 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7264 Use syntax-propertize-function.
7266 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7267 replace sgml-font-lock-syntactic-keywords.
7268 (sgml-mode): Use it.
7270 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7271 since we don't use it.
7273 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7275 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7277 (vhdl-fontify-buffer): Adjust.
7279 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7280 replace tcl-font-lock-syntactic-keywords.
7283 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7284 replace simula-font-lock-syntactic-keywords.
7285 (simula-mode): Use it.
7287 * progmodes/sh-script.el (sh-st-symbol): Remove.
7288 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7289 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7290 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7291 (sh-font-lock-paren): Set syntax-multiline.
7292 (sh-font-lock-syntactic-keywords): Remove.
7293 (sh-syntax-propertize-function): New function to replace it.
7296 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7297 Define while compiling.
7298 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7299 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7300 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7301 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7302 (ruby-here-doc-end-syntax): Only define when
7303 syntax-propertize is not available.
7304 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7306 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7307 (electric-indent-chars): Silence bytecompiler.
7308 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7309 electric-indent-chars.
7311 * progmodes/python.el (python-syntax-propertize-function): New var to
7312 replace python-font-lock-syntactic-keywords.
7313 (python-mode): Use it.
7314 (python-quote-syntax): Simplify and adjust to new use.
7316 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7317 replace perl-font-lock-syntactic-keywords.
7318 (perl-syntax-propertize-special-constructs): New fun to replace
7319 perl-font-lock-special-syntactic-constructs.
7320 (perl-font-lock-syntactic-face-function): New fun.
7321 (perl-mode): Use it.
7323 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7324 to replace octave-font-lock-close-quotes.
7325 (octave-syntax-propertize-function): New function to replace
7326 octave-font-lock-syntactic-keywords.
7327 (octave-mode): Use it.
7329 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7330 replaces mixal-font-lock-syntactic-keywords.
7331 (mixal-mode): Use it.
7333 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7334 New var; replaces makefile-font-lock-syntactic-keywords.
7335 (makefile-mode): Use it.
7336 (makefile-imake-mode): Adjust.
7338 * progmodes/js.el (js--regexp-literal): Define while compiling.
7339 (js-syntax-propertize-function): New var; replaces
7340 js-font-lock-syntactic-keywords.
7343 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7344 replaces gdb-script-font-lock-syntactic-keywords.
7345 (gdb-script-mode): Use it.
7347 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7348 (fortran--font-lock-syntactic-keywords): New var.
7349 (fortran-line-length): Update syntax-propertize-function and
7350 fortran--font-lock-syntactic-keywords.
7352 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7354 * progmodes/cfengine.el (cfengine-mode):
7355 Use syntax-propertize-function.
7356 (cfengine-font-lock-syntactic-keywords): Remove.
7358 * progmodes/autoconf.el (autoconf-mode):
7359 Use syntax-propertize-function.
7360 (autoconf-font-lock-syntactic-keywords): Remove.
7362 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7363 (ada-after-change-function, ada-initialize-syntax-table-properties)
7364 (ada-handle-syntax-table-properties): Only define when
7365 syntax-propertize is not available.
7366 (ada-mode): Use syntax-propertize-function.
7368 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7369 (font-lock-fontify-syntactic-keywords-region): Move handling of
7370 font-lock-syntactically-fontified to...
7371 (font-lock-default-fontify-region): ...here.
7372 Let syntax-propertize-function take precedence.
7373 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7375 * emacs-lisp/syntax.el (syntax-propertize-function)
7376 (syntax-propertize-chunk-size, syntax-propertize--done)
7377 (syntax-propertize-extend-region-functions): New vars.
7378 (syntax-propertize-wholelines, syntax-propertize-multiline)
7379 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7380 (syntax-propertize): New functions.
7381 (syntax-propertize-rules): New macro.
7382 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7383 (syntax-ppss): Call syntax-propertize.
7385 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7387 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7389 * textmodes/ispell.el (ispell-init-process): Improve comments.
7390 XEmacs compatibility changes regarding (add-hook) 'local option
7391 and (set-process-query-on-exit-flag).
7393 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7395 * net/tramp-cache.el (tramp-parse-connection-properties):
7396 Set tramp-autoload cookie.
7398 2010-09-09 Glenn Morris <rgm@gnu.org>
7400 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7401 (imagemagick-register-types): Doc fix.
7403 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7405 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7407 * progmodes/js.el (require): Require is already "eval-and-compile".
7408 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7409 (js--re-search-backward): Use js--re-search-forward.
7411 * progmodes/fortran.el (fortran-line-length): Don't recompute
7412 syntactic keywords redundantly a second time.
7414 * progmodes/ada-mode.el: Replace "(set '" with setq.
7415 (ada-mode): Simplify.
7416 (ada-create-case-exception, ada-adjust-case-interactive)
7417 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7418 (ada-search-ignore-string-comment, ada-move-to-start)
7419 (ada-move-to-end): Use with-syntax-table.
7421 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7422 (font-lock-unfontify-region, font-lock-default-fontify-region):
7423 Update usage correspondingly.
7424 (font-lock-fontify-syntactic-keywords-region):
7425 Set parse-sexp-lookup-properties buffer-locally here.
7426 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7428 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7430 2010-09-08 Glenn Morris <rgm@gnu.org>
7432 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7433 Error if not compiled with -DBYTE_CODE_METER.
7435 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7436 Ignore dir-locals-file.
7438 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7440 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7442 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7443 for the `gnu' messages.
7444 (compilation-set-skip-threshold): New command.
7445 (compilation-start): Use \' rather than $.
7446 (compilation-forget-errors): Use clrhash.
7448 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7450 * textmodes/ispell.el (ispell-valid-dictionary-list):
7453 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7455 Migrate to Tramp 2.2. Rearrange load dependencies.
7456 (Bug#1529, Bug#5448, Bug#5705)
7458 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7459 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7460 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7462 * net/tramp.el (top): Remove all other tramp-* loads except
7463 tramp-compat.el. Remove all changes to tramp-unload-hook for
7464 other tramp-* packages. Rearrange defun order. Change calls of
7465 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7466 `tramp-compat-octal-to-decimal' to new function names.
7467 (tramp-terminal-type, tramp-initial-end-of-output)
7468 (tramp-methods, tramp-foreign-file-name-handler-alist)
7469 (tramp-tramp-file-p, tramp-completion-mode-p)
7470 (tramp-send-command-and-check, tramp-get-remote-path)
7471 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7472 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7473 (with-file-property, with-connection-property): Move to
7475 (tramp-local-call-process, tramp-decimal-to-octal)
7476 (tramp-octal-to-decimal): Move to tramp-compat.el.
7477 (tramp-handle-shell-command): Do not require 'shell.
7478 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7480 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7482 * net/tramp-cache.el (top): Require 'tramp. Add to
7483 `tramp-unload-hook'.
7484 (tramp-cache-data, tramp-get-file-property)
7485 (tramp-set-file-property, tramp-flush-file-property)
7486 (tramp-flush-directory-property, tramp-get-connection-property)
7487 (tramp-set-connection-property, tramp-flush-connection-property)
7488 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7490 (with-file-property, with-connection-property): New defuns, moved
7492 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7495 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7496 (tramp-version): Set tramp-autoload cookie.
7498 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7499 changes to tramp-unload-hook for other tramp-* packages. Add to
7500 `tramp-unload-hook'.
7501 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7502 (tramp-compat-call-process): New defuns, moved from tramp.el.
7504 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7505 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7506 Add to `tramp-unload-hook'. Change call of
7507 `tramp-compat-decimal-to-octal' to new function name.
7508 (tramp-fish-method): Make it a defconst.
7509 (tramp-fish-file-name-p): Make it a defsubst.
7510 (tramp-fish-method, tramp-fish-file-name-handler)
7511 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7513 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7514 `tramp-foreign-file-name-handler-alist'. Add to
7515 `tramp-unload-hook'.
7516 (tramp-ftp-method): Make it a defconst.
7517 (tramp-ftp-file-name-p): Make it a defsubst.
7518 (tramp-ftp-method, tramp-ftp-file-name-handler)
7519 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7521 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7522 `tramp-foreign-file-name-handler-alist'. Add to
7523 `tramp-unload-hook'. Change checks, whether package can be
7525 (tramp-gvfs-file-name-p): Make it a defsubst.
7526 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7527 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7528 (tramp-gvfs-handle-file-directory-p): New defun.
7529 (tramp-gvfs-file-name-handler-alist): Use it.
7531 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7532 `tramp-foreign-file-name-handler-alist'. Add to
7533 `tramp-unload-hook'.
7534 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7535 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7537 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7538 (tramp-gw-open-connection): Set tramp-autoload cookie.
7540 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7541 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7542 Add to `tramp-unload-hook'. Change checks, whether package can be
7544 (tramp-imap-file-name-p): Make it a defsubst.
7545 (tramp-imap-method, tramp-imaps-method)
7546 (tramp-imap-file-name-handler)
7547 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7549 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7550 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7551 Add to `tramp-unload-hook'. Change checks, whether package can be
7552 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7554 (tramp-smb-tunnel-method): Make it a defconst.
7555 (tramp-smb-file-name-p): Make it a defsubst.
7556 (tramp-smb-method, tramp-smb-file-name-handler)
7557 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7559 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7560 (tramp-uuencode-region): Set tramp-autoload cookie.
7562 * net/trampver.el (top) Add to `tramp-unload-hook'.
7563 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7564 cookie. Update release number.
7566 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7568 * textmodes/ispell.el (ispell-start-process): Make sure original
7569 arg list is properly initialized (Bug#6993, Bug#6994).
7571 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7573 * files.el (directory-abbrev-alist): Use \` as default regexp.
7575 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7576 chars like - or ] (bug#6984).
7577 (rx-any-condense-range): Explode 2-char ranges.
7579 2010-09-06 Glenn Morris <rgm@gnu.org>
7581 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7583 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7585 * textmodes/bibtex.el:
7586 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7588 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7590 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7591 since no callers use it.
7592 (imap-message-get): Ditto.
7593 (imap-message-put): Ditto.
7594 (imap-mailbox-map): Ditto.
7595 (imap-mailbox-put): Ditto.
7596 (imap-mailbox-get): Ditto.
7597 (imap-mailbox-get): Revert last change for this function.
7599 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7601 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7602 callers to use `imap-fetch' instead. According to the comments, this
7603 should be safe, since all other IMAP clients use the 1:* syntax.
7604 (imap-enable-exchange-bug-workaround): Remove.
7605 (imap-debug): Remove -- doesn't seem very useful.
7607 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7609 * net/imap.el (imap-log): New convenience function used throughout
7610 instead of repeating the same code all over the place.
7612 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7614 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7615 when mouse-drag-copy-region is non-nil (Bug#6956).
7617 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7619 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7620 Improve regexps (Bug#6987).
7621 (dired-sort-toggle): Search more robustly for -t flag.
7623 * files.el (get-free-disk-space): Search more robustly for
7624 "available" column. Suggested by Ehud Karni
7625 <ehud@unix.mvs.co.il>.
7627 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7629 * international/uni-bidi.el:
7630 * international/uni-category.el:
7631 * international/uni-combining.el:
7632 * international/uni-decimal.el:
7633 * international/uni-mirrored.el:
7634 * international/uni-name.el: Regenerate.
7636 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7638 * electric.el (electric-indent-post-self-insert-function):
7639 Don't reindent with a sloppy indentation function.
7641 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7642 border case in change-log-mode.
7644 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7646 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7647 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7648 Recognize leading tab in gcc-include regexp. Ignore names with
7649 leading "from" or "in" in gnu regexp (Bug#6937).
7651 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7653 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7654 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7655 (ispell-start-process): Avoid setq and simplify logic.
7656 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7657 (kill-buffer-hook): Don't use it globally with code that uses
7658 expand-file-name since that may call kill-buffer via
7659 code_conversion_restore.
7661 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7663 * emacs-lisp/package.el (package-directory-list): Only call
7664 file-name-nondirectory on a string.
7666 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7668 * emacs-lisp/package.el (package--download-one-archive):
7669 Ensure that archive-contents is valid before saving it.
7670 (package-activate-1, package-mark-obsolete, define-package)
7671 (package-compute-transaction, package-list-maybe-add): Use push.
7673 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7675 Use SMIE's blink-paren for octave-mode.
7676 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7677 Backslashes do not escape single-quotes, single-quotes do.
7678 (octave-block-else-regexp, octave-block-end-regexp)
7679 (octave-block-match-alist): Remove.
7680 (octave-smie-bnf-table): New var, with old content.
7681 (octave-smie-op-levels): Use it.
7682 (octave-smie-closer-alist): New var.
7683 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7684 (octave-blink-matching-block-open): Remove.
7685 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7686 (octave-electric-space): Let self-insert-command run expand-abbrev and
7689 * electric.el (electricity): New group.
7690 (electric-indent-chars): New var.
7691 (electric-indent-post-self-insert-function): New fun.
7692 (electric-indent-mode): New minor mode.
7693 (electric-pair-skip-self): New custom.
7694 (electric-pair-post-self-insert-function): New function.
7695 (electric-pair-mode): New minor mode.
7697 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7698 calcAlg-blink-matching-open.
7699 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7700 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7701 Use the new blink-matching-check-function.
7703 Provide blink-matching support to SMIE.
7704 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7705 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7706 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7708 * simple.el (newline): Fix last change to properly remove itself from
7711 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7713 * simple.el (newline): Eliminate optimization.
7714 Use post-self-insert-hook to set hard-newline and things before
7715 running post-self-insert-hook.
7716 (blink-matching-check-mismatch): New function.
7717 (blink-matching-check-function): New variable.
7718 (blink-matching-open): Use them.
7719 Skip back forward over prefix chars skipped by forward-sexp.
7720 Don't check if the parens are backslash escaped.
7721 (blink-paren-post-self-insert-function): Check backslash escaping here.
7723 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7725 * emacs-lisp/package.el (package-menu-mode-map):
7726 Change package-menu-revert bindings to revert-buffer.
7727 (package-menu-mode): Set revert-buffer-function.
7728 (package-menu-revert): Doc fix.
7730 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7732 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7733 `default-directory' unless using Ispell per-directory personal
7734 dictionaries and not in a mini-buffer under XEmacs.
7735 (kill-buffer-hook): Do not kill ispell process on exit when
7736 `ispell-process-directory' is "~/". (Bug#6143)
7738 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7740 * simple.el (kill-new): Call interprogram-cut-function with only
7743 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7744 Remove cut buffer from error message.
7746 * term/x-win.el (x-select-text):
7747 * term/pc-win.el (x-selection-value):
7748 * term/ns-win.el (x-selection-value):
7749 * eshell/em-term.el:
7750 * w32-fns.el (x-get-selection-value):
7751 * mouse-sel.el (mouse-sel-set-selection-function):
7752 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7754 * term/x-win.el: Update documentation for x-last-selected-text-*.
7755 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7756 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7757 (x-select-text): Remove argument PUSH, update documentation.
7758 Remove cut-buffer code.
7759 (x-selection-value-internal): Was previously x-selection-value.
7760 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7761 Update documentation, remove cut-buffer code.
7762 Call x-selection-value-internal.
7763 (x-clipboard-yank): Call x-selection-value-internal.
7764 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7766 * term/pc-win.el (x-last-selected-text):
7767 x-cut-buffer-or-selection-value renamed to x-selection-value
7768 (x-select-text): Remove argument PUSH, update documentation.
7770 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7771 x-cut-buffer-or-selection-value renamed to x-selection-value
7772 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7773 (x-select-text): Remove argument PUSH, update documentation.
7775 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7777 * w32-fns.el (x-last-selected-text):
7778 x-cut-buffer-or-selection-value renamed to x-selection-value.
7779 (x-cut-buffer-max): Remove.
7780 (x-select-text): Remove argument PUSH, update documentation.
7782 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7784 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7786 * mouse-sel.el (mouse-sel-get-selection-function):
7787 x-cut-buffer-or-selection-value renamed to x-selection-value.
7788 (x-select-text): Remove optional push.
7790 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7792 * simple.el (blink-paren-function): Move from C to here.
7793 (blink-paren-post-self-insert-function): New function.
7794 (post-self-insert-hook): Use it.
7796 * emacs-lisp/pcase.el (pcase-split-memq):
7797 Fix overenthusiastic optimisation.
7798 (pcase-u1): Handle the case of a lambda pred.
7800 2010-08-31 Kenichi Handa <handa@m17n.org>
7802 * international/mule-cmds.el (standard-display-european-internal):
7803 Setup standard-display-table for 8-bit characters by storing 8-bit
7804 characters in the element vector.
7806 * disp-table.el (standard-display-8bit):
7807 Setup standard-display-table for 8-bit characters by storing 8-bit
7808 characters in the element vector.
7809 (standard-display-european): Likewise.
7811 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7813 * textmodes/nroff-mode.el (nroff-view): New command.
7814 (nroff-mode-map): Bind it to C-c C-c.
7816 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7818 * emacs-lisp/smie.el (smie-down-list): New command.
7820 Remove old indentation and navigation code on octave-mode.
7821 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7822 smie-down-list rather than add a binding for octave-down-block.
7823 (octave-mark-block, octave-blink-matching-block-open):
7824 Rely on forward-sexp-function.
7825 (octave-fill-paragraph): Don't narrow, so you can use
7826 indent-according-to-mode.
7827 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7828 (octave-in-block-p, octave-re-search-forward-kw)
7829 (octave-re-search-backward-kw, octave-indent-calculate)
7830 (octave-end-as-array-index-p, octave-block-end-offset)
7831 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7832 (octave-down-block, octave-backward-up-block, octave-up-block)
7833 (octave-before-magic-comment-p, octave-indent-line): Remove.
7835 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7837 * emacs-lisp/package.el (package--read-archive-file): Just use
7838 `read', to avoid copying an additional string.
7839 (package-menu-mode): Set header-line-format here.
7840 (package-menu-refresh, package-menu-revert): Signal an error if
7841 not in the Package Menu.
7842 (package-menu-package-list): New var.
7843 (package--generate-package-list): Operate on the current buffer;
7844 don't assume that it is *Packages*, since the user may rename it.
7845 Allow persistent package listings and sort keys using
7846 package-menu-package-list and package-menu-package-sort-key.
7847 (package-menu--version-predicate): Fix version calculation.
7848 (package-menu-sort-by-column): Don't select the window.
7849 (package--list-packages): Create the *Packages* buffer.
7850 Set package-menu-package-list-key.
7851 (list-packages): Sorting by status is now the default.
7852 (package-buffer-info): Use match-string-no-properties.
7853 (define-package): Add a &rest argument for future proofing, but
7855 (package-install-from-buffer, package-install-buffer-internal):
7856 Merge into a single function, package-install-from-buffer.
7857 (package-install-file): Change caller.
7859 * finder.el: Load finder-inf using `require'.
7860 (finder-list-matches): Sorting by status is now the default.
7861 (finder-compile-keywords): Simpify printing.
7863 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7865 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7866 (octave-mode-map): Remove special bindings for forward/backward-block
7867 and octave-backward-up-block. Use smie-close-block.
7868 (octave-continuation-marker-regexp): New var.
7869 (octave-continuation-regexp): Use it.
7870 (octave-operator-table, octave-smie-op-levels)
7871 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7872 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7873 (octave-mode): Use SMIE.
7874 (octave-close-block): Delete.
7876 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7878 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7879 CLIPBOARD, not in PRIMARY. (Bug#6944)
7881 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7883 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7885 (smie-indent-column): Allow indirection through variables.
7887 * composite.el (save-buffer-state): Delete, unused.
7888 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7889 (font-lock-default-fontify-region): Use with-syntax-table.
7890 * jit-lock.el (with-buffer-unmodified): Remove.
7891 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7893 Use `declare' in defmacros.
7894 * window.el (save-selected-window):
7895 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7896 * progmodes/python.el (def-python-skeleton):
7897 * net/dbus.el (dbus-ignore-errors):
7898 * jka-cmpr-hook.el (with-auto-compression-mode):
7899 * international/mule.el (with-category-table):
7900 * emacs-lisp/timer.el (with-timeout):
7901 * emacs-lisp/lisp-mnt.el (lm-with-file):
7902 * emacs-lisp/eieio.el (with-slots):
7903 * emacs-lisp/easymenu.el (easy-menu-define):
7904 * emacs-lisp/debug.el (debugger-env-macro):
7905 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7906 (Multiple-value-call, Multiple-value-prog1):
7907 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7908 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7909 edebug rule to definition.
7910 * emacs-lisp/lisp-mode.el (save-selected-window)
7911 (with-current-buffer, combine-after-change-calls)
7912 (with-output-to-string, with-temp-file, with-temp-buffer)
7913 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7914 (dolist, dotimes, when, unless):
7915 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7917 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7919 * finder.el: Require `package'.
7920 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7921 (finder-package-info): Var deleted.
7922 (finder-keywords-hash, finder--builtins-alist): New vars.
7923 (finder-compile-keywords): Compute package--builtins and
7924 finder-keywords-hash instead of finder-keywords-hash, respecting
7925 the "Package" header.
7926 (finder-unknown-keywords, finder-list-matches):
7927 Use finder-keywords-hash and package--list-packages.
7928 (finder-mode): Don't set font-lock-defaults.
7929 (finder-exit): We don't use "*Finder-package*" and "*Finder
7930 Category*" buffers anymore.
7932 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7933 (package--builtins): Set default value to nil.
7934 (package-initialize): Load precomputed value of package--builtins
7936 (package-alist, package-compute-transaction)
7937 (package-download-transaction): Improve docstring.
7938 (package-read-all-archive-contents): Do not change
7939 package--builtins here.
7940 (list-packages): Make package-list-packages an alias for this.
7941 Sort by status by default.
7942 (package--list-packages): Add optional PACKAGES arg.
7943 (describe-package-1): Use font-lock-face property. For built-in
7944 packages, insert file commentary.
7945 (package--generate-package-list): Rename from
7946 package-list-packages-internal; all callers changed. Add optional
7947 PACKAGES arg. Add alphabetical sort fallbacks.
7948 (package-menu--version-predicate, package-menu--status-predicate)
7949 (package-menu--description-predicate)
7950 (package-menu--name-predicate): New functions.
7952 * info.el (Info-finder-find-node): Search package-alist instead of
7953 finder-package-info.
7955 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7957 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7959 (version-to-list): Handle versions like "10.3d".
7961 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7963 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7964 (macroexp-accumulate): Use `declare'.
7966 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7968 * whitespace.el (whitespace-style): Adjust type declaration.
7970 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
7972 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7973 empty argument to gvfs-copy.
7975 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7977 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7978 handle new TRASH arg of `delete-file'.
7980 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7982 * net/tramp.el (tramp-handle-insert-directory): Don't use
7983 `forward-word', its default syntax could be changed.
7985 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7986 Michael Albinus <michael.albinus@gmx.de>
7988 Implement compression for inline methods.
7990 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7991 (tramp-copy-size-limit): Allow also nil.
7992 (tramp-inline-compress-commands): New defconst.
7993 (tramp-find-inline-compress, tramp-get-inline-compress)
7994 (tramp-get-inline-coding): New defuns.
7995 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7996 replaced by `tramp-get-inline-coding'.
7997 (tramp-handle-file-local-copy, tramp-handle-write-region)
7998 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8000 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
8002 Detect ssh 'ControlMaster' argument automatically in some cases.
8004 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8005 (tramp-default-method): Use it.
8007 2010-08-26 Karel Klíč <kklic@redhat.com>
8009 * net/tramp.el (tramp-file-name-for-operation):
8010 Add file-selinux-context.
8012 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8014 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8016 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8018 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8021 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8023 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8024 (js-paren-indent-offset, js-square-indent-offset)
8025 (js-curly-indent-offset): New options.
8026 (js--proper-indentation): Use them.
8028 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8030 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8031 instead of inspecting font-lock properties (Bug#6916).
8033 2010-08-26 David Reitter <david.reitter@gmail.com>
8035 * server.el (server-visit-files): Run pre-command-hook and
8036 post-command-hook for each buffer while it is current (Bug#6910).
8037 (server-execute): Do not run hooks here.
8039 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8041 Sync with Tramp 2.1.19.
8043 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8044 (tramp-reporter-dump-variable, tramp-load-report-modules)
8045 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
8046 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
8048 * net/tramp-compat.el (top): Do not autoload
8049 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8050 only when `start-file-process' is not bound.
8051 (byte-compile-not-obsolete-vars): Define if not bound.
8052 (tramp-compat-funcall): New defmacro.
8053 (tramp-compat-line-beginning-position)
8054 (tramp-compat-line-end-position)
8055 (tramp-compat-temporary-file-directory)
8056 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8057 (tramp-compat-copy-file, tramp-compat-copy-directory)
8058 (tramp-compat-delete-file, tramp-compat-delete-directory)
8059 (tramp-compat-number-sequence, tramp-compat-process-running-p):
8061 (tramp-advice-file-expand-wildcards): Do not use
8062 `tramp-handle-file-remote-p'.
8063 (tramp-compat-make-temp-file): Simplify fallback implementation.
8064 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8065 (tramp-compat-copy-tree): Remove function.
8066 (tramp-compat-delete-file): New defun.
8067 (tramp-compat-delete-directory): Provide implementation for older
8069 (tramp-compat-file-attributes): Handle only
8070 `wrong-number-of-arguments' error.
8072 * net/tramp-fish.el (tramp-fish-handle-copy-file):
8073 Add PRESERVE_SELINUX_CONTEXT.
8074 (tramp-fish-handle-delete-file): Add TRASH arg.
8075 (tramp-fish-handle-directory-files-and-attributes):
8076 Do not use `tramp-fish-handle-file-attributes.
8077 (tramp-fish-handle-file-local-copy)
8078 (tramp-fish-handle-insert-file-contents)
8079 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
8081 * net/tramp-gvfs.el (top): Require url-util.
8082 (tramp-gvfs-mount-point): Remove.
8083 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
8084 and `set-file-selinux-context'.
8085 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
8086 (tramp-gvfs-handle-file-selinux-context)
8087 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8088 (with-tramp-dbus-call-method): Format trace message.
8089 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8090 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8091 Implement backup call, when operation on local files fails.
8092 Use progress reporter. Flush properties of changed files.
8093 (tramp-gvfs-handle-delete-file): Add TRASH arg.
8094 Use `tramp-compat-delete-file'.
8095 (tramp-gvfs-handle-expand-file-name): Expand "~/".
8096 (tramp-gvfs-handle-make-directory): Make more traces.
8097 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
8098 (tramp-gvfs-url-file-name): Hexify file name in url.
8099 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8100 into account for the resulting file name.
8101 (tramp-gvfs-handler-askquestion): Preserve current message, in
8102 order to let progress reporter continue afterwards. (Bug#6257)
8103 Return dummy mountpoint, when the answer is "no".
8104 See `tramp-gvfs-maybe-open-connection'.
8105 (tramp-gvfs-handler-mounted-unmounted)
8106 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8107 attribute "default_location". Set "prefix" property.
8108 Handle default-location.
8109 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8110 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8111 exists. Raise an error, if not (due to a corresponding answer
8112 "no" in interactive questions, for example).
8113 Use `tramp-compat-funcall'.
8115 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8116 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8117 (tramp-imap-do-copy-or-rename-file)
8118 (tramp-imap-handle-insert-file-contents)
8119 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8120 (tramp-imap-handle-delete-file): Add TRASH arg.
8122 * net/tramp-smb.el (tramp-smb-handle-copy-file):
8123 Add PRESERVE-SELINUX-CONTEXT.
8124 (tramp-smb-handle-copy-file)
8125 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8126 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8127 Use `with-progress-reporter'.
8128 (tramp-smb-handle-delete-file): Add TRASH arg.
8130 * net/tramp.el (tramp-methods): Move hostname to the end in all
8131 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
8133 (tramp-verbose): Describe verbose level 9.
8134 (tramp-completion-function-alist)
8135 (tramp-file-name-regexp, tramp-chunksize)
8136 (tramp-local-coding-commands, tramp-remote-coding-commands)
8137 (with-connection-property, tramp-completion-mode-p)
8138 (tramp-action-process-alive, tramp-action-out-of-band)
8139 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8140 (tramp-exists-file-name-handler): Fix docstring.
8141 (tramp-remote-process-environment): Use `format' instead of
8142 `concat'. Protect version string by apostroph.
8143 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8145 (tramp-file-name-regexp-unified)
8146 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8147 not regard the volume letter as remote filename. (Bug#5447)
8148 (tramp-perl-file-attributes)
8149 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8150 (tramp-vc-registered-read-file-names): Read input as
8151 here-document, otherwise the command could exceed maximum length
8153 (tramp-file-name-handler-alist): Add `file-selinux-context' and
8154 `set-file-selinux-context'.
8155 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
8156 backtrace functions.
8157 (tramp-error-with-buffer): Don't show the connection buffer when
8158 we are in completion mode.
8159 (tramp-progress-reporter-update, tramp-remote-selinux-p)
8160 (tramp-handle-file-selinux-context)
8161 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
8162 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
8164 (with-progress-reporter): New defmacro.
8165 (tramp-debug-outline-regexp): New defconst.
8166 (top, tramp-rfn-eshadow-setup-minibuffer)
8167 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8168 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8169 (tramp-completion-mode-p, tramp-check-for-regexp)
8170 (tramp-open-connection-setup-interactive-shell)
8171 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8172 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8173 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
8174 Use `tramp-compat-funcall'.
8175 (tramp-handle-make-symbolic-link): Flush file properties.
8176 (tramp-handle-load, tramp-handle-file-local-copy)
8177 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8178 (tramp-handle-vc-registered, tramp-maybe-send-script)
8179 (tramp-find-shell): Use `with-progress-reporter'.
8180 (tramp-do-file-attributes-with-stat): Add space in format string,
8181 in order to work around a bug in pdksh. Reported by Gilles Pion
8183 (tramp-handle-verify-visited-file-modtime): Do not send a command
8184 when the connection is not established.
8185 (tramp-handle-set-file-times): Simplify the check for utc.
8186 (tramp-handle-directory-files-and-attributes)
8187 (tramp-get-remote-path): Use `copy-tree'.
8188 (tramp-completion-handle-file-name-all-completions): Ensure, that
8189 non remote files are still checked. Oops.
8190 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8191 Handle PRESERVE-SELINUX-CONTEXT.
8192 (tramp-do-copy-or-rename-file): Add progress reporter.
8193 (tramp-do-copy-or-rename-file-directly): Do not use
8194 `tramp-handle-file-remote-p'.
8195 (tramp-do-copy-or-rename-file-out-of-band):
8196 Use `tramp-compat-delete-directory'.
8197 (tramp-do-copy-or-rename-file-out-of-band)
8198 (tramp-compute-multi-hops, tramp-maybe-open-connection):
8199 Use `format-spec-make'.
8200 (tramp-handle-delete-file): Add TRASH arg.
8201 (tramp-handle-dired-uncache): Flush directory cache, not only file
8203 (tramp-handle-expand-file-name)
8204 (tramp-completion-handle-file-name-all-completions)
8205 (tramp-completion-handle-file-name-completion):
8206 Use `tramp-connectable-p'.
8207 (tramp-handle-start-file-process): Set connection property "vec".
8208 Use it, in order to invalidate file caches. Check only for
8209 `remote-tty' process property.
8210 Implement tty setting. (Bug#4604, Bug#6360)
8211 (tramp-file-name-for-operation): Add `call-process-region' and
8212 `set-file-selinux-context'.
8213 (tramp-find-foreign-file-name-handler)
8214 (tramp-advice-make-auto-save-file-name)
8215 (tramp-set-auto-save-file-modes): Remove superfluous check for
8216 `stringp'. This is done inside `tramp-tramp-file-p'.
8217 (tramp-file-name-handler): Trace 'quit. Catch the error for some
8218 operations when we are in completion mode. This gives the user
8219 the chance to correct the file name in the minibuffer.
8220 (tramp-completion-mode-p): Use `non-essential'.
8221 (tramp-handle-file-name-all-completions): Backward/ XEmacs
8222 compatibility: Use `completion-ignore-case' if
8223 `read-file-name-completion-ignore-case' does not exist.
8224 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
8225 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8227 (tramp-action-password): Hide password prompt before next run.
8228 (tramp-process-actions): Widen connection buffer for the trace.
8229 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8230 process property. Trace stty settings if `tramp-verbose' >= 9.
8231 Apply workaround for IRIX64 bug. Move argument of last
8232 `tramp-send-command' where it belongs to.
8233 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8234 front of `login-args'.
8235 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
8236 on "/dev/null" instead of "/".
8237 (tramp-get-ls-command-with-dired): Make test for "--dired"
8239 (tramp-set-auto-save-file-modes): Adapt version check.
8240 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8241 (tramp-handle-process-file): Call the program in a subshell, in
8242 order to preserve working directory.
8243 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
8244 `tramp-remote-sh' from `tramp-methods'.
8245 (tramp-get-ls-command): Make test for "--color=never" stronger.
8246 (tramp-check-for-regexp): Use (forward-line 1).
8248 * net/trampver.el: Update release number.
8250 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8252 * help.el (help-map): Bind `C-h P' to describe-package.
8254 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8256 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8257 when downloading archives.
8258 (describe-package-1): Add package commentary.
8259 (package-install-button-action): New function.
8260 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8261 (package-menu-view-commentary): Function removed.
8262 (package-list-packages-internal): Hide the `package' package too.
8264 2010-08-25 Kenichi Handa <handa@m17n.org>
8266 * language/misc-lang.el ("Arabic"): New language environment.
8267 Setup composition-function-table for Arabic characters.
8269 * international/fontset.el (setup-default-fontset): Fix typo for
8270 arabic OTF spec (fini->fina).
8272 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8274 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8277 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8279 * whitespace.el: Allow cleaning up blanks without blank
8280 visualization (Bug#6651). Adjust help window for
8281 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8282 instead of whitespace-line-column (from EmacsWiki). New version
8284 (whitespace-style): Add new value 'face. Adjust docstring.
8285 (whitespace-space, whitespace-hspace, whitespace-tab):
8286 Adjust foreground property face.
8287 (whitespace-line-column): Adjust docstring and type declaration.
8288 (whitespace-style-value-list, whitespace-toggle-option-alist)
8289 (whitespace-help-text): Adjust const initialization.
8290 (whitespace-toggle-options, global-whitespace-toggle-options):
8292 (whitespace-display-window, whitespace-interactive-char)
8293 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8294 (whitespace-help-scroll): New fun.
8296 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8298 * emacs-lisp/package.el (list-packages): Alias for
8299 package-list-packages.
8301 2010-08-24 Kevin Ryde <user42@zip.com.au>
8303 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8306 * progmodes/ruby-mode.el (ruby): Add defgroup.
8308 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8310 * progmodes/python.el: Add Ipython support (Bug#5390).
8311 (python-shell-prompt-alist)
8312 (python-shell-continuation-prompt-alist): New options.
8313 (python--set-prompt-regexp): New function.
8314 (inferior-python-mode, run-python, python-shell):
8315 Require ansi-color. Use python--set-prompt-regexp to set the comint
8316 prompt based on the Python interpreter.
8317 (python--prompt-regexp): New var.
8318 (python-check-comint-prompt)
8319 (python-comint-output-filter-function): Use it.
8320 (run-python): Use a pipe (Bug#5694).
8322 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8324 * progmodes/python.el (python-send-region): Send a different
8325 Python command if Ipython is in use.
8326 (python-check-version): Use a Python command to find the version.
8328 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8330 * mouse.el (mouse-yank-primary): Avoid setting primary when
8331 deactivating the mark (Bug#6872).
8333 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8335 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8336 with "else" (Bug#3991).
8338 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8340 * net/dbus.el: Accept UNIX domain sockets as bus address.
8341 (top): Don't initialize `dbus-registered-objects-table' anymore,
8342 this is done in dbusbind,c.
8343 (dbus-check-event): Adapt test for bus.
8344 (dbus-return-values-table, dbus-unregister-service)
8345 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8348 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8350 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8352 2010-08-22 Juri Linkov <juri@jurta.org>
8354 * simple.el (read-extended-command): New function with the logic
8355 for `completing-read' moved to Elisp from `execute-extended-command'.
8356 Use `function-called-at-point' in `minibuffer-default-add-function'
8357 to get a command name for M-n (bug#5364, bug#5214).
8359 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8361 * startup.el (command-line-1): Issue warning for ignored arguments
8362 --unibyte, etc (Bug#6886).
8364 2010-08-22 Leo <sdl.web@gmail.com>
8366 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8367 (ignore, bright, dim, keyword): Split list of nicknames before
8368 passing to rcirc-add-or-remove (Bug#6894).
8370 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8372 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8374 2010-08-22 Leo <sdl.web@gmail.com>
8376 Fix buffer-list rename&refresh after killing a buffer in ido.
8377 * ido.el: Revert Óscar's.
8378 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8379 Remember the buffers at head, rather than their name.
8380 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8382 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8383 Stefan Monnier <monnier@iro.umontreal.ca>
8385 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8386 extra backslash added to each line (bug#6890).
8388 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8390 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8392 2010-08-22 Glenn Morris <rgm@gnu.org>
8394 * menu-bar.el (menu-bar-games-menu): Add landmark.
8396 2010-08-22 Glenn Morris <rgm@gnu.org>
8398 * align.el (align-regexp): Make group and spacing arguments
8399 use the interactive defaults when non-interactive. (Bug#6698)
8401 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8402 expansion, so as not to need sendmail.
8403 (mail-text-start): Remove declaration.
8404 (rmail-retry-failure): Require sendmail.
8406 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8408 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8410 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8412 * progmodes/flymake.el (flymake-start-syntax-check-process):
8413 Use `start-file-process' in order to let it run also on remote hosts.
8415 2010-08-22 Kenichi Handa <handa@m17n.org>
8417 * files.el: Add `word-wrap' as safe local variable.
8419 2010-08-22 Glenn Morris <rgm@gnu.org>
8421 * woman.el (woman-translate): Case matters. (Bug#6849)
8423 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8425 * simple.el (kill-region): Doc fix (Bug#6787).
8427 2010-08-22 Glenn Morris <rgm@gnu.org>
8429 * calendar/diary-lib.el (diary-header-line-format):
8430 Fit it to the window, not the frame.
8432 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8434 * subr.el (ignore-errors): Add debug declaration.
8436 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8438 * whitespace.el (whitespace-color-off): Remove post-command-hook
8441 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8443 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8445 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8447 * cus-edit.el (custom-group-value-create): Add extra newline
8448 before end line (Bug#6876).
8450 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8452 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8453 when extending it. Before killing on the second click, check if
8454 the buffer is the correct one. Doc fix.
8455 (mouse-secondary-save-then-kill): Allow usage without first
8456 calling mouse-start-secondary, by defaulting to point. Don't save
8457 an empty secondary selection. Doc fix.
8459 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8461 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8462 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8464 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8465 Adjust initialization.
8466 (whitespace-bob-marker, whitespace-eob-marker)
8467 (whitespace-buffer-changed): New vars.
8468 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8469 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8470 (whitespace-post-command-hook, whitespace-display-char-on):
8472 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8473 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8475 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8477 * files.el (locate-file-completion-table): Only list the .el and .elc
8478 extensions if there's no other choice (bug#5955).
8480 * facemenu.el (facemenu-self-insert-data): New var.
8481 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8483 (facemenu-add-face): Use them.
8485 * simple.el (blink-matching-open): Obey forward-sexp-function.
8487 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8489 * simple.el (prog-mode-map): New var.
8490 (prog-indent-sexp): New command.
8492 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8494 * progmodes/prolog.el (smie): Require.
8496 * emacs-lisp/smie.el (smie-default-backward-token)
8497 (smie-default-forward-token): Strip properties.
8498 (smie-next-sexp): Be more careful with associative operators.
8499 (smie-forward-sexp-command): Generalize.
8500 (smie-backward-sexp-command): Simplify.
8501 (smie-closer-alist): New var.
8502 (smie-close-block): New command.
8503 (smie-indent-debug-log): New var.
8504 (smie-indent-offset-rule): Add a few more cases.
8505 (smie-indent-column): New function.
8506 (smie-indent-after-keyword): Use it.
8507 (smie-indent-keyword): Use it.
8508 Fix up the opener code's point position.
8509 (smie-indent-comment): Only applies at BOL.
8510 (smie-indent-debug): New command.
8512 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8513 declarations that are useful before running the macro.
8515 2010-08-18 Joakim Verona <joakim@verona.se>
8517 * image.el (imagemagick-types-inhibit): New variable.
8518 (imagemagick-register-types): New function.
8519 * image-mode.el (image-transform-properties): New function.
8520 (image-transform-set-scale, image-transform-fit-to-height)
8521 (image-transform-set-rotation, image-transform-set-resize)
8522 (image-transform-fit-to-width, image-transform-fit-to-height):
8524 (image-toggle-display-image): Support image transforms.
8526 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8528 * image.el (create-animated-image): Don't add heuristic mask to image
8531 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8533 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8534 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8536 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8538 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8540 Font-lock '...' strings, plus various simplifications and fixes.
8541 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8542 (octave-font-lock-close-quotes): New function.
8543 (octave-font-lock-syntactic-keywords): New var.
8544 (octave-mode): Use it. Set beginning-of-defun-function.
8545 (octave-mode-map): Don't override the <foo>-defun commands.
8546 (octave-mode-menu): Pass it directly to easy-menu-define;
8547 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8548 (octave-block-match-alist): Fix up last change so that
8549 octave-close-block uses the more specific keyword.
8550 (info-lookup-mode): Silence byte-compiler.
8551 (octave-beginning-of-defun): Not interactive any more.
8553 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8554 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8555 (octave-completion-at-point-function): Make sure point is within
8557 (octave-reindent-then-newline-and-indent):
8558 Use reindent-then-newline-and-indent.
8559 (octave-add-octave-menu): Remove.
8561 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8563 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8564 (report-emacs-bug-can-use-xdg-email): New functions.
8565 (report-emacs-bug): Set can-xdg-email to result of
8566 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8567 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8570 * net/browse-url.el (browse-url-default-browser): Add cond
8571 for browse-url-xdg-open.
8572 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8574 2010-08-17 Glenn Morris <rgm@gnu.org>
8576 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8577 (c-fontify-recorded-types-and-refs): Define for compiler.
8578 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8581 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8584 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8586 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8588 (tramp-handle-process-file): Call the program in a subshell, in
8589 order to preserve working directory.
8590 (tramp-action-password): Hide password prompt before next run.
8591 (tramp-process-actions): Widen connection buffer for the trace.
8593 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8595 * net/rcirc.el (rcirc-log-process-buffers): New option.
8596 (rcirc-print): Use it.
8597 (rcirc-generate-log-filename): New function.
8598 (rcirc-log-filename-function): Change default to
8599 rcirc-generate-log-filename (Bug#6828).
8601 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8603 * simple.el (deactivate-mark): If select-active-regions is `only',
8604 only set selection for temporarily active regions.
8606 * cus-start.el: Change defcustom for select-active-regions.
8608 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8610 * mouse.el (mouse--drag-set-mark-and-point): New function.
8611 (mouse-drag-track): Use LOCATION arg to push-mark.
8612 Use mouse--drag-set-mark-and-point to take click-count into
8613 consideration when updating point and mark (Bug#6840).
8615 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8617 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8618 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8620 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8622 * font-lock.el (lisp-font-lock-keywords-2):
8623 Add combine-after-change-calls, condition-case-no-debug,
8624 with-demoted-errors, and with-silent-modifications (Bug#6025).
8626 2010-08-14 Kevin Ryde <user42@zip.com.au>
8628 * emacs-lisp/copyright.el (copyright-update-year)
8629 (copyright-update): Temporary switch-to-buffer to ensure the
8630 buffer change being queried is visible (Bug#5394).
8632 2010-08-14 Tom Tromey <tromey@redhat.com>
8634 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8637 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8639 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8642 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8644 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8645 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8646 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8647 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8648 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8649 Call menu-bar-set-tool-bar-position.
8651 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8653 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8654 comment style (bug#6834).
8655 * progmodes/scheme.el (scheme-mode-syntax-table):
8656 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8657 "b" flag in "' 14b" syntax.
8659 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8660 for (un)commenting the region and performing completion.
8661 (octave-mode-menu): Use standard commands for help and completion.
8662 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8663 (octave-mode): Use define-derived-mode.
8664 Set completion-at-point-functions and don't set columns.
8665 Don't disable adaptive-fill-regexp.
8666 (octave-describe-major-mode, octave-comment-region)
8667 (octave-uncomment-region, octave-comment-indent)
8668 (octave-indent-for-comment): Remove.
8669 (octave-indent-calculate): Rename from calculate-octave-indent.
8670 (octave-indent-line, octave-fill-paragraph): Update caller.
8671 (octave-initialize-completions): No need to make an alist.
8672 (octave-completion-at-point-function): New function.
8673 (octave-complete-symbol): Use it.
8674 (octave-insert-defun): Use define-skeleton.
8676 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8677 (octave-mode-map): Use comment-dwim (bug#6829).
8679 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
8681 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8682 indentation of inserted comment.
8684 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8686 * faces.el (region): Add type gtk that uses gtk colors.
8688 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8689 Handle theme-name change.
8691 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8693 * progmodes/sql.el: Version 2.5
8694 (sql-product-alist): Add :prompt-cont-regexp property for several
8696 (sql-prompt-cont-regexp): New variable.
8697 (sql-output-newline-count, sql-output-by-send):
8698 New variables. Record number of newlines in input text.
8699 (sql-send-string): Handle multiple filters and count newlines.
8700 (sql-send-magic-terminator): Count terminator newline.
8701 (sql-interactive-remove-continuation-prompt): Filters output to
8702 remove continuation prompts; one for each newline.
8703 (sql-interactive-mode): Set up new variables, prompt regexp and
8705 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8706 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8708 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8710 * emacs-lisp/pcase.el: New file.
8712 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8714 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8715 as here-document, otherwise the command could exceed maximum
8716 length of command line.
8717 (tramp-handle-vc-registered): Call script accordingly.
8718 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8720 2010-08-10 Kenichi Handa <handa@m17n.org>
8722 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8725 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8727 * emacs-lisp/package.el (package-version-split)
8728 (package--version-first-nonzero, package-version-compare):
8730 (package-directory-list, package-load-all-descriptors)
8731 (package--built-in, package-activate, define-package)
8732 (package-installed-p, package-compute-transaction)
8733 (package-read-all-archive-contents)
8734 (package--add-to-archive-contents, package-buffer-info)
8735 (package-tar-file-info, package-list-packages-internal):
8736 Use version-to-list and version-list-*.
8738 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8739 Use version-to-list.
8740 (package-upload-buffer-internal): Use version-list-<=.
8742 2010-08-09 Kenichi Handa <handa@m17n.org>
8744 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8747 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8749 * tutorial.el (tutorial--default-keys): C-d is now bound to
8750 delete-forward-char (Bug#6826).
8752 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8753 for `double' value of mouse-1-click-follows-link (Bug#6807).
8755 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8757 * replace.el (replace-highlight): Bind isearch-forward and
8758 isearch-error, ensuring that highlighting is updated if the user
8759 switches the search direction (Bug#6808).
8761 * isearch.el (isearch-lazy-highlight-forward): New var.
8762 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8763 (isearch-lazy-highlight-update): Use it.
8765 2010-08-08 Kenichi Handa <handa@m17n.org>
8767 * international/mule.el (define-charset): Store NAME as :base property.
8768 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8769 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8770 current priority. Force using the designation of the specific
8771 charset by adding `charset' text property. Improve the whole algorithm.
8773 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8775 * emulation/pc-select.el (pc-selection-mode-hook)
8776 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8777 (pc-selection-mode): Fix typos in docstrings.
8779 2010-08-08 Kenichi Handa <handa@m17n.org>
8781 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8782 ctext-non-standard-encodings-alist here.
8784 * international/mule.el (ctext-non-standard-encodings-alist):
8785 Add "koi8-r" and "microsoft-cp1251".
8786 (ctext-standard-encodings): New variable.
8787 (ctext-non-standard-encodings-table): List only elements for
8788 non-standard encodings.
8789 (ctext-pre-write-conversion): Adjust for the above change.
8790 Check ctext-standard-encodings.
8792 * international/mule-conf.el (compound-text): Doc fix.
8793 (ctext-no-compositions): Doc fix.
8794 (compound-text-with-extensions): Doc fix.
8796 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8798 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8800 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8802 * progmodes/which-func.el (which-func-format): Split help-echo text
8803 into lines, like other mode-line tooltips.
8805 * server.el (server-start): When using TCP sockets, force IPv4
8806 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8808 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8810 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8812 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8814 * term.el (term-delimiter-argument-list): Reflow docstring.
8815 (term-read-input-ring, term-write-input-ring, term-send-input)
8816 (term-bol, term-erase-in-display, serial-supported-or-barf):
8817 Fix typos in docstrings.
8819 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8821 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8823 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8825 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8827 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8829 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8830 Fix typo in docstring (bug#6747).
8832 2010-08-08 Leo <sdl.web@gmail.com>
8834 * eshell/esh-io.el (eshell-get-target): Better detection of
8835 read-only file (Bug#6762).
8837 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8839 * align.el (align-default-spacing): Doc fix.
8840 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8842 2010-08-08 Stephen Peters <speters@itasoftware.com>
8844 * calendar/icalendar.el
8845 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8846 (icalendar--get-weekday-numbers): New.
8847 (icalendar--convert-recurring-to-diary): Handle multiple byday
8848 values in weekly rules. (Bug#6766)
8850 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8852 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8853 (icalendar--create-uid, icalendar-export-region)
8854 (icalendar--parse-summary-and-rest): Code formatting.
8856 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8858 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
8859 to italicize headers.
8860 (calc-highlight-selections-with-faces): New variable.
8861 (calc-selected-face, calc-nonselected-face): New faces.
8863 * calc/calccomp.el (math-comp-highlight-string): Use
8864 `calc-highlight-selections-with-faces' to determine how to highlight
8867 * calc/calc-sel.el (calc-show-selections): Change message to when
8868 using faces to highlight selections.
8870 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8872 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8873 Add SQLite 3 keywords, functions and datatypes.
8874 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8877 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8879 * simple.el (select-active-regions): Move to keyboard.c.
8880 (deactivate-mark): Used saved-region-selection.
8881 (select-active-region): Function removed.
8882 (activate-mark, set-mark, push-mark-command)
8883 (handle-shift-selection): Don't call it.
8884 (keyboard-quit): Avoid adding the region to the window selection.
8886 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8887 select-active-regions implementation.
8888 (mouse-yank-at-click): Doc fix.
8890 * cus-start.el: Add custom declaration for select-active-regions.
8892 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8894 * simple.el (delete-forward-char): Doc fix.
8896 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8897 after reading the tutorial.
8899 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8901 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8902 Fix for the case that a C style comment has its delimiters alone on
8903 their respective lines.
8905 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8907 * net/tramp.el (tramp-handle-start-file-process): Set connection
8909 (tramp-process-sentinel): Use it for flushing the cache.
8910 We cannot do it via the process buffer, the buffer could be deleted
8911 already when running the sentinel.
8913 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8915 * comint.el (comint-mode): Make directory tracking functions
8916 functional on remote files. (Bug#6764)
8918 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8920 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8922 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8924 * emacs-lisp/find-gc.el (find-gc-source-files):
8925 Rename unexec.c => unexcoff.c.
8927 * emacs-lisp/authors.el (authors-fixed-entries):
8928 Rename unexec.c => unexcoff.c.
8930 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8932 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8933 cache, not only file cache.
8934 (tramp-process-sentinel): New defun.
8935 (tramp-handle-start-file-process): Use it, in order to invalidate
8938 2010-08-03 Leo <sdl.web@gmail.com>
8940 * server.el (server-start): Simplify loop.
8942 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8944 * frame.el (screen-height, screen-width, set-screen-width)
8945 (set-screen-height): Remove ancient compatibility aliases.
8947 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8948 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8950 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8951 that change current buffer.
8953 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8955 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8956 beginning of the string. Use `string-match-p'. (Bug#6765)
8958 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8960 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8962 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8964 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8965 (package--builtins): Tweak descriptions.
8966 (package-print-package): Upcase descriptions if necessary.
8967 Show all built-in packages in font-lock-builtin-face.
8968 (package-list-packages-internal): Omit "emacs" package.
8969 Show status of built-in packages as "built-in".
8971 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8973 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8974 before killing to preserve the primary selection (Bug#6701).
8976 * term/x-win.el (x-select-text): Doc fix.
8978 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8980 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8981 (objc-font-lock-extra-types):
8982 * progmodes/cc-mode.el (c-basic-common-init):
8983 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8984 (c++-make-template-syntax-table)
8985 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8986 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8987 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8988 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8989 * progmodes/cc-fonts.el (c-make-inverse-face)
8990 (c-basic-matchers-after):
8991 * progmodes/cc-engine.el (c-forward-keyword-clause)
8992 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8993 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8994 (c-guess-continued-construct, c-guess-basic-syntax):
8995 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8996 The above functions were modified or created.
8998 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9000 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9002 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9004 * files.el (bidi-paragraph-direction): Define safe local values.
9006 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9007 language-info-alist. Remove outdated FIXME in a comment.
9009 2010-07-31 Alan Mackenzie <acm@muc.de>
9011 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9012 Auto-fill broken in C/C++ modes.
9014 2010-07-30 Martin Rudalics <rudalics@gmx.at>
9016 * help.el (temp-buffer-max-height, temp-buffer-resize-mode)
9017 (resize-temp-buffer-window): Move back from window.el to avoid
9018 calling define-minor-mode in window.el and choke in bootstrap.
9020 2010-07-29 Martin Rudalics <rudalics@gmx.at>
9022 * loadup.el (top-level): Load window before files for the sake
9023 of replace-buffer-in-windows.
9025 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9026 (previous-buffer): Move to window.el.
9028 * bindings.el (unbury-buffer): Move to window.el.
9030 * window.el (display-buffer): Move group definition to front of
9031 display buffer section.
9032 (record-window-buffer, unrecord-window-buffer)
9033 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9034 (switch-to-next-buffer): New functions.
9035 (get-next-valid-buffer, last-buffer): Move here from simple.el.
9036 (next-buffer): Move here from simple.el. Call
9037 switch-to-next-buffer.
9038 (previous-buffer): Move here from simple.el. Call
9039 switch-to-prev-buffer.
9040 (bury-buffer, quit-restore-window): Switch to previous buffer
9041 when window cannot be deleted.
9042 (unbury-buffer): Move here from bindings.el.
9043 (delete-windows-on): Switch to previous buffer if window cannot
9044 be deleted. Unrecord buffer argument in all live windows.
9045 (replace-buffer-in-windows): Move here from window.c. Switch to
9046 previous buffer if window cannot be deleted. Unrecord argument
9047 buffer in all live windows.
9048 (switch-to-buffer): In doc-string warning suggest using
9049 with-current-buffer instead of set-buffer.
9051 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9053 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9054 (menu-bar-showhide-tool-bar-menu-customize-disable)
9055 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9056 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9057 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9058 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9059 make a menu for Options => toolbar that can move it.
9061 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9063 * emacs-lisp/package-x.el (package--make-rss-entry):
9064 (package-maint-add-news-item, package--update-news)
9065 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9067 * emacs-lisp/package.el (package-archive-url): Rename from
9069 (package-install): Doc fix.
9070 (package-download-single, package-download-tar, package-install)
9071 (package-menu-view-commentary): Callers changed.
9073 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9075 * net/tramp.el (tramp-handle-start-file-process): Check only for
9076 `remote-tty' process property.
9077 (tramp-open-shell): Don't check for tty.
9078 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9081 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9084 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9086 * emacs-lisp/package.el (package-load-list, package-archives)
9087 (package-archive-contents, package-user-dir)
9088 (package-directory-list, package--builtins, package-alist)
9089 (package-activated-list, package-obsolete-alist): Mark as risky.
9091 2010-07-28 Phil Hagelberg <phil@evri.com>
9093 Add support for non-default package repositories.
9094 * emacs-lisp/package.el (package-archive-base): Var deleted.
9095 (package-archives): New variable.
9096 (package-archive-contents): Doc fix.
9097 (package-load-descriptor): Do nothing if descriptor file is missing.
9098 (package--write-file-no-coding): New function.
9099 (package-unpack-single): Use it.
9100 (package-archive-id): New function.
9101 (package-download-single, package-download-tar)
9102 (package-menu-view-commentary): Use it.
9103 (package-installed-p): Make second argument optional.
9104 (package-read-all-archive-contents): New function.
9105 (package-initialize): Use it.
9106 (package-read-archive-contents): Add ARCHIVE argument.
9107 (package--add-to-archive-contents): New function.
9108 (package-install): Don't call package-read-archive-contents.
9109 (package--download-one-archive): Store archive file in a
9110 subdirectory of package-user-dir.
9111 (package-menu-execute): Remove spurious line movement.
9113 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9115 * cus-start.el (tool-bar-style): Add text-image-horiz.
9117 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9119 * progmodes/gud.el (gud-common-init): Check for remoteness of
9120 `file', and not of `default-directory'.
9122 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9124 * net/tramp.el (tramp-methods): Move hostname to the end in all
9125 ssh `tramp-login-args'.
9126 (tramp-verbose): Describe verbose level 9.
9127 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9128 (tramp-open-connection-setup-interactive-shell): Trace stty
9129 settings if `tramp-verbose' >= 9.
9130 (tramp-handle-start-file-process): Implement tty setting.
9131 (Bug#4604, Bug#6360)
9133 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9134 `tramp-verbose' to 9.
9136 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9138 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9139 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9140 Remove references to package `lisp-re' (bug#4369).
9142 2010-07-27 Tom Tromey <tromey@redhat.com>
9144 * progmodes/js.el (js-mode):
9145 * progmodes/make-mode.el (makefile-mode):
9146 * progmodes/simula.el (simula-mode):
9147 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9149 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9151 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9153 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9154 (display-time-world-buffer-name, display-time-world-mode-map):
9155 Fix typos in docstrings.
9157 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9159 * image-mode.el (image-display-size): New function.
9160 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9161 (image-mode-fit-frame): Use it (Bug#6639).
9163 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9165 * dired.el (dired-buffers-for-dir): Handle list values of
9166 dired-directory (Bug#6636).
9168 2010-07-26 Sam Steingold <sds@gnu.org>
9170 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9171 Do not call `x-get-selection' the second time, reuse the value.
9173 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9175 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9176 which consist of control chars only. Suggested by Richard Stallman.
9178 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9180 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9181 exists before passing an error to find-file-not-found-functions
9184 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9186 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9187 Remove leading nil element, adjust values.
9188 (tetris-shapes, tetris-shape-scores):
9189 Change representation of shapes and remove some redundancy.
9190 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9191 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9192 Adjust for working with new representation of shapes.
9193 (tetris-shape-rotations): New function.
9194 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9195 (tetris-rotate-prev, tetris-rotate-next):
9196 Adjust for working with the new version of tetris-test-shape.
9198 2010-07-23 Markus Triska <markus.triska@gmx.at>
9200 * progmodes/ps-mode.el: Use comint (bug#5954).
9201 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9202 (ps-mode-other-newline): Simplify.
9203 (ps-run-mode): Derive from comint-mode instead of
9204 fundamental-mode, yielding input history etc.
9205 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9206 (ps-run-send-string): Adapt for comint-mode.
9207 (ps-run-newline): Remove now unneeded function.
9209 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9211 * net/tramp.el (tramp-methods): Move hostname to the end in all
9212 plink `tramp-login-args'.
9214 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9216 * net/tramp.el (tramp-open-shell): New defun.
9217 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9220 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9222 * net/tramp.el (tramp-file-name-regexp-unified)
9223 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9224 not regard the volume letter as remote filename. (Bug#5447)
9226 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9228 * custom.el (custom-declare-variable): Give a clearer error message
9229 when the docstring is missing (bug#6476).
9231 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9233 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9234 (sql-login-params): New widget definition.
9235 (sql-oracle-login-params, sql-mysql-login-params)
9236 (sql-solid-login-params, sql-sybase-login-params)
9237 (sql-informix-login-params, sql-ingres-login-params)
9238 (sql-ms-login-params, sql-postgres-login-params)
9239 (sql-interbase-login-params, sql-db2-login-params)
9240 (sql-linter-login-params): Use it.
9241 (sql-sqlite-login-params): Use it; Define "database" parameter as
9243 (sql-sqlite-program): Change to "sqlite3".
9244 (sql-comint-sqlite): Make sure database name is complete.
9245 (sql-for-each-login): New function.
9246 (sql-connect, sql-save-connection): Use it.
9247 (sql-get-login-ext): New function.
9248 (sql-get-login): Use it.
9249 (sql-make-alternate-buffer-name): Handle :file parameters.
9251 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9253 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9254 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9256 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9258 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9260 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9262 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9264 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9266 * net/tramp.el (tramp-get-ls-command)
9267 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9270 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9272 * progmodes/sql.el: Version 2.3.
9273 (sql-connection-alist): Change keys from symbols to strings;
9274 enhanced the widget definition.
9275 (sql-mode-menu): Add submenu to select connections.
9276 (sql-interactive-mode-menu): Add "Save Connection" item.
9277 (sql-add-product): Fix menu item.
9278 (sql-get-product-feature): Improved error handling.
9279 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9280 (sql-make-alternate-buffer-name): Simplified.
9281 (sql-product-interactive): Handle missing product.
9282 (sql-connect): Support string keys, minor improvements.
9283 (sql-save-connection): New function.
9284 (sql-connection-menu-filter): New function.
9286 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9288 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9289 (tramp-open-connection-setup-interactive-shell):
9290 Apply workaround for IRIX64 bug. Move argument of last
9291 `tramp-send-command' where it belongs to.
9293 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9295 * net/tramp.el (tramp-perl-file-attributes)
9296 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9297 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9298 front of `login-args'.
9300 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9302 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9303 Set `show-trailing-whitespace' to nil.
9304 (display-time-world-display): Simplify.
9306 2010-07-18 Alan Mackenzie <acm@muc.de>
9308 Enhance `c-file-style' in file/directory local variables.
9309 * progmodes/cc-mode.el (c-count-cfss): New function.
9310 (c-before-hack-hook): Call `c-set-style' differently according to
9311 whether c-file-style was set in file or directory local
9314 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9316 * progmodes/sql.el: Version 2.2.
9317 (sql-product, sql-user, sql-database, sql-server, sql-port):
9318 Use defcustom :safe keyword rather than putting safe-local-variable
9320 (sql-password): Use defcustom :risky keyword rather than putting
9321 risky-local-variable property.
9322 (sql-oracle-login-params, sql-sqlite-login-params)
9323 (sql-solid-login-params, sql-sybase-login-params)
9324 (sql-informix-login-params, sql-ingres-login-params)
9325 (sql-ms-login-params, sql-postgres-login-params)
9326 (sql-interbase-login-params, sql-db2-login-params)
9327 (sql-linter-login-params): Add `port' option.
9328 (sql-get-product-feature): Add NO-INDIRECT parameter.
9329 (sql-comint-oracle, sql-comint-sybase)
9330 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9331 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9332 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9333 (sql-comint-linter): Rename sql-connect-* functions to
9335 (sql-product-alist, sql-mode-menu): Rename as above and
9336 :sqli-connect-func to :sqli-comint-func.
9337 (sql-connection): New variable.
9338 (sql-interactive-mode): Set it.
9339 (sql-connection-alist): New variable.
9340 (sql-connect): New function.
9341 (sql--alt-buffer-part, sql--alt-if-not-empty)
9342 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9344 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9346 * image-mode.el (image-bookmark-make-record): Do not set context
9347 in an image (Bug#6650).
9349 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9351 * simple.el (select-active-region): New function.
9352 (push-mark-command, set-mark, activate-mark)
9353 (handle-shift-selection): Use it.
9354 (deactivate-mark): Don't check for size of region.
9356 * mouse.el (mouse-drag-track): Use select-active-region.
9358 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9360 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9363 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9365 * term/x-win.el (x-select-enable-primary): Change default to nil.
9366 (x-select-enable-clipboard): Add :version keyword.
9368 * mouse.el (mouse-drag-copy-region):
9369 * simple.el (select-active-regions): Likewise.
9371 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9373 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9374 (vc-coding-system-for-diff): Use it to decide whether to inherit
9375 from the file the EOL format for reading the diffs of that file.
9378 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9380 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9381 unibyte, so compressed attachments are not compressed again.
9383 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9385 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9386 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9387 (tramp-find-shell): Simplify setting connection property.
9388 (tramp-get-ls-command): Make test for "--color=never" stronger.
9390 2010-07-15 Simon South <ssouth@member.fsf.org>
9392 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9393 blocks within record declarations (i.e. variant parts) correctly.
9395 2010-07-15 Simon South <ssouth@member.fsf.org>
9397 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9398 over literal tokens when parsing so newlines aren't "absorbed" by
9399 single-line comments. Corrects the indentation of case blocks
9400 that have a comment on the first line.
9402 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9404 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9405 by Drew Adams (Bug#5504).
9407 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9409 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9410 now that Unicode is used (Bug#6594).
9412 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9414 * term/x-win.el (x-select-enable-clipboard): Default to t.
9415 (x-initialize-window-system): Don't overwrite Paste menu item.
9417 * simple.el (select-active-regions): Default to t.
9418 (push-mark-command): Don't overwrite primary with empty string.
9420 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9421 (mouse-drag-copy-region): Default to nil.
9423 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9424 Cut/Copy/Paste menu bar items.
9426 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9428 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9429 Patch applied by Karl Fogel.
9431 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9432 and `bookmark-current-buffer' if they have been already set in
9433 another buffer (e.g gnus-art).
9435 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9436 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9438 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9440 * bookmark.el (bookmark-make-record-default): Allow unneeded
9441 information to be omitted from the record.
9443 Adjust declarations and calls:
9445 * info.el (bookmark-make-record-default): Adjust declaration.
9446 (Info-bookmark-make-record): Adjust call.
9448 * woman.el (bookmark-make-record-default): Adjust declaration.
9449 (woman-bookmark-make-record): Adjust call.
9451 * man.el (bookmark-make-record-default): Adjust declaration.
9452 (Man-bookmark-make-record): Adjust call.
9454 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9456 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9458 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9460 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9461 This is also from Thierry Volpiatto's patch in bug #6444. However,
9462 because it was extraneous to the functional change in that patch,
9463 and causes a re-indendation, I am committing it separately.
9465 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9467 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9468 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9469 Patch applied by Karl Fogel (Bug#6444).
9471 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9473 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9475 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9477 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9478 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9479 (ns-alternatives-map): Change S-tab binding to backtab
9482 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9485 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9487 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9490 * language/tv-util.el (tai-viet-re): Remove format.
9492 2010-07-12 Kenichi Handa <handa@m17n.org>
9494 * language/hebrew.el: Remove no-byte-compile declaration.
9495 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9496 composition-function-table for 3-character looking back.
9497 (hebrew-font-get-precomposed): New function.
9498 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9500 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9502 * mouse.el (mouse-drag-track): Handle select-active-regions
9505 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9507 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9508 empty argument to gvfs-copy.
9510 2010-07-10 Glenn Morris <rgm@gnu.org>
9512 * calendar/calendar.el (calendar-week-end-day): New function.
9513 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9514 Respect calendar-week-start-day. (Bug#6606)
9515 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9516 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9517 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9518 respect calendar-week-start-day.
9520 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9522 * simple.el (use-region-p): Doc fix (Bug#6607).
9524 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9526 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9527 Add regexps for cucumber and ruby.
9529 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9531 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9532 (epa-file-insert-file-contents): Hack to prevent
9533 find-file from opening empty buffer when decryption failed
9536 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9538 * textmodes/ispell.el (ispell-alternate-dictionary):
9539 Use file-readable-p.
9540 Return nil if no word-list is found at default locations.
9541 (ispell-complete-word-dict): Default to nil.
9542 (ispell-command-loop): Use 'word-list' when using lookup-words.
9543 (lookup-words): Use ispell-complete-word-dict or
9544 ispell-alternate-dictionary. Check for word-list availability
9545 and handle errors if needed with better messages (Bug#6539).
9546 (ispell-complete-word): Use ispell-complete-word-dict or
9547 ispell-alternate-dictionary.
9549 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9551 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9552 builtins (BufferError, BytesWarning, WindowsError; callables
9553 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9555 2010-07-07 Glenn Morris <rgm@gnu.org>
9557 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9558 (zone-shift-left): Ignore intangibility, and any errors from
9560 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9561 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9562 deleting, and copying text properties.
9563 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9564 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9565 to point-max is hard.
9566 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9567 (zone-fill-out-screen): Ignore intangibility.
9569 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9571 * menu-bar.el (menu-bar-mode):
9572 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9575 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9576 word/line selection (Bug#6565).
9578 2010-07-04 Martin Rudalics <rudalics@gmx.at>
9580 * window.el (get-mru-window): New function.
9582 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9584 * net/dbus.el (dbus-send-signal): Declare function.
9586 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9588 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9589 (dbus-register-property): New optional argument EMITS-SIGNAL.
9590 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9592 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9594 * mouse.el (mouse-drag-overlay): Variable deleted.
9595 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9596 (mouse--remap-link-click-p): New function.
9597 (mouse-drag-track): Handle dragging by using temporary Transient
9598 Mark mode, instead of a special overlay.
9599 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9602 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9605 2010-07-02 Juri Linkov <juri@jurta.org>
9607 * autoinsert.el (auto-insert-alist): Fix readability
9608 by using dotted pair notation for lambda.
9610 2010-07-02 Juri Linkov <juri@jurta.org>
9612 * faces.el (read-face-name): Rename arg `string-describing-default'
9613 to `default'. Doc fix. Display the default value in quotes
9614 in the prompt. With empty input, return the `default' arg,
9615 unless the default value is a string (in which case return nil).
9616 (describe-face): Replace the string `default' arg of `read-face-name'
9617 with the symbol `default'.
9619 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9621 * emulation/viper-cmd.el (viper-delete-backward-char)
9622 (viper-del-backward-char-in-insert)
9623 (viper-del-backward-char-in-replace, viper-change)
9624 (viper-backward-indent): Replace delete-backward-char with
9625 delete-char (Bug#6552).
9627 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9629 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9631 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9633 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9634 argument passed to frame-creation-function (Bug#5378).
9636 * faces.el (x-handle-named-frame-geometry)
9637 (x-handle-reverse-video, x-create-frame-with-faces)
9638 (face-set-after-frame-default, tty-create-frame-with-faces):
9639 Don't separately consult default-frame-alist. It is now passed as the
9642 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9644 * startup.el (command-line): Don't call tool-bar-setup in a
9647 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9649 * ruler-mode.el (ruler--save-header-line-format): New fun.
9650 (ruler-mode): Use it as a setter function, so as not to overwrite
9651 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9653 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9655 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9656 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9657 (vc-log-outgoing): Use it.
9658 (vc-diff-internal): Set diff-vc-backend.
9660 * vc/diff-mode.el (diff-vc-backend): New var.
9662 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9664 * dynamic-setting.el (font-setting-change-default-font):
9665 Remove call to message.
9667 2010-06-28 Kenichi Handa <handa@m17n.org>
9669 * international/quail.el (quail-insert-kbd-layout): Fix the
9670 showing of untranslated characters.
9672 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9674 * simple.el (delete-active-region): New option.
9675 (delete-backward-char): Implement in Lisp.
9676 (delete-forward-char): New command.
9678 * mouse.el (mouse-region-delete-keys): Delete.
9679 (mouse-show-mark): Simplify.
9681 * bindings.el (global-map): Bind delete and DEL, the former to
9682 delete-forward-char.
9684 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9686 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9687 (ruby-mode): Bind indent-line-function (Bug#5119).
9689 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9691 * startup.el (command-line): Recognize "0" X resource value.
9693 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9695 * startup.el (command-line): Use X resources to set the value of
9696 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9698 * menu-bar.el (menu-bar-mode):
9699 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9700 Set init-value to t.
9702 * frame.el (frame-notice-user-settings): Don't change
9703 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9704 vice versa (Bug#2249).
9706 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9708 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9710 2010-06-25 Martin Rudalics <rudalics@gmx.at>
9712 * files.el (read-buffer-to-switch)
9713 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9716 * window.el (display-buffer): New customization group.
9717 (special-display-buffer-names, special-display-regexps)
9718 (same-window-buffer-names, same-window-regexps, pop-up-frames)
9719 (display-buffer-reuse-frames, pop-up-windows)
9720 (split-window-preferred-function, split-height-threshold)
9721 (split-width-threshold, even-window-heights): Move or add to
9722 display-buffer customization group.
9723 (window-size-fixed): Move down in code, rewrite doc-string.
9724 (window-right, window-left, window-child, window-internal-p)
9725 (window-any-p, normalize-live-buffer, normalize-live-frame)
9726 (normalize-any-window, normalize-live-window)
9727 (window-iso-combined-p, walk-window-tree-1, walk-window-tree)
9728 (window-in-direction-2, window-in-direction, window-tree-1)
9729 (window-size-ignore, window-sizable, window-sizable-p)
9730 (window-min-size, window-min-size-1, window-size-fixed-p)
9731 (window-size-fixed-1, window-min-delta, window-min-delta-1)
9732 (window-max-delta, window-max-delta-1, window-resizable)
9733 (window-resizable-p, window-total-height, window-height)
9734 (window-full-height-p, window-total-width, window-body-height)
9735 (window-body-width, window-width, resize-window-reset)
9736 (resize-window-reset-1, resize-window, resize-subwindows-skip-p)
9737 (resize-subwindows-normal, resize-subwindows)
9738 (resize-other-windows, resize-this-window, resize-mini-window)
9739 (resize-root-window, resize-root-window-vertically)
9740 (window-deletable-p, window-or-subwindow-p)
9741 (kill-or-unrecord-buffer, quit-restore-window)
9742 (window-split-min-size, window-children-count)
9743 (split-window-quit-restore): New functions.
9744 (ignore-window-parameters, display-buffer-window-and-buffer)
9745 (resize-window-safe-window): New variables.
9746 (window-safe-min-height, window-safe-min-width): New constants.
9747 (window-min-height, window-min-width, window-full-width-p)
9748 (get-lru-window, get-largest-window)
9749 (adjust-window-trailing-edge, window-tree, other-window)
9750 (replace-buffer-in-windows, split-window): Move here from
9752 (window-current-scroll-bars): Use normalize-live-window.
9753 (get-window-with-predicate): Use window-list-1.
9754 (get-buffer-window-list): Use normalize-live-buffer and
9756 (count-windows): Use window-list-1.
9757 (enlarge-window, shrink-window): Use resize-window.
9758 (maximize-window, minimize-window, frame-root-window-p)
9759 (composite-window-p, composite-root-window-p)
9760 (composite-main-window-p, composite-support-window-p)
9761 (composite-root-window, composite-major-window)
9762 (composite-main-sibling, composite-lowest-child-role)
9763 (compound-window-p, compound-main-window-p)
9764 (compound-root-window, group-window-p, group-window-main-p)
9765 (group-root-window, make-compound-window, make-window-group)
9766 (make-support-window): New functions for composite windows.
9767 (one-window-p): Rewrite doc-string.
9768 (delete-window, delete-other-windows, delete-windows-on)
9769 (bury-buffer, switch-to-buffer): Move here from buffer.c.
9770 (split-window-vertically, split-window-horizontally): Call
9771 split-window-quit-restore.
9772 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9773 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9774 (bw-refresh-edges, bw-balance-sub): Replace by new balance
9776 (balance-windows, balance-windows-1, balance-windows-2): New
9777 functions for balancing windows.
9778 (bw-adjust-window): Rename to balance-windows-area-adjust.
9779 (balance-windows-area): Call balance-windows-area-adjust.
9780 (pop-up-windows): New values `selected' and `root'.
9781 (window-splittable-p): Rename to window-sensibly-splittable-p.
9782 (split-window-sensibly): Call window-sensibly-splittable-p.
9783 (window--display-buffer-1, window--display-buffer-2): Remove.
9784 (display-buffer-window-and-buffer)
9785 (window--display-buffer-in-window, window--reuse-window)
9786 (window--pop-up-window, window--pop-up-frame)
9787 (window--raise-window-frame): New helper functions for
9789 (display-buffer): Rewrite using the new helper functions.
9790 (read-buffer-to-switch, switch-to-buffer-other-window)
9791 (switch-to-buffer-other-frame): Move here from files.el.
9792 (set-window-text-height, fit-window-to-buffer): Use
9793 normalize-live-window and resize-window.
9794 (shrink-window-if-larger-than-buffer): Use normalize-live-window
9795 and window-iso-combined-p.
9796 (temp-buffer-max-height, temp-buffer-resize-mode): Move here
9798 (resize-temp-buffer-window): Move here from help.el and use
9799 window-iso-combined-p.
9800 (ctl-x-map): Move bindings for non-scrolling commands here from
9803 * cus-start.el (all): Remove window-min-height and
9804 window-min-width entries. Add recenter-redisplay and
9805 window-splits entries.
9807 * calendar/calendar.el (calendar-basic-setup): Call
9808 window-sensibly-splittable-p instead of window-splittable-p.
9810 * dired.el (dired-pop-to-buffer): Call
9811 window-sensibly-splittable-p instead of window-splittable-p.
9813 * help-mode.el (help-mode-finish): Remove help-window and
9814 view-return-to-alist handling code.
9816 * help.el (help-window): Remove variable.
9817 (help-window-point-marker): Fix doc-string.
9818 (temp-buffer-max-height, temp-buffer-resize-mode)
9819 (resize-temp-buffer-window): Move to window.el.
9820 (help-window-display-message): Fix doc-string and handling of
9822 (help-window-setup-finish): Remove.
9823 (help-window-setup): Remove handling of list-of-frames and
9824 list-of-window-tuples. These are handled by the quit-restore
9825 window mechanism now.
9826 (with-help-window): Remove setup of list-of-frames and
9827 list-of-window-tuples. Reset display-buffer-window-and-buffer
9828 and call help-window-setup when the buffr display mechanism
9829 called by with-output-to-temp-buffer has set it.
9831 * view.el (view-exits-all-viewing-windows): Fix doc-string.
9832 (view-return-to-alist): Remove variable.
9833 (view-file-other-window): Remove second argument in call of
9834 view-buffer-other-window.
9835 (view-file-other-frame): Remove second argument in call of
9836 view-buffer-other-frame.
9837 (view-buffer): Remove the undo-window mechanism and fix call of
9839 (view-buffer-other-window, view-buffer-other-frame): Remove
9840 second argument and return-to mechanism and fix call of
9842 (view-return-to-alist-update): Remove function.
9843 (view-mode-enter): Rename second argument to quit-restore and
9844 replace view-return-to-alist mechanism by quit-restore
9845 parameter. Rewrite doc-string.
9846 (view-mode-exit): Rename arguments and replace
9847 view-return-to-alist mechanism by calling quit-restore-window.
9848 (View-exit, View-exit-and-edit, View-leave, View-quit)
9849 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9850 appropriate argument(s).
9851 (view-end-message): Instead of checking view-return-to-alist
9852 look at quit-restore window parameter.
9854 * progmodes/ebrowse.el (ebrowse-view-file-other-frame): Adjust
9855 call of view-mode-enter to the latter's new definition.
9857 * progmodes/python.el (view-return-to-alist): Remove defvar.
9858 (python-describe-symbol): Don't set view-return-to-alist any
9861 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9863 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9864 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9866 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9867 default directories are expanded (Bug#6143).
9869 2010-06-24 Juri Linkov <juri@jurta.org>
9871 * minibuffer.el (completions-format): Change default from nil to
9872 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9874 2010-06-24 Juri Linkov <juri@jurta.org>
9876 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9877 buffer-locally to lambda that re-runs the vc diff command.
9880 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9882 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9883 echo area is in use (Bug#3412).
9885 2010-06-22 Glenn Morris <rgm@gnu.org>
9887 * textmodes/texinfmt.el (texinfo-format-region)
9888 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9889 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9890 (texinfo-format-option, texinfo-noindent):
9891 Use line-beginning-position and line-end-position.
9893 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9894 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9895 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9898 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9900 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9901 forward-line fallout.
9903 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9905 * mouse.el (mouse-appearance-menu): Add docstring.
9907 * help.el (describe-key): Print up-event using key-description.
9909 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9911 * net/zeroconf.el (zeroconf-resolve-service)
9912 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9913 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9915 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9917 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9919 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9921 Avoid displaying files with a nil state in vc-dir.
9922 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9923 cases that cause insertion.
9924 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9927 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9929 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9931 2010-06-29 Leo <sdl.web@gmail.com>
9933 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9935 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9937 * generic-x.el (bat-generic-mode): Fix regexp for command line
9938 switches (Bug#5719).
9940 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9942 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9943 of nconc to avoid pure storage error (Bug#6239).
9945 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9947 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9948 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9949 bindings of bookmark-automatically-show-annotations (Bug#6515).
9951 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9953 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9954 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9956 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9958 * comint.el (make-comint, make-comint-in-buffer): Mention return
9959 value in the docstrings. (Bug#6498)
9961 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9963 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9964 since it is not present when using some non-default switches.
9966 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9968 * simple.el (compose-mail): Fix doc string to refer to
9969 `compose-mail-user-agent-warnings', instead of to the
9970 nonexistent `compose-mail-check-user-agent'.
9972 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9974 Fix an indentation bug:
9976 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9977 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9980 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9981 (c-clear->-pair-props-if-match-before): now return t when they've
9982 cleared properties, nil otherwise.
9983 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9984 by taking account of the existing value.
9986 * progmodes/cc-defs.el
9987 (c-clear-char-property-with-value-function): Fix this to clear the
9988 property rather than overwriting it with nil.
9990 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9992 * emacs-lisp/package.el (package-print-package): Add link to
9993 package description via describe-package.
9994 (describe-package-1): List package requirements. Add button to
9995 perform installation.
9996 (package-menu-describe-package): New command.
9998 * help-mode.el (help-package): New button type.
10000 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
10002 * emacs-lisp/package.el: Move package-list-packages binding to
10004 (describe-package, describe-package-1, package--dir): New funs.
10005 (package-activate-1): Use package--dir.
10007 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
10009 * help-mode.el (help-package-def): New button type.
10011 * menu-bar.el: Move package-list-packages binding here from
10014 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
10016 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
10018 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10020 * emacs-lisp/edebug.el (edebug-read-list):
10021 Phase out old-style backquotes.
10023 2010-06-17 Juri Linkov <juri@jurta.org>
10025 * help-mode.el (help-mode): Set buffer-local variable
10026 revert-buffer-function to help-mode-revert-buffer.
10027 (help-mode-revert-buffer): New function.
10029 * info.el (Info-revert-find-node): Check for major-mode Info-mode
10030 before popping to "*info*" (like in other Info functions).
10031 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
10032 old-history-forward. Pop to old-buffer-name or "*info*" to
10033 recreate the killed buffer. Set Info-history-forward from
10034 old-history-forward.
10035 (Info-breadcrumbs-depth): Add :group and :version.
10037 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
10039 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
10041 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
10043 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
10044 for languages like Portuguese with pt_{BR,PT} and no plain pt.
10046 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
10048 * emacs-lisp/package.el (package-menu-mode-map):
10049 Move initialization into declaration.
10051 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
10053 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
10055 * emacs-lisp/package.el (package-archive-base): Point to
10057 (package-enable, package-load-list): New defcustoms.
10058 (package-user-dir, package-directory-list): Turn into defcustoms.
10059 Don't include package-user-dir in package-directory-list.
10060 (package--builtins-base): Don't include Emacs as a "package".
10061 (package-subdirectory-regexp): New var.
10062 (package-load-all-descriptors, package-compute-transaction)
10063 (package-download-transaction): Obey package-load-list.
10064 (package-activate-1): Rename from package-do-activate.
10065 (package-list-packages-internal): Check package-load-list.
10066 (package-load-descriptor, package-generate-autoloads)
10067 (package-unpack, package-unpack-single)
10068 (package--read-archive-file, package-delete):
10069 Use expand-file-name.
10071 * emacs-lisp/package-x.el: New file. Package uploading
10072 functionality split out from package.el.
10074 * startup.el (command-line): Load packages after reading init file.
10076 2010-06-17 Tom Tromey <tromey@redhat.com>
10078 * emacs-lisp/package.el: New file.
10080 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10082 Fix vc-annotate for renamed files when using Git.
10083 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
10084 ls-files. Doe not pass the object as a file name to cat-file, it
10085 is not a file name.
10086 (vc-git-annotate-command): Pass the file name using -- to avoid
10087 ambiguity with the revision.
10088 (vc-git-previous-revision): Pass a relative file name.
10090 2010-06-22 Glenn Morris <rgm@gnu.org>
10092 * progmodes/js.el (js-mode-map): Use standard capitalization and
10093 ellipses for menu entries.
10095 * wid-edit.el (widget-complete): Doc fix.
10097 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
10099 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
10101 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10103 Fix annotating other revisions for renamed files in vc-annotate.
10104 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
10105 VC backend. Use it when non-nil.
10106 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
10109 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
10110 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10111 Do not pass the file name to the 'previous-revision call when we
10112 don't want a file diff. (Bug#6489)
10114 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10116 Fix finding revisions for renamed files in vc-annotate.
10117 * vc/vc.el (vc-find-revision): Add an optional argument for
10118 the VC backend. Use it when non-nil.
10119 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
10120 backend to vc-find-revision. (Bug#6487)
10122 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10124 Fix reading file names in Git annotate buffers.
10125 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
10126 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
10128 2010-06-20 Alan Mackenzie <acm@muc.de>
10130 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
10131 in file local variables, set it first.
10133 2010-06-19 Glenn Morris <rgm@gnu.org>
10135 * descr-text.el (describe-char-unicode-data): Insert separating
10136 space when needed. (Bug#6422)
10138 * progmodes/idlwave.el (idlwave-action-and-binding):
10139 Fix typo in 2009-12-03 change. (Bug#6450)
10141 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10143 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
10144 handling for `lambda' (misunderstanding).
10146 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
10148 * calc/calc-poly.el (math-accum-factors): Make sure that
10149 constants aren't distributed after they are factored out.
10151 2010-06-16 Juri Linkov <juri@jurta.org>
10153 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10154 `list-colors-print'. (Bug#6332)
10156 * subr.el (read-quoted-char): Fix up last change (bug#6290).
10158 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10160 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10161 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10163 * font-lock.el (font-lock-major-mode): Rename from
10164 font-lock-mode-major-mode to distinguish it from
10165 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10166 (font-lock-set-defaults):
10167 * font-core.el (font-lock-default-function): Adjust users.
10168 (font-lock-mode): Don't set it at all.
10170 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10172 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10174 2010-06-16 Glenn Morris <rgm@gnu.org>
10176 * calendar/appt.el (appt-time-msg-list): Doc fix.
10177 (appt-check): Let-bind appt-warn-time.
10178 (appt-add): Make the 3rd argument optional.
10179 Simplify argument names. Doc fix. Check for integer WARNTIME.
10180 Only add WARNTIME to the output list if non-nil.
10182 2010-06-16 Ivan Kanis <apple@kanis.eu>
10184 * calendar/appt.el (appt-check): Let the 3rd element of
10185 appt-time-msg-list specify the warning time.
10186 (appt-add): Add new argument with the warning time. (Bug#5176)
10188 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10190 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10191 older than version 1.6. (Bug#6361)
10193 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10195 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10196 used by cl-do-arglist. (Bug#6408)
10198 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10200 * textmodes/ispell.el (ispell-dictionary-base-alist):
10201 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10202 Suggested by Rolando Pereira (bug#6434).
10204 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10206 * facemenu.el (list-colors-sort): Doc fix.
10208 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10210 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10212 2010-06-14 Juri Linkov <juri@jurta.org>
10214 Add sort option `list-colors-sort'. (Bug#6332)
10215 * facemenu.el (color-rgb-to-hsv): New function.
10216 (list-colors-sort): New defcustom.
10217 (list-colors-sort-key): New function.
10218 (list-colors-display): Doc fix. Sort list according to the option
10219 `list-colors-sort'.
10220 (list-colors-print): Add HSV values to `help-echo' property of
10223 2010-06-14 Juri Linkov <juri@jurta.org>
10225 * compare-w.el: Move to the "vc" subdirectory.
10227 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10229 * image-mode.el (image-mode-map): Remap left-char and right-char.
10231 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10233 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10235 * term/common-win.el (x-colors): Add all the color names defined
10236 in rgb.txt (Bug#6332).
10238 * facemenu.el (list-colors-print): Don't print extra names if it
10239 will overflow the window width.
10241 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10244 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10246 * files.el (make-directory): Doc fix (bug#6396).
10248 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10250 * net/tramp.el (tramp-remote-process-environment): Protect version
10251 string by apostroph.
10252 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10254 (tramp-file-name-for-operation): Add `call-process-region'.
10255 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10257 * net/tramp-compat.el (top): Do not autoload
10258 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10259 only when `start-file-process' is not bound.
10260 (tramp-advice-file-expand-wildcards): Do not use
10261 `tramp-handle-file-remote-p'.
10262 (tramp-compat-make-temp-file): Handle the case, that
10263 `make-temp-file' has no third argument EXTENSION.
10265 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10267 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10269 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10271 2010-06-11 Juri Linkov <juri@jurta.org>
10273 * finder.el (finder-known-keywords): Add keyword "vc"
10274 for version control.
10276 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10277 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10278 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10279 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10281 2010-06-11 Juri Linkov <juri@jurta.org>
10283 Move version control related files to the "vc" subdirectory.
10284 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10285 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10286 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10287 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10288 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10289 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10290 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10291 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10292 Move files to the "vc" subdirectory.
10294 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10296 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10299 2010-06-11 Stephen Eglen <stephen@gnu.org>
10301 * shell.el: Bind `shell-resync-dirs' to M-RET.
10303 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10305 * notifications.el: Move file from lisp/net, because it is
10306 supposed to talk locally to the user.
10308 2010-06-10 Julien Danjou <julien@danjou.info>
10310 * net/notifications.el (notifications-on-action-signal)
10311 (notifications-on-closed-signal): Pass notification id as first
10312 argument to the callback functions. Add docstrings.
10313 (notifications-notify): Fix docstring.
10315 2010-06-10 Glenn Morris <rgm@gnu.org>
10317 * emacs-lisp/authors.el (authors-ignored-files)
10318 (authors-valid-file-names): Add some files.
10320 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10322 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10323 merge conflict, giving preference to the emacs-23 version of the code.
10325 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10327 * emacs-lisp/advice.el (ad-compile-function):
10328 Define warning-suppress-types before we let-bind it (bug#6275).
10330 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10331 declare it, make it buffer-local and permanent-local (bug#6324).
10332 (vc-resynch-window): Adjust name.
10333 * vc-hooks.el (vc-find-file-hook): Adjust name.
10335 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10337 * net/notifications.el (notifications-notify): Fix docstring.
10339 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10341 Update to Unicode 6.0.0 beta.
10342 * international/charprop.el: Update copyright.
10343 * international/mule-cmds.el (ucs-names): Update character ranges.
10344 * international/uni-bidi.el:
10345 * international/uni-category.el:
10346 * international/uni-combining.el:
10347 * international/uni-comment.el:
10348 * international/uni-decimal.el:
10349 * international/uni-decomposition.el:
10350 * international/uni-digit.el:
10351 * international/uni-lowercase.el:
10352 * international/uni-mirrored.el:
10353 * international/uni-name.el:
10354 * international/uni-numeric.el:
10355 * international/uni-old-name.el:
10356 * international/uni-titlecase.el:
10357 * international/uni-uppercase.el: Regenerate.
10359 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10361 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10362 (smie-precs-precedence-table): Fix typo in docstring.
10364 * vc-mtn.el (log-edit-extract-headers): Declare function.
10366 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10368 * net/notifications.el (dbus-register-signal): Declare function.
10369 (notifications-notify): Fix typos and reflow docstring.
10371 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10373 Improve VC create/retrieve tag/branch.
10374 * vc.el (vc-create-tag): Do not read the directory name for VCs
10375 with repository revision granularity. Adjust the tag/branch
10376 prompt. Reset VC properties.
10377 (vc-retrieve-tag): Do not read the directory name for VCs
10378 with repository revision granularity. Reset VC properties.
10380 2010-06-09 Julien Danjou <julien@danjou.info>
10382 * net/notifications.el: New file.
10384 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10386 Add optional support for resetting VC properties.
10387 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10388 call vc-file-clearprops when true.
10389 (vc-resynch-buffer): Add new optional argument, pass it down.
10390 (vc-resynch-buffers-in-directory): Likewise.
10392 Improve support for special markup in the VC commit message.
10393 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10394 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10395 * vc-git.el (vc-git-checkin):
10396 * vc-bzr.el (vc-bzr-checkin): Likewise.
10398 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10400 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10401 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10403 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10405 * iimage.el: Remove images as soon as the underlying text is modified.
10406 (iimage-modification-hook): New function.
10407 (iimage-mode-buffer): Use it.
10409 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10411 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10412 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10413 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10414 (smie-indent-keyword): Add handling of open-paren keywords.
10415 (smie-indent-comment-continue): Don't assume comment-continue.
10417 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10419 * window.el (pop-to-buffer): Remove the conditional that
10420 compares new-window and old-window, so it will reselect
10421 the selected window unconditionally.
10422 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10424 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10426 * emacs-lisp/smie.el (smie-indent-offset-after)
10427 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10428 (smie-indent-after-keyword): Use them.
10429 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10430 (smie-indent-keyword): Tweak the black magic.
10431 (smie-indent-comment-continue): Strip comment-continue before use.
10432 (smie-indent-functions): Indent comments before keywords.
10434 2010-06-06 Juri Linkov <juri@jurta.org>
10436 * isearch.el (isearch-lazy-highlight-search): Fix looping
10437 by checking for empty match. This syncs this loop with the
10438 similar loop in `isearch-search'. (Bug#6362)
10440 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10442 * net/dbus.el (dbus-register-method): Declare function.
10443 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10444 (dbus-introspect): Doc fix.
10445 (dbus-event-bus-name, dbus-introspect-get-interface)
10446 (dbus-introspect-get-argument): Reflow docstrings.
10448 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10450 vc-log-incoming/vc-log-outgoing fixes for Git.
10451 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10452 incoming/outgoing logs.
10453 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10454 instead of vc-git-compute-remote.
10455 (vc-git-compute-remote): Remove.
10457 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10459 * term/common-win.el (x-colors): Add "dark green" and "dark
10460 turquoise" (Bug#6332).
10462 2010-06-04 Juri Linkov <juri@jurta.org>
10464 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10465 Instead of setting `replace' to t and replacing the same string
10466 with itself, don't do certain actions when
10467 kill-do-not-save-duplicates is non-nil and string is equal to car
10468 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10469 interprogram-paste strings to kill-ring, and don't push the input
10470 argument `string' to kill-ring.
10471 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10473 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10475 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10477 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10479 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10480 (tramp-gvfs-handler-mounted-unmounted)
10481 (tramp-gvfs-connection-mounted-p): Handle default-location.
10483 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10484 move files to trash.
10486 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10488 * international/mule-cmds.el (nonascii-insert-offset)
10489 (nonascii-translation-table): Add obsolescence information.
10491 * international/mule.el (make-translation-table-from-vector): Doc fix.
10493 2010-06-03 Glenn Morris <rgm@gnu.org>
10495 * desktop.el (desktop-clear-preserve-buffers):
10496 Add "*Warnings*" buffer. (Bug#6336)
10498 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10500 vc-log-incoming/vc-log-outgoing improvements for Git.
10501 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10503 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10505 Add bindings for vc-log-incoming and vc-log-outgoing.
10506 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10507 and vc-log-outgoing.
10508 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10509 and vc-log-outgoing.
10511 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10513 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10514 (rcirc-handler-366): Always sort nicknames.
10516 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10518 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10520 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10522 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10524 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10526 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10527 (rcirc-sort-nicknames-join): Avoid setq.
10529 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10531 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10532 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10533 (rcirc-handler-366): Use them.
10535 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10537 Split smie-indent-calculate into more manageable chunks.
10538 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10539 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10540 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10541 (smie-indent-exps): Extract from smie-indent-calculate.
10542 (smie-indent-functions): New var.
10543 (smie-indent-functions): Use them.
10545 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10547 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10548 (smie-indent-calculate): Simplify and cleanup.
10550 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10552 * net/tramp-gvfs.el (top): Require url-util.
10553 (tramp-gvfs-mount-point): Remove.
10554 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10556 (with-tramp-dbus-call-method): Format trace message.
10557 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10558 Implement backup call, when operation on local files fails.
10559 Use progress reporter. Flush properties of changed files.
10560 (tramp-gvfs-handle-make-directory): Make more traces.
10561 (tramp-gvfs-url-file-name): Hexify file name in url.
10562 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10563 into account for the resulting file name.
10564 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10565 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10566 (tramp-gvfs-handler-mounted-unmounted)
10567 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10568 attribute "default_location". Set "prefix" property.
10569 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10570 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10571 exists. Raise an error, if not (due to a corresponding answer
10572 "no" in interactive questions, for example).
10574 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10576 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10578 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10580 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10581 right-*. (Bug#6265)
10583 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10585 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10586 * vc-git.el (vc-git-compute-remote): New function.
10587 (vc-git-log-outgoing): Use it instead of hard coding a value.
10588 (vc-git-log-incoming): New function.
10590 Improve state updating for VC tag commands.
10591 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10592 to update the state of all buffers in the directory.
10594 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10596 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10598 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10599 `file-directory-p' to the filename part rather than to the whole text.
10601 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10603 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10605 2010-05-31 Drew Adams <drew.adams@oracle.com>
10607 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10609 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10611 * subr.el (momentary-string-display): Just use read-event to read
10612 the exit event (Bug#6238).
10614 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10616 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10618 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10620 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10621 Suggested by Eli Zaretskii <eliz@gnu.org>.
10623 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10625 * minibuffer.el (completion-file-name-table): Don't return a boundary
10626 past the end of `string' (bug#6299).
10627 (completion--file-name-table): Delegate to completion-file-name-table
10628 for the `boundaries' case.
10630 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10632 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10635 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10636 `path-separator', but maintain compatibility with Emacs 20.2.
10638 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10640 * server.el (server-process-filter): Receive parent-id argument
10642 (server-create-window-system-frame): New arg. Pass parent-id as
10645 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10647 Bidi-sensitive word movement with arrow keys.
10648 * subr.el (right-arrow-command, left-arrow-command): Move to
10651 * bindings.el (right-char, left-char): Move from subr.el and
10652 rename from right-arrow-command and left-arrow-command.
10653 (right-word, left-word): New functions.
10654 (global-map) <right>: Bind to right-char.
10655 (global-map) <left>: Bind to left-char.
10656 (global-map) <C-right>: Bind to right-word.
10657 (global-map) <C-left>: Bind to left-word.
10659 * ls-lisp.el (ls-lisp-classify-file): New function.
10660 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10661 (ls-lisp-classify): Call ls-lisp-classify-file.
10662 (insert-directory): Remove blanks from switches.
10664 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10666 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10667 (ansi-color-drop-regexp): New constant.
10668 (ansi-color-apply, ansi-color-filter-region)
10669 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10670 (ansi-color-apply): Build string list before calling concat.
10672 2010-05-28 Juri Linkov <juri@jurta.org>
10674 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10675 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10678 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10680 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10681 to ignored backtrace functions.
10682 (with-progress-reporter): Expand docstring.
10683 (tramp-handle-delete-file): Implement TRASH argument.
10684 (tramp-get-remote-trash): New defun.
10686 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10688 * net/tramp-compat.el (tramp-compat-delete-file):
10689 Use `symbol-value' for backward compatibility.
10691 * net/tramp.el (tramp-handle-make-symbolic-link)
10692 (tramp-handle-load)
10693 (tramp-do-copy-or-rename-file-via-buffer)
10694 (tramp-do-copy-or-rename-file-directly)
10695 (tramp-do-copy-or-rename-file-out-of-band)
10696 (tramp-handle-process-file, tramp-handle-call-process-region)
10697 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10698 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10699 (tramp-delete-temp-file-function): Use `delete-file' instead
10700 of `tramp-compat-delete-file'.
10702 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10703 (tramp-fish-handle-make-symbolic-link)
10704 (tramp-fish-handle-process-file): Use `delete-file' instead
10705 of `tramp-compat-delete-file'.
10707 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10708 Use `delete-file' instead of `tramp-compat-delete-file'.
10710 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10711 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
10712 `tramp-compat-delete-file'.
10714 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10715 Use `delete-file' instead of `tramp-compat-delete-file'.
10717 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10718 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10719 (tramp-smb-handle-write-region): Use `delete-file' instead of
10720 `tramp-compat-delete-file'.
10721 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10723 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10725 * dired.el (dired-delete-file): New arg TRASH.
10726 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10727 (dired-do-flagged-delete, dired-do-delete): Use trash.
10729 * speedbar.el (speedbar-item-delete): Allow trashing.
10731 * files.el (delete-directory): New arg TRASH.
10733 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10734 (ange-ftp-rename-remote-to-remote)
10735 (ange-ftp-rename-local-to-remote)
10736 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10737 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10739 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10742 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10743 handle new TRASH arg of `delete-file'.
10745 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10746 (tramp-handle-make-symbolic-link, tramp-handle-load)
10747 (tramp-do-copy-or-rename-file-via-buffer)
10748 (tramp-do-copy-or-rename-file-directly)
10749 (tramp-do-copy-or-rename-file-out-of-band)
10750 (tramp-handle-process-file, tramp-handle-call-process-region)
10751 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10752 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10753 (tramp-delete-temp-file-function): Use null TRASH arg in
10754 tramp-compat-delete-file call.
10756 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10757 (tramp-fish-handle-delete-file)
10758 (tramp-fish-handle-make-symbolic-link)
10759 (tramp-fish-handle-process-file): Use null TRASH arg in
10760 `tramp-compat-delete-file' call.
10762 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10763 arg in `tramp-compat-delete-file' call.
10765 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10766 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10767 `tramp-compat-delete-file' call.
10769 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10770 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10771 `tramp-compat-delete-file' call.
10773 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10774 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10775 (tramp-smb-handle-write-region): Use null TRASH arg in
10776 tramp-compat-delete-file call.
10777 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10778 (tramp-smb-handle-delete-file): Rename arg.
10780 * diff.el (diff-sentinel):
10781 * epg.el (epg--make-temp-file, epg-decrypt-string)
10782 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10783 * jka-compr.el (jka-compr-partial-uncompress)
10784 (jka-compr-call-process, jka-compr-write-region):
10785 * server.el (server-sentinel): Remove optional arg from
10786 delete-file, reverting 2010-05-03 change.
10788 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10790 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10791 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10793 2010-05-27 Kenichi Handa <handa@m17n.org>
10795 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10796 element of GSTRING is nil.
10798 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10800 * emacs-lisp/smie.el (smie-forward-token-function)
10801 (smie-backward-token-function): New vars.
10802 (smie-backward-sexp, smie-forward-sexp)
10803 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10804 (smie-default-backward-token): Rename from smie-backward-token and
10806 (smie-default-forward-token): Rename from smie-forward-token and
10808 (smie-next-sexp): Handle nil results from next-token.
10809 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10811 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10813 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10814 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10816 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10818 * htmlfontify.el (hfy-face-resolve-face): New function.
10819 (hfy-face-to-style): Use it (Bug#6279).
10821 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10823 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10824 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10826 2010-05-26 Glenn Morris <rgm@gnu.org>
10828 * emulation/edt.el (edt-load-keys): Use locate-library.
10830 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10832 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10833 (log-edit-changelog-entries): Doc fix.
10834 (log-edit-changelog-insert-entries): Args changed.
10835 Rename relative filenames in ChangeLog entries. Delete tabs.
10836 (log-edit-insert-changelog-entries): Reorganize return value of
10837 `log-edit-changelog-entries' to pass filenames to
10838 log-edit-changelog-insert-entries.
10840 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10842 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10843 `image-dired-dired-insert-marked-thumbs' to
10844 `image-dired-dired-toggle-marked-thumbs'.
10846 * image-dired.el: Require cl when compiling.
10847 (image-dired-dired-toggle-marked-thumbs): Rename from
10848 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10849 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10850 to 'no-dir. Skip files whose names don't match
10851 `image-file-name-regexp'. When file has a thumbnail overlay,
10852 delete it. (Bug#5270)
10854 2010-05-25 Juri Linkov <juri@jurta.org>
10856 * image-mode.el (image-mode): Add image-after-revert-hook to
10858 (image-after-revert-hook): New function. (Bug#5669)
10860 2010-05-25 Juri Linkov <juri@jurta.org>
10862 * image.el (image-animated-p): When delay between animated images
10863 is 0, set it to 10 (0.1 sec). (Bug#6258)
10865 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10867 * net/tramp.el (tramp-handle-insert-directory): Don't use
10868 `forward-word', its default syntax could be changed.
10870 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10872 * net/tramp.el (tramp-progress-reporter-update): New defun.
10873 (with-progress-reporter): Use it.
10874 (tramp-process-actions):
10875 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10876 Preserve current message, in order to let progress reporter continue
10877 afterwards. (Bug#6257)
10879 2010-05-25 Glenn Morris <rgm@gnu.org>
10881 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10884 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10886 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10887 (rcirc-default-full-name): Change to "unknown".
10888 (rcirc-user-name-history): Add variable.
10890 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10891 Jonathan Rockway <jon@jrock.us>
10893 * net/rcirc.el (rcirc-server-alist): Add :pass.
10894 (rcirc): When prompting for connection parameters, also prompt for
10895 username and password.
10896 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10897 value to server when connecting.
10899 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10901 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10902 (smie-merge-prec2s): Pass the tables as separate args.
10903 (smie-bnf-precedence-table): Adjust call accordingly.
10904 (smie-prec2-levels): Set levels at the end.
10906 Replace Lisp calls to delete-backward-char by delete-char.
10907 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10908 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10909 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10910 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10911 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10912 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10913 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10914 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10915 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10916 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10917 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10918 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10919 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10920 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10921 delete-backward-char by calls to delete-char.
10923 2010-05-25 Kenichi Handa <handa@m17n.org>
10925 * language/hebrew.el (hebrew-shape-gstring): New function.
10926 Register it in composition-function-table for all Hebrew combining
10929 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10931 * epa.el (epa--select-keys): Don't explicitly delete the window since
10932 that can fail (e.g. sole window in frame). Use dedication instead.
10934 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10936 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10938 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10940 * image.el (image-refresh): Define as an alias for image-flush.
10942 * image-mode.el (image-toggle-display-image): Caller changed.
10944 2010-05-21 Juri Linkov <juri@jurta.org>
10946 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10947 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10948 whitespace, call wildcard-to-regexp on substrings and concat them
10949 with "\\|". (Bug#6114)
10951 2010-05-21 Alan Mackenzie <acm@muc.de>
10953 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10954 Replace parameter `here' with `here-' and `here-plus', which sandwich
10955 any pertinent CPP construct.
10956 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10957 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10958 CPP construct from taking part in the scanning.
10960 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10962 * net/tramp.el (tramp-do-copy-or-rename-file)
10963 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10964 Tune `with-progress-reporter' messages.
10965 (tramp-handle-vc-registered):
10966 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10967 (tramp-fish-handle-insert-file-contents)
10968 (tramp-fish-maybe-open-connection):
10969 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10970 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10971 (tramp-imap-handle-insert-file-contents)
10972 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10974 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10976 * add-log.el (change-log-font-lock-keywords):
10977 Highlight all authors in multi-author entries.
10979 * smerge-mode.el (smerge-refine-ignore-whitespace)
10980 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10981 Fix typos in docstrings.
10982 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10984 2010-05-21 Glenn Morris <rgm@gnu.org>
10986 * progmodes/fortran.el (fortran-mode):
10987 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10989 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10990 having a relative path in src/Makefile.in.
10992 2010-05-20 Kevin Ryde <user42@zip.com.au>
10994 * help-mode.el (help-make-xrefs): For Info node links turn
10995 newlines into spaces. Link node names with newlines are matched
10996 by help-xref-info-regexp and buttonized, this change ensures they
10997 can be followed successfully with RET. (Bug#6206)
10999 2010-05-20 Juri Linkov <juri@jurta.org>
11001 * locate.el (locate): Use pop-to-buffer instead of
11002 switch-to-buffer-other-window. (Bug#6204)
11004 2010-05-20 Juri Linkov <juri@jurta.org>
11006 * replace.el (replace-highlight): Fix lazy-highlighting
11007 for `M-s w str M-% str RET'.
11009 2009-12-15 Masatake YAMATO <yamato@redhat.com>
11011 * isearch.el (isearch-yank-word-or-char): Pull next subword
11012 when `subword-mode' is activated. (Bug#6220)
11014 2010-05-20 Mark A. Hershberger <mah@everybody.org>
11016 * isearch.el (isearch-update-post-hook): New hook.
11017 (isearch-update): Use the new hook. (Bug#6225)
11019 2010-05-20 Juri Linkov <juri@jurta.org>
11021 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
11022 [f1], [help], and (char-to-string help-char) instead of "\C-h".
11025 2010-05-20 Juri Linkov <juri@jurta.org>
11027 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
11030 2010-05-20 Juri Linkov <juri@jurta.org>
11032 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
11033 FILE-NAME to read from the minibuffer when called interactively
11034 with prefix argument instead of using buffer-file-name.
11035 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
11037 * dired.el: Update autoloads.
11039 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
11041 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
11042 nxml-finish-element, for consistency with SGML mode.
11044 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
11045 octave-close-block.
11047 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
11049 * composite.el: Require cl when compiling.
11050 (reference-point-alist, compose-gstring-for-graphic)
11051 (compose-gstring-for-terminal): Fix typos in docstrings.
11053 2010-05-19 Juri Linkov <juri@jurta.org>
11055 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
11056 set-window-parameter.
11058 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11060 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
11062 (tramp-maybe-open-connection): Use it.
11064 2010-05-19 Eli Zaretskii <eliz@gnu.org>
11066 * simple.el (move-end-of-line): Make sure we are at line beginning
11067 before backing up to end of previous line.
11069 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11071 * password-cache.el (password-cache-remove): Fix docstring.
11073 * net/secrets.el: Autoload the widget functions.
11074 (secrets-search-items, secrets-create-item)
11075 (secrets-get-attributes, secrets-expand-item): Attributes will be
11076 stored on the password database without leading ":", as all other
11077 clients do as well.
11078 (secrets-mode): Fix docstring.
11079 (secrets-show-secrets): Provide it as autoloaded command only when
11080 D-Bus support is available. Check existence of Secret Service API.
11082 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11084 * indent.el (indent-region): Deactivate region (bug#6200).
11086 2010-05-19 Glenn Morris <rgm@gnu.org>
11088 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
11090 2010-05-19 Kenichi Handa <handa@m17n.org>
11092 * composite.el: Register compose-gstring-for-graphic in
11093 composition-function-table only for combining characters (Mn, Mc, Me).
11095 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
11097 * calc/calc-trail.el (calc-trail-isearch-forward)
11098 (calc-trail-isearch-backward): Ensure that the new window
11099 point is set correctly.
11101 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11103 * subr.el (read-quoted-char): Resolve modifiers after key
11104 remapping (bug#6212).
11106 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
11108 Add visualization code for secrets.
11109 * net/secrets.el (secrets-mode): New major mode.
11110 (secrets-show-secrets, secrets-show-collections)
11111 (secrets-expand-collection, secrets-expand-item)
11112 (secrets-tree-widget-after-toggle-function)
11113 (secrets-tree-widget-show-password): New defuns.
11115 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11117 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
11118 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
11119 handled in smie-next-sexp.
11120 (smie-indent-calculate): Provide a starting indentation (so the
11121 recursion is well-founded ;-).
11123 Fix handling of non-associative equal levels.
11124 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
11125 when it's not needed.
11126 (smie-op-left, smie-op-right): New functions.
11127 (smie-next-sexp): New function, extracted from smie-backward-sexp.
11128 Better handle equal levels to distinguish the associative case from
11129 the "multi-keyword construct" case.
11130 (smie-backward-sexp, smie-forward-sexp): Use it.
11132 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
11134 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
11136 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
11137 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
11139 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11141 Provide a simple generic indentation engine and use it for Prolog.
11142 * emacs-lisp/smie.el: New file.
11143 * progmodes/prolog.el (prolog-smie-op-levels)
11144 (prolog-smie-indent-rules): New var.
11145 (prolog-mode-variables): Use them to configure SMIE.
11146 (prolog-indent-line, prolog-indent-level): Remove.
11148 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11150 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
11151 order before computing the averages.
11153 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
11155 * calc/calc-vec.el (calc-histogram):
11156 (calcFunc-histogram): Allow vectors as inputs.
11157 (math-vector-avg): New function.
11159 * calc/calc-ext.el (math-group-float): Have the number of digits
11160 being grouped depend on the radix (Bug#6189).
11162 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11164 * version.el (emacs-copyright, emacs-version): Don't define here,
11165 now that emacs.c defines it.
11167 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11169 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11170 "Describe Language Environment" menu item.
11172 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11174 Bidi-sensitive movement with arrow keys.
11175 * subr.el (right-arrow-command, left-arrow-command): New functions.
11177 * bindings.el (global-map): Bind them to right and left arrow keys.
11179 Don't override standard definition of convert-standard-filename.
11180 * files.el (convert-standard-filename):
11181 Call w32-convert-standard-filename and dos-convert-standard-filename on
11182 the corresponding systems.
11184 * w32-fns.el (w32-convert-standard-filename): Rename from
11185 convert-standard-filename. Doc fix.
11187 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11188 (convert-standard-filename): Don't defalias.
11189 (register-name-alist, make-register, register-value)
11190 (set-register-value, intdos): Obsolete aliases for the
11191 corresponding dos-* functions and variables.
11192 (dos-intdos): Add a doc string.
11194 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11196 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11197 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11198 (math-compose-tex-func):
11199 * calc/calccomp.el (math-compose-expr):
11200 * calc/calc-ext.el (math-format-flat-expr-fancy):
11201 * calc/calc-store.el (calc-read-var-name):
11202 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11204 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11205 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11206 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11207 (math-standard-units): Add units.
11209 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11211 * progmodes/asm-mode.el (asm-mode):
11212 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11214 * pcomplete.el (pcomplete-completions-at-point): New function,
11215 extracted from pcomplete-std-complete.
11216 (pcomplete-std-complete): Use it.
11218 2010-05-15 Glenn Morris <rgm@gnu.org>
11220 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11221 Remove references to CVS, RCS and Old directories.
11223 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11225 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11228 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11230 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11231 (sh-mode-syntax-table): Give it a default value instead.
11232 (sh-header-marker): Make buffer-local.
11233 (sh-mode): Move make-local-variable to the corresponding setq.
11234 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11235 Use complete-with-action.
11237 * simple.el (prog-mode): New (abstract) major mode.
11238 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11239 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11241 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11243 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11244 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11245 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11246 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11247 (sql-escape-newlines-filter, sql-input-sender)
11248 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11250 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11252 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11254 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11255 latex-open-block and C-c / to latex-close-block.
11257 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11258 and C-c C-e to sgml-close-tag.
11260 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11262 * net/tramp.el (with-progress-reporter): Create reporter object
11263 only when the message would be displayed. Handle nested calls.
11264 (tramp-handle-load, tramp-handle-file-local-copy)
11265 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11266 (tramp-maybe-send-script, tramp-find-shell):
11267 Use `with-progress-reporter'.
11268 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11271 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11272 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11273 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11274 Use `with-progress-reporter'.
11276 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11278 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11279 process everytime when spellchecking from the minibuffer (bug#6143).
11281 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11283 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11285 * dos-fns.el: Add "dos-" prefix for namespace control.
11286 (convert-standard-filename): Define as alias for
11287 dos-convert-standard-filename but only if applicable.
11289 2010-05-12 Alan Mackenzie <acm@muc.de>
11291 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11292 Push the mark at the start of these functions when appropriate.
11294 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11296 * minibuffer.el (completion-cycle-threshold): New custom var.
11297 (completion--do-completion): Use it.
11298 (minibuffer-complete): Use cycling if appropriate.
11300 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11302 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11303 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11305 2010-05-11 Juri Linkov <juri@jurta.org>
11307 * scroll-all.el (scroll-all-check-to-scroll):
11308 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11310 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11312 * iimage.el (iimage-mode-map): Move initialization into declaration.
11313 (iimage-mode-buffer): Use with-silent-modifications.
11314 Simplify calling convention. Adjust callers.
11315 (iimage-mode): Don't run hook redundantly.
11317 * minibuffer.el (completion-pcm--pattern->regex):
11318 Fix last change (bug#6160).
11320 2010-05-10 Juri Linkov <juri@jurta.org>
11322 Remove nodes visited during Isearch from the Info history.
11323 * info.el (Info-isearch-initial-history)
11324 (Info-isearch-initial-history-list): New variables.
11325 (Info-isearch-start): Record initial values of
11326 Info-isearch-initial-history and Info-isearch-initial-history-list.
11327 Add Info-isearch-end to isearch-mode-end-hook.
11328 (Info-isearch-end): New function.
11330 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11332 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11333 format string, in order to work around a bug in pdksh.
11334 Reported by Gilles Pion <gpion@lfdj.com>.
11335 (tramp-handle-verify-visited-file-modtime): Do not send a command
11336 when the connection is not established.
11337 (tramp-handle-set-file-times): Simplify the check for utc.
11339 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11341 Fix use of `filter-buffer-substring' (rework previous change).
11342 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11343 (cua-repeat-replace-region):
11344 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11345 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11346 (cua-cut-region-to-global-mark): Use it.
11348 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11350 * progmodes/sql.el: Version 2.1.
11351 (sql-product-alist): Redesign structure of product info.
11352 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11353 (sql-port, sql-port-history): New variables.
11354 (sql-interactive-product): New variable.
11355 (sql-send-terminator): New variable.
11356 (sql-imenu-generic-expression): Add "Types" imenu entry.
11357 (sql-oracle-login-params, sql-sqlite-login-params)
11358 (sql-mysql-login-params, sql-solid-login-params)
11359 (sql-sybase-login-params, sql-informix-login-params)
11360 (sql-ingres-login-params, sql-ms-login-params)
11361 (sql-postgres-login-params, sql-interbase-login-params)
11362 (sql-db2-login-params, sql-linter-login-params)
11363 (sql-oracle-scan-on): New variables.
11364 (sql-mode-map): Add C-c C-i to start interactive mode.
11365 (sql-mode-menu): Update existing menu entries.
11366 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11367 (sql-mode-oracle-font-lock-keywords)
11368 (sql-mode-postgres-font-lock-keywords)
11369 (sql-mode-ms-font-lock-keywords)
11370 (sql-mode-sybase-font-lock-keywords)
11371 (sql-mode-informix-font-lock-keywords)
11372 (sql-mode-interbase-font-lock-keywords)
11373 (sql-mode-ingres-font-lock-keywords)
11374 (sql-mode-solid-font-lock-keywords)
11375 (sql-mode-mysql-font-lock-keywords)
11376 (sql-mode-sqlite-font-lock-keywords)
11377 (sql-mode-db2-font-lock-keywords)
11378 (sql-mode-linter-font-lock-keywords): Update initialization to
11379 reduce run-time complexity.
11380 (sql-add-product, sql-del-product): New functions.
11381 (sql-set-product-feature, sql-get-product-feature): New functions.
11382 (sql-product-font-lock): Update product API.
11383 (sql-add-product-keywords): New function.
11384 (sql-highlight-product): Update product API.
11385 (sql-help-list-products): New function.
11386 (sql-help): Dynamically lists free and non-free products.
11387 (sql-get-login): Correct bug in handling history and added
11389 (sql-copy-column): Copy without properties.
11390 (sqli-input-sender): Apply filters to SQLi input.
11391 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11392 Implement as a filter.
11393 (sql-escape-newlines-filter): Implement as a filter.
11394 (sql-remove-tabs-filter): New function.
11395 (sql-send-magic-terminator): New function.
11396 (sql-send-string): Implement magic terminator.
11397 (sql-send-region): Use `sql-send-string'.
11398 (sql-interactive-mode): Use product API.
11399 (sql-product-interactive): Use product API.
11400 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11401 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11402 (sql-db2, sql-linter): Use `sql-product-interactive'.
11403 (sql-connect): New function.
11404 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11405 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11406 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11407 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11410 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11412 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11413 New custom variable.
11414 (completion-pcm--string->pattern): Use it.
11415 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11416 Make it handle any symbol as `any'.
11417 (completion-pcm--merge-completions): Extract common suffix for the new
11418 `prefix' symbol as well.
11419 (completion-substring--all-completions): Use the new `prefix' symbol.
11421 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11423 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11425 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11426 (tramp-compat-funcall): New defmacro.
11427 (tramp-compat-line-beginning-position)
11428 (tramp-compat-line-end-position)
11429 (tramp-compat-temporary-file-directory)
11430 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11431 (tramp-compat-copy-file, tramp-compat-copy-directory)
11432 (tramp-compat-delete-file, tramp-compat-delete-directory)
11433 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11434 * net/tramp.el (top, with-progress-reporter)
11435 (tramp-rfn-eshadow-setup-minibuffer)
11436 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11437 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11438 (tramp-completion-mode-p, tramp-check-for-regexp)
11439 (tramp-open-connection-setup-interactive-shell)
11440 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11441 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11442 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11443 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11444 (tramp-reporter-dump-variable, tramp-load-report-modules)
11445 (tramp-append-tramp-buffers)
11446 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11448 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11450 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11452 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11453 buffer-modtime. Adjust users.
11455 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11457 * international/mule.el (auto-coding-alist): Only purecopy
11458 car of each item, not the whole list (Bug#6083).
11460 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11462 * progmodes/js.el (js-mode): Make paragraph variables local before
11463 calling c-setup-paragraph-variables (Bug#6071).
11465 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11467 * composite.el (compose-region, reference-point-alist): Fix typos
11468 in the doc strings.
11470 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11472 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11473 gnuplot's "set" command.
11475 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11477 * abbrev.el (last-abbrev-text): Doc fix.
11478 (abbrev-prefix-mark): Don't escape parenthesis.
11480 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11482 * composite.el (find-composition): Doc fix.
11484 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11486 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11487 (sql-oracle-program, sql-sqlite-options)
11488 (sql-query-placeholders-and-send): Doc fixes.
11489 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11490 (sql-imenu-generic-expression, sql-buffer)
11491 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11492 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11493 (sql-mode-sybase-font-lock-keywords)
11494 (sql-mode-informix-font-lock-keywords)
11495 (sql-mode-interbase-font-lock-keywords)
11496 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11497 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11498 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11499 (sql-product-feature, sql-highlight-product)
11500 (comint-line-beginning-position, sql-rename-buffer)
11501 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11502 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11503 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11504 Fix typos in docstrings.
11506 2010-05-08 Juri Linkov <juri@jurta.org>
11508 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11509 property instead of `invisible' and `after-string' (bug#5998).
11511 2010-05-08 Juri Linkov <juri@jurta.org>
11513 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11515 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11517 * filecache.el (file-cache-add-directory-list)
11518 (file-cache-add-directory-recursively): Fix typos in docstrings.
11520 2010-05-08 Kenichi Handa <handa@m17n.org>
11522 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11523 (gujarati-composable-pattern): Fix typo.
11525 2010-05-08 Kenichi Handa <handa@m17n.org>
11527 * language/indian.el (oriya-composable-pattern)
11528 (tamil-composable-pattern, malayalam-composable-pattern):
11529 Add two-part vowels to "v" (vowel sign).
11531 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11533 * files.el (copy-directory): Handle symlinks (Bug#5982).
11535 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11537 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11538 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11541 2010-05-08 Glenn Morris <rgm@gnu.org>
11543 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11545 * minibuffer.el (completion-at-point): Doc fix.
11547 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11549 * electric.el (Electric-command-loop): Minor tweak.
11551 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11552 better with dedicated windows.
11554 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11556 * Version 23.2 released.
11558 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11559 Stefan Monnier <monnier@iro.umontreal.ca>
11561 Highlight vendor specific properties.
11562 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11563 (css-proprietary-property): New face.
11564 (css-font-lock-keywords): Use them.
11566 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11568 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11570 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11572 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11573 * files.el (auto-mode-alist): Remove redundant entries.
11575 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11576 * simple.el (auto-save-mode): Move from files.el.
11577 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11579 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11581 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11583 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11585 * mail/binhex.el (binhex-decode-region-internal)
11586 * mail/uudecode.el (uudecode-decode-region-internal)
11587 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11588 (dns-read-type, dns-query)
11589 * pgg-parse.el (pgg-parse-armor)
11590 * pgg.el (pgg-verify-region)
11591 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11594 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11596 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11598 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11600 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11601 * emulation/cua-base.el (cua-repeat-replace-region):
11602 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11603 (cua-cut-region-to-global-mark):
11604 Remove text properties with `set-text-properties'.
11606 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11608 * net/tramp.el (top, with-progress-reporter):
11609 Use `symbol-function' inside `funcall'.
11611 * net/tramp-compat.el (tramp-compat-file-attributes)
11612 (tramp-compat-delete-file, tramp-compat-delete-directory):
11613 Handle only `wrong-number-of-arguments' error.
11615 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11616 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11619 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11621 * minibuffer.el (completion--sreverse, completion--common-suffix):
11623 (completion-pcm--merge-completions): Extract common suffix when safe.
11625 * emacs-lisp/easy-mmode.el (define-minor-mode):
11626 Make :variable more flexible.
11627 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11629 2010-05-05 Juri Linkov <juri@jurta.org>
11631 Add `slow' and `history' tags to the desktop data.
11633 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11634 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11635 (Info-finder-find-node): Require `finder.el' to be able
11636 to restore node from the desktop.
11637 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11638 data `Info-history' and `slow' tag in the assoc list.
11639 (Info-restore-desktop-buffer): Don't restore nodes with the
11640 `slow' tag. Restore `Info-history'.
11642 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11644 Add FORCE argument to `delete-file'.
11646 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11647 forcing to delete the temporary file.
11648 (ange-ftp-delete-file): Add FORCE arg.
11649 (ange-ftp-rename-remote-to-remote)
11650 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11651 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11652 Force file deletion.
11654 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11656 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11657 (tramp-handle-make-symbolic-link, tramp-handle-load)
11658 (tramp-do-copy-or-rename-file-via-buffer)
11659 (tramp-do-copy-or-rename-file-directly)
11660 (tramp-do-copy-or-rename-file-out-of-band)
11661 (tramp-handle-process-file, tramp-handle-call-process-region)
11662 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11663 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11664 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11666 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11667 (tramp-fish-handle-make-symbolic-link)
11668 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11670 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11671 Use `tramp-compat-delete-file'.
11673 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11674 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11676 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11677 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11679 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11680 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11681 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11682 Use `tramp-compat-delete-file'.
11684 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11687 * subr.el (add-minor-mode): Use push.
11688 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11689 * emulation/edt.el (edt-select-mode): Simplify.
11691 Use define-minor-mode in more cases.
11692 * term/tvi970.el (tvi970-set-keypad-mode):
11693 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11694 (normal-erase-is-backspace-mode):
11695 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11696 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11697 (get-scroll-bar-mode): New function.
11698 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11700 Use define-minor-mode for less obvious cases.
11701 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11702 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11703 * international/iso-ascii.el (iso-ascii-mode):
11704 * frame.el (auto-raise-mode, auto-lower-mode):
11705 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11707 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11709 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11710 in order to see error messages for failed logins.
11712 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11714 * diff.el (diff-sentinel):
11716 * epg.el (epg--make-temp-file, epg-decrypt-string)
11717 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11719 * jka-compr.el (jka-compr-partial-uncompress)
11720 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11722 * server.el (server-sentinel): Use delete-file's new FORCE arg
11725 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11727 Use define-minor-mode where applicable.
11728 * view.el (view-mode):
11729 * type-break.el (type-break-query-mode)
11730 (type-break-mode-line-message-mode):
11731 * textmodes/reftex.el (reftex-mode):
11732 * term/vt100.el (vt100-wide-mode):
11733 * tar-mode.el (tar-subfile-mode):
11734 * savehist.el (savehist-mode):
11735 * ibuf-ext.el (ibuffer-auto-mode):
11736 * composite.el (auto-composition-mode):
11737 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11738 Use define-minor-mode.
11739 (vhdl-mode): Use static mode-line format.
11740 (vhdl-mode-line-update): Delete.
11741 (vhdl-create-mode-menu, vhdl-activate-customizations)
11742 (vhdl-hs-minor-mode): Don't bother calling it.
11744 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11746 * simple.el (with-wrapper-hook): Move.
11747 (buffer-substring-filters): Mark obsolete.
11748 (filter-buffer-substring-functions): New variable.
11749 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11751 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11752 Michael Albinus <michael.albinus@gmx.de>
11754 Implement compression for inline methods.
11756 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11757 (tramp-copy-size-limit): Allow also nil.
11758 (tramp-inline-compress-commands): New defconst.
11759 (tramp-find-inline-compress, tramp-get-inline-compress)
11760 (tramp-get-inline-coding): New defuns.
11761 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11762 replaced by `tramp-get-inline-coding'.
11763 (tramp-handle-file-local-copy, tramp-handle-write-region)
11764 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11766 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11768 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11769 Remove unused functions.
11771 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11772 Set find-tag-default-function as a variable rather than a property.
11774 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11775 * progmodes/etags.el (tags-completion-at-point-function):
11776 Remove left over interactive spec. Add autoloading stub.
11777 (complete-tag): Use tags-completion-at-point-function.
11779 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11781 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11783 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11785 * ido.el (ido-init-completion-maps): Remove C-v binding.
11786 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11788 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11790 * minibuffer.el (tags-completion-at-point-function): New function.
11791 (completion-at-point-functions): Use it.
11793 * progmodes/etags.el (complete-tag): Revert last change.
11795 2010-04-29 Alan Mackenzie <acm@muc.de>
11797 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11798 off-by-one error (in end of macro position).
11800 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11802 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11803 firefox is absent. Don't autoload.
11804 (browse-url-galeon-program): Don't autoload.
11806 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11808 * bindings.el (complete-symbol): Move into minibuffer.el.
11810 * minibuffer.el (complete-tag): Move from etags.el. If tags
11811 completion cannot be performed, return nil instead of signalling
11813 (completion-at-point): Make it an alias for complete-symbol.
11814 (complete-symbol): Move from bindings.el, and replace with the
11815 body of completion-at-point.
11817 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11819 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11821 * net/tramp.el (tramp-remote-selinux-p): New defun.
11822 (tramp-handle-file-selinux-context)
11823 (tramp-handle-set-file-selinux-context): Use it.
11825 2010-04-28 Sam Steingold <sds@gnu.org>
11827 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11828 `safe-local-variable' if the value is a string or a symbol with
11829 the property `bug-reference-url-format'.
11831 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11833 * progmodes/bug-reference.el (bug-reference-url-format):
11834 Revert 2010-04-27 change due to security risk.
11836 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11838 Make it possible to locally disable a globally enabled mode.
11839 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11840 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11841 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11842 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11843 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11844 that subsequent hooks get a chance to disable it.
11846 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11848 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11849 Avoid re-enabling a minor mode after the user turned the minor mode
11850 off if MODE-enable-in-buffers is run twice (typically once from
11851 fundamental-mode's after-change-major-mode-hook and a second time from
11852 run-mode-hook's own after-change-major-mode-hook).
11854 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11856 2010-04-27 Sam Steingold <sds@gnu.org>
11858 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11859 `safe-local-variable' if the value is a string or a function, as
11860 documented and implemented on 2010-04-02.
11862 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11864 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11865 when method is 'kill.
11867 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11869 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11870 condition in default directory check.
11871 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
11872 Kill ispell process when killing its associated buffer.
11874 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11876 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11877 but we aren't using it.
11879 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11881 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11882 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11884 2010-04-24 Glenn Morris <rgm@gnu.org>
11886 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11887 Ignore VCS-ignore files, and deleted nextstep preferences files.
11888 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11889 (authors-ambiguous-files): New list.
11890 (authors-valid-file-names): Add some deleted files.
11891 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11892 (authors-disambiguate-file-name): New function. (Bug#5501)
11893 (authors-canonical-file-name): Doc fix.
11894 Don't warn about obsolete files.
11895 (authors-canonical-file-name, authors-scan-el):
11896 Use authors-disambiguate-file-name.
11898 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11899 Add autoload cookies.
11900 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11901 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11902 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11903 They have definitions / compiler macros in cl.el.
11904 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11905 Replace manual autoloads with generated ones.
11906 (htmlfontify-unload-rgb-file): Remove autoload.
11907 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11909 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11911 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11912 (byte-compile-setq-default): Optimize for the
11913 single-var case and don't call byte-compile-form in this case to avoid
11914 inf-loop with byte-compile-set-default.
11916 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11918 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11920 Implement SELINUX backends.
11922 * net/tramp.el (tramp-file-name-handler-alist):
11923 Add `file-selinux-context' and `set-file-selinux-context'.
11924 (tramp-handle-file-selinux-context)
11925 (tramp-handle-set-file-selinux-context): New defuns.
11926 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11927 Handle PRESERVE-SELINUX-CONTEXT.
11929 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11930 Add `file-selinux-context' and `set-file-selinux-context'.
11931 (tramp-gvfs-handle-file-selinux-context)
11932 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11933 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11935 * net/ange-ftp.el (ange-ftp-copy-file):
11936 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11937 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11938 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11939 Add PRESERVE-SELINUX-CONTEXT.
11941 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11943 Synchronize with Tramp repository.
11945 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11946 (tramp-action-process-alive, tramp-action-out-of-band)
11947 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11948 (tramp-exists-file-name-handler): Fix docstring.
11949 (with-progress-reporter): New defmacro.
11950 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11951 (tramp-maybe-open-connection): Use it.
11953 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11955 Detect ssh 'ControlMaster' argument automatically in some cases.
11957 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11958 (tramp-default-method): Use it.
11960 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11962 * net/tramp.el (tramp-handle-copy-file): Add new optional
11963 parameter `preserve-selinux-context'.
11964 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11966 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11968 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11969 Ensure, that non remote files are still checked. Oops.
11971 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11975 * icomplete.el (icomplete-completions): Use `non-essential'.
11977 * net/tramp.el (tramp-connectable-p): New defun.
11978 (tramp-handle-expand-file-name)
11979 (tramp-completion-handle-file-name-all-completions)
11980 (tramp-completion-handle-file-name-completion): Use it.
11982 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11984 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11986 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11988 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11990 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11992 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11995 * info.el (info-tool-bar-map): Add labels.
11997 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11999 * cus-edit.el (custom-commands): Add labels for tool bar.
12000 (custom-buffer-create-internal, Custom-mode): Adjust for
12001 labels in custom-commands.
12003 * dynamic-setting.el: Renamed from font-setting.el.
12005 2010-04-21 John Wiegley <jwiegley@gmail.com>
12007 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
12008 toggles the use of virtual buffers.
12009 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
12010 (ido-toggle-virtual-buffers): New function.
12012 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
12014 Use `define-derived-mode'; fix window selection; doc fixes.
12015 * play/tetris.el (tetris, tetris-update-speed-function)
12016 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
12017 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
12018 (tetris-rotate-next, tetris-end-game, tetris-start-game)
12019 (tetris-pause-game): Fix typos in docstrings.
12020 (tetris-mode-map, tetris-null-map):
12021 Move initialization into declaration.
12022 (tetris-mode): Define with `define-derived-mode';
12023 set show-trailing-whitespace to nil.
12024 (tetris): Prefer window already displaying the "*Tetris*" buffer.
12026 2010-04-21 Karel Klíč <kklic@redhat.com>
12028 * files.el (backup-buffer): Handle SELinux context, and return it
12029 if a backup was made by renaming.
12030 (backup-buffer-copy): Set SELinux context to the target file.
12031 (basic-save-buffer): Set SELinux context of the newly written file.
12032 (basic-save-buffer-1): Now it also returns any SELinux context.
12033 (basic-save-buffer-2): Set SELinux context of the newly created file,
12035 * net/tramp.el (tramp-file-name-for-operation):
12036 Add file-selinux-context.
12038 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12040 Make the log-edit comments use RFC822 format throughout.
12042 * vc.el (vc-checkin, vc-modify-change-comment):
12043 Adjust to new vc-start/finish-logentry.
12044 (vc-find-conflicted-file): New command.
12045 (vc-transfer-file): Adjust to new vc-checkin.
12046 (vc-next-action): Improve scoping.
12048 * vc-hg.el (vc-hg-log-edit-mode): Remove.
12049 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
12051 * vc-git.el (vc-git-log-edit-mode): Remove.
12052 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
12053 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
12055 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
12056 (vc-start-logentry): Remove argument `extra'.
12057 (vc-finish-logentry): Remove extra args.
12059 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
12060 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
12061 (vc-bzr-conflicted-files): New function.
12063 * log-edit.el (log-edit-extra-flags)
12064 (log-edit-before-checkin-process): Remove.
12065 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
12066 (log-edit-headers-alist): New var.
12067 (log-edit-header-contents-regexp): New const.
12068 (log-edit-match-to-eoh): New function.
12069 (log-edit-font-lock-keywords): Use them.
12070 (log-edit): Insert a "Summary:" header as default.
12071 (log-edit-mode): Mark font-lock rules as case-insensitive.
12072 (log-edit-done): Cleanup headers.
12073 (log-view-process-buffer): Remove.
12074 (log-edit-extract-headers): New function to replace it.
12076 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
12078 * subr.el (default-direction-reversed): Remove obsolescence info.
12080 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12082 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
12085 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
12086 I.e. include text after point in the completion region.
12087 Also, return nil when we're not after/in a symbol.
12089 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
12090 default enable-multibyte-characters.
12092 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12094 * international/mule.el: Help the user choose a valid coding-system.
12095 (read-buffer-file-coding-system): New function.
12096 (set-buffer-file-coding-system): Use it. Prompt the user if the
12097 coding-system cannot encode all the chars.
12099 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
12100 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
12101 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
12102 Don't use *vc-bzr-shelve*.
12104 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
12106 Fix the version number for added files.
12107 * vc-hg.el (vc-hg-working-revision): Check if the file is
12108 registered after hg parent fails (Bug#5961).
12110 2010-04-19 Glenn Morris <rgm@gnu.org>
12112 * htmlfontify.el (htmlfontify-buffer)
12113 (htmlfontify-copy-and-link-dir): Autoload entry points.
12115 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
12117 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
12118 name relative to the project root (Bug#5960).
12120 2010-04-19 Glenn Morris <rgm@gnu.org>
12122 * vc-git.el (vc-git-print-log): Doc fix.
12124 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
12126 * ido.el (ido-file-internal): Fix 2009-12-02 change.
12128 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
12130 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
12131 default settings (Bug#5928).
12133 2010-04-19 Glenn Morris <rgm@gnu.org>
12135 * progmodes/fortran.el (fortran-match-and-skip-declaration):
12137 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
12139 2010-04-19 Kenichi Handa <handa@m17n.org>
12141 * language/indian.el (malayalam-composable-pattern): Fix previous
12142 change (add U+0D4D "SIGN VIRAMA").
12143 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
12144 (tamil-composable-pattern): Fix typo in the regexp.
12145 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
12146 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
12147 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
12149 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12151 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
12152 paragraph-separate (Bug#5821).
12154 2010-04-19 Juri Linkov <juri@jurta.org>
12156 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12158 * info.el (Info-find-node-2): Comment out code that skips
12160 (Info-mouse-follow-link): New command.
12161 (Info-link-keymap): New keymap.
12162 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12163 Return a string with links instead of inserting breadcrumbs
12164 to the Info buffer.
12165 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12166 Instead of putting the `invisible' text property over the Info
12167 header, make an overlay over the Info header with the `invisible'
12168 property and `after-string' set to the string returned by
12169 `Info-breadcrumbs'.
12171 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12173 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12174 Reported by monkey@sandpframing.com.
12176 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12178 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12179 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12180 available in the "keyseq cache" any more.
12182 * custom.el (defcustom): Add edebug spec.
12184 2010-04-18 Juri Linkov <juri@jurta.org>
12186 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12188 * view.el (view-file, view-buffer): Move test for special mode-class
12189 from view-file to view-buffer.
12191 * tar-mode.el (tar-extract): Turn if's into one cond
12192 like in arc-mode.el.
12194 2010-04-18 Juri Linkov <juri@jurta.org>
12196 Add 7z archive format support (bug#5475).
12198 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12199 (archive-7z-extract): New defcustom.
12200 (archive-find-type): Add magic string for 7z.
12201 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12202 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12203 `buffer' arg of `call-process'.
12204 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12205 call the function `archive-7z-extract' with the variable
12206 `archive-7z-extract' let-bound to `archive-zip-extract'.
12207 (archive-7z-summarize, archive-7z-extract): New functions.
12209 * international/mule.el (auto-coding-alist):
12210 * files.el (auto-mode-alist): Add 7z file extension.
12212 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12214 * loadup.el: Setup hash-cons for pure data.
12216 Fix duplicate entries in cedet's loaddefs.el files.
12217 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12218 Should make most file-local generated-autoload-file unnecessary.
12219 (print-readably): Silence warnings.
12220 (autoload-find-destination): Take load-name as an arg to make sure
12221 it's the same as the one that will be in the file.
12222 (autoload-generate-file-autoloads): Adjust to above changes.
12223 Try to make the dataflow a bit simpler.
12225 * cvs-status.el (cvs-refontify): Remove unused.
12227 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12229 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12231 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12232 twos-complement mode.
12234 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12236 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12237 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12238 (calc-inverse): Add "Option" to message, as appropriate.
12239 (calc-hyperbolic): Add "Option" to message, as appropriate.
12240 (calc-option, calc-is-option): New functions.
12242 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12243 (calc-option-prefix-help): New function.
12245 * calc/calc-misc.el (calc-help): Add "Option" entry.
12247 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12248 (calc-option-flag): New variable.
12249 (calc-do): Set `calc-option-flag to nil.
12250 (calc-set-mode-line): Add "Opt " as appropriate.
12252 2010-04-16 Juri Linkov <juri@jurta.org>
12254 Move scrolling commands from simple.el to window.el
12255 because their primitives are implemented in window.c.
12257 * simple.el (scroll-error-top-bottom)
12258 (scroll-up-command, scroll-down-command, scroll-up-line)
12259 (scroll-down-line, scroll-other-window-down)
12260 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12261 * window.el (scroll-error-top-bottom)
12262 (scroll-up-command, scroll-down-command, scroll-up-line)
12263 (scroll-down-line, scroll-other-window-down)
12264 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12265 Move from simple.el to window.el because their primitives are
12266 implemented in window.c.
12268 2010-04-16 Juri Linkov <juri@jurta.org>
12270 * isearch.el (isearch-lookup-scroll-key): Check both
12271 `isearch-scroll' and `scroll-command' properties.
12272 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12274 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12276 * simple.el (scroll-up-command, scroll-down-command)
12277 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12279 2010-04-15 Juri Linkov <juri@jurta.org>
12281 * simple.el (scroll-up-command, scroll-down-command)
12282 (scroll-up-line, scroll-down-line): Put `scroll-command'
12283 property on the these symbols. Remove them from
12284 `scroll-preserve-screen-position-commands'.
12286 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12287 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12288 Remove it from `scroll-preserve-screen-position-commands'.
12290 * isearch.el (isearch-allow-scroll): Doc fix.
12292 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12294 * net/tramp.el (tramp-error-with-buffer): Don't show the
12295 connection buffer when we are in completion mode.
12296 (tramp-file-name-handler): Catch the error for some operations
12297 when we are in completion mode. This gives the user the chance to
12298 correct the file name in the minibuffer.
12300 2010-04-15 Glenn Morris <rgm@gnu.org>
12302 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12304 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12306 Simplify by using `define-derived-mode'.
12307 * info.el (Info-mode):
12308 * calendar/todo-mode.el (todo-mode):
12309 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12310 (gomoku-mode-map): Move initialization into declaration.
12312 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12315 * ido.el (ido-file-name-all-completions-1):
12316 * minibuffer.el (minibuffer-completion-help):
12317 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12319 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12321 * simple.el (non-essential): New var.
12323 Add a new field `location' to bookmarks for non-file bookmarks.
12324 * bookmark.el (bookmark-location): Use the new field, if present.
12325 (bookmark-insert-location): Undo last change, not needed any more.
12326 * man.el (Man-bookmark-make-record):
12327 * woman.el (woman-bookmark-make-record): Add `location' field.
12329 2010-04-14 Juri Linkov <juri@jurta.org>
12331 * simple.el (scroll-error-top-bottom): New defcustom.
12332 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12334 * emulation/pc-select.el (pc-select-override-scroll-error):
12335 Obsolete in favor of `scroll-error-top-bottom'.
12337 2010-04-14 Juri Linkov <juri@jurta.org>
12339 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12340 `scroll-up-command' and `M-v' to `scroll-down-command'.
12342 * emulation/cua-rect.el (cua--init-rectangles):
12343 * forms.el (forms--change-commands):
12344 * image-mode.el (image-mode-map):
12345 Remap scroll-down-command and scroll-up-command
12346 in addition to scroll-down and scroll-up.
12348 2010-04-14 Juri Linkov <juri@jurta.org>
12350 * mwheel.el (scroll-preserve-screen-position-commands):
12351 Add mwheel-scroll to this list of commands.
12353 * simple.el (scroll-preserve-screen-position-commands):
12354 Add scroll-up-command, scroll-down-command, scroll-up-line,
12355 scroll-down-line to this list of commands.
12357 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12359 * obsolete/complete.el: Move from lisp/complete.el.
12361 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12363 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12364 to the minor mode function now turns the mode ON unconditionally.
12366 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12368 * vc-dir.el (vc-dir-kill-line): New command.
12369 (vc-dir-mode-map): Bind it to C-k.
12371 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12373 * woman.el: Add bookmark declarations to silence the compiler.
12374 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12375 step to compatibility between man and woman bookmarks.
12376 Adjust for Man-default-bookmark-title renaming.
12377 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12379 * man.el: Add bookmark declarations to silence the compiler.
12380 (Man-name-local-regexp): Make it match NAME as well.
12381 (Man-getpage-in-background): Return the buffer.
12382 (Man-notify-when-ready): Use `case'.
12383 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12384 Don't hardcode "NAME". Simplify.
12385 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12386 Rename from Man-bookmark-make-record.
12387 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12388 we have the actual man-args. Use Man-getpage-in-background rather
12389 than `man' since the arg is already processed. Let bookmark.el do the
12390 window handling. Only wait for the relevant process.
12391 Don't forget to autoload.
12393 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12395 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12397 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12399 (woman-mode): Setup bookmark support.
12401 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12402 (man-bookmark-jump): New functions.
12403 (Man-mode): Setup bookmark support.
12405 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12407 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12408 recognize ssh-keygen prompt (Bug#2817).
12410 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12412 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12414 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12416 Synchronize with Tramp repository.
12418 * net/tramp.el (tramp-completion-function-alist)
12419 (tramp-file-name-regexp, tramp-chunksize)
12420 (tramp-local-coding-commands, tramp-remote-coding-commands):
12422 (tramp-remote-process-environment): Use `format' instead of `concat'.
12423 (tramp-handle-directory-files-and-attributes)
12424 (tramp-get-remote-path): Use `copy-tree'.
12425 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12426 compatibility: Use `completion-ignore-case' if
12427 `read-file-name-completion-ignore-case' does not exist.
12428 (tramp-do-copy-or-rename-file-directly): Do not use
12429 `tramp-handle-file-remote-p'.
12430 (tramp-do-copy-or-rename-file-out-of-band):
12431 Use `tramp-compat-delete-directory'.
12432 (tramp-do-copy-or-rename-file-out-of-band)
12433 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12434 Use `format-spec-make'.
12435 (tramp-find-foreign-file-name-handler)
12436 (tramp-advice-make-auto-save-file-name)
12437 (tramp-set-auto-save-file-modes): Remove superfluous check for
12438 `stringp'. This is done inside `tramp-tramp-file-p'.
12439 (tramp-debug-outline-regexp): New defconst.
12440 (tramp-get-debug-buffer): Use it.
12441 (tramp-check-for-regexp): Use (forward-line 1).
12442 (tramp-set-auto-save-file-modes): Adapt version check.
12444 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12445 Wrap call of `featurep' for 2nd argument.
12446 (tramp-compat-make-temp-file): Simplify fallback implementation.
12447 (tramp-compat-copy-tree): Remove function.
12448 (tramp-compat-delete-directory): Provide implementation for older
12451 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12452 Do not use `tramp-fish-handle-file-attributes.
12454 * net/trampver.el: Update release number.
12456 2010-04-10 Glenn Morris <rgm@gnu.org>
12458 * progmodes/compile.el (compilation-save-buffers-predicate):
12459 Add missing :version tag.
12461 2010-04-09 Sam Steingold <sds@gnu.org>
12463 * progmodes/compile.el (compilation-save-buffers-predicate):
12464 Remove the "autoload" cookie.
12466 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12467 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12468 and `bug-reference-prog-mode' can be used in hooks directly.
12470 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12472 Add --author support to git commit.
12473 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12474 (vc-git-log-edit-mode): New minor mode.
12475 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12478 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12480 * vc-hooks.el, vc-git.el: Improve documentation comments.
12482 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12484 Fix some of the problems in defsubst* (bug#5728).
12485 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12486 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12488 2010-04-07 Sam Steingold <sds@gnu.org>
12490 * progmodes/compile.el (compilation-save-buffers-predicate):
12491 New custom variable.
12492 (compile, recompile): Pass it to `save-some-buffers'.
12494 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12496 * wid-edit.el (widget-choose): Move cursor to the second line of
12497 the buffer (Bug#5695).
12499 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12501 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12502 * vc.el (vc-print-log-setup-buttons): New function split out from
12503 vc-print-log-internal.
12504 (vc-log-internal-common): New function, a parametrized version of
12505 vc-print-log-internal.
12506 (vc-print-log-internal): Just call vc-log-internal-common with the
12508 (vc-incoming-outgoing-internal):
12509 (vc-log-incoming, vc-log-outgoing): New functions.
12510 (vc-log-view-type): New permanent local variable.
12512 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12514 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12515 of the dynamic bound vc-short-log.
12516 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12518 * vc-git.el (vc-git-log-outgoing): New function.
12519 (vc-git-log-view-mode): Use vc-log-view-type instead
12520 of the dynamic bound vc-short-log.
12522 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12523 of the dynamic bound vc-short-log. Highlight the tag.
12524 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12525 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12526 (vc-hg-incoming-mode): Remove.
12527 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12529 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12531 Fix default-directory for vc-root-diff.
12532 * vc.el (vc-root-diff): Bind default-directory to the root
12533 directory for the diff command.
12535 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12537 * progmodes/verilog-mode.el (verilog-forward-sexp):
12538 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12539 word keywords, suggested by Steve Pearlmutter.
12540 (verilog-pretty-declarations): Support lineup of declarations in
12542 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12543 fix bug for /* / comments.
12544 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12545 Speed up and simplfy as this is never called with a bound.
12546 (verilog-pretty-declarations): Enhance to line up declarations
12547 inside a parameter list, suggested by Alan Morgan.
12548 (verilog-pretty-expr): Tune assignment regular expression match
12549 string for corner cases; also use markers instead of character
12550 number as indent changes the later.
12552 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12554 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12555 as missing keyword.
12556 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12557 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12558 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12559 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12561 (verilog-keywords):
12562 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12563 1800-2009 keywords, including "global.".
12565 2010-04-06 John Wiegley <jwiegley@gmail.com>
12567 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12568 appearing in buffer list (if a live buffer name matched a recentf
12569 file basename). Should use uniquify to offer a real solution.
12571 2010-04-06 John Wiegley <jwiegley@gmail.com>
12573 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12574 comment to code, and add a :version tag.
12575 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12577 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12579 Enable recentf-mode if using virtual buffers.
12580 * ido.el (recentf-list): Declare for byte-compiler.
12581 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12582 (ido-make-buffer-list): Simplify.
12583 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12585 2010-04-05 Juri Linkov <juri@jurta.org>
12587 Scrolling commands which scroll a line instead of full screen.
12588 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12590 * simple.el (scroll-up-line, scroll-down-line): New commands.
12591 Put property isearch-scroll=t on them.
12593 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12596 2010-04-05 Juri Linkov <juri@jurta.org>
12598 Scrolling commands which do not signal errors at top/bottom.
12599 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12601 * simple.el (scroll-up-command, scroll-down-command): New commands.
12602 Put property isearch-scroll=t on them.
12604 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12605 `scroll-down-command' and [next] from `scroll-up' to
12606 `scroll-up-command'.
12608 * emulation/cua-base.el: Put property CUA=move on
12609 `scroll-up-command' and `scroll-down-command'.
12610 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12611 and `scroll-down-command' to `cua-scroll-down'.
12613 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12615 * help.el (describe-mode): Return nil.
12617 2010-04-04 John Wiegley <jwiegley@gmail.com>
12619 * ido.el (ido-use-virtual-buffers): New variable to indicate
12620 whether "virtual buffer" support is enabled for IDO.
12621 (ido-virtual): Face used to indicate virtual buffers in the list.
12622 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12623 exists, but a virtual buffer of that name does (which would be why
12624 it was in the list), recreate the buffer by reopening the file.
12625 (ido-make-buffer-list): If virtual buffers are being used, call
12626 `ido-add-virtual-buffers-to-list' before the make list hook.
12627 (ido-virtual-buffers): New variable which contains a copy of the
12628 current contents of the `recentf-list', albeit pared down for the
12629 sake of speed, and with proper faces applied.
12630 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12631 create a list of "virtual buffers" to present to the user in
12632 addition to the currently open set. Note that this logic could
12633 get rather slow if that list is too large. With the default
12634 `recentf-max-saved-items' of 200, there is little speed penalty.
12636 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12638 * font-lock.el: Require CL when compiling.
12639 (font-lock-turn-on-thing-lock): Use `case'.
12641 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12643 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12646 2010-04-02 Juri Linkov <juri@jurta.org>
12648 * ehelp.el (electric-help-orig-major-mode):
12649 New buffer-local variable.
12650 (electric-help-mode): Set it to original major-mode. Doc fix.
12651 (with-electric-help): Use `electric-help-orig-major-mode' instead
12652 of (default-value 'major-mode). Doc fix.
12653 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12655 2010-04-02 Sam Steingold <sds@gnu.org>
12657 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12658 `vc-hg-command' with a list of flags.
12660 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12661 Also accept "patch" and "RFE".
12662 (bug-reference-fontify): `bug-reference-url-format' can also be a
12663 function to be able to handle the bug kind.
12664 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12666 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12668 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12669 value to fboundp, it may not be a symbol.
12671 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12673 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12675 2010-03-31 Juri Linkov <juri@jurta.org>
12677 * simple.el (next-line, previous-line): Re-throw a signal
12678 with `signal' instead of using `ding'.
12679 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12681 2010-03-31 Juri Linkov <juri@jurta.org>
12683 * simple.el (keyboard-escape-quit): Raise deselecting the active
12684 region higher than exiting the minibuffer.
12685 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12687 2010-03-31 Juri Linkov <juri@jurta.org>
12689 * image.el (image-animated-p): Use `image-metadata' instead of
12690 `image-extension-data'. Get GIF extenstion data from metadata
12691 property `extension-data'.
12693 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12695 * simple.el (append-to-buffer): Simplify.
12697 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12699 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12700 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12702 2010-03-31 Kenichi Handa <handa@m17n.org>
12704 * language/sinhala.el (composition-function-table): Fix regexp for
12705 the new Unicode specification.
12707 * language/indian.el (devanagari-composable-pattern)
12708 (tamil-composable-pattern, kannada-composable-pattern)
12709 (malayalam-composable-pattern): Adjust for the new Unicode
12711 (bengali-composable-pattern, gurmukhi-composable-pattern)
12712 (gujarati-composable-pattern, oriya-composable-pattern)
12713 (telugu-composable-pattern): New variables to cope with the new
12714 Unicode specification. Use them in composition-function-table.
12716 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12718 Make tmm-menubar work for the Buffers menu again (bug#5726).
12719 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12720 vectors rather than cons cells, as used in menu-bar-update-buffers.
12722 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12724 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12725 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12726 electric punctuation for "{}();,:" (Bug#5586).
12728 * mail/sendmail.el (mail-default-directory): Doc fix.
12730 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12732 * mail/sendmail.el (mail-default-directory): Doc fix.
12734 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12736 * subr.el (version-regexp-alist, version-to-list)
12737 (version-list-<, version-list-=, version-list-<=)
12738 (version-list-not-zero, version<, version<=, version=): Doc fix.
12741 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12743 * vc.el (vc-root-diff): Doc fix.
12745 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12747 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12749 * simple.el (append-to-buffer): Fix last change.
12751 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12753 * simple.el (append-to-buffer): Ensure that point is preserved if
12754 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12757 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12759 * files.el (auto-mode-case-fold): Change default to t.
12761 2010-03-30 Juri Linkov <juri@jurta.org>
12763 * dired-x.el (dired-omit-mode): Doc fix.
12765 2010-03-30 Juri Linkov <juri@jurta.org>
12767 * replace.el (occur-accumulate-lines): Move occur-engine related
12768 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12769 to be located after `occur-engine'.
12771 2010-03-30 Juri Linkov <juri@jurta.org>
12773 Make occur handle multi-line matches cleanly with context.
12774 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12776 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12777 (occur-engine): Add local variables `ret', `prev-after-lines',
12778 `prev-lines'. Use more arguments for `occur-context-lines'.
12779 Set first elem of its returned list to `data', and the second elem
12780 to `prev-after-lines'. Don't print the separator line.
12781 In the end, print remaining context after-lines.
12782 (occur-context-lines): Add new arguments `begpt', `endpt',
12783 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12784 after-lines of the previous match with before-lines of the
12785 current match and not overlap them. Return a list with two
12786 values: the output line and the list of context after-lines.
12788 2010-03-30 Juri Linkov <juri@jurta.org>
12790 * replace.el (occur-accumulate-lines): Fix a bug where the first
12791 context line at the beginning of the buffer was missing.
12793 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12795 * files.el: Make bidi-display-reordering safe variable for boolean
12798 2010-03-29 Phil Hagelberg <phil@evri.com>
12799 Chong Yidong <cyd@stupidchicken.com>
12801 * subr.el: Extend progress reporters to perform "spinning".
12802 (progress-reporter-update, progress-reporter-do-update):
12803 Handle non-numeric value arguments.
12804 (progress-reporter--pulse-characters): New var.
12806 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12808 * progmodes/compile.el (compilation-start): Fix regexp detection
12809 of initial cd command (Bug#5771).
12811 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12813 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12815 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12817 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12818 * progmodes/gdb-mi.el: Restore.
12819 * progmodes/gdb-ui.el: Remove.
12820 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12822 2010-03-25 Glenn Morris <rgm@gnu.org>
12824 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12825 all dired buffers, even tramp ones. (Bug#5755)
12827 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12829 Add "union tags" in mpc.el.
12830 * mpc.el: Remove backward compatibility code.
12831 (mpc-browser-tags): Change default.
12832 (mpc--find-memoize-union-tags): New var.
12833 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12834 (mpc-cmd-find): Handle the case where the playlist does not exist.
12836 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12837 (mpc-cmd-add): Use mpc-cmd-flush.
12838 (mpc-tagbrowser-tag-name): New fun.
12839 (mpc-tagbrowser-buf): Use it.
12840 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12842 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12845 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12846 Use replace-regexp-in-string.
12847 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12848 (makefile-imake-mode-syntax-table): Move init into defvar.
12849 (makefile-mode): Use define-derived-mode.
12851 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12852 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12853 not be present any more.
12855 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12857 * faces.el (set-face-attribute): Fix typo in docstring.
12858 (face-valid-attribute-values): Reflow docstring.
12860 2010-03-24 Glenn Morris <rgm@gnu.org>
12862 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12864 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12866 * indent.el (indent-for-tab-command): Doc fix.
12868 2010-03-24 Alan Mackenzie <acm@muc.de>
12870 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12871 Fix off-by-one error. Fixes bug #5747.
12873 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12875 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12876 (image-dired-read-comment): Doc fix.
12878 * json.el (json-object-type, json-array-type, json-key-type)
12879 (json-false, json-null, json-read-number):
12880 * minibuffer.el (completion-in-region-functions):
12881 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12882 (cal-tex-cursor-week):
12883 * emacs-lisp/trace.el (trace-function):
12884 * eshell/em-basic.el (eshell/printnl):
12885 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12886 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12887 * obsolete/levents.el (allocate-event, event-key, event-object)
12888 (event-point, event-process, event-timestamp, event-to-character)
12889 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12890 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12891 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12892 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12893 (reftex-highlight-selection): Fix typos in docstrings.
12895 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12897 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12899 2010-03-24 Glenn Morris <rgm@gnu.org>
12901 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12902 2008-02-13 without comment; mark it obsolete.
12903 (rmail-highlight-headers): Use rmail-highlight-face once more.
12905 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12907 * woman.el (woman2-process-escapes): Only consume the newline if
12908 the filler character is on a line by itself (Bug#5729).
12910 2010-03-24 Kenichi Handa <handa@m17n.org>
12912 * language/indian.el (devanagari-composable-pattern): Add more
12915 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12917 * net/trampver.el: Update release number.
12919 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12921 * net/tramp.el (tramp-find-executable):
12922 Use `tramp-get-connection-buffer'. Make the regexp for checking
12923 output of "wc -l" more robust.
12924 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12925 (tramp-open-connection-setup-interactive-shell): Remove workaround
12926 for OpenSolaris bug, it is not needed anymore.
12928 2010-03-24 Glenn Morris <rgm@gnu.org>
12930 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12932 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12934 * files.el (auto-mode-alist): Accept more verilog file patterns.
12936 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12938 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12940 2010-03-24 Glenn Morris <rgm@gnu.org>
12942 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12943 log-edit-before-checkin-process.
12945 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12947 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12949 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12950 (log-view-process-buffer, log-edit-extra-flags): Declare.
12952 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12954 2010-03-23 Sam Steingold <sds@gnu.org>
12956 Fix bug#5620: recalculate all markers on compilation buffer
12957 modifications, not on file modifications.
12958 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12959 variable: the buffer modification time, for buffers not associated with
12961 (compilation-mode): Create it.
12962 (compilation-filter): Update it.
12963 (compilation-next-error-function): Use it instead of
12964 `visited-file-modtime' for timestamp.
12966 2010-03-23 Juri Linkov <juri@jurta.org>
12968 Implement Occur multi-line matches.
12969 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12971 * replace.el (occur): Doc fix.
12972 (occur-engine): Set `begpt' to the beginning of the first line.
12973 Set `endpt' to the end of the last match line. At first, count
12974 line numbers between `origpt' and `begpt'. Split out code from
12975 `out-line' variable to new let-bindings `match-prefix' and
12976 `match-str'. In `out-line' add non-numeric prefix to all
12977 non-first lines of multi-line matches. Finally, count lines
12978 between `begpt' and `endpt' and add to `lines'.
12980 2010-03-23 Juri Linkov <juri@jurta.org>
12982 * replace.el (occur-accumulate-lines, occur-engine):
12983 Use `occur-engine-line' instead of duplicate code.
12984 (occur-engine-line): New function created from duplicate code
12985 in `occur-accumulate-lines' and `occur-engine'.
12987 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12988 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12990 2010-03-23 Juri Linkov <juri@jurta.org>
12992 * finder.el: Remove TODO tasks.
12994 * info.el (Info-finder-find-node): Add node "all"
12995 with all package info. Handle a list of multiple keywords
12996 separated by comma.
12997 (info-finder): In interactive use with a prefix argument,
12998 use `completing-read-multiple' to read a list of keywords
12999 separated by comma.
13001 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13003 Add a new completion style `substring'.
13004 * minibuffer.el (completion-basic--pattern): New function.
13005 (completion-basic-try-completion, completion-basic-all-completions):
13007 (completion-substring--all-completions)
13008 (completion-substring-try-completion)
13009 (completion-substring-all-completions): New functions.
13010 (completion-styles-alist): New style `substring'.
13012 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13014 Get rid of .elc files after removal of the corresponding .el.
13015 * Makefile.in (compile-clean): New target.
13016 (compile-main): Use it.
13018 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
13020 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
13021 don't do make there. When compiling with separate object dir, there
13022 is no Makefile there.
13024 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13026 Get rid of the ELCFILES abomination, again.
13027 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13028 (all, compile): Don't call compile-last.
13029 (compile-main): Build the "elcfiles" list dynamically.
13030 (compile-targets): New (internal) target.
13032 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
13034 * Makefile.in (top_srcdir): Define.
13035 (abs_top_builddir): Define.
13036 (srcdir): Don't append `/..'.
13037 (EMACS): Use ${abs_top_builddir}.
13038 (all, compile, compile-always, compile-last): Don't set emacswd.
13039 (update-subdirs, update-authors): Use $(top_srcdir) instead of
13041 (lisp): Use $(srcdir) instead of @srcdir@.
13043 2010-03-21 Juri Linkov <juri@jurta.org>
13045 Fix message of multi-line occur regexps and multi-buffer header lines.
13046 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
13048 * replace.el (occur-1): Don't display regexp if it is longer
13049 than window-width. Use `query-replace-descr' to display regexp.
13050 (occur-engine): Don't display regexp in the buffer header for
13051 multi-buffer occur. Display a separate header line with total
13052 match count and regexp for multi-buffer occur.
13053 Use `query-replace-descr' to display regexp.
13055 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
13057 * net/secrets.el: Fix parenthesis.
13058 (secrets-enabled): Fix parenthesis.
13060 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13062 Use more relative file and directory names.
13063 * Makefile.in (EMACS): Arrange for it to work when we chdir.
13064 (setwins, setwins_almost, setwins_for_subdirs):
13065 Don't `cd'; output relative names.
13066 (all, compile, compile-always, compile-last): Set emacswd.
13067 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
13068 Just cd to the lisp source dir so we can use relative file names.
13070 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
13072 2010-03-20 Glenn Morris <rgm@gnu.org>
13074 * textmodes/rst.el: Use faces for font-lock customization, and make the
13075 old -face variables obsolete.
13076 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
13077 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
13078 (rst-block-face, rst-external-face, rst-definition-face)
13079 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
13080 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
13082 (rst-font-lock-keywords-function): Update for above changes.
13084 2010-03-20 Juri Linkov <juri@jurta.org>
13087 * obsolete/s-region.el: Move to obsolete.
13089 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
13091 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
13093 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13095 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
13097 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13099 Add special markup processing for commit logs.
13100 * log-edit.el (log-edit-extra-flags): New variable.
13101 (log-edit): Add new argument MODE. Use that mode when non-nil
13102 instead of the log-view-mode.
13103 (log-view-process-buffer): New function.
13105 * vc.el: Document that the checkin method takes optional
13106 arguments. Document new backend specific method: log-view-mode.
13107 (vc-default-log-edit-mode): New function.
13108 (vc-checkin): Use a backend specific log-view-mode.
13109 Pass extra arguments to the checkin method.
13110 (vc-modify-change-comment): Pass a dummy extra argument.
13112 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
13114 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
13115 (vc-finish-logentry): Process the log buffer before passing it
13116 down. Pass log-edit-extra-flags.
13118 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
13120 (log-edit-extra-flags, log-edit-before-checkin-process):
13123 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
13125 (log-edit-extra-flags, log-edit-before-checkin-process):
13127 (vc-hg-log-edit-mode): New derived mode.
13129 * vc-arch.el (vc-arch-checkin):
13130 * vc-cvs.el (vc-cvs-checkin):
13131 * vc-git.el (vc-git-checkin):
13132 * vc-mtn.el (vc-mtn-checkin):
13133 * vc-rcs.el (vc-rcs-checkin):
13134 * vc-sccs.el (vc-sccs-checkin):
13135 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
13137 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13139 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
13142 2010-03-19 Glenn Morris <rgm@gnu.org>
13144 * password-cache.el (password-cache, password-cache-expiry): Autoload.
13146 2010-03-18 Glenn Morris <rgm@gnu.org>
13148 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
13150 * replace.el (query-replace-history): Give it a doc string.
13151 (map-query-replace-regexp): Use query-replace-from-history-variable
13152 and query-replace-to-history-variable.
13154 * mail/hashcash.el (declare-function): Remove duplicate definition.
13156 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13157 Make it an obsolete alias for report-emacs-bug-address.
13158 (message-strip-special-text-properties): Declare.
13159 (report-emacs-bug): Remove test for a pretest bug address.
13160 Combine message-mode-specific code.
13162 * mail/supercite.el: Don't require sendmail.
13163 (mh-in-header-p): Declare rather than using with-no-warnings.
13164 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13165 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13167 * calendar/cal-french.el: Convert to utf-8.
13169 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13172 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13174 * net/secrets.el (secrets-enabled): New variable. Use it instead
13177 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13179 * net/secrets.el (top): Register the D-Bus signals only when the
13180 service "org.freedesktop.secrets" can be pinged.
13181 Provide subfeature `enabled'.
13183 2010-03-14 Juri Linkov <juri@jurta.org>
13185 Add finder unknown keywords.
13187 * finder.el (finder-unknown-keywords): New function.
13189 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13190 to create a Finder node with unknown keywords.
13192 2010-03-14 Juri Linkov <juri@jurta.org>
13194 * finder.el (finder-compile-keywords): Replace `princ' with
13195 `prin1' on a list of symbols interned from keyword strings.
13197 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13198 a comma, then split keywords using a comma and optional whitespace.
13199 Otherwise, split by whitespace.
13207 * progmodes/mixal-mode.el: Fix keywords.
13209 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13211 * Makefile.in (ELCFILES): Add net/secrets.elc.
13213 * net/secrets.el: New file.
13215 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13217 * facemenu.el (list-colors-display, list-colors-print): New arg
13218 callback. Use it to allow selecting colors.
13220 * wid-edit.el (widget-image-insert): Insert image prop even if the
13221 current display is non-graphic.
13222 (widget-field-value-set): New fun.
13223 (editable-field): Use it.
13224 (widget-field-value-get): Clean up unused var.
13225 (widget-color-value-create, widget-color--choose-action):
13226 New funs. Allow using list-colors-display to choose color.
13228 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13230 * cus-edit.el: Resort topmost custom groups.
13231 (custom-buffer-sort-alphabetically): Default to t.
13232 (customize-apropos): Use apropos-parse-pattern.
13233 (custom-search-field): New var.
13234 (custom-buffer-create-internal): Add custom-apropos search field.
13235 (custom-add-parent-links): Don't display parent doc.
13236 (custom-group-value-create): Don't sort top-level custom group.
13237 (custom-magic-value-create): Show visibility button before option name.
13239 (custom-variable-state): New fun, from custom-variable-state-set.
13240 (custom-variable-state-set): Use it.
13241 (custom-group-value-create): Hide options with standard values
13242 using the :hidden-states property. Use progress reporter.
13244 (custom-show): Simplify.
13245 (custom-visibility): Disable images by default.
13246 (custom-variable): New property :hidden-states.
13247 (custom-variable-value-create): Enable images for
13248 custom-visibility widgets. Use :hidden-states property to
13249 determine initial visibility.
13251 * wid-edit.el (widget-image-find): Give images center ascent.
13252 (visibility): Add :on-image and :off-image properties.
13253 (widget-visibility-value-create): Use them.
13255 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13257 * cus-edit.el (processes): Remove from development group.
13258 (oop, hypermedia): Delete group.
13259 (comm): Promote to top-level group.
13261 * net/browse-url.el (browse-url):
13262 * net/xesam.el (xesam):
13263 * net/tramp.el (tramp):
13264 * net/goto-addr.el (goto-address):
13265 * net/ange-ftp.el (ange-ftp): Put in comm group.
13267 * view.el (view): Remove from editing group.
13269 * uniquify.el (uniquify): Put in files group.
13271 * net/browse-url.el (browse-url):
13272 * ps-print.el (postscript): Put in external group.
13274 * cus-edit.el (outlines):
13275 * textmodes/text-mode.el (text-mode-hook):
13276 * textmodes/table.el (table):
13277 * textmodes/picture.el (picture):
13278 * outline.el (outlines): Put in wp group.
13280 * nxml/nxml-mode.el (nxml): Remove from wp group.
13282 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13284 * mail/metamail.el (metamail): Remove from hypermedia group.
13286 * cus-edit.el (abbrev):
13287 * whitespace.el (whitespace):
13288 * vcursor.el (vcursor):
13289 * reveal.el (reveal):
13290 * hl-line.el (hl-line): Put in convenience group.
13292 * epg-config.el (epg): Put in data group.
13294 * emulation/pc-select.el (pc-select): Put in emulations group.
13296 * calculator.el (calculator): Put in applications group.
13298 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13300 Add .dir-locals.el support for file-less buffers.
13301 * files.el (hack-local-variables): Split out code to apply local
13302 variable settings ...
13303 (hack-local-variables-apply): ... here. New function.
13304 (hack-dir-local-variables): Use the default directory for when the
13305 buffer does not have an associated file.
13306 (hack-dir-local-variables-non-file-buffer): New function.
13307 * diff-mode.el (diff-mode):
13308 * vc-annotate.el (vc-annotate-mode):
13309 * vc-dir.el (vc-dir-mode):
13310 * log-edit.el (log-edit-mode):
13311 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13313 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13315 Add support for shelving snapshots and for showing shelves.
13316 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13317 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13319 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13320 (vc-bzr-extra-menu-map): Map them.
13322 2010-03-11 Glenn Morris <rgm@gnu.org>
13324 * cus-edit.el (customize-changed-options-previous-release):
13327 * image.el (image-animate-max-time): Fix :version tag.
13329 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13333 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13335 * vc-git.el (vc-git-revision-table): Include remote branches.
13337 2010-03-10 Kim F. Storm <storm@cua.dk>
13339 Animated image API.
13340 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13342 * image.el (image-animate-max-time): New defcustom.
13343 (image-animated-types): New defconst.
13344 (create-animated-image, image-animate-timer)
13345 (image-animate-start, image-animate-stop, image-animate-timeout)
13346 (image-animated-p): New functions.
13348 * image-mode.el (image-toggle-display-image):
13349 Replace `create-image' with `create-animated-image'.
13351 2010-03-09 Miles Bader <miles@gnu.org>
13353 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13354 instead of "format:"; this ensures that the output is
13355 newline-terminated.
13357 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13359 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13360 that all errors are caught, and that the return value is always a
13363 2010-03-08 Kenichi Handa <handa@m17n.org>
13365 * language/misc-lang.el (windows-1256): New coding system.
13366 (cp1256): New alias of windows-1256 (bug#5690).
13368 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13370 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13371 call to rfc822-bad-address. (Bug#5692)
13373 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13375 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13376 Use vc-git-root as default directory for revision path (Bug#5657).
13378 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13380 * calculator.el (calculator): Don't bind split-window-keep-point
13383 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13385 * vc-git.el: Re-flow to fit into 80 columns.
13386 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13387 Remove spurious `quote' element in each case alternative.
13388 (vc-git-show-log-entry): Use prog1.
13389 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13391 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13393 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13395 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13397 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13398 definition, not the name (Bug#5481).
13400 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13402 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13403 argument with a local variable. (Bug#5670)
13405 2010-03-02 Juri Linkov <juri@jurta.org>
13407 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13409 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13411 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13412 error when FILENAME and NEWNAME are existing remote directories.
13414 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13415 parameter DIR-FLAG.
13417 2010-03-02 Glenn Morris <rgm@gnu.org>
13419 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13420 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13422 2010-03-01 Kenichi Handa <handa@m17n.org>
13424 * language/burmese.el (burmese-composable-pattern): Rename from
13425 myanmar-composable-pattern.
13427 * international/characters.el (script-list):
13428 * international/fontset.el (script-representative-chars):
13429 Change myanmar to burmese.
13430 (otf-script-alist): Likewise.
13431 (setup-default-fontset): Likewise. Re-fix :otf spec.
13433 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13435 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13437 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13439 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13441 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13443 * net/tramp.el (tramp-handle-write-region): START can be a string.
13444 Take care in the checks. Reported by Dan Davison
13445 <davison@stats.ox.ac.uk>.
13447 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13449 * net/dbus.el (dbus-introspect, dbus-get-property)
13450 (dbus-set-property, dbus-get-all-properties):
13451 Use `dbus-call-method' when noninteractive. (Bug#5645)
13453 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13455 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13456 * emacs-lisp/elint.el (elint-add-required-env):
13457 * calendar/icalendar.el (icalendar--add-diary-entry):
13458 * calc/calcalg2.el (math-tracing-integral):
13459 * files.el (recover-session-finish): Use with-current-buffer
13460 instead of save-excursion.
13462 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13464 Fix in-buffer completion when after-change-functions modify the buffer.
13465 * minibuffer.el (completion--replace): New function.
13466 (completion--do-completion): Use it and use relative movement.
13468 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13470 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13472 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13474 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13475 Allow the characters _<> in the stack entry (Bug#5653).
13477 2010-02-26 Kenichi Handa <handa@m17n.org>
13479 * language/burmese.el: Fix entries in composition-function-table.
13480 (myanmar-composable-pattern): New variable.
13482 * international/fontset.el (setup-default-fontset): Add an entry
13485 * international/characters.el (script-list): Add Myanmar
13488 2010-02-26 Glenn Morris <rgm@gnu.org>
13490 * custom.el (custom-initialize-delay): Doc fix.
13492 * mail/sendmail.el (send-mail-function): Autoload the call
13493 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13495 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13497 * files.el (hack-local-variables-filter): For eval forms, also
13498 check safe-local-variable-p (Bug#5636).
13500 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13502 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13503 setting the modes by `ignore-errors'. It might fail, for example
13504 if the file is not owned by the user but the group.
13505 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13507 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13509 * files.el (directory-listing-before-filename-regexp):
13510 Use stricter matching for iso-style dates, to avoid false matches with
13511 date-like filenames (Bug#5597).
13513 * htmlfontify.el (htmlfontify): Doc fix.
13515 * eshell/eshell.el (eshell): Doc fix.
13517 * startup.el (fancy-about-screen): In mode-line, apply
13518 mode-line-buffer-id face only to the buffer name (Bug#5613).
13520 2010-02-20 Kevin Ryde <user42@zip.com.au>
13522 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13523 In `watcom' anchor regexp to start of line, to avoid slowness
13526 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13528 * subr.el (remove-yank-excluded-properties): Explain in a comment
13529 why `category' property is removed.
13531 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13533 * isearch.el (isearch-update-post-hook, isearch-update):
13534 Revert 2010-02-17 change.
13536 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13538 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13539 (icalendar--convert-weekly-to-ical)
13540 (icalendar--convert-yearly-to-ical)
13541 (icalendar--convert-block-to-ical)
13542 (icalendar--convert-cyclic-to-ical)
13543 (icalendar--convert-anniversary-to-ical): Take care of time
13544 specifications where hour has 1-digit only (Bug#5549).
13546 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13548 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13549 of disassemble output in GDB 7.1.
13551 2010-02-19 Glenn Morris <rgm@gnu.org>
13553 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13554 property. (Bug#5593)
13556 2010-02-18 Sam Steingold <sds@gnu.org>
13558 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13560 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13562 Use abbreviated file names in bookmarks (bug#5591).
13563 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13564 calls to expand-file-name.
13565 (bookmark-relocate): Use abbreviated file names in bookmarks.
13566 (bookmark-load): Use abbreviated file names in messages.
13568 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13570 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13571 expand "." and "..". Reported by Thierry Volpiatto
13572 <thierry.volpiatto@gmail.com>.
13574 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13576 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13577 permissions of the temporary file to "0600". In case the remote
13578 file has no read permissions for the owner, there might be
13579 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13581 22010-02-18 Glenn Morris <rgm@gnu.org>
13583 * emacs-lisp/authors.el (authors-renamed-files-alist):
13584 Add entries for INSTALL.CVS.
13586 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13588 * vc-bzr.el: Fix typo in Known Bugs section.
13590 * isearch.el (isearch-update-post-hook): New hook.
13591 (isearch-update): Use the new hook.
13593 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13595 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13596 Fix errors in copying directories.
13597 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13598 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13599 (tramp-handle-delete-file)
13600 (tramp-handle-dired-recursive-delete-directory)
13601 (tramp-handle-write-region): Flush also the cache for the upper
13604 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13606 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13608 * cus-edit.el (hardware): Doc fix.
13610 * man.el (man): Add to external custom group.
13612 * delim-col.el (columns): Move to wp custom group.
13614 * doc-view.el (doc-view): Add to data custom group.
13616 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13618 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13619 by ispell-parse-output (Bug#5575).
13621 2010-02-16 Kenichi Handa <handa@m17n.org>
13623 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13624 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13625 (skkdic-convert): Use `euc-japan' coding system for writing.
13627 2010-02-16 Glenn Morris <rgm@gnu.org>
13629 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13630 tex-main-file before using it. (Bug#5562)
13632 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13634 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13635 warnings, since it is annoying for the user to see them each time he
13638 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13640 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13641 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13642 instead of PROC for caching "first-password-request". Otherwise,
13643 new processes would not profit from passwords already entered.
13645 * net/tramp-cache.el (tramp-dump-connection-properties):
13646 Don't save "first-password-request" property.
13648 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13650 * outline.el (outline-head-from-level):
13651 * simple.el (with-wrapper-hook):
13652 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13653 (elint-defun, elint-buffer-env, elint-top-form-logged)
13654 (elint-unbound-variable):
13655 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13656 Fix typos in docstrings.
13658 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13660 * files.el (insert-directory): When WILDCARD-REGEXP and
13661 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13662 whole directory. (Bug#5551)
13664 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13665 dired's alignment sanity. (Bug#5516)
13667 2010-02-14 Juri Linkov <juri@jurta.org>
13669 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13670 Remove remaining ^H with their preceding chars. (Bug#5566)
13672 2010-02-13 Glenn Morris <rgm@gnu.org>
13674 * simple.el (transpose-subr): Give it a doc-string.
13676 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13679 2010-02-12 Juri Linkov <juri@jurta.org>
13681 * arc-mode.el (archive-unique-fname): Make directories for nested
13682 archives. (Bug#5540)
13684 2010-02-12 Juri Linkov <juri@jurta.org>
13686 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13688 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13690 * subr.el (copy-overlay): Handle deleted overlays.
13692 * man.el (Man-completion-table): Don't signal an error if we can't run
13693 manual-program (bug#4056).
13695 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13697 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13699 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13701 * info.el (Info-bookmark-jump): Simplify.
13703 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13704 (bookmark-default-handler): Accept new bookmark field `buffer'.
13706 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13708 * iswitchb.el (iswitchb-completions): Revert last change.
13710 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13712 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13713 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13714 This prevents file names like "~/" being listed literally.
13716 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13718 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13719 Remove dead code. (Bug#5546)
13721 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13723 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13724 correctly (Bug#5548).
13726 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13728 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13729 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13731 2010-02-08 Kenichi Handa <handa@m17n.org>
13733 * international/mule-util.el (with-coding-priority): Add autoload
13734 cookie for putting `lisp-indent-function'.
13736 2010-02-07 Glenn Morris <rgm@gnu.org>
13738 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13739 Move F2003 named interfaces from keywords-2 to keywords-1, and
13740 use function-name-face rather than constant-face.
13741 Simplify "abstract interface" regexp.
13743 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13745 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13746 ID-FORMAT. Pass it to `file-attributes'.
13748 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13750 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13752 * faces.el (set-face-attribute): Allow calling
13753 internal-set-lisp-face-attribute with 'unspecified family and
13754 foundry argument (Bug#5536).
13756 2010-02-07 Glenn Morris <rgm@gnu.org>
13758 * progmodes/f90.el (f90-font-lock-keywords-2)
13759 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13760 Handle F2003 named interfaces.
13762 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13764 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13765 beg and end before calling c-get-state-before-change-functions.
13767 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13769 * vc-bzr.el (vc-bzr-dir-extra-headers):
13770 Disable the pending merges header.
13772 2010-02-05 Juri Linkov <juri@jurta.org>
13774 * doc-view.el (doc-view-mode):
13775 * image-mode.el (image-mode): Put property mode-class=special.
13778 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13780 * vc-svn.el (vc-svn-revision-table): New function.
13782 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13784 * net/ange-ftp.el (ange-ftp-insert-directory):
13785 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13786 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13787 Handle also directories. (Bug#5478)
13789 2010-02-05 Glenn Morris <rgm@gnu.org>
13791 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13793 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13795 * startup.el (command-line-1): Convert options beginning with a
13796 single dash as well (Bug#5519).
13798 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13800 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13801 * minibuffer.el (completion-initials-expand): Only check the presence
13802 of delims *within* the boundaries, since otherwise the / delim is
13803 always found for files.
13805 Fix up various corner case problems.
13806 * doc-view.el (doc-view-last-page-number): New function.
13807 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13808 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13809 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13810 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13811 (doc-view-convert-current-doc): Don't create the resolution.el file
13813 (doc-view-pdf/ps->png): Do it here instead.
13814 (doc-view-already-converted-p): Check that resolution.el is present.
13815 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13816 windows that are not yet showing images.
13818 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13820 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13821 `dired-uncache' for every elemnt which is an absolute file name.
13823 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13824 directory, handle its directory component.
13825 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13826 function is called permanently and creates noise, otherwise.
13828 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13829 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13830 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13832 2010-02-04 David Burger <dburger@google.com> (tiny change)
13834 * macros.el (apply-macro-to-region-lines):
13835 Minor simplification. (Bug#5485)
13837 2010-02-04 Glenn Morris <rgm@gnu.org>
13839 * mail/rmail.el (rmail-show-message-1): Handle malformed
13840 quoted-printable text. (Bug#5441)
13842 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13844 * simple.el (visual-line-mode): Capitalize lighter.
13846 2010-02-03 John Wiegley <jwiegley@gmail.com>
13848 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13849 list of files considered for "virtual buffer" completions.
13851 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13853 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13854 also in case of (and (not full) (not wildcard)). This is needed
13855 when dired is called with a list of files, which are not in
13856 `default-directory'. (Bug#5478)
13858 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13860 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13862 2010-02-02 Juri Linkov <juri@jurta.org>
13864 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13865 from unidiff to allow function-line after @@.
13867 2010-02-02 Juri Linkov <juri@jurta.org>
13869 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13870 '(RCS SCCS) with inverted condition.
13872 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13874 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13877 2010-02-01 Juri Linkov <juri@jurta.org>
13879 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13880 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13881 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13882 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13884 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13886 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13887 (doc-view-revert-buffer): New command.
13888 (doc-view-mode-map): Use it.
13890 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13892 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13893 pending merge is detected.
13895 2010-01-31 Juri Linkov <juri@jurta.org>
13897 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13898 beginning of interactive spec like all other grep commands do.
13899 Put "all" in front of "gz". (Bug#5260)
13901 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13903 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13905 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13907 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13908 regexp is incorrect (Bug#5476).
13910 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13912 * net/tramp.el (tramp-handle-insert-directory): Handle also
13913 symlinks, when FILENAME is not in `default-directory'.
13915 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13917 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13918 FILE is not in `default-directory'. (Bug#5478)
13920 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13921 of SWITCHES. Handle the case, FILENAME is not in
13922 `default-directory'. (Bug#5478)
13923 (tramp-register-file-name-handlers): Add safe-magic property.
13925 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13927 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13930 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13932 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13933 (flymake-master-make-header-init): Add other C++ filename masks.
13934 (flymake-find-possible-master-files)
13935 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13937 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13939 Fix some busybox annoyances.
13941 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13942 not responding." string.
13943 (tramp-open-connection-setup-interactive-shell): Dump stty
13944 settings. Enable "neveropen" arg for all `tramp-send-command'
13945 calls. Handle "=" in variable values properly.
13946 (tramp-find-inline-encoding): Raise an error, when no encoding is
13948 (tramp-wait-for-output): Check, whether PROC buffer is available.
13949 Remove spurious " ^H" sequences, sent by busybox.
13950 (tramp-get-ls-command): Suppress coloring, if possible.
13952 2010-01-28 Glenn Morris <rgm@gnu.org>
13954 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13956 * log-edit.el (log-edit-strip-single-file-name): Add missing
13957 :safe, :group, and :version tags.
13959 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13961 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13962 buffers. (Bug#5477)
13964 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13966 * files.el (delete-directory): Handle moving to trash without
13967 first doing recursion (Bug#5436).
13969 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13971 * vc-hooks.el (vc-path): Mark as obsolete.
13973 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13975 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13978 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13980 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13982 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13984 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13986 * vc-bzr.el (vc-bzr-revision-table): New function.
13988 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13990 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13991 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13993 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13995 Remove support for adding --signoff on commit.
13996 Future support will use an incompatible generic mechanism.
13997 * vc-git.el (vc-git-add-signoff): Remove variable.
13998 (vc-git-toggle-signoff): Remove function.
13999 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
14001 * term/xterm.el (xterm-maybe-set-dark-background-mode):
14002 Rename from xterm-set-background-mode. Return t if the background mode
14004 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
14005 earlier, call it again in case the background mode has changed.
14007 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
14009 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
14012 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
14014 * emacs-lisp/assoc.el (aelement): Doc fix.
14015 (aput, adelete, amake): Use lexical-let (Bug#5450).
14017 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
14019 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
14020 is the same as subprogram call, not declaration. (Bug#5435).
14022 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
14024 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
14025 (tramp-smb-maybe-open-connection): Use it.
14027 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
14029 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
14031 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
14033 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
14034 just because we see "encoding: 8bit".
14035 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
14037 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
14039 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
14041 2010-01-22 Eli Zaretskii <eliz@gnu.org>
14043 * jka-compr.el (jka-compr-load): If load-file is not in
14044 load-history, try its file-truename version. (bug#5447)
14046 2010-01-21 Alan Mackenzie <acm@muc.de>
14048 Fix a situation where deletion of a cpp construct throws an error.
14049 * progmodes/cc-engine.el (c-invalidate-state-cache):
14050 Before invoking c-with-all-but-one-cpps-commented-out, check that the
14051 special cpp construct is still in the buffer.
14052 (c-parse-state): Record the special cpp with markers, not numbers.
14054 2010-01-21 Kenichi Handa <handa@m17n.org>
14056 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
14057 process last-command-event, as it is now decoded first (Bug#5380).
14059 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
14061 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
14063 2010-01-20 Glenn Morris <rgm@gnu.org>
14065 * indent.el (tab-always-indent): Fix custom-type.
14067 2010-01-19 Alan Mackenzie <acm@muc.de>
14069 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
14070 buffer throws "args out of range".
14071 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
14072 playing the role of delimiter.
14074 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
14076 * progmodes/ada-mode.el: Fix bug#5400.
14077 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
14078 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
14079 changed. Delete RECURSIVE parameter; never used. Improve doc string.
14080 Improve comments in "is" portion. Handle null procedure declaration.
14081 (ada-move-to-end): Improve doc string.
14083 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
14085 * ido.el (ido-cur-list): Initialize to nil.
14086 Remove obsolete information from commentary.
14087 (ido-choice-list): Initialize to nil.
14088 (ido-get-bufname): Reject minibuffers.
14089 (ido-make-buffer-list): If "default" is a nonexistent
14090 buffer, ignore it, as per the function's comment.
14091 (ido-kill-buffer-internal): New function.
14092 (ido-kill-buffer-at-head): Use it.
14093 (ido-visit-buffer): Likewise.
14095 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
14097 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
14099 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
14101 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
14102 Fix typos in chart titles.
14104 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
14105 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
14106 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
14107 (describe-class, eieio-describe-generic, describe-generic):
14108 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
14109 (eieio-speedbar-expand):
14110 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14111 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
14112 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
14113 (viper-del-backward-char-in-replace, viper-backward-indent)
14114 (viper-brac-function, viper-register-to-point, viper-submit-report):
14115 * net/tramp.el (tramp-remote-coding-commands):
14116 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
14117 Fix typos in docstrings.
14119 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
14121 * mail/sendmail.el (mail-yank-original): Set the mark if the
14122 specified function for yanking does not do it.
14124 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
14126 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
14128 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
14129 resyncing a directory.
14131 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
14133 * progmodes/ada-mode.el: Fix bug#1920.
14134 (ada-ident-re): Delete ., allow multibyte characters.
14135 (ada-goto-label-re): New; matches goto labels.
14136 (ada-block-label-re): New; matches block labels.
14137 (ada-label-re): New; matches both.
14138 (ada-named-block-re): Delete; callers changed to use
14139 `ada-block-label-re' instead.
14140 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
14141 Use `ada-block-label-re'.
14142 (ada-indent-on-previous-lines): Improve handling of goto labels.
14143 (ada-get-indent-block-start): Special-case block label.
14144 (ada-get-indent-label): Split into `ada-indent-block-label' and
14145 `ada-indent-goto-label'.
14146 (ada-goto-stmt-start, ada-goto-next-non-ws):
14147 Optionally ignore goto labels.
14148 (ada-goto-next-word): Simplify.
14149 (ada-indent-newline-indent-conditional): Insert newline before
14150 trying to fix indentation; doc fix.
14152 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
14154 * calc/calc.el (calc-command-flags): Give it an initial value.
14156 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
14158 * files.el (minibuffer-with-setup-hook):
14159 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14160 (artist-key-draw-continously, artist-key-do-continously-continously)
14161 (artist-key-set-point-continously, artist-mouse-draw-continously):
14162 Fix typos in docstrings.
14164 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14166 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14167 Never return t (Bug#3898).
14169 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14171 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14172 can parse the output of the external commands (Bug#5279).
14174 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14176 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14178 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14180 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14182 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14184 * startup.el (command-line): Remove unused --icon-type arg.
14185 Handle --display arg, passing it to command-line-1 (Bug#5392).
14187 2010-01-16 Mario Lang <mlang@delysid.org>
14189 * emacs-lisp/chart.el (chart-translate-namezone):
14190 * textmodes/artist.el (artist-compute-popup-menu-table):
14191 Remove duplicated words in doc-strings.
14193 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14195 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14196 to mairix-search to suppress threading (Bug#5342).
14198 2010-01-15 Kenichi Handa <handa@m17n.org>
14200 * international/mule-cmds.el (canonicalize-coding-system-name):
14201 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14203 2010-01-15 Glenn Morris <rgm@gnu.org>
14205 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14207 * wid-edit.el (widget-keymap): Doc fix.
14209 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14210 former seems to be more widely accepted by various svn versions.
14212 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14214 * find-cmd.el (find-constituents):
14215 * vc-arch.el (vc-arch-root):
14216 * window.el (window-body-height, pop-up-frames):
14217 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14218 * progmodes/ada-stmt.el (ada-if):
14219 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14220 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14221 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14222 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14224 * progmodes/flymake.el (flymake-post-syntax-check):
14225 Fix typo in error message.
14227 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14229 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14230 which is always a string. (Bug#5313)
14232 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14234 * progmodes/ada-xref.el (ada-default-prj-properties):
14235 Simplify previous change.
14237 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14239 * progmodes/ada-xref.el (ada-default-prj-properties):
14240 Default ada_project_path to $ADA_PROJECT_PATH.
14242 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14244 * progmodes/ada-mode.el (ada-create-keymap):
14245 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14247 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14249 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14250 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14251 (ada-get-current-indent, ada-imenu-generic-expression)
14252 (ada-which-function): Check for it.
14254 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14256 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14257 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14259 2010-01-14 Glenn Morris <rgm@gnu.org>
14261 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14263 2010-01-14 Kenichi Handa <handa@m17n.org>
14265 * composite.el (auto-composition-mode): Make it a buffer local
14266 variable (permanent-local).
14267 (auto-composition-function): Set the default value to
14268 auto-compose-chars.
14269 (auto-composition-mode): Make it a simple function, not a minor mode.
14270 (global-auto-composition-mode): Likewise.
14271 (turn-on-auto-composition-if-enabled): Delete it.
14273 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14275 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14277 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14279 * files.el (copy-directory): Compute target for recursive
14280 directories with identical names. (Bug#5343)
14282 2010-01-12 Glenn Morris <rgm@gnu.org>
14284 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14285 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14287 2010-01-11 Sam Steingold <sds@gnu.org>
14289 * imenu.el (imenu-default-create-index-function): Detect infinite
14290 loops caused by imenu-prev-index-position-function.
14292 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14294 * htmlfontify.el (htmlfontify-load-rgb-file)
14295 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14296 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14297 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14298 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14299 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14300 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14301 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14302 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14303 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14304 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14305 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14306 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14307 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14308 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14309 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14310 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14311 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14312 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14313 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14314 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14315 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14316 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14317 backslash-quoting from parentheses, etc.
14319 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14321 * progmodes/js.el: Autoload javascript-mode alias.
14323 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14325 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14326 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14327 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14328 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14329 Fix typos in docstrings.
14330 (ffap-url-regexp): Doc fix.
14331 (ffap-at-mouse): Fix typo in message.
14333 2010-01-11 Glenn Morris <rgm@gnu.org>
14335 * version.el (emacs-copyright): Set copyright year to 2010.
14337 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14339 * format.el (format-annotate-function): Only set
14340 write-region-post-annotation-function after running to-fn so as not to
14341 affect nested write-region calls (bug#5273).
14343 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14345 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14348 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14350 * man.el (Man-goto-section): Signal error if the section is not
14353 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14355 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14356 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14358 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14360 * progmodes/compile.el: Don't treat compile-command as safe if
14361 compilation-read-command might be nil (Bug#4218).
14363 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14365 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14368 2010-01-08 Kenichi Handa <handa@m17n.org>
14370 * international/fontset.el (build-default-fontset-data):
14371 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14373 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14375 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14376 to `create-file-buffer' as it expects, not just a buffer name.
14377 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14378 to help uniquify. (Bug#3224)
14380 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14382 * font-setting.el (font-setting-change-default-font): Use user-spec
14385 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14387 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14389 2010-01-05 Tom Tromey <tromey@redhat.com>
14391 * progmodes/python.el (python-font-lock-keywords):
14392 Handle qualified decorators (Bug#881).
14394 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14396 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14397 in a lightweight checkout.
14399 2010-01-05 Kenichi Handa <handa@m17n.org>
14401 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14403 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14405 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14407 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14409 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14410 checkouts. (Bug#618)
14411 (vc-bzr-log-view-mode): Also highlight the author.
14412 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14413 (vc-bzr-shelve-menu-map):
14414 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14415 (vc-bzr-shelve-apply): Make prompt more explicit.
14417 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14419 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14420 They are valid characters in URL paths (rfc3986), and at least
14421 Firefox does not understand the encoded version (Bug#3166).
14423 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14425 * progmodes/octave-mod.el (octave-end-keywords)
14426 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14427 Add "end" keyword (Bug#3061).
14428 (octave-end-as-array-index-p): New function.
14429 (calculate-octave-indent): Use it.
14431 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14433 * bookmark.el: Consistently put the text property on the bookmark name.
14434 (bookmark-bmenu-marks-width): Bump back to 2, to include
14436 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14437 property on the bookmark name, instead of not putting it at all.
14438 (bookmark-bmenu-list): Fix where we put the text property.
14440 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14442 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14443 for showing buffer modified state (as added in the previous change).
14445 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14447 * bookmark.el: Show modified state of bookmark buffer more accurately.
14448 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14449 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14450 (with-buffer-modified-unmodified): New macro.
14451 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14452 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14453 Use new macro to preserve the buffer modified state.
14455 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14457 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14458 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14459 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14460 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14461 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14462 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14463 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14465 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14467 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14468 Make the lines in the generated doc string shorter. (Bug#4668)
14470 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14472 * net/rcirc.el: Add follow-link binding (Bug#4738).
14474 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14476 * Makefile.in (bzr-update): Rename from cvs-update.
14477 (cvs-update): New target for backward compatibility.
14479 * makefile.w32-in (bzr-update): Rename from cvs-update.
14480 (cvs-update): New target for backward compatibility.
14482 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14484 * bookmark.el: Remove gratuitous gratitude.
14486 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14488 * bookmark.el (bookmark-bmenu-any-marks): New function.
14489 (bookmark-bmenu-save): Clear buffer modification if no marks.
14491 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14493 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14494 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14495 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14496 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14498 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14499 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14500 To: emacs-devel {_AT_} gnu.org
14501 Subject: bookmark.el bug report
14502 Date: Mon, 28 Dec 2009 14:19:16 +0800
14503 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14505 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14507 * bookmark.el: Improvements suggested by Drew Adams:
14508 (bookmark-bmenu-ensure-position): New name for
14509 `bookmark-bmenu-check-position'. Just ensure the position,
14510 don't return any meaningful value.
14511 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14514 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14516 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14517 (bookmark-yank-point, bookmark-bmenu-check-position):
14518 Fix typos in docstrings.
14519 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14520 (bookmark-name-from-full-record, bookmark-get-position)
14521 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14522 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14523 Remove useless quoting of parenthesis, etc. in docstrings.
14525 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14526 (ediff-append-custom-diff): Fix typo in error message.
14527 (ediff-meta-mark-equal-files): Fix typos in messages.
14529 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14531 * net/imap-hash.el (imap-hash-make): Doc fix.
14532 (imap-hash-test): Fix typo in error message; reflow docstring.
14533 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14534 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14535 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14536 Fix typos in docstrings.
14537 (imap-hash-open-connection): Fix typo in error message.
14539 * play/gomoku.el (gomoku): Fix typos in docstring.
14541 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14542 (gdb-jsonify-buffer): Fix typos in docstring.
14543 (gdb-goto-breakpoint): Fix typo in error message.
14544 ("Display Other Windows"): Fix typo in help message.
14545 (gdb-speedbar-expand-node): Fix typo in question.
14547 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14548 (idlwave-html-system-help-location, idlwave-html-help-location)
14549 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14550 (idlwave-help-browser-generic-args, idlwave-help-directory)
14551 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14552 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14553 (idlwave-online-help, idlwave-help-html-link)
14554 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14555 Fix typos in docstrings.
14556 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14558 (idlwave-help-assistant-start): Fix typo in error message.
14560 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14561 (octave-electric-space): Fix typos in docstrings.
14563 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14565 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14567 2010-01-01 Juri Linkov <juri@jurta.org>
14569 * comint.el (comint-input-ring-size): Make it a defcustom and
14570 increase the default to 500 (Bug#5148).
14572 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14574 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14575 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14576 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14578 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14580 Show working revision correctly for mercurial.
14581 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14582 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14584 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14586 Declare some functions for the byte-compiler.
14587 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14588 (speedbar-timer-fn, speedbar-change-expand-button-char)
14589 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14591 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14593 This changeset reverts GDB Graphical Interface to use annotations.
14594 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14596 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14598 Make vc-dir work on subdirectories of the bzr root.
14599 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14600 Return file names relative to it.
14601 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14602 relative directory to vc-bzr-after-dir-status.
14604 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14606 * font-lock.el (font-lock-refresh-defaults): New function, which
14607 can be used to let font-lock react to external changes in
14608 variables like font-lock-defaults and keywords.
14609 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14611 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14613 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14615 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14617 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14619 Supersede color.diff settings in git log (bug#5211).
14621 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14622 escape chars in its output when the user has color.diff set to `always'.
14623 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14625 2009-12-26 Kevin Ryde <user42@zip.com.au>
14627 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14628 node. Keep previous "Index" name to work with past coreutils too.
14630 * man.el (man): Revise docstring a bit to show -a and -l as
14631 examples. Add -k description since support for it has otherwise
14632 been a secret. (Further to bug#3717.)
14633 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14634 "no matches" rather than "Can't find manpage", as the latter reads
14635 like -k was interpreted as a page name, which is not so. (Bug#5431)
14637 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14639 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14640 switches. Check also for //SUBDIRED// line.
14642 2009-12-25 Kenichi Handa <handa@m17n.org>
14644 * language/indian.el (devanagari-composable-pattern): Fix to
14645 handle ZWNJ and ZWJ. Use it in composition-function-table for
14647 (malayalam-composable-pattern): Fix previous change.
14649 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14651 * ps-print.el (ps-face-attributes): It was not returning the
14652 attribute face for faces specified as string. Reported by harven
14653 <harven@free.fr>. (Bug#5254)
14654 (ps-print-version): New version 7.3.5.
14656 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14658 * calendar/icalendar.el (icalendar--convert-tz-offset):
14659 Fix timezone names.
14660 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14661 (icalendar--add-diary-entry): Remove the trailing blank that
14662 diary-make-entry inserts.
14664 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14666 Make `file-expand-wildcards' work for remote files.
14668 * files.el (file-expand-wildcards): In case of remote files, check
14669 only local file name part for wildcards. Provide feature 'files
14670 and subfeature 'remote-wildcards. (Bug#5198)
14672 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14673 if there is already an established connection.
14674 (tramp-advice-file-expand-wildcards): Remove it.
14676 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14677 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14678 Activate advice for older GNU Emacs versions. (Bug#5237)
14680 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14682 Some doc fixes (more needed).
14684 * find-cmd.el (find-constituents): Reflow docstring.
14685 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14686 (find-generic): Doc fix.
14688 2009-12-17 Juri Linkov <juri@jurta.org>
14690 Fix regression from 23.1 to allow multiple modes in Local Variables.
14692 * files.el (hack-local-variables-filter): While ignoring duplicates,
14693 don't take `mode' into account.
14694 (hack-local-variables-filter, hack-dir-local-variables):
14695 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14697 2009-12-17 Juri Linkov <juri@jurta.org>
14699 Make `dired-diff' safer. (Bug#5225)
14701 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14702 `current' or when `file' is a directory of the `current' file.
14704 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14706 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14707 unconditionally preloaded files.
14709 2009-12-16 Juri Linkov <juri@jurta.org>
14711 Revert to old 23.1 logic of using the file at the mark as default.
14712 * dired-aux.el (dired-diff): Use the file at the mark as default
14713 if it's not the same as the current file, and the target dir is
14714 the current dir or the mark is active. Add the current file
14715 as the arg of `dired-dwim-target-defaults'. Use the default file
14716 in the prompt. (Bug#5225)
14718 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14720 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14721 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14722 (tramp-check-for-regexp): Check also, when an echoing shell stops
14723 to echo sent commands.
14725 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14727 * Makefile.in: Revert last change (Bug#5191).
14729 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14731 * vc-hg.el (vc-hg-print-log): Fix argument order.
14732 (vc-hg-working-revision): Make sure the command is executed in a
14733 known environment so that we can parse the output. (Bug#4417)
14735 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14737 * progmodes/python.el (python-symbol-completions): Remove text
14738 properties from symbol string before calling python-send-receive.
14740 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14742 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14743 when there are values for both file and line. (Bug#5060)
14745 2009-12-14 Juri Linkov <juri@jurta.org>
14747 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14748 whitespace after the file name of the first line of unified format,
14749 because git-diff doesn't output whitespace and file modification time
14750 after the file name.
14752 2009-12-14 David Kastrup <dak@gnu.org>
14754 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14755 check if it already has the `display' property added by
14756 `Info-display-images-node', and not put the `invisible' property
14759 2009-12-13 Glenn Morris <rgm@gnu.org>
14761 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14762 (report-emacs-bug): In message-mode, sort manually before storing
14763 original report text. (Bug#5178)
14764 Remove superfluous save-excursion.
14766 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14768 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14769 when responding to "GetAll" properties.
14771 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14773 * simple.el (compose-mail): Remove mail-setup-with-from from
14774 customization checks.
14776 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14778 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14779 RAR archives created on Unix systems.
14781 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14783 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14784 the varalias that was accidentally removed by the 2009-11-19 change
14787 2009-12-12 Kenichi Handa <handa@m17n.org>
14789 * language/indian.el (indian-compose-regexp): New function.
14790 (malayalam-composable-pattern): Fix the pattern.
14791 (composition-function-table): Set malayalam-composable-pattern for
14792 Malayalam characters.
14794 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14796 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14797 rather than down-mouse-1, based on follow-link conventions.
14799 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14802 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14804 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14805 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14806 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14807 (verilog-leap-to-head, verilog-backward-token):
14808 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14810 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14812 * progmodes/verilog-mode.el (verilog-auto-lineup)
14813 (verilog-nameable-item-re): Cleanup user-visible spelling and
14814 documentation errors. One reported by Gary Delp.
14815 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14816 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14817 package, bug195. Reported by Pierre-David Pfister.
14819 2009-12-11 Glenn Morris <rgm@gnu.org>
14821 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14823 * mail/emacsbug.el: No longer require sendmail.
14824 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14825 (report-emacs-bug-orig-text): Doc fix.
14826 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14827 New local variables, to adapt to different mail-user-agents.
14828 (report-emacs-bug): Fix test for a gnu.org address.
14829 Use overlays for emphasis, since font-lock defeats 'face property.
14830 Pretest bugs also end up at the newsgroup these days.
14831 Stop message-mode stripping text properties.
14832 Set and use the new buffer-local variables.
14833 (report-emacs-bug-hook): Add doc-string.
14834 Remove some unnecessary save-excursions and simplify.
14835 Use the appropriate hook and send-command.
14837 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14838 capitalization of some menu entries.
14840 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14842 * whitespace.el (whitespace-display-char-on):
14843 Ensure `buffer-display-table' is unique when two or more windows are
14844 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14847 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14849 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14850 characters in the Attribute field.
14852 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14854 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14856 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14858 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14859 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14860 Disregard autoload-excludes.
14861 (update-directory-autoloads): Obey autoload-excludes here instead.
14862 But don't store its contents in no-autoloads and remove entries that
14863 refer to excludes files.
14865 2009-12-10 Glenn Morris <rgm@gnu.org>
14867 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14868 (expand-mail-aliases): Define for compiler.
14870 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14871 Define for compiler.
14873 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14874 appropriate for the mail-user-agent in use.
14876 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14878 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14880 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14882 Fix short log parsing and fontification.
14883 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14884 Fix fontification for the [merge] label.
14886 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14888 Drop some properties to avoid surprises (bug#5002).
14889 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14890 (hfy-fontify-buffer): Use it.
14892 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14895 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14896 Adjust all callers.
14897 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14898 args compulsory. Adjust callers.
14899 (ffap-gopher-at-point): Remove unused var `name'.
14901 Get rid of the ELCFILES abomination.
14902 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14903 (compile-elcfiles): New phony target.
14904 (compile-main): Compute ELCFILES dynamically.
14905 (compile-clean): New target to remove left-over elc files.
14906 (compile, all): Use it.
14908 2009-12-09 Kenichi Handa <handa@etlken>
14910 * international/mule-diag.el: Require help-mode instead of help-fns.
14912 2009-12-09 Kenichi Handa <handa@m17n.org>
14914 * international/mule-cmds.el (ucs-names): Supply sufficiently
14915 fine ranges instead of pre-calculating accurate ranges.
14916 Iterate with bigger gc-cons-threshold.
14918 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14920 Add support for stashing a snapshot of the current tree.
14921 * vc-git.el (vc-git-stash-snapshot): New function.
14922 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14924 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14926 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14927 instead of `(beginning|end)-of-line'.
14929 2009-12-08 Glenn Morris <rgm@gnu.org>
14931 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14933 * Makefile.in (ELCFILES): Regenerate.
14935 2009-12-07 Juri Linkov <juri@jurta.org>
14937 Don't lazy-highlight the comint output in history Isearch mode.
14939 * comint.el (comint-history-isearch-search): Instead of
14940 `comint-line-beginning-position', use `comint-after-pmark-p'
14941 to check if point if before the process mark, and go to
14942 `process-mark' in this case.
14944 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14946 * textmodes/tex-mode.el (latex-complete)
14947 (latex-indent-or-complete): Remove.
14948 (latex-mode): Set completion-at-point-functions instead.
14950 Provide a standard completion command and hook it into TAB.
14951 * minibuffer.el (completion-at-point-functions): New var.
14952 (completion-at-point): New command.
14953 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14954 * progmodes/python.el (python-mode-map): Use completion-at-point.
14955 (python-completion-at-point): Rename from python-partial-symbol and
14956 adjust for use in completion-at-point-functions.
14957 (python-mode): Setup completion-at-point for Python completion.
14958 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14959 extracted from lisp-complete-symbol.
14960 (lisp-complete-symbol): Use it.
14961 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14962 setup completion-at-point for Elisp completion.
14963 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14964 Use completion-at-point.
14965 * ielm.el (ielm-map): Use completion-at-point.
14966 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14967 * progmodes/sym-comp.el: Move to...
14968 * obsolete/sym-comp.el: Move from progmodes.
14970 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14972 Prevent save-buffer in Rmail buffers from using the coding-system
14973 of the current message, and from clobbering the encoding mnemonics
14974 in the mode line (Bug#4623).
14976 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14978 (rmail-message-encoding): New variable.
14979 (rmail-write-region-annotate): Record the encoding of the current
14980 message in rmail-message-encoding.
14981 (rmail-after-save-hook): New function, restores the encoding of
14982 the current message after the message collection is saved.
14984 2009-12-07 Juri Linkov <juri@jurta.org>
14986 * progmodes/grep.el (grep-read-files): Use `completing-read'
14987 instead of `read-string'. Set its `collection' arg to
14988 `read-file-name-internal'. (Bug#4301)
14990 2009-12-07 Juri Linkov <juri@jurta.org>
14992 Correctly restore original Isearch point. (Bug#4994)
14994 * isearch.el (isearch-mode): Move `isearch-push-state' after
14995 `(run-hooks 'isearch-mode-hook)'.
14996 (isearch-cancel): When `isearch-push-state-function' is defined,
14997 let-bind `isearch-cmds' to the first state (the last element of
14998 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14999 function and restores the original point). Otherwise, move point
15000 to `isearch-opoint'.
15002 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15004 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
15005 chars that don't have names, so the table can be built much faster at
15008 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
15010 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
15011 change. Suggested by David Kastrup.
15013 * simple.el (compose-mail): Check for incompatibilities and warn.
15014 (compose-mail-user-agent-warnings): New option.
15016 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15018 Support showing a single log entry from vc-annotate.
15019 * vc.el (print-log): Add a new argument: START-REVISION.
15020 (vc-print-log-internal): Add a new optional argument and
15021 pass it to the backend.
15022 (vc-print-log, vc-print-root-log): Adjust callers.
15023 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
15024 buffer already displays the requested log entry, use it.
15025 Otherwise display only the log entry in question.
15026 * vc-svn.el (vc-svn-print-log):
15027 * vc-mtn.el (vc-mtn-print-log):
15028 * vc-hg.el (vc-hg-state):
15029 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
15030 (vc-git-show-log-entry): Return t on success.
15031 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
15032 (vc-bzr-show-log-entry): Return t on success.
15033 * vc-rcs.el (vc-rcs-print-log):
15034 * vc-sccs.el (vc-sccs-print-log):
15035 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
15037 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15039 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
15040 Add menus to the meta mode. (Bug#5043)
15042 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
15044 * ediff-init.el (ediff-event-key): Use event-to-character instead of
15047 * ediff.el (ediff-buffers-internal): Add unwind-protect.
15049 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
15051 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
15052 Berbain <raphael.berbain@gmail.com>.
15054 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
15056 (tramp-initial-end-of-output): New defconst.
15057 (tramp-methods, tramp-find-shell)
15058 (tramp-open-connection-setup-interactive-shell)
15059 (tramp-maybe-open-connection): Use it.
15060 (tramp-shell-prompt-pattern, tramp-wait-for-output):
15061 Handle existence of `#' and `$'.
15063 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
15064 Use `tramp-initial-end-of-output'.
15066 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15068 Get the background mode from the terminal for xterm, and set
15070 * term/xterm.el (xterm-set-background-mode): New function.
15071 (terminal-init-xterm): Use it in case xterm supports background
15072 color queries. Recompute faces after getting the background
15075 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
15077 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
15078 number comment back on its own line, for easier parsing.
15080 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15082 Make it work for non-file buffers (bug#5102).
15083 * doc-view.el (doc-view-current-cache-dir):
15084 Use doc-view-buffer-file-name rather than buffer-file-name.
15085 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
15087 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
15089 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
15090 author field is too short.
15092 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
15094 * vc-git.el (vc-git-print-log): Handle a limit argument.
15095 Display the short log in graph form and with labels.
15096 (vc-git-log-view-mode): Handle labels.
15098 Make vc-revert change VC state from 'added to 'unregistered.
15099 * vc-git.el (vc-git-revert): Call git reset first.
15101 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15103 * net/newst-backend.el, net/newst-plainview.el:
15104 * net/newst-reader.el, net/newst-ticker.el:
15105 * net/newst-treeview.el, net/newsticker.el:
15106 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
15108 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15110 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
15112 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
15113 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
15114 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
15115 Update annotation regexp.
15117 * simple.el (beginning-of-visual-line): Constrain to field
15118 boundaries (Bug#5106).
15120 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15122 * xml.el (xml-substitute-numeric-entities):
15123 Move newsticker--decode-numeric-entities in newst-backend.el to
15124 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15125 * net/newst-backend.el (newsticker--parse-generic-feed)
15126 (newsticker--parse-generic-items)
15127 (newsticker--decode-numeric-entities):
15128 Move newsticker--decode-numeric-entities in newst-backend.el to
15129 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15131 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
15133 * progmodes/js.el (js--js-not): Add null to the list of values.
15135 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15137 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
15139 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15141 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
15142 delimiter if it is at the end of the current line.
15143 (bibtex-generate-url-list): Fix docstring.
15145 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15147 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
15148 minibuffer's content with itself.
15149 Fold the confirm-after-completion case into the `confirm' case.
15150 (completion-pcm-word-delimiters): Add : and / to the delimiters.
15152 2009-12-06 Kevin Ryde <user42@zip.com.au>
15154 * ffap.el (ffap-rfc-path): Make this a defcustom since
15155 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
15157 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15158 manuals, similar to existing setup for help-mode. (Bug#3913.)
15160 2009-12-05 Juri Linkov <juri@jurta.org>
15162 Save and restore dired buffer's point positions too. (Bug#4880)
15164 * dired.el (dired-save-positions): Return in the first element
15165 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15167 (dired-restore-positions): First restore buffer's position.
15168 While restoring window's positions, check if window still displays
15169 the original buffer.
15171 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15173 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15176 * shell.el (shell): Require ansi-color (Bug#5113).
15178 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15180 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15182 2009-12-05 Alan Mackenzie <acm@muc.de>
15184 * progmodes/cc-mode.el (c-before-hack-hook)
15185 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15186 `c-file-style' to work again. This reversion restores the current
15187 software to its state in Emacs 23.1. (Bug#4146)
15189 2009-12-05 Kevin Ryde <user42@zip.com.au>
15191 * textmodes/sgml-mode.el (sgml-lexical-context):
15192 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15194 2009-12-05 Juri Linkov <juri@jurta.org>
15196 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15197 for virtual nodes. (Bug#4147)
15198 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15199 when moving from a virtual node.
15200 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15201 (Info-mode): Add `Info-virtual-index' to the docstring.
15203 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15205 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15206 track of the buffer position of the end of a BibTeX entry as this
15207 position may change during reformatting.
15208 (bibtex-format-entry): Remove whitespace before processing
15209 numerical fields so that we recognize the latter properly.
15210 (bibtex-reformat): Do not use push which changes the global value
15211 of bibtex-entry-format.
15212 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15213 (bibtex-field-re-init): Replace only space characters by regexp
15215 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15216 (bibtex-initialize): Also update bibtex-strings.
15217 (bibtex-kill-field): Preserve white space at end of entry.
15218 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15219 Update bibtex-reference-keys.
15221 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15223 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15224 point after a star, if that's the only place where modifications can
15227 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15229 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15232 2009-12-04 Juri Linkov <juri@jurta.org>
15234 * proced.el (proced): Call `(proced-update t)' to update process
15235 information instead of only running proced-post-display-hook.
15236 (proced-send-signal): Add a leading space to the buffer name
15237 " *Marked Processes*" to make this buffer ephemeral.
15239 2009-12-04 Juri Linkov <juri@jurta.org>
15241 * dired.el (dired-auto-revert-buffer): New defcustom.
15242 (dired-internal-noselect): Use it.
15244 2009-12-04 Juri Linkov <juri@jurta.org>
15246 Change roles of modes and functions in image-mode.el (Bug#5062).
15248 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15249 in `auto-mode-alist'.
15250 (image-mode-previous-major-mode): New variable.
15251 (image-minor-mode-map): Rename from `image-mode-text-map'.
15252 (image-mode): Move graceful error-handling code from
15253 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15254 (image-minor-mode): Remove all image-handling code.
15255 Replace `image-mode-text-map' with `image-minor-mode-map'.
15256 Check for `image-type' in mode-line format string.
15257 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15258 (image-mode-as-text): New function with most code from
15259 `image-mode-maybe'.
15260 (image-toggle-display-text): Move code that removes image
15261 properties from `image-toggle-display' to here.
15262 (image-toggle-display-image): New function with code that adds
15263 image properties copied from `image-toggle-display'.
15264 (image-toggle-display): Remove most code with leaving only code
15265 that toggles between `image-mode-as-text' and `image-mode'.
15267 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15269 * net/newst-treeview.el
15270 (newsticker--treeview-list-highlight-start): Restored call to
15271 save-excursion: Selected item was stuck.
15272 (newsticker--treeview-list-select): New.
15273 (newsticker--treeview-item-show-text)
15274 (newsticker--treeview-item-show)
15275 (newsticker--treeview-item-update): Use new
15276 newsticker-treeview-item-mode.
15277 (newsticker-treeview-update): Keep current item.
15278 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15279 (newsticker--treeview-first-feed): Doc change.
15280 (newsticker-treeview-list-menu)
15281 (newsticker-treeview-item-menu): Add menu entries.
15282 (newsticker-treeview-item-mode): New.
15284 * net/newst-backend.el (newsticker-customize): Delete other
15287 2009-12-04 Sam Steingold <sds@gnu.org>
15289 * log-view.el (log-view-mode-map): "q" calls quit-window,
15290 like in all the other non-self-insert buffers.
15292 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15295 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15296 key decoding rather than do it manually via last-input-event +
15298 (term-exec): Use delete-and-extract-region.
15299 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15300 (term-process-pager): Remove unused var `i'.
15301 (term-dynamic-simple-complete): Make obsolete.
15302 (serial-update-config-menu): Remove unused vars `y' and `str'.
15303 (term-update-mode-line): Remove unused var `temp'.
15305 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15307 Limit the number of log entries displayed by default.
15308 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15309 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15310 using a prefix argument.
15312 2009-12-03 Glenn Morris <rgm@gnu.org>
15314 * progmodes/idlwave.el (class): Restore still useful declaration.
15316 2009-12-03 Alan Mackenzie <acm@muc.de>
15318 Enhance `c-parse-state' to run efficiently in "brace deserts".
15320 * progmodes/cc-mode.el (c-basic-common-init):
15321 Call c-state-cache-init.
15322 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15323 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15324 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15326 * progmodes/cc-langs.el (c-before-font-lock-function):
15327 c-extend-and-neutralize-syntax-in-CPP has been renamed
15328 c-neutralize-syntax-in-and-mark-CPP.
15330 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15331 with `category' properties now, not `syntax-table' ones.
15333 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15334 enhanced (but slower) version of c-end-of-macro that won't land
15335 inside a literal or on another awkward character.
15336 (c-state-cache-too-far, c-state-cache-start)
15337 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15338 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15339 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15340 (c-state-min-scan-pos, c-state-brace-pair-desert)
15341 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15342 buffer local variables.
15343 (c-state-literal-at, c-state-lit-beg)
15344 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15345 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15346 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15347 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15348 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15349 (c-renarrow-state-cache)
15350 (c-append-lower-brace-pair-to-state-cache)
15351 (c-state-push-any-brace-pair, c-append-to-state-cache)
15352 (c-remove-stale-state-cache)
15353 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15354 (c-invalidate-state-cache-1, c-parse-state-1)
15355 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15356 (c-parse-state): Enhance and refactor.
15357 (c-debug-parse-state): Amend to deal with all the new variables.
15359 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15360 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15361 modify to use category text properties rather than syntax-table ones.
15362 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15363 to switch off/on the syntactic paren property of C++ template
15364 delimiters using the category property.
15365 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15366 template delims suppressed.
15367 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15368 New constant/macros which apply category properties to the start
15369 and end of preprocessor constructs.
15370 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15371 "comment out" the syntactic value of characters in preprocessor
15373 (c-with-cpps-commented-out)
15374 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15375 with characters in all or all but one preprocessor constructs
15378 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15380 * proced.el (proced-filter-alist): Use regexp-quote.
15382 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15385 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15386 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15387 arguments. Expand `default-directory'.
15389 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15390 the benefit of returning an expanded localname.
15391 (tramp-tramp-file-p): Handle the case NAME is not a string.
15393 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15395 Add support for bzr shelve/unshelve.
15396 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15397 (vc-bzr-extra-menu-map): New variables.
15398 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15399 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15400 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15401 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15402 (vc-bzr-dir-extra-headers): Display shelves.
15404 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15406 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15408 * textmodes/bibtex.el (bibtex-complete-internal):
15409 Use completion-in-region.
15410 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15412 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15414 Support applying stashes. Improve UI.
15415 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15416 (vc-git-stash-apply, vc-git-stash-pop)
15417 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15418 (vc-git-stash-menu): New functions.
15419 (vc-git-stash-menu-map): New variable.
15420 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15422 2009-12-03 Glenn Morris <rgm@gnu.org>
15424 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15425 (vc-print-log-internal): Fix previous change.
15426 (vc-revert): Correct pluralization.
15428 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15430 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15431 it to be an alist any more.
15432 (makefile-complete): Use completion-in-region.
15434 * progmodes/octave-mod.el (octave-complete-symbol):
15435 Use completion-in-region.
15438 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15439 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15440 (idlwave-complete-class): Don't quote lambda.
15441 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15442 (idlwave-mode-map): Move initialization into declaration.
15443 (idlwave-action-and-binding): Use backquotes.
15444 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15446 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15447 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15448 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15449 `parts', and `all-parts'.
15450 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15451 (idlwave-convert-xml-system-routine-info): Remove unused string
15453 (idlwave-display-user-catalog-widget): Use dolist.
15454 (idlwave-scanning-lib): Declare dynamically-scoped var.
15455 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15456 (completion-highlight-first-word-only): Declare to silence bytecomp.
15457 (idlwave-popup-select): Tighten scope of `resp'.
15458 (idlwave-find-struct-tag): Remove unused var `beg'.
15459 (idlwave-after-load-rinfo-hook): Declare.
15460 (idlwave-sintern-class-info): Remove unused var `taglist'.
15461 (idlwave-find-class-definition): Remove unused var `list'.
15462 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15463 (idlwave-what-module-find-class): Remove unused var `classes'.
15465 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15467 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15469 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15471 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15472 buffers visited. Remove redundant current-buffer-saving.
15474 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15476 Use completion-in-buffer and remove uses of dynamic scoping.
15477 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15478 (pascal-buffer-to-use, pascal-flag): Don't declare.
15479 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15480 (pascal-get-completion-decl, pascal-keyword-completion):
15481 Add `pascal-str' argument, save-excursion,
15482 return the found completions, and don't filter with pascal-pred.
15483 (pascal-completion-cache): New var.
15484 (pascal-completion): Don't switch buffer any more (it was never
15485 necessary). Don't save-excursion any more (it's done by the called
15486 subroutines). Use a cache to avoid redundant computations.
15487 Use complete-with-action rather than pascal-completion-response and
15488 let it apply the predicate as well.
15489 (pascal-complete-word): Use completion-in-buffer when
15490 pascal-toggle-completions is nil.
15491 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15493 (pascal-comp-defun): Don't change buffer any more.
15494 Use complete-with-action rather than pascal-completion-response and
15495 let it apply the predicate as well.
15496 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15499 2009-12-02 Kenichi Handa <handa@m17n.org>
15501 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15502 shape for all Indic scripts.
15504 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15506 Use completion-in-buffer.
15507 * wid-edit.el (widget-field-text-end): New function.
15508 (widget-field-value-get): Use it.
15509 (widget-string-complete, widget-file-complete)
15510 (widget-color-complete): Use it and completion-in-region.
15511 (widget-complete): Don't narrow the buffer.
15513 2009-12-02 Glenn Morris <rgm@gnu.org>
15515 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15516 (rmail-select-summary): Use rmail-pop-to-buffer.
15517 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15518 rmail-pop-to-buffer, to prevent horizontal splits.
15520 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15521 save-excursion with save-current-buffer.
15522 Widen before searching. (Bug#5093)
15523 (diary-list-sexp-entries): Remove superfluous save-excursion.
15525 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15527 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15530 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15532 * ido.el (ido-file-internal): Handle filenames at point that do
15533 not have a directory part. (Bug#5049)
15535 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15537 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15538 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15540 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15542 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15543 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15546 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15548 * comint.el (comint-insert-input): Ignore clicks to the right of
15549 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15551 * vc.el (vc-print-log-internal): Don't wait for the process to
15552 terminate before setting up the major mode.
15554 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15557 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15560 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15562 2009-12-01 Glenn Morris <rgm@gnu.org>
15564 * window.el (window--display-buffer-2): Fix previous changes.
15566 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15568 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15570 2009-12-01 Glenn Morris <rgm@gnu.org>
15572 * Makefile.in (ELCFILES): Add mpc.elc.
15574 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15576 * mpc.el: New file.
15578 2009-12-01 Glenn Morris <rgm@gnu.org>
15580 * window.el (window-to-use): Define for compiler.
15582 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15583 consistent with others (no final period).
15585 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15586 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15588 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15590 Make vc-print-log buttons work.
15591 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15593 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15595 * savehist.el (savehist-autosave-interval): Allow setting to nil
15596 through customize. (Bug#5056)
15598 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15600 Fix references to jit-lock properties.
15601 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15602 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15603 (perl-font-lock-special-syntactic-constructs):
15604 Quote jit-lock-defer-multiline property.
15606 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15608 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15610 2009-11-30 Juri Linkov <juri@jurta.org>
15612 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15613 value `buffer' of `multi-isearch-next-buffer-current-function'.
15614 Use `(current-buffer)' when `buffer' is nil.
15615 (multi-isearch-next-buffer-from-list): Don't fallback to
15616 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15618 2009-11-30 Juri Linkov <juri@jurta.org>
15620 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15621 of buffers with `get-buffer' to `multi-isearch-buffers'.
15622 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15623 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15624 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15625 FILES with `expand-file-name' converting relative file names
15626 to absolute. Doc fix. (Bug#4727)
15628 2009-11-30 Juri Linkov <juri@jurta.org>
15630 * misearch.el (multi-isearch-read-buffers)
15631 (multi-isearch-read-matching-buffers): New functions.
15632 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15633 Use them in the `interactive' spec. Doc fix.
15634 (multi-isearch-read-files, multi-isearch-read-matching-files):
15636 (multi-isearch-files, multi-isearch-files-regexp):
15637 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15639 2009-11-30 Juri Linkov <juri@jurta.org>
15641 * doc-view.el (doc-view-continuous):
15642 Rename from `doc-view-continuous-mode'.
15643 (doc-view-menu): Move "Toggle display" to the top.
15644 Add submenu "Continuous" with radio buttons "Off"/"On"
15645 and "Save as Default".
15646 (doc-view-scroll-up-or-next-page)
15647 (doc-view-scroll-down-or-previous-page)
15648 (doc-view-next-line-or-next-page)
15649 (doc-view-previous-line-or-previous-page):
15650 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15652 2009-11-30 Juri Linkov <juri@jurta.org>
15654 * comint.el (comint-mode-map): Rebind `M-r' from
15655 `comint-previous-matching-input' to
15656 `comint-history-isearch-backward-regexp'.
15657 Unbind `M-s' to allow global key binding `M-s'.
15658 Add menu items for `comint-history-isearch-backward' and
15659 `comint-history-isearch-backward-regexp'. (Bug#3746)
15661 2009-11-30 Juri Linkov <juri@jurta.org>
15663 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15664 For def=recenter, replace `recenter' with `recenter-top-bottom'
15665 that is called with `this-command' and `last-command' let-bound
15666 to `recenter-top-bottom'. When the last `def' was not `recenter',
15667 set `recenter-last-op' to nil. (Bug#4981)
15669 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15671 Minor cleanup and simplification.
15672 * filecache.el (file-cache-add-directory)
15673 (file-cache-add-directory-recursively)
15674 (file-cache-add-from-file-cache-buffer)
15675 (file-cache-delete-file-regexp, file-cache-delete-directory)
15676 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15677 (file-cache-temp-minibuffer-message): Delete function.
15678 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15680 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15681 Don't signal an error when bumping into EOB in tr, s, or y.
15683 2009-11-29 Juri Linkov <juri@jurta.org>
15685 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15688 * descr-text.el (describe-char-unidata-list): Use lowercase name
15689 for "Unicode name" like in other tags.
15691 2009-11-29 Juri Linkov <juri@jurta.org>
15693 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15694 New compatibility macro.
15695 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15697 2009-11-29 Juri Linkov <juri@jurta.org>
15699 Add defcustom to define the cycling order of `recenter-top-bottom'.
15702 * window.el (recenter-last-op): Doc fix.
15703 (recenter-positions): New defcustom.
15704 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15705 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15707 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15709 Improve integration of Tramp and ange-ftp in eshell.
15711 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15712 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15713 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15715 * eshell/esh-util.el (top): Require also Tramp when compiling.
15716 (eshell-directory-files-and-attributes): Check for FTP remote
15718 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15719 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15720 (eshell-file-attributes): Handle ".". Return `entry'.
15722 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15723 (ange-ftp-directory-files-and-attributes)
15724 (ange-ftp-real-directory-files-and-attributes): New defuns.
15726 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15727 shell with "exec" when possible. This prevents trailing prompts
15728 in `start-file-process'.
15730 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15732 Try and remove assumptions about point-min==1.
15733 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15734 (rng-compute-mode-line-string): Show the validation percentage in
15735 terms of the narrowed text, not the widened text.
15736 (rng-do-some-validation): Don't catch internal errors when debugging.
15737 (rng-first-error): Simplify.
15738 (rng-after-change-function): Remove work around. AFAIK the bug has
15739 been fixed a while ago.
15741 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15742 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15744 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15746 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15747 `cd' doesn't always do it for us (bug#5067).
15749 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15750 on 2009-10-25 as part of some other change (bug#5067).
15752 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15754 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15756 (byte-compile-warnings): Use byte-compile-warning-types.
15757 (byte-compile-save-excursion): Warn about use of set-buffer right
15758 after save-excursion.
15760 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15761 the excursion as well.
15763 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15765 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15766 providing a Tramp related implementation of "su" and "sudo".
15767 (eshell-unix-initialize): Add "su" and "sudo".
15769 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15771 * net/socks.el (socks-send-command): Convert binary request to
15772 unibyte before sending. This fixes mishandling of some port
15773 numbers such as 129.
15775 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15777 * help.el (describe-bindings-internal): Remove `interactive'.
15779 * man.el (Man-completion-table): Trim a terminating "(".
15780 Remove the space between name page a section.
15781 Add the command's description on the `help-echo' property.
15782 Remove `process-connection-type' binding since it's unused by
15784 Provide completion for the "<section> <name>" format as well.
15785 (Man-default-man-entry): Remove spurious var shadowing the argument.
15787 2009-11-26 Kevin Ryde <user42@zip.com.au>
15789 * log-view.el: Add "Keywords: tools", since its other keywords
15790 aren't in finder-known-keywords, and following vc.el.
15792 * sha1.el (sha1-string-external): default-directory "/" in case
15793 otherwise non-existent. process-connection-type pipe for touch of
15794 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15796 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15798 Misc coding convention cleanups.
15799 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15800 hfy-init-kludge-hooks.
15801 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15802 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15803 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15805 (hfy-slant, hfy-weight): Use tables rather than code.
15806 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15807 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15808 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15809 (hfy-face-to-css): Remove `nconc' with single arg.
15810 (hfy-p-to-face-lennart): Use `or'.
15811 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15812 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15813 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15814 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15815 (hfy-force-fontification): Use run-hooks.
15817 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15819 Various minor fixes.
15820 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15821 Javascript belongs in the header, not the body.
15822 (hfy-javascript): Remove.
15823 (hfy-fontify-buffer): Don't insert it any more.
15824 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15825 Fix bug in invis handling when there were no invis props in a chunk.
15827 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15829 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15831 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15833 * finder.el (finder-mode-map): Add a menu.
15835 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15837 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15838 "unsigned" structs.
15840 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15841 fork" statement better.
15843 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15845 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15846 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15847 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15848 Reported by Clay Douglass.
15850 (verilog-auto-inst, verilog-auto-star-safe)
15851 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15852 Fix removing "// Interfaces" when saving .* expansions.
15853 Reported by Pierre-David Pfister.
15855 2009-11-26 Glenn Morris <rgm@gnu.org>
15857 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15860 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15862 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15863 Really use previous revision.
15865 2009-11-25 Kevin Ryde <user42@zip.com.au>
15867 * man.el (Man-completion-table): default-directory "/" in case
15868 doesn't otherwise exist. process-environment COLUMNS=999 so as
15869 not to truncate long names. process-connection-type pipe to avoid
15870 any chance of hitting the pseudo-tty TIOCGWINSZ.
15871 (man): completion-ignore-case t for friendliness and since man
15872 itself is case-insensitive on the command line.
15873 Further to Bug#3717.
15875 * arc-mode.el: Add "Keywords: files", so the details in its
15876 commentary can be reached from finder-by-keyword.
15877 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15878 editing mode, but it's comms related and sgml-mode.el has "comm"
15880 * textmodes/bibtex-style.el: Add "Keywords: tex".
15881 * international/isearch-x.el, international/ja-dic-cnv.el:
15882 * international/ja-dic-utl.el, international/kkc.el:
15883 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15885 2009-11-25 Juri Linkov <juri@jurta.org>
15887 * man.el (Man-completion-table): Modify regexp to include
15888 section names to completion strings. (Bug#3717)
15890 2009-11-25 Juri Linkov <juri@jurta.org>
15892 Search recursively in gzipped files. (Bug#4982)
15894 * progmodes/grep.el (grep-highlight-matches): Add new options
15895 `always' and `auto'. Doc fix.
15896 (grep-process-setup): Check `grep-highlight-matches' for
15897 `auto-detect' to determine the need to compute grep defaults.
15898 Move Windows/DOS specific --colors settings handling
15899 to `grep-compute-defaults'. Check `grep-highlight-matches'
15900 to get the value of "--color=".
15901 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15902 has the value `auto-detect'. Move Windows/DOS specific settings
15903 from `grep-process-setup'.
15904 (zrgrep): New command with alias `rzgrep'.
15906 2009-11-25 Juri Linkov <juri@jurta.org>
15908 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15909 to nil instead of switching off view-mode. (Bug#4896)
15911 2009-11-25 Juri Linkov <juri@jurta.org>
15913 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15915 * mwheel.el (mwheel-scroll-up-function)
15916 (mwheel-scroll-down-function): New defvars.
15917 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15918 `scroll-up', and `mwheel-scroll-down-function' instead of
15921 * doc-view.el (doc-view-scroll-up-or-next-page)
15922 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15923 Use this ARG in the call to image-scroll-up/image-scroll-down.
15924 Change `interactive' spec to "P". Goto next/previous page only
15925 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15926 SPC/DEL case). Doc fix.
15927 (doc-view-next-line-or-next-page)
15928 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15930 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15931 `doc-view-scroll-up-or-next-page', and buffer-local
15932 `mwheel-scroll-down-function' to
15933 `doc-view-scroll-down-or-previous-page'.
15935 2009-11-25 Juri Linkov <juri@jurta.org>
15937 Provide additional default values (directories at other Dired
15938 windows) via M-n in the minibuffer of some Dired commands.
15940 * dired-aux.el (dired-diff, dired-compare-directories)
15941 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15942 `minibuffer-default' in `minibuffer-with-setup-hook'.
15943 (dired-dwim-target-directory): Find a window that displays Dired
15944 buffer instead of failing when the next window is not Dired.
15945 Use `get-window-with-predicate' to find for the next Dired window.
15946 (dired-dwim-target-defaults): New function.
15948 * ediff-util.el (ediff-read-file-name):
15949 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15950 in `minibuffer-with-setup-hook'.
15952 2009-11-25 Juri Linkov <juri@jurta.org>
15954 Provide additional default values (file name at point or at the
15955 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15957 * minibuffer.el (read-file-name-defaults): New function.
15958 (read-file-name): Reset `minibuffer-default' to nil when
15959 it duplicates initial input `insdef'.
15960 Bind `minibuffer-default-add-function' to lambda that
15961 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15962 (minibuffer-insert-file-name-at-point): New command.
15964 * files.el (file-name-at-point-functions): New defcustom.
15965 (find-file-default): Remove defvar.
15966 (find-file-read-args): Don't use `find-file-default'.
15967 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15968 to `read-file-name'.
15969 (find-file-literally): Use `read-file-name' with
15970 `confirm-nonexistent-file-or-buffer'.
15972 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15974 * dired.el (dired-read-dir-and-switches):
15975 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15976 to `read-file-name'.
15977 (dired-file-name-at-point): New function.
15978 (dired-mode): Add hook `dired-file-name-at-point' to
15979 `file-name-at-point-functions'.
15981 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15983 Really make the *Completions* window soft-dedicated (bug#5030).
15984 * window.el (window--display-buffer-2): Add `dedicated' argument.
15985 (display-buffer): Pass it when needed so the dedicated flag is set
15986 after calling set-window-buffer, which would otherwise reset it.
15988 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15990 * progmodes/meta-mode.el (meta-complete-symbol):
15991 * progmodes/etags.el (complete-tag):
15992 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15993 Use completion-in-region.
15995 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15996 (dabbrev-completion): Use completion-in-region.
15997 (dabbrev--abbrev-at-point): Simplify regexp.
15999 * abbrev.el (abbrev--before-point): Use word-motion functions
16000 if :regexp is not specified (bug#5031).
16002 * subr.el (string-prefix-p): New function.
16004 * man.el (Man-completion-cache): New var.
16005 (Man-completion-table): Use it.
16007 * vc.el (vc-print-log-internal): Make `limit' optional for better
16008 compatibility (e.g. with vc-annotate.el).
16010 2009-11-24 Kevin Ryde <user42@zip.com.au>
16012 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
16013 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
16015 * emacs-lisp/elint.el (elint-add-required-env): Better error message
16016 when .el source file not found or other error.
16018 2009-11-24 Markus Triska <markus.triska@gmx.at>
16020 * linum.el (linum-update-window): Ignore intangible (bug#4996).
16022 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16024 Handle the [back] button properly (bug#4979).
16025 * descr-text.el (describe-text-properties): Add a `buffer' argument.
16026 Use help-setup-xref, help-buffer, and with-help-window.
16027 (describe-char): Add `buffer' argument.
16028 Pass proper command to help-setup-xref. Don't meddle with
16029 help-xref-stack-item directly.
16030 (describe-text-category): Use with-help-window and help-buffer.
16032 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
16033 for the displayed buffer (bug#4887).
16035 * man.el (Man-completion-table): New function.
16038 2009-11-24 David Reitter <david.reitter@gmail.com>
16040 * vc-git.el (vc-git-registered): Use checkout directory (where
16041 .git is) rather than the file's directory and a relative path spec
16042 to work around a bug in git.
16044 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
16046 Improve handling of processes on remote hosts.
16048 * eshell/esh-util.el (eshell-path-env): New defvar.
16049 (eshell-parse-colon-path): New defun.
16050 (eshell-file-attributes): Use `eshell-parse-colon-path'.
16052 * eshell/esh-ext.el (eshell-search-path):
16053 Use `eshell-parse-colon-path'.
16054 (eshell-remote-command): Remove argument HANDLER.
16055 (eshell-external-command): Check for FTP remote connection.
16057 * eshell/esh-proc.el (eshell-gather-process-output):
16058 Use `file-truename', in order to start also symlinked files.
16059 Apply `start-file-process' instead of `start-process'.
16060 Shorten `command' to the local file name part.
16062 * eshell/em-cmpl.el (eshell-complete-commands-list):
16063 Use `eshell-parse-colon-path'.
16065 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
16067 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
16068 to `eshell-directory-change-hook'.
16070 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
16072 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
16073 because it could be enabled automatically if view-read-only is non-nil.
16075 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
16077 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
16078 made on 2009-11-22.
16080 2009-11-24 Glenn Morris <rgm@gnu.org>
16082 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
16083 deleted variable bookmark-bmenu-bookmark-column.
16085 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16087 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
16089 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
16091 * net/browse-url.el (browse-url-filename-alist): On Windows, add
16092 two slashes to the "file:" prefix.
16093 (browse-url-file-url): De-munge Cygwin filenames before passing
16094 them to Windows browser.
16095 (browse-url-default-windows-browser): Use call-process.
16097 2009-11-23 Juri Linkov <juri@jurta.org>
16099 Implement DocView Continuous mode. (Bug#4896)
16100 * doc-view.el (doc-view-continuous-mode): New defcustom.
16101 (doc-view-mode-map): Bind C-n/<down> to
16102 `doc-view-next-line-or-next-page', C-p/<up> to
16103 `doc-view-previous-line-or-previous-page'.
16104 (doc-view-next-line-or-next-page)
16105 (doc-view-previous-line-or-previous-page): New commands.
16107 2009-11-23 Juri Linkov <juri@jurta.org>
16109 Implement Isearch in comint input history. (Bug#3746)
16110 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
16111 `isearch-mode-hook'.
16112 (comint-history-isearch): New defcustom.
16113 (comint-history-isearch-backward)
16114 (comint-history-isearch-backward-regexp): New commands.
16115 (comint-history-isearch-message-overlay): New buffer-local variable.
16116 (comint-history-isearch-setup, comint-history-isearch-end)
16117 (comint-goto-input, comint-history-isearch-search)
16118 (comint-history-isearch-message, comint-history-isearch-wrap)
16119 (comint-history-isearch-push-state)
16120 (comint-history-isearch-pop-state): New functions.
16122 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
16124 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
16126 (tramp-handle-make-symbolic-link)
16127 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
16129 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
16130 (tramp-handle-process-file): Use it.
16132 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
16134 * window.el (move-to-window-line-last-op): Remove.
16135 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
16137 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
16139 Make M-r mirror the new cycling behavior of C-l.
16140 * window.el (move-to-window-line-last-op): New var.
16141 (move-to-window-line-top-bottom): New command.
16142 (global-map): Bind M-r move-to-window-line-top-bottom.
16144 2009-11-23 Sven Joachim <svenjoac@gmx.de>
16146 * dired-x.el (dired-guess-shell-alist-default):
16147 Support xz format. (Bug#4953)
16149 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
16151 * emulation/viper-cmd.el: Use viper-last-command-char instead of
16152 last-command-char/last-command-event.
16153 (viper-prefix-arg-value): Do correct conversion of event-char for
16156 * emulation/viper-util.el, emulation/viper.el:
16157 Use viper-last-command-char instead of
16158 last-command-char/last-command-event.
16160 * ediff-init.el, ediff-mult.el, ediff-util.el:
16161 Replace last-command-char and last-command-event
16162 with (ediff-last-command-char) everywhere.
16164 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16165 created in fundamental mode.
16167 * ediff.el (ediff-version): Revert the change of interactive-p to
16168 called-interactively-p.
16170 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16172 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16173 generation from word-movement command names.
16175 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16177 * cus-start.el (all): Add native condition for font-use-system-font.
16179 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16181 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16182 Correct the patch from 2009-11-18. (Bug#3910)
16184 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16186 * progmodes/subword.el: Rename from lisp/subword.el.
16188 * subword.el: Rename to progmodes/subword.el.
16190 * Makefile.in (ELCFILES): Adapt to subword.el move.
16192 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16193 Stefan Monnier <monnier@iro.umontreal.ca>
16195 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16196 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16197 (bookmark-bmenu-show-filenames): Use push.
16198 (bookmark-bmenu-hide-filenames): Use local var instead of
16199 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16200 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16201 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16202 filenames now that the bookmark names are always available.
16204 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16206 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16207 (bookmark-search-pattern): Move and leave unbound.
16208 (bookmark-bmenu-mode-map): Change binding.
16209 (bookmark-read-search-input): Simplify.
16210 Don't use text-char-description. Don't error on non-char events.
16211 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16212 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16213 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16214 Use a local var for the timer.
16215 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16216 (i.e. bookmark-bmenu-search).
16218 2009-11-21 Glenn Morris <rgm@gnu.org>
16220 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16222 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16224 * net/browse-url.el (browse-url-default-windows-browser):
16225 Use cygstart for cygwin.
16227 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16229 * bookmark.el: Formatting and doc fixes only:
16230 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16231 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16232 Minor grammar and punctuation fixes in doc string.
16233 (bookmark-read-search-input): Adjust to fit within 80 columns.
16235 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16237 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16238 (c-backward-into-nomenclature): Adapt to subword renaming.
16240 * subword.el (subword-forward, subword-backward, subword-mark)
16241 (subword-kill, subword-backward-kill, subword-transpose)
16242 (subword-downcase, subword-upcase, subword-capitalize)
16243 (subword-forward-internal, subword-backward-internal):
16244 Rename from forward-subword, backward-subword, mark-subword,
16245 kill-subword, backward-kill-subword, transpose-subwords,
16246 downcase-subword, upcase-subword, capitalize-subword,
16247 forward-subword-internal, backward-subword-internal.
16249 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16251 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16253 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16255 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16256 (bookmark-bmenu-filter-alist-by-regexp)
16257 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16258 (bookmark-bmenu-search): New command.
16259 (bookmark-bmenu-mode-map): Bind it.
16261 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16263 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16264 backward-subword to quit the byte-compiler.
16266 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16268 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16270 * progmodes/cc-cmds.el (c-update-modeline)
16271 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16272 Refer to subword.el functions instead of cc-subword.el.
16274 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16275 subword.el functions instead of cc-subword.el.
16277 * progmodes/cc-subword.el: Rename to subword.el.
16278 * subword.el: Rename from progmodes/cc-subword.el.
16279 (subword-mode-map): Rename from c-subword-mode-map.
16280 (subword-mode): Rename from c-subword-mode.
16281 (global-subword-mode): New global minor mode.
16282 (forward-subword): Rename from c-forward-subword.
16283 (backward-subword): Rename from c-backward-subword.
16284 (mark-subword): Rename from c-mark-subword.
16285 (kill-subword): Rename from c-kill-subword.
16286 (backward-kill-subword): Rename from c-backward-kill-subword.
16287 (transpose-subwords): Rename from c-tranpose-subword.
16288 (downcase-subword): Rename from c-downcase-subword.
16289 (capitalize-subword): Rename from c-capitalize-subword.
16290 (forward-subword-internal): Rename from c-forward-subword-internal.
16291 (backward-subword-internal): Rename from c-backward-subword-internal.
16293 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16295 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16296 from a dired buffer.
16297 (vc-dired-deduce-fileset): New function.
16298 (vc-root-diff, vc-print-root-log): Use it.
16300 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16301 nil LIMIT argument to vc-print-log-internal.
16303 2009-11-20 Glenn Morris <rgm@gnu.org>
16305 * Makefile.in (ELCFILES): Regenerate.
16307 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16309 * calc/calc.el (calc-set-mode-line):
16310 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16311 (math-format-number): Rename `math-format-complement-signed' to
16312 `math-format-twos-complement'.
16314 * calc/calc-bin.el (math-format-twos-complement): Rename from
16315 math-format-complement-signed.
16316 (calc-radix): Rename `calc-complement-signed-mode' to
16317 `calc-twos-complement-mode'.
16318 (calc-octal-radix, calc-hex-radix): Add an argument for
16321 * calc/calc-embed.el (calc-embedded-mode-vars):
16322 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16324 * calc/calc-ext.el (calc-init-extensions):
16325 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16326 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16328 * calc/calc-units.el (math-build-units-table-buffer):
16329 Let `calc-twos-complement-mode' be nil.
16331 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16334 * calc/calc-vec.el (calcFunc-vunpack):
16335 * calc/calc-aent.el (calc-do-calc-eval):
16336 * calc/calc-forms.el (math-format-date):
16337 * calc/calc-graph.el (calc-graph-plot):
16338 * calc/calc-math.el (math-use-emacs-fn):
16339 * calc/calccomp.el (math-compose-expr):
16340 Let `calc-twos-complement-mode' be nil.
16342 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16344 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16345 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16346 * minibuffer.el (completion-in-region-functions): New hook.
16347 (completion-in-region): New function.
16348 * emacs-lisp/lisp.el (lisp-complete-symbol):
16349 * pcomplete.el (pcomplete-std-complete): Use it.
16351 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16353 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16354 (latex-complete-alist): New vars.
16355 (latex-string-prefix-p, latex-complete-bibtex-keys)
16356 (latex-complete-envnames, latex-complete-refkeys)
16357 (latex-complete-data): New functions.
16358 (latex-complete, latex-indent-or-complete): New commands.
16360 * window.el (display-buffer-mark-dedicated): New var.
16361 (display-buffer): Obey it.
16362 * minibuffer.el (minibuffer-completion-help): Use it.
16364 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16366 * filecache.el (file-cache-add-file): Use push and cons.
16367 (file-cache-delete-file-regexp): Use push.
16368 (file-cache-complete): Use completion-in-region.
16370 * simple.el (with-wrapper-hook): Fix thinko.
16372 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16373 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16374 Use with-current-buffer and string-to-number.
16375 (hfy-fallback-colour-values): Use assoc-string.
16376 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16377 (hfy-face-at): Remove unused var `found-face'.
16378 (hfy-compile-stylesheet): Remove unused var `css'.
16379 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16381 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16382 Use with-current-buffer.
16383 (hfy-text-p): Use expand-file-name and fewer setq.
16385 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16387 * htmlfontify.el, hfy-cmap.el: New files.
16389 2009-11-19 Juri Linkov <juri@jurta.org>
16391 * minibuffer.el (completions-format): New defcustom.
16392 (completion--insert-strings): Implement vertical format.
16394 * simple.el (switch-to-completions): Move point to the first
16395 completion when point was at the beginning of the buffer.
16397 2009-11-19 Juri Linkov <juri@jurta.org>
16399 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16401 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16403 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16405 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16406 (mail-signature): Change default to t.
16407 (mail-from-style): Deprecate `system-default' value.
16408 (mail-insert-from-field): For default value of mail-from-style,
16409 default to `angles' unless `angles' needs quoting and `parens'
16411 (mail-citation-prefix-regexp): Use citation regexp from
16414 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16416 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16417 Set variables for computing the prompt for reading password.
16419 2009-11-19 Glenn Morris <rgm@gnu.org>
16421 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16423 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16425 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16426 (newsticker-treeview-listwindow-height): Fix custom type.
16428 2009-11-19 Kenichi Handa <handa@m17n.org>
16430 * descr-text.el (describe-char-padded-string): Compose with TAB
16431 only if there's a font for CH.
16432 (describe-char): Fix the condition for detecting a trivial composition.
16434 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16436 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16437 more accurate version of the regexp. (Bug#3910)
16439 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16441 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16443 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16445 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16446 (font-setting-change-default-font): Fix typo in docstring.
16448 2009-11-18 Alan Mackenzie <acm@muc.de>
16450 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16452 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16454 * font-setting.el (font-use-system-font): Move ...
16456 * cus-start.el (all): ... to here.
16458 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16460 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16461 Don't set `ad-return-value' if `ad-do-it' doesn't.
16463 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16466 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16468 * menu-bar.el: Put "Use system font" in Option-menu.
16469 (menu-bar-options-save): Add font-use-system-font.
16471 * loadup.el: If feature system-font-setting or font-render-setting is
16472 there, load font-setting.
16474 * Makefile.in (ELCFILES): Add font-settings.el.
16475 * font-setting.el: New file.
16477 2009-11-17 Glenn Morris <rgm@gnu.org>
16479 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16481 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16482 Preserve point in the list buffer. (Bug#4939)
16484 (newsticker--treeview-list-update-highlight)
16485 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16487 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16489 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16492 * calc/calc-ext.el (calc-init-extensions): Remove references to
16495 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16497 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16498 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16501 2009-11-16 Kevin Ryde <user42@zip.com.au>
16503 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16504 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16506 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16507 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16508 Ignore trailing spaces by omit-nulls to split-string (fixing
16509 regression from Emacs 21 due to the incompatible split-string
16510 change). (Bug #4928.)
16512 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16514 * vc.el (vc-log-show-limit): Default to 2000.
16515 (vc-print-log-internal): Insert buttons to request more entries
16516 when limiting the output.
16518 * vc-sccs.el (vc-sccs-print-log):
16519 * vc-rcs.el (vc-rcs-print-log):
16520 * vc-cvs.el (vc-cvs-print-log):
16521 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16524 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16526 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16527 error when `tramp-gvfs-dbus-event-vector' is set.
16528 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16530 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16532 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16534 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16536 * net/dbus.el (dbus-unregister-service): New defun.
16537 (dbus-register-property): Register the handlers of
16538 "org.freedesktop.DBus.Properties" for SERVICE.
16539 (dbus-property-handler): Fix docstring.
16541 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16543 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16544 Quote doc string reference in defvaralias as it is not in special form.
16545 (byte-compile-output-docform): Doc fix.
16547 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16549 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16550 (calc-complement-signed-mode): New variables.
16551 (calc-set-mode-line): Add indicator for twos-complements.
16552 (math-format-number): Format twos-complement notation.
16554 * calc/calc-bin.el (calc-word-size): Reset the variables
16555 `math-2-word-size' and `math-half-2-word-size'.
16556 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16557 (calc-symclip): New functions.
16559 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16561 * calc/calc-embed.el (calc-embedded-mode-vars):
16562 Add `calc-complement-signed-mode' to the list of modes.
16564 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16565 (calc-b-oper-keys): Add `calc-symclip' to list.
16567 * calc/calc-ext.el (math-read-number-fancy): Read complement
16569 (calc-init-extensions): Add binding for `calc-symclip'.
16570 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16572 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16574 (calc-modes-menu): Add item for twos complement mode.
16576 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16578 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16580 * register.el (jump-to-register, insert-register): Handle Semantic
16581 tags. From commented-out advice in semantic/senator.el.
16583 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16585 * vc.el (vc-log-show-limit): New variable.
16586 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16587 when using a prefix argument.
16588 (vc-print-log-internal): Add new argument LIMIT.
16590 * vc-svn.el (vc-svn-print-log):
16591 * vc-mtn.el (vc-mtn-print-log):
16592 * vc-hg.el (vc-hg-print-log):
16593 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16594 pass it to the log command when set. Make the BUFFER argument
16597 * vc-sccs.el (vc-sccs-print-log):
16598 * vc-rcs.el (vc-rcs-print-log):
16599 * vc-git.el (vc-git-print-log):
16600 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16601 ignore it. Make the BUFFER argument non-optional
16603 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16605 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16607 * dired.el (dired-mode-map): Move encryption items to "Operate"
16610 * strokes.el (strokes-update-window-configuration): Make strokes
16611 buffer current before erasing (Bug#4906).
16613 2009-11-15 Juri Linkov <juri@jurta.org>
16615 * simple.el (set-mark-default-inactive): Add :type, :group
16616 and :version. (Bug#4876)
16618 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16620 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16621 (archive-unique-fname): ... here. (Bug#4929)
16623 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16625 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16628 * novice.el (disabled-command-function): Add useful args.
16629 Setup the help buffer so that [back] works.
16630 Remove redundant call to help-mode.
16631 (disabled-command-function): Use `case'.
16632 (en/disable-command): New function extracted from enable-command.
16633 (enable-command, disable-command): Use it.
16635 2009-11-14 Glenn Morris <rgm@gnu.org>
16637 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16638 constants. (Bug#4913)
16640 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16642 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16644 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16645 defined in C that have no doc-strings. (Bug#1063)
16647 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16649 * cus-edit.el (data, files):
16650 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16652 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16654 * simple.el (shell-command): Doc fix (Bug#4891).
16656 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16658 2009-11-14 Glenn Morris <rgm@gnu.org>
16660 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16661 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16662 If they are already loaded, eval-after-load will do the right thing.
16664 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16667 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16669 * simple.el (x-selection-owner-p): Declare.
16670 (read-mail-command): Use custom radio type rather than choice.
16671 (completion-no-auto-exit): Doc fix.
16673 * custom.el (defgroup):
16674 * epg-config.el (epg): Doc fixes.
16676 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16678 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16679 * international/ccl.el (define-ccl-program): Do not purecopy the
16680 docstring, defconst does it anyway.
16682 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16684 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16687 * x-dnd.el (x-dnd-maybe-call-test-function):
16688 * window.el (split-window-vertically):
16689 * whitespace.el (whitespace-help-on):
16690 * vc-rcs.el (vc-rcs-consult-headers):
16691 * userlock.el (ask-user-about-lock-help)
16692 (ask-user-about-supersession-help):
16693 * type-break.el (type-break-force-mode-line-update):
16694 * time-stamp.el (time-stamp-conv-warn):
16695 * terminal.el (te-set-output-log, te-more-break, te-filter)
16696 (te-sentinel, terminal-emulator):
16697 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16698 (term-write-input-ring, term-check-source, term-start-output-log):
16699 (term-display-buffer-line, term-dynamic-list-completions):
16700 (term-ansi-make-term, serial-term):
16701 * subr.el (selective-display):
16702 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16703 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16704 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16705 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16706 (speedbar-remove-localized-speedbar-support)
16707 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16708 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16709 (speedbar-buffers-line-directory):
16710 * simple.el (shell-command-on-region, append-to-buffer)
16711 (prepend-to-buffer):
16712 * shadowfile.el (shadow-save-todo-file):
16713 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16714 (scroll-bar-maybe-set-window-start):
16715 * sb-image.el (speedbar-image-dump):
16716 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16717 (load-save-place-alist-from-file):
16718 * ps-samp.el (ps-print-message-from-summary):
16719 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16720 (ps-background-image, ps-begin-job, ps-do-despool):
16721 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16722 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16723 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16724 (pr-call-process, pr-file-list, pr-interface-save):
16725 * novice.el (disabled-command-function)
16726 (enable-command, disable-command):
16727 * mouse.el (mouse-buffer-menu-alist):
16728 * mouse-copy.el (mouse-kill-preserving-secondary):
16729 * macros.el (kbd-macro-query):
16730 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16731 * informat.el (batch-info-validate):
16732 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16733 * hippie-exp.el (try-expand-dabbrev-visible):
16734 * help-mode.el (help-make-xrefs):
16735 * help-fns.el (describe-variable):
16736 * generic-x.el (bat-generic-mode-run-as-comint):
16737 * finder.el (finder-mouse-select):
16738 * find-dired.el (find-dired-sentinel):
16739 * filesets.el (filesets-file-close):
16740 * files.el (list-directory):
16741 * faces.el (list-faces-display, describe-face):
16742 * facemenu.el (list-colors-display):
16743 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16744 * epg.el (epg--process-filter, epg-cancel):
16745 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16746 (epa--read-signature-type):
16747 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16748 (emerge-file-names):
16749 * ehelp.el (electric-helpify):
16750 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16751 * ediff-vers.el (rcs-ediff-view-revision):
16752 * ediff-util.el (ediff-setup):
16753 * ediff-mult.el (ediff-append-custom-diff):
16754 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16756 * echistory.el (Electric-command-history-redo-expression):
16757 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16758 * disp-table.el (describe-display-table):
16759 * dired.el (dired-find-buffer-nocreate):
16760 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16761 * dabbrev.el (dabbrev--same-major-mode-p):
16762 * chistory.el (list-command-history):
16763 * apropos.el (apropos-documentation):
16764 * allout.el (allout-obtain-passphrase):
16765 (allout-copy-exposed-to-buffer):
16766 (allout-verify-passphrase): Use with-current-buffer.
16768 2009-11-13 Glenn Morris <rgm@gnu.org>
16770 * Makefile.in (ELCFILES): Regenerate.
16772 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16774 * net/dbus.el (dbus-registered-objects-table): Rename from
16775 `dbus-registered-functions-table', because it contains also properties.
16776 (dbus-unregister-object): Unregister also properties.
16777 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16778 Use a timeout of 500 msec, in order to not block.
16779 (dbus-register-property, dbus-property-handler): New defuns.
16781 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16783 * simple.el (minibuffer-default-add-completions): Drop deprecated
16786 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16788 * textmodes/artist.el (artist-mouse-choose-operation):
16789 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16790 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16791 (artist-compute-up-event-key): New function.
16792 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16794 2009-11-13 Kenichi Handa <handa@m17n.org>
16796 * language/japan-util.el: Make sure that the value of jisx0208
16797 property is jisx0208 character.
16799 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16801 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16802 car or each item, not the whole list.
16804 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16806 * minibuffer.el (minibuffer-completion-help):
16807 Use minibuffer-hide-completions.
16809 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16811 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16812 (dired-revert): Use them (bug#4880).
16814 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16816 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16818 2009-11-12 Juri Linkov <juri@jurta.org>
16820 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16822 (find-file-literally-at-point): Alias of `ffap-literally'.
16824 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16826 * textmodes/ispell.el (ispell-skip-region-alist):
16827 * textmodes/css-mode.el (auto-mode-alist):
16828 * progmodes/compile.el (auto-mode-alist):
16829 * international/mule.el (ctext-non-standard-encodings-alist)
16830 (ctext-non-standard-encodings-regexp):
16831 * simple.el (shell-command-switch, text-read-only):
16832 * replace.el (occur-mode-map):
16833 * paths.el (rmail-file-name):
16834 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16835 * find-file.el (ff-special-constructs):
16836 * files.el (file-name-handler-alist):
16837 * composite.el: Purecopy strings.
16839 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16841 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16843 * widget.el (define-widget): Purecopy the docstring.
16844 * international/mule-cmds.el (charset): Do not purecopy the
16845 docstring here, define-widget does it.
16847 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16848 * textmodes/bibtex-style.el (auto-mode-alist):
16849 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16850 * progmodes/compile.el (compile-command):
16851 * language/korea-util.el (default-korean-keyboard):
16852 * international/mule-conf.el (file-coding-system-alist):
16853 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16854 * tooltip.el (tooltip-frame-parameters):
16855 * newcomment.el (comment-end, comment-padding):
16856 * dired.el (dired-trivial-filenames):
16857 * comint.el (comint-file-name-prefix): Purecopy initial values.
16859 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16861 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16862 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16864 (tramp-advice-make-auto-save-file-name)
16865 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16866 after removing the advice.
16868 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16870 * progmodes/grep.el (grep-regexp-alist):
16871 * international/mule-cmds.el (iso-2022-control-alist):
16872 * emacs-lisp/timer.el (timer-duration-words):
16873 * subr.el (version-separator, version-regexp-alist):
16874 * minibuffer.el (completion-styles-alist):
16875 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16876 Change defvars to defconsts.
16878 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16879 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16880 * international/mule-conf.el: Allow to be byte compiled.
16882 * international/mule.el (define-charset): Purecopy props.
16883 (load-with-code-conversion): Purecopy doc string and file name.
16884 (put-charset-property): Purecopy strings.
16885 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16887 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16888 (define-char-code-property): Correctly purecopy the table.
16890 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16892 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16894 * subr.el (add-hook): Purecopy strings.
16895 (eval-after-load): Purecopy load-history-regexp and the form.
16897 * custom.el (custom-declare-group): Purecopy load-file-name.
16899 * subr.el (menu-bar-separator): New defconst.
16900 * net/eudc.el (eudc-tools-menu):
16901 * international/mule-cmds.el (set-coding-system-map)
16902 (mule-menu-keymap):
16903 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16904 * vc-hooks.el (vc-menu-map):
16905 * replace.el (occur-mode-map):
16906 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16907 (menu-bar-edit-menu, menu-bar-goto-menu)
16908 (menu-bar-custom-menu, menu-bar-showhide-menu)
16909 (menu-bar-options-menu, menu-bar-tools-menu)
16910 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16911 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16912 (menu-bar-help-menu):
16913 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16914 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16916 * term/x-win.el (x-gtk-stock-map):
16917 * progmodes/vera-mode.el (auto-mode-alist):
16918 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16919 (inferior-lisp-program, inferior-lisp-load-command):
16920 * progmodes/hideshow.el (hs-special-modes-alist):
16921 * progmodes/gud.el (same-window-regexps):
16922 * progmodes/grep.el (grep-program, find-program, xargs-program):
16923 * net/telnet.el (same-window-regexps):
16924 * net/rlogin.el (same-window-regexps):
16925 * language/ethiopic.el (font-ccl-encoder-alist):
16926 * vc-sccs.el (vc-sccs-master-templates):
16927 * vc-rcs.el (vc-rcs-master-templates):
16928 * subr.el (cl-assertion-failed):
16929 * simple.el (next-error-overlay-arrow-position):
16930 * lpr.el (lpr-command):
16931 * locate.el (locate-ls-subdir-switches):
16932 * info.el (same-window-regexps, info)
16933 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16934 * image-mode.el (image-mode, auto-mode-alist):
16935 * hippie-exp.el (hippie-expand-ignore-buffers):
16936 * format.el (format-alist):
16937 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16939 * facemenu.el (facemenu-keybindings):
16940 * dired.el (dired-listing-switches, dired-chown-program):
16941 * diff.el (diff-switches, diff-command):
16942 * cus-edit.el (same-window-regexps):
16943 * bindings.el (mode-line-mule-info)
16944 (mode-line-buffer-identification): Purecopy strings.
16946 2009-11-11 Juri Linkov <juri@jurta.org>
16948 * simple.el (dired-get-filename) <declare-function>:
16949 Tell the byte-compiler about dired-get-filename.
16950 (shell-command): In Dired mode, get filename from the current line
16951 as the default value.
16953 2009-11-10 Glenn Morris <rgm@gnu.org>
16955 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16956 * calendar/holidays.el, progmodes/cperl-mode.el:
16957 Update x-popup-menu declarations.
16959 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16960 (list-load-path-shadows): Use dolist.
16961 (list-load-path-shadows): Use with-current-buffer.
16963 2009-11-10 Juri Linkov <juri@jurta.org>
16965 * minibuffer.el (read-file-name): Support a list of default values
16966 in `default-filename'. Use the first file name where only one
16967 element is required. Doc fix.
16969 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16971 * net/dbus.el (dbus-unregister-object): Release service, if no
16972 other method is registered for it.
16974 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16976 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16977 bookmark-sort-flag is non-nil (Bug#4653).
16979 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16981 * emulation/cua-base.el: Add CUA property to some CC mode commands
16984 2009-11-08 Kevin Ryde <user42@zip.com.au>
16986 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16987 at end of sentence (Bug#4818).
16989 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16991 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16992 Handle "see declaration of" MSFT statements (Bug#4100).
16994 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16996 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16997 (tramp-advice-file-expand-wildcards): Unload via
16998 `ad-remove-advice'.
17000 * net/trampver.el: Update release number.
17002 2009-11-08 Kevin Ryde <user42@zip.com.au>
17004 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
17007 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
17009 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
17010 in order to keep context in SELinux.
17012 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17014 * dired-aux.el (dired-query): Place cursor in echo area and allow
17017 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
17018 menu item if not on a directory (Bug#4701).
17020 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
17022 Sync with Tramp 2.1.17.
17024 * net/tramp.el (tramp-handle-copy-directory): Don't use
17025 `file-remote-p' (due to compatibility).
17027 * net/tramp-compat.el (tramp-compat-copy-directory)
17028 (tramp-compat-delete-directory): New defuns.
17030 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17031 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17032 Use `tramp-compat-delete-directory'.
17034 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17035 (tramp-smb-handle-delete-directory):
17036 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
17038 * net/trampver.el: Update release number.
17040 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
17042 * tar-mode.el (tar-copy): Call write-region on the right buffer
17045 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
17046 by hand, if necessary (Bug#4878).
17048 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
17050 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
17051 align size column (Bug#4839).
17053 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
17056 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17058 * progmodes/ld-script.el (auto-mode-alist):
17059 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
17061 * cus-face.el (custom-declare-face): Purecopy face spec.
17063 2009-11-06 Kenichi Handa <handa@m17n.org>
17065 * international/uni-bidi.el: Re-generated.
17066 * international/uni-category.el: Re-generated.
17067 * international/uni-combining.el: Re-generated.
17068 * international/uni-mirrored.el: Re-generated.
17070 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17072 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
17073 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
17074 (tex-start-options, slitex-run-command, latex-run-command)
17075 (tex-run-command, tex-directory):
17076 * textmodes/ispell.el (ispell-html-skip-alists)
17077 (ispell-tex-skip-alists, ispell-tex-skip-alists):
17078 * textmodes/fill.el (adaptive-fill-first-line-regexp):
17079 (adaptive-fill-regexp):
17080 * textmodes/dns-mode.el (auto-mode-alist):
17081 * progmodes/python.el (interpreter-mode-alist):
17082 * progmodes/etags.el (tags-compression-info-list):
17083 * progmodes/etags.el (tags-file-name):
17084 * net/browse-url.el (browse-url-galeon-program)
17085 (browse-url-firefox-program):
17086 * mail/sendmail.el (mail-signature-file)
17087 (mail-citation-prefix-regexp):
17088 * international/mule-conf.el (eight-bit):
17089 * international/latexenc.el (latex-inputenc-coding-alist):
17090 * international/fontset.el (x-pixel-size-width-font-regexp):
17091 * emacs-lisp/warnings.el (warning-type-format):
17092 * emacs-lisp/trace.el (trace-buffer):
17093 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
17094 (emacs-lisp-mode-map):
17095 * calendar/holidays.el (holiday-solar-holidays)
17096 (holiday-bahai-holidays, holiday-islamic-holidays)
17097 (holiday-christian-holidays, holiday-hebrew-holidays)
17098 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
17099 (hebrew-holidays-1, holiday-oriental-holidays)
17100 (holiday-general-holidays):
17101 * x-dnd.el (x-dnd-known-types):
17102 * tool-bar.el (tool-bar):
17103 * startup.el (site-run-file):
17104 * shell.el (shell-dumb-shell-regexp):
17105 * rfn-eshadow.el (file-name-shadow-tty-properties)
17106 (file-name-shadow-properties):
17107 * paths.el (remote-shell-program, news-directory):
17108 * mouse.el ([C-down-mouse-3]):
17109 * menu-bar.el (menu-bar-tools-menu):
17110 * jka-cmpr-hook.el (jka-compr-load-suffixes)
17111 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
17112 (jka-compr-compression-info-list):
17113 * isearch.el (search-whitespace-regexp):
17114 * image-file.el (image-file-name-extensions):
17115 * find-dired.el (find-ls-option):
17116 * files.el (directory-listing-before-filename-regexp)
17117 (directory-free-space-args, insert-directory-program)
17118 (list-directory-brief-switches, magic-fallback-mode-alist)
17119 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
17120 (automount-dir-prefix):
17121 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
17122 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
17123 (face-font-registry-alternatives, face-font-registry-alternatives)
17124 (face-font-family-alternatives):
17125 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
17126 (facemenu-foreground-menu, facemenu-face-menu):
17127 * epa-hook.el (epa-file-name-regexp):
17128 * dnd.el (dnd-protocol-alist):
17129 * textmodes/rst.el (auto-mode-alist):
17130 * button.el (default-button): Purecopy strings.
17132 2009-11-06 Glenn Morris <rgm@gnu.org>
17134 * Makefile.in (ELCFILES): Update.
17136 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
17138 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
17139 * emacs-lisp/levents.el: Move to obsolete/levents.el.
17141 * nxml/xsd-regexp.el (xsdre-gen-categories):
17142 * nxml/xmltok.el (xmltok-parse-entity):
17143 * nxml/rng-parse.el (rng-parse-validate-file):
17144 * nxml/rng-maint.el (rng-format-manual)
17145 (rng-manual-output-force-new-line):
17146 * nxml/rng-loc.el (rng-save-schema-location-1):
17147 * nxml/rng-cmpct.el (rng-c-parse-file):
17148 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
17149 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
17151 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
17153 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17154 Remove extra save-excursions and make-variable-buffer-local's.
17155 Suggested by Stefan Monnier.
17157 (verilog-getopt-file, verilog-module-inside-filename-p)
17158 (verilog-set-define): Merge GNU 1.35 and repair changes from
17159 switching to using with-current-buffer.
17161 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17162 being treated as a number and confusing AUTORESET.
17163 Reported by Dan Dever.
17165 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17166 Add verilog-auto-ignore-concat to fix backward compatibility with
17167 older verilog-modes. Reported by Dan Katz.
17169 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17170 containing closing anchors "...$".
17172 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17173 Reported by Wade Smith.
17175 (verilog-batch-execute-func): Comment on function usage.
17177 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17179 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17182 (verilog-label-re, verilog-calc-1): Support proper indent of named
17185 (verilog-backward-token, verilog-basic-complete-re)
17186 (verilog-beg-of-statement, verilog-indent-re): Support proper
17187 indent of the assert statement at the beginning of a block of text.
17189 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17190 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17193 2009-11-05 Glenn Morris <rgm@gnu.org>
17195 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17196 Emacs 19. (Bug#1531)
17197 (byte-compile-fix-header): Update for the above change.
17198 Drop test for epoch::version.
17200 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17201 * cus-dep.el (custom-make-dependencies):
17202 * finder.el (finder-compile-keywords):
17203 Use autoload-rubric's feature argument.
17205 * calendar/diary-lib.el (top-level): Make load behave more like require.
17207 * vc-git.el (vc-git-stash-map): Move definition before use.
17209 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17211 * custom.el (custom-declare-group): Purecopy standard-value.
17212 (custom-declare-group): Purecopy custom-prefix.
17214 * international/mule.el (load-with-code-conversion):
17215 Call do-after-load-evaluation unconditionally.
17217 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17219 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17221 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17223 2009-11-04 Glenn Morris <rgm@gnu.org>
17225 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17226 (byte-compile-compatibility): Remove option.
17227 (byte-compile-close-variables, byte-compile-fix-header)
17228 (byte-compile-insert-header, byte-compile-output-docform)
17229 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17230 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17231 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17232 (byte-compile-insert, byte-compile-defun):
17233 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17234 (byte-defop-compiler19): Remove.
17235 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17236 used by anything. Replace all calls with byte-defop-compiler.
17238 2009-11-04 Juri Linkov <juri@jurta.org>
17240 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17241 (menu-bar-options-menu): Don't quote the `prop' arg of
17242 `menu-bar-make-mm-toggle'.
17244 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17246 * calendar/calendar.el (cal-loaddefs):
17247 * calendar/diary-lib.el (diary-loaddefs):
17248 * calendar/holidays.el (hol-loaddefs):
17249 * eshell/esh-module.el (esh-groups): Load rather than require.
17251 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17253 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17255 (todo-top-priorities): Only display-buffer when called interactively.
17256 (todo-item-start): Don't save excursion point.
17257 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17258 (todo-insert-item-here, todo-file-item, todo-remove-item):
17259 Adjust uses of todo-item-start and todo-item-end.
17261 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17262 (autoload-rubric): Don't use any more.
17264 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17265 and only put a prop if it is non-nil.
17267 2009-11-03 Juri Linkov <juri@jurta.org>
17269 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17270 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17272 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17273 and "Menu" to make top-level menu item visually one unit (like
17274 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17275 multi-word menu items). Fix :help string for quit-window.
17277 2009-11-03 Glenn Morris <rgm@gnu.org>
17279 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17280 (byte-compile-file-form-define-abbrev-table)
17281 (byte-compile-file-form-custom-declare-variable)
17282 (byte-compile-variable-ref, byte-compile-defvar):
17283 Whether or not a warning is enabled should only affect whether we issue
17284 the warning, not whether or not we collect the relevant data.
17285 Eg warnings can be turned on and off throughout the course of a file.
17287 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17288 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17290 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17292 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17293 * play/mpuz.el (mpuz-create-buffer):
17294 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17295 (lm-print-y,s,noise, lm-print-w0, lm-init):
17296 * play/gomoku.el (gomoku-prompt-for-move):
17297 * play/fortune.el (fortune-in-buffer):
17298 * play/dissociate.el (dissociated-press):
17299 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17300 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17301 * mail/supercite.el (sc-eref-show):
17302 * mail/smtpmail.el (smtpmail-send-it):
17303 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17304 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17305 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17306 (rmail-summary-goto-msg, rmail-summary-expunge)
17307 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17308 (rmail-summary-add-label, rmail-summary-output-menu)
17309 (rmail-summary-output-body):
17310 * mail/rfc822.el (rfc822-addresses):
17311 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17312 * mail/mailpost.el (post-mail-send-it):
17313 * mail/hashcash.el (hashcash-generate-payment):
17314 * mail/feedmail.el (feedmail-run-the-queue)
17315 (feedmail-queue-send-edit-prompt-help-first)
17316 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17317 (feedmail-deduce-address-list):
17318 * eshell/esh-ext.el (eshell-remote-command):
17319 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17320 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17321 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17322 (viper-save-string-in-file, viper-valid-marker):
17323 * emulation/viper-keym.el (viper-toggle-key):
17324 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17325 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17326 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17327 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17328 (viper-exec-form-in-emacs, viper-brac-function):
17329 * emulation/viper.el (viper-delocalize-var):
17330 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17331 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17332 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17333 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17334 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17335 * emulation/edt.el (edt-electric-helpify):
17336 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17337 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17338 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17339 (cua-indent-to-global-mark-column):
17340 * calendar/diary-lib.el (calendar-mark-1):
17341 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17342 Use with-current-buffer.
17343 * emulation/viper.el (viper-delocalize-var): Use dolist.
17345 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17347 * comint.el (comint-replace-by-expanded-history-before-point):
17348 Replace !! with the previous input string literally (Bug#1795).
17350 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17352 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17353 to be made up of whitespace.
17355 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17357 * minibuffer.el (read-file-name): Don't use file dialogs for
17358 remote directories (Bug#99).
17360 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17362 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17364 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17366 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17367 instead of deleting the window or frame.
17369 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17371 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17372 Support face colors.
17374 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17375 New function. Support face colors (Bug#1168).
17376 (tex-common-initialization): Use it.
17378 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17379 mode allows it (Bug#1168).
17381 2009-10-31 Juri Linkov <juri@jurta.org>
17383 * facemenu.el (list-colors-display): Don't mark buffer as
17384 modified (Bug#3948).
17386 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17388 * international/mule-diag.el (list-character-sets-1):
17389 Minor message fix (Bug#3526).
17391 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17392 Fix face property (Bug#4834).
17393 (etags-list-tags, etags-tags-apropos-additional)
17394 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17397 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17400 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17402 * textmodes/two-column.el (2C-split):
17403 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17404 * textmodes/tex-mode.el (tex-set-buffer-directory):
17405 * textmodes/spell.el (spell-region, spell-string):
17406 * textmodes/reftex.el (reftex-erase-buffer):
17407 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17408 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17409 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17410 (reftex-select-item):
17411 * textmodes/reftex-ref.el (reftex-label-info-update)
17412 (reftex-offer-label-menu):
17413 * textmodes/reftex-index.el (reftex-index-change-entry)
17414 (reftex-index-phrases-info):
17415 * textmodes/reftex-global.el (reftex-create-tags-file)
17416 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17417 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17418 (reftex-view-crossref-from-bibtex):
17419 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17420 (reftex-extract-bib-entries-from-thebibliography)
17421 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17422 * textmodes/refbib.el (r2b-capitalize-title):
17423 (r2b-convert-buffer, r2b-help):
17424 * textmodes/page-ext.el (pages-directory)
17425 (pages-directory-goto-with-mouse):
17426 * textmodes/bibtex.el (bibtex-validate-globally):
17427 * textmodes/bib-mode.el (bib-capitalize-title):
17428 * textmodes/artist.el (artist-clear-buffer, artist-system):
17429 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17430 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17431 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17432 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17433 (xscheme-send-control-g-interrupt, xscheme-start-process)
17434 (xscheme-process-sentinel, xscheme-cd):
17435 * progmodes/verilog-mode.el (verilog-read-always-signals)
17436 (verilog-set-define, verilog-getopt-file)
17437 (verilog-module-inside-filename-p):
17438 * progmodes/sh-script.el:
17439 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17440 (python-pdbtrack-grub-for-buffer, python-execute-file):
17441 * progmodes/octave-inf.el (inferior-octave):
17442 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17443 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17444 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17445 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17446 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17447 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17448 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17449 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17450 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17451 (idlwave-shell-examine-display, idlwave-shell-run-region)
17452 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17453 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17454 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17455 (idlwave-help-get-help-buffer):
17456 * progmodes/gud.el (gud-basic-call, gud-find-class)
17457 (gud-tooltip-activate-mouse-motions-if-enabled):
17458 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17459 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17460 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17461 (ebrowse-tags-next-file):
17462 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17463 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17464 (ebnf-eps-finish-and-write):
17465 * progmodes/cpp.el (cpp-edit-save):
17466 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17467 * progmodes/cc-defs.el (c-emacs-features):
17468 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17469 (antlr-directory-dependencies):
17470 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17471 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17472 (ada-find-any-references, ada-make-filename-from-adaname)
17473 (ada-make-body-gnatstub):
17474 * obsolete/rnews.el (news-list-news-groups):
17475 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17476 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17477 * net/rcirc.el (rcirc-debug):
17478 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17479 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17480 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17481 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17482 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17483 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17484 (newsticker--treeview-list-clear-highlight)
17485 (newsticker--treeview-list-update-highlight)
17486 (newsticker--treeview-list-highlight-start)
17487 (newsticker--treeview-tree-update-highlight)
17488 (newsticker--treeview-get-selected-item)
17489 (newsticker-treeview-mark-list-items-old)
17490 (newsticker--treeview-set-current-node):
17491 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17492 * net/newst-backend.el (newsticker--get-news-by-funcall)
17493 (newsticker--get-news-by-wget, newsticker--image-get)
17494 (newsticker--image-sentinel):
17495 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17496 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17497 (eudc-ph-close-session):
17498 * net/eudc.el (eudc-save-options):
17499 * language/thai-word.el (thai-update-word-table):
17500 * language/japan-util.el (japanese-string-conversion):
17501 * international/titdic-cnv.el (tsang-quick-converter)
17502 (ziranma-converter, ctlau-converter):
17503 * international/mule-cmds.el (describe-language-environment):
17504 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17505 (skkdic-convert-postfix, skkdic-convert-prefix):
17506 (skkdic-convert-okuri-nasi, skkdic-convert):
17507 * emacs-lisp/re-builder.el (reb-update-overlays):
17508 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17509 * emacs-lisp/gulp.el (gulp-send-requests):
17510 * emacs-lisp/find-gc.el (trace-call-tree):
17511 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17512 (eieio-describe-generic):
17513 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17514 * emacs-lisp/edebug.el (edebug-outside-excursion):
17515 * emacs-lisp/debug.el (debugger-make-xrefs):
17516 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17517 * emacs-lisp/chart.el (chart-new-buffer):
17518 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17519 Use with-current-buffer.
17520 * textmodes/artist.el (artist-system): Don't call
17521 copy-sequence on a fresh string.
17522 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17524 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17526 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17527 is no item to edit. (Bug#4820)
17528 (todo-top-priorities): Restore point and restore narrowing in Todo
17531 2009-10-31 Glenn Morris <rgm@gnu.org>
17533 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17534 (comint-last-output-start, comint-last-input-start)
17535 (comint-last-input-end): Don't defvar when compiling.
17536 (ange-ftp-process-file): Use bound-and-true-p.
17538 * pcmpl-rpm.el (top-level): Move provide statement to end.
17539 (pcmpl-rpm): Remove unused custom group.
17541 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17543 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17545 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17546 (byte-compile-warnings): Add `constants' as an option.
17547 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17548 (display-call-tree): Update for byte-compile-fdefinition possibly
17549 returning `(macro lambda ...)'. (Bug#4778)
17550 (byte-compile-variable-ref, byte-compile-setq-default):
17551 Respect `constants' member of byte-compile-warnings.
17553 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17555 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17556 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17559 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17561 * textmodes/ispell.el (ispell-skip-region-alist):
17562 * international/mule-conf.el (eight-bit):
17563 * international/fontset.el (font-encoding-alist):
17564 * startup.el (pure-space-overflow-message):
17565 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17566 * paths.el (gnus-nntp-service, rmail-spool-directory)
17567 (term-file-prefix):
17568 * files.el (save-some-buffers-action-alist):
17569 * cmuscheme.el (same-window-buffer-names):
17570 * ielm.el (same-window-buffer-names):
17571 * shell.el (same-window-buffer-names):
17572 * mail/sendmail.el (same-window-buffer-names):
17573 * progmodes/inf-lisp.el (same-window-buffer-names):
17574 * bindings.el (mode-line-client)
17575 (mode-line-column-line-number-mode-map):
17576 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17577 (tibetan-precomposed-regexp): Purecopy string arguments.
17579 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17581 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17582 (calcDigit-nondigit):
17583 * calc/calc-yank.el (calc-copy-to-buffer):
17584 * calc/calc-units.el (calc-invalidate-units-table):
17585 * calc/calc-trail.el (calc-trail-yank):
17586 * calc/calc-store.el (calc-insert-variables):
17587 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17588 * calc/calc-prog.el (calc-read-parse-table):
17589 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17590 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17591 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17592 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17593 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17594 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17595 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17596 * calc/calc-ext.el (calc-realign):
17597 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17598 (calc-embedded-finish-edit, calc-embedded-make-info)
17599 (calc-embedded-finish-command, calc-embedded-stack-change):
17600 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17602 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17603 shell-dynamic-complete-filename in preference to
17604 comint-dynamic-complete-filename.
17606 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17607 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17608 Don't consider whether the display supports colors.
17609 (bookmark-import-new-list): Use dolist.
17610 (bookmark-bmenu-mode-map): Move initialization into declaration.
17611 (bookmark-bmenu-list): Use dolist, simplify.
17612 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17613 (menu-bar-final-items): Use push.
17615 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17617 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17618 it works on remote files.
17619 (vc-hg-diff): Don't pass any `--cwd' argument.
17621 2009-10-27 Kevin Ryde <user42@zip.com.au>
17623 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17624 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17625 (Further to Bug#3921).
17627 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17629 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17630 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17631 calling `tramp-imap-put-file'. Add file size to the call.
17632 (tramp-imap-get-file-entries): Compute also user name, file size,
17634 (tramp-imap-handle-insert-directory): Insert uid and gid.
17635 (tramp-imap-handle-file-attributes): Transform uid and gid
17636 according to `id-format'.
17637 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17638 size in header X-Size.
17640 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17642 * simple.el (transpose-subr): Give clearer error when the mark
17643 is not set. (Bug#4807)
17645 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17647 * net/tramp.el (tramp-perl-file-truename): New defconst.
17648 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17649 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17650 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17651 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17653 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17654 Ignore `dired-call-process'.
17655 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17657 2009-10-26 Julian Scheid <julians37@gmail.com>
17659 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17660 (tramp-get-remote-readlink): New defun.
17661 (tramp-handle-file-truename): Use it.
17662 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17663 file exists if cache value present.
17664 (tramp-check-cached-permissions): New defun.
17665 (tramp-handle-file-readable-p): Use it.
17666 (tramp-handle-file-writable-p): Likewise.
17667 (tramp-handle-file-executable-p): Likewise.
17668 (tramp-handle-file-name-all-completions): Try using Perl to get
17669 partial completions. When perl not available, combine `cd' and
17670 `ls' into single remote operation and use shell expansion to get
17671 partial remote directory contents. Set `file-exists-p' cache for
17672 directory and any files returned by ls. Change cache handling to
17673 support partial directory contents. Use error message emitted by
17674 remote `cd' or Perl code for local tramp-error.
17675 (tramp-do-copy-or-rename-file-directly): Avoid separate
17676 tramp-send-command-and-check call.
17677 (tramp-handle-process-file): Merge three remote ops into one.
17678 Do not flush all caches when `process-file-side-effects' is set.
17679 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17680 file-attributes shows uid/gid to be set already.
17682 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17684 * textmodes/tex-mode.el (tex-dvi-view-command)
17685 (tex-show-queue-command, tex-open-quote):
17686 * progmodes/ruby-mode.el (auto-mode-alist)
17687 (interpreter-mode-alist): Purecopy strings.
17689 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17691 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17692 string for the hook, keymap and abbrev table.
17694 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17696 * x-dnd.el (x-dnd-xdnd-to-action):
17697 * startup.el (fancy-startup-text, fancy-about-text): Change to
17698 defconst from defvar.
17700 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17702 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17703 Purecopy initialization strings.
17705 * mail/sendmail.el (mail-header-separator)
17706 (mail-personal-alias-file):
17707 * mail/rmail.el (rmail-default-dont-reply-to-names)
17708 (rmail-ignored-headers, rmail-retry-ignored-headers)
17709 (rmail-highlighted-headers, rmail-secondary-file-directory)
17710 (rmail-secondary-file-regexp):
17711 * files.el (null-device, file-name-invalid-regexp)
17712 (locate-dominating-stop-dir-regexp)
17713 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17714 (interpreter-mode-alist): Use mapcar instead of mapc.
17716 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17718 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17719 (completion-ignored-extensions):
17720 (debug-ignored-errors): Purecopy strings.
17722 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17724 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17725 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17726 (pcomplete--here): Use push.
17728 * subr.el (all-completions): Declare the 4th arg obsolete.
17730 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17732 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17733 (pcomplete-unquote-argument): New function.
17734 (pcomplete--common-suffix): Always pay attention to case.
17735 (pcomplete--table-subvert): Quote and unquote the text.
17736 (pcomplete--common-quoted-suffix): New function.
17737 (pcomplete-std-complete): Use it and pcomplete-begin.
17739 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17740 we're inside a dedicated or minibuffer window.
17742 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17744 * bookmark.el: Update documentation, especially documentation
17745 of `bookmark-alist' and of the bookmark file format.
17746 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17748 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17750 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17751 keybindings apply to the mail buffer (Bug#4003). Shrink help
17754 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17755 (global-whitespace-mode, global-whitespace-newline-mode)
17756 (whitespace-toggle-options, global-whitespace-toggle-options):
17757 Doc fix (Bug#3660).
17759 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17760 of xmltok-start before the end tag was inserted (Bug#2840).
17762 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17763 patterns that are preceded by an open-paren (Bug#1320).
17765 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17767 * files.el (delete-directory): Delete symlinks to directories with
17768 delete-file (Bug#4739).
17770 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17772 * vc.el (vc-backend-for-registration): Rename from
17773 vc-get-backend-for-registration. Update callers.
17775 * international/mule-cmds.el (set-language-info-alist):
17777 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17778 (charset): Purecopy the name.
17779 (define-char-code-property): Purecopy string arguments.
17781 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17782 Purecopy string arguments.
17784 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17785 * ediff-hook.el (menu-bar-ediff-menu):
17786 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17787 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17789 2009-10-24 Glenn Morris <rgm@gnu.org>
17791 * comint.el (comint-dynamic-list-completions):
17792 * term.el (term-dynamic-list-completions): Use choose-completion rather
17793 than obsolete alias mouse-choose-completion.
17795 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17796 file-cache-choose-completion.
17797 (file-cache-choose-completion): Handle an optional event argument.
17798 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17800 * progmodes/octave-mod.el (octave-complete-symbol):
17801 Use choose-completion if mouse-choose-completion is ever removed.
17803 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17806 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17809 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17811 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17813 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17814 Ignore `pred' now that we receive one.
17815 Handle test-completion specially.
17817 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17819 * vc.el (vc-responsible-backend): Throw an error if not backend is
17820 found. Remove the REGISTER argument. Move the code dealing with
17822 (vc-get-backend-for-registration): ... here. New function.
17823 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17824 of vc-responsible-backend, pass the file name instead of the
17827 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17829 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17831 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17832 (pcomplete-comint-setup): Don't modify a global var via
17833 accidental side-effects.
17834 (pcomplete-shell-setup): Adjust call accordingly.
17835 (pcomplete-parse-comint-arguments): Use push.
17837 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17839 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17840 Allow uncapitalized info node names (Bug#3921).
17842 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17843 to the DEBUG file (Bug#3781).
17845 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17847 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17848 dictionary entry (Bug#4579).
17850 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17852 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17853 from `rfn-eshadow-update-overlay-hook' when unloading.
17854 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17855 "rsyncc". Adjust doc string.
17856 (tramp-temp-buffer-file-name): New buffer-local defvar.
17857 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17858 Keep temporary file when indicated by method ("rsync" and
17860 (tramp-handle-write-region): Handle APPEND.
17861 (tramp-delete-temp-file-function): New defun. Added to
17862 `kill-buffer-hook'.
17864 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17866 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17868 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17870 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17871 (color-name-rgb-alist, tty-standard-colors)
17872 (tty-color-mode-alist): Change to defconst.
17874 * simple.el (mark-inactive): Purecopy message.
17876 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17877 (global-map, yank-menu):
17878 * textmodes/ispell.el (ispell-menu-map):
17879 * net/eudc.el (eudc-tools-menu):
17880 * international/mule-cmds.el (describe-language-environment-map)
17881 (setup-language-environment-map, set-coding-system-map)
17882 (mule-menu-keymap):
17883 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17884 * replace.el (occur-mode-map):
17885 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17887 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17889 * calc/calc.el (math-read-number, math-read-number-simple):
17890 Use `save-match-data'.
17892 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17894 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17895 rather than fiddling with global-map bindings, since it should only
17896 affect per-terminal settings.
17897 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17899 * minibuffer.el (completion-table-with-terminator): Allow to specify
17900 the terminator-regexp.
17902 * simple.el (switch-to-completions): Look for *Completions* in other
17905 * pcomplete.el: Allow the use of completion-tables.
17906 (pcomplete-std-complete): New command.
17907 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17908 (pcomplete--here): Use a function for `form' rather than an expression,
17909 so it can be byte-compiled.
17910 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17911 Add edebug declaration.
17912 (pcomplete-show-completions): Remove unused var `curbuf'.
17913 (pcomplete-do-complete, pcomplete-stub):
17914 Don't assume `completions' is a list of strings any more.
17916 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17918 * find-dired.el (find-name-arg): Fix typo in docstring.
17920 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17922 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17923 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17925 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17928 * comint.el (comint-read-input-ring, comint-write-input-ring)
17929 (comint-substitute-in-file-name)
17930 (comint-dynamic-complete-as-filename)
17931 (comint-dynamic-simple-complete)
17932 (comint-dynamic-list-filename-completions)
17933 (comint-dynamic-list-completions)
17934 (comint-redirect-results-list-from-process): Minor simplifications.
17936 2009-10-21 Kevin Ryde <user42@zip.com.au>
17938 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17939 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17940 the first form. And insert a blank line after ";;; Code" since
17941 that's usual style. (Bug#4612)
17943 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17945 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17947 * minibuffer.el (completion-table-with-terminator): Properly implement
17948 boundaries, in case `terminator' appears in the suffix.
17949 (completion--embedded-envvar-table): Don't return boundaries if
17950 there's no valid completion. Simplify.
17951 (completion-file-name-table): New completion table extracted from
17952 completion--file-name-table.
17953 (completion--file-name-table): Use it.
17954 (read-file-name-predicate): Declare obsolete.
17955 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17956 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17957 completion-file-name-table, and use the `pred' argument.
17958 * files.el (locate-file-completion-table): Use the `pred' arg rather
17959 than read-file-name-predicate.
17960 (abbreviate-file-name): Use \` rather than ^ for BOS.
17962 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17964 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17965 vc-responsible-backend to register, it causes problems.
17967 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17969 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17971 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17973 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17974 (tramp-smb-handle-file-attributes): Use it.
17975 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17976 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17977 `mapcar'. Use `tramp-smb-get-stat-capability'.
17978 Add `dired-filename' text properties.
17979 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17980 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17983 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17985 * subr.el (read-key-delay): Reduce to 0.01.
17986 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17989 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17991 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17993 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17994 (Info-menu): Remove unused vars `last' and `completions'.
17995 (Info-index-nodes): Remove unused var `node'.
17997 * info.el (Info-complete-menu-item): Use complete-with-action.
17999 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
18001 Make vc-annotate work through copies and renames.
18002 * vc-annotate.el (vc-annotate-extract-revision-at-line):
18003 Return the file name too.
18004 (vc-annotate-revision-at-line)
18005 (vc-annotate-find-revision-at-line)
18006 (vc-annotate-revision-previous-to-line)
18007 (vc-annotate-show-log-revision-at-line): Update to get the file
18008 name from vc-annotate-extract-revision-at-line.
18009 (vc-annotate-show-diff-revision-at-line-internal): Change the
18010 argument to mean whether to show a file diff or not. Get the file
18011 name from vc-annotate-extract-revision-at-line.
18012 (vc-annotate-show-diff-revision-at-line):
18013 Update vc-annotate-show-diff-revision-at-line call.
18014 (vc-annotate-warp-revision): Add an optional file argument.
18016 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
18017 (vc-git-annotate-extract-revision-at-line): Also return the file
18020 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
18021 command. Remove unused code.
18022 (vc-hg-annotate-re): Update to match --follow output.
18023 (vc-hg-annotate-extract-revision-at-line): Also return the file
18026 * vc.el: Update annotate-extract-revision-at-line documentation.
18028 2009-10-18 Kevin Ryde <user42@zip.com.au>
18030 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
18031 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
18033 * net/browse-url.el (browse-url): Identify alist with "consp and
18034 not functionp" and let all other things go down the `apply' leg,
18035 as suggested by Stefan. (Further to bug#4531.)
18037 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
18039 * minibuffer.el (read-file-name): Check for repeat before putting
18040 a default argument in file-name-history (Bug#4657).
18042 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
18043 read syntax (Bug#4737).
18045 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
18047 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18049 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
18050 (html-tag-alist, html-tag-help): Add descriptions for undocumented
18051 entries and make note of obsolete tags.
18053 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18055 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
18057 2009-10-18 Glenn Morris <rgm@gnu.org>
18059 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
18060 grep, so that binary files (eg international/uni-bidi.el) can match.
18061 Remove test for "UnicodeData" files, since it is hopefully unnecessary
18062 now, and in any case the file header format has changed.
18064 2009-10-17 Glenn Morris <rgm@gnu.org>
18066 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
18067 (flyspell-get-word, flyspell-large-region)
18068 (flyspell-auto-correct-previous-word): Doc/error message fixes.
18070 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
18072 * Makefile.in (ELCFILES): Add ede/shell.
18074 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
18076 * term/common-win.el (x-colors): Purecopy it.
18078 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18080 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
18081 permissive for when the buffer is empty.
18082 (tar-header-block-tokenize): Decode the username and groupname.
18083 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
18085 2009-10-17 Eric Ludlam <zappo@gnu.org>
18087 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
18088 contains multibyte characters, choose first applicable coding
18089 system automatically.
18091 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18093 * international/mule-cmds.el (select-safe-coding-system): If the file
18094 has a coding cookie, use it regardless of any other setting (bug#4712).
18096 2009-10-17 Glenn Morris <rgm@gnu.org>
18098 * foldout.el (foldout-mouse-swallow-events):
18099 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
18101 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
18102 (dired-keep-marker-copy, dired-keep-marker-hardlink)
18103 (dired-keep-marker-symlink, dired-dwim-target)
18104 (dired-copy-preserve-time): Do not autoload these defcustoms.
18106 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
18107 messages from messing up the file coding. (Bug#4623)
18109 2009-10-17 Jari Aalto <jari.aalto@cante.net>
18111 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
18112 if no match is found for the current dictionary. (Bug#4578)
18114 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
18115 optional, since that is how it is documented, and this is often called
18116 with a nil argument. (Bug#4577)
18117 (flyspell-external-point-words, flyspell-auto-correct-word)
18118 (flyspell-correct-word-before-point, flyspell-word-search-forward)
18119 (flyspell-word-search-backward): Remove nil argument in calls to
18120 flyspell-get-word, since it is not needed now.
18122 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
18124 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
18126 2009-10-16 Glenn Morris <rgm@gnu.org>
18128 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
18130 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
18132 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
18133 (ange-ftp-file-size): New function.
18134 (ange-ftp-file-attributes): Use it.
18136 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
18138 * net/tramp-smb.el (tramp-smb-version): New defvar.
18139 (tramp-smb-maybe-open-connection): Use it, in order to avoid
18142 2009-10-16 Glenn Morris <rgm@gnu.org>
18144 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
18145 Maybe copy some custom properties from old to new name. (Bug#4706)
18147 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
18149 * subr.el (error, sit-for, start-process-shell-command)
18150 (start-file-process-shell-command): Set the calling convention
18151 after the function definition.
18153 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
18155 * subr.el (error, sit-for, start-process-shell-command)
18156 (start-file-process-shell-command): Use the new
18157 set-advertised-calling-convention feature.
18159 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
18161 * international/ucs-normalize.el (ucs-normalize-version):
18163 (check-range): Adjust for Unicode 5.2.
18165 2009-10-15 Juri Linkov <juri@jurta.org>
18167 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18168 to the `menu-item' format.
18170 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18172 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18173 if the environment variable does not exist.
18175 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18176 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18178 (tramp-smb-handle-add-name-to-file)
18179 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18180 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18181 (tramp-smb-handle-file-attributes)
18182 (tramp-smb-do-file-attributes-with-stat)
18183 (tramp-smb-handle-file-local-copy)
18184 (tramp-smb-handle-insert-directory)
18185 (tramp-smb-handle-make-directory)
18186 (tramp-smb-handle-make-directory-internal)
18187 (tramp-smb-handle-make-symbolic-link)
18188 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18189 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18190 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18191 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18192 Handle long file names.
18193 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18194 process is running.
18195 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18196 Read share names with "-g" option.
18198 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18200 * net/rcirc.el (rcirc-view-log-file): New command.
18201 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18202 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18205 2009-10-15 Glenn Morris <rgm@gnu.org>
18207 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18208 from the second command-line argument.
18209 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18210 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18211 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18212 w32-batch-update-autoloads.
18213 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18214 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18216 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18217 the headers cannot be located. Simplify, subtracting superflous
18220 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18222 Replace completion-base-size by completion-base-position to fix bugs
18223 such as (bug#4699).
18224 * simple.el (completion-base-position): New var.
18225 (completion-base-size): Mark as obsolete.
18226 (choose-completion): Make it work for mouse events as well.
18227 Pass the new base-position to choose-completion-string.
18228 (choose-completion-guess-base-position): New function, extracted from
18229 choose-completion-delete-max-match.
18230 (choose-completion-delete-max-match): Use it. Make obsolete.
18231 (choose-completion-string): Use the new base-position info.
18232 (completion-root-regexp): Delete.
18233 (completion-setup-function): Preserve completion-base-position.
18234 Eliminate obsolete base-size manipulation.
18235 * minibuffer.el (display-completion-list): Don't mess with base-size.
18236 (minibuffer-completion-help): Set completion-base-position instead.
18237 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18239 * textmodes/bibtex.el (bibtex-complete):
18240 * emacs-lisp/crm.el (crm--choose-completion-string):
18241 Adjust to new calling convention.
18242 * complete.el (partial-completion-mode): Use minibufferp to avoid
18243 bumping into incompatible change to choose-completion-string-functions.
18244 * ido.el (ido-choose-completion-string): Make its calling convention
18246 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18247 base-size manipulation.
18248 (comint-dynamic-list-input-ring): Use dotimes and push.
18249 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18250 fundamental-mode. Use `or'.
18252 2009-10-14 Juri Linkov <juri@jurta.org>
18254 * misearch.el (multi-isearch-next-buffer-from-list)
18255 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18257 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18259 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18262 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18263 string we return is all made up of text from the completions rather
18264 than part from the completions and part from the input (bug#4219).
18266 * ido.el (ido-everywhere): Use define-minor-mode.
18268 * buff-menu.el (list-buffers, ctl-x-map):
18269 Mark the entry points with ;;;###autoload cookies.
18271 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18273 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18274 correctly in the detached head case.
18275 (vc-git-print-log): Remove unused binding.
18277 * vc.el (vc-responsible-backend): When a directory is passed for
18278 for registration create a VC repository if no backend is
18279 responsible for the directory argument.
18280 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18282 * vc.el: Move comments about RCS and SCCS ...
18284 * vc-sccs.el: ... here, respectively.
18286 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18288 * minibuffer.el (completion--file-name-table): Return nil if there's
18289 no file completion, even if substitute-in-file-name changed
18290 the string (bug#4708).
18292 2009-10-13 Juri Linkov <juri@jurta.org>
18294 * files-x.el (read-file-local-variable-value): Don't filter out
18295 minor modes from mode name completion (bug#4664).
18297 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18299 * international/mule-cmds.el (ucs-names): Remove exclusion of
18300 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18302 2009-10-13 Kenichi Handa <handa@m17n.org>
18304 * international/uni-name.el: Regenerated.
18306 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18308 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18309 should be automatically buffer-local, but isn't.)
18311 2009-10-12 Sam Steingold <sds@gnu.org>
18313 * progmodes/compile.el (compilation-next-error-function): Fix the
18314 timestamps if the buffer has been visited before.
18315 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18316 non-anchored patterns, like the perl one (bug#3928).
18318 2009-10-12 Glenn Morris <rgm@gnu.org>
18320 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18323 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18325 * proced.el (proced-unload-function): New function.
18327 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18328 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18331 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18333 2009-10-11 Juri Linkov <juri@jurta.org>
18335 * files-x.el (read-file-local-variable-value):
18336 Provide default value only for bound variables (bug#4664).
18338 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18340 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18341 connection methods like smb.
18343 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18346 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18347 (tramp-smb-file-name-handler-alist): Add handlers for
18348 `add-name-to-file', `make-symbolic-link'.
18349 (tramp-smb-handle-add-name-to-file)
18350 (tramp-smb-do-file-attributes-with-stat)
18351 (tramp-smb-handle-make-symbolic-link)
18352 (tramp-smb-get-cifs-capabilities): New defuns.
18353 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18354 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18355 (tramp-smb-handle-file-local-copy)
18356 (tramp-smb-handle-make-directory-internal)
18357 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18358 The file name syntax depends on cifs capabilities.
18359 (tramp-smb-handle-file-attributes):
18360 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18361 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18362 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18364 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18366 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18367 (eieio-defclass): Apply deftype handler and setf-method properties
18369 (eieio-add-new-slot): Avoid union function from cl library.
18370 (eieio--typep): New function.
18371 (eieio-perform-slot-validation): Use it.
18373 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18375 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18376 Update documentation to refer to the variables documented in r1.135.
18379 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18381 * bookmark.el (Info-suffix-list): Remove this unused variable.
18382 (bookmark-current-point): Remove this obsolete variable.
18383 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18384 Adjust for removal of bookmark-current-point.
18386 (bookmarks-already-loaded, bookmark-current-buffer)
18387 (bookmark-yank-point): Document. (Bug#4188)
18389 2009-10-10 Glenn Morris <rgm@gnu.org>
18391 * frame.el (frame-height): Doc fix.
18393 * calendar/calendar.el (calendar-split-width-threshold): New option.
18394 (calendar-basic-setup): Use calendar-split-width-threshold.
18396 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18398 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18399 Ideographic Supplement" range (U+1F200..U+1F2FF).
18401 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18403 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18404 since the list will have been rebuilt anyway. (Bug#4349)
18406 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18408 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18409 (bookmark-bmenu-execute-deletions): Don't save here, as
18410 bookmark-delete will now do so if necessary.
18411 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18414 2009-10-09 Glenn Morris <rgm@gnu.org>
18416 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18418 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18420 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18421 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18422 argument now, so the two function's behaviors will match. (Bug#3645)
18424 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18426 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18427 (tramp-file-name-real-host, tramp-file-name-port):
18428 Apply `save-match-data'.
18430 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18431 case both directories are remote.
18432 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18433 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18435 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18437 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18439 2009-10-07 Glenn Morris <rgm@gnu.org>
18441 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18444 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18446 * files-x.el (read-file-local-variable): Include some
18447 non-user-variables in the completion table (bug#4664).
18449 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18451 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18454 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18455 (tramp-smb-file-name-handler-alist): Add handler for
18456 `copy-directory', `expand-file-name', `set-file-modes'.
18457 (tramp-smb-handle-copy-directory)
18458 (tramp-smb-handle-expand-file-name)
18459 (tramp-smb-handle-set-file-modes): New defuns.
18460 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18461 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18463 (tramp-smb-handle-insert-directory): Don't flush the cache.
18464 (tramp-smb-maybe-open-connection): Check for samba client and
18467 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18469 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18470 to not error out of search for "^lisp=" fails.
18472 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18474 * makefile.w32-in (WINS_UPDATES): New macro.
18475 (custom-deps, finder-data, autoloads): Use it.
18477 2009-10-07 Glenn Morris <rgm@gnu.org>
18479 * Makefile.in (autoloads): Revert previous change.
18480 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18481 the list of preloaded files passed on the command-line, get
18482 it from src/Makefile.
18484 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18485 show the original buffer rather than a random one.
18487 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18489 * help.el (describe-no-warranty): Place point in a slightly better
18490 position in the GPLv3 text.
18492 2009-10-06 Sam Steingold <sds@gnu.org>
18494 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18495 the comm attribute is present before calling regexp-quote.
18497 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18499 * play/animate.el (animate-string): For good effect, make sure
18500 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18502 * play/animate.el (animate-sequence, animate-birthday-present):
18503 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18505 2009-10-06 Glenn Morris <rgm@gnu.org>
18507 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18509 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18510 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18511 (batch-update-autoloads): Process a string value of autoload-excludes,
18512 set during the build process.
18513 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18515 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18516 inside with-parsed... macro so that `v' is defined.
18518 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18519 * progmodes/fortran.el (fortran-end-of-block)
18520 (fortran-beginning-of-block):
18521 Also push mark in the macro case.
18523 * emerge.el (emerge-show-file-name):
18524 * calc/calc.el (calc-quit):
18525 * calc/calc-misc.el (calc-big-or-small):
18526 * calc/calc-graph.el (calc-graph-view):
18527 * calc/calc-ext.el (calc-reset):
18528 * calendar/calendar.el (calendar-basic-setup):
18529 Use window-full-height-p.
18531 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18532 header we don't understand, don't insert another. (Bug#4624)
18533 If changing mime charset, insert the new one in the right place.
18535 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18537 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18538 (cal-tex-cursor-month): Correctly increment the end date for diary and
18539 holiday listing. (Bug#4626)
18541 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18543 * help-fns.el (describe-function-1): Don't burp if the function is not
18546 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18548 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18549 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18550 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18551 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18553 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18554 (eieio-default-superclass): Reflow docstrings.
18555 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18556 (eieio-unbind-method-implementations, defmethod)
18557 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18558 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18559 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18560 (eieio-slot-originating-class-p, eieio-slot-name-index)
18561 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18562 (constructor, initialize-instance, no-next-method, object-print)
18563 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18564 Fix typos in docstrings.
18565 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18566 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18567 (next-method-p): Doc fixes.
18568 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18569 Fix typos in error messages.
18570 (eieio-defmethod): Fix typo in description of generic method.
18572 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18573 (eieio-persistent-save-interactive, slot-missing):
18574 Fix typos in docstrings.
18575 (eieio-instance-inheritor-slot-boundp): Doc fix.
18577 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18578 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18580 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18581 (eieio-custom-object-apply-reset):
18582 Fix typos in docstrings and error messages.
18584 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18585 Fix typo in docstring.
18587 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18588 (eieio-browse-tree): Doc fix.
18589 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18590 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18591 Fix typos in docstrings.
18593 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18594 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18595 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18596 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18599 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18601 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18602 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18603 Set log-view-vc-backend so that diff can work.
18605 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18607 (vc-diff-internal): Autoload this instead of vc-version-diff.
18609 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18611 * simple.el (eval-expression): Doc fix.
18613 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18615 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18617 * files.el (directory-files-no-dot-files-regexp): New defconst.
18618 (delete-directory): Use it.
18619 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18621 * net/tramp.el (tramp-verbose): Fix docstring.
18622 (tramp-methods): Add recursive option to `tramp-copy-args'.
18623 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18624 "scp1_old", "scp2_old", "rsync", "rsyncc".
18625 (tramp-default-method): Check also for `auth-source-user-or-password'.
18626 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18627 Add handler for `copy-directory'.
18628 (tramp-handle-copy-directory): New defun.
18629 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18630 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18631 Optimize sent command.
18633 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18635 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18636 window if necessary.
18638 * calendar/calendar.el (calendar-basic-setup): Don't call
18639 switch-to-buffer in a dedicated window.
18641 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18643 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18644 don't do anything related to relocating, just return nil.
18645 (bookmark-error-no-filename): New error.
18646 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18647 bookmark has no file. Don't even attempt to handle things that
18648 are not files; the whole point of custom handlers is to keep that
18649 knowledge elsewhere anyway. Tighten some comments.
18650 (bookmark-file-or-variation-thereof): Remove now-unused function.
18651 (bookmark-location): Doc string fix.
18654 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18656 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18657 don't use a file dialog, because they usually don't know how to read
18658 a directory target from the user. (Bug#4230)
18659 Also, make sure the prompt can display directories as well as files.
18661 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18663 * bookmark.el (bookmark-set, bookmark-buffer-name):
18664 Improve doc strings. (Bug#1193)
18666 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18668 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18669 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18670 (bookmark-get-annotation, bookmark-set-annotation)
18671 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18672 (bookmark-set-position, bookmark-get-front-context-string)
18673 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18674 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18675 (bookmark-jump-other-window, bookmark-handle-bookmark)
18676 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18677 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18678 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18679 Improve doc strings to say whether bookmark can be a string or
18680 a record or both, and make other consistency and clarity fixes.
18681 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18682 (bookmark-default-annotation-text, bookmark-yank-word)
18683 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18684 (bookmark-import-new-list, bookmark-maybe-rename)
18685 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18686 (bookmark-bmenu-bookmark): Give these doc strings.
18687 (bookmark-bmenu-check-position): Give this a doc string, but also
18688 add a FIXME comment about how the function may be pointless.
18689 (bookmark-default-handler): Rework doc string and change a
18690 parameter name, to clarify that this takes a bookmark record
18691 not a bookmark name.
18692 (bookmark-set): Change a parameter name to indicate its meaning,
18693 and improve the doc string a bit.
18696 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18698 * bookmark.el (bookmark-alist): Document the new `handler' element
18699 in the param alist.
18700 (bookmark-make-record-function): Adjust documentation for above.
18703 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18705 * info.el (Info-bookmark-make-record): Document this function.
18706 (Info-bookmark-jump): Document with a doc string, not just a comment.
18709 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18711 * files.el (copy-directory): New defun.
18713 * dired-aux.el (dired-copy-file-recursive): Use it.
18715 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18717 * files-x.el (modify-dir-local-variable)
18718 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18721 * recentf.el (recentf-unload-function): New function.
18723 2009-10-04 Glenn Morris <rgm@gnu.org>
18725 * window.el (window-full-height-p): Add doc string.
18727 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18729 * window.el (window-full-height-p): New function. (Bug#4543)
18731 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18733 * vc.el: Remove commented out code.
18734 (vc-derived-from-dir-mode): Remove, unused.
18735 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18737 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18739 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18740 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18741 there could be recursive loading when `default-directory' is a
18742 remote file name. (Bug#4614)
18744 2009-10-03 Glenn Morris <rgm@gnu.org>
18746 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18748 (calendar-generate-window): Test for shrinkability rather than width.
18750 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18751 reusing existing buffers, in case we happen to visit two files with the
18752 same basename. (Bug#4593)
18754 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18756 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18757 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18758 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18759 subdirs of cedet as well.
18760 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18762 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18764 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18765 Obey advertised-signature-table.
18767 * help-fns.el (help-function-arglist): Don't check
18768 advertised-signature-table.
18769 (describe-function-1): Do it here instead so it also applies to subrs.
18771 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18773 * simple.el (start-file-process): Say in the doc-string, that file
18774 handlers might not support pty association, if PROGRAM is nil.
18776 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18777 HOST and USER are strings. They are nil, when there are
18778 incomplete entries in ~/.netrc, for example.
18779 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18780 root directory ("device busy" error otherwise).
18782 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18783 Flush file properties of created directory.
18785 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18787 * makefile.w32-in (WINS_BASIC): Remove cedet.
18788 (WINS_CEDET): Add cedet.
18789 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18791 2009-10-02 Kevin Ryde <user42@zip.com.au>
18793 * net/browse-url.el (browse-url): Pass any symbol in
18794 browse-url-browser-function to `apply', since if you've mistakenly put
18795 an unbound symbol then the error is clearer. (Bug#4531)
18797 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18799 * allout.el (allout-init, allout-back-to-current-heading)
18800 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18801 (allout-ascend, allout-up-current-level, allout-end-of-level)
18802 (allout-previous-visible-heading, allout-forward-current-level)
18803 (allout-backward-current-level, allout-show-children):
18804 * apropos.el (apropos-describe-plist):
18805 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18806 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18807 * completion.el (add-completion, add-permanent-completion):
18808 * descr-text.el (describe-text-category, describe-char):
18809 * desktop.el (desktop-lazy-abort):
18810 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18811 * dired.el (dired-build-subdir-alist):
18812 * ediff.el (ediff-version):
18813 * elide-head.el (elide-head, elide-head-show):
18814 * emerge.el (emerge-version):
18816 * face-remap.el (variable-pitch-mode):
18817 * faces.el (describe-face):
18818 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18820 * files.el (find-file-existing, auto-save-mode):
18821 * font-lock.el (font-lock-fontify-buffer):
18822 * help-fns.el (describe-function, describe-variable)
18823 (describe-syntax, describe-categories):
18824 * help.el (view-lossage, describe-bindings, describe-key)
18826 * hexl.el (hexl-current-address):
18827 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18828 * info.el (Info-goto-emacs-key-command-node):
18829 * log-edit.el (log-edit-insert-cvs-template)
18830 (log-edit-insert-cvs-rcstemplate):
18831 * menu-bar.el (menu-bar-mode):
18832 * mouse.el (mouse-appearance-menu):
18833 * newcomment.el (comment-indent-new-line):
18834 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18835 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18836 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18837 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18838 * recentf.el (recentf-mode):
18839 * savehist.el (savehist-mode, savehist-save):
18840 * shadowfile.el (shadow-copy-files):
18841 * simple.el (kill-ring-save, next-line, previous-line)
18842 (normal-erase-is-backspace-mode):
18843 * strokes.el (strokes-update-window-configuration)
18844 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18845 (strokes-xpm-for-stroke):
18846 * time.el (emacs-uptime, emacs-init-time):
18847 * tutorial.el (tutorial--describe-nonstandard-key)
18848 (tutorial--detailed-help):
18849 * type-break.el (type-break-mode)
18850 (type-break-mode-line-message-mode, type-break-query-mode)
18851 (type-break-guesstimate-keystroke-threshold):
18852 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18853 * version.el (emacs-version):
18854 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18855 * winner.el (winner-mode):
18856 * calendar/timeclock.el (timeclock-in, timeclock-out)
18857 (timeclock-status-string, timeclock-change)
18858 (timeclock-workday-remaining-string)
18859 (timeclock-workday-elapsed-string)
18860 (timeclock-when-to-leave-string):
18861 * calendar/todo-mode.el (todo-add-category):
18862 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18863 * emacs-lisp/autoload.el (update-file-autoloads):
18864 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18865 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18866 (checkdoc-message-text, checkdoc-defun):
18867 * emacs-lisp/debug.el (debugger-list-functions):
18868 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18869 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18870 (eieio-describe-generic):
18871 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18872 * emacs-lisp/shadow.el (list-load-path-shadows):
18873 * emulation/cua-base.el (cua-mode):
18874 * emulation/edt.el (edt-set-scroll-margins):
18875 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18876 (tpu-toggle-regexp, tpu-toggle-search-direction)
18877 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18878 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18879 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18880 (viper-set-parsing-style-toggling-macro)
18881 (viper-set-emacs-state-searchstyle-macros):
18882 * emulation/viper.el (viper-set-hooks):
18883 * eshell/esh-mode.el (eshell-truncate-buffer):
18884 * international/mule-cmds.el (prefer-coding-system)
18885 (describe-input-method, describe-language-environment):
18886 * international/mule-diag.el (list-character-sets)
18887 (describe-character-set, describe-coding-system)
18888 (describe-fontset, list-fontsets, list-input-methods):
18889 * mail/sendmail.el (mail-signature):
18890 * net/ange-ftp.el (ange-ftp-copy-file):
18891 * net/browse-url.el (browse-url):
18892 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18893 * net/quickurl.el (quickurl-add-url):
18894 * net/rcirc.el (names, topic):
18895 * net/xesam.el (xesam-mode):
18896 * play/5x5.el (5x5-new-game):
18897 * play/yow.el (apropos-zippy):
18898 * progmodes/ada-mode.el (ada-mode-version):
18899 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18901 (f90-beginning-of-block):
18902 * progmodes/fortran.el (fortran-end-of-block)
18903 (fortran-beginning-of-block):
18904 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18905 * progmodes/python.el (python-describe-symbol, python-shell):
18906 * term/ns-win.el (ns-print-buffer):
18907 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18908 * textmodes/flyspell.el (flyspell-mode-on):
18909 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18910 (pages-directory-for-addresses):
18911 * textmodes/table.el (table-recognize-cell)
18912 (table-query-dimension, table-generate-source)
18913 (table-insert-sequence, table--warn-incompatibility):
18914 * textmodes/tex-mode.el (tex-validate-buffer):
18915 * textmodes/texinfmt.el (texinfmt-version)
18916 (texinfo-format-buffer):
18917 Use `called-interactively-p' instead of `interactive-p'.
18919 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18921 * image-mode.el (image-toggle-display):
18922 * emacs-lisp/elp.el (elp-instrument-function):
18923 * emacs-lisp/advice.el (ad-make-advised-definition):
18924 * emacs-lisp/easy-mmode.el (define-minor-mode):
18925 * net/browse-url.el (browse-url-maybe-new-window):
18926 * progmodes/sh-script.el (sh-learn-buffer-indent):
18927 Pass new argument 'any to `called-interactively-p'.
18929 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18931 * international/uni-bidi.el:
18932 * international/uni-category.el:
18933 * international/uni-combining.el:
18934 * international/uni-comment.el:
18935 * international/uni-decimal.el:
18936 * international/uni-decomposition.el:
18937 * international/uni-digit.el:
18938 * international/uni-lowercase.el:
18939 * international/uni-mirrored.el:
18940 * international/uni-name.el:
18941 * international/uni-numeric.el:
18942 * international/uni-old-name.el:
18943 * international/uni-titlecase.el:
18944 * international/uni-uppercase.el:
18945 Regenerate from Unicode 5.2.0 data.
18947 2009-10-01 Glenn Morris <rgm@gnu.org>
18949 * Makefile.in (ELCFILES): Regenerate.
18951 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18953 * subr.el (interactive-p): Mark obsolete.
18954 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18955 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18956 advertised-signature-table for subroutines as well.
18958 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18959 (set-advertised-calling-convention): New function.
18960 (make-obsolete, define-obsolete-function-alias)
18961 (make-obsolete-variable, define-obsolete-variable-alias):
18962 Make the optional-ness of `when' obsolete.
18963 (define-obsolete-face-alias): Make `when' non-optional.
18964 * help-fns.el (help-function-arglist):
18965 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18966 Use advertised-signature-table.
18968 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18970 * files.el (delete-directory): New defun. The original function
18971 in fileio.c has been renamed to `delete-directory-internal'.
18973 * dired.el (dired-delete-file): Call `delete-directory' with
18974 RECURSIVE parameter.
18976 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18977 parameter RECURSIVE. Implementation is missing.
18979 * net/tramp.el (tramp-handle-make-directory): Flush upper
18980 directory's file properties.
18981 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18982 (tramp-handle-dired-recursive-delete-directory): Flush directory
18983 properties after the remove command only.
18985 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18986 Handle optional parameter RECURSIVE.
18988 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18989 Handle optional parameter RECURSIVE.
18991 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18992 connection timeout.
18993 (tramp-smb-handle-delete-directory): Handle optional parameter
18996 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18998 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18999 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
19000 (byte-compile-defmacro): Use backquotes.
19002 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
19004 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
19005 has no associated file.
19006 (vc-resynch-buffer): Use vc-dir-buffers.
19008 2009-10-01 Glenn Morris <rgm@gnu.org>
19010 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
19011 (chart-file-count):
19012 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
19013 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
19014 * emacs-lisp/eieio-opt.el (eieio-describe-class):
19015 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
19016 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
19017 (eieio-copy-parents-into-subclass, make-instance, class-children)
19018 (eieio-generic-form):
19020 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
19021 match-data. (Bug#4555).
19023 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
19024 rather than parsing it as a regexp. This relaxes the layout
19025 requirements and makes errors easier to detect.
19026 (check-declare-verify): Check file is regular.
19027 (check-declare-directory): Doc fix.
19028 * subr.el (declare-function): Doc fix.
19030 * ibuffer.el (ibuffer-format-qualifier):
19031 * isearch.el (hi-lock-regexp-okay):
19032 * calc/calc.el (math-zerop):
19033 * mail/uce.el (rmail-msgbeg, rmail-msgend):
19034 * term/w32-win.el (setup-default-fontset, set-fontset-font):
19035 Remove unused declarations.
19037 2009-09-30 Eric Ludlam <zappo@gnu.org>
19039 * emacs-lisp/eieio.el (boolean-p): Delete.
19041 2009-09-30 Glenn Morris <rgm@gnu.org>
19043 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
19045 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
19046 filename is not a string.
19048 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
19050 * files.el (safe-local-eval-forms): Fix typo.
19052 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
19054 * vc-hooks.el (vc-dir-buffers): New var.
19055 (vc-state-refresh): New function.
19056 (vc-state): Use it.
19057 (vc-after-save): Always ask the backend to recompute the new state.
19058 Always call vc-dir if necessary, using vc-dir-buffers.
19059 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
19060 Use vc-dir-buffers.
19061 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
19062 (vc-dir-prepare-status-buffer, vc-dir-update)
19063 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
19064 Don't call expand-file-name on default-directory.
19066 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19068 * speedbar.el (speedbar-item-delete):
19069 * calc/calc-prog.el (calc-kbd-if):
19070 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
19072 * epa.el (epa-key-list-mode-map):
19073 * hi-lock.el (hi-lock-menu): Fix typos in menus.
19075 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
19076 (hs-show-hook): Fix typo in docstring.
19078 2009-09-29 Glenn Morris <rgm@gnu.org>
19080 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
19081 file-name-nondirectory call preventing location of cedet files.
19082 (check-declare-verify): Use literal search rather than re-search.
19083 Add basic defmethod and defclass, and define-overloadable-function.
19085 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19086 Use tramp-compat-file-attributes rather than nonexistent
19087 tramp-compat-handle-file-attributes.
19089 * Makefile.in (lisptagsfiles4): New.
19090 (AUTOGENEL): Add cedet loaddefs files.
19091 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
19092 (update-elclist, compile-always, backup-compiled-files)
19093 (bootstrap-clean): Add yet another directory level.
19094 (update-elclist): Use LC_COLLATE rather than COLLATE.
19095 (ELCFILES): Update, via `make update-elclist'.
19097 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19099 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
19100 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
19101 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
19103 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
19105 * Makefile.in (lisptagsfiles3): Define.
19106 (TAGS, TAGS-LISP): Use it.
19107 (update-elclist): Add third directory level to look for elc files.
19108 (compile-always): Likewise.
19109 (backup-compiled-files): Likewise.
19110 (bootstrap-clean): Likewise.
19111 (ELCFILES): Update.
19113 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
19115 * Makefile.in (ELCFILES): Add CEDET files.
19117 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
19119 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
19121 * net/tramp.el (top): Require tramp-imap.
19123 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19124 Use `tramp-compat-handle-file-attributes'.
19126 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
19128 * net/tramp-imap.el: New package.
19130 2009-09-28 Eric Ludlam <zappo@gnu.org>
19132 * emacs-lisp/chart.el:
19133 * emacs-lisp/eieio-base.el:
19134 * emacs-lisp/eieio-comp.el:
19135 * emacs-lisp/eieio-custom.el:
19136 * emacs-lisp/eieio-datadebug.el:
19137 * emacs-lisp/eieio-opt.el:
19138 * emacs-lisp/eieio-speedbar.el:
19139 * emacs-lisp/eieio.el: New files.
19141 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19143 * whitespace.el (whitespace-trailing-regexp)
19144 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
19147 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
19149 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
19152 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
19153 menu-bar-ediff-menu.
19155 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19156 define-overloadable-function.
19158 * progmodes/autoconf.el: Provide autoconf as well, so that this
19159 file can be `require'd.
19161 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19163 * emacs-lisp/autoload.el (generated-autoload-feature)
19164 (generated-autoload-load-name): New vars.
19165 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19166 (make-autoload): Recognize define-overloadable-function and
19167 defclass forms (for EIEIO).
19169 * Makefile.in (update-subdirs): Exclude cedet directory.
19171 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19173 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19175 * faces.el: Default light-background background for region face to
19176 ns_selection_color under NS.
19178 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19180 * net/imap-hash.el: New library, see NEWS.
19182 * Makefile.in (ELCFILES): Add imap-hash.el.
19184 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19186 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19187 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19188 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19189 definition where the docstring could be taken for the return value.
19191 2009-09-26 Glenn Morris <rgm@gnu.org>
19193 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19194 Add option to only show images below a certain size.
19195 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19196 save-excursion calls.
19198 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19200 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19201 subdirectories) and eieio.
19203 2009-09-26 Alan Mackenzie <acm@muc.de>
19205 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19206 Correct buggy bracketing. (Bug#4289)
19208 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19209 character constants (as case labels). (Bug#4289)
19211 2009-09-25 Juri Linkov <juri@jurta.org>
19213 * files.el (safe-local-eval-forms): Allow time-stamp in
19214 before-save-hook (Bug#4554).
19216 2009-09-25 Drew Adams <drew.adams@oracle.com>
19218 * menu-bar.el (list-buffers-directory): Doc fix.
19220 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19222 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19223 Try and avoid copying twice the same paragraph.
19224 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19225 Remove save-excursion.
19226 (log-edit-changelog-entry): Do it here instead.
19228 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19230 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19231 when available, instead of hardcoding mode names. Doc fix.
19233 * menu-bar.el (list-buffers-directory): Add docstring.
19234 Make automatically buffer-local.
19236 * dired.el (dired-mode):
19237 * files.el (cd-absolute):
19238 * pcvs.el (cvs-temp-buffer):
19239 * pcvs-util.el (cvs-get-buffer-create):
19240 * shell.el (shell-mode):
19241 * vc-dir.el (vc-dir-mode):
19242 Don't make `list-buffers-directory' buffer local.
19244 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19246 * comint.el (comint-exec, comint-run, make-comint):
19247 Doc fixes (Bug#4542).
19249 2009-09-25 Glenn Morris <rgm@gnu.org>
19251 * mail/rmailmm.el (rmail-mime): New custom group.
19252 Move all defcustoms in this file into this group.
19253 (rmail-mime-media-type-handlers-alist): Revert previous change.
19254 (rmail-mime-show-images): New option.
19255 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19256 references to it, since it wasn't actually used for anything.
19257 (rmail-mime-insert-image): New function.
19258 (rmail-mime-image): Use rmail-mime-insert-image.
19259 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19260 obey the value of `rmail-mime-show-images' option. Print the size of
19263 2009-09-25 David Engster <deng@randomsample.de>
19265 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19267 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19269 * whitespace.el: Does not highlight trailing spaces While point is
19270 at end of line. Does not highligt spaces at beginning of buffer
19271 while point is at beginning of buffer. Does not highlight spaces
19272 at end of buffer while point is at end of buffer. (Bug#4177)
19274 (whitespace-display-mappings): Adjust initialization.
19275 (whitespace-point, whitespace-font-lock-refontify): New vars.
19276 (whitespace-color-on, whitespace-color-off): Adjust code.
19277 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19278 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19279 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19281 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19283 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19285 * textmodes/sgml-mode.el: Remove xml-mode alias.
19287 * files.el (auto-mode-alist, conf-mode-maybe)
19288 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19290 2009-09-24 Alan Mackenzie <acm@muc.de>
19292 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19293 c-forward-conditionals, but it doesn't move point and doesn't set
19295 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19296 (c-down-conditional-with-else, c-backward-conditional)
19297 (c-forward-conditional): Refactor to use c-scan-conditionals.
19299 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19301 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19302 (help-default-arg-highlight): Remove.
19303 (help-highlight-arg): New function.
19304 (help-do-arg-highlight): Use it.
19305 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19307 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19309 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19310 Undo last change, which didn't fix the problem and introduced others.
19312 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19314 * progmodes/gdb-mi.el: Don't require speedbar.
19315 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19317 2009-09-24 Glenn Morris <rgm@gnu.org>
19319 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19321 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19323 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19324 there is no newline after the final mime boundary. (Bug#4539)
19325 Move markers on insertion so that any buttons inserted don't end up in
19326 the next part of a multipart message.
19327 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19328 (rmail-mime-bulk-handler): Optionally handle images.
19329 (rmail-mime-image): New button action.
19330 (rmail-mime-image-handler): New function.
19331 (rmail-mime-mode): New mode.
19332 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19334 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19336 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19337 than just dropping elements from it (bug#4504).
19339 * term.el (term-set-scroll-region): Don't move cursor any more.
19340 (term-handle-ansi-escape): Call term-goto here instead.
19341 Suggested by Ivan Kanis <apple@kanis.eu>.
19343 * term.el: Require CL.
19344 (term-ansi-reset): New function.
19345 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19346 (term-handle-colors-array): Simplify.
19348 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19350 * allout.el (allout-overlay-interior-modification-handler)
19351 (allout-obtain-passphrase):
19352 * epa-file.el (epa-file-write-region):
19353 * ps-print.el (ps-begin-job):
19354 * vc-hooks.el (vc-toggle-read-only):
19355 * vc-rcs.el (vc-rcs-rollback):
19356 * vc-sccs.el (vc-sccs-rollback):
19357 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19358 (vc-version-diff, vc-revert, vc-rollback):
19359 * wdired.el (wdired-check-kill-buffer):
19360 * emacs-lisp/authors.el (authors):
19361 * net/socks.el (socks-open-connection):
19362 * net/zeroconf.el (zeroconf-service-add-hook):
19363 * obsolete/vc-mcvs.el (vc-mcvs-register):
19364 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19365 (gdb-select-frame):
19366 * progmodes/grep.el (lgrep, rgrep):
19367 * progmodes/idlw-help.el (idlwave-help-check-locations)
19368 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19369 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19370 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19371 (reftex-toc-rename-label): Fix typos in error messages.
19373 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19374 (dired-copy-how-to-fn): Doc fix.
19375 (dired-files-attributes, dired-read-shell-command):
19376 Fix typos in docstrings.
19378 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19379 (dired-x-find-file-other-window): Reflow docstrings.
19380 (dired-omit-marker-char, dired-read-shell-command)
19381 (dired-x-submit-report): Fix typos in docstrings.
19383 * shell.el (shell-mode-hook):
19384 * view.el (View-scroll-line-forward):
19385 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19386 Fix typos in docstrings.
19388 * net/dig.el (dig-invoke): Fix typo in docstring.
19389 (query-dig): Reflow docstring.
19391 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19392 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19393 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19394 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19395 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19396 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19397 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19398 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19399 (idlwave-completion-map, idlwave-current-indent)
19400 (idlwave-custom-ampersand-surround, idlwave-customize)
19401 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19402 (idlwave-define-abbrev, idlwave-determine-class-special)
19403 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19404 (idlwave-end-block-reg, idlwave-end-of-statement)
19405 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19406 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19407 (idlwave-explicit-class-listed, idlwave-file-header)
19408 (idlwave-fill-paragraph, idlwave-find-class-definition)
19409 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19410 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19411 (idlwave-in-quote, idlwave-indent-action-table)
19412 (idlwave-indent-expand-table, idlwave-indent-line)
19413 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19414 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19415 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19416 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19417 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19418 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19419 (idlwave-outlawed-buffers, idlwave-popup-select)
19420 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19421 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19422 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19423 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19424 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19425 (idlwave-statement-type, idlwave-struct-skip)
19426 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19427 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19428 (idlwave-what-module-find-class): Fix typos in docstrings.
19429 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19430 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19431 (idlwave-find-module, idlwave-find-structure-definition)
19432 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19433 (idlwave-list-load-path-shadows, idlwave-next-statement)
19434 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19435 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19436 (idlwave-template): Reflow docstrings.
19438 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19439 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19440 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19441 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19442 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19443 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19444 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19445 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19446 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19447 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19448 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19449 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19450 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19451 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19452 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19453 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19454 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19455 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19456 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19457 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19458 Fix typos in docstrings.
19459 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19460 (idlwave-shell-hide-output, idlwave-shell-mode)
19461 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19464 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19466 2009-09-24 Ivan Kanis <apple@kanis.eu>
19468 * term.el (term-bold-attribute): New var.
19469 (term-handle-colors-array): Use it.
19471 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19473 * progmodes/gdb-mi.el (gdb-version): New variable.
19474 (gdb-non-stop-handler): Set gdb-version.
19475 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19476 Condition "--thread" option on gdb-version.
19477 (gdb-invalidate-threads): Remove unused argument.
19479 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19481 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19482 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19484 2009-09-23 Glenn Morris <rgm@gnu.org>
19486 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19487 replying to mail without References or Message-Id. (Bug#4525)
19489 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19491 * term/ns-win.el (ns-reg-to-script): New variable.
19493 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19495 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19497 2009-09-22 Sam Steingold <sds@gnu.org>
19499 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19500 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19501 to 1 because hg returns status 1 when nothing is found.
19502 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19504 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19506 * textmodes/fill.el: Convert to utf-8 encoding.
19507 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19510 * add-log.el (change-log-fill-forward-paragraph): New function.
19511 (change-log-mode): Use it so fill-region DTRT.
19512 Set fill-indent-according-to-mode here rather than in
19513 change-log-fill-paragraph.
19514 (change-log-fill-paragraph): Remove.
19516 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19518 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19519 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19521 2009-09-22 Glenn Morris <rgm@gnu.org>
19523 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19524 the scroll-bar scroll the calendar window rather than the buffer.
19526 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19527 commands that move point (as opposed to scrolling).
19529 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19531 * emacs-lisp/elint.el (elint): New custom group.
19532 (elint-log-buffer): Make it a defcustom.
19533 (elint-scan-preloaded, elint-ignored-warnings)
19534 (elint-directory-skip-re): New options.
19535 (elint-builtin-variables): Doc fix.
19536 (elint-preloaded-env): New variable.
19537 (elint-unknown-builtin-args): Add an entry for encode-time.
19538 (elint-extra-errors): Make it a variable rather than a constant.
19539 (elint-preloaded-skip-re): New constant.
19540 (elint-directory): Skip files matching elint-directory-skip-re.
19541 (elint-features): New variable, local to linted buffers.
19542 (elint-update-env): Initialize elint-features. Possibly add
19543 elint-preloaded-env to the buffer's environment.
19544 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19546 (elint-init-form): New function, extracted from elint-init-env.
19547 Make non-list forms a warning rather than an error.
19548 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19549 easy-menu-define, put that adds an error-condition, and provide.
19550 When requiring cl, also require cl-macs. Really require cl, to handle
19551 some cl macros. Store required libraries in the list elint-features,
19552 so as not to re-load them. Treat cc-require like require.
19553 (elint-init-env): Call elint-init-form to do the work.
19554 Handle eval-and-compile and such like.
19555 (elint-add-required-env): Do not clear messages.
19556 (elint-special-forms): Add handlers for function, defalias, if, when,
19558 (elint-form): Add optional argument to ignore elint-special-forms,
19559 useful to prevent recursive calls from handlers. Doc fix.
19560 Respect elint-ignored-warnings.
19561 (elint-form): Respect elint-ignored-warnings.
19562 (elint-bound-variable, elint-bound-function): New variables.
19563 (elint-unbound-variable): Respect elint-bound-variable.
19564 (elint-get-args): Respect elint-bound-function.
19565 (elint-check-cond-form): Add some simple handling for (f)boundp and
19567 (elint-check-defalias-form): New handler.
19568 (elint-check-let-form): Make an empty let a warning rather than an
19570 (elint-check-setq-form): Make an empty setq a warning rather than an
19571 error. Respect elint-ignored-warnings.
19572 (elint-check-defvar-form): Accept null doc-strings.
19573 (elint-check-conditional-form): New handler. Does some simple-minded
19574 checking of featurep and (f)boundp tests.
19575 (elint-put-function-args): New function.
19576 (elint-initialize): Use elint-scan-doc-file rather than
19577 elint-find-builtin-variables. Use elint-put-function-args.
19578 Possibly scan preloaded-file-list.
19579 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19580 extend to handle functions as well.
19582 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19584 * linum.el (linum-delete-overlays, linum-update-window):
19585 Do not modify the right margin. (Bug#3971)
19587 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19589 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19590 Use nxml-mode instead of xml-mode.
19592 2009-09-21 Kevin Ryde <user42@zip.com.au>
19594 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19596 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19598 * net/dig.el (dig-mode): Use define-derived-mode.
19600 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19602 * vc-dispatcher.el (vc-do-command): Return the process object in
19603 the asynchronous case. Use when instead of if. Do not run
19604 vc-exec-after to display a message if not enabled. (Bug#4463)
19606 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19607 properties to the stash strings.
19608 (vc-git-stash-list): Return a list of strings.
19609 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19610 (vc-git-stash-show-at-point): New functions.
19611 (vc-git-stash-map): New keymap.
19613 * register.el (ctl-x-r-map): Define the keys here instead of
19616 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19618 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19619 list, to workaround performance problem (bug#4485).
19621 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19623 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19625 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19627 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19628 Document that this option is not recommended to use.
19630 2009-09-19 Glenn Morris <rgm@gnu.org>
19632 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19635 * calc/calc-alg.el (var):
19636 * calc/calcalg2.el (var): Define for compiler.
19638 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19640 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19641 Doc fix (Bug#3932).
19643 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19645 * time-stamp.el (time-stamp-month-dd-yyyy)
19646 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19647 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19648 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19649 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19650 Remove functions that have been obsolete since 1995 (Bug#4436).
19652 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19653 indent buffer only if called interactively (Bug#4452).
19655 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19656 Eli Zaretskii <eliz@gnu.org>
19658 This fixes bug#4197 (merged to bug#865, though not identical).
19659 * server.el (server-auth-dir): Add docstring note about FAT32.
19660 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19661 but warn against using them.
19663 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19665 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19666 older GDB where there is no has_more field.
19668 2009-09-19 Glenn Morris <rgm@gnu.org>
19670 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19672 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19674 * files.el (auto-mode-alist): Change default for XML files to nXML
19677 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19679 * server.el (server-ensure-safe-dir): Pass 'integer
19680 to `file-attributes', as suggested.
19682 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19684 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19685 (dired-query): Use read-key.
19687 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19689 * cus-start.el (ns-use-qd-smoothing): Remove.
19691 2009-09-18 Glenn Morris <rgm@gnu.org>
19693 * allout.el (top-level): Remove unnecessary progn.
19695 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19697 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19698 definition of abbrev table.
19700 * speedbar.el (speedbar-track-mouse):
19701 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19702 * net/eudc.el (eudc-expand-inline):
19703 * net/newst-backend.el (newsticker--cache-read-feed):
19704 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19705 condition-case handlers.
19707 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19709 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19710 (gdb-var-list): Add an element for has_more field.
19711 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19712 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19713 (gdb-var-update-handler-1): Parse output of dynamic variable
19714 objects (STL containers).
19715 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19716 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19718 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19720 (gud-speedbar-buttons): Make node expandable if expression "has more"
19723 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19725 * startup.el (emacs-quick-startup): Remove variable and all uses.
19726 (command-line): Set `inhibit-x-resources' instead.
19727 (command-line-1): Use `inhibit-x-resources' instead.
19729 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19731 * subr.el: Fix last change to avoid using the `unless' macro,
19732 which breaks bootstrapping.
19734 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19736 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19737 extended definitions, in case we reload subr.el after having
19739 (eval-next-after-load): Mark as obsolete.
19741 2009-09-17 Juri Linkov <juri@jurta.org>
19743 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19744 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19745 (menu-bar-showhide-menu, menu-bar-tools-menu)
19746 (menu-bar-describe-menu, menu-bar-help-menu)
19747 (minibuffer-local-completion-map, minibuffer-local-map):
19750 2009-09-17 Glenn Morris <rgm@gnu.org>
19752 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19753 arguments, whether or not it has a handler.
19755 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19757 * simple.el (hard-newline): Give it a doc-string.
19759 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19760 (lisp-mode-syntax-table): Give them doc-strings.
19762 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19764 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19765 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19766 (menu-bar-options-menu, menu-bar-showhide-menu)
19767 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19768 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19769 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19770 (menu-bar-options-menu, menu-bar-tools-menu)
19771 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19772 (menu-bar-help-menu):
19773 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19776 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19777 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19778 calls for the menu names and :help.
19780 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19782 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19783 to :minor-mode-function (bug#4455).
19785 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19787 * startup.el (command-line): Initialize the window-system after
19788 processing the command-line.
19790 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19791 page-delimiter matches the empty string.
19793 2009-09-16 Glenn Morris <rgm@gnu.org>
19795 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19796 byte-compile-not-obsolete-var. It's a list now.
19797 (byte-compile-not-obsolete-funcs): New variable.
19798 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19799 byte-compile-not-obsolete-funcs.
19800 (byte-compile-variable-ref, byte-compile-defvar): Update for
19801 byte-compile-not-obsolete-vars name-change and list nature.
19802 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19803 and variables behind (f)boundp tests.
19804 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19806 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19808 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19810 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19812 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19813 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19816 2009-09-15 Stephen Eglen <stephen@gnu.org>
19818 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19819 the virtual-buffers, use the name of the buffer specified by
19820 find-file-noselect, as the match may be a symlink. (This was a
19821 problem if the target and the symlink had different names.)
19823 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19825 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19827 * desktop.el (desktop-path): Check user-emacs-directory.
19829 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19831 * loadup.el: Use after-load-functions to GC after loading each file.
19832 Remove the explicit GC calls that used to be sprinkled around.
19834 * subr.el (after-load-functions): New hook.
19835 (do-after-load-evaluation): Run it. Use string-match-p to detect
19836 `obsolete' packages, rather than painfully extracting the relevant
19839 2009-09-15 Glenn Morris <rgm@gnu.org>
19841 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19842 free variable `doc'.
19844 * dired.el (dired-mode-map): Add menu entry for async shell command.
19846 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19847 variables, also consider the .elc files, since the .el files are
19848 normally gzipped (subsequent code locates the .el.gz from the .elc).
19850 * calc/calc-prog.el (arglist): Define for compiler.
19852 * calendar/diary-lib.el (diary-display-function): Change the default to
19854 (body): Define for compiler.
19856 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19857 (byte-compile-file-form, byte-compile-lambda)
19858 (byte-compile-top-level-body, byte-compile-form)
19859 (byte-compile-variable-ref, byte-compile-setq)
19860 (byte-compile-setq-default, byte-compile-body)
19861 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19862 (batch-byte-compile): Give some more local variables with common names
19863 a "bytecomp-" prefix to avoid masking warnings about free variables.
19865 * startup.el (command-line-1): Give local variables with common names a
19866 distinguishing prefix, so as not to hide free variable warnings during
19869 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19870 clever and add a suffix to make a unique name, just let the user decide
19871 whether or not to overwrite it. If the input is a directory, write the
19872 default filename to that directory. (Bug#4388)
19873 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19874 is a filename-as-a-directory.
19876 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19878 * textmodes/page.el (what-page): Don't move to beginning of line.
19879 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19881 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19883 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19885 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19887 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19888 * help.el (help-for-help-internal): Add purecopy calls for text.
19890 * vc.el (top): print-log method now takes an optional SHORTLOG
19891 argument. Add a new method: root.
19892 (vc-root-diff, vc-print-root-log): New functions.
19893 (vc-log-short-style): New variable.
19894 (vc-print-log-internal): Add support for showing short logs.
19896 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19897 vc-print-root-log and vc-print-root-diff.
19899 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19900 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19901 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19904 * vc-cvs.el (vc-cvs-print-log):
19905 * vc-mtn.el (vc-mtn-print-log):
19906 * vc-rcs.el (vc-rcs-print-log):
19907 * vc-sccs.el (vc-sccs-print-log):
19908 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19909 that is ignored for now.
19911 * vc-mtn.el (vc-mtn-annotate-command):
19912 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19914 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19916 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19917 to function-key-map, and give them ascii-character property.
19918 * term/x-win.el (x-alternatives-map):
19919 * term/ns-win.el (ns-alternatives-map):
19920 * term/internal.el (msdos-key-remapping-map):
19921 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19923 2009-09-14 Glenn Morris <rgm@gnu.org>
19925 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19926 temp-buffers (2009-09-12).
19928 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19930 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19931 the new read-key function.
19933 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19935 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19936 is defined (Bug#4405).
19938 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19940 * recentf.el (recentf-cleanup): Use a hash table to find
19941 duplicates (Bug#4407).
19943 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19945 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19946 kp-0 to ascii equivalents (Bug#4325).
19948 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19950 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19952 * eshell/em-hist.el:
19953 * eshell/em-dirs.el (eshell-complete-user-reference):
19954 Declare pcomplete functions and variables to avoid compiler warnings.
19956 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19958 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19959 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19960 * eshell/em-alias.el (eshell-aliases-file):
19961 * eshell/em-hist.el (eshell-history-file-name):
19962 Use expand-file-name instead of concat to make file names (Bug#4308).
19964 2009-09-13 Glenn Morris <rgm@gnu.org>
19966 * ediff-merg.el (ediff-do-merge):
19967 * filesets.el (filesets-run-cmd):
19968 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19969 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19970 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19971 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19972 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19973 Replace empty `let's with `progn'.
19975 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19977 * mail/sendmail.el (send-mail-function):
19978 * tooltip.el (tooltip-mode):
19979 * simple.el (transient-mark-mode):
19980 * rfn-eshadow.el (file-name-shadow-mode):
19981 * frame.el (blink-cursor-mode):
19982 * font-core.el (global-font-lock-mode):
19983 * files.el (temporary-file-directory)
19984 (small-temporary-file-directory, auto-save-file-name-transforms):
19985 * epa-hook.el (auto-encryption-mode):
19986 * composite.el (global-auto-composition-mode):
19987 Use custom-initialize-delay.
19988 * startup.el (command-line): Don't explicitly call
19989 custom-reevaluate-setting for all the above vars.
19990 * custom.el (custom-initialize-safe-set)
19991 (custom-initialize-safe-default): Delete.
19993 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19995 * term/x-win.el (x-initialize-window-system):
19996 * term/w32-win.el (w32-initialize-window-system):
19997 * term/ns-win.el (ns-initialize-window-system): Don't call
19998 mouse-wheel-mode since it's enabled globally by default already.
20000 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
20001 actually define the variable, but only silences the byte-compiler.
20002 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
20003 before looking it up.
20004 (mouse-wheel-scroll-amount): Also reset the bindings if this value
20007 2009-09-12 Glenn Morris <rgm@gnu.org>
20009 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
20011 (elint-add-required-env): Don't beep on error.
20012 (elint-forms): In case of error, return ENV unchanged.
20013 (elint-init-env): Skip non-list forms.
20014 (elint-log): Handle unknown file positions.
20016 2009-09-12 Daiki Ueno <ueno@unixuser.org>
20018 * epg.el (epg-make-context): Add autoload cookie.
20019 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
20020 (epg-decrypt-string, epg-start-verify, epg-verify-file)
20021 (epg-verify-string, epg-start-sign, epg-sign-file)
20022 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
20023 (epg-encrypt-string, epg-start-export-keys)
20024 (epg-export-keys-to-file, epg-export-keys-to-string)
20025 (epg-start-import-keys, epg-import-keys-from-file)
20026 (epg-import-keys-from-string, epg-start-receive-keys)
20027 (epg-receive-keys, epg-import-keys-from-server)
20028 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
20029 (epg-sign-keys, epg-start-generate-key)
20030 (epg-generate-key-from-file, epg-generate-key-from-string):
20031 Remove autoload cookie.
20033 2009-09-12 Eli Zaretskii <eliz@gnu.org>
20035 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
20036 reevaluation of trash-directory.
20038 * mwheel.el: Fix last change.
20039 (mouse-wheel-mode): New defvar.
20040 (mouse-wheel-mode): Remove autoload cookie.
20042 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20044 * mwheel.el (mwheel-installed-bindings): New var.
20045 (mouse-wheel-mode): Use it, so as to make sure we really remove all
20046 the bindings we set last time. Use custom-initialize-delay.
20047 * loadup.el: Load mwheel after term/*-win.el.
20048 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
20049 and mouse-wheel-up-event now that their first evaluation is done
20050 sufficiently late to be correct.
20052 * startup.el (tutorial-directory): Make it a defcustom.
20053 Use custom-initialize-delay rather than eval-at-startup to set it.
20054 * image.el (image-load-path): Make it a defcustom.
20055 Use custom-initialize-delay rather than eval-at-startup to set it.
20056 * subr.el (eval-at-startup): Remove.
20057 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
20059 * subr.el (do-after-load-evaluation): Warn the user after loading an
20062 2009-09-12 Glenn Morris <rgm@gnu.org>
20064 * proced.el (proced-mark-alt): Remove alias.
20065 (proced-mode-map): Remove proced-mark-alt.
20067 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
20068 Elint file and directory. Remove initialization entry.
20070 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
20072 (elint-current-buffer): Set mode-line-process.
20073 (elint-init-env): Handle define-derived-mode.
20074 Fix declare-function with unspecified arglist. Guard against odd
20075 defalias statements (eg iso-insert's 8859-1-map).
20076 (elint-add-required-env): Use a temp buffer.
20077 (elint-form): Just print the function/macro name, not the whole form.
20078 Return env unchanged if we fail to parse a macro.
20079 (elint-forms): Guard against parse errors.
20080 (elint-output): New function, to handle batch mode.
20081 (elint-log-message): Add optional argument. Use elint-output.
20082 (elint-set-mode-line): New function.
20084 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
20086 * emacs-lisp/elp.el (elp-not-profilable): Add more
20087 functions (Bug#4233).
20089 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
20091 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
20092 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
20094 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20096 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
20097 (gdb-var-list-children): Use json parsing.
20099 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
20101 * progmodes/js.el (js--proper-indentation): Handle the case where
20102 char-before is null. Reported by Deniz Dogan.
20104 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20106 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
20108 2009-09-11 Daiki Ueno <ueno@unixuser.org>
20110 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
20111 (epg-digest-algorithm-alist): Add SHA224.
20112 (epg-context-set-passphrase-callback)
20113 (epg-context-set-progress-callback): Add description about
20116 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20118 * custom.el (custom-delayed-init-variables): New var.
20119 (custom-initialize-delay): New function.
20120 * startup.el (command-line): "Re"evaluate all vars in
20121 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
20122 explicitly any more.
20123 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
20124 to avoid creating a ~/.emacs.d at build-time (bug#4347).
20126 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
20128 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20130 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
20131 (gdb-var-update-handler): Use json parsing.
20133 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20135 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
20136 decode annotated text, regardless of language environment. (Bug#2741)
20138 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20140 * Makefile.in (autoloads): Make rmail.el writable as well.
20142 2009-09-11 Glenn Morris <rgm@gnu.org>
20144 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
20146 * dired.el: Regenerate with extracted autoloads.
20147 * Makefile.in (autoloads): Make dired.el writable.
20149 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
20150 * ibuffer.el: Regenerate with extracted autoloads.
20151 * Makefile.in (autoloads): Make ibuffer.el writable.
20153 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20154 * version.el (emacs-copyright, emacs-major-version)
20155 (emacs-minor-version): Reformat doc-strings for make-docfile.
20157 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20158 functions and variables, since they must be stuff specific to some other
20160 (apropos-print): Make mouse-click message less specific about button.
20162 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20163 that records where a macro was defined.
20164 * help-fns.el (describe-function-1): Mention if a function has a
20166 * help-mode.el (help-function-cmacro): New button.
20168 * locate.el (top-level): Always require dired.
20169 (locate-mode-map): Initialize inside the defvar.
20171 * net/ange-ftp.el (dired-compress-file): Declare.
20172 (ange-ftp-dired-compress-file): Add doc string.
20174 * term/ns-win.el (x-display-name, x-setup-function-keys):
20175 Unify doc-strings with X versions.
20177 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20179 * emulation/crisp.el (crisp-mode-map): Move initialization
20181 (crisp-mode): Use define-minor-mode.
20183 * progmodes/xscheme.el (xscheme-evaluation-commands):
20184 Put a :advertised-binding property rather than using
20185 advertised-xscheme-send-previous-expression.
20186 (advertised-xscheme-send-previous-expression): Declare obsolete.
20187 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20189 (crisp-mode): Add corresponding bindings to
20190 undo's :advertised-binding instead.
20191 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20192 than using dired-advertised-find-file.
20193 (dired-advertised-find-file):
20194 * simple.el (advertised-undo):
20195 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20196 (widget-keymap): Put a :advertised-binding property rather
20197 than using advertised-widget-backward.
20198 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20199 than using advertised-undo.
20200 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20202 2009-09-10 Simon South <ssouth@slowcomputing.org>
20204 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20205 Mark mode is enabled and region is active; otherwise indent or
20206 insert TAB as usual.
20207 (delphi-mode): Update description of TAB-key binding.
20209 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20211 * subr.el (define-key-rebound-commands): Mark obsolete.
20212 * startup.el (precompute-menubar-bindings): Remove.
20213 (normal-top-level): Remove obsolete code that tried to precompute
20215 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20216 define-key-rebound-commands and precompute-menubar-bindings.
20218 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20220 * net/imap.el (imap-interactive-login): Better messages.
20221 (imap-open): Fix bug with renamed buffer on reconnect.
20222 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20223 for easier debugging and cleaner code. On successful (guessed based on
20224 server capabilities) secondary authentication, set imap-state
20226 (imap-last-authenticator): Define imap-last-authenticator as a variable
20229 2009-09-10 Glenn Morris <rgm@gnu.org>
20231 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20233 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20234 (byte-compile-file-form-autoload): Don't warn about unknown functions
20235 where the autoload statement comes after the use.
20236 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20237 that any handlers inside the body (eg require) are in turn respected.
20239 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20242 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20243 and syntax and abbrev tables basic docs, if they don't have any.
20245 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20247 * international/mule-cmds.el (top-level): Require cl when compiling.
20248 (view-hello-file): Use default-value rather than
20249 default-enable-multibyte-characters.
20251 * progmodes/fortran.el: Move all safe and risky properties into the
20254 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20255 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20256 * mail/undigest.el:
20257 Put autoloads in rmail.el rather than loaddefs.el.
20258 * mail/rmail.el: Regenerate with extracted autoloads.
20260 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20261 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20263 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20265 Reported in thread for Bug#4375.
20266 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20267 "-data-evaluate-expression" instead of print.
20268 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20269 (gdb-tooltip-print): Parse output from above MI command.
20270 (gdb): Revert 2009-08-11 change. User should detach inferior
20273 Remove the word "separate" from IO functions as inferior
20274 output is now never displayed in the GUD buffer.
20276 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20278 * startup.el (command-line-normalize-file-name): On Windows and
20279 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20281 2009-09-10 Juri Linkov <juri@jurta.org>
20283 * isearch.el (isearch-text-char-description): Propertize escape
20284 character sequences with the `escape-glyph' face. (Bug#4344)
20286 * simple.el (shell-command): Set asynchronous process filter to
20287 `comint-output-filter'. (Bug#4343)
20289 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20290 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20291 the list. Move "asm" to the bottom.
20292 (grep-find-ignored-directories): Add `choice' with nil value
20293 to empty the list easily.
20294 (grep-find-ignored-files): New option.
20295 (grep-files-history): Set to nil by default instead of '("ch" "el").
20296 (grep-compute-defaults): Add "<X>" to `grep-template'.
20297 (grep-read-files): Bind new local variables `default-alias' and
20298 `default-extension'. Use a list of default values for the file prompt.
20299 (lgrep): Add `--exclude=' command line options composed from
20300 `grep-find-ignored-files'.
20301 (rgrep): Add `-name' command line options composed from
20302 `grep-find-ignored-files'. (Bug#4301)
20304 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20306 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20309 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20311 * calendar/time-date.el (autoload):
20312 Expand define-obsolete-function-alias into defalias and make-obsolete
20313 for old Emacsen that Gnus supports.
20314 (with-no-warnings): Define it for old Emacsen.
20315 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20317 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20318 float-time is available; suppress compile warning for time-to-seconds.
20320 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20322 * net/imap.el (imap-message-map): Docstring fix.
20324 2009-09-09 Glenn Morris <rgm@gnu.org>
20326 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20327 line numbers too. (Bug#4374)
20329 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20331 * smerge-mode.el (smerge-remove-props, smerge-refine):
20332 Use with-silent-modifications (bug#4342).
20334 * subr.el (with-silent-modifications): New macro.
20336 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20338 * files.el (top-level): Require `cl' when compiling.
20340 2009-09-07 Glenn Morris <rgm@gnu.org>
20342 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20344 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20345 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20347 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20349 * vc-git.el (vc-git-annotate-command): Use separator to parse
20350 arguments correctly.
20352 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20354 * proced.el (proced-mode): Doc fix.
20356 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20358 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20360 (tramp-do-file-attributes-with-ls): Check for file existence at
20362 (tramp-do-file-attributes-with-stat): Likewise.
20363 (tramp-convert-file-attributes): Return nil when attr is nil.
20365 2009-09-05 Glenn Morris <rgm@gnu.org>
20367 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20368 properties to this button.
20369 (diary-fancy-display): Don't extend the button to the final newline.
20370 (diary-fancy-display-mode): Continue to define "q" as a local key.
20372 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20375 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20377 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20378 (byte-compile-dest-file-function): New option.
20379 (byte-compile-dest-file): Doc fix.
20380 Obey byte-compile-dest-file-function.
20381 (byte-compile-cl-file-p): New function.
20382 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20383 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20384 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20385 than for file being previously loaded.
20386 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20387 (byte-compile-file-form-require): Handle the case where requiring a file
20388 indirectly causes CL to be loaded.
20390 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20392 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20393 before killing the old buffer, since by the time `kill-buffer' is
20394 run so many buffer variables have been set to nil that it may not
20395 behave as expected. (Bug#4061)
20397 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20399 * files.el (find-alternate-file): If the old buffer is modified
20400 and visiting a file, behave similarly to `kill-buffer' when
20401 killing it, thus reverting to the pre-1.878 behavior; see
20402 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20403 for discussion. Also, consult `buffer-file-name' as a variable
20404 not as a function, for consistency with the rest of the code.
20406 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20408 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20409 also when adding a new directory.
20411 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20414 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20416 * files.el (locate-file-completion-table): Make it provide boundary
20417 information, so partial-completion works better.
20419 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20421 * mail/footnote.el (Footnote-text-under-cursor):
20422 Check footnote-text-marker-alist before using it (bug#4324).
20424 2009-09-04 Glenn Morris <rgm@gnu.org>
20426 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20427 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20428 * play/solitaire.el, play/tetris.el:
20429 Remove leading * from defcustom and defface docs.
20431 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20433 (diary-fancy-overriding-map): New variable.
20434 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20437 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20440 2009-09-03 Glenn Morris <rgm@gnu.org>
20442 * arc-mode.el (archive-mode):
20443 * dos-fns.el (set-default-process-coding-system):
20444 * man.el (Man-getpage-in-background):
20445 * menu-bar.el (menu-bar-describe-menu):
20446 * server.el (server-process-filter):
20447 * startup.el (command-line):
20448 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20449 * w32-fns.el (set-default-process-coding-system):
20450 * x-dnd.el (x-dnd-handle-file-name):
20451 * international/mule-cmds.el (mule-menu-keymap)
20452 (set-default-coding-systems, language-info-alist, set-language-info)
20453 (set-language-environment, standard-display-european-internal)
20454 (set-locale-environment):
20455 * international/mule-diag.el (mule-diag):
20456 * mail/emacsbug.el (report-emacs-bug):
20457 * mail/rmail.el (rmail-mode):
20458 * mail/sendmail.el (mail-setup):
20459 Use default-value rather than default-enable-multibyte-characters.
20461 * progmodes/f90.el: Move all safe properties into the defcustoms.
20462 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20464 * calendar/appt.el (appt-check):
20465 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20466 (diary-check-diary-file, diary-list-entries)
20467 (diary-include-other-diary-files, diary-simple-display)
20468 (diary-fancy-display, diary-print-entries)
20469 (diary-mark-included-diary-files, diary-make-entry):
20470 Don't call substitute-in-file-name on diary-file.
20472 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20473 Stefan Monnier <monnier@iro.umontreal.ca>
20475 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20476 (footnote-mode-map): Move initialization into the declaration.
20477 (footnote-minor-mode-map): Define it rather than changing global-map.
20478 (footnote-mode): Use define-minor-mode.
20480 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20482 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20483 (tramp-do-file-attributes-with-perl)
20484 (tramp-do-file-attributes-with-stat): Rename from
20485 `tramp-handle-file-attributes-with-*'.
20486 (tramp-handle-file-attributes): Use them.
20487 (tramp-do-directory-files-and-attributes-with-perl)
20488 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20489 `tramp-handle-directory-files-and-attributes-with-*'.
20490 (tramp-handle-directory-files-and-attributes): Use them.
20491 (tramp-method-out-of-band-p): Additional parameter SIZE.
20492 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20493 (tramp-handle-write-region): Use it.
20494 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20495 (tramp-handle-vc-registered): Check, whether the first run did
20496 return files to be tested.
20497 (tramp-advice-make-auto-save-file-name): Do not call directly
20498 `tramp-handle-make-auto-save-file-name', because this would bypass
20499 the locking mechanism.
20501 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20502 (file-remote-p, process-file, start-file-process, set-file-times)
20503 (tramp-compat-file-attributes): Compatibility functions shall not
20504 call directly `tramp-handle-*', because this would bypass the
20506 (tramp-compat-number-sequence): New defun.
20508 2009-09-02 Glenn Morris <rgm@gnu.org>
20510 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20511 alias for float-time.
20512 (time-to-number-of-days): In Emacs, use float-time.
20513 * net/newst-backend.el (time-add): Suppress warnings from compat
20515 * time.el (emacs-uptime, emacs-init-time):
20516 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20517 Use float-time rather than time-to-seconds.
20519 * minibuffer.el (completion-initials-expand): Fix typo.
20521 * faces.el (modeline, modeline-inactive, modeline-highlight)
20522 (modeline-buffer-id):
20523 * info.el (info-menu-5): Mark these face aliases as obsolete.
20525 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20527 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20529 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20530 no "--thread" option.
20531 (gdb-stopped): Don't print "Switched to thread" message when it is
20534 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20536 * minibuffer.el (completion-try-completion)
20537 (completion-all-completions): Remove ill-defined (and
20538 mistakenly installed and luckily never used nor documented)
20539 `completion-styles' property.
20540 (completion-initials-expand, completion-initials-all-completions)
20541 (completion-initials-try-completion): New functions.
20542 (completion-styles-alist): Add doc to each entry.
20543 Add new `initials' entry.
20545 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20547 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20548 MI command -var-evaluate-expression.
20549 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20550 and tweak for case of string child.
20551 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20553 2009-09-01 Glenn Morris <rgm@gnu.org>
20555 * add-log.el (change-log-date-face, change-log-name-face)
20556 (change-log-email-face, change-log-file-face, change-log-list-face)
20557 (change-log-conditionals-face, change-log-function-face)
20558 (change-log-acknowledgement-face):
20559 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20560 (custom-modified-face, custom-set-face, custom-changed-face)
20561 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20562 (custom-documentation-face, custom-state-face, custom-comment-face)
20563 (custom-comment-tag-face, custom-variable-tag-face)
20564 (custom-variable-button-face, custom-face-tag-face)
20565 (custom-group-tag-face-1, custom-group-tag-face):
20566 * diff-mode.el (diff-header-face, diff-file-header-face)
20567 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20568 (diff-added-face, diff-changed-face, diff-function-face)
20569 (diff-context-face, diff-nonexistent-face):
20570 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20571 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20572 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20573 (Info-title-4-face):
20574 * isearch.el (isearch-lazy-highlight-face):
20575 * log-view.el (log-view-file-face, log-view-message-face):
20576 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20577 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20578 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20580 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20581 (smerge-base-face, smerge-markers-face):
20582 * wid-edit.el (widget-documentation-face, widget-button-face)
20583 (widget-field-face, widget-single-line-field-face)
20584 (widget-inactive-face, widget-button-pressed-face):
20585 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20586 (woman-addition-face):
20587 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20588 (eshell-ls-executable-face, eshell-ls-readonly-face)
20589 (eshell-ls-unreadable-face, eshell-ls-special-face)
20590 (eshell-ls-missing-face, eshell-ls-archive-face)
20591 (eshell-ls-backup-face, eshell-ls-product-face)
20592 (eshell-ls-clutter-face):
20593 * eshell/em-prompt.el (eshell-prompt-face):
20594 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20595 * obsolete/old-whitespace.el (whitespace-highlight-face):
20596 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20597 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20598 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20599 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20600 (antlr-font-lock-literal-face):
20601 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20602 (ebrowse-root-class-face, ebrowse-file-name-face)
20603 (ebrowse-default-face, ebrowse-member-attribute-face)
20604 (ebrowse-member-class-face, ebrowse-progress-face):
20605 * progmodes/make-mode.el (makefile-space-face):
20606 * progmodes/sh-script.el (sh-heredoc-face):
20607 * textmodes/flyspell.el (flyspell-incorrect-face)
20608 (flyspell-duplicate-face):
20609 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20610 * textmodes/texinfo.el (texinfo-heading-face):
20611 Mark face aliases with "-face" suffix as obsolete.
20613 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20616 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20617 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20618 easy-menu-define wants to modify these.
20620 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20622 * net/browse-url.el (browse-url-file-url):
20623 * term/internal.el (dos-codepage-setup):
20624 Use default-value rather than default-enable-multibyte-characters.
20626 * progmodes/etags.el (etags-goto-tag-location):
20627 * progmodes/flymake.el (flymake-highlight-line)
20628 (flymake-goto-file-and-line, flymake-goto-line):
20629 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20630 (gdb-goto-breakpoint):
20631 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20632 * progmodes/python.el (python-find-function)
20633 (python-pdbtrack-track-stack-file):
20634 * progmodes/verilog-mode.el (verilog-surelint-off):
20635 * term/ns-win.el (ns-open-file-select-line):
20636 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20637 Use forward-line rather than goto-line.
20639 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20640 * textmodes/reftex-index.el (reftex-display-index):
20641 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20642 * textmodes/reftex-toc.el (reftex-toc):
20643 Remove unnecessary bindings of default-major-mode (all are followed by
20644 major-mode check and possible mode switch).
20646 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20648 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20649 Handle watchpoints (bug#4282).
20650 (def-gdb-thread-buffer-command): Enable thread to be selected by
20651 clicking without selecting threads buffer first.
20652 (gdb-current-context-command): Use selected frame so that "up",
20653 "down" etc work in the GUD buffer.
20654 (gdb-update): Find selected frame before rendering stack buffer.
20655 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20657 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20659 * progmodes/sym-comp.el (displayed-completions): Remove.
20660 (symbol-complete): Use minibuffer-complete.
20662 2009-08-31 Glenn Morris <rgm@gnu.org>
20664 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20666 * apropos.el (apropos-symbols-internal):
20667 Handle (obsolete) face aliases.
20669 * faces.el (describe-face): Adjust the output format to be more like
20670 describe-variable, and to mention (obsolete) face aliases.
20671 Adjust the whitespace so that help-setup-xref works.
20673 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20674 * calendar/diary-lib.el (diary-button-face):
20675 Mark these face aliases as obsolete.
20677 * calendar/calendar.el (calendar-today): Doc fix.
20679 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20681 * progmodes/gdb-mi.el (gdb-control-all-threads)
20682 (gdb-control-current-thread): Force tool bar update.
20683 (gdb-non-stop-handler): New function.
20684 (gdb-init-1): Use it to test if non-stop mode is supported.
20685 Remove unused gdbmi buffer type.
20687 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20689 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20690 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20692 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20694 * comint.el (comint-exec-1): Check command is non-null first.
20695 Part of gdb-mi.el change (2009-08-28).
20697 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20699 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20701 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20703 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20704 instead of `dolist' to avoid a recursive require when bootstrapping.
20706 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20708 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20710 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20712 * net/imap.el (imap-send-command): Simplify.
20713 (imap-wait-for-tag): point-max -> buffer-size.
20715 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20717 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20718 with constant argument.
20720 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20722 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20724 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20725 Change default, since most of our files don't have a history.
20726 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20729 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20732 * calc/calc.el: Improve commenting convention.
20733 (calc-digit-map, toplevel): Simplify.
20735 * comint.el (comint-insert-input): Be careful to only set point if we
20736 don't delegate to some other command.
20738 * proced.el (proced-signal-list): Make it an alist.
20739 (proced-grammar-alist): Capitalize names.
20740 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20741 Disable undo manually and make it read-only.
20742 Use completion-annotate-function.
20744 * minibuffer.el (minibuffer-message): If the current buffer is not
20745 a minibuffer, insert the message in the echo area rather than at the
20747 (completion-annotate-function): New variable.
20748 (minibuffer-completion-help): Use it.
20749 (completion--embedded-envvar-table): Environment vars are
20750 always case-sensitive.
20752 2009-08-30 Glenn Morris <rgm@gnu.org>
20754 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20755 from fortran-current-defun.
20756 (fortran-beginning-of-subprogram): Be more precise about finding the
20757 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20758 (fortran-end-of-subprogram): Simplify.
20759 (fortran-current-defun): Use fortran-start-prog-re.
20761 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20763 * subr.el (do-after-load-evaluation): Simplify.
20765 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20767 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20769 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20770 (vc-rcs-print-log): Use it.
20772 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20774 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20776 * paths.el (abbrev-file-name): Move to abbrev.el.
20777 * abbrev.el (abbrev-file-name): Move from paths.el.
20778 Obey user-emacs-directory.
20779 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20780 user-emacs-directory.
20781 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20782 abbrev-file-name and calc-settings-file any more.
20783 * startup.el (command-line): Recompute abbrev-file-name and
20784 abbreviated-home-dir.
20785 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20786 of the special code for when C-h bindings haven't been changed.
20787 (display-startup-echo-area-message): Use with-current-buffer.
20788 (command-line-1): Use a list of strings, rather than a list of lists
20789 of strings for longopts.
20791 * files.el (get-free-disk-space): Use / for default-directory.
20793 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20794 Use with-current-buffer.
20796 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20797 Recognize immutable variables like most-positive-fixnum.
20798 (byte-compile-setq-default): Check and warn if trying to assign
20799 to an immutable variable, or a non-variable.
20801 * progmodes/cc-vars.el (c-comment-continuation-stars):
20802 * progmodes/cc-engine.el (c-looking-at-bos):
20803 * progmodes/cc-cmds.el (c-toggle-auto-state)
20804 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20805 (c-comment-line-break-function): Add version of obsolescence.
20807 2009-08-28 Juri Linkov <juri@jurta.org>
20809 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20810 associated with `archive-mode'.
20812 * image.el (image-type-header-regexps): Use only JPEG magic number
20813 to determine JPEG images, and don't use `image-jpeg-p' because
20814 Emacs can display non-JFIF non-Exif JPEG images.
20816 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20818 * arc-mode.el (archive-mode):
20819 * emacs-lisp/re-builder.el (re-builder-unload-function):
20820 Protect against the default value of `major-mode' being nil.
20822 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20824 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20825 Fix typos in docstrings.
20827 * progmodes/js.el (js--macro-decl-re): Doc fix.
20828 (js--plain-method-re, js--split-name): Refloc docstring.
20829 (js--class-styles, js--make-merged-item, js--splice-into-items):
20830 Fix typos in docstrings; reflow docstrings.
20831 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20832 (js--variable-decl-matcher, js--inside-pitem-p)
20833 (js--parse-state-at-point, js--get-all-known-symbols)
20834 (js--symbol-history, js-find-symbol, js--js-references)
20835 (js--moz-interactor, js--js-encode-value, js--read-tab):
20836 Fix typos in docstrings.
20838 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20840 * textmodes/reftex.el (reftex-get-file-buffer-force):
20841 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20842 * emulation/viper.el (viper-go-away, viper-set-hooks):
20843 * emacs-lisp/re-builder.el (re-builder-unload-function):
20844 * emacs-lisp/bytecomp.el (byte-compile-file):
20845 * ses.el (ses-unload-function):
20846 * hexl.el (hexl-find-file):
20847 * files.el (normal-mode):
20848 * ehelp.el (with-electric-help):
20849 * autoinsert.el (auto-insert-alist):
20850 * arc-mode.el (archive-mode):
20851 Use (default-value 'major-mode) instead of default-major-mode.
20853 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20854 * international/mule.el (load-with-code-conversion):
20855 * emacs-lisp/debug.el (debug):
20856 * ediff-vers.el (ediff-rcs-get-output-buffer):
20857 * dired.el (dired-internal-noselect): Don't let-bind
20858 default-major-mode around code that doesn't use it.
20859 E.g. buffer creation via get-buffer-create doesn't use it.
20861 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20863 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20864 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20865 when writing the temp file. Otherwise, epa-file gets confused.
20866 (tramp-register-file-name-handlers): Make it a defun. Move also
20867 `epa-file-handler' to the front of `file-name-handler-alist'.
20869 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20871 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20872 start right after a ^M.
20873 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20874 (tramp-completion-file-name-regexp-separate)
20875 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20876 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20877 Don't modify last-coding-system-used by accident.
20878 (tramp-completion-file-name-handler): Apply the checks here,
20879 instead during registration.
20880 (tramp-register-file-name-handlers): Rename from
20881 `tramp-register-file-name-handler'. Register both
20882 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20883 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20885 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20887 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20888 Remove variable ...
20889 (gdb-init-1, gdb-display-separate-io-buffer)
20890 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20892 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20893 (gdb-inferior-filter): Use comint-output-filter to stop
20894 echoing and remove ^M characters.
20896 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20898 * emulation/viper-init.el (viper-restore-cursor-type):
20899 * emulation/cua-base.el (cua--update-indications):
20900 Replace default-cursor-type with (default-value 'cursor-type).
20902 * mail/sendmail.el (mail-recover-1):
20903 * international/mule-diag.el (describe-current-coding-system-briefly)
20904 (describe-current-coding-system):
20905 * international/mule-cmds.el (select-safe-coding-system)
20906 (select-message-coding-system)
20907 (set-language-environment-coding-systems, set-locale-environment):
20908 * hexl.el (hexl-insert-multibyte-char):
20909 * dos-w32.el (find-buffer-file-type-coding-system):
20910 * simple.el (what-cursor-position):
20911 Replace uses of default-buffer-file-coding-system
20912 with (default-value 'buffer-file-coding-system).
20914 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20915 Replace uses of default-cursor-in-non-selected-windows
20916 with (default-value 'cursor-in-non-selected-windows).
20917 Use with-current-buffer.
20919 * mail/feedmail.el: Use CL macros.
20920 (feedmail-run-the-queue, feedmail-send-it-immediately):
20921 * dos-w32.el (find-buffer-file-type): Replace uses of
20922 default-buffer-file-type with (default-value 'buffer-file-type).
20924 2009-08-28 Glenn Morris <rgm@gnu.org>
20926 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20927 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20928 Use default-value of major-mode rather than default-major-mode.
20930 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20932 * Makefile.in (update-elcfiles): Report left over elc files.
20934 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20935 expand-file-name and with-current-buffer.
20936 (mail-get-names, mail-directory): Use with-current-buffer.
20938 * vc.el (vc-read-revision): New function.
20939 (vc-version-diff, vc-merge): Use it.
20941 2009-08-27 Sam Steingold <sds@gnu.org>
20943 * simple.el (kill-do-not-save-duplicates): New user option.
20944 (kill-new): When it is non-nil, and the new string is the same as
20945 the latest kill, set replace to t to avoid duplicates in kill-ring.
20947 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20949 * net/tramp.el (tramp-handle-process-file): Do not flush all
20950 caches when `process-file-side-effects' is set.
20951 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20952 instead of `tramp-find-file-exists-command'.
20953 Unset `process-file-side-effects'.
20955 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20957 * net/tramp.el (tramp-methods): New method "rsyncc".
20958 (top): Add completion function for "rsyncc".
20959 (tramp-message-show-message): New defvar.
20960 (tramp-message, tramp-error): Use it.
20961 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20963 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20964 `tramp-methods' entry `copy-env' of "rsyncc".
20965 (tramp-vc-registered-read-file-names): New defconst.
20966 (tramp-vc-registered-file-names): New defvar.
20967 (tramp-handle-vc-registered): Implement optimization strategy.
20968 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20969 (tramp-vc-file-name-handler): New defun.
20970 (tramp-get-ls-command, tramp-get-test-command)
20971 (tramp-get-file-exists-command, tramp-get-remote-ln)
20972 (tramp-get-remote-perl, tramp-get-remote-stat)
20973 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20975 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20976 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20978 (tramp-get-file-property): Check for timestamps in
20979 `tramp-cache-inhibit-cache'.
20980 (tramp-set-file-property): Write timestamp.
20982 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20984 * language/japan-util.el (japanese-symbol-table): Add entries for
20987 * international/characters.el: Add category `j' to cp932-2-byte.
20989 2009-08-27 Kenichi Handa <handa@m17n.org>
20991 * international/fontset.el (build-default-fontset-data): New macro.
20992 (setup-default-fontset): Use build-default-fontset-data for CJK,
20993 tibetan, ethiopic, and ipa.
20995 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20997 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20998 (enable-multibyte-characters): Not customizable any more.
21000 * subr.el (default-mode-line-format, default-header-line-format)
21001 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
21002 (default-direction-reversed, default-truncate-lines)
21003 (default-left-margin, default-tab-width, default-case-fold-search)
21004 (default-left-margin-width, default-right-margin-width)
21005 (default-left-fringe-width, default-right-fringe-width)
21006 (default-fringes-outside-margins, default-scroll-bar-width)
21007 (default-vertical-scroll-bar, default-indicate-empty-lines)
21008 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
21009 (default-fringe-cursor-alist, default-scroll-up-aggressively)
21010 (default-scroll-down-aggressively, default-fill-column)
21011 (default-cursor-type, default-buffer-file-type)
21012 (default-cursor-in-non-selected-windows)
21013 (default-buffer-file-coding-system, default-major-mode)
21014 (default-enable-multibyte-characters): Mark as obsolete.
21016 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
21018 * vc-dir.el (vc-dir-update): Remove debug helper.
21020 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
21022 2009-08-26 Sam Steingold <sds@gnu.org>
21024 * simple.el (save-interprogram-paste-before-kill): New user option.
21025 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
21026 save the interprogram-paste into kill-ring before overriding it
21027 with the Emacs kill.
21029 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21031 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
21032 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
21033 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
21034 and move to vc-rcs.el.
21035 (vc-default-next-revision): Rename to vc-rcs-next-revision and
21037 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
21038 (vc-rcs-update-changelog): Remove.
21039 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
21040 and move to vc-rcs.el.
21042 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
21043 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
21045 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
21046 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
21047 vc.el, renamed to be RCS specific.
21049 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
21051 (vc-cvs-update-changelog): Move here from vc.el.
21053 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
21056 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
21058 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
21060 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21062 * vc-git.el (vc-git-register): Use "git add" for directories.
21063 (vc-git-stash, vc-git-stash-show): New functions.
21064 (vc-git-extra-menu-map): Bind them.
21066 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
21067 directory correctly in case the item is a directory itself.
21069 * vc.el: Document the desired behavior for reverted files in the
21071 (vc-default-prettify-state-info): Remove function, unused.
21073 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
21075 2009-08-26 Glenn Morris <rgm@gnu.org>
21077 * bindings.el (standard-mode-line-format): Reposition dashes in
21078 which-func entry. (Bug#4217)
21080 * files.el (enable-local-variables, enable-local-eval)
21081 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
21083 (auto-mode-alist, ignored-local-variables)
21084 (save-some-buffers-action-alist): Move risky declarations to the
21086 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
21087 (font-lock-defaults, format-alist, imenu--index-alist)
21088 (imenu-generic-expression, input-method-alist, minor-mode-alist)
21089 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
21090 (mode-line-modified, mode-line-mule-info, mode-line-position)
21091 (mode-line-process, mode-line-remote, outline-level)
21092 (parse-time-rules, rmail-output-file-alist)
21093 (special-display-buffer-names, vc-mode):
21094 Move risky declarations to the relevant files.
21095 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
21096 (mode-line-modified, mode-line-process, mode-line-position)
21097 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
21098 * font-core.el (font-lock-defaults):
21099 * format.el (format-alist):
21100 * vc-hooks.el (vc-mode):
21101 * window.el (special-display-buffer-names):
21102 * international/mule-cmds.el (input-method-alist):
21103 Define riskiness here (dumped file) rather than in files.el.
21104 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
21105 * imenu.el (imenu-generic-expression, imenu--index-alist):
21106 * outline.el (outline-level):
21107 * time.el (display-time-string):
21108 * calendar/parse-time.el (parse-time-rules):
21109 * mail/rmailout.el (rmail-output-file-alist):
21110 Autoload riskiness here, rather than placing in files.el.
21112 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
21114 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
21116 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
21118 * simple.el (process-file-side-effects): New defvar.
21120 * dired-aux.el (dired-show-file-type):
21121 * vc.el (vc-diff-internal):
21122 * vc-arch.el (vc-arch-diff):
21123 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
21124 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
21125 * vc-git.el (vc-git-registered, vc-git-working-revision)
21126 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
21127 (vc-git--empty-db-p):
21128 * vc-hooks.el (vc-user-login-name):
21129 * vc-svn.el (vc-svn-registered, vc-svn-state)
21130 (vc-svn-dir-extra-headers, vc-svn-find-revision):
21131 * progmodes/grep.el (grep-probe): Let-bind
21132 `process-file-side-effects' with nil.
21134 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
21136 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
21137 daemon. Replace ping by checking for running service for bluez
21138 and zeroconf. (Bug#4239)
21140 2009-08-25 Kevin Ryde <user42@zip.com.au>
21142 * net/dig.el (dig): Add autoload cookie.
21144 2009-08-25 Glenn Morris <rgm@gnu.org>
21146 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
21147 load-history for absolute file-names.
21148 (byte-compile-file-form-require): Warn about use of the cl package.
21150 * format.el (format-alist): Doc fix.
21152 * play/bubbles.el (top-level): Don't require cl at run-time.
21154 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21157 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
21159 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21161 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21163 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21165 * calc/calc-alg.el (math-trig-rewrite)
21166 (math-hyperbolic-trig-rewrite): New functions.
21167 (calc-simplify): Simplify trig functions when asked.
21169 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21171 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21173 2009-08-24 Kenichi Handa <handa@m17n.org>
21175 * language/ind-util.el (mapthread): Delete it.
21176 (combinatorial): New function.
21177 (indian--puthash-cv): Use combinatorial instead of mapthread.
21179 2009-08-22 Kevin Ryde <user42@zip.com.au>
21181 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21182 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21183 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21184 Clarify docstring that the value is strings not symbols.
21185 (checkdoc-list-of-strings-p): New function.
21187 2009-08-22 Glenn Morris <rgm@gnu.org>
21189 * files.el (auto-mode-alist):
21190 * hippie-exp.el (he-concat-directory-file-name):
21191 * lpr.el (lpr-windows-system, printer-name):
21192 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21193 * ps-print.el (ps-windows-system):
21194 * startup.el (command-line):
21195 * emulation/viper-ex.el (viper-glob-function):
21196 * international/mule-cmds.el (set-language-environment-coding-systems):
21197 * net/ange-ftp.el (ange-ftp-write-region):
21198 * obsolete/fast-lock.el (fast-lock-cache-name):
21199 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21200 unisoft-unix, vax-vms, win32, w32.
21202 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21203 given name if the pattern is not more specific.
21205 * calendar/lunar.el (lunar-phase-names): New option.
21206 (lunar-phase): Doc fix.
21207 (lunar-cycles-per-year): New constant.
21208 (lunar-index): New function.
21209 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21210 (lunar-phase-name): Use lunar-phase-names.
21211 (calendar-lunar-phases): Use format.
21212 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21214 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21215 Copy imenu-example--name-and-position function here for own use.
21216 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21218 * bs.el (bs--redisplay):
21219 * cus-edit.el (custom-redraw):
21220 * ibuffer.el (ibuffer-bury-buffer):
21221 * server.el (server-goto-line-column):
21222 * startup.el (command-line-1):
21223 * strokes.el (strokes-xpm-for-stroke):
21224 * term.el (term-display-buffer-line):
21225 * view.el (View-goto-line):
21226 * calc/calc.el (calc-do, calc-trail-buffer):
21227 * play/gamegrid.el (gamegrid-add-score-insecure):
21228 * progmodes/ada-mode.el (ada-compile-goto-error):
21229 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21230 (ebrowse-select-1st-to-9nth):
21231 * progmodes/cperl-mode.el (cperl-time-fontification):
21232 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21233 * progmodes/gud.el (gud-display-line):
21234 (idlwave-shell-display-line):
21235 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21236 * progmodes/make-mode.el (makefile-browser-toggle):
21237 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21238 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21239 * textmodes/picture.el (picture-draw-rectangle):
21240 * textmodes/reftex-index.el (reftex-index-goto-letter):
21241 (reftex-select-jump-to-previous):
21242 * textmodes/reftex-sel.el (reftex-find-start-point)
21243 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21244 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21245 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21246 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21247 * textmodes/two-column.el (2C-associated-buffer):
21248 Use forward-line rather than goto-line.
21250 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21253 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21254 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21255 (quick-check-list-to-regexp): Declare.
21257 * progmodes/make-mode.el (makefile-browser-insert-selection):
21258 Use goto-char rather than goto-line.
21260 * progmodes/prolog.el (compilation-error-regexp-alist)
21261 (compilation-forget-errors): Declare.
21263 2009-08-22 Juri Linkov <juri@jurta.org>
21265 * progmodes/grep.el (lgrep, rgrep): At the beginning
21266 set `dir' to `default-directory' unless `dir' is a non-nil
21267 readable directory. (Bug#4052)
21268 (lgrep, rgrep): Change a weird way to report an error
21269 from using `read-string' to using `error'.
21270 Instead of using interactive arguments in the function body,
21271 add new argument `confirm'.
21273 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21275 * textmodes/remember.el (remember-buffer):
21276 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21277 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21278 (icalendar-extract-ical-from-buffer):
21279 * net/newst-treeview.el (newsticker-groups-filename):
21280 * net/newst-backend.el (newsticker-cache-filename):
21281 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21282 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21283 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21284 (speedbar-buffers-line-path, speedbar-path-line)
21285 (speedbar-buffers-line-path):
21286 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21288 * epa.el (epa-display-verify-result):
21289 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21291 2009-08-21 Glenn Morris <rgm@gnu.org>
21293 * progmodes/js.el (inferior-moz-process): Fix declaration.
21295 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21297 * obsolete/rnewspost.el (news-mail-reply):
21298 Use goto-char rather than goto-line.
21300 * term/ns-win.el (ns-open-file-select-line):
21301 Use line-beginning-position rather than goto-line.
21303 * apropos.el (apropos-command):
21304 * ehelp.el (electric-helpify):
21305 * printing.el (pr-show-setup):
21306 * strokes.el (strokes-help):
21307 * tutorial.el (tutorial--describe-nonstandard-key)
21308 (tutorial--detailed-help):
21309 * woman.el (woman-mini-help, woman-display-extended-fonts):
21310 * calc/calc-help.el (calc-describe-key):
21311 * emulation/edt.el (edt-electric-helpify):
21312 * international/mule-diag.el (mule-diag):
21313 * play/yow.el (apropos-zippy):
21314 * progmodes/python.el (python-describe-symbol):
21315 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21316 * textmodes/table.el (*table--cell-describe-mode)
21317 (*table--cell-describe-bindings):
21318 Use help-print-return-message rather than the now obsolete alias.
21320 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21321 (calendar-cursor-to-visible-date):
21322 * play/5x5.el (5x5-position-cursor):
21323 * play/decipher.el (decipher):
21324 * play/gomoku.el (gomoku-goto-xy):
21325 * play/landmark.el (lm-goto-xy):
21326 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21327 (mpuz-paint-digit):
21328 Use forward-line, not goto-line.
21330 * mail/rmail.el (rmail-obsolete): Delete custom group.
21331 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21332 (rmail-remote-password, rmail-remote-password-required):
21333 Remove unneeded :set-after and :set properties.
21335 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21337 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21339 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21341 * loadup.el: Remove leftover macos code.
21343 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21344 Explicitly pass the date format to git blame so that user local
21345 so that the output format can be parsed.
21347 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21349 * net/dbus.el (top): Don't check for (getenv
21350 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21352 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21354 * log-edit.el (log-edit-strip-single-file-name): New var.
21355 (log-edit-insert-changelog): Use it. Bug#3571
21357 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21359 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21362 * help.el (help-print-return-message): Rename from
21363 print-help-return-message.
21365 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21366 cvs-mode-map parent hack.
21367 (log-view-mode): Derive from special-mode.
21369 * linum.el (linum-mode): window-size-change-functions is redundant.
21370 Adapt to new window-configuration-change-hook behavior.
21371 (linum-after-size, linum-after-config): Remove.
21373 * imenu.el (imenu-example--name-and-position)
21374 (imenu-example--lisp-extract-index-name)
21375 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21378 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21379 (inferior-prolog-mode): Use it.
21380 (inferior-prolog-load-file): Reset list of errors.
21382 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21384 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21386 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21388 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21390 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21391 is running already.
21393 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21395 * subr.el (listify-key-sequence-1): Use normal syntax since those
21396 integers are nowadays always represented by the same (positive) number
21398 (read-key-empty-map): New const.
21399 (read-key-delay): New var.
21400 (read-key): New function.
21401 (force-mode-line-update): Use with-current-buffer.
21402 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21403 (start-process-shell-command, start-file-process-shell-command):
21404 Discourage the use of command-args.
21406 2009-08-19 Glenn Morris <rgm@gnu.org>
21408 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21410 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21412 * simple.el (choose-completion-string): Don't rely on
21413 minibuffer-completing-file-name and ad-hoc checks to decide whether
21414 to continue completion or not.
21416 * minibuffer.el (minibuffer-hide-completions): New function.
21417 (completion--do-completion): Use it.
21418 (completions-annotations): New face.
21419 (completion--insert-strings): Use it.
21420 (completion-pcm--delim-wild-regex): Add docstring.
21421 (completion-pcm--string->pattern): Add support for 0-width delimiters
21422 in completion-pcm--delim-wild-regex.
21424 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21426 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21427 Remove unused var `buffer-modified-p'.
21429 * minibuffer.el (completion--do-completion): Move point for the #b001
21430 case as well (bug#4176).
21431 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21433 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21435 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21436 and :session buses.
21438 2009-08-18 Kenichi Handa <handa@m17n.org>
21440 * international/ucs-normalize.el (ucs-normalize-version):
21442 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21443 (utf-8-hfs): Make it perform normalization on encoding too.
21445 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21446 (sentence-end-without-space): Delete duplicated chars.
21447 (sentence-end-base): Likewise.
21449 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21450 (html-mode): Delete duplicated chars from sentence-end-base.
21452 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21453 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21455 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21457 * files.el (hack-one-local-variable): If the mode function is for
21458 a minor mode, pass it an argument (Bug#4148).
21460 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21462 * net/tramp.el (tramp-register-completion-file-name-handler):
21463 Check also for (member 'partial-completion completion-styles).
21465 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21467 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21470 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21472 * progmodes/cperl-mode.el: Merge upstream 6.2.
21473 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21474 (cperl-forward-re): Check cperl-brace-recursing.
21475 (cperl-highlight-charclass): New function.
21476 (cperl-find-pods-heres): Use it.
21477 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21478 (cperl-beautify-regexp-piece): Fix column calculation.
21479 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21480 (cperl-beautify-level): Don't process entire regexp.
21481 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21483 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21484 (cperl-init-faces): Build a list in the normal way.
21486 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21488 * calendar/parse-time.el (parse-time-string-chars): Save match
21491 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21493 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21494 (sql-product): Use it.
21495 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21496 (sql-set-product): Add completion.
21497 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21498 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21499 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21500 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21501 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21502 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21503 (sql-highlight-db2-keywords): Remove.
21504 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21505 (sql-highlight-product): Use derived-mode-p.
21506 (sql-set-sqli-buffer): Use with-current-buffer.
21507 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21510 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21512 * term.el: Fix commenting convention, turn comments into docstrings.
21514 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21516 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21518 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21520 * calendar/parse-time.el (parse-time-string-chars): Compute using
21521 character classes, to handle non-ascii characters (Bug#3190).
21523 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21525 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21526 another heredoc if the user adds another < (Bug#3226).
21528 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21529 Don't initialize based on window-system (Bug#4124).
21531 * facemenu.el (facemenu-read-color): Use a completion function
21532 that accepts any defined color, such as RGB triplets (Bug#3677).
21534 * files.el (get-free-disk-space): Change fallback default
21535 directory to /. Expand DIR argument before switching to fallback.
21536 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21538 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21540 * files.el (load-library): Doc fix.
21542 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21544 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21545 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21546 incremental search string.
21548 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21551 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21552 (ediff-merge-region-is-non-clash)
21553 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21554 Also check if the job is really a merge job.
21556 * ediff.el (ediff-current-file): New function.
21558 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21560 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21562 (js-insert-and-indent): Delete function.
21563 (js-mode-map): Don't bind keys to js-insert-and-indent.
21564 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21565 (js-end-of-defun): Rename from js--end-of-defun.
21566 (js-auto-indent-flag): Delete variable.
21568 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21570 * progmodes/js.el: Remove proclaim statement.
21571 Defvar which-func-imenu-joiner-function to silence compiler.
21573 * files.el (auto-mode-alist): Use js-mode for .js files.
21575 * progmodes/js2-mode.el: Remove file.
21577 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21579 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21581 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21583 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21584 Karl Landstrom <karl.landstrom@brgeight.se>
21586 * progmodes/js.el: New file.
21588 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21590 * timezone.el (timezone-parse-date): Add ability to understand ISO
21591 basic format (minimal separators) dates in addition to the
21592 already-supported extended format dates.
21594 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21596 * international/ucs-normalize.el: Add a `coding' file variable.
21598 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21600 2009-08-14 Sam Steingold <sds@gnu.org>
21602 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21604 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21606 * faces.el (help-argument-name): Define it here instead of
21607 help-fns.el, because in daemon mode help-fns.el may be loaded when
21608 faces are still uninitialized (Bug#1078).
21610 * help-fns.el (help-argument-name): Move defface to faces.el.
21612 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21614 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21615 create buffer with a pty but no process so that GDB can make the
21616 inferior the controlling process.
21618 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21620 * international/ucs-normalize.el: New file.
21622 2009-08-13 Richard Stallman <rms@gnu.org>
21624 * mail/rmail.el (rmail-get-attr-names):
21625 Accept an attribute header that is too short.
21627 * mail/rmail.el (rmail-forget-messages):
21628 Ignore nil elt in rmail-message-vector. Use dotimes.
21630 * progmodes/compile.el (compilation-goto-locus):
21631 Use next-error-move-function.
21633 * simple.el (next-error-move-function): New variable.
21635 2009-08-12 Juri Linkov <juri@jurta.org>
21637 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21638 always non-nil. (Bug#4052)
21640 * replace.el (read-regexp): Return empty string when
21641 `default-value' is nil.
21642 (keep-lines-read-args): Don't use empty string as the
21643 default value for `read-regexp'. (Bug#2495)
21645 2009-08-12 Juri Linkov <juri@jurta.org>
21647 * international/mule-cmds.el (ucs-insert): Change arguments
21648 from `arg' to `character', `count', `inherit' to be the same
21649 as in `insert-char'. Doc fix. (Bug#4039)
21651 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21653 2009-08-12 Juri Linkov <juri@jurta.org>
21655 * files-x.el: New file.
21657 * files.el: Move code that deals with adding/deleting
21658 file/directory-local variables to files-x.el.
21660 * Makefile.in (ELCFILES): Add files-x.elc.
21662 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21664 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21665 to use `goto-line'.
21666 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21668 (gdb-invalidate-disassembly): Do not refresh upon receiving
21669 'update signal. Instead, update all disassembly buffers only after
21671 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21672 (gdb-starting): Move -data-list-register-names...
21673 (gdb-stopped): ...here so it's sent when first thread stops.
21674 (gdb-registers-handler-custom): Do nothing if register names are
21677 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21678 from `gdb-mi.el' to avoid extra tangling.
21680 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21681 change which breaks `gud-def' definitions used in `gdb'.
21682 (gdb-update-gud-running): No extra fuss for updating frame number.
21684 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21686 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21687 (describe-language-environment-map, setup-language-environment-map)
21688 (set-coding-system-map): Move initialization into declaration.
21689 (set-language-info-alist): Last arg to define-key-after can be skipped.
21691 * international/quail.el (quail-completion-1): Simplify.
21692 (quail-define-rules): Use slightly more compact code.
21693 (quail-insert-decode-map): Propertize keys, compact columns.
21695 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21698 2009-08-10 Miles Bader <miles@gnu.org>
21700 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21701 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21702 (js2-instance-member, js2-private-member, js2-private-function-call)
21703 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21704 (js2-magic-paren, js2-external-variable):
21705 Remove "-face" suffix from face names.
21706 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21707 (js2-highlight-undeclared-vars, js2-peek-token)
21708 (js2-parse-function-params, js2-mode-show-errors)
21709 (js2-mode-show-warnings, js2-make-magic-delimiter)
21710 (js2-mode-highlight-magic-parens): Update to use new face names.
21712 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21714 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21715 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21717 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21719 * subr.el: Provide hashtable-print-readable.
21721 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21722 hs-c-like-adjust-block-beginning.
21723 (hs-hide-block-at-point): Stop hiding at the beginning of
21724 hs-block-end-regexp (Bug#700).
21726 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21728 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21730 (gdb-registers-handler-custom): Do not fail when register names
21733 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21735 * progmodes/gdb-mi.el (gdb-control-all-threads)
21736 (gdb-control-current-thread): Interactive setters for
21737 `gdb-gud-control-all-threads' to use in menu.
21738 (gdb-show-run-p): Show «Go» when process is not active.
21739 (gud-tool-bar-map): Add non-stop/A,T indicator.
21740 Uses gud/thread.xpm and gud/all.xpm.
21742 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21744 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21745 (nslookup-font-lock-keywords): Make it a variable.
21746 (net-utils-mode): New mode for viewing diagnostic network output.
21747 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21748 (net-utils-run-simple): New function.
21749 (ifconfig, iwconfig, netstat, arp, route): Use it.
21751 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21753 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21754 (gdb-memory-set-address, def-gdb-set-positive-number)
21755 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21756 after changing settings.
21757 (gdb-invalidate-disassembly): Update when first shown.
21758 (gdb-edit-locals-value): Fix.
21759 (gdb-registers-handler-custom): Print registers in right order and
21760 allow changing register values (only for current thread yet).
21761 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21762 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21763 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21764 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21765 Thread info in mode name.
21766 (gdb-registers-mode-map): TAB to switch to locals.
21768 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21770 * mail/rmail.el (rmail-add-mbox-headers)
21771 (rmail-set-message-counters-counter): Search for
21772 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21774 2009-08-08 Glenn Morris <rgm@gnu.org>
21776 * Makefile.in (ELCFILES): Update.
21778 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21780 * mail/sendmail.el (mail-yank-original):
21781 Set buffer-file-coding-system from the one used by the message whose
21784 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21785 to "windows" when "pgnuplot" is used.
21786 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21787 Don't call accept-process-output if "pgnuplot" is used.
21788 (calc-graph-init): Don't send -display and -geometry to
21789 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21790 running "pgnuplot -V" with shell-command-to-string.
21792 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21795 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21797 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21800 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21802 * vc-dispatcher.el (vc-resynch-window): Update comment.
21804 * term.el (term-handle-ansi-escape): Add comments with the
21805 terminfo capabilities implemented.
21807 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21809 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21810 (gdb-var-create-handler): Rewritten using JSON parser.
21811 (gdb-propertize-header): Move earlier.
21812 (gdb-set-header): Remove to avoid duplication.
21813 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21814 Refresh disassembly buffers only after threads list have been
21816 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21819 2009-08-04 Juri Linkov <juri@jurta.org>
21821 * files.el: Commands to add/delete file/directory-local variables.
21822 (read-file-local-variable, read-file-local-variable-value)
21823 (read-file-local-variable-mode, modify-file-local-variable)
21824 (modify-file-local-variable-prop-line)
21825 (modify-dir-local-variable): New functions.
21826 (add-file-local-variable, delete-file-local-variable)
21827 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21828 (add-dir-local-variable, delete-dir-local-variable)
21829 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21830 (copy-dir-locals-to-file-locals-prop-line): New commands.
21832 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21834 * abbrev.el (insert-abbrev-table-description): Prettify output.
21835 Suggested by Karl Chen.
21837 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21839 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21840 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21841 (gdb-overlay-arrow-position, gdb-thread-position)
21842 (gdb-disassembly-position): Declare variables.
21843 (gdb-wait-for-pending): Function now.
21844 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21845 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21846 compilation goes smoothly.
21847 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21848 (gdb-non-stop-setting): New customization setting which replaces
21849 `gdb-non-stop' so changing it doesn't break active GDB session.
21850 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21851 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21852 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21853 (gdb-show-threads-by-default): New customization options.
21854 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21856 (gdb-get-buffer-create): Send buffers update signal when they are
21858 (gdb-invalidate-locals, gdb-invalidate-registers)
21859 (gdb-invalidate-breakpoints)
21860 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21861 (gdb-invalidate-memory): Accept update signal.
21862 (gdb-current-context-command): Use --frame option.
21863 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21864 Implement `gdb-frame-number' selection logic.
21865 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21866 whether to show GUD toolbar buttons.
21867 (gdb-thread-exited): Unselect current thread when it exits.
21868 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21869 (gdb-mark-line): Routine which sets overlay arrow or inverses
21870 video on fringeless displays.
21871 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21872 to build aligned columns of data in GDB buffers and set text
21873 properties line-by-line.
21874 (gdb-invalidate-breakpoints)
21875 (gdb-breakpoints-list-handler-custom)
21876 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21877 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21878 (gdb-registers-handler-custom): Align data columns.
21879 (gdb-locals-handler-custom): Now prints data like in variable
21881 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21882 Remove confusing buttons.
21883 (gdb-invalidate-threads): Append --frame.
21884 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21885 between breakpoints/threads buffers.
21886 (gdb-set-window-buffer): Now can ignore dedicated windows.
21887 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21888 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21889 (def-gdb-thread-buffer-gud-command): Replaces
21890 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21891 for fine thread control.
21892 (gdb-preempt-existing-or-display-buffer): New function used to
21893 display bound buffers without breaking window layout.
21894 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21895 (gdb-select-frame): New version of `gdb-frames-select' which now
21896 sets `gdb-frame-number' so commands may use --frame option instead
21897 of inner debugger state.
21898 (gdb-frame-handler): Do not set `gdb-frame-number'.
21899 (gdb-threads-mode-map): Select threads with mouse.
21901 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21902 avoid compilation warning.
21903 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21906 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21907 Argument `key' renamed to `buffer-type'.
21908 (gdb-current-context-buffer-name): Do not add thread info to
21909 buffer name when no thread is selected.
21910 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21911 command (bug 3794).
21912 (gdb-thread-selected): Handle `=thread-selected' notification.
21913 (gdb-wait-for-pending): New macro to deal with congestion problems.
21914 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21916 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21917 This fixes problem similar to one described in bug 3947.
21918 (gud-menu-map): More menu items.
21919 (gdb-init-1): Reset `gdb-thread-number' to nil.
21921 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21924 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21925 (gdb-current-context-command): Do not append --thread if
21926 `gdb-thread-number' is nil.
21927 (gdb-running-threads-count, gdb-stopped-threads-count):
21929 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21930 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21931 New customization options.
21932 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21934 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21935 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21936 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21937 set `gdb-thread-number' and update `gud-running' properly.
21938 (gdb-running): Update threads list when new threads appear.
21939 (gdb-stopped): Support non-stop operation and new thread switching
21941 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21942 (gdb-json-partial-output): New set of JSON routines.
21943 (def-gdb-auto-update-trigger): New `signal-list' optional
21945 (gdb-thread-list-handler-custom): Update `gud-running',
21946 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21947 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21948 (gdb-continue-thread, gdb-step-thread): New commands for fine
21949 thread execution control.
21950 (gud-menu-map): New menu items to switch non-stop options.
21951 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21952 (gdb-send): Mimic RET properly (bug 3794).
21954 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21955 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21957 (def-gdb-auto-update-handler): New nopreserve optional argument.
21958 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21960 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21961 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21962 (gdb-parent-mode): New mode to derive other GDB modes from.
21963 (gdb-display-disassembly-for-thread)
21964 (gdb-frame-disassembly-for-thread): New commands for threads
21967 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21968 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21969 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21970 (gdb-update): We now store all GDB buffers in a list so that they
21971 can be updated by traversing a list instead of calling invalidate
21972 triggers explicitly.
21973 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21974 pair for GDB buffer.
21975 (gdb-stack-buffer-name): Add thread information.
21976 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21977 handle pending triggers.
21978 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21979 (def-gdb-thread-buffer-simple-command)
21980 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21981 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21982 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21983 New commands which show buffers bound to thread.
21984 (gdb-stack-list-locals-regexp): Remove unused regexp.
21986 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21987 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21988 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21989 to (gud-comint-buffer) in *-buffer-name functions
21990 because (gdb-get-target-string) already does that.
21991 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21992 (gdb-changed-registers-handler): Rewritten without regexps.
21994 * progmodes/gdb-mi.el: Basic thread selection support.
21995 (gdb-thread-number): New variable.
21996 (gdb-current-context-command): New macro which adds --thread
21998 (gdb-threads-mode-map): Select thread with SPC.
21999 (gdb-thread-list-handler-custom): Mark current thread with overlay
22000 arrow. Synchronize GDB thread and Emacs thread.
22001 (gdb-select-thread): New command which selects current thread.
22002 (gdb-invalidate-frames, gdb-invalidate-locals)
22003 (gdb-invalidate-registers): Use --thread option.
22005 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
22007 * net/tramp.el (top): Make check for tramp-gvfs loading more
22009 (tramp-handle-insert-file-contents): `unwind-protect' must be
22010 inside `with-parsed-tramp-file-name'.
22012 * net/tramp-gvfs.el (top): Remove superfluous message when loading
22015 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
22017 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
22018 directory if CLASSPATH is not set.
22020 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
22022 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
22024 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
22026 2009-08-02 Kevin Ryde <user42@zip.com.au>
22028 * net/newst-backend.el (newsticker--raw-url-list-defaults):
22029 Update freshmeat link. Delete newsforge.com as it seems gone.
22031 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22033 * select.el (x-set-selection): Doc fix (Bug#4021).
22035 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
22037 * help-fns.el (describe-variable): Treat list return values from
22038 dir-locals-find-file properly (Bug#4005).
22040 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
22042 * net/tramp.el (tramp-debug-message): Print also microseconds.
22044 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
22046 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
22048 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
22049 (tramp-get-debug-buffer): Change `outline-regexp' according to new
22052 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
22053 (tramp-get-file-property): Use it.
22055 * autorevert.el (auto-revert-handler):
22056 Allow `auto-revert-tail-mode' for remote files.
22058 2009-08-02 Jason Rumney <jasonr@gnu.org>
22060 * minibuffer.el (read-file-name): Treat confirm options to
22061 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
22063 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22065 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
22066 (font-lock-variable-name-face, font-lock-constant-face):
22067 Darken the colors for light backgrounds.
22069 2009-08-01 Eli Zaretskii <eliz@gnu.org>
22071 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
22072 month names. (Bug#3987)
22074 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
22076 * simple.el (line-move-finish): Pass whole number to
22077 line-move-to-column.
22078 (line-move-visual): Perform hscroll to the recorded position.
22080 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
22082 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
22084 2009-07-29 Alan Mackenzie <acm@muc.de>
22086 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
22088 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
22090 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
22091 (gdb-place-breakpoints): Use full path when setting breakpoints.
22093 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
22095 * calc/calc.el (calc-mode-map): Add keybinding for
22096 `calc-transpose-lines'.
22098 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
22100 * calc/calc-misc.el (calc-transpose-lines): New function.
22102 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
22104 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
22105 Simplify check for out-of-band methods.
22106 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
22107 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
22109 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
22111 * vc-git.el (vc-git-checkin): Fix typo.
22113 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
22115 * progmodes/js2-mode.el: New file.
22117 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
22119 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
22120 (gud-menu-map): Adjust tooltip accordingly.
22122 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
22124 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
22125 (vc-bzr-log-view-mode): Adjust log-view-file-re.
22127 * add-log.el (change-log-mode-map): Add a menu.
22129 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
22131 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
22132 function returns nil.
22133 (dbus-handle-event): Handle special return value :ignore.
22134 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
22136 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
22138 * view.el (view-mode-enable): Don't define Helper-return-blurb if
22141 2009-07-25 Eli Zaretskii <eliz@gnu.org>
22145 * w32-vars.el (x-select-enable-clipboard): Doc fix.
22147 * term/pc-win.el (x-display-name, x-colors)
22148 (x-select-enable-clipboard, x-select-text): Doc fix.
22150 * term/common-win.el (x-display-name, x-colors): Doc fix.
22152 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
22153 (xw-defined-colors): Doc fix.
22155 * w32-fns.el (x-select-text, x-setup-function-keys)
22156 (x-get-selection, x-set-selection): Doc fix.
22158 * term/x-win.el (x-select-text, x-setup-function-keys)
22159 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22161 * select.el (x-set-selection): Doc fix.
22163 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22165 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22166 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22167 "IsNSSSupportAvailable" method is not available.
22168 Reported by Steve Youngs <steve@sxemacs.org>.
22170 2009-07-24 Kenichi Handa <handa@m17n.org>
22172 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22173 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22174 (build-unicode-category-table): Fix range checks.
22176 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22178 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22179 the buffer we try to sync is current when calling
22182 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22183 not show up to date files.
22185 2009-07-24 Glenn Morris <rgm@gnu.org>
22187 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22188 Add autoload cookies. If necessary, initialize.
22189 (elint-log): Handle non-file buffers.
22190 (elint-initialize): Add optional argument to reinitialize.
22191 (elint-find-builtin-variables): Save excursion.
22193 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22195 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22198 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22200 * vc.el (vc-print-log-internal): New function, split out from ...
22201 (vc-print-log): ... here.
22202 (vc-dir-move-to-goal-column): Declare.
22204 * vc-git.el (vc-git-add-signoff): New variable.
22205 (vc-git-checkin): Use it.
22206 (vc-git-toggle-signoff): New function.
22207 (vc-git-extra-menu-map): Bind it to menu.
22208 (vc-git--run-command-string): Accept a nil FILE argument.
22209 (vc-git-stash-list): New function.
22210 (vc-git-dir-extra-headers): Use it.
22212 2009-07-23 Glenn Morris <rgm@gnu.org>
22214 * help-fns.el (describe-variable): Describe ignored and risky local
22215 variables in a similar way to that in which we describe safe ones.
22217 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22218 (byte-compile-output-file-form, byte-compile-output-docform)
22219 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22220 Give some more local variables with common names a "bytecomp-" prefix,
22221 so as not to shadow things during compilation.
22222 * emacs-lisp/cl-macs.el (load-time-value)
22223 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22224 `outbuffer' to `bytecomp-outbuffer'.
22226 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22227 since the next two variables cover them automatically now.
22228 (elint-builtin-variables, elint-autoloaded-variables): New.
22229 (elint-unknown-builtin-args): Remove all members, since they can be
22230 parsed automatically now.
22231 (elint-extra-errors): New.
22232 (elint-env-add-env, elint-env-add-macro): Use cadr.
22233 (elint-current-buffer): Use or. Change final message.
22234 (elint-get-top-forms): Use line-end-position.
22235 (elint-init-env): Use cadr. Handle autoload, declare-function,
22237 (elint-add-required-env): Doc fix. Use or. Standardize error.
22238 (regexp-assoc): Remove unused function.
22239 (elint-top-form): Set elint-current-pos, to record the start of the
22240 top-level form, for compilation-mode.
22241 (elint-form): Trap errors in macro expansion. Use dolist.
22242 (elint-unbound-variable): Use elint-builtin-variables and
22243 elint-autoloaded-variables.
22244 (elint-get-args): Use cadr, or.
22245 (elint-check-cond-form): Use dolist, cadr.
22246 (elint-check-condition-case-form): Doc fix. Use cadr.
22247 Use elint-extra-errors.
22248 (elint-log): New function.
22249 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22250 Distinguish errors and warnings.
22251 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22252 Use a bytecomp-style format.
22253 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22254 (elint-get-log-buffer): Use compilation mode. Disable undo.
22255 Don't truncate lines.
22256 (elint-initialize): Set builtin and autoloaded variable lists.
22257 Only process elint-unknown-builtin-args if non-nil.
22258 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22260 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22262 2009-07-22 Kevin Ryde <user42@zip.com.au>
22264 * net/newst-backend.el (newsticker--parse-atom-1.0)
22265 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22266 (newsticker--parse-rss-1.0):
22267 * progmodes/idlwave.el (idlwave-mode):
22268 * progmodes/idlw-shell.el (idlwave-shell-mode):
22269 * progmodes/vera-mode.el (vera-mode):
22270 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22271 * progmodes/vhdl-mode.el (vhdl-mode):
22272 * textmodes/table.el (table-generate-source)
22273 (table--warn-incompatibility):
22274 Hyperlink urls in docstrings with URL `...'.
22276 2009-07-22 Glenn Morris <rgm@gnu.org>
22278 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22279 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22280 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22281 Remove leading * from defcustom docs.
22283 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22285 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22287 (list-load-path-shadows): Optionally, just return shadows as a string.
22289 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22291 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22293 * mail/rmailedit.el (rmail-edit-mode):
22294 Use auto-save-include-big-deletions.
22296 * mail/rmail.el (rmail-variables):
22297 Use auto-save-include-big-deletions.
22299 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22302 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22304 * calc/calc.el (calc-undo-length): New variable.
22305 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22307 2009-07-21 Richard Stallman <rms@gnu.org>
22309 * files.el (auto-save-mode): Handle buffer-save-size = -2
22312 2009-07-21 Glenn Morris <rgm@gnu.org>
22314 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22316 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22318 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22319 silence compiler. Instead...
22320 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22321 (ps-print-ensure-fontified): Update for above function name changes.
22323 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22324 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22325 silence compiler. Instead...
22326 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22327 (mh-show-buffer): Only define for compiler.
22328 (pr-mh-current-message): Update for above function name changes.
22330 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22332 (find-file-noselect, insert-file-1): Update for above change.
22334 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22336 * mail/mailclient.el (mailclient-send-it): Fix message.
22338 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22339 (edebug-eval): Check cl-debug-env is bound.
22340 (print-level, print-circle): Don't redefine built-in variables.
22342 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22343 (custom-print-vectors): Remove old comments from doc.
22345 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22346 (emerge-version): Make the variable an obsolete alias for the
22347 emacs-version variable. Make the function obsolete.
22348 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22349 Emerge options, rather than merging in into the main Options menu.
22350 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22351 and auto advance modes. Disable edit/fast items when not relevant.
22353 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22355 * term/vt420.el (terminal-init-vt420): Fix typo.
22357 2009-07-20 Sam Steingold <sds@gnu.org>
22359 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22360 variable (removed from compile.el on 2004-03-11).
22362 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22364 * files.el (hack-local-variables-filter): Fix last change.
22366 2009-07-19 Juri Linkov <juri@jurta.org>
22368 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22369 (dir-local-variables-alist): New buffer-local variable.
22370 (hack-local-variables-filter): If variable is not dir-local,
22371 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22372 because file-local overrides dir-local.
22373 (c-postprocess-file-styles) <declare-function>:
22374 Remove obsolete declaration.
22375 (hack-dir-local-variables): Add dir-local variable/value pair to
22376 `dir-local-variables-alist' and remove duplicates. Doc fix.
22378 * help-fns.el (describe-variable): Add information about
22379 file-local and dir-local variables.
22381 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22383 * files.el (hack-local-variables-filter): Rewrite.
22385 2009-07-19 Glenn Morris <rgm@gnu.org>
22387 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22388 Silence compiler by only defining on XEmacs.
22390 * international/mule.el (auto-coding-regexp-alist): Only match
22391 BABYL... at the start of buffer, not of lines. (Bug#3790)
22393 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22394 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22395 (cal-menu-context-mouse-menu): Doc fix.
22397 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22399 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22401 2009-07-18 Juri Linkov <juri@jurta.org>
22403 * info.el: Virtual Info keyword finder.
22404 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22405 (Info-finder-file): New variable.
22406 (Info-finder-find-file): New function.
22407 (finder-known-keywords, finder-package-info)
22408 (find-library-name, lm-commentary): Use defvar and
22409 declare-function to silence compiler warnings.
22410 (Info-finder-find-node): New function.
22411 (info-finder): New command.
22413 * subr.el (process-kill-buffer-query-function): New function.
22414 (add-hook)<kill-buffer-query-functions>: Add hook
22415 `process-kill-buffer-query-function'.
22417 2009-07-18 Alan Mackenzie <acm@muc.de>
22419 * progmodes/cc-mode.el (c-before-hack-hook)
22420 (c-postprocess-file-styles): Give invocation of `c-set-style'
22421 DONT-OVERRIDE parameter of t. Already set style variables will
22422 thus not be overridden by style settings given by `c-file-syle'.
22424 * files.el (hack-local-variables-filter): Remove entries with
22425 duplicate keys from `file-local-variables-alist'.
22427 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22429 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22430 x-set-selection if display-selections-p returns nil for the
22433 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22435 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22437 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22439 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22440 Accept nil in addition to a regexp.
22441 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22442 Accept nil in addition to a regexp.
22443 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22444 buffers that have an associated file. Handle nil values of
22445 desktop-buffers-not-to-save and desktop-files-not-to-save.
22448 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22449 (x-disown-selection-internal): New functions.
22451 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22453 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22455 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22456 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22458 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22460 * simple.el (set-mark): Revert last change.
22462 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22464 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22465 rendering of pngs is not possible instead of messaging a long
22468 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22470 * w32-fns.el (x-selection-owner-p): New function.
22472 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22473 (mouse-yank-at-click, mouse-yank-primary):
22474 If select-active-regions is non-nil, deactivate the mark before
22477 * simple.el (deactivate-mark, set-mark): Only save selection if we
22480 2009-07-17 Kenichi Handa <handa@m17n.org>
22482 * case-table.el (describe-buffer-case-table): Fix for the case
22483 that KEY is a cons.
22485 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22487 * vc-rcs.el (vc-rcs-find-file-hook):
22488 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22490 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22492 * net/tramp.el (tramp-wait-for-output): Handle the case when
22493 commands do not return a newline but a null byte before the shell
22496 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22498 * term/ns-win.el (ns-set-alpha): Don't declare.
22499 (ns-set-background-alpha): Remove function.
22501 2009-07-16 Kevin Ryde <user42@zip.com.au>
22503 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22504 y-or-n-p, for safety.
22506 2009-07-16 Richard Stallman <rms@gnu.org>
22508 * files.el (auto-save-mode): If buffer-saved-size is -2,
22511 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22512 (rmail-retry-ignored-headers): Add more uninteresting fields.
22514 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22516 * net/rcirc.el (rcirc): Use history variables.
22517 (rcirc-server-name-history, rcirc-nick-name-history)
22518 (rcirc-server-port-history): New variables.
22520 2009-07-15 Kenichi Handa <handa@m17n.org>
22522 * international/mule-cmds.el (set-language-environment-charset):
22523 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22526 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22527 Delete unibyte-display.
22529 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22531 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22533 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22535 * simple.el (deactivate-mark): Optional argument FORCE.
22536 (set-mark): Use deactivate-mark.
22538 * info.el (Info-search): No need to check transient-mark-mode
22539 before calling deactivate-mark.
22541 * select.el (x-set-selection): Doc fix.
22542 (x-valid-simple-selection-p): Allow buffer values.
22543 (xselect--selection-bounds): Handle buffer values.
22544 Suggested by David De La Harpe Golden.
22546 * mouse.el (mouse-set-region, mouse-drag-track):
22547 Call copy-region-as-kill before setting the mark, to let
22548 select-active-regions work.
22550 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22552 * simple.el (deactivate-mark): If select-active-regions is
22553 non-nil, copy the selection data into a string.
22554 (activate-mark): If select-active-regions is non-nil, set the
22555 selection to the current buffer.
22556 (set-mark): Update selection if select-active-regions is non-nil.
22558 * select.el (x-valid-simple-selection-p): Allow buffer values.
22560 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22562 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22563 and more featureful message-mode.
22565 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22567 * select.el (x-set-selection): Doc fix.
22568 (x-valid-simple-selection-p): Disallow selection data consisting
22569 of a list or cons of integers, since that is not used.
22570 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22571 (xselect-convert-to-string, xselect-convert-to-length)
22572 (xselect-convert-to-filename, xselect-convert-to-charpos)
22573 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22575 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22577 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22578 output in -break-info command (Emacs bug #3794).
22580 2009-07-14 Glenn Morris <rgm@gnu.org>
22582 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22583 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22584 (edebug-print-length, edebug-print-level, edebug-print-circle)
22585 (edebug-sit-for-seconds, edebug-view-outside)
22586 (edebug-bounce-point, edebug-set-global-break-condition)
22587 (edebug-Go-nonstop-mode, edebug-trace-mode)
22588 (edebug-Trace-fast-mode, edebug-continue-mode)
22589 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22590 (edebug-visit-eval-list): Doc fixes.
22592 * subr.el (def-edebug-spec): Doc fix.
22594 2009-07-14 Kenichi Handa <handa@m17n.org>
22596 * international/characters.el: Fix setting of category ?C.
22598 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22600 * term/ns-win.el (x-select-font): defalias x-select-font to
22601 ns-popup-font-panel instead of generate-fontset-menu.
22603 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22605 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22607 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22609 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22610 the PK\003\004 header (Bug#3770).
22612 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22614 * pcomplete.el (pcomplete-comint-setup): Check for
22615 shell-dynamic-complete-filename too.
22617 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22619 * simple.el (temporary-goal-column): Change the value for
22620 line-move-visual to a cons cell.
22621 (line-move-visual): Record or set the window hscroll, if
22622 necessary (Bug#3494).
22623 (line-move-1): Handle cons value of temporary-goal-column.
22625 2009-07-11 Kenichi Handa <handa@m17n.org>
22627 * international/mule-diag.el (describe-character-set): Don't show
22630 2009-07-10 Sam Steingold <sds@gnu.org>
22632 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22633 Omake sometimes indents the errors it prints, so allow all
22634 regexps to start with spaces.
22636 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22638 * cus-edit.el (customize-changed-options-previous-release):
22639 Bump value to 22.1. (Bug#3804)
22641 2009-07-08 Sam Steingold <sds@gnu.org>
22643 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22644 to be a cons cell (test . ignored-directory) to selectively ignore
22645 some directories depending on the location of the search.
22647 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22649 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22650 remote user is root, on the local host.
22651 (tramp-local-host-p): Either the local user or the remote user
22652 must be root. (Bug#3771)
22654 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22656 * progmodes/gdb-mi.el (gdb): Remove description of
22657 gdb-use-separate-io-buffer.
22658 (menu): Don't allow toggling of or enable
22659 gdb-use-separate-io-buffer from menubar.
22661 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22663 * mail/unrmail.el (unrmail): Make sure the message ends with two
22664 newlines (Bug#3769).
22666 2009-07-08 Glenn Morris <rgm@gnu.org>
22668 * calendar/calendar.el (calendar-current-date): Rework previous change.
22670 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22672 * calendar/calendar.el (calendar-current-date):
22673 Add an optional argument giving an offset from today.
22675 2009-07-08 Glenn Morris <rgm@gnu.org>
22677 * tutorial.el (tutorial--describe-nonstandard-key):
22678 Adjust the message for when a key has been unbound.
22679 (help-with-tutorial): Hide the arch-tag.
22681 2009-07-08 Kenichi Handa <handa@m17n.org>
22683 * international/fontset.el (setup-default-fontset): For each
22684 script, append (not set) font-specs.
22686 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22689 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22691 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22692 -data-list-register-names to ...
22693 (gdb-starting): ... here because GDB 7.0 requires execution to
22694 have started when using this MI command.
22695 (gdb-set-header): New function to distinguish select and
22696 unselected tabs in gdb buffers.
22697 (gdb-propertize-header): New macro that uses gdb-set-header.
22698 (gdb-breakpoints-header, gdb-locals-header): Use it.
22699 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22701 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22703 * Makefile.in (ELCFILES): Remove fadr.elc.
22705 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22707 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22708 may contain frame information, so `string-match' should be used.
22709 (gdb-update): Disassembly is invalidated through
22710 `gdb-get-selected-frame'.
22711 (gdb-pad-string): New function to pad string with spaces.
22712 (gdb-invalidate-disassembly): Invalidate only if the buffer
22714 (gdb-disassembly-handler-custom): Column alignment.
22715 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22717 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22719 (gdb-frame-handler): Match convention to for disassembly buffer
22721 (gdb-stack-list-frames-handler): Rewritten without regexps.
22722 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22723 not highlight breakpoints without line information.
22724 (gdb-input): Add trailing newline to command.
22726 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22728 (gdb-breakpoints-list-handler-custom): Replacement for
22729 `gdb-break-list-handler'. Using real parser instead of regexps
22731 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22732 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22733 to place breakpoints.
22734 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22736 (gdb-disassembly-handler-custom): Show overlay arrow.
22737 (gdb-disassembly-place-breakpoints): Show breakpoints in
22738 disassembly buffer.
22739 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22740 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22741 instead of parsing breakpoints buffer. Fixed old menu references
22746 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22747 (gdb-memory-address): New variable which holds top address of
22748 memory page shown in memory buffer.
22749 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22750 New customization variables.
22752 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22753 display the memory buffer.
22754 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22755 buffer display parameters.
22756 (def-gdb-memory-format, gdb-memory-format-binary)
22757 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22758 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22759 Functions for setting memory buffer format.
22760 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22761 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22762 unit size used in memory buffer.
22763 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22764 Switch to next/previous page of memory buffer.
22765 Now using (bindat-get-field) instead of fadr functions.
22767 2009-07-07 Sam Steingold <sds@gnu.org>
22769 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22770 non-top-level files.
22772 2009-07-07 Kenichi Handa <handa@m17n.org>
22774 * international/mule-cmds.el (reset-language-environment):
22775 Put the highset priority to the charset iso-8859-1.
22777 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22779 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22780 to the end of the line when locating the block (Bug#700).
22782 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22784 * net/tramp.el (tramp-handle-write-region): Flush file properties
22785 in case of short track.
22787 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22789 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22790 Coded custom representation of verilog error regular expressions
22791 to work with Emacs-22's new format.
22792 (verilog-error-regexp-xemacs-alist): Coded custom representation
22793 of verilog error regular expressions to work with XEmacs format.
22794 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22795 error recognition into XEmacs.
22796 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22797 error recognition into Emacs-22.
22799 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22801 * woman.el: Remove stand-alone closing parentheses.
22802 (woman-file-name, woman2-format-paragraphs)
22803 (woman-leave-blank-lines): Code cleanup.
22804 (woman-use-own-frame): Change default to nil.
22805 (woman-italic, woman-bold, woman-unknown, woman-addition):
22806 Change defaults to inherit from default faces.
22807 (woman2-process-escapes): Consume the newline after a stand-alone
22808 filler character (Bug#3651).
22810 2009-07-06 Glenn Morris <rgm@gnu.org>
22812 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22813 (top-level): Move provide to the end.
22814 (ffap): Remove defunct URL from custom group.
22816 * subr.el (eval-after-load): Doc fix.
22818 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22820 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22821 `calc-embedded-word' is called twice.
22823 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22825 * files.el (find-alternate-file-other-window, find-alternate-file):
22826 Obey confirm-nonexistent-file-or-buffer.
22828 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22830 * dired-aux.el (dired-show-file-type): Handle remote files.
22832 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22834 * desktop.el (desktop-globals-to-save):
22835 Add file-name-history (Bug#2750).
22837 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22839 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22841 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22843 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22844 property on entire argument since this is what eshell-lisp-command
22847 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22849 * net/tramp-gvfs.el (tramp-gvfs-methods)
22850 (tramp-gvfs-zeroconf-domain)
22851 (tramp-bluez-discover-devices-timeout): Add version flag.
22852 (tramp-gvfs-handler-mounted-unmounted)
22853 (tramp-gvfs-connection-mounted-p): Polish handling of
22854 incompatibilities between GVFS 0.2 and 1.0.
22856 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22858 * cus-start.el (all): Add make-pointer-invisible.
22860 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22862 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22863 formatted correctly.
22865 2009-07-02 Juri Linkov <juri@jurta.org>
22867 * info.el: Virtual Info files and nodes.
22868 (Info-virtual-files, Info-virtual-nodes): New variables.
22869 (Info-current-node-virtual): New variable.
22870 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22872 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22873 to check for a virtual file instead of checking a fixed list
22875 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22876 instead of ad-hoc processing of "dir" and (apropos history toc).
22877 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22878 instead of ad-hoc processing of "dir" and (apropos history toc).
22879 Reread a file when moving from a virtual node.
22880 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22881 (Info-directory-toc-nodes, Info-directory-find-file)
22882 (Info-directory-find-node): New functions.
22883 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22884 (Info-history): Move part of code to
22885 `Info-history-find-node'.
22886 (Info-history-toc-nodes, Info-history-find-file)
22887 (Info-history-find-node): New functions.
22888 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22889 (Info-toc): Move part of code to `Info-toc-find-node'.
22890 (Info-toc-find-node): New function.
22891 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22892 the current Info file name to references because now the node
22893 "*TOC*" belongs to the same Info manual.
22894 (Info-toc-build): Rename from `Info-build-toc'.
22895 (Info-toc-nodes): Rename input argument `file' to `filename'.
22896 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22897 instead of ad-hoc processing of ("dir" apropos history toc).
22898 (Info-index-nodes): Use Info-virtual-file-p
22899 to check for a virtual file instead of checking a fixed list
22901 (Info-index-node): Add check for `Info-current-node-virtual'.
22902 Raise `save-match-data' higher up the tree to contain
22903 `search-forward' too (bug fix).
22904 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22905 (Info-virtual-index-nodes): New variable.
22906 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22907 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22908 (Info-apropos-file, Info-apropos-nodes): New variables.
22909 (Info-apropos-toc-nodes, Info-apropos-find-file)
22910 (Info-apropos-find-node, Info-apropos-matches): New functions.
22911 (info-apropos): Move part of code to `Info-apropos-find-node' and
22912 `Info-apropos-matches'.
22913 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22914 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22915 for a virtual file instead of checking a fixed list of node names.
22917 * simple.el (async-shell-command): New command.
22919 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22921 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22922 instead of `mount-info'.
22924 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22926 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22927 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22929 2009-07-02 Kenichi Handa <handa@m17n.org>
22931 * international/mule.el (set-keyboard-coding-system): Force *-unix
22932 coding-system to avoid eol conversion.
22934 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22936 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22937 Add handler for `process-file', `shell-command' and
22938 `start-file-process'.
22939 (tramp-gvfs-handle-shell-command)
22940 (tramp-gvfs-handle-start-file-process)
22941 (tramp-gvfs-handle-process-file): New defuns.
22942 (tramp-synce-list-devices): Simplify check for existence of property.
22944 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22946 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22948 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22950 * language/korean.el (set-language-info-alist): Add korean-cp949,
22953 2009-07-01 Kenichi Handa <handa@m17n.org>
22955 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22957 * international/encoded-kb.el: Deleted.
22959 * international/mule.el (set-keyboard-coding-system): Perform the
22960 necessary setup here instead of calling encoded-kbd-setup-display.
22962 2009-07-01 Glenn Morris <rgm@gnu.org>
22964 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22966 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22968 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22970 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22972 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22973 Handle also the 'rename case, when setting file modes. (Bug#3712)
22974 (tramp-default-file-modes): Remove execute permissions.
22976 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22977 (top): Add a default for "synce" in `tramp-default-user-alist'.
22978 Add completion function for "synce" method.
22979 (tramp-hal-service, tramp-hal-path-manager)
22980 (tramp-hal-interface-manager, tramp-hal-interface-device):
22982 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22983 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22986 * net/trampver.el: Update release number.
22988 2009-06-30 Kenichi Handa <handa@m17n.org>
22990 * international/fontset.el (setup-default-fontset): Add CJK fonts
22991 for symbols and the other miscellaneous characters.
22993 * language/korea-util.el (setup-korean-environment-internal):
22994 Make char-width-table suitable for Korean environments.
22995 (exit-korean-environment): Cancel above.
22997 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22998 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22999 setup-function to make char-width-table suitable for respective
23000 environments, and an exit-function to cancel that.
23002 * language/japan-util.el (setup-japanese-environment-internal):
23003 Call use-cjk-char-width-table with arg `ja_JP'.
23005 * international/characters.el (cjk-char-width-table): Delete it.
23006 (cjk-char-width-table-list): New variable.
23007 (use-cjk-char-width-table): New arg local-name.
23008 (use-default-char-width-table): Fix for the case that Emacs is
23009 already using the default char-width-table.
23011 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
23013 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
23014 modes mandatory. (Bug#3712)
23016 2009-06-29 Alan Mackenzie <acm@muc.de>
23018 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
23019 correction between the visible width of TABs and their number of bytes.
23021 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
23023 * server.el (server-buffer-done): Prevent kill-buffer from
23024 prompting by clearing the buffer modification flag (Bug#3696).
23026 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
23028 * progmodes/verilog-mode.el (verilog-beg-of-statement)
23029 (verilog-endcomment-reason-re): Support unique case and priority case.
23030 (verilog-basic-complete-re): Support localparam lineup.
23031 (verilog-beg-of-statement-1): Fix for robustness, unique case.
23032 (verilog-set-auto-endcomments): Fix for unique case, always_comb
23034 (verilog-leap-to-case-head): Now support *nested* unique &
23035 priority case statements.
23036 (verilog-auto-lineup): Make just declarations the default (as it
23038 (verilog-leap-to-case-head): Support priority/unique case statements.
23039 (verilog-auto-lineup): Rework to give users radio buttons to
23040 select the various styles of automatic lineup.
23041 (verilog-error-regexp-alist): Rework to support the XEmacs style
23042 of error regular expressions from compilers, lint tools &
23043 simulators. Note that GNU Emacs has made it impossible for a mode
23044 to load such things.
23045 (electric-verilog-terminate-line, verilog-indent-declaration)
23046 (verilog-auto-wiure): Rework for radio button selection of
23047 auto-lineup selection of specification of auto lineup.
23048 (verilog-beg-of-statement-1): Redesign to support proper operation
23049 in additional code, based on testing with auto-lineup.
23050 (verilog-calculate-indent, assignments & declarations)
23051 (verilog-backward-token): Enhance to support auto-lineup of
23052 assignments & declarations.
23053 (verilog-in-directive-p, verilog-at-struct-p): New function for
23054 easy test of whether we are.
23055 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
23056 to support safe execution at almost anyline.
23057 (verilog-calc-1): Properly support indenting deep inside generate
23059 (verilog-init-font): Remove definition & use of verilog-init-font,
23060 as it is redundant with font-lock-defaults.
23061 (verilog-mode): Alter the definition of verilog-font-lock-defaults
23062 to avoid circular calls if syntax-ppss is a function (as is the
23063 case now in 22.x GNU Emacs) as that function would sometimes call
23064 itself, leading to (nearly) infinite recursion.
23065 (verilog-ovm-begin-re, verilog-ovm-end-re)
23066 (verilog-ovm-statement-re, verilog-leap-to-head)
23067 (verilog-backward-token): Add support for OVM macros. Some are
23068 complete statements, and others open and close scopes like begin
23070 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
23071 (verilog-defun-level-generate-only-re): Really fix the defun-list
23073 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
23074 coverpoint, constraint and cross statements.
23075 (verilog-defun-level-list, verilog-generate-defun-level-list)
23076 (verilog-all-defun-level-list): Redo these specifications - it is
23077 too hard to support eval-when compile aggregation of lists also
23078 built at when-compile time.
23079 (verilog-defun-level-list): Place defconsts of variables used in
23080 building regular expressions which are built in eval-when-compile
23081 bodies in the same eval-when-compile body to facilitate compile
23083 (verilog-beg-block-re-ordered): Support indenting
23084 virtual/protected tasks and functions.
23085 (verilog-defun-level-list, verilog-in-generate-region-p)
23086 (verilog-backward-ws&directives, verilog-calc-1): Speed up
23087 indentation of some module items (generate items).
23088 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
23089 across virtual/protected tasks and functions.
23091 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
23093 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
23094 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
23095 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
23096 in concatenations. Reported by Yishay Belkind.
23097 (verilog-auto-ascii-enum): Support one-hot state machines in
23098 AUTOASCIIENUM. Suggested by Lloyd Gomez.
23099 (verilog-auto-inst, verilog-auto-inst-port): Include interface
23100 modport in AUTOINST and add vl-modport for users.
23101 Reported by David Rogoff.
23102 (verilog-auto-inout-module, verilog-auto-inst)
23103 (verilog-decls-get-interfaces, verilog-insert-definition)
23104 (verilog-insert-one-definition, verilog-read-decls)
23105 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
23106 (verilog-sig-modport, verilog-signals-combine-bus)
23107 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
23108 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
23109 Suggested by David Rogoff.
23110 (verilog-repair-open-comma): Fix non-insertion of comma when
23111 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
23112 (verilog-make-width-expression): Simplify [A-1:0] expression
23113 widths to just {A{1'b0}}.
23114 (verilog-mode): Cleanup checkdoc warnings.
23115 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
23116 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
23117 inputs/outputs or data type. Suggested by Vasu Kandadi.
23118 (next-error-last-buffer): Fix byte-compiler warning.
23119 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
23120 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
23121 or shell command text during AUTO expansion. Suggested by Tad Truex.
23122 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
23123 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
23124 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
23125 in AUTOINOUT. Reported by Matthew Lovell.
23126 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
23127 causing use of <= assignments. Reported by Alex Reed.
23128 (verilog-read-decls): Fix triand, trior, wand, wor to be
23129 recognized by AUTOWIRE. Reported by Spencer Isaacson.
23130 (verilog-extended-complete-re): Support import "DPI-C" functions.
23131 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
23132 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
23133 (verilog-insert-date, verilog-insert-year)
23134 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
23135 Windows systems. Reported by Michael Potts.
23136 (verilog-read-module-name): Fix AUTOINST when the child module
23137 declaration's name is a tick define. Reported by Elliot Mednick.
23138 (verilog-read-decls): Fix V2K parameter bit subscripts getting
23139 passed to next parameter's definition. Reported by Bruce T.
23140 (verilog-read-decls): Fix detecting "parameter int" when using
23141 AUTOINSTPARAM. Reported by Bruce T.
23142 (verilog-goto-defun): Fix goto not finding modules unless first
23143 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
23144 (verilog-mode): Expand -f flag arguments on entry to mode so
23145 verilog-goto-defun will work. Reported by Lawrence Butcher.
23146 (verilog-getopt): Expand environment variables in -f file
23147 arguments. Suggested by Lawrence Butcher.
23148 (verilog-set-define): Fix "Symbol's value as variable is void"
23149 when reading enumerations.
23150 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
23151 Suggested by Stephen Peltan.
23152 (verilog-read-defines): Fix reading of enumerations in include
23153 files. Reported by Steve Peltan.
23155 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23157 * files.el (trash-directory): Fix defcustom type.
23159 2009-06-28 Juri Linkov <juri@jurta.org>
23161 * help-fns.el (describe-function-1): Correctly locate adviced
23162 functions in hyperlink (Bug#2438).
23164 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23166 * files.el (trash-directory): Change default to nil.
23167 (move-file-to-trash): If trash-directory is nil and
23168 system-move-file-to-trash is unbound, perform freedesktop-style
23171 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23173 * files.el (move-file-to-trash): Add freedesktop trash
23176 2009-06-28 Glenn Morris <rgm@gnu.org>
23178 * autorevert.el (global-auto-revert-non-file-buffers)
23179 (global-auto-revert-mode): Doc fixes.
23181 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23183 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23185 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23187 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23188 opened an X connection before calling x-get-resource (Bug#3194).
23190 * play/doctor.el: Remove reference to obsolete website.
23191 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23193 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23195 Remove find-file-not-found-hook VC method. (Bug#2757)
23196 * vc-hooks.el (vc-file-not-found-hook)
23197 (vc-default-find-file-not-found-hook): Remove functions.
23198 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23199 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23202 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23204 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23206 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23207 compatibility function for `looking-back'.
23209 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23210 Use `ispell-looking-back'.
23212 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23214 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23215 rather than `filename'.
23217 2009-06-23 Miles Bader <miles@gnu.org>
23219 * face-remap.el (text-scale-set): New function.
23221 2009-06-23 Glenn Morris <rgm@gnu.org>
23223 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23225 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23227 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23229 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23231 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23232 Simplify Persian conditionals.
23234 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23235 variable `filename'.
23237 * comint.el (comint-insert-input): Doc fix.
23239 * Makefile.in (ELCFILES): Fix typo in previous change.
23241 2009-06-23 Miles Bader <miles@gnu.org>
23243 * cus-start.el: Add entry for `recenter-redisplay'.
23245 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23247 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23248 Add an optional argument for the backend, use it instead of
23249 calling vc-backend.
23250 (vc-mode-line): Add an optional argument for the backend.
23251 Pass the backend to vc-state and vc-working-revision. Move code for
23252 special handling for vc-state being a buffer to ...
23254 * vc-rcs.el (vc-rcs-find-file-hook):
23255 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23257 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23258 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23259 vc-stay-local-p and vc-mode-line calls.
23261 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23262 (vc-cvs-diff, vc-cvs-annotate-command)
23263 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23264 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23265 vc-mode-line calls.
23267 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23269 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23270 backend when calling vc-mode-line.
23271 (vc-register): Do not create a closure for calling the vc register
23272 function, call it directly.
23274 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23276 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23277 to make it obvious item can be clicked.
23279 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23281 2009-06-23 Kenichi Handa <handa@m17n.org>
23283 * language/korea-util.el (korean-key-bindings): Change the binding
23284 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23287 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23289 Sync with Tramp 2.1.16.
23291 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23293 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23294 when a loading of a package fails. Completion function for rsync
23295 is `tramp-completion-function-alist-ssh'.
23296 (all): Replace all calls of `split-string' and
23297 `tramp-split-string' by `tramp-compat-split-string'.
23298 (tramp-default-method): Use `tramp-compat-process-running-p'.
23299 (tramp-default-proxies-alist): Allow also Lisp forms.
23300 (tramp-remote-path): Add choice "Private Directories".
23301 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23302 (tramp-domain-regexp): Allow also "-", "_" and ".".
23303 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23304 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23305 (tramp-debug-message): Insert header line in debug buffer.
23306 (tramp-handle-directory-files-and-attributes-with-stat):
23307 Care about filenames with spaces, or starting with "-".
23308 (tramp-handle-dired-uncache): New defun.
23309 (tramp-handle-insert-directory): Don't flush the directory from
23310 cache, this is handled by `dired-uncache' now.
23311 (tramp-handle-insert-file-contents): Improve error handling.
23312 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23313 Quote `tramp-end-of-output'.
23314 (tramp-action-password): Improve trace message.
23315 (tramp-check-for-regexp): Both echoes must be present, before removing.
23316 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23317 (tramp-compute-multi-hops): Eval cons cells of
23318 `tramp-default-proxies-alist'.
23319 (tramp-maybe-open-connection): Use the same command pattern for
23320 first hop and further hops.
23321 (tramp-wait-for-output): Remove handling of newlines.
23322 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23323 (tramp-split-string): Remove function. It is handled in
23326 * net/tramp-cmds.el (tramp-bug):
23327 Recommend `tramp-cleanup-all-connections' in the bug mail.
23329 * net/tramp-compat.el (tramp-compat-split-string)
23330 (tramp-compat-process-running-p): New defuns.
23332 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23333 for `dired-uncache'.
23335 * net/tramp-gvfs.el: New package.
23337 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23338 Add handler for `dired-uncache'.
23339 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23341 * net/trampver.el: Update release number. Make version check fit
23344 2009-06-22 Jim Meyering <meyering@redhat.com>
23346 Automatically handle .xz suffix (XZ-compressed files), too.
23347 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23348 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23350 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23351 Nick Roberts <nickrob@snap.net.nz>
23353 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23354 repository (http://sphinx.net.ru/hg/gdb-mi/).
23356 2009-06-22 Glenn Morris <rgm@gnu.org>
23358 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23359 `mode' and `eval' entries. (Bug#3430)
23361 * Makefile.in (ELCFILES): Add fadr.elc.
23363 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23364 differing behavior of \n and ^ in strings. (Bug#3385)
23366 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23368 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23370 (lisp-indent-function): Make it a defcustom.
23372 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23374 * progmodes/gdb-ui.el: Replace with ...
23375 * progmodes/gdb-mi.el: ... this file.
23376 * progmodes/gud.el: Modify for gdb-mi.el.
23378 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23380 * fadr.el: New file.
23382 See ChangeLog.14 for earlier changes.
23384 ;; Local Variables:
23388 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23390 This file is part of GNU Emacs.
23392 GNU Emacs is free software: you can redistribute it and/or modify
23393 it under the terms of the GNU General Public License as published by
23394 the Free Software Foundation, either version 3 of the License, or
23395 (at your option) any later version.
23397 GNU Emacs is distributed in the hope that it will be useful,
23398 but WITHOUT ANY WARRANTY; without even the implied warranty of
23399 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23400 GNU General Public License for more details.
23402 You should have received a copy of the GNU General Public License
23403 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.