1 2011-03-05 Glenn Morris <rgm@gnu.org>
3 * eshell/esh-var.el: Don't require esh-test when compiling.
4 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
5 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
6 * eshell/esh-test.el: Move to ../../test/eshell.el
8 2011-03-05 David Engster <deng@randomsample.de>
10 * files.el (save-some-buffers): Report the names of buffers saved
11 automatically due to buffer-save-without-query (Bug#8134).
13 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15 * net/rcirc.el: Add QuakeNet authentication support.
16 (rcirc-authinfo, rcirc-check-auth-status)
17 (rcirc-authenticate): Support QuakeNet.
19 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21 * net/rcirc.el: Add functionality to authenticate before
23 (rcirc-authenticate-before-join): New option.
24 (rcirc-authenticated-hook): New variable.
25 (rcirc-connect): Make local variable rcirc-user-authenticated.
26 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
27 (rcirc-check-auth-status, rcirc-join-channels-post-auth): New
29 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE): Call
30 rcirc-check-auth-status.
32 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
34 * net/soap-client.el (soap-namespace-put-link): Check if the target
35 name is fully qualified -- use only the name part.
36 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
37 types, treated the same as xsd:sequence. (Bug#8166)
39 2011-03-05 Eli Zaretskii <eliz@gnu.org>
41 * files.el (find-file-noselect): Don't ask about re-visiting
42 non-literally if the file is already visited in image-mode.
45 2011-03-05 Glenn Morris <rgm@gnu.org>
47 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
48 (eshell-mode): Use eshell-kill-buffer-function.
49 Run the -initialize functions independently of the -load-hooks.
50 * eshell/esh-proc.el (eshell-kill-process-function): New function.
51 (eshell-gather-process-output, eshell-sentinel)
52 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
53 Use eshell-kill-process-function.
54 * eshell/em-alias.el (eshell-alias-load-hook):
55 * eshell/em-banner.el (eshell-banner-load-hook):
56 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
57 * eshell/em-dirs.el (eshell-dirs-load-hook):
58 * eshell/em-glob.el (eshell-glob-load-hook):
59 * eshell/em-hist.el (eshell-hist-load-hook):
60 * eshell/em-pred.el (eshell-pred-load-hook):
61 * eshell/em-prompt.el (eshell-prompt-load-hook):
62 * eshell/em-rebind.el (eshell-rebind-load-hook):
63 * eshell/em-script.el (eshell-script-load-hook):
64 * eshell/em-smart.el (eshell-smart-load-hook):
65 * eshell/em-term.el (eshell-term-load-hook):
66 * eshell/em-unix.el (eshell-unix-load-hook):
67 * eshell/esh-arg.el (eshell-arg-load-hook):
68 * eshell/esh-cmd.el (eshell-cmd-load-hook):
69 * eshell/esh-ext.el (eshell-ext-load-hook):
70 * eshell/esh-io.el (eshell-io-load-hook):
71 * eshell/esh-mode.el (eshell-exit-hook):
72 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
73 * eshell/esh-var.el (eshell-var-load-hook):
74 Set default hook values to nil. (Bug#5375)
76 * eshell/esh-module.el (eshell-module-unload-hook)
77 (eshell-modules-list): Remove leading * from defcustom docs.
79 * eshell/esh-util.el (eshell-for): Make it obsolete.
80 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
81 * eshell/em-dirs.el (eshell-save-some-last-dir):
82 * eshell/em-hist.el (eshell-save-some-history)
83 (eshell-hist-parse-modifier):
84 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
86 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
87 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
89 * eshell/esh-ext.el (eshell-find-interpreter):
90 * eshell/esh-mode.el (eshell-mode):
91 * eshell/esh-module.el (eshell-unload-extension-modules):
92 * eshell/esh-proc.el (eshell-process-interact):
93 * eshell/esh-test.el (eshell-test):
94 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
95 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
96 (eshell-variables-list):
97 * eshell/eshell.el (eshell-unload-all-modules):
98 Replace eshell-for with dolist.
100 2011-03-04 Glenn Morris <rgm@gnu.org>
102 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
104 2011-03-04 Tom Tromey <tromey@redhat.com>
106 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
108 2011-03-04 Glenn Morris <rgm@gnu.org>
110 * outline.el (outline-regexp): No longer allow nil.
111 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
113 * net/browse-url.el (browse-url):
114 Handle deleted default-directory. (Bug#6077)
116 * recentf.el (recentf-include-p): In case of a buggy predicate,
117 err on the side of including, not excluding. (Bug#5843)
119 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
121 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
124 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
126 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
127 if there is no node. (Bug#3261)
129 2011-03-04 Leo <sdl.web@gmail.com>
131 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
133 * time.el (display-time-world-list): Fix typo. (Bug#7571)
135 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
137 * cus-edit.el (custom-buffer-create-internal):
138 Split search string before passing it to `customize-apropos' (bug#8136).
140 2011-03-04 Drew Adams <drew.adams@oracle.com>
142 * image-dired.el (image-dired-cmd-read-exif-data-options):
143 Fix typo in docstring (bug#8156).
145 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
147 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
149 2011-03-03 Christian Ohler <ohler@gnu.org>
151 * emacs-lisp/ert.el (ert--explain-equal): New function.
152 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
154 (ert--explain-equal-including-properties): Renamed from
155 `ert--explain-not-equal-including-properties'. All callers
158 2011-03-03 Christian Ohler <ohler@gnu.org>
160 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
161 (ert-char-for-test-result, ert-string-for-test-result)
162 (ert-run-tests-batch, ert--print-test-for-ewoc):
163 Handle `ert-test-quit'.
165 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
167 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
168 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
170 2011-03-03 Glenn Morris <rgm@gnu.org>
172 * files.el (file-truename): Doc fix. (Bug#2341)
174 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
176 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e. (Bug#7349)
178 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
180 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
181 programs output backslashes. (Bug#7663)
183 2011-03-03 Glenn Morris <rgm@gnu.org>
185 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
186 (mail-mode): Remove mail-sent-via from the doc.
187 (mail-sent-via): Make it obsolete. (Bug#1776)
189 * progmodes/grep.el (grep-highlight-matches): Doc fix.
190 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
192 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
193 with no parents. (Bug#8025)
195 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
197 * password-cache.el (password-in-cache-p): Add autoload.
199 2011-03-02 Glenn Morris <rgm@gnu.org>
201 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
202 * dired-x.el (Man-support-local-filenames): Autoload it.
203 (dired-guess-shell-alist-default): Also handle Red Hat's man.
205 * dired-x.el (dired-default-directory-alist, dired-default-directory):
207 (dired-smart-shell-command): Just call dired-current-directory.
209 * dired-x.el (dired-jump-other-window): Add autoload.
210 (dired-default-directory-alist, dired-default-directory): Doc fixes.
211 (dired-default-directory-alist): Mark as risky.
213 * dired-x.el (dired-omit-here-always): Make it obsolete.
215 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
217 * textmodes/artist.el (artist-curr-go): Default to pen-line.
218 (artist-select-op-pen-line): New function.
219 (artist-menu-map): New variable.
220 (artist-mode-map): Add a menu to the menu-bar.
222 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
224 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
227 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
229 (math-logunits-add, math-logunits-mul, math-logunits-divide):
230 (math-logunits-quant, math-logunits-level):
231 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
233 (math-logunits-level): Extract units from ratio.
235 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
237 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
239 2011-03-01 Glenn Morris <rgm@gnu.org>
241 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
242 (diary-hebrew-birthday): Rename and rework functions added
245 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
247 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
248 (diary-hebrew-birthday): New functions.
250 2011-03-01 Glenn Morris <rgm@gnu.org>
252 * dired.el (dired-safe-switches-p): Beef it up.
253 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
255 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
257 * dired.el (dired-safe-switches-p): New function.
259 2011-03-01 Glenn Morris <rgm@gnu.org>
261 * files.el (dir-locals-collect-variables):
262 Add the ability to exclude subdirectories. (Bug#8100)
264 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
266 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
268 * ido.el (ido-everywhere): Doc fix.
271 2011-02-28 Glenn Morris <rgm@gnu.org>
273 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
275 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
277 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
280 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
282 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
284 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
286 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
287 Fix typos in docstrings.
289 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
291 * dired-aux.el (dired-update-file-line):
292 Fix 2010-11-09 change. (Bug#8131)
294 2011-02-28 Eli Zaretskii <eliz@gnu.org>
296 * international/mule-cmds.el (set-default-coding-systems): Use the
297 -unix variant of encoding in default-keyboard-coding-system.
300 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
302 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
304 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
306 * term/screen.el: New file (Bug#2650).
308 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
310 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
311 (pcase-mutually-exclusive-predicates): New var.
312 (pcase--split-consp, pcase--split-pred): Use it.
313 (pcase--split-equal, pcase--split-member): When splitting against
314 a pure predicate, run it to know the outcome.
315 (pcase--u1): Mark vars that are actually used.
316 (pcase--q1): Avoid introducing unused vars.
318 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
320 * calc/calc-ext.el (calc-init-extensions):
321 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
323 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
326 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
327 argument is a variable.
329 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
331 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
332 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
333 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
335 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
337 * password-cache.el (password-in-cache-p): Convenience function to
338 check if a key is in the cache, even if the value is nil.
340 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
342 * emacs-lisp/package-x.el (package--archive-contents-from-url)
343 (package--archive-contents-from-file): New functions.
344 (package-update-news-on-upload): New var.
345 (package-upload-buffer-internal): Extract archive-contents from
346 package-archive-upload-base if it is not found at archive-url.
347 Obey package-update-news-on-upload.
348 (package-upload-buffer, package-upload-file): Doc fix.
350 2011-02-24 Glenn Morris <rgm@gnu.org>
352 * files-x.el (modify-dir-local-variable): Handle dir-locals from
353 the cache, and from non-file sources.
355 * help-fns.el (describe-variable): Return consistent results when a
356 dir-local from a file came from the cache or did not. (Bug#8095)
357 If a dir-local has no associated file, say it came from a "directory".
359 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
360 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
362 * files.el (dir-locals-find-file): Doc fix.
363 Fix the check for cache elements that have no associated file,
364 and the mtime check for those that do. (Bug#8095)
366 * dired-x.el (dired-hack-local-variables):
367 Handle interrupts during hacking local variables. (Bug#5216)
369 * emacs-lisp/autoload.el (autoload-save-buffers)
370 (autoload-find-destination, update-directory-autoloads):
371 Avoid prompts when updating autoloads.
373 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
375 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
377 2011-02-23 Kenichi Handa <handa@m17n.org>
379 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
380 error when a multipart boundary in the nested multipart is found.
382 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
385 2011-02-23 Glenn Morris <rgm@gnu.org>
387 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
388 * dired-x.el (dired-omit-mode): Safe if boolean.
389 (dired-enable-local-variables): Fix doc and custom type.
390 (dired-enable-local-variables, dired-local-variables-file)
391 (dired-hack-local-variables): Make obsolete.
392 (dired-omit-here-always): Use dir-locals.el instead.
394 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
396 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
398 * help-fns.el (describe-function-1): Don't signal an error just because
399 the DOC file disappeared.
401 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
403 * eshell/esh-ext.el (eshell-external-command): Do not restrict
404 remote check to "ftp". (Bug#8089)
406 2011-02-21 Alan Mackenzie <acm@muc.de>
409 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
410 in macros finding their way into c-state-nonlit-pos-cache.
411 Strengthen the comments.
412 (c-state-dump): New commented out diagnostic routine.
414 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
416 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
417 `field' property of `rfn-eshadow-overlay'.
419 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
421 * net/netrc.el (netrc-parse): Comment fix.
423 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
425 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
426 Autoload. Add optional arg FRAME, and pass it to color-values.
427 (color-complement): Caller changed. Doc fix.
428 (color-gradient): Rewrite for better clarity and efficiency.
430 * faces.el (color-values): Use cond for clarity. Doc fix.
432 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
434 (list-colors-sort-key, list-colors-print):
435 Use color-normalized-values.
437 2011-02-20 Drew Adams <drew.adams@oracle.com>
439 * color.el: First part of merge from hexrgb.el.
440 (color-rgb-to-hex): Rename from color-rgb->hex.
441 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
442 saturation to zero if the value is too small.
443 (color-rgb-to-hsl): Rename from color-rgb->hsl.
444 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
445 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
446 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
447 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
448 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
449 (color-cie-de2000): Doc fix.
451 2011-02-20 Alan Mackenzie <acm@muc.de>
453 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
454 locating the beginning of a macro. (Bug#7595)
456 2011-02-20 Glenn Morris <rgm@gnu.org>
458 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
461 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
462 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
464 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
465 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
467 * progmodes/hideshow.el (hs-find-block-beginning)
468 (hs-hide-level-recursive): Ignore comments when parsing braces
471 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
473 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
474 (vc-bzr-pull): Use it.
476 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
478 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
479 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
480 but returning an alist. Ignore comments in bzr conffile.
481 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
482 (vc-bzr-error-regex-alist): New var.
483 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
485 * vc/vc-dispatcher.el (vc-do-async-command):
486 Bind inhibit-read-only to t.
488 * progmodes/compile.el (compilation--flush-directory-cache):
489 Handle the case where cdr of compilation--flush-directory-cache
490 points to no buffer, which can occur if we previously switched to
491 compilation-mode in a pregenerated buffer.
493 2011-02-19 Kenichi Handa <handa@m17n.org>
495 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
496 get the header copy into the temporary buffer.
497 (rmail-mime-insert-decoded-text): Ignore us-ascii.
498 (rmail-show-mime): When rmail-mime-coding-system is nil, set
499 buffer-file-coding-system to undecided.
501 2011-02-19 Eli Zaretskii <eliz@gnu.org>
503 * international/mule-cmds.el (read-char-by-name, ucs-insert):
504 Document completion with asterisk and a substring.
506 2011-02-19 Glenn Morris <rgm@gnu.org>
508 * files.el (find-file-literally): Doc fix.
510 * simple.el (rfc822-goto-eoh): Give it a doc-string.
512 * log-edit.el (log-edit-insert-changelog):
513 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
515 2011-02-19 Glenn Morris <rgm@gnu.org>
517 * dired-x.el: Don't require dired-aux.
518 (dired-do-create-files, dired-mark-read-regexp)
519 (dired-do-create-files-regexp): Autoload from dired-aux.
521 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
522 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
524 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
525 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
527 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
528 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
529 (dired-clean-up-buffers-too): Declare.
531 * dired-x.el (dired-initial-position): Merge into dired.el's version.
532 * dired.el (dired-initial-position): Merge dired-x's version here.
533 (dired-find-subdir): Declare.
535 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
536 * dired-aux.el (dired-add-entry): Give it a doc-string.
537 Merge dired-x's dired-omit handling here.
538 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
540 * international/mule-diag.el (list-input-methods-1):
541 Indent all lines of multi-line doc-strings. (Bug#8066)
543 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
545 Fix 2011-02-02 changes.
547 * apropos.el (apropos-print): Call apropos-mode before setting up
548 buffer variables. Use inhibit-read-only.
550 * emacs-lisp/package.el (package--list-packages):
551 Call package-menu-mode before setting up buffer variables.
553 * play/solitaire.el (solitaire): Call solitaire-mode before
554 setting up buffer variables. Use inhibit-read-only.
556 2011-02-18 Lawrence Mitchell <wence@gmx.li>
558 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
559 Bind case-fold-search to nil when looking for end of here-doc.
561 2011-02-18 Eli Zaretskii <eliz@gnu.org>
563 * image-mode.el (image-toggle-display-image):
564 Set find-file-literally non-nil in buffers visiting binary image
567 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
569 * files.el (cd): Make completion obey cd-path (bug#7924).
571 2011-02-18 Glenn Morris <rgm@gnu.org>
573 * progmodes/prolog.el: Don't require compile when compiling.
574 (compilation-shell-minor-mode, compilation-error-regexp-alist)
575 (compilation-forget-errors, compilation-fake-loc)
576 (compilation-parse-errors-function, compilation-error-list): Declare.
577 (prolog-inferior-mode): Require 'compile.
579 * emulation/cua-base.el (pc-selection-mode): Declare.
581 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
582 (customize-object): Add autoload cookie.
583 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
584 (eieio-browse, describe-class, eieio-describe-class)
585 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
586 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
587 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
588 * Makefile.in (autoloads): Make eieio.el writable.
590 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
591 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
592 (dired-hack-local-variables): Use inhibit-read-only.
593 (dired-guess-default): Simplify.
594 (dired-make-relative-symlink): Use dotimes.
595 (dired-simultaneous-find-file): Use dolist.
596 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
597 (dired-x-hands-off-my-keys): Doc fix.
598 (dired-x-bind-find-file): Doc fix. Use remapping.
599 (after-init-hook): No need to add dired-x-bind-find-file.
600 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
601 No need to call expand-file-name.
602 (dired-filename-at-point): Remove unused locals `end', `filename'.
604 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
606 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
608 2011-02-18 Christian Ohler <ohler@gnu.org>
610 * emacs-lisp/ert.el (ert--setup-results-buffer)
611 (ert-results-pop-to-backtrace-for-test-at-point)
612 (ert-results-pop-to-messages-for-test-at-point)
613 (ert-results-pop-to-should-forms-for-test-at-point)
614 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
615 were incorrect and unnecessary. This should make `make check'
618 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
620 * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
621 (allout-widgets-icons-dark-subdir): Track relocations of icons
622 * lisp/allout.el: Remove commentary about remove encryption
623 passphrase mnemonic support and verification.
624 (allout-encrypt-string): (allout-encrypt-string): Recognize epg
625 failure to decrypt gpg2 armored text using gpg1, and indicate that
626 the gpg version *might* be the problem in the error message.
628 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
630 * net/rcirc.el (rcirc-float-time): New function.
631 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
632 (rcirc-ctcp-sender-PING): Use it.
634 2011-02-17 Glenn Morris <rgm@gnu.org>
636 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
637 (speedbar-update-flag, speedbar-fetch-etags-command)
638 (speedbar-fetch-etags-arguments):
639 * term.el (term-buffer-maximum-size, term-input-chunk-size)
640 (term-completion-autolist, term-completion-addsuffix)
641 (term-completion-recexact, term-completion-fignore):
642 * term/sup-mouse.el (sup-mouse-fast-select-window):
643 * term/x-win.el (x-select-request-type):
644 Convert some defvars with "*" to defcustoms.
646 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
648 * vc/vc.el (vc-default-previous-version):
649 Remove alias that points nowhere. (Bug#4496)
651 * dired-x.el (dired-clean-up-after-deletion):
652 kill-buffer does not need save-excursion.
653 (dired-do-run-mail): Doc fix.
654 (dired-filename-at-point): Doc fix.
655 Use looking-at, and skip-chars rather than re search.
657 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
659 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
661 * allout-widgets.el: New allout extension that shows allout
662 outline structure with graphical widgets. 'allout-widgets'
663 customize group is an 'allout' subgroup, for easy discovery.
665 * allout.el: Include PGP and GnuPG in Keywords, and other
666 commentary refinements.
667 (allout-abbreviate-flattened-numbering): Rename to
668 allout-flattened-numbering-abbreviation, and
669 define-obsolete-variable-alias the old name.
670 (allout-flattened-numbering-abbreviation): Rename from
671 allout-abbreviate-flattened-numbering.
672 (allout-mode-p): Include among autoloads, for use by other modes
674 (allout-listify-exposed):
675 Use allout-flattened-numbering-abbreviation.
676 (allout-encrypt-string): Use set-buffer-multibyte directly.
677 (allout-set-buffer-multibyte): Remove.
679 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
681 * simple.el (just-one-space): Remove useless `or' call.
683 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
685 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
686 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
687 (soap-decoded-multi-refs, soap-current-wsdl)
688 (soap-encoded-namespaces): Rename CL-style *...* variables.
690 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
692 * net/soap-client.el: Add "comm" and "hypermedia" to the
693 keywords. Reflow too long lines.
695 * net/soap-inspect.el: Ditto. Require 'cl.
697 2011-02-16 Bastien Guerry <bzg@altern.org>
699 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
700 in a `doctor-type' argument.
702 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
704 * net/soap-client.el:
705 * net/soap-inspect.el: New files.
707 2011-02-16 Leo <sdl.web@gmail.com>
709 * dired-x.el (dired-mode-map, dired-extra-startup):
710 Remove dired-copy-filename-as-kill since it's already in dired.el.
712 2011-02-16 Glenn Morris <rgm@gnu.org>
714 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
715 Doc fixes. Add :set property, replacing top-level calls.
716 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
717 (dired-guess-shell-gnutar): Test tar version rather than system-type.
718 (dired-extra-startup, dired-man, dired-info): Doc fixes.
719 (dired-clean-up-after-deletion): Use when and dolist.
720 (dired-jump): Use unless and when.
721 (dired-virtual): Use line-end-position.
722 (dired-default-directory-alist): Rename from default-directory-alist.
723 (dired-default-directory): Update for above name change.
724 (dired-vm): Drop VM < 5 and simplify.
725 (dired-buffer-more-recently-used-p): Rewrite.
726 (dired-filename-at-point): Use when and or.
727 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
730 2011-02-15 Glenn Morris <rgm@gnu.org>
732 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
734 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
736 * vc/vc-git.el (vc-git-root-log-format): New option for
737 customizing log format.
738 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
739 (vc-git-log-view-mode): Use it.
740 (vc-git-expanded-log-entry): New function.
741 (vc-git-log-view-mode): Use it. Truncate lines in root log.
743 * vc/vc-hg.el (vc-hg-root-log-template): New option for
744 customizing log format.
745 (vc-hg-print-log): Use it.
746 (vc-hg-expanded-log-entry): New function.
747 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
748 vc-hg-expanded-log-entry. Truncate lines in root log.
750 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
752 * vc/log-view.el (log-view-mode-menu):
753 Add log-view-toggle-entry-display.
755 2011-02-14 Glenn Morris <rgm@gnu.org>
757 * dired-x.el: Don't require man when compiling.
758 (dired-omit-extensions, dired-local-variables-file)
759 (dired-x-hands-off-my-keys): Make them defcustoms.
760 (Man-support-local-filenames, Man-getpage-in-background): Declare.
761 (vm-visit-folder): Declare rather than defining.
762 (dired-x-help-address, dired-x-variable-list): Remove.
763 (dired-x-submit-report): Make it an obsolete alias.
765 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
767 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
769 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
771 * net/imap.el: Bring it back.
773 2011-02-13 Alan Mackenzie <acm@muc.de>
775 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
776 narrow-to-region call that cuts context off the end (Bug#7722).
778 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
779 Refactor nested if-forms with a simple cond.
780 (c-forward-<>-arglist): Revert 2011-01-31 change.
782 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
784 * vc/log-view.el: New command log-view-toggle-entry-display for
785 toggling log entries between concise and detailed forms.
786 (log-view-toggle-entry-display): New command.
787 (log-view-mode-map): Bind RET to it.
788 (log-view-expanded-log-entry-function): New variable.
789 (log-view-current-entry, log-view-inside-comment-p)
790 (log-view-current-tag): New functions.
791 (log-view-toggle-mark-entry): Use log-view-current-entry and
792 log-view-end-of-defun instead of searching directly with
794 (log-view-end-of-defun): Likewise. Add optional ARG for
795 compatibility with end-of-defun.
796 (log-view-end-of-defun): Ignore comments and VC buttons.
798 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
799 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
801 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
803 * net/imap.el: Remove file. All the functionality is in nnimap.el.
805 * net/imap-hash.el: Remove file.
807 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
809 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
811 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
814 * net/tramp-imap.el: Remove file.
816 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
818 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
819 widget library for buttons, just use button.el.
821 * vc/log-view.el (log-view-mode-map): Don't inherit from
824 2011-02-12 Glenn Morris <rgm@gnu.org>
826 * emacs-lisp/cl-seq.el (union, nunion, intersection)
827 (nintersection, set-difference, nset-difference)
828 (set-exclusive-or, nset-exclusive-or): Doc fix.
830 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
832 * faces.el (face-attr-match-p): Handle the obsolete :bold and
833 :italic props, so that frame-set-background-mode works. (Bug#7966)
835 * simple.el (next-error): Doc fix.
837 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
839 * dired-aux.el (dired-create-files): Adapt destination name to
840 match the new behavior of copy-directory.
842 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
844 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
845 from rmail-dont-reply-to-names. Callers changed.
846 (mail-dont-reply-to): Rename from mail-dont-reply-to.
847 (rmail-dont-reply-to): Make it an obsolete alias.
849 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
850 nil, and make obsolete (Bug#7888).
851 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
853 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
855 * mail/rmailsort.el (rmail-sort-by-correspondent)
856 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
858 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
860 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
862 * files.el (copy-directory): New argument COPY-CONTENTS for
863 copying directory contents into another existing directory.
865 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
867 * minibuffer.el (completion-table-case-fold): New function for
868 creating a case-insensitive completion table.
870 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
872 * net/tramp.el (tramp-default-method): Also check if
873 `auth-source-search' is bound.
874 (tramp-read-passwd): Use `auth-source-search' instead of
875 `auto-source-user-or-password'.
877 * net/tramp-imap.el: Autoload `auto-source-search' instead of
878 `auto-source-user-or-password.
879 (tramp-imap-passphrase-callback-function): Use it.
881 * net/imap-hash.el: Autoload `auto-source-search' instead of
882 `auto-source-user-or-password.
883 (imap-hash-open-connection): Use it.
885 * mail/smtpmail.el: Autoload `auto-source-search' instead of
886 `auto-source-user-or-password.
887 (smtpmail-try-auth-methods): Use it.
889 2011-02-12 Phil Hagelberg <phil@hagelb.org>
891 * emacs-lisp/package.el: Allow packages to be reinstalled.
892 (package--write-file-no-coding): Remove EXCL arg.
893 (package-unpack-single): Don't use it.
895 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
897 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
898 in each sub directory.
899 (vc-svn-registered): Use vc-svn-root.
900 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
901 (vc-svn-repository-hostname): Use "svn info".
903 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
905 * simple.el (delete-trailing-whitespace): New optional buffer
908 2011-02-11 Bastien Guerry <bzg@altern.org>
910 * files.el (basic-save-buffer): save unmodified buffers when
911 the file pointed by buffer-file-name doesn't exist.
913 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
915 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
917 2011-02-11 Glenn Morris <rgm@gnu.org>
919 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
921 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
923 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
925 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
927 * server.el (server-process-filter): Use pcase.
929 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
931 (smie-indent--parent): Extend to "parent of arg".
932 (smie-indent-inside-string): New function.
933 (smie-indent-functions): Use it.
935 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
936 bzr locking race condition.
938 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
939 still valid before using it.
941 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
942 `message' -> `compilation-message' rename (bug#8004).
944 Move keymap initialization into declaration.
945 * textmodes/enriched.el (enriched-mode-map):
946 * textmodes/bib-mode.el (bib-mode-map):
947 * term/lk201.el (lk201-function-map):
948 * tar-mode.el (tar-mode-map):
949 * replace.el (occur-mode-map):
950 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
951 * progmodes/idlw-help.el (idlwave-help-mode-map):
952 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
953 * play/solitaire.el (solitaire-mode-map):
954 * play/snake.el (snake-mode-map, snake-null-map):
955 * play/pong.el (pong-mode-map):
956 * play/handwrite.el (menu-bar-handwrite-map):
957 * play/gametree.el (gametree-mode-map):
958 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
959 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
960 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
961 (newsticker--url-keymap):
962 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
963 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
964 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
965 (menu-bar-edit-menu, menu-bar-custom-menu)
966 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
967 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
968 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
969 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
970 (menu-bar-tools-menu, menu-bar-describe-menu)
971 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
972 (menu-bar-help-menu):
973 * mail/rmailsum.el (rmail-summary-mode-map):
974 * kmacro.el (kmacro-step-edit-map):
975 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
976 (ibuffer-mode-operate-map):
977 * hi-lock.el (hi-lock-menu, hi-lock-map):
978 * emulation/vip.el (vip-mode-map):
979 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
980 * bookmark.el (bookmark-bmenu-mode-map):
981 * help-mode.el (help-mode-map): Move initialization into declaration.
983 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
985 * net/rcirc.el: Add PRIVMSG and CTCP functions.
986 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
987 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
988 (rcirc-cmd-me, rcirc-authenticate): Use them.
990 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
992 * allout.el: Synopsis: Change allout user configuration so
993 auto-activation is controlled solely by customization
994 `allout-auto-activation'.
996 (allout-auto-activation-helper) (allout-setup): New autoloads
997 implement new custom set procedure for allout-auto-activation.
998 Also, explicitly invoke
999 (allout-setup) after allout-auto-activation is custom-defined, to
1000 effect the settings in emacs sessions besides the few where
1001 allout-auto-activation customization is donea.
1002 (allout-auto-activation): Use allout-auto-activation-helper to
1003 :set. Revise the docstring.
1004 (allout-init): Reduce functionality to just customizing
1005 allout-auto-activation, and mark obsolete.
1006 (allout-mode): Respect string values for allout-auto-activation.
1007 Run allout-after-copy-or-kill-hook without any args.
1008 (allout-mode) (allout-layout) (allout-default-layout)
1009 (outlineify-sticky): Adjust docstring for new scheme.
1010 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1011 should concentrate on the kill ring.
1013 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1015 * password-cache.el (password-cache-remove): Accept secrets that are
1018 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1020 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1021 of here-doc that immediately follows a comment.
1023 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1025 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1027 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1029 (rcirc-ctcp-sender-PING): New function.
1031 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1033 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1034 Remove the mark/nomark handling, and activate shift-select-mode instead.
1036 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1038 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1040 * calc/calc-units.el (math-logunits-quant): Add support for
1041 non-logarithmic units.
1043 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1045 * allout.el (allout-after-copy-or-kill-hook): New hook for
1046 extension-specific processing of killed text.
1047 (allout-mode): Include new allout-after-copy-or-kill-hook among
1049 (allout-kill-line) (allout-kill-topic): Ensure that processing
1050 after kill happens even if barf-if-buffer-read-only is raised.
1051 Include new allout-after-copy-or-kill-hook among that subsequent
1053 (allout-deannotate-hidden): Actually remove the annotation text
1056 * allout.el (allout-listify-exposed): Copy text sans text properties.
1058 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1060 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1062 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1064 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1066 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1068 * calc/calc.el (calc-logunits-field-reference): Rename from
1069 `calc-default-field-reference-level'.
1070 (calc-logunits-power-reference): Rename from
1071 `calc-default-power-reference-level'
1073 * calc/calc-units.el (math-logunits-quant): Rename from
1074 `math-logunits-level'
1075 (math-logunits-plus): Rename from math-logcombine.
1076 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1077 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1078 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
1080 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1081 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1082 (calc-logunits-quantity): Rename from `calc-level'.
1083 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1084 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
1085 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1086 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1087 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
1090 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1091 (calc-ul-prefix-help): Remove.
1092 (calc-l-prefix-help): New function.
1093 (calc-full-help): Add reference to `calc-l-prefix-help'.
1095 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1097 * calc/README: Mention logarithmic units.
1099 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1101 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1102 non-ASCII characters (Bug#7925).
1104 2011-02-05 Glenn Morris <rgm@gnu.org>
1106 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1108 * calendar/diary-lib.el (diary-font-lock-keywords):
1109 Tweak diary-time-regexp match. (Bug#7891)
1111 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1112 (f90-mode): Use it for mode's `find-tag-default-function' property.
1114 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1116 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1118 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1120 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1123 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1125 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1126 font-lock-syntax-table remappings.
1127 (sh-here-doc-markers, sh-here-doc-re): Remove.
1128 (sh-font-lock-close-heredoc): Remove.
1129 (sh-syntax-propertize-here-doc): New function.
1130 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1131 instead of the sh-here-doc-re.
1132 (sh-font-lock-paren): Don't do anything in comments or strings.
1133 Handle line continuations. Accept a few more chars.
1134 Don't rely on the font-lock-syntax-table remappings.
1135 `esac' is not a valid pattern.
1136 (sh-syntax-propertize-function): Handle here-docs differently, so we
1137 don't bother syntax-propertizing the insides.
1139 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1140 Handle new bashisms ";&" and ";;&" (bug#7947).
1142 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1144 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1145 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1147 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1149 * net/tramp.el (tramp-postfix-method-format)
1150 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1151 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1152 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1153 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1154 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1157 2011-02-04 Sam Steingold <sds@gnu.org>
1159 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1161 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1163 * international/mule-util.el (with-coding-priority): Doc fix.
1165 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1167 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1169 2011-02-03 Sam Steingold <sds@gnu.org>
1171 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1172 Do not error out when `func' is nil.
1174 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1176 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1177 `tramp-default-remote-path' to the docstring.
1178 (tramp-get-remote-path): Suppress error message when `getconf
1181 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1183 2011-02-03 Glenn Morris <rgm@gnu.org>
1185 * vc/vc-hg.el (vc-hg-command): Doc fix.
1187 * term/w32-win.el (libpng-version): Declare for compiler.
1189 * msb.el: No need to load dired while compiling.
1191 * emacs-lisp/elint.el (elint-standard-variables):
1192 Remove a couple of built-ins that now have doc-strings.
1194 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1195 `require' is automatically `eval-and-compile'd.
1197 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1198 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1200 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1201 Move definition before use.
1202 (strokes-report-bug): Make it obsolete.
1204 2011-02-02 Sam Steingold <sds@gnu.org>
1206 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1207 from `special-mode', entering it makes the buffer read-only, so
1208 call it only when everything has been already inserted.
1209 * emacs-lisp/ert.el (ert--setup-results-buffer)
1210 (ert-results-pop-to-backtrace-for-test-at-point)
1211 (ert-results-pop-to-messages-for-test-at-point)
1212 (ert-results-pop-to-timings): Ditto.
1213 * emacs-lisp/package.el (package--list-packages): Ditto.
1214 * play/solitaire.el (solitaire): Ditto.
1216 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1218 * progmodes/compile.el: Make all faces inherit.
1219 (compilation-warning): Inherit from font-lock-variable-name-face.
1220 (compilation-info): Inherit from font-lock-type-face.
1221 (compilation-line-number): Reassign to font-lock-keyword-face.
1222 (compilation-column-number): Reassign to font-lock-doc-face.
1223 (compilation-leave-directory-face): Reassign to
1224 font-lock-builtin-face.
1226 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1228 * dired.el (dired-insert-directory): Don't invoke `ls' when
1229 ls-lisp.el is used to emulate it.
1231 2011-02-01 Julien Danjou <julien@danjou.info>
1233 * color.el (color-gradient): Add a color-gradient function.
1235 2011-02-01 Sam Steingold <sds@gnu.org>
1237 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1238 bind "z" to `kill-this-buffer'.
1239 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1240 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1241 (apropos-mode): Inherit from `special-mode'.
1242 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1243 * bookmark.el (bookmark-bmenu-mode): Define using
1244 `define-derived-mode' inheriting from `special-mode'.
1245 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1246 * image-mode.el (image-mode-map): Ditto.
1247 * replace.el (occur-mode): Define using
1248 `define-derived-mode' inheriting from `special-mode'.
1249 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1250 * calendar/diary-lib.el (diary-fancy-display-mode):
1251 Inherit from `special-mode-map'.
1252 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1253 Inherit from `special-mode'.
1254 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1256 (package-menu-mode): Define using `define-derived-mode'
1257 inheriting from `special-mode'.
1258 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1259 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1260 (xesam-mode-map): Define separately.
1261 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1262 * progmodes/compile.el (compilation-minor-mode-map)
1263 (compilation-mode-map): Inherit from `special-mode-map'.
1264 * vc/diff-mode.el (diff-mode-shared-map):
1265 Inherit from `special-mode-map'.
1266 * vc/log-view.el (log-view-mode-map): Add a comment.
1268 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1270 * custom.el (load-theme): Define return value. Drop use of
1271 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1272 (custom-theme-load-confirm): Scroll in the correct window.
1273 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1275 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1276 checkbox if load-theme fails.
1278 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1280 * progmodes/compile.el (compilation-next-error): Check there's
1281 a message before using it (bug#7941).
1283 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1285 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1286 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1287 of potential pivots.
1289 2011-01-31 Alan Mackenzie <acm@muc.de>
1291 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1292 Continue parsing if we encounter a naked # (Bug#7595).
1293 (c-beginning-of-statement): Avoid loop in locating the beginning
1294 of a macro. (Not actually committed until 2011-02-20, see above).
1296 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1298 * files.el (copy-directory): Fix arguments to recursive call.
1300 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1302 * files.el (copy-directory): If destination is an existing
1303 directory, copy into a subdirectory there.
1305 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1307 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1310 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1312 * image-dired.el (image-dired-mouse-display-image): No-op if no
1313 file is found (Bug#7817).
1315 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1317 2011-01-31 Kenichi Handa <handa@m17n.org>
1319 * international/quail.el (quail-keyboard-layout-alist):
1320 Remove superfluous SPC for "pc105-uk" (bug#7927).
1322 2011-01-31 Glenn Morris <rgm@gnu.org>
1324 * msb.el (msb-menu-bar-update-buffers): Update for changed
1325 argument handling of menu-bar-select-frame. (Bug#7902)
1327 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1329 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1330 to the recursion depth (Bug#7722).
1332 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1334 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1335 command-line-default-directory (Bug#7872).
1337 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1339 * progmodes/compile.el (compilation--flush-directory-cache):
1340 New function, extracted from compilation--remove-properties.
1341 (compilation--remove-properties, compilation--parse-region): Use it.
1342 (compilation--previous-directory): Handle one more case.
1343 (compilation-enable-debug-messages): Remove.
1344 (compilation-parse-errors, compilation--flush-parse): Just remove the
1345 left over debug messages.
1347 2011-01-31 Sam Steingold <sds@gnu.org>
1349 * progmodes/compile.el (compilation-enable-debug-messages):
1350 Add a variable to make the parsing messages introduced in
1351 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1352 (compilation-parse-errors, compilation--flush-parse): Use it.
1354 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1356 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1357 (rcirc-nick-completion-format): New defcustom.
1358 (rcirc-complete): Use it.
1360 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1362 * net/rcirc.el: Clean log filenames (Bug#7933).
1363 (rcirc-log-write): Use convert-standard-filename.
1364 (rcirc-log-filename-function): Documentation updates.
1366 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1368 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1369 Check report-emacs-bug-can-use-osx-open and use that if t.
1370 (report-emacs-bug-can-use-osx-open): New function.
1371 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1372 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1374 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1376 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1377 updating Dired or VC-dir buffers after async command completes.
1379 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1380 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1382 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1383 completions if it exists. Use vc-set-async-update.
1384 (vc-git-pull): Use vc-set-async-update.
1386 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1387 read-shell-command. Use vc-set-async-update.
1388 (vc-hg-merge-branch): Use vc-set-async-update.
1390 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1392 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1393 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1396 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1398 * progmodes/compile.el: Avoid an N² behavior in grep.
1399 (compilation--previous-directory): New fun.
1400 (compilation--previous-directory-cache): New var.
1401 (compilation--remove-properties): Flush it.
1402 (compilation-directory-properties, compilation-error-properties):
1403 Use the new fun to speed up looking for the current directory.
1405 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1407 * vc/vc-hg.el (vc-hg-history): New var.
1408 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1409 (vc-hg-merge-branch): New function.
1411 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1412 the other way around.
1414 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1415 (vc-git-merge-branch): New functions.
1416 (vc-git-history): New var.
1418 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1420 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1422 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1423 vc-do-async-command.
1425 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1428 2011-01-28 Leo <sdl.web@gmail.com>
1430 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1431 highlighting to the "this function is advised" message.
1433 * help-mode.el (help-mode-finish): Apply highlighting here, to
1434 avoid clobbering by substitute-command-keys (Bug#6304).
1436 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1438 * woman.el (woman0-roff-buffer): Process roff escape sequences
1439 occurring prior to the first request (Bug#7843).
1441 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1443 * progmodes/compile.el: Don't use font-lock any more.
1444 (compilation-error-regexp-alist-alist): Change handling of makepp
1445 so it preserves the warning/error distinction on subsequent files.
1446 Simplify various rules.
1447 (compilation-directory-properties): Use font-lock-face.
1448 Add a compilation-message property.
1449 (compilation-internal-error-properties): Use font-lock-face.
1450 Don't set the compilation-debug property here.
1451 (compilation--put-prop, compilation--remove-properties)
1452 (compilation--parse-region, compilation--ensure-parse)
1453 (compilation--ensure-parse): New functions.
1454 (compilation-parse-errors): New function, largely inspired of
1455 compilation-mode-font-lock-keywords. Set compilation-debug here.
1456 (compilation--parsed): New var.
1457 (compilation--flush-parse): Use compilation--ensure-parse.
1458 (compilation-start): Don't call font-lock.
1459 (compilation-turn-on-font-lock): Remove.
1460 (compilation-setup): Don't set font-lock-extra-managed-props not change
1461 other font-lock settings, other than keywords.
1462 Don't activate font-lock-mode.
1463 Set change-major-mode-hook and before-change-functions.
1464 (compilation--unsetup): Remove properties and hooks.
1465 (compilation-next-single-property-change): New function.
1466 (compilation-next-error): Use it to parse when needed.
1467 (compile-goto-error): Parse buffer as needed.
1468 (compilation--compat-error-properties): Don't need a dummy `face'
1471 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1473 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1474 (compilation-process-setup-function): Fix docstring's false promises.
1475 (compilation-error-regexp-alist-alist): Catch omake's continuous
1476 recompilation message and avoid reuse of old markers.
1477 (compilation-parse-errors-function): Declare obsolete.
1478 (compilation-buffer-modtime): Remove.
1479 (compilation--make-cdrloc, compilation--loc->col)
1480 (compilation--loc->line, compilation--loc->file-struct)
1481 (compilation--loc->marker, compilation--loc->visited)
1482 (compilation--make-file-struct, compilation--file-struct->file-spec)
1483 (compilation--file-struct->formats)
1484 (compilation--file-struct->loc-tree): New macros. Use them.
1485 (compilation--message): New defstruct. Use them.
1486 (compilation-next-error-function): Don't mess with timestamps to try
1487 and guess when to reparse.
1489 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1491 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1492 (tex-old-error-file-name): New function,
1493 extracted from tex-compilation-parse-errors.
1494 (tex-compilation-parse-errors): Remove.
1495 (tex-error-regexp-alist): New var.
1496 (tex-shell): Use it to avoid compilation-parse-errors-function.
1498 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1499 (grep-mode-font-lock-keywords): Remove regexp that seems like
1500 a left-over from before we used compile.el.
1501 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1502 modifying the buffer within with-silent-modifications.
1504 * progmodes/compile.el: Cleanup text-properties namespace by using
1505 `compilation-message' instead of `message', `compilation-directory'
1506 instead of `directory', and `compilation-debug' instead of `debug'.
1507 (compilation-last-buffer, compilation-parsing-end)
1508 (compilation-error-list, compilation-old-error-list): Move to the
1509 compatibility part of the code.
1510 (compilation-error-properties): If `file' is a function, let it return
1512 (compilation-mode-font-lock-keywords): Be more conservative with the
1513 omake "^ *" pattern prefix, to try and minimize the risk of
1514 pathologically slow regexp matching.
1515 (compilation-start): Use inhibit-read-only.
1516 (compilation--unsetup): New function.
1517 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1518 (compilation-filter): Minor tweaks.
1519 (compilation-next-error-function): Try and avoid abusing variables.
1520 (compilation--flush-file-structure): New fun.
1521 (compilation-fake-loc): Use it to improve behavior when file is reused.
1522 (debug-ignored-errors): Add "Moved past last ...".
1523 (compilation--compat-error-properties)
1524 (compilation--compat-parse-errors): Rename by doubling the "-".
1526 Port features from the previous prolog.el to the new one.
1527 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1528 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1529 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1530 variable and use a function to compute the value dynamically.
1531 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1532 (prolog-continued-prompt-regexp): Remove, unused.
1533 (prolog-find-value-by-system): Try and use the value of prolog-system
1534 in the *prolog* buffer if it helps.
1535 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1536 (prolog-zip-on): ..and check prolog-system and version here instead.
1537 (prolog-inferior-self-insert-command): New command.
1538 (prolog-inferior-mode-map): Use it.
1539 (prolog-inferior-error-regexp-alist): New var.
1540 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1541 (prolog-input-filter): Use derived-mode-p.
1542 (prolog-inferior-guess-flavor): New function.
1543 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1544 make-comint to avoid running comint-mode twice.
1545 (prolog-inferior-buffer): New fun.
1546 (prolog-old-process-region, prolog-old-process-file):
1547 Don't call prolog-bsts here...
1548 (prolog-build-prolog-command): ...do it here instead.
1549 (prolog-old-process-region, prolog-old-process-file):
1550 Use compilation-fake-loc and compilation-forget-errors.
1551 (prolog-consult-compile-region): Use bolp.
1553 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1555 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1557 2011-01-27 Sam Steingold <sds@gnu.org>
1559 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1560 Remove "*server*" which is never created by emacs server.
1562 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1564 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1565 there are some diff switches.
1567 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1569 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1570 Copy change made to ruby-font-lock-syntactic-keywords.
1572 * htmlfontify.el: Make it obey the font-lock-face text property.
1573 Miscellaneous cleanup such as:
1574 - Don't hide expressions after a closing paren.
1575 - Move initial setq into let.
1576 - Hoist common parts out of ifs.
1577 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1578 (hfy-face-at): Use get-text-property instead.
1579 (hfy-prop-invisible-p): Use invisible-p if available.
1580 (htmlfontify-manual): Use \\[...].
1581 (hfy-html-quote-regex): Use [...].
1582 (hfy-combined-face-spec): Simplify.
1583 (hfy-compile-face-map): Don't presume point-min==1.
1584 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1585 match end of string.
1586 (hfy-text-p): η-reduce.
1587 (hfy-tags-for-file): Receive cache-hash directly.
1588 (hfy-mark-tag-names): Adjust call.
1590 2011-01-27 Glenn Morris <rgm@gnu.org>
1592 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1593 (msb-after-load-hook): Remove eval-after-load wackiness.
1595 2011-01-25 Sam Steingold <sds@gnu.org>
1597 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1598 literal "diff" (important for windows-nt).
1600 2011-01-25 Glenn Morris <rgm@gnu.org>
1602 * emacs-lisp/copyright.el (copyright-at-end-flag)
1603 (copyright-names-regexp): Add safety properties.
1604 (copyright-year-ranges): New option.
1605 (copyright-find-end): New function, split from copyright-update-year.
1606 (copyright-update-year): Use copyright-find-end.
1607 (copyright-fix-years): Optionally, convert years to ranges.
1608 Handle years continued over comment lines.
1609 Do not mess with the fill-prefix.
1610 Do not call copyright-update.
1611 (copyright-update-directory): Optionally, fix years rather than update.
1612 Skip directories. Find files with only safe local vars.
1614 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1616 * files.el (file-name-non-special): Only change buffer-file-name after
1617 insert-file-contents if it's `visit'ing the file (bug#7854).
1619 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1621 * dired.el (dired-revert): Doc fix (Bug#7758).
1623 * simple.el (line-move-visual): Doc fix (Bug#7594).
1625 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1627 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1628 here-doc which ends with an underscore.
1629 (ruby-mode-set-encoding): Skip shebang line always.
1630 (ruby-mode-map): Bind C-c C-c to comment-region.
1631 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1632 (ruby-forward-sexp): Stop after literal hash key labels.
1633 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1636 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1638 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1639 the correct buffer (Bug#7650).
1641 2011-01-25 Glenn Morris <rgm@gnu.org>
1643 * comint.el (comint-mode): Doc fix. (Bug#7897)
1645 * simple.el (do-auto-fill): Give it a doc string.
1647 * button.el (make-text-button): Doc fix. (See bug#7881)
1649 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1651 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1652 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1654 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1655 Handle ?" and friends differently (e.g. don't use backrefs).
1657 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1659 * calc/calc.el (calc-default-power-reference-level)
1660 (calc-default-field-reference-level): New variables.
1661 * calc/calc-units.el (math-standard-units): Add dB and Np.
1662 (math-logunits): New variable.
1663 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1664 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1665 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1667 (math-find-base-units-rec): Add entry for ln(10).
1668 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1669 (calc-ul-prefix-help): New function.
1670 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1671 functions. Add keybindings for new units functions.
1673 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1675 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1676 rcirc buffers. (Bug#4940)
1678 2011-01-22 Glenn Morris <rgm@gnu.org>
1680 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1681 split out from copyright-update-year.
1682 (copyright-update): Don't mess with the GPL version if we don't own the
1683 copyright. Update license regexp, and remove no longer needed
1685 (copyright-fix-years): Use copyright-find-copyright.
1687 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1689 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1691 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1693 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1694 (lm): Rename to landmark.
1695 (lm-test-run): Rename to landmark-test-run.
1697 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1699 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1700 "Case sensitive" menu item.
1702 2011-01-22 Roland McGrath <roland@frob.com>
1704 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1705 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1707 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1709 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1711 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1713 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1714 Assume foo(bar) is a manpage reference rather than some unquoted
1717 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1719 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1720 Suggested by Flo <sensorflo@gmail.com>.
1722 2011-01-22 Glenn Morris <rgm@gnu.org>
1724 * progmodes/compile.el (compilation-error-regexp-alist):
1725 Fix custom type. (Bug#7812)
1727 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
1729 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1730 allout-number-siblings, in keeping with what obtained due to
1731 (now-defunct) allout-keybindings-list. Ditch repeat binding to
1733 (allout-before-change-handler): Better expose spots affected by
1736 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1738 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1740 2011-01-22 Phil Hagelberg <phil@evri.com>
1742 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1743 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1744 (pcmpl-ssh-config-hosts): New function.
1745 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1746 pcmpl-ssh-known-hosts.
1748 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1750 * calc/calc-undo.el (calc-undo): Autoload it.
1751 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1752 and autoload for `calc-undo'.
1753 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1754 * calc/calc-prog.el:
1755 * calc/calc-graph.el:
1756 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1758 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
1760 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1761 keybindings to `calc-undo'.
1763 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1765 Don't mess with *temp*.
1766 * obsolete/spell.el: Move from textmodes/spell.el.
1768 * term.el (term-read-input-ring):
1769 * startup.el (display-startup-echo-area-message):
1770 * progmodes/antlr-mode.el (antlr-directory-dependencies):
1771 * comint.el (comint-read-input-ring): Use with-temp-buffer.
1772 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1775 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
1777 * allout.el (allout-institute-keymap): Use fset instead of
1778 reapplying defalias.
1780 (allout-hotspot-key-handler): Check for non-control-modified
1781 bindings for hotspot characters if there are no control-modified
1784 * allout.el: Summary - migrate to defining allout mode using
1785 define-minor-mode instead of defun. Significantly clean-up
1786 internal keymap provisions, refactoring and, in the process,
1787 removing a lot of accumulated cruft.
1789 allout-mode-map is now a keymap by virtue of being a defalias to
1790 allout-mode-map-value, which contains the actual keymap structure.
1792 (allout-mode): Use define-minor-mode rather than defun.
1793 Remove now-unnecessary minor-mode setup activities from the body.
1794 Specify :keymap as allout-mode-map so the minor-mode-map-alist
1795 entry will be '(allout-mode . allout-mode-map) - see
1796 allout-mode-map-value, below. Adjust docstring to track changes.
1797 (allout-minor-mode): Remove this defalias, now that we're using
1799 (allout-mode-map): Set value to be 'allout-mode-map. The actual
1800 keymap is allout-mode-map-value, via defalias.
1801 (allout-mode-map-value): The variable holding the actual mode
1802 keymap structure, by virtue of defalias from allout-mode-map.
1803 (allout-compose-and-institute-keymap): Rename from
1804 allout-bind-keys, and including the binding-composition
1805 functionality of the former produce-allout-mode-map and
1806 allout-setup-mode-map.
1807 (allout-institute-keymap): Take over the "setup" part of the former
1808 allout-setup-mode-map. Reassign allout-mode-map-value value and
1809 update the defalias.
1810 (allout-command-prefix) (allout-prefixed-keybindings)
1811 (allout-unprefixed-keybindings):
1812 Use allout-compose-and-institute-keymap to process the bindings.
1813 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
1814 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1815 user can customize if they want to use that binding.
1816 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1817 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
1818 elided that, previously, instead of the one for \C-h.)
1819 (allout-hotspot-key-handler): Remove attempt to resolve the key
1820 through the literal key-string lookup on allout-keybindings-list.
1821 That probably hasn't worked for a Long Time, and removal of
1822 allout-keybindings-list further simplifies the keybindings situation.
1823 (allout-pre-command-business): Use allout-mode-map-value instead
1825 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1826 the bindings if they want to use a keybinding having a trailing
1827 \C-h. No deprecation needed since this feature was never in a release.
1828 (allout-keybindings-list): Remove. It's not been useful for a
1829 while. (See allout-hotspot-key-handler changes, above.)
1830 (produce-allout-mode-map): Remove. Consolidate into
1831 allout-compose-and-institute-keymap.
1832 (allout-mode-map-adjustments): Remove. No longer necessary with
1833 removal of allout-preempt-trailing-ctrl-h.
1834 (allout-setup-mode-map): Remove. Consolidate into
1835 allout-compose-and-institute-keymap and allout-institute-keymap.
1837 2011-01-20 Glenn Morris <rgm@gnu.org>
1839 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1841 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1843 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1845 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1847 * files.el (find-alternate-file, basic-save-buffer)
1848 (basic-save-buffer-2, revert-buffer, recover-file)
1849 (kill-buffer-ask, abort-if-file-too-large)
1850 (set-visited-file-name, write-file, backup-buffer)
1851 (basic-save-buffer, save-some-buffers):
1852 * dired-aux.el (dired-compress-file): Callers changed.
1854 2011-01-19 Glenn Morris <rgm@gnu.org>
1856 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1857 Also check the property status. (Bug#7861)
1859 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1861 * net/tramp.el (tramp-debug-message): Extend function exclude
1862 list. Use `regexp-opt'.
1864 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1866 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1867 highlighting doesn't spill over subsequent lines.
1869 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1870 keymap expression. Improve docstring.
1872 * electric.el (electric-indent-post-self-insert-function):
1873 Don't auto-indent for indent-to-left-margin, it's too often
1876 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1878 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1879 spaces if the frame was resized, so that the full visible buffer
1880 serves as canvas for strokes.
1882 2011-01-16 Glenn Morris <rgm@gnu.org>
1884 * info-xref.el (info-xref-docstrings): Replace cl function.
1885 Also skip directories.
1887 2011-01-16 Kevin Ryde <user42@zip.com.au>
1889 * info-xref.el: Version 3.
1890 (info-xref-check, info-xref-check-all): Move commentary details
1891 into docstrings for better visibility.
1892 Use compilation-mode for the results buffer.
1893 (info-xref-output, info-xref-output-error, info-xref-with-output)
1894 (info-xref-filename, info-xref-in-progress):
1895 New internals for this.
1896 (info-xref-check-list, info-xref-check-buffer)
1897 (info-xref-check-all-custom): Use those.
1898 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1899 (info-xref-output-heading): Rename from info-xref-filename-heading.
1900 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1901 (info-xref-filename-heading): Move to output managing section.
1902 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1903 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1904 (info-xref-subfile-p): Move to generic section with those two.
1905 (info-xref-check-node): New function split from
1906 info-xref-check-buffer, shared by info-xref-docstrings.
1907 (info-xref-goto-node-p): Move to a checking section with that func.
1908 (info-xref-unavail): New counter.
1909 (info-xref-check-node): Use it.
1910 (info-xref-with-output): Show count of unavailables at end of output.
1911 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1912 symlinks. Exclude .texi files. Exclude Emacs backup files.
1913 (info-xref-check-all-custom): Fix quietening viper-mode and
1914 gnus-registry-install -- use setq not let so as not to unbind
1917 2011-01-16 Juri Linkov <juri@jurta.org>
1919 * isearch.el (isearch-abort): Don't quit if search has
1920 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1922 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1924 * files.el (backup-buffer): Make last-resort backup file in
1925 .emacs.d (Bug#6953).
1927 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1928 make it with permission 700.
1930 2011-01-15 Kenichi Handa <handa@m17n.org>
1932 * mail/rmailmm.el (rmail-mime-insert-header):
1933 Set rmail-mime-coding-system to a cons whose car is the last coding
1934 system used to decode the header.
1935 (rmail-mime-find-header-encoding): New function.
1936 (rmail-mime-insert-decoded-text):
1937 Override rmail-mime-coding-system if it is a cons.
1938 (rmail-show-mime): If only a header part was decoded, find the
1939 coding system while ignoring mm-charset-override-alist.
1941 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1943 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1945 2011-01-15 Kenichi Handa <handa@m17n.org>
1947 * mail/rmailmm.el (rmail-mime-next-item)
1948 (rmail-mime-previous-item): Delete them.
1949 (rmail-mime-shown-mode): Recursively call for children.
1950 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1952 (rmail-mime-raw-mode): Recursively call for children.
1953 (rmail-mode-map): Change mapping of tab and backtab to
1954 forward-button and backward-button respectively.
1955 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1957 (rmail-mime-update-tagline): New function.
1958 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1959 body display is changed.
1960 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1961 (rmail-mime-image): Delete this button type.
1962 (rmail-mime-toggle): New button type.
1963 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1964 body display is changed. Change the save button label to "Save".
1965 Don't process show/hide button here.
1966 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1967 the body display is changed. Unconditionally call
1968 rmail-mime-insert for children.
1969 (rmail-mime-handle): Update `display' vector of the just inserted
1971 (rmail-mime-process): If mail-header-parse-content-type returns
1972 nil, use "text/plain" as the fallback type.
1973 (rmail-mime-insert): For raw-mode, recursively call
1974 rmail-mim-insert for children.
1975 (rmail-mime): Handle the case that the current buffer is not rmail
1976 buffer (e.g. in summary buffer).
1978 2011-01-15 Kenichi Handa <handa@m17n.org>
1980 * mail/rmailmm.el (rmail-mime-next-item)
1981 (rmail-mime-previous-item): Skip the body of a non-multipart
1982 entity if a tagline is shown.
1984 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1986 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1987 (tmm-prompt): Simplify.
1988 (tmm-add-prompt): Remove unused var `win'.
1990 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1991 to minor mode which used nil accidentally to mean "turn off".
1993 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1995 * net/tramp-sh.el (tramp-find-inline-compress)
1996 (tramp-get-inline-coding): Quote command after pipe symbol for
1997 local calls under W32. (Bug#6784)
1999 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2001 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2002 only when running under W32.
2004 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2006 * progmodes/grep.el (grep-compute-defaults): Quote the program
2007 file name after the pipe symbol in Grep templates. (Bug#6784)
2008 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2010 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2012 * buff-menu.el (Buffer-menu-buffer-list): New var.
2013 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2014 restricted buffer list is not lost on revert (Bug#7749).
2016 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2018 * net/ldap.el (ldap-search-internal): Discard stderr output.
2020 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2022 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2024 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2026 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2028 2011-01-15 Kenichi Handa <handa@m17n.org>
2030 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2031 part as a plain text.
2032 (rmail-mime-process-multipart): Set the default content-type to
2033 nil for unknown multipart subtypes (bug#7651).
2035 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2037 * hexl.el (hexl-mode-old-*): Remove.
2038 (hexl-mode--old-var-vals): New var to replace them.
2039 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2040 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2041 Use them to set local vars (bug#7846).
2042 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2043 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2044 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2046 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2047 (smerge-resolve--normalize-re): New var.
2048 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2049 (smerge-resolve): Use them.
2050 * newcomment.el (comment-only-p): New function.
2051 (comment-or-uncomment-region): Use it.
2053 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2055 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2056 table, get the value before switching to the output buffer. (Bug#7733)
2058 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2060 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2062 2011-01-14 Kim F. Storm <storm@cua.dk>
2064 * emulation/cua-base.el (cua--init-keymaps):
2065 Remap exchange-point-and-mark in cua-global-keymap.
2067 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2069 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2072 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2074 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2076 (easy-menu-create-menu, easy-menu-convert-item-1):
2077 Use :label rather than nil for labels. Use `case'.
2078 Add :enable as alias for :active.
2079 (easy-menu-binding): Obey :label.
2081 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2083 Use run-mode-hooks for major mode hooks (bug#513).
2084 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2085 Rename from reftex-toc-map.
2086 (reftex-toc-mode): Use define-derived-mode.
2087 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2088 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2089 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2090 (reftex-select-label-mode, reftex-select-bib-mode):
2091 Use define-derived-mode.
2092 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2093 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2094 Move init into delcaration.
2095 (reftex-index-mode, reftex-index-phrases-mode):
2096 Use define-derived-mode.
2097 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2098 speedbar-syntax-table. Move init into declaration.
2099 (speedbar-mode-map): Rename from speedbar-key-map.
2100 Move init into declaration.
2101 (speedbar-file-key-map): Move init into declaration.
2102 (speedbar-mode): Use define-derived-mode.
2103 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2104 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2105 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2106 (chart-face-list): Move initialization into declaration.
2107 (chart-mode): Use define-derived-mode.
2108 * calculator.el (calculator-mode-map): Move init into declaration.
2109 (calculator-mode): Use define-derived-mode.
2111 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2112 work for nested comments.
2114 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2115 (prolog-use-prolog-tokenizer-flag): Change default when
2116 syntax-propertize can be used.
2117 (prolog-syntax-propertize-function): New var.
2118 (prolog-mode-variables): Move make-local-variable into `set'.
2119 Don't make comment-column local since we don't set it.
2120 Set comment-add (as it was in previous prolog.el). Use dolist.
2121 Set syntax-propertize-function.
2122 (prolog-mode, prolog-inferior-mode):
2123 Call prolog(-inferior)-menu directly, not through the mode-hook.
2124 (prolog-buffer-module, prolog-indent-level)
2125 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2126 (prolog-comment-limits, prolog-goto-comment-column):
2127 Use line-(end|beginning)-position.
2128 (prolog-build-prolog-command): Tighten up regexp.
2129 (prolog-consult-compile): Move make-local-variable into `set'.
2130 (prolog-consult-compile-filter, prolog-goto-next-paren)
2131 (prolog-help-on-predicate, prolog-clause-info)
2132 (prolog-mark-predicate): Don't let+setq.
2133 (prolog-indent-line): Use indent-line-to.
2134 Only call prolog-goto-comment-column if necessary.
2135 (prolog-indent-level): Use bobp.
2136 (prolog-first-pos-on-line): Remove, not used any more.
2137 (prolog-in-string-or-comment): Use syntax-ppss if available.
2138 (prolog-help-on-predicate): Use read-string.
2139 (prolog-goto-predicate-info): Simplify.
2140 (prolog-read-predicate): Use `default' rather than `initial'.
2141 (prolog-temporary-file): Use make-temp-file to close a security hole.
2142 (prolog-toggle-sicstus-sd): New command.
2143 (prolog-electric-underscore, prolog-variables-to-anonymous):
2144 Use dynamic-scoping as it was meant.
2145 (prolog-menu): Move menu definitions to top-level.
2146 Use a toggle-button for Sicstus's source debugger.
2147 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2149 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2150 Move other menu definition to top-level.
2152 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2154 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2155 name. Keep original document's directory as default-directory
2157 (doc-view-initiate-display): Fall back to normal mode when
2158 doc-view-mode cannot be enabled, also when extracting the document
2159 text into a separate buffer (bug#6446).
2161 * simple.el (shell-command): Don't error out if shell command
2162 buffer contains text with non-nil read-only property when erasing
2165 2011-01-13 Kim F. Storm <storm@cua.dk>
2167 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2168 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2169 items when cycling through the matches.
2171 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2173 * dired-x.el (dired-omit-verbose): New defcustom that allows
2174 disabling the omit messages.
2175 (dired-omit-expunge): Use it.
2177 2011-01-13 Christian Ohler <ohler@gnu.org>
2179 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2181 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2183 * font-lock.el (font-lock-verbose): Default to nil.
2185 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2187 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2188 (compose-mail): New arg RETURN-ACTION.
2189 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2191 * mail/sendmail.el (mail-return-action): New var.
2192 (mail-mode): Make it buffer-local.
2193 (mail-bury): Obey it. Move special Rmail window handling to
2195 (mail, mail-setup): New arg RETURN-ACTION.
2196 (sendmail-user-agent-compose): Move from simple.el.
2198 * mail/rmail.el (rmail-mail-return): New function.
2199 (rmail-start-mail): Pass it to compose-mail.
2201 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2203 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2204 menus. Add menu item for customize-themes.
2206 * cus-theme.el (customize-themes):
2207 * emacs-lisp/package.el (package--list-packages):
2208 Use switch-to-buffer.
2210 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2212 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2214 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2216 * progmodes/prolog.el: Fix up coding convention and such.
2217 (prolog-indent-width): Use the same default as in
2218 previous prolog.el rather than tab-width which depends on which buffer
2219 is current when the file is loaded.
2220 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2222 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2223 (prolog-known-systems): Remove.
2224 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2225 Move initialization into declaration.
2226 (prolog-mode-map): Move initialization into declaration.
2227 Remove system-specific mode-map vars, since they referred to the same
2229 (prolog-mode-variables): Obey the user's preference w.r.t
2230 adaptive-fill-mode. Prefer symbol-value to `eval'.
2231 (prolog-mode-keybindings-edit): Add compatibility bindings.
2232 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2233 (mercury-mode-map): New var.
2234 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2235 (prolog-ensure-process, prolog-process-insert-string)
2236 (prolog-consult-compile): Use with-current-buffer.
2237 (prolog-guess-fill-prefix): Simplify data flow.
2238 (prolog-replace-in-string): New function to use instead of
2240 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2241 (prolog-uncomment-region): Use `uncomment-region' when available.
2242 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2243 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2244 of int-to-char and char-to-int.
2245 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2247 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2249 * progmodes/prolog.el: Replace by a whole new file.
2251 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2253 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2254 (declare-function, undefined, insert-for-yank)
2255 (replace-regexp-in-string): Follow checkdoc's recommendations.
2257 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2259 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2260 refreshing the diary buffer.
2262 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2264 * allout.el: Add 2011 to the file copyright.
2265 (allout-encrypt-string): Prevent encryption from adding an extra
2266 newline at the end of the topic body.
2267 (allout-version): Increment to 2.3.
2269 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2271 * net/dbus.el (dbus-unregister-service): Complete doc.
2272 Fix call of dbus-error signal.
2273 (dbus-register-property): Use `dont-register' keyword.
2275 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2277 * net/dbus.el (dbus-unregister-service): Translate returned
2278 integer into a symbol.
2279 (dbus-register-property): Use `dbus-register-service' to do the
2282 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2284 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2285 Suggested by Joakim Verona.
2287 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2289 * wid-edit.el (visibility): Replace :on-image and :off-image
2290 widget properties with :on-glyph and :off-glyph, for consistency
2291 with the `visibility' widget.
2292 (widget-toggle-value-create, widget-visibility-value-create):
2293 Merge into a single function `widget-toggle-value-create'.
2295 * cus-edit.el (custom-variable-value-create, custom-visibility)
2296 (custom-face-edit-value-create, custom-face-value-create):
2297 Replace :on-image and :off-image widget properties with :on-glyph and
2298 :off-glyph, for consistency with the `visibility' widget.
2300 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2302 * net/ldap.el (ldap-search-internal): Don't use eval.
2304 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2306 * subr.el (read-char-choice): Use read-key.
2308 * custom.el (custom-safe-themes): Rename from
2309 custom-safe-theme-files. Add :risky tag.
2310 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2311 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2313 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2315 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2316 from Search and add a label to Undo.
2318 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2319 inappropriate buttons and adding :vert-only tags.
2321 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2322 removal of Help tool-bar button. Remove Undo button for space.
2324 * info.el (info-tool-bar-map): Add :vert-only tags.
2326 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2328 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2329 image backend support. Either of them is fine.
2331 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2333 * subr.el (y-or-n-p): Doc fix.
2335 * custom.el (custom-safe-theme-files): New defcustom.
2336 (custom-theme-load-confirm): New function.
2337 (load-theme): Load theme using `load', confirming with
2338 custom-theme-load-confirm if necessary.
2340 * subr.el (read-char-choice): New function, factored out from
2341 dired-query and hack-local-variables-confirm.
2343 * dired-aux.el (dired-query):
2344 * files.el (hack-local-variables-confirm): Use it.
2346 * dired-aux.el (dired-compress-file):
2347 * files.el (abort-if-file-too-large, find-alternate-file)
2348 (set-visited-file-name, write-file, backup-buffer)
2349 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2350 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2351 Use new format string args for y-or-n-p and yes-or-no-p.
2353 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2355 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2356 [gcc-include]: Tighten file name match, add match for column
2358 [gnu]: Remove unused group.
2360 2011-01-08 Glenn Morris <rgm@gnu.org>
2362 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2364 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2366 2011-01-07 Sam Steingold <sds@gnu.org>
2368 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2369 the `explicit-shell-file-name' because that is the
2370 non-interactive shell.
2372 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2374 * subr.el (y-or-n-p): Accept format string args.
2376 2011-01-07 Glenn Morris <rgm@gnu.org>
2378 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2380 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2382 * allout.el (allout-back-to-current-heading): Ensure return to
2383 the visible containing topic, rather than a collapsed one.
2384 (allout-view-change-hook): Remove hook that was deprecated long ago.
2385 (allout-exposure-change-hook): Remove documentation remarks
2386 concerning removed allout-view-change-hook.
2387 (allout-flag-region): Remove invocation of and documentation
2388 remarks concerning allout-view-change-hook.
2390 2011-01-06 Glenn Morris <rgm@gnu.org>
2392 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2393 (vc-bzr-annotate-extract-revision-at-line):
2394 Handle authors with embedded spaces. (Bug#7792)
2396 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2398 * doc-view.el (doc-view-image-width): New variable.
2399 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2400 backend for PNG images, and do dynamic rescaling instead of
2401 reconverting the whole doc.
2403 2011-01-05 Glenn Morris <rgm@gnu.org>
2405 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2407 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2409 * allout.el: Reconcile with changes in line movement behavior for
2410 long text lines that cross more than a single physical window
2411 line, ie when truncate-lines is nil.
2412 (allout-next-visible-heading): Provide for change in line-move
2413 behavior on long lines when truncate-lines is nil. In that case,
2414 line-move can wind up on the same textual line when it moves to
2415 the next window line, and moving to the bullet position after the
2416 move yields zero advancement. Add logic to detect and compensate
2417 for the lack of progress.
2418 (allout-current-topic-collapsed-p): move-end-of-line respect for
2419 field boundaries is different when operating with body lines
2420 shorter than window width versus ones greater than window width,
2421 which can yield false negatives in this function. Avoid
2422 difference by applying move-end-of-line while field-text-motion is
2425 2011-01-04 Glenn Morris <rgm@gnu.org>
2427 * textmodes/rst.el (rst-compile-toolsets):
2428 Add pdf and s5 to option alist.
2430 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2432 * net/dbus.el (dbus-register-property): Add optional parameter
2433 dont-register-service. Updated docstring accordingly.
2435 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2437 * textmodes/rst.el (rst-compile-pdf-preview)
2438 (rst-compile-slides-preview): Remove extra line.
2440 2011-01-04 Glenn Morris <rgm@gnu.org>
2442 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2443 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2444 default to `prog' without a .py extension.
2445 (rst-compile-pdf-preview, rst-compile-slides-preview):
2446 Use program names from rst-compile-toolsets, rather than hard-coding.
2447 (rst-portable-mark-active-p): Fix presumed typo.
2449 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2451 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2452 libpng versions both before and after 1.4.0. (Bug#7716)
2454 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2456 * time.el (display-time-mode): Mention display-time-interval in
2457 the doc string. (Bug#7713)
2459 2011-01-02 Kenichi Handa <handa@m17n.org>
2461 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2462 condition-case and return an error message string if something
2464 (rmail-show-mime): Adjust for the above change. Insert the
2465 header by rmail-mime-insert-header.
2467 2011-01-02 Kenichi Handa <handa@m17n.org>
2469 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2470 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2471 (rmail-mime-mbox-buffer)
2472 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2473 (rmail-mime-entity): Argument changed. All codes handling an
2474 entity object are changed.
2475 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2477 (rmail-mime-entity-children, rmail-mime-entity-handler)
2478 (rmail-mime-entity-tagline): New functions.
2479 (rmail-mime-message-p): New function.
2480 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2481 (rmail-mime-entity-segment, rmail-mime-next-item)
2482 (rmail-mime-previous-item, rmail-mime-shown-mode)
2483 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2484 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2485 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2487 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2488 (rmail-mime-insert-decoded-text): New function.
2489 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2490 (rmail-mime-insert-image): Argument changed. Caller changed.
2491 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2492 (rmail-mime-set-bulk-data): New function.
2493 (rmail-mime-insert-bulk): Argument changed.
2494 (rmail-mime-multipart-handler): Return t.
2495 (rmail-mime-process-multipart): Argument changed.
2496 Handle "multipart/alternative" here.
2497 (rmail-mime-process): Argument changed.
2498 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2499 (rmail-mime-insert): Argument changed. Handle raw display mode.
2500 (rmail-mime): Argument changed. Handle toggling of raw display
2502 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2503 rmail-mime-view-buffer.
2504 (rmail-insert-mime-forwarded-message): Likewise.
2505 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2507 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2508 non-nil, handle the header in rmail-show-mime-function.
2510 2011-01-02 Leo <sdl.web@gmail.com>
2512 * help-fns.el (describe-variable): Fix previous change.
2514 2011-01-02 Juri Linkov <juri@jurta.org>
2516 * isearch.el (isearch-lazy-highlight-error): New variable.
2517 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2518 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2519 to the current value of `isearch-error' (Bug#7468).
2521 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2523 * help-fns.el (describe-variable): Don't emit trailing whitespace
2526 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2528 * textmodes/rst.el (rst-compile-pdf-preview)
2529 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2531 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2533 * emulation/edt-mapper.el: Override mapping of function keys so
2534 that the later call to read-key-sequence works.
2536 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2538 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2539 Unix EOLs. (Bug#7589)
2541 2011-01-02 Leo <sdl.web@gmail.com>
2543 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2544 if point is not behind eshell-last-output-end (Bug#7585).
2546 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2548 * files.el (file-local-variables-alist):
2549 Make permanent-local (bug#7767).
2551 2011-01-02 Glenn Morris <rgm@gnu.org>
2553 * version.el (emacs-copyright): Set short copyright year to 2011.
2555 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2557 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2558 an existing temp buffer. (Bug#7746)
2560 2011-01-02 Glenn Morris <rgm@gnu.org>
2562 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2563 multiple addresses. (Bug#7760)
2565 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2567 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2568 do-auto-fill if everything points back to allout-auto-fill.
2569 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2570 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2572 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2574 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2577 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2579 * doc-view.el (doc-view-set-doc-type): New function refactored
2581 (doc-view-fallback-mode): New function.
2582 (doc-view-mode): Use it.
2583 (doc-view-mode-maybe): New function that checks if doc-view-mode
2584 can be used and falls back to the next best mode otherwise.
2586 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2587 DVI, OpenDocument, and MS Office files.
2589 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2591 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2593 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2595 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2596 on a copy of auto-mode-alist, because that deletes with side
2599 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2601 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2602 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2603 fallback instead of hard coding fundamental mode.
2605 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2607 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2608 Office) files also for searching.
2610 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2612 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2613 Office) files. Not yet enabled via auto-mode-list.
2614 (doc-view-unoconv-program): New custom variable.
2615 (doc-view-mode-p): Handle new odf document type.
2616 (doc-view-odf->pdf): New conversion function.
2617 (doc-view-convert-current-doc): Call it for odf files.
2618 (doc-view-mode): Recognize newly supported file extensions.
2620 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2622 * net/tramp.el (tramp-default-method-alist)
2623 (tramp-default-user-alist)
2624 (tramp-local-host-regexp, tramp-prefix-domain-format)
2625 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2628 * net/tramp-gvfs.el:
2630 * net/tramp-imap.el:
2632 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2633 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2635 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2637 * saveplace.el (save-place-alist-to-file): Save list sorted and
2638 pretty-printed, so that it is mergeable by line-based text merging,
2639 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2641 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2643 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2644 (allout-mode): Argument "toggle" => "force".
2645 Refine the docstring.
2646 Remove special provisions for reactivation, besides the 'force'
2648 Consolidate layout provisions coce directly into the activation
2649 condition branch, now that we've removed those provisions.
2650 (allout-unload-function): Explicitly activate the mode before
2651 deactivating, if it's initially deactivated.
2652 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2653 warnings for version of function used only where
2654 set-buffer-multibyte is unavailable.
2656 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2658 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2659 are handled by the menu-bar entries. As before, don't use
2660 :visibile to avoid changing the tool-bar.
2662 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2664 * net/secrets.el (secrets-delete-alias): New defun.
2666 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2668 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2669 methods, otherwise ~/.ssh/config would be ignored.
2671 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2673 * emacs-lisp/rx.el: Make it a superset of sregex.
2674 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2675 of args, add `regex' alias.
2676 (rx-info): Add arg to distinguish head and standalone forms.
2677 (rx-check, rx-form): Pass the corresponding arg.
2679 (rx-repeat): Make it work for any number of args.
2680 (rx-syntax): Make it accept syntax chars as is.
2681 * obsolete/sregex.el: Move from emacs-lisp/.
2682 * emacs-lisp/re-builder.el: Remove sregex support.
2683 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2685 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2687 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2688 PRIMARY first, then the clipboard. (Bug#7699)
2690 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2692 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2695 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2697 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2698 .emacs.elc (Bug#7530).
2700 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2701 image spec (Bug#7480).
2703 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2705 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2706 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2709 2010-12-20 Leo <sdl.web@gmail.com>
2711 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2712 always be performed (Bug#7680).
2714 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2716 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2717 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
2720 * color.el: Move from gnus/.
2722 * vc/diff.el (diff-better-file-name): Function deleted.
2723 abbreviating file names causes problems with shell-quote-argument.
2724 (diff-no-select): Just use expand-file-name.
2726 * tool-bar.el (tool-bar--image-expression): New function.
2727 (tool-bar-local-item, tool-bar--image-exp): Use it.
2728 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2729 Use :enable instead of :visible to avoid changing the tool-bar
2730 configuration unnecessarily.
2732 * info.el (info-tool-bar-map): Add separators.
2734 2010-12-17 Ken Brown <kbrown@cornell.edu>
2736 * loadup.el: Use version numbers in Cygwin build.
2738 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
2740 * ido.el (ido-file-internal): Ask for confirmation before
2741 overwriting an existing file (Bug#1238).
2743 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
2745 * tool-bar.el (tool-bar-setup): Add separators.
2747 * menu-bar.el (featurep): Use menu-bar-separator.
2749 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
2751 Migrate allout encryption provisions from pgg to epg.
2753 * allout.el (allout-toggle-current-subtree-encryption)
2754 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2755 defaulting policy and other changes. Change fetch-pass to keymode-cue,
2756 for simpler universal argument interpretation.
2757 (allout-toggle-subtree-encryption): Adjust docstring to describe
2758 changed encryption provisions. Change fetch-pass to keymode-cue, for
2759 simpler universal argument interpretation. Remove provisions for
2760 handling key type and identity - they'll all be within
2761 allout-encrypt-string or epg/epg or even contained all the way in gpg.
2762 (allout-encrypt-string): Include keymode-cue, for optionally prompting
2763 for keypair recipients (universal argument > 1) and, in addition,
2764 associating the specified recipients with the outline (universal
2765 argument > 4) using a file local variable setting for
2766 'epa-file-encrypt-to'.
2767 Require epa, for recipients handling.
2768 Change how regexp filtering elements are named.
2769 Describe the problem with caching of incorrect symmetric-decryption
2771 Use the epa-passphrase-callback-function, in case the user is using
2773 Support saving of the selected keypair recipients when invoked with a
2775 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2777 Establish epg-context with armoring and default epg-protocol.
2778 Remove all passphrase cache, verification, and hinting code.
2779 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2780 No longer used, delete.
2781 (allout-mode): Adjust docstring to describe changed encryption
2782 provisions. Describe the problem with caching of incorrect
2783 symmetric-decryption keys.
2784 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2785 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2786 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2787 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2790 2010-12-16 Daiki Ueno <ueno@unixuser.org>
2792 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2793 key selection prompt; make 'silent as default (Bug#7487).
2795 2010-12-16 Leo <sdl.web@gmail.com>
2797 * eshell/eshell.el (eshell-directory-name):
2798 Use locate-user-emacs-file (Bug#7578).
2800 2010-12-15 Glenn Morris <rgm@gnu.org>
2802 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2804 2010-12-15 Jari Aalto <jari.aalto@cante.net>
2805 Scott Evans <gse@antisleep.com>
2807 * rect.el (rectange--default-line-number-format)
2808 (rectangle-number-line-callback): New functions.
2809 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2811 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
2813 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2814 Delete unused variables.
2815 (move-to-column-force): Remove function obsolete since 21.2.
2817 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
2819 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2820 (tramp-handle-insert-file-contents): Do not set permanent-local
2823 * net/tramp-cache.el (tramp-persistency-file-name):
2824 Use `locate-user-emacs-file' if fboundp.
2826 * net/tramp-sh.el (tramp-methods): Add "ksu".
2827 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2830 2010-12-14 Glenn Morris <rgm@gnu.org>
2832 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2833 (find-tag-marker-ring): Declare.
2834 (js-find-symbol): Require etags.
2836 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2838 (mail-alias-file): Don't autoload. Doc fix.
2839 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2840 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2841 Mark as obsolete, and risky.
2842 (mail-setup): Simplify.
2844 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2845 * mail/sendmail.el (build-mail-aliases): Update autoload.
2847 * dired.el (dired-trivial-filenames, dired-chown-program)
2848 (dired-auto-revert-buffer): Remove autoload cookies.
2849 * mail/sendmail.el (mail-recover-1): Require 'dired.
2851 * dired.el (dired-subdir-switches, dired-chown-program)
2852 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2853 Make into defcustoms.
2854 (dired-chown-program): Simplify initialization.
2856 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2858 2010-12-13 Romain Francoise <romain@orebokech.com>
2860 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2862 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2864 * net/netrc.el (netrc-point-at-eol): Remove the unused
2865 netrc-point-at-old and netrc-bound-and-true-p bindings.
2866 (netrc-parse): Cache the netrc contents.
2868 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2870 * subr.el (posn-col-row): Evaluate header-line-format in the
2871 context of the POSITION window's buffer.
2873 2010-12-13 Glenn Morris <rgm@gnu.org>
2875 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2876 (with-silent-modifications): Doc fixes.
2878 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2880 * net/tramp.el (tramp-action-password, tramp-process-actions):
2881 Revert previous from. Use `save-restriction'.
2883 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2885 * calendar/diary-lib.el (diary-list-sexp-entries):
2886 Handle case of no newline at end of file. (Bug#7536)
2888 2010-12-13 Glenn Morris <rgm@gnu.org>
2890 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2892 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2894 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2895 (tramp-process-actions): Do not widen.
2897 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2898 Protect buffer-modified value. (Bug#7557)
2900 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2902 * log-edit.el (log-edit-changelog-entries):
2903 Regexp quote filename. (Bug#7505)
2905 2010-12-13 Tom Breton <tehom@panix.com>
2907 * cus-edit.el (custom-save-all):
2908 Bind print-length and print-level to nil. (Bug#7581)
2910 2010-12-13 Glenn Morris <rgm@gnu.org>
2912 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2913 Run hooks to update menu contents. (Bug#7586)
2915 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2916 file names, for the sake of MS Windows. (Bug#7588)
2918 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2920 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2921 empty lines without a leading space.
2923 2010-12-13 Leo <sdl.web@gmail.com>
2925 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2926 while mapping over marks (Bug#6810).
2928 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2930 * image-dired.el (image-dired-db-file)
2931 (image-dired-temp-image-file, image-dired-gallery-dir)
2932 (image-dired-temp-rotate-image-file): Set default values relative
2933 to image-dired-dir (Bug#7518).
2935 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2937 * format.el (format-decode-run-method): Pass args FROM and TO, not
2938 point-min and point-max, to shell-command-on-region (Bug#7488).
2940 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2942 * frame.el (blink-cursor-mode): Make default t for ns.
2944 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2946 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2948 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2950 * comint.el (comint-dynamic-list-input-ring)
2951 (comint-dynamic-complete-filename)
2952 (comint-replace-by-expanded-filename)
2953 (comint-dynamic-simple-complete)
2954 (comint-dynamic-list-filename-completions)
2955 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2957 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2960 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2962 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2965 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2967 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2970 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2972 * files.el (file-relative-name): Handle UNC file names on
2973 DOS/Windows. (Bug#4674)
2975 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2977 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2978 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2979 (epg-context-set-passphrase-callback): Mention that the callback
2980 is not called when used with GnuPG 2.x.
2982 2010-12-13 Glenn Morris <rgm@gnu.org>
2984 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2985 Ensure ps-footer-font-size-internal is initialized.
2986 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2988 2010-12-13 Kenichi Handa <handa@m17n.org>
2990 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2991 within condition-case.
2992 (rmail-show-mime): Don't use condition-case.
2993 (rmail-search-mime-message): New function.
2994 (rmail-search-mime-message-function): Set to
2995 rmail-search-mime-message.
2997 2010-12-13 Leo <sdl.web@gmail.com>
2999 * ido.el (ido-common-initialization): New function. (bug#3274)
3001 (ido-completing-read): Call it.
3003 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3005 * bookmark.el (bookmark-name-from-full-record): Rename back to
3006 this original name from `bookmark-name-from-record' reverting part
3007 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3008 As Drew Adams pointed out, there was no reason to cause churn for
3009 third-party callers. (Bug#7609)
3011 2010-12-12 Alan Mackenzie <acm@muc.de>
3013 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3014 template arglist, check that the current language supports this.
3016 2010-12-11 Glenn Morris <rgm@gnu.org>
3018 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3019 state of the file matches. (Bug#7544)
3020 (vc-bzr-register, vc-bzr-checkin)
3021 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3022 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3024 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3026 2010-12-11 Karel Klíč <kklic@redhat.com>
3028 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3030 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3032 Derive from prog-mode, use derived-mode-p, and fix up various
3033 minor style issues in lisp/progmodes.
3035 * progmodes/vhdl-mode.el (vhdl-mode):
3036 * progmodes/verilog-mode.el (verilog-mode):
3037 * progmodes/vera-mode.el (vera-mode):
3038 * progmodes/sql.el (sql-mode):
3039 * progmodes/scheme.el (scheme-mode):
3040 * progmodes/perl-mode.el (perl-mode):
3041 * progmodes/octave-inf.el (inferior-octave-mode):
3042 * progmodes/autoconf.el (autoconf-mode):
3043 * progmodes/m4-mode.el (m4-mode):
3044 * progmodes/inf-lisp.el (inferior-lisp-mode):
3045 * progmodes/idlwave.el (idlwave-mode):
3046 * progmodes/icon.el (icon-mode):
3047 * progmodes/idlw-help.el (idlwave-help-mode):
3048 * progmodes/dcl-mode.el (dcl-mode):
3049 * progmodes/idlw-shell.el (idlwave-shell-mode):
3050 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3051 (ebrowse-member-mode, ebrowse-electric-position-mode):
3052 Use define-derived-mode.
3054 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3055 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3056 (xscheme-debugger-mode-p, xscheme-send-string-1):
3057 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3058 (tcl-load-file, tcl-restart-with-file):
3059 * progmodes/ps-mode.el (ps-run-running):
3060 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3061 * progmodes/js.el (js--get-all-known-symbols):
3062 * progmodes/inf-lisp.el (inferior-lisp-proc):
3063 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3064 (idlwave-template, idlwave-update-buffer-routine-info)
3065 (idlwave-update-current-buffer-info)
3066 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3067 (idlwave-scan-class-info, idlwave-fix-keywords)
3068 (idlwave-list-buffer-load-path-shadows):
3069 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3070 (idlwave-toolbar-remove):
3071 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3072 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3073 (idlwave-shell-menu-def):
3074 * progmodes/idlw-complete-structtag.el
3075 (idlwave-prepare-structure-tag-completion):
3076 * progmodes/gud.el (gud-set-buffer):
3077 * progmodes/f90.el (f90-backslash-not-special):
3078 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3080 * progmodes/xscheme.el (xscheme-start)
3081 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3082 * progmodes/which-func.el (which-function):
3083 * progmodes/vhdl-mode.el (vhdl-set-style):
3084 * progmodes/verilog-mode.el (verilog-set-compile-command)
3085 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3086 (verilog-set-define, verilog-auto-reeval-locals):
3087 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3088 * progmodes/simula.el (simula-mode):
3089 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3090 * progmodes/python.el (python-check, python-mode):
3091 * progmodes/prolog.el (prolog-mode-variables):
3092 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3093 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3094 * progmodes/delphi.el (delphi-mode):
3095 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3096 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3097 (c-font-lock-init): Move make-local-variable to their setq.
3099 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3100 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3102 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3103 (sh-set-shell): Don't set require-final-newline since it's already done
3105 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3106 since we never set it.
3107 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3108 Use read-string and standard prompt.
3109 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3110 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3111 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3112 (meta-common-mode-map): Rename from meta-mode-map.
3113 Remove C-m binding, which is a user preference, not mode specific.
3114 (meta-common-mode): New major mode; replace meta-common-initialization.
3115 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3116 around with font-lock.
3117 * progmodes/etags.el (select-tags-table-mode):
3118 Derive from special-mode.
3119 * progmodes/octave-mod.el (octave-mode):
3120 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3121 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3122 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3123 Let define-derived-mode do its job.
3124 * progmodes/cpp.el (cpp-edit-mode-map):
3125 Move initialization into declaration.
3126 (cpp-edit-mode): Use define-derived-mode.
3127 (cpp-edit-load): Use derived-mode-p.
3128 * progmodes/mixal-mode.el (mixal-mode):
3129 * progmodes/f90.el (f90-mode):
3130 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3131 require-final-newline since prog-mode does it already.
3132 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3133 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3134 * progmodes/antlr-mode.el: Require cc-mode upfront.
3135 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3137 (antlr-directory-dependencies, antlr-show-makefile-rules):
3139 (antlr-language-option): Don't assume point-min==1.
3140 (antlr-mode): Use define-derived-mode.
3141 * progmodes/ada-mode.el: Use derived-mode-p.
3142 (ada-mode): Use define-derived-mode.
3143 Use hack-local-variables-hook.
3145 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3147 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3148 (texinfo-mode): Don't disable adaptive-fill-mode.
3149 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3150 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3151 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3152 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3153 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3154 (texinfo-insert-@quotation, texinfo-insert-@samp)
3155 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3156 (texinfo-insert-@uref): Use define-skeleton.
3157 (texinfo-insert-@-with-arg): Delete.
3159 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3161 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3162 nil, do quote archive member names. (Bug#6144)
3164 2010-12-10 Glenn Morris <rgm@gnu.org>
3166 * files.el (diff-no-select): Declare.
3168 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3169 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3171 * comint.el (comint-input-ring-file-name): Doc fix.
3173 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3175 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3177 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3178 Use them instead of `nil' and `>', respectively.
3179 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3181 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3182 and menu-bar-positive-p instead of `nil' and `>', respectively.
3185 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3187 * whitespace.el (whitespace-newline-mode): Code fix.
3189 2010-12-09 Glenn Morris <rgm@gnu.org>
3191 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3192 Rename functions without commas, update callers.
3194 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3196 * whitespace.el (whitespace-cleanup-region):
3197 Clean up spaces before tabs. (Bug#7582)
3199 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3201 * bookmark.el: Adjust parameter names and doc strings to resolve
3202 confusion over whether "bookmark" meant a bookmark name or a
3203 bookmark record. Along the way, shorten one function's name for
3204 similar reasons. (Issue #7548)
3205 (bookmark-name-from-record): New name for
3206 `bookmark-name-from-full-record'. All callers changed.
3207 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3208 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3209 (bookmark-get-annotation, bookmark-set-annotation)
3210 (bookmark-get-filename, bookmark-set-filename)
3211 (bookmark-get-position, bookmark-set-position)
3212 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3213 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3214 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3215 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3216 Rename `bookmark' parameter to `bookmark-name-or-record', to
3217 clearly show its role, and shorten or adjust doc strings accordingly.
3218 (bookmark-set-name): Same, and pass the parameter directly to
3219 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3220 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3221 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3222 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3223 and in some cases shorten doc string accordingly.
3224 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3225 and `new-name', and adjust an internal variable to avoid confusion.
3226 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3227 parameter in doc string.
3229 2010-12-08 Glenn Morris <rgm@gnu.org>
3231 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3232 from gdb's history file. (Bug#7575)
3234 * mail/emacsbug.el (report-emacs-bug):
3235 Try to handle some other mail clients.
3237 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3239 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3240 Use string-prefix-p.
3241 (file-name-version-regexp): New var.
3242 (file-name-sans-versions):
3243 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3244 (jka-compr-get-compression-info): Use dolist.
3245 (jka-compr-compression-info-list): Don't bother specifying
3246 version/backup regexps.
3248 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3250 * simple.el (just-one-space): Make argument n default to 1 if
3253 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3255 * electric.el (electric-indent-post-self-insert-function):
3256 Delete trailing newlines even if we don't reindent.
3258 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3260 * minibuffer.el (completion-at-point): Remove the `arg'.
3261 * bindings.el (complete-symbol): Move back from minibuffer.el.
3263 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3265 * simple.el (just-one-space): Delete newlines for negative arg.
3267 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3269 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3270 (ansi-color-filter-apply): Simplify.
3271 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3273 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3275 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3277 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3279 * dired.el (dired-use-ls-dired): Set default to a special
3280 "unspecified" value.
3281 (dired-insert-directory): When called the first time, check
3282 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3284 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3286 * replace.el: Add "collect" feature to occur.
3287 (occur-collect-regexp-history): New var.
3288 (occur-read-primary-args): Return a replace string for nlines,
3290 (occur): Extend the meaning of nlines.
3292 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3294 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3295 (which-func-update-1): Distinguish symbols from strings.
3296 (which-function): Stay within 80 columns.
3298 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3300 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3302 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3304 (comment-style): Use comment-styles's docs to describe values.
3306 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3308 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3309 and ns-show-prefs (Bug#7535).
3311 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3312 bindings (Bug#7535).
3314 2010-12-03 Glenn Morris <rgm@gnu.org>
3316 * nxml/nxml-mode.el: Require rng-nxml.
3317 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3318 Remove declarations.
3320 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3321 * nxml/rng-nxml.el, nxml/rng-valid.el:
3322 Remove leading `*' from defcustom docs.
3324 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3325 (normal-top-level-add-to-load-path, tty-handle-args):
3326 Convert comments to basic doc-strings.
3328 * net/browse-url.el (browse-url-url-at-point)
3329 (browse-url-default-browser): Remove autoload cookies.
3331 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3332 Remove more undefined cl functions.
3334 * vc/diff.el (diff-sentinel): Make new arguments optional.
3335 * ibuf-ext.el (diff-sentinel): Update declaration.
3337 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3339 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3340 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3341 (epg-context-set-passphrase-callback): Mention that the callback
3342 is not called when used with GnuPG 2.x.
3344 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3346 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3347 (tramp-file-name-port): Check also for `tramp-default-port'.
3348 (tramp-get-connection-name): New defun.
3349 (tramp-get-connection-process): Use it.
3350 (tramp-debug-message): Extend function exclude list.
3351 (tramp-drop-volume-letter): Fix doc string.
3353 * net/tramp-cmds.el: Remove solved todo item.
3356 * net/tramp-gvfs.el:
3358 * net/tramp-imap.el:
3359 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3360 and `tramp-default-user-alist', respectively.
3362 * net/tramp-gw.el (tramp-gw-open-connection):
3363 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3365 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3366 `tramp-file-name-port'.
3368 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3369 and "psftp". Exchange "%k" marker with options.
3370 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3371 Compute size of link target.
3372 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3373 `tramp-current-*' up due to gateway methods. Optimize computing of
3374 copy arguments. Use `tramp-get-connection-name' and
3375 `tramp-get-connection-buffer'. Improve debug messages.
3376 (tramp-compute-multi-hops): Remove port determination.
3377 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3379 * net/trampver.el: Update release number.
3381 2010-12-02 Glenn Morris <rgm@gnu.org>
3383 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3384 Avoid infinite loop over windows. (Bug#7492)
3386 * progmodes/flymake.el (flymake-check-file-limit):
3387 Allow nil to mean "no limit".
3388 (flymake-check-patch-master-file-buffer): Update for above change.
3389 Allow a .tex file-name extension to be optional.
3390 (flymake-master-tex-init): Also match \include statements.
3392 2010-11-30 Sam Steingold <sds@gnu.org>
3394 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3395 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3396 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3397 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3398 define-derived-mode').
3399 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3400 users who want to call `nxml-parent-document-set'.
3402 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3404 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3405 stand-alone lines, since that is handled by log-edit-match-to-eoh
3408 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3410 * dired.el (dired-get-filename): Replace backslashes with slashes
3411 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3412 * locate.el (locate-default-make-command-line): Don't consider
3413 drive letter and root directory part of
3414 `directory-listing-before-filename-regexp'. (Bug#7308)
3415 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3417 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3419 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3420 of :smie-open/close-alist.
3421 (smie-next-sexp): Make it accept a "start token" as argument.
3422 (smie-indent-keyword): Be careful not to misidentify tokens that span
3423 more than one line, as empty lines. Add argument `token'.
3425 2010-11-27 Kenichi Handa <handa@m17n.org>
3427 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3428 multipart subtypes, insert all as usual.
3430 * mail/rmail.el: Require rfc2047.
3432 2010-11-27 Kenichi Handa <handa@m17n.org>
3434 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3435 (rmail-mime-entity-disposition)
3436 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3437 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3438 (rmail-mime-save): Handle the case that the button's `data' is a
3440 (rmail-mime-insert-text): New function.
3441 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3442 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3443 (rmail-mime-insert-bulk): New function mostly copied from the old
3444 rmail-mime-bulk-handler.
3445 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3446 (rmail-mime-process-multipart): New function mostly copied from
3447 the old rmail-mime-multipart-handler.
3448 (rmail-mime-show): Just call rmail-mime-process.
3449 (rmail-mime-process): New function mostly copied from the old
3451 (rmail-mime-insert-multipart, rmail-mime-parse)
3452 (rmail-mime-insert, rmail-show-mime)
3453 (rmail-insert-mime-forwarded-message)
3454 (rmail-insert-mime-resent-message): New functions.
3455 (rmail-insert-mime-forwarded-message-function): Set to
3456 rmail-insert-mime-forwarded-message.
3457 (rmail-insert-mime-resent-message-function): Set to
3458 rmail-insert-mime-resent-message.
3460 * mail/rmailsum.el: Require rfc2047.
3461 (rmail-header-summary): Handle multiline Subject: field.
3462 (rmail-summary-line-decoder): Change the default to
3463 rfc2047-decode-string.
3465 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3466 (rmail-mime-feature): Change the default to `rmailmm'.
3467 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3468 (rmail-display-labels): Likewise.
3469 (rmail-show-message-1): Check rmail-enable-mime, and use
3470 rmail-show-mime-function for a MIME message. Decode the headers
3471 according to RFC2047.
3473 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3475 * progmodes/which-func.el (which-func-imenu-joiner-function):
3476 Return a string, as expected.
3477 (which-function-mode): Make sure we stop any previous timer before
3480 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3482 * net/tramp.el (tramp-default-method-alist)
3483 (tramp-default-user-alist, tramp-default-proxies-alist):
3484 Adapt custom options type. (Bug#7445)
3486 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3488 * progmodes/python.el: Add Ipython support (Bug#5390).
3489 (python-shell-prompt-alist)
3490 (python-shell-continuation-prompt-alist): New options.
3491 (python--set-prompt-regexp): New function.
3492 (inferior-python-mode, run-python, python-shell):
3493 Require ansi-color. Use python--set-prompt-regexp to set the comint
3494 prompt based on the Python interpreter.
3495 (python--prompt-regexp): New var.
3496 (python-check-comint-prompt)
3497 (python-comint-output-filter-function): Use it.
3498 (run-python): Use a pipe (Bug#5694).
3500 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3502 * progmodes/python.el (run-python): Doc fix.
3503 (python-keep-current-directory-in-path): New var (Bug#7454).
3505 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3507 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3508 Prompt user before actually printing.
3510 2010-11-27 Glenn Morris <rgm@gnu.org>
3512 * startup.el (package-enable-at-startup, package-initialize):
3513 Remove unnecessary declarations.
3515 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3517 * international/characters.el (glyphless-char-display-control):
3518 Exclude newline and TAB from the c0-control group.
3520 2010-11-27 Glenn Morris <rgm@gnu.org>
3522 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3523 (expand-mail-aliases): Remove unnecessary autoload.
3525 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3527 * shell.el (shell-dir-cookie-re): Move definition before use.
3529 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3530 Replace undefined CL functions.
3532 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3534 * simple.el (prog-mode): Set bidi-paragraph-direction to
3537 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3539 2010-11-26 Glenn Morris <rgm@gnu.org>
3541 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3542 diary-outlook-formats can be sensitive to calendar-date-style.
3543 (diary-outlook-formats): Simplify the default setting.
3544 (diary-from-outlook-internal): Pass subject and body as arguments.
3545 Use dolist rather than dotimes. Don't save the diary buffer.
3546 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3547 Pass subject and body as explicit arguments to the -internal function.
3549 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3551 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3552 parsing them. This makes mailto:...?subject=foo\nbar work.
3554 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3556 * vc/diff.el (diff): Fix last change.
3558 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3560 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3561 (pcase--dontcare-upats): New var.
3562 (pcase-let, pcase-let*): Generate better code.
3563 Accept the same bodies as `let'.
3564 (pcase-dolist): New macro.
3565 (pcase--trivial-upat-p): New helper function.
3566 (pcase--expand): Strip leading "(let nil" if any.
3568 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3570 * mail/mailclient.el (browse-url): Require.
3571 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3572 use the external browser function to send the mail (bug#7469).
3574 * net/browse-url.el (browse-url-browser-function): Revert the
3575 default back to the previous value, since the new value broke
3577 (browse-url-mailto-function): New variable for mailto: URLs.
3578 (browse-url): Use the new variable for mailto: URLs.
3580 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3582 * eshell/esh-cmd.el (eshell-parse-command):
3583 * eshell/esh-arg.el (eshell-parse-arguments):
3584 * eshell/em-script.el (eshell-source-file):
3585 Use with-silent-modifications.
3587 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3589 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3590 for a merge location.
3592 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3593 (vc-bzr-merge-branch): Always prompt.
3594 (vc-bzr-async-command): Use the full branch filename.
3596 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3598 * shell.el (shell): Use current-buffer by default if it's already
3599 a shell mode buffer and its process is dead.
3600 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3602 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3604 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3605 Mention that the keywords should be comma separated.
3607 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3609 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3610 Accept optional prefix arg meaning to prompt for a command.
3611 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3612 prefix arg meaning to prompt for a command.
3613 (vc-pull): Alias for vc-update.
3615 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3616 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3617 (vc-bzr-merge-branch): New functions, implementing merge-branch
3618 and pull operations.
3620 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3622 * Makefile.in: Fix up last merge.
3624 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3625 (diff-sentinel): Get them as arguments instead.
3626 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3627 (diff-file-local-copy, diff-better-file-name): New funs.
3628 (diff-no-select): Rename from diff-into-buffer.
3629 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3630 Prefer closures to buffer-local variables.
3631 (diff): Adjust accordingly.
3632 (diff-buffer-with-file): Move from files.el.
3633 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3634 (diff-buffer-internal): Remove.
3635 (diff-buffer-buffer): Remove.
3636 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3637 the buffer name used, and so as not to mess up windows and frames.
3639 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3641 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3642 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3643 (diff-buffer-with-file): Use it.
3644 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3647 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3649 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3650 \ref's or \pageref's value as default instead of initial input.
3652 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3654 * files.el (backup-by-copying-when-mismatch): The default value is
3657 * startup.el (normal-top-level):
3658 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3659 `backup-by-copying-when-mismatch'.
3661 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3663 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3665 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3667 * progmodes/python.el (python-font-lock-keywords):
3668 Highlight top-level augmented assignments (Bug#6445).
3670 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3672 * term/ns-win.el (ns-right-control-modifier)
3673 (ns-right-command-modifier): Defvar them.
3675 * cus-start.el (all): Add ns-right-control-modifier and
3676 ns-right-command-modifier (Bug#7458).
3678 2010-11-20 Glenn Morris <rgm@gnu.org>
3680 * emacs-lisp/authors.el (authors-ignored-files)
3681 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3683 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3685 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3686 (report-emacs-bug-parse-query-results)
3687 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3688 keywords used for querying the bug database to show them in the
3689 existing bugs buffer.
3691 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3693 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3695 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3697 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3699 * international/characters.el (glyphless-char-display-control):
3700 Make it a defcustom, with update-glyphless-char-display as its
3702 (top level): Don't call update-glyphless-char-display.
3704 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3706 Sync with Tramp 2.2.0.
3708 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3709 `file-remote-p' (due to compatibility).
3711 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3712 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3714 * net/trampver.el: Update release number.
3716 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3718 * faces.el (glyphless-char): Define value for `pc'.
3720 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3722 Implemented a bug querying mechanism.
3723 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3724 (report-emacs-bug-create-existing-bugs-buffer)
3725 (report-emacs-bug-parse-query-results)
3726 (report-emacs-bug-query-existing-bugs): New functions.
3728 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
3730 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3731 a \ref{} or \pageref{} macro, then use its value as initial input.
3733 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3735 * calc/calc-units.el (math-build-units-table-buffer):
3736 calc/README: Mention that the TeX specific units won't use the
3737 `tex' prefix in TeX mode.
3738 calc/calc-lang.el (math-variable-table): Don't use the `tex'
3739 prefix for units in TeX mode.
3741 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3743 * simple.el (kill-new, kill-append, kill-region):
3744 * comint.el (comint-kill-region): Make the yank-handler argument
3747 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3749 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3750 that are both openers (resp. closers) and something else.
3751 (smie-grammar): Loosen definition of valid values.
3752 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3753 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3754 (smie-indent-after-keyword): Adjust users.
3755 (smie-indent-keyword): Don't indent empty lines.
3757 * vc-hg.el (vc-hg-program): New var.
3758 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3759 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3761 2010-11-18 Glenn Morris <rgm@gnu.org>
3763 * emacs-lisp/autoload.el (autoload-find-destination): The function
3764 coding-system-eol-type may return non-numeric values. (Bug#7414)
3766 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
3768 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3770 2010-11-18 Eli Zaretskii <eliz@gnu.org>
3772 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
3774 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
3776 * textmodes/picture.el (picture-mouse-set-point): Don't use
3777 posn-col-row; explicitly compute the motion based on the posn at
3778 the window-start (Bug#7390).
3780 2010-11-18 Glenn Morris <rgm@gnu.org>
3782 * novice.el (disabled-command-function):
3783 Fix 2009-11-15 change. (Bug#7384)
3785 2010-11-18 Glenn Morris <rgm@gnu.org>
3787 * calendar/calendar.el (diary-iso-date-forms): Make elements
3788 mutually exclusive. (Bug#7377)
3790 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3792 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3793 when filling the remaining "unconstrained" values.
3795 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3797 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3800 * files.el (safe-local-variable-p): Gracefully handle errors.
3802 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3803 Use smie-indent-virtual when indenting relative to an opener.
3804 (smie-rule-separator): Use smie-rule-parent.
3805 (smie-indent-keyword): Consult rules, even for openers at bol.
3806 (smie-indent-comment-close): Try to align closer's content.
3808 2010-11-18 Glenn Morris <rgm@gnu.org>
3810 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3812 2010-11-18 Glenn Morris <rgm@gnu.org>
3814 * printing.el (pr-menu-bind): Doc fix.
3816 * speedbar.el (speedbar-toggle-images): Doc fix.
3818 * progmodes/python.el (python-shell): Doc fix.
3820 * wid-edit.el (widget-field-use-before-change)
3821 (widget-use-overlay-change): Doc fixes.
3823 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3825 Minor cleanup to improve style.
3826 * textmodes/rst.el (rst-update-section): Use point-marker.
3827 (rst-get-decoration): Eliminate unneeded assignment.
3828 (rst-promote-region, rst-straighten-decorations)
3829 (rst-section-tree, rst-adjust): Use point-marker.
3830 (rst-toc-mode-mouse-goto): Avoid setq.
3831 (rst-shift-region-guts, rst-shift-region-left)
3832 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3833 (rst-convert-bullets-to-enumeration): Use copy-marker.
3835 * minibuffer.el (completion-fail-discreetly): New var.
3836 (completion--do-completion): Use it.
3838 * electric.el (electric-pair-pairs): New var.
3839 (electric-pair-post-self-insert-function): Use it.
3840 (electric-layout-post-self-insert-function): Don't insert a before
3841 newline unless it's actually needed.
3843 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3845 * progmodes/python.el (run-python): Explain why we remove the current
3846 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3848 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3850 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3852 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3853 (octave-mode-map): Don't bind ;, SPC, and LF.
3854 (octave-auto-indent, octave-auto-newline): Remove.
3855 (electric-layout-rules): Declare.
3856 (octave-mode): Set electric-layout-rules.
3857 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3858 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3859 (octave-electric-space): Remove.
3861 * electric.el (electric-layout-mode): New minor mode.
3862 (electric--after-char-pos): New function.
3863 (electric-indent-post-self-insert-function): Use it.
3864 (electric-layout-rules): New var.
3865 (electric-layout-post-self-insert-function): New function.
3866 (electric-indent-mode): Make them interact better.
3868 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3870 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3871 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3872 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3874 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3876 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3877 Make sure to check inside the word (Bug#6761).
3879 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3881 * startup.el (command-line): If the cursorColor resource is set,
3882 change the cursor face-spec (Bug#7392).
3884 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3886 The main features of the following allout.el changes are:
3887 - implement user customization for the allout key bindings
3888 - add a customization control by which the user can inhibit use of
3889 a trailing Ctrl-H, so by default it's reserved for use with
3890 describe-prefix-bindings
3891 - adapt to new version of called-interactively-p, while
3892 maintaining backwards compatibility with old version
3893 - fix hotspot navigation so i works properly with meta-modified keys
3895 * allout.el (allout-keybindings, allout-bind-keys)
3896 (allout-keybindings-binding, allout-prefixed-keybindings)
3897 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3898 (allout-keybindings-list, allout-mode-map-adjustments)
3899 (allout-setup-mode-map): Establish allout-mode keymaps as user
3900 customizable settings, and also establish a customizable setting which
3901 regulates whether or not a trailing control-h is reserved for use with
3902 describe-prefix-bindings - and inhibit it by default, so that control-h
3903 *is* reserved for describe-prefix-bindings unless the user changes it.
3905 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3906 and accurately between modified and unmodified events, and handle
3907 modified events more comprehensively.
3909 * allout.el (allout-substring-no-properties):
3910 Alias to use or provide version of `substring-no-properties'.
3911 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3913 * allout.el (allout-next-single-char-property-change):
3914 Alias to use or provide version of `next-single-char-property-change'.
3915 (allout-annotate-hidden, allout-hide-by-annotation):
3916 Use `allout-next-single-char-property-change'.
3918 * allout.el (allout-select-safe-coding-system):
3919 Alias to use or provide version of `select-safe-coding-system'.
3920 (allout-toggle-subtree-encryption):
3921 Use `allout-select-safe-coding-system'.
3923 * allout.el (allout-set-buffer-multibyte):
3924 Alias to use or provide version of `set-buffer-multibyte'.
3925 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3927 * allout.el (allout-called-interactively-p): Macro for using the
3928 different versions of called-interactively-p identically, depending on
3929 the subroutine's argument signature.
3930 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3931 Use `(interactive "p")' instead of `(called-interactively-p)'.
3933 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3934 (allout-previous-visible-heading, allout-forward-current-level)
3935 (allout-backward-current-level, allout-show-children):
3936 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3938 * allout.el (allout-before-change-handler):
3939 Exempt edits to the (overlaid) character after the allout outline
3940 bullet from edit confirmation prompt.
3942 * allout.el (allout-add-resumptions):
3943 Ensure that it respects correct buffer for keybindings.
3945 * allout.el (allout-beginning-of-line):
3946 Use `allout-previous-single-char-property-change' alias for the sake of
3947 diverse compatibility.
3949 * allout.el (allout-end-of-line):
3950 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3952 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3954 * frame.el (frame-notice-user-settings): Don't clobber other
3955 user-set parameters when calling face-set-after-frame-default in
3956 response to background-color parameter (Bug#7373).
3958 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3960 * international/characters.el (glyphless-char-display-control):
3961 Rename from glyphless-char-control; all users changed. Doc fix.
3962 Signal an error if display method is not one of the recognized
3965 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3967 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3968 (tramp-compat-line-end-position): Remove them.
3970 * net/tramp.el (tramp-parse-rhosts-group)
3971 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3972 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3973 (tramp-parse-netrc-group, tramp-parse-putty-group)
3974 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3975 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3976 (tramp-sh-handle-file-selinux-context)
3977 (tramp-sh-handle-file-name-all-completions)
3978 (tramp-sh-handle-insert-directory)
3979 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3980 (tramp-wait-for-output, tramp-send-command-and-read)
3981 * net/tramp-smb.el (tramp-smb-read-file-entry)
3982 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3984 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3986 (tramp-remote-coding-commands): Add an alternative using "base64
3987 -d -i". This is needed for older base64 versions from GNU
3988 coreutils. Reported by Klaus Reichl
3989 <Klaus.Reichl@thalesgroup.com>.
3991 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3993 * simple.el (count-words-region): New function.
3995 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3997 * shell.el (shell-dir-cookie-re): New custom variable.
3998 (shell-dir-cookie-watcher): New function.
4000 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4001 and compilation-mode (bug#7350).
4003 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4004 highlight when one of them is empty.
4006 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4008 (skeleton-newline): New function.
4009 (skeleton-internal-1): Use it.
4011 * simple.el (open-line): `newline' may strip trailing space.
4013 2010-11-12 Kevin Ryde <user42@zip.com.au>
4015 * international/mule-cmds.el (princ-list): Use mapc.
4017 2010-11-12 Glenn Morris <rgm@gnu.org>
4019 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4020 Use it to replace all instances of "*Compile-Log*"
4022 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4024 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4027 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4029 * progmodes/modula2.el: Use SMIE and skeleton.
4030 (m2-mode-syntax-table): (*..*) can be nested.
4031 Add //...\n. Fix paren syntax.
4032 (m2-mode-map): Remove LF and TAB bindings.
4033 (m2-indent): Add safety property.
4034 (m2-smie-grammar): New var.
4035 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4036 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4037 (m2-mode): Use define-derived-mode.
4038 (m2-newline, m2-tab): Remove.
4039 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4040 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4041 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4042 (m2-import): Use define-skeleton.
4044 2010-11-11 Glenn Morris <rgm@gnu.org>
4046 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4048 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4049 (ls-lisp-verbosity): Add custom :set-after property.
4050 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4051 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4052 (ls-lisp-insert-directory): Update caller.
4053 (ls-lisp-set-options): New function.
4054 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4057 * play/landmark.el (lm-prompt-for-move):
4058 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4060 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4062 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4063 (idlwave-study-twins): Prefix dynamic local variable `name'.
4064 (idlwave-routine-twin-compare): Update for above change.
4066 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4067 Prefix dynamic local variables `name', `kwd', and `link'.
4068 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4069 * progmodes/idlw-complete-structtag.el
4070 (idlwave-complete-structure-tag-help):
4071 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4072 (idlwave-complete-sysvar-tag-help)
4073 (idlwave-complete-class-structure-tag-help):
4074 Update for above name changes.
4076 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4078 * net/browse-url.el (browse-url-browser-function): Change the
4079 default to use `browse-url-mail' on mailto: URLs.
4081 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4083 * emacs-lisp/package.el (package-read-all-archive-contents):
4084 Reset package-archive-contents to nil before re-reading.
4086 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4088 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4089 already found as misspellings by (flyspell-large-region), just
4090 do highlighting (bug#7322).
4092 2010-11-10 Glenn Morris <rgm@gnu.org>
4094 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4096 * emulation/edt.el (edt-with-position): New macro.
4097 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4098 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4099 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4101 * emulation/tpu-extras.el (tpu-with-position): New macro.
4102 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4104 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4106 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4107 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4108 (texinfo-master-menu, texinfo-insert-node-lines)
4109 (texinfo-multiple-files-update):
4110 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4111 Use line-beginning-position.
4113 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4114 No recent Emacs supports system-type `emx'.
4116 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4117 (ada-command-separator, ada-default-prj-properties)
4118 (ada-find-any-references): Update for above name change.
4120 * dirtrack.el (dirtrack-directory-function)
4121 (dirtrack-canonicalize-function):
4122 * filecache.el (file-cache-completion-ignore-case)
4123 (file-cache-case-fold-search, file-cache-ignore-case):
4124 * term.el (serial-port-is-file-p): Cosmetic change.
4126 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4127 Remove non-existent `windows-95' system-type.
4128 * dired.el (dired-chown-program): Remove non-existent `linux'
4131 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4132 (ping-program-options): Remove non-existent `linux' system-type.
4134 * startup.el (package-initialize): Update declaration.
4136 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4137 (ls-lisp-handle-switches): Use time-less-p.
4138 (ls-lisp-format-time): Use float-time.
4140 * textmodes/remember.el (remember-time-to-seconds): Remove.
4141 (remember-store-in-mailbox): Use float-time.
4143 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4145 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4146 never a real function.
4147 (with-no-warnings): Remove compat stub, now unused.
4148 (time-less-p): Doc fix.
4149 (time-to-number-of-days): Simplify.
4151 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4153 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4154 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4155 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4156 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4157 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4159 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4160 (eshell-shuffle-files, eshell-shorthand-tar-command)
4161 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4162 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4163 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4164 Prefix dynamic local variable `matches'.
4166 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4167 Prefix dynamic local variable `skeleton'.
4169 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4171 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4172 in mail buffer; make yank-action always a command that yanks original
4175 2010-11-09 Glenn Morris <rgm@gnu.org>
4177 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4179 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4181 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4182 completion field (bug#7211).
4184 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4185 Fix handling of backslash escapes.
4186 (python-quote-syntax): Adjust accordingly.
4188 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4190 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4191 (vc-mtn-workfile-branch): Adjust to new output format.
4193 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4195 * international/mule-cmds.el (princ-list): Mark as obsolete.
4197 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4199 * emacs-lisp/smie.el: New package.
4201 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4203 * files.el (backup-by-copying-when-mismatch):
4204 Set `permanent-local' property.
4206 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4207 `permanent-local' property for `backup-by-copying-when-mismatch'.
4209 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4211 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4213 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4215 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4216 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4217 AUTOINOUT for SV style multidimensional arrays, bug294.
4218 Reported by Eric Mastromarchi.
4219 (verilog-preprocess): Use with-current-buffer and
4220 font-lock-fontify-buffer to cleanup style issues.
4222 2010-11-09 Glenn Morris <rgm@gnu.org>
4224 * locate.el (locate, locate-mode): Doc fixes.
4226 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4228 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4229 user for confirmation.
4230 (server-force-stop): Use it.
4231 (server-start): Use server-force-stop for kill-emacs-hook, to
4232 avoid user interaction while killing Emacs.
4234 2010-11-09 Glenn Morris <rgm@gnu.org>
4236 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4237 (meta-indent-line): Simplify.
4239 * vc/emerge.el (emerge-line-number-in-buf):
4240 * textmodes/ispell.el (ispell-region):
4241 * textmodes/fill.el (current-fill-column):
4242 * progmodes/xscheme.el (xscheme-send-current-line):
4243 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4244 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4245 * progmodes/sh-script.el (sh-handle-prev-do):
4246 * progmodes/meta-mode.el (meta-indent-line):
4247 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4249 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4250 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4251 * progmodes/fortran.el (fortran-looking-at-if-then):
4252 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4253 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4254 (cperl-find-pods-heres):
4255 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4256 * net/quickurl.el (quickurl-list-insert):
4257 * net/ldap.el (ldap-search-internal):
4258 * net/eudc.el (eudc-expand-inline):
4259 * mail/sendmail.el (sendmail-send-it):
4260 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4261 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4262 (viper-brac-function):
4263 * calc/calc-yank.el (calc-do-grab-region):
4264 * calc/calc-keypd.el (calc-keypad-press):
4265 * term.el (term-move-columns, term-insert-spaces):
4266 * speedbar.el (speedbar-highlight-one-tag-line):
4267 * simple.el (current-word):
4268 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4269 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4271 * hippie-exp.el (he-line-beg):
4272 * epa.el (epa--marked-keys):
4273 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4274 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4275 (dired-relist-entry):
4276 * buff-menu.el (Buffer-menu-buffer):
4277 * array.el (current-line):
4278 * allout.el (allout-resolve-xref)
4279 (allout-latex-verbatim-quote-curr-line):
4280 Replace yet more uses of end-of-line etc with line-end-position, etc.
4282 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4284 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4285 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4286 (checkdoc-syntax-table): Initialize in the declaration.
4287 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4288 the mode on unconditionally.
4290 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4291 (extent-end-position, extent-start-position): Remove setf method for
4292 non-existing functions (bug#7319).
4294 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4296 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4297 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4298 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4299 (smie-prec2->grammar): Rename from smie-prec2-levels.
4300 (smie-grammar): Rename from smie-op-levels.
4301 (smie-indent--hanging-p): Rename from smie-hanging-p.
4302 (smie-rule-hanging-p): New alias.
4303 (smie-indent--bolp): Rename from smie-bolp.
4304 (smie-indent--hanging-p): New alias.
4305 (smie--token): New dynamically bound variable.
4306 (smie-indent--parent): New function.
4307 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4308 (smie-rule-next-p): Rename from smie-next-p.
4309 (smie-rule-prev-p): Rename from smie-prev-p.
4310 (smie-rule-sibling-p, smie-rule-parent)
4311 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4312 (smie-rule-separator-outdent): New var.
4313 (smie-indent--rule): Merge with smie-indent--column.
4314 (smie-indent-forward-token, smie-indent-backward-token):
4315 Also recognize close parens.
4316 (smie-indent-keyword): Don't use smie-indent--column any more.
4317 (smie-indent-after-keyword): Ignore closers by default.
4318 (smie-indent-line): Use with-demoted-errors.
4319 * progmodes/octave-mod.el (octave-smie-grammar):
4320 Rename from octave-smie-op-levels.
4321 (octave-smie-rules): Adjust to new behavior.
4322 * progmodes/prolog.el (prolog-smie-grammar):
4323 Rename from prolog-smie-op-levels.
4325 2010-11-07 Glenn Morris <rgm@gnu.org>
4327 * eshell/esh-util.el (subst-char-in-string)
4328 (directory-files-and-attributes): These compatibility definitions are
4329 not needed on any version of Emacs since at least 21.4.
4331 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4332 (verilog-get-end-of-line): Remove.
4333 (verilog-within-string, verilog-re-search-forward-substr)
4334 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4335 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4336 Use point-at-bol, point-at-eol.
4337 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4339 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4340 (electric-pascal-terminate-line, pascal-set-auto-comments)
4341 (pascal-indent-paramlist, pascal-indent-declaration)
4342 (pascal-get-lineup-indent, pascal-func-completion)
4343 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4344 Use point-at-bol, point-at-eol.
4345 * progmodes/flymake.el (flymake-line-beginning-position)
4346 (flymake-line-end-position): Remove.
4347 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4348 * eshell/esh-util.el (line-end-position, line-beginning-position):
4349 Remove compat definitions.
4351 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4353 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4354 Use line-end-position.
4356 * emacs-lisp/chart.el (chart-zap-chars):
4357 * play/decipher.el (decipher-set-map):
4358 * progmodes/ada-mode.el (ada-get-current-indent)
4359 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4360 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4361 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4362 (ada-get-all-references):
4363 * progmodes/cperl-mode.el (cperl-electric-paren)
4364 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4365 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4366 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4367 (cperl-word-at-point-hard):
4368 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4369 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4370 (idlwave-shell-display-line):
4371 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4372 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4373 * progmodes/js.el (js--re-search-forward-inner)
4374 (js--re-search-backward-inner):
4375 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4376 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4377 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4378 * textmodes/flyspell.el (flyspell-process-localwords):
4379 * textmodes/ispell.el (ispell-buffer-local-parsing)
4380 (ispell-buffer-local-dict, ispell-buffer-local-words):
4381 Use point-at-bol and point-at-eol.
4383 * speedbar.el (speedbar-generic-item-info)
4384 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4385 (speedbar-add-indicator, speedbar-check-vc-this-line)
4386 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4387 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4388 Replace more uses of end-of-line etc with line-end-position.
4390 2010-11-06 Glenn Morris <rgm@gnu.org>
4392 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4393 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4394 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4395 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4396 (texinfo-multiple-files-update):
4397 * textmodes/table.el (table--probe-cell-left-up)
4398 (table--probe-cell-right-bottom):
4399 * textmodes/picture.el (picture-tab-search):
4400 * textmodes/page-ext.el (pages-copy-header-and-position)
4401 (pages-directory-for-addresses):
4402 * progmodes/vera-mode.el (vera-get-offset):
4403 * progmodes/simula.el (simula-calculate-indent):
4404 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4405 * progmodes/prolog.el (end-of-prolog-clause):
4406 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4407 * progmodes/icon.el (indent-icon-exp):
4408 * progmodes/etags.el (tag-re-match-p):
4409 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4410 * progmodes/ebnf2ps.el (ebnf-begin-file):
4411 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4412 (dcl-save-local-variable):
4413 * play/life.el (life-setup):
4414 * play/gametree.el (gametree-looking-at-ply):
4415 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4416 * mail/sendmail.el (mail-mode-auto-fill):
4417 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4418 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4419 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4420 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4421 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4422 * type-break.el (type-break-file-keystroke-count):
4423 * term.el (term-replace-by-expanded-history-before-point)
4424 (term-skip-prompt, term-extract-string):
4425 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4426 (speedbar-contract-line, speedbar-toggle-line-expansion)
4427 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4428 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4429 * sort.el (sort-skip-fields):
4430 * skeleton.el (skeleton-internal-list):
4431 * simple.el (line-move-finish, line-move-to-column):
4432 * shell.el (shell-forward-command):
4433 * misc.el (copy-from-above-command):
4434 * makesum.el (double-column):
4435 * ebuff-menu.el (electric-buffer-update-highlight):
4436 * dired.el (dired-move-to-end-of-filename):
4437 * dframe.el (dframe-popup-kludge):
4438 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4439 * arc-mode.el (archive-get-lineno):
4440 Use line-end-position and line-beginning-position.
4442 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4443 (idlwave-study-twins): Prefix dynamic local `class'.
4444 (idlwave-routine-twin-compare): Update for above name change.
4446 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4447 Use boundp tests to silence compiler. Update for changed name of
4448 bytecomp-filename variable.
4450 * emulation/viper-cmd.el (viper-read-string-with-history):
4451 Prefix dynamic local `initial'.
4452 (viper-minibuffer-standard-hook): Update for above name change.
4454 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4455 (elint-init-form): Update for above name change.
4457 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4458 local variables `cbeg' and `cend' a prefix.
4459 (mail-extr-voodoo): Update for above name change.
4461 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4462 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4463 (reftex-toc-promote-action): Doc fix.
4465 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4466 `prompt', `data' a prefix.
4467 (reftex-select-post-command-hook, reftex-select-callback)
4468 (reftex-select-mouse-accept, reftex-select-read-cite):
4469 Update for above name changes.
4471 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4472 `refstyle' to reftex-refstyle.
4473 (reftex-offer-label-menu): Update for above name change.
4474 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4475 `refstyle' name change.
4477 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4478 with with-current-buffer.
4479 (diff, template): Give dynamic local variables a prefix.
4480 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4481 (emerge-line-number-in-buf): Update for above name change.
4482 (emerge-combine-versions-internal): Rename local `template' to
4483 emerge-combine-template.
4484 (emerge-combine-versions-edit): Update for above name change.
4486 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4488 * textmodes/reftex-cite.el
4489 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4490 entries with whitespace after \bibitem.
4491 (reftex-create-bibtex-file): Match entries containing numbers and
4492 symbol constituents. Make sure that entries with whitespace at
4493 various places are found.
4495 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4497 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4499 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4501 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4503 2010-11-05 Glenn Morris <rgm@gnu.org>
4505 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4506 (woman2-roff-buffer): Give local variable `request' a prefix.
4507 (woman0-macro): Rename argument `request' in the same way.
4508 (woman-request): New name for `request' dynamic variable.
4509 (woman-unquote, woman-forward-arg): Update for above name change.
4510 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4511 (woman1-unquote): New name for `unquote' dynamic variable.
4512 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4513 (woman-translations): Rename from `translations'. No longer global.
4514 (woman2-tr, woman-translate): Update for above name change.
4515 (woman-translate): Check for bound variable.
4516 (woman2-roff-buffer): Give local variable `translations' a prefix.
4518 * play/doctor.el: Give all local variables a prefix. Update callers.
4519 (doc$, doctor-put-meaning): Use backquote.
4521 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4522 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4524 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4525 variables bytes, ptr, op a prefix.
4526 (disassemble-offset): Update for above change.
4528 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4530 * emacs-lisp/package.el (package-unpack): Remove no-op.
4531 (package--builtins, package--dir): Doc fix.
4532 (package-activate-1, package-activate, package-install)
4533 (package-compute-transaction): Fix error message.
4534 (package-delete): Use delete-directory. Omit system packages.
4535 (package-initialize): Set package-alist to nil first.
4536 (package-menu-mark-delete, package-menu-mark-install): Don't add
4537 symbols that are inconsistent with the package state.
4538 (package-menu-execute): Perform deletions and installations as
4539 single batch operations.
4541 2010-11-03 Glenn Morris <rgm@gnu.org>
4543 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4544 (props): Remove unnecessary declaration.
4546 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4547 set-process-query-on-exit-flag.
4549 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4550 (reftex-toc-do-promote): Remove unused local `mpos'.
4551 (reftex-toc-restore-region): Make `mpos' local to this function.
4553 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4555 * play/landmark.el (lm-losing-threshold): Correct spelling.
4556 (lm-human-plays): Use new name.
4558 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4559 (gomoku-human-plays): Use new name.
4561 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4562 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4563 (gomoku-score-trans-table, gomoku-winning-threshold)
4564 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4566 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4568 * emacs-lisp/package.el: Don't put built-in packages in
4569 package-alist, to avoid loading inefficiencies.
4570 (package-built-in-p): Make VERSION optional, and treat it as a
4571 minimum acceptable version.
4572 (package-activate): Search separately for built-in packages.
4573 Emit a warning if a dependency fails.
4574 (define-package): Handle most common case, where there is no
4575 obsolete package, first.
4576 (package-compute-transaction): Print required version in error.
4577 (package--initialized): New variable.
4578 (list-packages): Use it.
4579 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4580 built-in packages in packages-alist; keep it separate.
4581 Set package--initialized.
4582 (describe-package): Avoid activating packages as a side-effect.
4583 Search separately for built-in packages.
4584 (describe-package-1): Handle the case where an elpa package is
4585 simultaneously built-in and available/installed.
4586 (package-installed-p, package--generate-package-list):
4587 Search separately for built-in packages.
4588 (package-load-descriptor): Doc fix.
4590 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4592 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4593 Handle __DATA__ and __END__.
4595 2010-11-02 Noah Friedman <friedman@splode.com>
4597 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4598 nil, do not ask to recompile files that are not already compiled,
4599 and do not recompile them.
4601 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4603 * emacs-lisp/package.el (package-initialize): Ensure that
4604 obsoleted built-in packages are not in package-activated-list
4606 (describe-package-1): Make the "installed" status override
4609 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4611 * subr.el (version-separator, version-regexp-alist): Remove '*'
4613 (version-list-<=, version<=, version=): Doc fix.
4615 2010-11-01 Kenichi Handa <handa@m17n.org>
4617 * faces.el (glyphless-char): Inherit underline for tty.
4619 2010-11-01 Kenichi Handa <handa@m17n.org>
4621 Implement various display methods for glyphless characters.
4623 * international/characters.el (char-acronym-table): New variable.
4624 (glyphless-char-control): New variable.
4625 (update-glyphless-char-display): New function.
4627 * faces.el (glyphless-char): New face.
4629 2010-11-01 Glenn Morris <rgm@gnu.org>
4631 * calendar/holidays.el (general-holidays, oriental-holidays)
4632 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4633 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4634 the definitions of their targets.
4636 * emacs-lisp/smie.el (smie): New custom group.
4637 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4639 * faces.el (xw-defined-colors, x-setup-function-keys):
4640 * mouse-sel.el (x-select-text):
4641 * term/w32console.el (x-setup-function-keys): Update declarations.
4643 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4645 * textmodes/ispell.el (comment-add): Declare.
4647 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4650 * info.el (finder-keywords-hash, package-alist): Declare.
4652 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4654 * finder.el (finder-compile-keywords): Don't use intern-soft,
4655 since package names may not yet exist in the obarray.
4657 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4659 * vc/vc-arch.el (vc-arch-checkin):
4660 * vc/vc-cvs.el (vc-cvs-checkin):
4661 * vc/vc-mtn.el (vc-mtn-checkin):
4662 * vc/vc-rcs.el (vc-rcs-checkin):
4663 * vc/vc-sccs.el (vc-sccs-checkin):
4664 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4665 since 2010-04-21 commit by Stefan Monnier.
4667 2010-11-01 Glenn Morris <rgm@gnu.org>
4669 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4671 * startup.el (package-enable-at-startup, package-initialize):
4674 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4677 2010-10-31 Julien Danjou <julien@danjou.info>
4679 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4680 (byte-recompile-directory):
4681 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4682 Use `byte-recompile-file'.
4684 2010-10-31 Glenn Morris <rgm@gnu.org>
4686 * cus-start.el: Handle standard values via a keyword.
4687 Only set version property if specified.
4688 (cursor-in-non-selected-windows, menu-bar-mode)
4689 (tool-bar-mode, show-trailing-whitespace):
4690 Do not specify standard values.
4691 (transient-mark-mode, temporary-file-directory): Use :standard.
4693 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4695 * term/x-win.el (x-get-selection-value): New function that gets
4696 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4698 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4700 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4701 preserve owner and group when editing files. (Bug#7289)
4703 2010-10-31 Glenn Morris <rgm@gnu.org>
4705 * speedbar.el (speedbar-mode):
4706 * play/fortune.el (fortune-in-buffer, fortune):
4707 * play/gomoku.el (gomoku-mode):
4708 * play/landmark.el (lm-mode):
4709 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4710 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4712 * select.el (x-selection): Mark it as an obsolete alias.
4714 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4716 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4717 major-mode (bug#7284).
4719 2010-10-31 Glenn Morris <rgm@gnu.org>
4721 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4722 rather than just an unused variable that inherits from the real one.
4724 2010-10-31 Alan Mackenzie <acm@muc.de>
4726 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4727 This fixes bug #7185.
4729 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
4731 * startup.el (command-line): Search for package directories, and
4732 don't load package.el if none are found.
4734 * emacs-lisp/package.el (describe-package, list-packages):
4735 Call package-initialize if it has not been called yet.
4737 2010-10-30 Alan Mackenzie <acm@muc.de>
4739 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4740 which fontifies the tail of an enum.
4741 (c-basic-matchers-after): Insert a call to the above new function.
4742 This fixes bug #7264.
4744 2010-10-30 Glenn Morris <rgm@gnu.org>
4746 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4747 tool-bar-mode, transient-mark-mode. (Bug#7306)
4748 Include the :set property in the dumped Emacs.
4750 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4752 SMIE: change indent rules format, improve smie-setup.
4753 * emacs-lisp/smie.el (smie-precs-precedence-table)
4754 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4755 Mark them pure so the tables gets built at compile time.
4756 (smie-bnf-precedence-table): Store the closer-alist in the table.
4757 (smie-prec2-levels): Preserve the closer-alist.
4758 (smie-blink-matching-open): Be more forgiving in case of indentation.
4759 (smie-hanging-p): Rename from smie-indent--hanging-p.
4760 (smie-bolp): Rename from smie-indent--bolp.
4761 (smie--parent, smie--after): New dynamic vars.
4762 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4763 (smie-indent-rules): Remove.
4764 (smie-indent--offset-rule): Remove fun.
4765 (smie-rules-function): New var.
4766 (smie-indent--rule): New fun.
4767 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4768 (smie-indent-exps): Use it.
4769 (smie-setup): Setup paren blinking; add keyword args for token
4770 functions; extract closer-alist from op-levels.
4771 (smie-indent-debug-log): Remove var.
4772 (smie-indent-debug): Remove fun.
4773 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4774 (prolog-smie-rules): New fun to replace it.
4775 (prolog-mode-variables): Simplify.
4776 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4777 it's setup automatically.
4778 (octave-smie-indent-rules): Remove.
4779 (octave-smie-rules): New fun to replace it.
4780 (octave-mode): Simplify.
4782 2010-10-29 Glenn Morris <rgm@gnu.org>
4784 * files.el (temporary-file-directory): Remove (already defined in C).
4785 * cus-start.el: Add temporary-file-directory.
4787 * abbrev.el (abbrev-mode):
4788 * composite.el (auto-composition-mode):
4789 * menu-bar.el (menu-bar-mode):
4790 * simple.el (transient-mark-mode):
4791 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4792 that they do not define the associated variables twice.
4793 * simple.el (transient-mark-mode): Remove defvar.
4794 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4795 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4796 Handle multiple groups, and also custom-delayed-init-variables.
4797 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4799 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4801 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4802 (pcase-if): Add one minor optimization.
4803 (pcase-split-equal): Rename from pcase-split-eq.
4804 (pcase-split-member): Rename from pcase-split-memq.
4805 (pcase-u1): Add strings to the member optimization.
4806 Add `guard' variant of predicates.
4807 (pcase-q1): Add string patterns.
4809 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4811 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4813 2010-10-28 Glenn Morris <rgm@gnu.org>
4815 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4816 Move menu-bar related settings to ../menu-bar.el.
4817 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4818 Move ns-specific settings here from term/ns-win.el.
4820 * simple.el (x-selection-owner-p): Remove unused declaration.
4822 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4824 * minibuffer.el (completion-cycling): New var (bug#7266).
4825 (minibuffer-complete, completion--do-completion):
4826 Use completion--flush-all-sorted-completions.
4827 (minibuffer-complete): Only cycle if completion-cycling is set.
4828 (completion--flush-all-sorted-completions): Unset completion-cycling.
4829 (minibuffer-force-complete): Set completion-cycling.
4830 (completion-all-sorted-completions): Move declaration before first use.
4832 2010-10-28 Leo <sdl.web@gmail.com>
4834 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4835 which changes the order of matches seen by users (bug#7231).
4837 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4839 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4840 Don't confuse -omega as "-o mega".
4842 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4844 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4845 (log-edit-author): New dynamic var.
4846 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4847 to return the author if different from committer.
4848 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4850 * play/landmark.el: Adjust commenting convention.
4851 (lm-nil-score): Rename from nil-score.
4852 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4853 (OOOOscore): Move into a let in lm-score-trans-table.
4854 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4856 * electric.el (electric-indent-chars): Autoload.
4857 * progmodes/octave-mod.el (octave-mode):
4858 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4859 (ruby-mode-abbrev-table): Merge initialization and declaration.
4861 2010-10-27 Glenn Morris <rgm@gnu.org>
4863 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4866 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4868 * term/ns-win.el: Restore require of cl when compiling.
4869 (menu-bar-final-items): Remove non-existent `windows' menu.
4870 (ns-handle-nxopen): Optionally handle the temp-case.
4871 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4872 (ns-insert-file, ns-find-file): Use `pop'.
4874 2010-10-26 Glenn Morris <rgm@gnu.org>
4876 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4878 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4880 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4882 * term/common-win.el (x-setup-function-keys): Remove most of the
4883 keymappings. Comment on the remaining ones.
4885 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4887 * server.el (server-port): New option. (Bug#854)
4888 (server-start): Use server-port.
4890 2010-10-26 Glenn Morris <rgm@gnu.org>
4892 * term/ns-win.el (ns-version-string): Remove unused declaration.
4893 (ns-invocation-args): Change to x-invocation-args.
4894 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4895 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4896 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4897 Use x-invocation-args instead of ns-invocation-args.
4898 (ns-initialize-window-system, handle-args-function-alist):
4899 Use x-handle-args instead of ns-handle-args.
4900 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4901 * startup.el (command-line-ns-option-alist): Replace
4902 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4903 ns-handle-iconic with the x- equivalents.
4905 * term/common-win.el (x-select-enable-clipboard):
4906 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4908 * term/ns-win.el: No need to require cl when compiling.
4909 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4910 (xw-defined-colors): Use the common-win definitions.
4911 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4912 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4913 * term/common-win.el (x-select-text, x-alternatives-map)
4914 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4915 * loadup.el [ns]: Load common-win.
4917 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4919 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4920 recipients; expand mail aliases (Bug#7280).
4922 2010-10-25 Glenn Morris <rgm@gnu.org>
4924 * term/common-win.el (x-handle-switch): Simplify with pop.
4925 Optionally handle numeric switches.
4926 (x-handle-numeric-switch): Just call x-handle-switch.
4927 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4928 (x-handle-name-switch, x-handle-display, x-handle-args):
4931 * term/ns-win.el: Do not require easymenu.
4932 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4933 <spell>: Move adjustments to menu-bar.el.
4934 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4935 <separator-undo, spell>: Move ns-win's adjustments here.
4936 * loadup.el [ns]: Do not load easymenu.
4938 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4940 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4943 * startup.el (fancy-startup-tail): Instead of using inline images,
4944 refer to image files from etc/.
4946 * wid-edit.el (checkbox): Likewise.
4947 (widget-image-find): Center image specs.
4949 2010-10-24 Glenn Morris <rgm@gnu.org>
4951 * term/ns-win.el (x-select-text): Doc fix.
4952 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4953 (x-select-text): Move to term/common-win.
4954 * term/w32-win.el (xw-defined-colors): Move to common-win.
4955 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4956 (x-setup-function-keys, x-select-text): Move to common-win.
4957 * term/common-win.el (x-select-text, x-alternatives-map)
4958 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4961 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4963 * net/mairix.el (mairix-searches-mode-map):
4964 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4966 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4968 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
4969 auto-built for efficiency of execution and updating.
4970 (verilog-extended-complete-re): Support 'pure' fucntion & task
4971 declarations (these have no bodies).
4972 (verilog-beg-of-statement): General cleanup to enable support of
4973 'pure' fucntion & task declarations (these have no bodies).
4974 These efforts together fix Verilog bug210 from veripool; which was also
4975 noticed by Steve Pearlmutter.
4976 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4977 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4978 Support `elsif. Reported by Shankar Giri.
4979 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4980 attribute handling for lining up declarations and assignments.
4981 (verilog-beg-of-statement-1): Fix issue where continued declaration
4982 is indented differently if it is after a begin..end clock.
4983 (verilog-in-attribute-p, verilog-skip-backward-comments)
4984 (verilog-skip-forward-comment-p): Support proper treatment of
4985 attributes by indent code. Reported by Jeff Steele.
4986 (verilog-in-directive-p): Fix comment to correctly describe function.
4987 (verilog-backward-up-list, verilog-in-struct-region-p)
4988 (verilog-backward-token, verilog-in-struct-p)
4989 (verilog-in-coverage-p, verilog-do-indent)
4990 (verilog-pretty-declarations): Use verilog-backward-up-list as
4991 wrapper around backward-up-list inorder to properly skip comments.
4992 Reported by David Rogoff.
4993 (verilog-property-re, verilog-endcomment-reason-re)
4994 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4995 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4996 of if). Reported by Max Bjurling and
4997 (verilog-calc-1): Fix for clocking block in modport
4998 declaration. Reported by Brian Hunter.
5000 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5002 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5003 (verilog-gate-keywords, verilog-read-sub-decls)
5004 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5005 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5006 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5007 (verilog-read-decls): Fix spaces in V2K module parameters causing
5008 mis-identification as interfaces, bug287.
5009 (verilog-read-decls): Fix not treating "parameter string" as a
5010 parameter in AUTOINSTPARAM.
5011 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5012 treating `elsif similar to `endif inside AUTOSENSE.
5013 (verilog-do-indent): Implement correct automatic or static task or
5014 function end comment highlight. Reported by Steve Pearlmutter.
5015 (verilog-font-lock-keywords-2): Fix highlighting of single
5016 character pins, bug264. Reported by Michael Laajanen.
5017 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5018 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5019 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5020 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5021 (verilog-pretty-expr): Fix interactive arguments, bug272.
5022 Reported by Mark Johnson.
5023 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5024 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5025 bug269. Suggested by Gary Delp.
5026 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5027 (verilog-preprocessor, verilog-set-compile-command):
5028 Create verilog-preprocess and verilog-preprocessor to show
5029 preprocessed output.
5030 (verilog-get-beg-of-line, verilog-get-end-of-line)
5031 (verilog-modi-file-or-buffer, verilog-modi-name)
5032 (verilog-modi-point, verilog-within-string): Move defmacro's
5033 before first use to avoid warning. Reported by Steve Pearlmutter.
5034 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5035 (verilog-colorize-region, verilog-highlight-buffer)
5036 (verilog-highlight-includes, verilog-highlight-modules)
5037 (verilog-highlight-region, verilog-mode): Rename colorize to
5038 highlight to match other packages. Disable module highlighting,
5039 as received speed complaints, reenable for experimentation only
5040 using new verilog-highlight-modules.
5041 (verilog-read-decls): Fix regexp stack overflow in very large
5042 AUTO_TEMPLATEs, bug250.
5043 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5044 (verilog-scan): Create verilog-save-buffer-state to standardize
5045 making insignificant changes that shouldn't call hooks.
5046 (verilog-save-no-change-functions, verilog-save-scan-cache)
5047 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5048 Create verilog-save-no-change-functions to wrap verilog-scan
5049 preservation, and fix to work with nested preserved calls.
5050 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5051 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5052 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5053 (verilog-submit-bug-report): Update variable list to be complete.
5054 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5055 breaking on-the-fly font-locking.
5056 (verilog-colorize-buffer, verilog-colorize-include-files)
5057 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5058 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5059 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5060 AUTOINST cell instance name, middle mouse button now finds-file on
5061 it. Suggested by Brad Dobbie.
5062 (verilog-alw-get-temps, verilog-auto-reset)
5063 (verilog-auto-sense-sigs, verilog-read-always-signals)
5064 (verilog-read-always-signals-recurse): Fix loop indexes being
5065 AUTORESET. AUTORESET now assumes any variables in the
5066 initialization section of a for() should be ignored.
5067 Reported by Dan Dever.
5068 (verilog-error-font-lock-keywords)
5069 (verilog-error-regexp-emacs-alist)
5070 (verilog-error-regexp-xemacs-alist): Fix error detection of
5071 Cadence HAL, reported by David Asher. Repair drift between the
5072 three similar error variables.
5073 (verilog-modi-lookup, verilog-modi-lookup-cache)
5074 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5075 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5076 Fix slow verilog-auto expansion on very large files.
5077 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5078 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5079 "{1*2{...". Broke in last revision.
5080 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5081 submodule connections with replications "{#{a},#{b}}".
5083 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5085 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5086 Fix typo in docstring.
5088 2010-10-24 Kenichi Handa <handa@m17n.org>
5090 * face-remap.el (text-scale-adjust): Call read-event with a proper
5093 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5095 * emacs-lisp/unsafep.el: Don't mark functions that display
5096 messages as safe. Suggested by Johan Bockgård.
5098 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5100 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5101 Turn comments into docstrings.
5103 * minibuffer.el (completion--replace): Move point where it belongs
5104 when there's a common suffix (bug#7215).
5106 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5108 Merge read-color and facemenu-read-color (Bug#7242).
5110 * faces.el (read-color): Use the completion code from
5111 facemenu-read-color. Require match in completion. Doc fix.
5113 * facemenu.el (facemenu-read-color): Alias for read-color.
5114 (facemenu-set-foreground, facemenu-set-background):
5117 * frame.el (set-background-color, set-foreground-color)
5118 (set-cursor-color, set-mouse-color, set-border-color):
5121 2010-10-24 Leo <sdl.web@gmail.com>
5123 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5124 argument of delete-file and delete-directory (Bug#7011).
5126 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5128 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5131 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5133 * emacs-lisp/package.el (package--generate-package-list): Make the
5134 *Packages* buffer read-only.
5136 2010-10-24 Alan Mackenzie <acm@muc.de>
5138 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5139 result of `c-beginning-of-decl-1' between invocations of a lambda
5140 function (Bug #7265).
5142 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5144 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5145 executable is not available on the system (Bug#7268).
5147 2010-10-24 Glenn Morris <rgm@gnu.org>
5149 * select.el (selection-coding-system, next-selection-coding-system):
5150 Sync doc with C versions.
5152 * w32-vars.el (x-select-enable-clipboard):
5153 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5154 * term/common-win.el (x-select-enable-clipboard): Move here.
5156 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5157 definition of C variable.
5159 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5160 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5161 Don't redefine things that are defined in C.
5162 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5163 (show-trailing-whitespace, auto-hscroll-mode)
5164 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5165 Set up the appropriate custom properties.
5167 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5170 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5171 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5172 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5173 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5175 2010-10-23 Glenn Morris <rgm@gnu.org>
5177 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5180 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5181 Sync docs with C version.
5183 * term/ns-win.el (xw-defined-colors):
5184 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5186 * term/pc-win.el (x-select-enable-clipboard):
5187 * term/x-win.el (x-select-enable-clipboard):
5188 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5190 * comint.el (comint-password-prompt-regexp): Make it less vague.
5193 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5195 * help.el (finder-by-keyword): Remove unnecessary autoload.
5197 2010-10-22 Glenn Morris <rgm@gnu.org>
5199 * loadup.el: Unconditionally load float-sup.
5200 * paren.el (show-paren-delay):
5201 * emacs-lisp/float-sup.el:
5202 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5203 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5204 (lazy-lock-stealth-verbose): Assume float support.
5205 * ps-print.el: Assume float support on Emacs.
5206 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5207 Remove non-float branch.
5209 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5210 src/Makefile no longer being pre-processed.
5212 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5214 * emacs-lisp/find-func.el (find-library): Use test-completion.
5216 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5218 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5220 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5222 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5223 space in stat format string.
5224 (tramp-send-command): Unset $PS1 when using here documents, in
5225 order not to get several prompts.
5226 (tramp-get-inline-coding): Return `nil' in case of errors.
5228 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5230 * hexl.el (hexl-mode, hexl-mode-exit):
5231 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5232 (hexl-revert-buffer-function): New function.
5233 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5235 2010-10-19 Alan Mackenzie <acm@muc.de>
5237 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5238 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5239 that these keywords aren't wrongly matched as identifiers.
5241 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5242 setting of c-new-BEG and c-new-END from c-before-change to
5243 c-after-change. (Bug#7181)
5245 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5247 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5250 * custom.el (custom-theme-set-variables): Likewise.
5251 (load-theme): Add custom-theme-set-faces and
5252 custom-theme-set-variables to safe-functions while loading.
5253 (custom-enabled-themes): Mark as risky.
5255 2010-10-18 Julien Danjou <julien@danjou.info>
5257 * bindings.el: Remove end dashes in default mode-line-format.
5259 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5261 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5262 to delete-forward-char.
5264 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5265 deletechar, and hence delete-forward-char.
5267 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5269 * repeat.el (repeat): Use read-key (bug#6256).
5271 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5273 * emacs-lisp/unsafep.el: Don't mark functions that display
5274 messages as safe. Suggested by Johan Bockgård.
5276 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5278 * minibuffer.el (completion--replace): Move point where it belongs
5279 when there's a common suffix (bug#7215).
5281 2010-10-19 Kenichi Handa <handa@m17n.org>
5283 * international/characters.el: Add category '|' (word breakable)
5284 to fullwidth characters.
5286 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5288 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5289 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5290 order to make stat results a float. Patch by Andreas Schwab
5291 <schwab@linux-m68k.org>.
5293 2010-10-18 Julien Danjou <julien@danjou.info>
5295 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5296 hidden by `make-pointer-invisible'.
5298 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5300 * files.el (locate-file-completion-table): Strip non-matching elements
5301 before checking length of list (bug#7238).
5303 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5305 * custom.el (custom-theme-set-variables): Mark as a safe function.
5306 (load-theme): Check forms using unsafep.
5308 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5310 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5312 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5313 Fix aspell data file searching (bug#7230).
5315 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5317 * cus-theme.el (custom-theme--migrate-settings): New var.
5318 (customize-create-theme): Allow editing the `user' theme.
5319 (custom-theme-add-variable, custom-theme-add-var-1)
5320 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5321 to the front of each variable or face widget.
5322 (custom-theme-write): Save theme settings in the correct order.
5323 Optionally, remove saved settings from user customizations.
5324 (custom-theme-write-variables, custom-theme-write-faces):
5325 Save only the checked widgets.
5326 (customize-themes): Add a link for migrating custom settings.
5328 * custom.el (custom-declare-theme, provide-theme):
5329 Use custom-theme-name-valid-p.
5330 (custom-theme-name-valid-p): Remove checks that are now
5331 unnecessary since themes no longer obey load-path.
5333 * cus-edit.el (custom-variable-value-create): For the simple
5334 style, hide documentation string when hidden.
5336 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5338 * cus-edit.el (custom-variable, custom-face): Combine the
5339 :inhibit-magic and :display-style properties into a single
5340 :custom-style property.
5341 (custom-toggle-hide-variable, custom-toggle-hide-face):
5342 New functions. If hiding an edited value, save it to :shown-value.
5343 (custom-variable-value-create, custom-face-value-create): Use them.
5344 (custom-magic-reset): Allow magic property to be unset.
5346 * custom.el: Custom themes no longer use load-path.
5347 (custom-theme-load-path): New option. Change built-in theme
5349 (custom-enabled-themes): Add custom-theme-load-path dependency.
5350 (custom-theme--load-path): New function.
5351 (load-theme, custom-available-themes): Use it.
5353 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5354 (customize-themes): Link to custom-theme-load-path variable.
5355 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5356 :custom-style property.
5358 * themes/*.el: Moved to etc/.
5360 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5362 * textmodes/reftex-cite.el
5363 (reftex-extract-bib-entries-from-thebibliography): Do not move
5364 point when searching for \bibitem entries. Match entries with
5365 spaces or tabs in front of arguments.
5367 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5369 * cus-theme.el (customize-create-theme): Delete overlays after
5370 erasing. If given a THEME arg, display only the faces of that arg
5371 instead of custom-theme--listed-faces.
5372 (custom-theme-variable-menu, custom-theme-variable-action)
5373 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5374 (custom-theme-add-variable, custom-theme-add-face): Apply value
5375 from the theme settings, instead of the current value.
5376 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5377 (custom-theme-visit-theme): Allow calling outside theme buffers.
5378 (custom-theme-merge-theme): Don't enable the theme when merging.
5379 (custom-theme-write-variables, custom-theme-write-faces): Use the
5380 :shown-value properties to save buffer values, not global ones.
5381 (customize-themes): Display a warning about user customizations.
5383 * cus-edit.el (custom-variable-value-create)
5384 (custom-face-value-create): Obey new special properties
5385 :shown-value and :inhibit-magic.
5387 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5389 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5390 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5393 2010-10-14 Kenichi Handa <handa@m17n.org>
5395 * mail/rmail.el (rmail-show-message-1): Catch an error of
5396 base64-decode-region and just show an error message (bug#7165).
5398 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5399 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5400 a font-spec (bug#7197).
5402 2010-10-14 Glenn Morris <rgm@gnu.org>
5404 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5406 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5408 * international/mule.el (define-coding-system):
5409 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5410 * composite.el (compose-region): Fix typo in docstring.
5412 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5414 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5415 only after checking the theme-face property.
5417 * faces.el (face-spec-reset-face): Reset all attributes in one
5418 single call to set-face-attribute.
5419 (face-spec-match-p): Make it a defsubst.
5420 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5421 (x-create-frame-with-faces, tty-create-frame-with-faces)
5422 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5423 frame-set-background-mode, since they are recomputed immediately
5424 afterwards in face-set-after-frame-default.
5425 (face-set-after-frame-default): Minor optimization.
5426 (cursor): Provide non-trivial defface spec.
5428 * custom.el (custom-theme-recalc-face): Simplify.
5430 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5432 * calc/calc-alg.el (math-var): Rename from `var'.
5433 (math-is-polynomial, math-is-poly-rec): Replace `var'
5436 * calc/calcalg2.el (math-var): Rename from `var'.
5437 (calcFunc-table, math-scan-for-limits): Replace `var'
5440 2010-10-13 Glenn Morris <rgm@gnu.org>
5442 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5444 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5446 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5448 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5450 * net/tls.el (tls-program): Remove spurious %s from openssl.
5451 (tls-starttls-switches): Remove starttls hack.
5452 (open-tls-stream): Ditto.
5453 (tls-find-starttls-argument): Ditto.
5455 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5457 * image.el (image-library-alist): Declare as obsolete alias.
5458 (image-type-available-p): Use `dynamic-library-alist'.
5460 * term/w32-win.el (dynamic-library-alist):
5461 Use instead of `image-library-alist'.
5463 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5465 * subr.el (last): Make it faster. (Bug#7174)
5467 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5469 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5471 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5473 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5474 (describe-theme-1): Extract doc from unloaded themes.
5476 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5478 * themes/tango-theme.el:
5479 * themes/tango-dark-theme.el:
5480 * themes/wheatgrass-theme.el: New files.
5482 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5484 * cus-theme.el (describe-theme, customize-themes)
5485 (custom-theme-save): New commands.
5486 (custom-new-theme-mode-map): Bind C-x C-s.
5487 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5488 (customize-create-theme): New optional arg THEME.
5489 (custom-theme-revert): Use it.
5490 (custom-theme-visit-theme): Remove dead code.
5491 (custom-theme-merge-theme): Use custom-available-themes.
5492 (custom-theme-write): Make interactive.
5493 (custom-theme-write): Use custom-theme-name-valid-p.
5494 (describe-theme-1, custom-theme-choose-revert)
5495 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5497 (custom-theme-allow-multiple-selections): New option.
5498 (custom-theme-choose-mode): New major mode.
5500 * custom.el (custom-theme-set-variables): Remove dead code.
5501 Obey custom--inhibit-theme-enable.
5502 (custom--inhibit-theme-enable): New var.
5503 (provide-theme): Obey it.
5504 (load-theme): Replace load with manual read/eval, in order to
5505 check for correctness. Use custom-theme-name-valid-p.
5506 (custom-theme-name-valid-p): New function.
5507 (custom-available-themes): Use it.
5509 * cus-edit.el (custom--initialize-widget-variables): New function.
5510 (Custom-mode): Use it.
5512 * cus-face.el (custom-theme-set-faces): Remove dead code.
5513 Obey custom--inhibit-theme-enable.
5515 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5517 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5519 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5521 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5523 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5524 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5525 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5527 * cus-start.el (all): ns-right-alternate-modifier is new.
5529 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5531 * emacs-lisp/lisp.el (lisp-completion-at-point):
5532 Use emacs-lisp-mode-syntax-table for the whole function.
5534 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5536 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5537 instead of font-lock-mode before adding keywords.
5538 Remove hi-lock-mode off code. Remove inhibit hack.
5539 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5540 non-nil; removed hook inhibit hack.
5542 2010-10-12 Glenn Morris <rgm@gnu.org>
5544 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5545 (load-path-shadows-find): ... to this.
5546 (list-load-path-shadows): Update for above change.
5548 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5550 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5552 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5553 Fix comment for declare-function.
5555 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5557 * custom.el (custom-fix-face-spec): New function; code moved from
5558 custom-face-edit-fix-value.
5559 (custom-push-theme): Use it when checking if a face has been
5560 changed outside customize.
5561 (custom-available-themes): New function.
5562 (load-theme): Use it.
5564 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5566 * custom.el (custom-push-theme): Cleanup (use cond).
5567 (disable-theme): Recompute the saved-face property.
5568 (custom-theme-recalc-face): Follow face alias before setting prop.
5570 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5571 New variables, containing checkbox images.
5573 * startup.el (fancy-startup-tail):
5574 * wid-edit.el (checkbox): Use them.
5576 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5578 * shell.el (shell-mode-map):
5579 * progmodes/modula2.el (m2-mode-map):
5580 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5581 * play/mpuz.el (mpuz-mode-map):
5582 * play/landmark.el (lm-mode-map):
5583 * play/decipher.el (decipher-mode-map):
5584 * play/5x5.el (5x5-mode-map):
5585 * net/telnet.el (telnet-mode-map):
5586 * net/quickurl.el (quickurl-list-mode-map):
5587 * net/mairix.el (mairix-searches-mode-map):
5588 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5589 * net/dig.el (dig-mode-map):
5590 * mail/mspools.el (mspools-mode-map):
5591 * hexl.el (hexl-mode-map):
5592 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5593 (wordstar-C-o-map, wordstar-C-q-map):
5594 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5595 * emacs-lisp/chart.el (chart-map):
5596 * edmacro.el (edmacro-mode-map):
5597 * erc/erc-list.el (erc-list-menu-mode-map):
5598 * array.el (array-mode-map): Declare and define in one step.
5600 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5602 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5604 * epa.el (epa-passphrase-callback-function): Display filename
5605 passed as the 3rd arg.
5606 * epa-file.el (epa-file-passphrase-callback-function):
5607 Pass filename to epa-passphrase-callback-function.
5609 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5611 * cus-edit.el (custom-face-widget-to-spec)
5612 (custom-face-get-current-spec, custom-face-state): New functions.
5613 (custom-face-set, custom-face-mark-to-save)
5614 (custom-face-value-create, custom-face-state-set): Use them.
5616 * cus-theme.el (custom-theme--listed-faces): New var.
5617 (customize-create-theme): Use *Custom Theme* as the buffer name.
5618 Set revert-buffer-function. Optional arg BUFFER. Insert all
5619 faces listed in custom-theme--listed-faces.
5620 (custom-theme-revert): New function.
5621 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5623 (custom-theme-write): Prompt for theme name if empty.
5624 (custom-theme-write-variables): Use dolist.
5625 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5627 2010-10-09 Alan Mackenzie <acm@muc.de>
5629 Enhance fontification of declarators to take account of the
5630 presence/absence of "typedef".
5632 * cc-engine.el (c-forward-type): New &optional param
5634 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5635 presence of either or both of a "struct"-like keyword and "typedef".
5637 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5638 fontification of declarators which follow a "}".
5639 (c-font-lock-declarations): Fontify declarators according to the
5640 presence/absence of "typedef".
5642 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5644 (c-typedef-decl-key): New lang variable built from
5645 c-typedef-decl-kwds.
5647 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5649 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5650 since that's too annoying. Move the filter groups commands to
5653 * epa.el (epa-passphrase-callback-function): Say what we're
5654 querying the password for.
5656 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5657 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5659 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5661 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5662 (custom-magic-value-create): Pad button tags with spaces.
5663 (custom-face-edit): New variable.
5664 (custom-face-value-create): Determine whether to use the usual
5665 face editor here, instead of using custom-face-selected.
5666 Pass face defaults to custom-face-edit widget.
5667 (custom-face-selected, custom-display-unselected): Delete widgets.
5668 (custom-display-unselected-match): Function removed.
5669 (custom-face-set, custom-face-mark-to-save):
5670 Accept custom-face-edit widgets as the direct widget child.
5672 * wid-edit.el (widget--completing-widget): New var.
5673 (widget-default-complete): Bind it when doing completion.
5674 (widget-string-complete, widget-file-complete): Use it.
5676 2010-10-09 Glenn Morris <rgm@gnu.org>
5678 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5679 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5680 (holiday-hebrew-misc): Small simplifications.
5682 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5684 * net/browse-url.el: Don't require thingatpt, term, dired,
5685 executable, or w3-auto when compiling.
5686 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5688 (browse-url-text-emacs): Require term.
5690 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5692 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5694 2010-10-08 Glenn Morris <rgm@gnu.org>
5696 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5698 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5699 (shadows-compare-text-p): Make it an obsolete alias for...
5700 (load-path-shadows-compare-text): ... new name.
5701 (find-emacs-lisp-shadows): Update for above name change.
5702 (load-path-shadows-same-file-or-nonexistent): New name for the old
5703 shadow-same-file-or-nonexistent.
5705 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5707 * minibuffer.el (completion--some, completion--do-completion)
5708 (minibuffer-complete-and-exit, minibuffer-completion-help)
5709 (completion-basic-try-completion)
5710 (completion-basic-all-completions)
5711 (completion-pcm--find-all-completions): Use lexical-let to
5712 avoid some false matches in variable completion (Bug#7056)
5714 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
5716 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
5718 2010-10-08 Leo <sdl.web@gmail.com>
5720 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5721 return non-nil if the file exists (Bug#7090).
5723 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5725 * minibuffer.el (completion--replace):
5726 Better preserve markers (bug#7138).
5728 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
5730 * server.el (server-process-filter): Doc fix.
5732 2010-10-08 Drew Adams <drew.adams@oracle.com>
5734 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
5736 2010-10-08 Glenn Morris <rgm@gnu.org>
5738 * vc/ediff-wind.el (ediff-setup-control-frame):
5739 * vc/ediff-ptch.el (ediff-default-backup-extension):
5740 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5741 (ediff-exec-process): Remove system-types emx, windows-95.
5743 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
5745 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
5747 * cus-edit.el (custom-variable, custom-face): Doc fix.
5748 (custom-face-edit): Add value-create attribute.
5749 (custom-face-edit-value-create)
5750 (custom-face-edit-value-visibility-action): New functions.
5751 Hide unused face attributes by default, and add a visibility toggle.
5752 (custom-face-edit-deactivate): Show empty values with shadow face.
5753 (custom-face-selected): Only use this for face specs with default
5755 (custom-face-value-create): Cleanup.
5757 * wid-edit.el (widget-checklist-value-create): Use dolist.
5758 (widget-checklist-match-find): Make second arg optional.
5760 2010-10-07 Glenn Morris <rgm@gnu.org>
5762 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5765 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5766 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5767 load-path-shadows-mode, update references.
5768 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5769 Rename variable and button.
5770 (list-load-path-shadows): Update button caller.
5772 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5774 * emacs-lisp/smie.el (smie-bnf-classify): New function.
5775 (smie-bnf-precedence-table): Use it to remember the closers/openers.
5776 (smie-merge-prec2s): Handle those new entries.
5777 (smie-prec2-levels): Only set precedence to nil for actual
5779 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5780 that is now unnecessary.
5782 2010-10-07 Miles Bader <miles@gnu.org>
5784 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5786 2010-10-07 Glenn Morris <rgm@gnu.org>
5788 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5789 (mail-position-on-field): Remove declarations.
5790 (mail-position-on-field): Autoload it.
5791 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5792 and mail-header-end. Don't require sendmail.
5794 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5795 (shadow-mode): New mode.
5796 (shadow-find-file): New button.
5797 (list-load-path-shadows): Use shadow-mode and buttons.
5799 * iimage.el (iimage-version): Remove.
5800 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5801 Turn into defcustoms.
5802 (iimage-mode-map): Give it a doc string.
5804 * calendar/appt.el (appt-activate): Give a warning rather than an error
5805 if there is no diary-file.
5807 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
5809 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5810 Use `tramp-handle-find-backup-file-name'.
5812 2010-10-06 Glenn Morris <rgm@gnu.org>
5814 * font-core.el (font-lock-defaults-alist): Remove variable.
5815 (font-lock-mode): Doc fix.
5816 (font-lock-default-function): Do not consult font-lock-defaults-alist.
5817 * font-lock.el (font-lock-refresh-defaults): Doc fix.
5818 (font-lock-set-defaults): Doc fix.
5819 Do not consult font-lock-defaults-alist.
5821 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5823 * emacs-lisp/cl.el: No longer provide cl-19.
5825 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
5827 * net/tramp.el (tramp-handle-directory-files-and-attributes)
5828 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5829 New defuns, taken from tramp-smb.el.
5830 (tramp-coding-system-change-eol-conversion)
5831 (tramp-set-process-query-on-exit-flag): Remove.
5833 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5834 (tramp-compat-coding-system-change-eol-conversion)
5835 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5838 * net/tramp-gvfs.el:
5839 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5840 by `tramp-compat-set-process-query-on-exit-flag'.
5842 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5843 Use `tramp-handle-directory-files-and-attributes',
5844 `tramp-handle-file-exists-p' and
5845 `tramp-handle-file-newer-than-file-p'.
5846 (tramp-imap-handle-file-exists-p)
5847 (tramp-imap-handle-file-executable-p)
5848 (tramp-imap-handle-file-readable-p)
5849 (tramp-imap-handle-directory-files-and-attributes)
5850 (tramp-imap-handle-file-newer-than-file-p): Remove.
5852 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5853 by `tramp-compat-set-process-query-on-exit-flag' and
5854 `tramp-coding-system-change-eol-conversion' by
5855 `tramp-compat-coding-system-change-eol-conversion'.
5857 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5858 Use `tramp-handle-directory-files-and-attributes',
5859 `tramp-handle-file-exists-p' and
5860 `tramp-handle-file-newer-than-file-p'.
5861 (tramp-smb-handle-directory-files-and-attributes)
5862 (tramp-smb-handle-file-exists-p)
5863 (tramp-smb-handle-file-newer-than-file-p): Remove.
5864 (tramp-smb-maybe-open-connection):
5865 Replace `tramp-set-process-query-on-exit-flag' by
5866 `tramp-compat-set-process-query-on-exit-flag'.
5868 2010-10-05 Glenn Morris <rgm@gnu.org>
5870 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5872 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5874 Continue reorganization of load dependencies. (Bug#7156)
5876 * net/tramp.el (tramp-handle-file-local-copy-hook)
5877 (tramp-delete-temp-file-function): Move down.
5878 (tramp-exists-file-name-handler): Move up.
5879 (tramp-register-file-name-handlers): Simplify autoload.
5880 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5881 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5882 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5883 (tramp-handle-file-name-completion)
5884 (tramp-handle-file-name-directory)
5885 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5886 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5887 (tramp-handle-find-backup-file-name)
5888 (tramp-handle-insert-file-contents, tramp-handle-load)
5889 (tramp-handle-substitute-in-file-name)
5890 (tramp-handle-unhandled-file-name-directory)
5891 (tramp-mode-string-to-int, tramp-local-host-p)
5892 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5894 * net/tramp-gvfs.el (top):
5895 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5897 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5898 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5900 2010-10-04 Glenn Morris <rgm@gnu.org>
5902 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5903 (appt-activate): Give status messages.
5905 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5907 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5908 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5909 `gnutls-negotiate' (formerly `starttls-negotiate').
5910 Remove trivial wrapper `starttls-open-stream'.
5912 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5914 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5915 log-outgoing commands.
5916 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5917 to create a buffer local revert-buffer-function variable.
5918 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5919 revert-buffer-function lambda.
5921 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5923 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5924 `gnutls-boot'. Make TYPE the only required parameter.
5925 Allow TRUSTFILES and KEYFILES to be lists.
5926 (open-ssl-stream): Use it.
5928 2010-10-03 Glenn Morris <rgm@gnu.org>
5930 * subr.el (directory-sep-char): Remove obsolete variable.
5931 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5934 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5935 * vc/vc.el (vc-static-header-alist): Doc fix.
5936 * vc/vc-cvs.el (vc-cvs-header):
5937 * vc/vc-rcs.el (vc-rcs-header):
5938 * vc/vc-sccs.el (vc-sccs-header):
5939 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5940 * obsolete/vc-mcvs.el (vc-mcvs-header):
5941 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5944 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5946 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5947 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5949 2010-10-03 Glenn Morris <rgm@gnu.org>
5951 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5953 * textmodes/rst.el (rst-font-lock-keywords-function):
5956 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5958 * printing.el: Drop Emacs 20 code.
5960 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5961 without having used appt.el already).
5963 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5964 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5965 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5967 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5968 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5970 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5971 (charset-width, find-charset-region, chars-in-region, forward-point)
5972 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5973 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5974 Remove compatibility cruft (none of these are used by ps*.el).
5976 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5978 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5980 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5982 * server.el (server-process-filter, server-return-error):
5983 Give emacsclient time to shut down after receiving an error string.
5985 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5987 * files.el (remote-file-name-inhibit-cache): New defcustom.
5989 * time.el (display-time-file-nonempty-p):
5990 Use `remote-file-name-inhibit-cache'.
5992 * net/tramp.el (tramp-completion-reread-directory-timeout):
5995 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5996 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5997 `remote-file-name-inhibit-cache'. Check also for an integer
5998 value. Add/increase counter when `tramp-verbose' >= 10.
5999 (tramp-set-file-property): Add/increase counter when
6000 `tramp-verbose' >= 10.
6002 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6003 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6004 (tramp-bug): Set tramp-autoload cookie. Report all interned
6005 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6006 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6007 characters only in strings.
6009 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6010 to backward compatibility.
6012 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6013 (tramp-handle-file-name-all-completions)
6014 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6015 (tramp-open-connection-setup-interactive-shell):
6016 Call `tramp-cleanup-connection' directly.
6018 2010-10-02 Glenn Morris <rgm@gnu.org>
6020 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6022 * subr.el (char-bytes): Remove obsolete function.
6024 * isearch.el (isearch-return-char): Remove obsolete function.
6026 * mouse.el: No longer provide mldrag.
6027 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6028 Remove obsolete aliases.
6030 * comint.el (comint-kill-output): Remove obsolete alias.
6032 * composite.el (decompose-composite-char): Remove obsolete function.
6033 * ps-def.el (decompose-composite-char): Remove unused function.
6035 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6037 * outline.el (outline-visible): Remove obsolete function.
6039 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6040 * faces.el (internal-find-face, internal-get-face)
6041 (frame-update-faces, frame-update-face-colors)
6042 (x-frob-font-weight, x-frob-font-slant)
6043 (internal-frob-font-weight, internal-frob-font-slant)
6044 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6045 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6046 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6048 * emulation/viper-util.el (viper-get-face):
6049 * obsolete/lucid.el (find-face, get-face): Use facep.
6050 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6051 Remove unused functions.
6052 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6054 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6055 delete tempfile if interrupted during compilation.
6057 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6059 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6061 (tls-program): Add --insecure to be consistent with the defaults from
6062 openssl s_client. Now all three commands are insecure.
6064 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6066 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6067 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6068 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6070 2010-10-01 Glenn Morris <rgm@gnu.org>
6072 * obsolete/sc.el: Remove file.
6074 * files.el (temporary-file-directory): On darwin, also try
6075 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6077 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6079 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6080 Let's not break compatibility gratuitously, shall we?
6082 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6084 * net/tls.el (tls-starttls-switches): New variable.
6085 (tls-find-starttls-argument): Use it.
6086 (open-tls-stream): Ditto.
6088 * net/netrc.el (netrc-credentials): Return the value of the "default"
6090 (netrc-machine): Ditto.
6092 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6094 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6096 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6098 * server.el (server-start): Don't write pid to the authentication file.
6099 (server-create-tty-frame): Don't send pid.
6100 (server-process-filter): Send pid at the start of every connection.
6102 2010-09-30 Glenn Morris <rgm@gnu.org>
6104 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6105 (show-all-diary-entries): Remove obsolete function aliases.
6107 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6108 Remove options, obsolete since 22.1.
6109 (appt-display-format, appt-display-message):
6110 Remove backwards-compatibility code.
6111 (appt-check): No longer check appt-issue-message.
6112 (appt-make-list): No longer autoload it. Doc fix. No longer
6113 activate the package.
6115 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6117 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6118 (starttls-negotiate): Just call boot, and let the handshake be
6119 triggered from the read loop.
6121 2010-09-29 Glenn Morris <rgm@gnu.org>
6123 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6124 not displaying the diary.
6125 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6126 * calendar/appt.el (appt-check): No longer need to kill diary.
6128 * calendar/diary-lib.el (diary-list-entries): Move the
6129 "Preparing..." message entirely here.
6130 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6131 messages to diary-list-entries.
6132 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6133 diary-display-function.
6135 * calendar/diary-lib.el (diary-include-other-diary-files):
6136 Trap some recursive includes.
6138 * calendar/appt.el (appt-activate): Check diary file.
6140 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6142 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6145 * calendar/time-date.el: No need to require cl for Emacs 21.
6147 2010-09-28 Glenn Morris <rgm@gnu.org>
6149 * calendar/appt.el (appt-check): Minor simplification.
6151 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6153 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6156 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6158 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6159 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6161 2010-09-27 Kenichi Handa <handa@m17n.org>
6163 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6166 2010-09-27 Kenichi Handa <handa@m17n.org>
6168 * international/mule.el (define-coding-system): Docstring fixed.
6170 * international/mule-diag.el (describe-character-set): Use princ
6171 with proper print-length and print-level instead of insert.
6173 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6175 * window.el (walk-windows): Doc fix (bug#7105).
6177 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6179 * emacs-lisp/float-sup.el (e): Remove.
6181 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6183 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6185 (starttls-negotiate): Use it.
6187 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6189 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6192 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6194 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6196 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6198 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6200 * net/netrc.el (netrc-store-data): New function.
6202 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6204 * net/gnutls.el: GnuTLS glue code to set up a connection.
6206 2010-09-25 Julien Danjou <julien@danjou.info>
6208 * notifications.el: Call dbus-register-signal only if it is bound.
6210 2010-09-25 Glenn Morris <rgm@gnu.org>
6212 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6213 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6214 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6215 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6216 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6217 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6218 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6219 * eshell/esh-util.el, eshell/esh-var.el:
6220 Remove leading `*' from docs of faces and defcustoms.
6222 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6224 * eshell/em-ls.el (eshell-ls-archive-regexp):
6225 * eshell/esh-util.el (eshell-tar-regexp):
6226 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6227 * info.el (Info-suffix-list):
6228 * international/mule.el (auto-coding-alist):
6229 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6230 * progmodes/etags.el (tags-compression-info-list):
6231 Support xz compression.
6233 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6235 * files.el (get-free-disk-space): Don't assume the "df" output
6236 columns line up (Bug#6995).
6238 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6240 * finder.el (finder-unknown-keywords):
6241 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6242 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6244 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6246 * server.el (server-start): Revert part of 2010-08-08 change. Using
6247 address 127.0.0.1 for local host is now done in Fmake_network_process.
6249 2010-09-24 Glenn Morris <rgm@gnu.org>
6251 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6252 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6253 * textmodes/css-mode.el, textmodes/dns-mode.el:
6254 Move autoloaded auto-mode-alist entries to files.el.
6255 * files.el (auto-mode-alist): Move entries here.
6257 2010-09-23 Glenn Morris <rgm@gnu.org>
6259 * isearch.el (isearch-lazy-highlight-cleanup)
6260 (isearch-lazy-highlight-initial-delay)
6261 (isearch-lazy-highlight-interval)
6262 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6263 * net/net-utils.el (ipconfig-program-options):
6264 Move aliases to options before the associated definitions.
6266 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6268 * newcomment.el (comment-normalize-vars): Better test validity of
6271 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6273 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6274 (float-e): New name for `e'.
6275 (degrees-to-radians, radians-to-degrees):
6276 * calendar/solar.el (solar-longitude):
6277 * calculator.el (calculator-registers, calculator-funcall):
6278 * textmodes/artist.el (artist-spray-random-points):
6279 * play/bubbles.el (bubbles--initialize-images): Use new names.
6281 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6283 Update to CEDET 1.0's version of EIEIO.
6285 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6287 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6288 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6289 (class-precedence-list): If class is nil, return nil.
6290 (eieio-generic-call): If class of first input arg is nil, don't
6291 look up static methods, and do check for primary methods.
6292 (initialize-instance): See if the default needs to be evaluated
6293 during the constructor.
6294 (eieio-perform-slot-validation-for-default): Don't do the check
6295 for values that will eventually be evaluated.
6296 (eieio-eval-default-p): New function.
6297 (eieio-default-eval-maybe): Use it.
6299 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6301 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6302 method-invocation-order.
6303 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6304 (eieio-class-precedence-dfs): Compute class precedence list using
6306 (eieio-class-precedence-bfs): Compute class precedence list using
6308 (eieio-class-precedence-c3): Compute class precedence list using
6310 (class-precedence-list): New function.
6311 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6312 (inconsistent-class-hierarchy): New error symbol.
6313 (call-next-method): Stow the replacement argument list for future
6314 call-next-method invocations.
6316 2010-09-23 Glenn Morris <rgm@gnu.org>
6318 * calendar/appt.el (appt-check): If not displaying the diary,
6319 use (diary 1) to only get the entries we need.
6320 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6321 that it is in day order. (Bug#7019)
6323 * calendar/appt.el (appt-check): Rather than showing the diary,
6324 just turn off invisible display, and only if needed.
6326 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6328 2010-09-23 Glenn Morris <rgm@gnu.org>
6330 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6331 (byte-compile-defvar, byte-compile-cl-warn):
6332 Start warnings with lower-case, like the majority.
6334 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6336 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6338 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6339 * files.el (auto-mode-alist): Move ld-script entries here, further down
6342 * vc/add-log.el: Don't require timezone when compiling.
6343 (timezone-make-date-sortable): Autoload it.
6344 (change-log-sortable-date-at): Don't require timezone.
6345 Use `ignore-errors'.
6347 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6348 Move alias before definition, so it does not need autoloading.
6350 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6351 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6352 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6353 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6354 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6355 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6356 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6357 * textmodes/tex-mode.el, textmodes/two-column.el:
6358 Remove leading `*' from docs of defcustoms etc.
6360 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6362 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6364 2010-09-22 Dan Christensen <jdc@uwo.ca>
6366 * calendar/time-date.el (date-to-time): Try using parse-time-string
6367 first before using the slower timezone-make-date-arpa-standard.
6369 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6371 * calendar/time-date.el (format-seconds): Comment fix.
6373 2010-09-22 Glenn Morris <rgm@gnu.org>
6375 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6376 is not automatically buffer-local.
6378 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6380 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6381 (smie-indent-comment): Be more careful with comment-start-skip.
6382 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6383 (smie-indent-functions): Use them.
6385 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6387 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6389 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6391 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6392 tool-bar-position. Don't modify frame parameters here.
6393 (menu-bar-options-save): Add tool-bar-position.
6395 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6397 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6399 * textmodes/reftex-parse.el (reftex-what-macro)
6400 (reftex-context-substring): Let-bind forward-sexp-function to nil
6401 since we don't need/want to treat \begin...\end as a block (bug#7053).
6403 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6405 * simple.el (blink-matching-open): Use syntax-class.
6407 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6408 Set invisibility spec for pascal's outline mode.
6409 (pascal-outline-change): Clean up calling convention.
6410 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6412 * progmodes/prolog.el (prolog-smie-forward-token)
6413 (prolog-smie-backward-token): New functions.
6414 (prolog-mode-variables): Use them to parse "!," correctly.
6415 Set up smie-blink-matching for ".".
6417 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6419 (ispell-region, ispell-process-line): Update users.
6421 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6424 * textmodes/ispell.el: Fix commenting convention.
6425 (ispell-parse-output): Simplify, use push.
6426 (ispell-region): Use match-string-no-properties.
6427 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6428 (ispell-minor-mode): Use define-minor-mode.
6429 (ispell-message): Remove unused var `skip-regexp'.
6430 (ispell-add-per-file-word-list): Use dynamic let-binding.
6431 Try and use the proper comment marker.
6433 * mail/sendmail.el: Fix commenting convention.
6434 (sendmail-send-it): Use line-beginning-position.
6436 * help-fns.el (describe-variable): Add original value, if applicable.
6438 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6440 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6442 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6444 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6446 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6447 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6448 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6449 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6450 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6451 something like "." can also be a closer.
6452 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6453 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6454 Rename internal functions to use "--". Update callers.
6456 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6458 * fringe.el (fringe-styles): New var.
6459 (fringe-mode, fringe-query-style): Use it.
6461 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6463 * progmodes/sql.el: Version 2.8
6464 (sql-login-params): Update widget structure; changes still needed.
6465 (sql-product-alist): Add :list-all and :list-table features for
6466 SQLite, Postgres and MySQL products.
6467 (sql-redirect): Handle default value.
6468 (sql-execute, sql-execute-feature): New functions.
6469 (sql-read-table-name): New function.
6470 (sql-list-all, sql-list-table): New functions. User API.
6471 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6472 for above functions.
6473 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6474 for above functions.
6475 (sql-postgres-login-params): Add user and database defaults.
6476 (sql-buffer-live-p): Bug fix.
6477 (sql-product-history): New variable.
6478 (sql-read-product): New function. Use it.
6479 (sql-set-product, sql-product-interactive): Use it.
6480 (sql-connection-history): New variable.
6481 (sql-read-connection): New function. Use it.
6482 (sql-connect): New function.
6483 (sql-for-each-login): Redesign function interface.
6484 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6485 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6486 (sql-comint): Check for program. Existing live buffer.
6487 (sql-comint-postgres): Add port parameter.
6489 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6491 * emacs-lisp/warnings.el: Fix commenting convention.
6492 (display-warning): Use special mode and make the buffer read-only.
6494 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6496 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6497 empty string when it follows a repeated or optional pattern.
6499 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6501 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6502 (indent-region): Use indent-according-to-mode.
6504 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6506 * fringe.el (fringe-mode): Doc fix.
6508 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6510 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6511 refreshing the preview buffer.
6513 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6515 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6516 (latex-syntax-propertize-rules): New consts; replace
6517 tex-font-lock-syntactic-keywords.
6518 (tex-env-mark, latex-env-before-change): New functions.
6519 (latex-electric-env-pair-mode): New minor mode.
6520 (tex-font-lock-verb): Change arguments; do move point.
6521 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6522 representation as a form of comment.
6523 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6524 (doctex-syntax-propertize-rules): New const; replaces
6525 doctex-font-lock-syntactic-keywords.
6526 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6528 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6529 (fortran-make-syntax-propertize-function): New function; replaces
6530 fortran-font-lock-syntactic-keywords.
6531 (fortran-mode): Use it.
6532 (fortran-line-length): Use it. Improve interactive spec.
6534 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6535 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6536 when adding surrounding \(..\).
6538 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6540 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6542 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6543 Use with-current-buffer.
6545 * isearch.el (isearch-face): Rename from `isearch'.
6546 (isearch-highlight): Use new name.
6548 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6550 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6551 5, for `half' width fringes. (Bug#6933)
6553 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6555 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6556 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6558 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6560 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6562 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6563 in calculating new frame position. Add more space between new and
6564 parent on the left (Bug#7048).
6566 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6568 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6571 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6573 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6575 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6576 obsolete alias for x-selection-value.
6578 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6580 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6582 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6585 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6587 * net/tramp-compat.el (tramp-compat-with-temp-message)
6588 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6589 (tramp-compat-process-put): New defuns.
6591 * net/tramp.el (top):
6592 * net/tramp-gvfs.el (top):
6593 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6595 * net/tramp.el (tramp-progress-reporter-update):
6596 Use `tramp-compat-funcall'.
6598 * net/tramp.el (tramp-process-actions):
6599 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6600 * net/tramp-sh.el (tramp-handle-vc-registered)
6601 (tramp-get-remote-stat, tramp-get-remote-readlink):
6602 Use `tramp-compat-with-temp-message'.
6604 * net/tramp-sh.el (top): Require 'cl.
6605 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6606 (tramp-open-connection-setup-interactive-shell):
6607 Use `tramp-compat-process-put'.
6609 2010-09-15 Alan Mackenzie <acm@muc.de>
6611 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6613 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6615 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6617 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6618 `lexical' for warnings related to lexical scoping.
6619 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6620 global vars which don't have a prefix and could hence affect lexical
6621 scoping in unrelated files.
6623 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6625 * net/imap.el: Revert back to version
6626 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6629 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6631 * obsolete/old-whitespace.el (whitespace-unload-function):
6632 Explicitly pass `obarray' to `unintern' to avoid a warning.
6634 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6636 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6637 Add `when' argument. Update callers.
6639 * subr.el (unintern): Declare the obarray arg mandatory.
6641 2010-09-14 Glenn Morris <rgm@gnu.org>
6643 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6646 * calendar/diary-lib.el (diary-included-files): New variable.
6647 (diary-list-entries): Maybe initialize diary-included-files.
6648 (diary-include-other-diary-files): Append to diary-included-files.
6649 * calendar/appt.el (appt-update-list): Also check the members of
6650 diary-included-files. (Bug#6999)
6651 (appt-check): Doc fix.
6653 2010-09-14 David Reitter <david.reitter@gmail.com>
6655 * simple.el (line-move-visual): Do not truncate goal column to
6656 integer size. (Bug#7020)
6658 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6660 * repeat.el (repeat): Allow repeating when the last event is a click.
6661 Suggested by Drew Adams (bug#6256).
6663 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6665 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6666 Replace setting HGRCPATH to "" by some less invasive --config options.
6668 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6670 * font-lock.el (font-lock-beginning-of-syntax-function):
6673 2010-09-14 Glenn Morris <rgm@gnu.org>
6675 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6676 and tool-bar modes. (Bug#6211)
6677 (menu-bar-mode): Move setting of standard-value after the
6678 minor-mode definition, otherwise it seems to have no effect.
6680 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6682 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6683 Fix typo. (Bug#6976)
6685 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6687 * whitespace.el: Allow cleaning up blanks without blank
6688 visualization (Bug#6651). Adjust help window for
6689 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6690 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6691 (whitespace-style): Add new value 'face. Adjust docstring.
6692 (whitespace-space, whitespace-hspace, whitespace-tab):
6693 Adjust foreground property face.
6694 (whitespace-line-column): Adjust docstring and type declaration.
6695 (whitespace-style-value-list, whitespace-toggle-option-alist)
6696 (whitespace-help-text): Adjust const initialization.
6697 (whitespace-toggle-options, global-whitespace-toggle-options):
6699 (whitespace-display-window, whitespace-interactive-char)
6700 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6701 (whitespace-help-scroll): New fun.
6703 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6705 * calendar/time-date.el (format-seconds): Comment fix.
6707 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
6709 * progmodes/sql.el: Version 2.7.
6710 (sql-buffer-live-p): Improve detection.
6711 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6712 (sql-set-sqli-buffer): Use it.
6713 (sql-product-interactive): Run `sql-set-sqli-hook'.
6714 (sql-rename-buffer): Code cleanup.
6715 (sql-redirect, sql-redirect-value): New functions. More to come.
6717 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
6719 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.
6720 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6721 (TRAMP_SRC): New macro.
6722 ($(lisp)/net/tramp-loaddefs.el): New target.
6724 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
6726 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
6728 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
6730 * net/tramp.el (top): Don't show loading message. Require just
6731 'tramp-compat, everything else is required there.
6732 Use `ignore-errors' where appropriate.
6733 (tramp-inline-compress-start-size, tramp-copy-size-limit)
6734 (tramp-terminal-type, tramp-end-of-output)
6735 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6736 (tramp-completion-function-alist-ssh)
6737 (tramp-completion-function-alist-telnet)
6738 (tramp-completion-function-alist-su)
6739 (tramp-completion-function-alist-putty, tramp-remote-path)
6740 (tramp-remote-process-environment, tramp-sh-extra-args)
6741 (tramp-actions-before-shell, tramp-uudecode)
6742 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6743 (tramp-perl-file-attributes)
6744 (tramp-perl-directory-files-and-attributes)
6745 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6746 (tramp-perl-encode, tramp-perl-decode)
6747 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6748 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6749 (tramp-handle-make-symbolic-link, tramp-handle-load)
6750 (tramp-handle-file-name-as-directory)
6751 (tramp-handle-file-name-directory)
6752 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6753 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6754 (tramp-do-file-attributes-with-ls)
6755 (tramp-do-file-attributes-with-perl)
6756 (tramp-do-file-attributes-with-stat)
6757 (tramp-handle-set-visited-file-modtime)
6758 (tramp-handle-verify-visited-file-modtime)
6759 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6760 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6761 (tramp-handle-file-selinux-context)
6762 (tramp-handle-set-file-selinux-context)
6763 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6764 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6765 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6766 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6767 (tramp-handle-file-ownership-preserved-p)
6768 (tramp-handle-directory-file-name, tramp-handle-directory-files)
6769 (tramp-handle-directory-files-and-attributes)
6770 (tramp-do-directory-files-and-attributes-with-perl)
6771 (tramp-do-directory-files-and-attributes-with-stat)
6772 (tramp-handle-file-name-all-completions)
6773 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6774 (tramp-handle-copy-file, tramp-handle-copy-directory)
6775 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6776 (tramp-do-copy-or-rename-file-via-buffer)
6777 (tramp-do-copy-or-rename-file-directly)
6778 (tramp-do-copy-or-rename-file-out-of-band)
6779 (tramp-handle-make-directory, tramp-handle-delete-directory)
6780 (tramp-handle-delete-file)
6781 (tramp-handle-dired-recursive-delete-directory)
6782 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6783 (tramp-handle-insert-directory)
6784 (tramp-handle-unhandled-file-name-directory)
6785 (tramp-handle-expand-file-name)
6786 (tramp-handle-substitute-in-file-name)
6787 (tramp-handle-executable-find, tramp-process-sentinel)
6788 (tramp-handle-start-file-process, tramp-handle-process-file)
6789 (tramp-handle-call-process-region, tramp-handle-shell-command)
6790 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6791 (tramp-handle-insert-file-contents)
6792 (tramp-handle-insert-file-contents-literally)
6793 (tramp-handle-find-backup-file-name)
6794 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6795 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6796 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6797 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6798 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6799 (tramp-find-file-exists-command, tramp-open-shell)
6800 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6801 (tramp-open-connection-setup-interactive-shell)
6802 (tramp-local-coding-commands, tramp-remote-coding-commands)
6803 (tramp-find-inline-encoding, tramp-call-local-coding-command)
6804 (tramp-inline-compress-commands, tramp-find-inline-compress)
6805 (tramp-compute-multi-hops, tramp-maybe-open-connection)
6806 (tramp-send-command, tramp-wait-for-output)
6807 (tramp-send-command-and-check, tramp-barf-unless-okay)
6808 (tramp-send-command-and-read, tramp-mode-string-to-int)
6809 (tramp-convert-file-attributes, tramp-check-cached-permissions)
6810 (tramp-file-mode-from-int, tramp-file-mode-permissions)
6811 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6812 (tramp-method-out-of-band-p, tramp-local-host-p)
6813 (tramp-get-remote-path, tramp-get-remote-tmpdir)
6814 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6815 (tramp-get-test-command, tramp-get-test-nt-command)
6816 (tramp-get-file-exists-command, tramp-get-remote-ln)
6817 (tramp-get-remote-perl, tramp-get-remote-stat)
6818 (tramp-get-remote-readlink, tramp-get-remote-trash)
6819 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6820 (tramp-get-local-uid, tramp-get-local-gid)
6821 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6823 (tramp-methods, tramp-default-method-alist)
6824 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6825 Move initialization to tramp-sh.el.
6826 (tramp-temp-name-prefix): Make it a defconst.
6827 (tramp-dissect-file-name): Don't check anymore for multi-hop
6829 (tramp-debug-outline-regexp): Add a docstring.
6830 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6831 (tramp-get-debug-buffer): Use it.
6833 * net/tramp-cache.el (top): Set tramp-autoload cookie for
6834 initialization forms.
6835 (tramp-set-connection-property): Don't protect `tramp-message'
6836 call, it isn't necessary any longer.
6837 (tramp-dump-connection-properties): Use `ignore-errors'.
6839 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6840 'password-cache and 'auth-source.
6842 * net/tramp-gvfs.el (top):
6843 * net/tramp-smb.el (top): Require 'tramp-sh.
6845 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6847 * net/tramp-sh.el: New file, derived from tramp.el.
6848 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6849 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6850 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6851 Use `ignore-errors' where appropriate.
6852 (tramp-sh-file-name-handler-alist): Rename from
6853 `tramp-file-name-handler-alist'.
6854 (tramp-send-command-and-check): Return t or nil. Remove all
6855 `zerop' checks, where called.
6856 (tramp-handle-set-file-modes)
6857 (tramp-do-copy-or-rename-file-directly)
6858 (tramp-handle-delete-directory, tramp-handle-delete-file)
6859 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6860 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6861 (tramp-get-remote-ln): Set tramp-autoload cookie.
6863 * net/tramp-fish.el: Remove file.
6865 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6867 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6868 buffer-file-name to avoid file-locking. (Bug#7026)
6870 2010-09-13 Julien Danjou <julien@danjou.info>
6872 * notifications.el (notifications-notify): Add support for
6873 image-path and sound-name.
6874 (notifications-specification-version): Add this variable.
6876 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6878 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6880 2010-09-12 Leo <sdl.web@gmail.com>
6882 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6883 (rcirc-completion-start): New variables.
6884 (rcirc-nick-completions): Rename to rcirc-completions.
6885 (rcirc-nick-completion-start-offset): Delete.
6886 (rcirc-completion-at-point): New function for constructing
6887 completion data for both nicks and irc commands. Add to
6888 completion-at-point-functions in rcirc mode.
6889 (rcirc-complete): Rename from rcirc-nick-complete; use
6890 rcirc-completion-at-point.
6891 (defun-rcirc-command): Update rcirc-client-commands.
6893 2010-09-11 Glenn Morris <rgm@gnu.org>
6895 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6896 atomically, to avoid parallel build errors. (Bug#4196)
6898 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6900 * progmodes/sql.el: Version 2.6
6901 (sql-dialect): Synonym for "sql-product".
6902 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6903 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6904 Set "sql-buffer" to buffer name not buffer object so multiple sql
6905 interactive buffers work properly. Reverts misguided changes in
6907 (sql-comint): Make sure different buffer name is used if "*SQL*"
6908 buffer is for a different product.
6909 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6911 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6912 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6913 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6914 Accept new buffer name or prompt for one.
6915 (sql-port): Default to zero.
6916 (sql-comint-mysql): Handle "sql-port" as a numeric.
6917 (sql-port-history): Delete unused variable.
6918 (sql-get-login): Default "sql-port" to a number.
6919 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6920 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6921 "sqlite3" executables.
6922 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6923 (sql-buffer-live-p): New function.
6924 (sql-mode-menu, sql-send-string): Use it.
6925 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6927 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6928 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6930 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6932 * net/netrc.el (netrc-credentials): New convenience function.
6934 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6936 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6937 to replace texinfo-font-lock-syntactic-keywords.
6938 (texinfo-mode): Use it.
6940 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6941 Use syntax-propertize-function.
6943 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6944 replace sgml-font-lock-syntactic-keywords.
6945 (sgml-mode): Use it.
6947 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6948 since we don't use it.
6950 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6952 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6954 (vhdl-fontify-buffer): Adjust.
6956 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6957 replace tcl-font-lock-syntactic-keywords.
6960 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6961 replace simula-font-lock-syntactic-keywords.
6962 (simula-mode): Use it.
6964 * progmodes/sh-script.el (sh-st-symbol): Remove.
6965 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6966 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6967 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6968 (sh-font-lock-paren): Set syntax-multiline.
6969 (sh-font-lock-syntactic-keywords): Remove.
6970 (sh-syntax-propertize-function): New function to replace it.
6973 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6974 Define while compiling.
6975 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6976 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6977 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6978 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6979 (ruby-here-doc-end-syntax): Only define when
6980 syntax-propertize is not available.
6981 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6983 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6984 (electric-indent-chars): Silence bytecompiler.
6985 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6986 electric-indent-chars.
6988 * progmodes/python.el (python-syntax-propertize-function): New var to
6989 replace python-font-lock-syntactic-keywords.
6990 (python-mode): Use it.
6991 (python-quote-syntax): Simplify and adjust to new use.
6993 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6994 replace perl-font-lock-syntactic-keywords.
6995 (perl-syntax-propertize-special-constructs): New fun to replace
6996 perl-font-lock-special-syntactic-constructs.
6997 (perl-font-lock-syntactic-face-function): New fun.
6998 (perl-mode): Use it.
7000 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7001 to replace octave-font-lock-close-quotes.
7002 (octave-syntax-propertize-function): New function to replace
7003 octave-font-lock-syntactic-keywords.
7004 (octave-mode): Use it.
7006 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7007 replaces mixal-font-lock-syntactic-keywords.
7008 (mixal-mode): Use it.
7010 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7011 New var; replaces makefile-font-lock-syntactic-keywords.
7012 (makefile-mode): Use it.
7013 (makefile-imake-mode): Adjust.
7015 * progmodes/js.el (js--regexp-literal): Define while compiling.
7016 (js-syntax-propertize-function): New var; replaces
7017 js-font-lock-syntactic-keywords.
7020 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7021 replaces gdb-script-font-lock-syntactic-keywords.
7022 (gdb-script-mode): Use it.
7024 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7025 (fortran--font-lock-syntactic-keywords): New var.
7026 (fortran-line-length): Update syntax-propertize-function and
7027 fortran--font-lock-syntactic-keywords.
7029 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7031 * progmodes/cfengine.el (cfengine-mode):
7032 Use syntax-propertize-function.
7033 (cfengine-font-lock-syntactic-keywords): Remove.
7035 * progmodes/autoconf.el (autoconf-mode):
7036 Use syntax-propertize-function.
7037 (autoconf-font-lock-syntactic-keywords): Remove.
7039 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7040 (ada-after-change-function, ada-initialize-syntax-table-properties)
7041 (ada-handle-syntax-table-properties): Only define when
7042 syntax-propertize is not available.
7043 (ada-mode): Use syntax-propertize-function.
7045 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7046 (font-lock-fontify-syntactic-keywords-region): Move handling of
7047 font-lock-syntactically-fontified to...
7048 (font-lock-default-fontify-region): ...here.
7049 Let syntax-propertize-function take precedence.
7050 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7052 * emacs-lisp/syntax.el (syntax-propertize-function)
7053 (syntax-propertize-chunk-size, syntax-propertize--done)
7054 (syntax-propertize-extend-region-functions): New vars.
7055 (syntax-propertize-wholelines, syntax-propertize-multiline)
7056 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7057 (syntax-propertize): New functions.
7058 (syntax-propertize-rules): New macro.
7059 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7060 (syntax-ppss): Call syntax-propertize.
7062 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7064 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7066 * textmodes/ispell.el (ispell-init-process): Improve comments.
7067 XEmacs compatibility changes regarding (add-hook) 'local option
7068 and (set-process-query-on-exit-flag).
7070 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7072 * net/tramp-cache.el (tramp-parse-connection-properties):
7073 Set tramp-autoload cookie.
7075 2010-09-09 Glenn Morris <rgm@gnu.org>
7077 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7078 (imagemagick-register-types): Doc fix.
7080 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7082 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7084 * progmodes/js.el (require): Require is already "eval-and-compile".
7085 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7086 (js--re-search-backward): Use js--re-search-forward.
7088 * progmodes/fortran.el (fortran-line-length): Don't recompute
7089 syntactic keywords redundantly a second time.
7091 * progmodes/ada-mode.el: Replace "(set '" with setq.
7092 (ada-mode): Simplify.
7093 (ada-create-case-exception, ada-adjust-case-interactive)
7094 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7095 (ada-search-ignore-string-comment, ada-move-to-start)
7096 (ada-move-to-end): Use with-syntax-table.
7098 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7099 (font-lock-unfontify-region, font-lock-default-fontify-region):
7100 Update usage correspondingly.
7101 (font-lock-fontify-syntactic-keywords-region):
7102 Set parse-sexp-lookup-properties buffer-locally here.
7103 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7105 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7107 2010-09-08 Glenn Morris <rgm@gnu.org>
7109 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7110 Error if not compiled with -DBYTE_CODE_METER.
7112 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7113 Ignore dir-locals-file.
7115 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7117 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7119 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7120 for the `gnu' messages.
7121 (compilation-set-skip-threshold): New command.
7122 (compilation-start): Use \' rather than $.
7123 (compilation-forget-errors): Use clrhash.
7125 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7127 * textmodes/ispell.el (ispell-valid-dictionary-list):
7130 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7132 Migrate to Tramp 2.2. Rearrange load dependencies.
7133 (Bug#1529, Bug#5448, Bug#5705)
7135 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7136 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7137 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7139 * net/tramp.el (top): Remove all other tramp-* loads except
7140 tramp-compat.el. Remove all changes to tramp-unload-hook for
7141 other tramp-* packages. Rearrange defun order. Change calls of
7142 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7143 `tramp-compat-octal-to-decimal' to new function names.
7144 (tramp-terminal-type, tramp-initial-end-of-output)
7145 (tramp-methods, tramp-foreign-file-name-handler-alist)
7146 (tramp-tramp-file-p, tramp-completion-mode-p)
7147 (tramp-send-command-and-check, tramp-get-remote-path)
7148 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7149 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7150 (with-file-property, with-connection-property): Move to
7152 (tramp-local-call-process, tramp-decimal-to-octal)
7153 (tramp-octal-to-decimal): Move to tramp-compat.el.
7154 (tramp-handle-shell-command): Do not require 'shell.
7155 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7157 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7159 * net/tramp-cache.el (top): Require 'tramp. Add to
7160 `tramp-unload-hook'.
7161 (tramp-cache-data, tramp-get-file-property)
7162 (tramp-set-file-property, tramp-flush-file-property)
7163 (tramp-flush-directory-property, tramp-get-connection-property)
7164 (tramp-set-connection-property, tramp-flush-connection-property)
7165 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7167 (with-file-property, with-connection-property): New defuns, moved
7169 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7172 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7173 (tramp-version): Set tramp-autoload cookie.
7175 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7176 changes to tramp-unload-hook for other tramp-* packages. Add to
7177 `tramp-unload-hook'.
7178 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7179 (tramp-compat-call-process): New defuns, moved from tramp.el.
7181 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7182 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7183 Add to `tramp-unload-hook'. Change call of
7184 `tramp-compat-decimal-to-octal' to new function name.
7185 (tramp-fish-method): Make it a defconst.
7186 (tramp-fish-file-name-p): Make it a defsubst.
7187 (tramp-fish-method, tramp-fish-file-name-handler)
7188 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7190 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7191 `tramp-foreign-file-name-handler-alist'. Add to
7192 `tramp-unload-hook'.
7193 (tramp-ftp-method): Make it a defconst.
7194 (tramp-ftp-file-name-p): Make it a defsubst.
7195 (tramp-ftp-method, tramp-ftp-file-name-handler)
7196 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7198 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7199 `tramp-foreign-file-name-handler-alist'. Add to
7200 `tramp-unload-hook'. Change checks, whether package can be
7202 (tramp-gvfs-file-name-p): Make it a defsubst.
7203 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7204 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7205 (tramp-gvfs-handle-file-directory-p): New defun.
7206 (tramp-gvfs-file-name-handler-alist): Use it.
7208 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7209 `tramp-foreign-file-name-handler-alist'. Add to
7210 `tramp-unload-hook'.
7211 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7212 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7214 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7215 (tramp-gw-open-connection): Set tramp-autoload cookie.
7217 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7218 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7219 Add to `tramp-unload-hook'. Change checks, whether package can be
7221 (tramp-imap-file-name-p): Make it a defsubst.
7222 (tramp-imap-method, tramp-imaps-method)
7223 (tramp-imap-file-name-handler)
7224 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7226 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7227 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7228 Add to `tramp-unload-hook'. Change checks, whether package can be
7229 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7231 (tramp-smb-tunnel-method): Make it a defconst.
7232 (tramp-smb-file-name-p): Make it a defsubst.
7233 (tramp-smb-method, tramp-smb-file-name-handler)
7234 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7236 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7237 (tramp-uuencode-region): Set tramp-autoload cookie.
7239 * net/trampver.el (top) Add to `tramp-unload-hook'.
7240 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7241 cookie. Update release number.
7243 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7245 * textmodes/ispell.el (ispell-start-process): Make sure original
7246 arg list is properly initialized (Bug#6993, Bug#6994).
7248 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7250 * files.el (directory-abbrev-alist): Use \` as default regexp.
7252 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7253 chars like - or ] (bug#6984).
7254 (rx-any-condense-range): Explode 2-char ranges.
7256 2010-09-06 Glenn Morris <rgm@gnu.org>
7258 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7260 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7262 * textmodes/bibtex.el:
7263 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7265 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7267 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7268 since no callers use it.
7269 (imap-message-get): Ditto.
7270 (imap-message-put): Ditto.
7271 (imap-mailbox-map): Ditto.
7272 (imap-mailbox-put): Ditto.
7273 (imap-mailbox-get): Ditto.
7274 (imap-mailbox-get): Revert last change for this function.
7276 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7278 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7279 callers to use `imap-fetch' instead. According to the comments, this
7280 should be safe, since all other IMAP clients use the 1:* syntax.
7281 (imap-enable-exchange-bug-workaround): Remove.
7282 (imap-debug): Remove -- doesn't seem very useful.
7284 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7286 * net/imap.el (imap-log): New convenience function used throughout
7287 instead of repeating the same code all over the place.
7289 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7291 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7292 when mouse-drag-copy-region is non-nil (Bug#6956).
7294 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7296 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7297 Improve regexps (Bug#6987).
7298 (dired-sort-toggle): Search more robustly for -t flag.
7300 * files.el (get-free-disk-space): Search more robustly for
7301 "available" column. Suggested by Ehud Karni
7302 <ehud@unix.mvs.co.il>.
7304 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7306 * international/uni-bidi.el:
7307 * international/uni-category.el:
7308 * international/uni-combining.el:
7309 * international/uni-decimal.el:
7310 * international/uni-mirrored.el:
7311 * international/uni-name.el: Regenerate.
7313 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7315 * electric.el (electric-indent-post-self-insert-function):
7316 Don't reindent with a sloppy indentation function.
7318 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7319 border case in change-log-mode.
7321 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7323 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7324 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7325 Recognize leading tab in gcc-include regexp. Ignore names with
7326 leading "from" or "in" in gnu regexp (Bug#6937).
7328 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7330 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7331 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7332 (ispell-start-process): Avoid setq and simplify logic.
7333 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7334 (kill-buffer-hook): Don't use it globally with code that uses
7335 expand-file-name since that may call kill-buffer via
7336 code_conversion_restore.
7338 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7340 * emacs-lisp/package.el (package-directory-list): Only call
7341 file-name-nondirectory on a string.
7343 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7345 * emacs-lisp/package.el (package--download-one-archive):
7346 Ensure that archive-contents is valid before saving it.
7347 (package-activate-1, package-mark-obsolete, define-package)
7348 (package-compute-transaction, package-list-maybe-add): Use push.
7350 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7352 Use SMIE's blink-paren for octave-mode.
7353 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7354 Backslashes do not escape single-quotes, single-quotes do.
7355 (octave-block-else-regexp, octave-block-end-regexp)
7356 (octave-block-match-alist): Remove.
7357 (octave-smie-bnf-table): New var, with old content.
7358 (octave-smie-op-levels): Use it.
7359 (octave-smie-closer-alist): New var.
7360 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7361 (octave-blink-matching-block-open): Remove.
7362 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7363 (octave-electric-space): Let self-insert-command run expand-abbrev and
7366 * electric.el (electricity): New group.
7367 (electric-indent-chars): New var.
7368 (electric-indent-post-self-insert-function): New fun.
7369 (electric-indent-mode): New minor mode.
7370 (electric-pair-skip-self): New custom.
7371 (electric-pair-post-self-insert-function): New function.
7372 (electric-pair-mode): New minor mode.
7374 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7375 calcAlg-blink-matching-open.
7376 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7377 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7378 Use the new blink-matching-check-function.
7380 Provide blink-matching support to SMIE.
7381 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7382 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7383 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7385 * simple.el (newline): Fix last change to properly remove itself from
7388 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7390 * simple.el (newline): Eliminate optimization.
7391 Use post-self-insert-hook to set hard-newline and things before
7392 running post-self-insert-hook.
7393 (blink-matching-check-mismatch): New function.
7394 (blink-matching-check-function): New variable.
7395 (blink-matching-open): Use them.
7396 Skip back forward over prefix chars skipped by forward-sexp.
7397 Don't check if the parens are backslash escaped.
7398 (blink-paren-post-self-insert-function): Check backslash escaping here.
7400 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7402 * emacs-lisp/package.el (package-menu-mode-map):
7403 Change package-menu-revert bindings to revert-buffer.
7404 (package-menu-mode): Set revert-buffer-function.
7405 (package-menu-revert): Doc fix.
7407 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7409 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7410 `default-directory' unless using Ispell per-directory personal
7411 dictionaries and not in a mini-buffer under XEmacs.
7412 (kill-buffer-hook): Do not kill ispell process on exit when
7413 `ispell-process-directory' is "~/". (Bug#6143)
7415 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7417 * simple.el (kill-new): Call interprogram-cut-function with only
7420 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7421 Remove cut buffer from error message.
7423 * term/x-win.el (x-select-text):
7424 * term/pc-win.el (x-selection-value):
7425 * term/ns-win.el (x-selection-value):
7426 * eshell/em-term.el:
7427 * w32-fns.el (x-get-selection-value):
7428 * mouse-sel.el (mouse-sel-set-selection-function):
7429 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7431 * term/x-win.el: Update documentation for x-last-selected-text-*.
7432 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7433 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7434 (x-select-text): Remove argument PUSH, update documentation.
7435 Remove cut-buffer code.
7436 (x-selection-value-internal): Was previously x-selection-value.
7437 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7438 Update documentation, remove cut-buffer code.
7439 Call x-selection-value-internal.
7440 (x-clipboard-yank): Call x-selection-value-internal.
7441 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7443 * term/pc-win.el (x-last-selected-text):
7444 x-cut-buffer-or-selection-value renamed to x-selection-value
7445 (x-select-text): Remove argument PUSH, update documentation.
7447 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7448 x-cut-buffer-or-selection-value renamed to x-selection-value
7449 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7450 (x-select-text): Remove argument PUSH, update documentation.
7452 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7454 * w32-fns.el (x-last-selected-text):
7455 x-cut-buffer-or-selection-value renamed to x-selection-value.
7456 (x-cut-buffer-max): Remove.
7457 (x-select-text): Remove argument PUSH, update documentation.
7459 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7461 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7463 * mouse-sel.el (mouse-sel-get-selection-function):
7464 x-cut-buffer-or-selection-value renamed to x-selection-value.
7465 (x-select-text): Remove optional push.
7467 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7469 * simple.el (blink-paren-function): Move from C to here.
7470 (blink-paren-post-self-insert-function): New function.
7471 (post-self-insert-hook): Use it.
7473 * emacs-lisp/pcase.el (pcase-split-memq):
7474 Fix overenthusiastic optimisation.
7475 (pcase-u1): Handle the case of a lambda pred.
7477 2010-08-31 Kenichi Handa <handa@m17n.org>
7479 * international/mule-cmds.el (standard-display-european-internal):
7480 Setup standard-display-table for 8-bit characters by storing 8-bit
7481 characters in the element vector.
7483 * disp-table.el (standard-display-8bit):
7484 Setup standard-display-table for 8-bit characters by storing 8-bit
7485 characters in the element vector.
7486 (standard-display-european): Likewise.
7488 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7490 * textmodes/nroff-mode.el (nroff-view): New command.
7491 (nroff-mode-map): Bind it to C-c C-c.
7493 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7495 * emacs-lisp/smie.el (smie-down-list): New command.
7497 Remove old indentation and navigation code on octave-mode.
7498 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7499 smie-down-list rather than add a binding for octave-down-block.
7500 (octave-mark-block, octave-blink-matching-block-open):
7501 Rely on forward-sexp-function.
7502 (octave-fill-paragraph): Don't narrow, so you can use
7503 indent-according-to-mode.
7504 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7505 (octave-in-block-p, octave-re-search-forward-kw)
7506 (octave-re-search-backward-kw, octave-indent-calculate)
7507 (octave-end-as-array-index-p, octave-block-end-offset)
7508 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7509 (octave-down-block, octave-backward-up-block, octave-up-block)
7510 (octave-before-magic-comment-p, octave-indent-line): Remove.
7512 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7514 * emacs-lisp/package.el (package--read-archive-file): Just use
7515 `read', to avoid copying an additional string.
7516 (package-menu-mode): Set header-line-format here.
7517 (package-menu-refresh, package-menu-revert): Signal an error if
7518 not in the Package Menu.
7519 (package-menu-package-list): New var.
7520 (package--generate-package-list): Operate on the current buffer;
7521 don't assume that it is *Packages*, since the user may rename it.
7522 Allow persistent package listings and sort keys using
7523 package-menu-package-list and package-menu-package-sort-key.
7524 (package-menu--version-predicate): Fix version calculation.
7525 (package-menu-sort-by-column): Don't select the window.
7526 (package--list-packages): Create the *Packages* buffer.
7527 Set package-menu-package-list-key.
7528 (list-packages): Sorting by status is now the default.
7529 (package-buffer-info): Use match-string-no-properties.
7530 (define-package): Add a &rest argument for future proofing, but
7532 (package-install-from-buffer, package-install-buffer-internal):
7533 Merge into a single function, package-install-from-buffer.
7534 (package-install-file): Change caller.
7536 * finder.el: Load finder-inf using `require'.
7537 (finder-list-matches): Sorting by status is now the default.
7538 (finder-compile-keywords): Simpify printing.
7540 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7542 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7543 (octave-mode-map): Remove special bindings for forward/backward-block
7544 and octave-backward-up-block. Use smie-close-block.
7545 (octave-continuation-marker-regexp): New var.
7546 (octave-continuation-regexp): Use it.
7547 (octave-operator-table, octave-smie-op-levels)
7548 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7549 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7550 (octave-mode): Use SMIE.
7551 (octave-close-block): Delete.
7553 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7555 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7556 CLIPBOARD, not in PRIMARY. (Bug#6944)
7558 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7560 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7562 (smie-indent-column): Allow indirection through variables.
7564 * composite.el (save-buffer-state): Delete, unused.
7565 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7566 (font-lock-default-fontify-region): Use with-syntax-table.
7567 * jit-lock.el (with-buffer-unmodified): Remove.
7568 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7570 Use `declare' in defmacros.
7571 * window.el (save-selected-window):
7572 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7573 * progmodes/python.el (def-python-skeleton):
7574 * net/dbus.el (dbus-ignore-errors):
7575 * jka-cmpr-hook.el (with-auto-compression-mode):
7576 * international/mule.el (with-category-table):
7577 * emacs-lisp/timer.el (with-timeout):
7578 * emacs-lisp/lisp-mnt.el (lm-with-file):
7579 * emacs-lisp/eieio.el (with-slots):
7580 * emacs-lisp/easymenu.el (easy-menu-define):
7581 * emacs-lisp/debug.el (debugger-env-macro):
7582 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7583 (Multiple-value-call, Multiple-value-prog1):
7584 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7585 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7586 edebug rule to definition.
7587 * emacs-lisp/lisp-mode.el (save-selected-window)
7588 (with-current-buffer, combine-after-change-calls)
7589 (with-output-to-string, with-temp-file, with-temp-buffer)
7590 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7591 (dolist, dotimes, when, unless):
7592 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7594 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7596 * finder.el: Require `package'.
7597 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7598 (finder-package-info): Var deleted.
7599 (finder-keywords-hash, finder--builtins-alist): New vars.
7600 (finder-compile-keywords): Compute package--builtins and
7601 finder-keywords-hash instead of finder-keywords-hash, respecting
7602 the "Package" header.
7603 (finder-unknown-keywords, finder-list-matches):
7604 Use finder-keywords-hash and package--list-packages.
7605 (finder-mode): Don't set font-lock-defaults.
7606 (finder-exit): We don't use "*Finder-package*" and "*Finder
7607 Category*" buffers anymore.
7609 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7610 (package--builtins): Set default value to nil.
7611 (package-initialize): Load precomputed value of package--builtins
7613 (package-alist, package-compute-transaction)
7614 (package-download-transaction): Improve docstring.
7615 (package-read-all-archive-contents): Do not change
7616 package--builtins here.
7617 (list-packages): Make package-list-packages an alias for this.
7618 Sort by status by default.
7619 (package--list-packages): Add optional PACKAGES arg.
7620 (describe-package-1): Use font-lock-face property. For built-in
7621 packages, insert file commentary.
7622 (package--generate-package-list): Rename from
7623 package-list-packages-internal; all callers changed. Add optional
7624 PACKAGES arg. Add alphabetical sort fallbacks.
7625 (package-menu--version-predicate, package-menu--status-predicate)
7626 (package-menu--description-predicate)
7627 (package-menu--name-predicate): New functions.
7629 * info.el (Info-finder-find-node): Search package-alist instead of
7630 finder-package-info.
7632 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7634 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7636 (version-to-list): Handle versions like "10.3d".
7638 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7640 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7641 (macroexp-accumulate): Use `declare'.
7643 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7645 * whitespace.el (whitespace-style): Adjust type declaration.
7647 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7649 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7651 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7653 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7656 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7658 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7659 (js-paren-indent-offset, js-square-indent-offset)
7660 (js-curly-indent-offset): New options.
7661 (js--proper-indentation): Use them.
7663 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7665 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7666 instead of inspecting font-lock properties (Bug#6916).
7668 2010-08-26 David Reitter <david.reitter@gmail.com>
7670 * server.el (server-visit-files): Run pre-command-hook and
7671 post-command-hook for each buffer while it is current (Bug#6910).
7672 (server-execute): Do not run hooks here.
7674 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7676 Sync with Tramp 2.1.19.
7678 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7680 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7682 * net/tramp.el (tramp-handle-expand-file-name)
7683 (tramp-completion-handle-file-name-all-completions)
7684 (tramp-completion-handle-file-name-completion):
7685 Use `tramp-connectable-p'.
7687 * net/trampver.el: Update release number.
7689 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7691 * help.el (help-map): Bind `C-h P' to describe-package.
7693 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7695 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7696 when downloading archives.
7697 (describe-package-1): Add package commentary.
7698 (package-install-button-action): New function.
7699 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7700 (package-menu-view-commentary): Function removed.
7701 (package-list-packages-internal): Hide the `package' package too.
7703 2010-08-25 Kenichi Handa <handa@m17n.org>
7705 * language/misc-lang.el ("Arabic"): New language environment.
7706 Setup composition-function-table for Arabic characters.
7708 * international/fontset.el (setup-default-fontset): Fix typo for
7709 arabic OTF spec (fini->fina).
7711 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7713 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7716 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7718 * whitespace.el: Allow cleaning up blanks without blank
7719 visualization (Bug#6651). Adjust help window for
7720 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7721 instead of whitespace-line-column (from EmacsWiki). New version
7723 (whitespace-style): Add new value 'face. Adjust docstring.
7724 (whitespace-space, whitespace-hspace, whitespace-tab):
7725 Adjust foreground property face.
7726 (whitespace-line-column): Adjust docstring and type declaration.
7727 (whitespace-style-value-list, whitespace-toggle-option-alist)
7728 (whitespace-help-text): Adjust const initialization.
7729 (whitespace-toggle-options, global-whitespace-toggle-options):
7731 (whitespace-display-window, whitespace-interactive-char)
7732 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7733 (whitespace-help-scroll): New fun.
7735 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7737 * emacs-lisp/package.el (list-packages): Alias for
7738 package-list-packages.
7740 2010-08-24 Kevin Ryde <user42@zip.com.au>
7742 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7745 * progmodes/ruby-mode.el (ruby): Add defgroup.
7747 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7749 * progmodes/python.el: Add Ipython support (Bug#5390).
7750 (python-shell-prompt-alist)
7751 (python-shell-continuation-prompt-alist): New options.
7752 (python--set-prompt-regexp): New function.
7753 (inferior-python-mode, run-python, python-shell):
7754 Require ansi-color. Use python--set-prompt-regexp to set the comint
7755 prompt based on the Python interpreter.
7756 (python--prompt-regexp): New var.
7757 (python-check-comint-prompt)
7758 (python-comint-output-filter-function): Use it.
7759 (run-python): Use a pipe (Bug#5694).
7761 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7763 * progmodes/python.el (python-send-region): Send a different
7764 Python command if Ipython is in use.
7765 (python-check-version): Use a Python command to find the version.
7767 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7769 * mouse.el (mouse-yank-primary): Avoid setting primary when
7770 deactivating the mark (Bug#6872).
7772 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7774 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7775 with "else" (Bug#3991).
7777 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7779 * net/dbus.el: Accept UNIX domain sockets as bus address.
7780 (top): Don't initialize `dbus-registered-objects-table' anymore,
7781 this is done in dbusbind,c.
7782 (dbus-check-event): Adapt test for bus.
7783 (dbus-return-values-table, dbus-unregister-service)
7784 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7787 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7789 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7791 2010-08-22 Juri Linkov <juri@jurta.org>
7793 * simple.el (read-extended-command): New function with the logic
7794 for `completing-read' moved to Elisp from `execute-extended-command'.
7795 Use `function-called-at-point' in `minibuffer-default-add-function'
7796 to get a command name for M-n (bug#5364, bug#5214).
7798 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7800 * startup.el (command-line-1): Issue warning for ignored arguments
7801 --unibyte, etc (Bug#6886).
7803 2010-08-22 Leo <sdl.web@gmail.com>
7805 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7806 (ignore, bright, dim, keyword): Split list of nicknames before
7807 passing to rcirc-add-or-remove (Bug#6894).
7809 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7811 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7813 2010-08-22 Leo <sdl.web@gmail.com>
7815 Fix buffer-list rename&refresh after killing a buffer in ido.
7816 * ido.el: Revert Óscar's.
7817 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7818 Remember the buffers at head, rather than their name.
7819 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7821 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7822 Stefan Monnier <monnier@iro.umontreal.ca>
7824 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7825 extra backslash added to each line (bug#6890).
7827 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7829 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7831 2010-08-22 Glenn Morris <rgm@gnu.org>
7833 * menu-bar.el (menu-bar-games-menu): Add landmark.
7835 2010-08-22 Glenn Morris <rgm@gnu.org>
7837 * align.el (align-regexp): Make group and spacing arguments
7838 use the interactive defaults when non-interactive. (Bug#6698)
7840 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7841 expansion, so as not to need sendmail.
7842 (mail-text-start): Remove declaration.
7843 (rmail-retry-failure): Require sendmail.
7845 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7847 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7849 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7851 * progmodes/flymake.el (flymake-start-syntax-check-process):
7852 Use `start-file-process' in order to let it run also on remote hosts.
7854 2010-08-22 Kenichi Handa <handa@m17n.org>
7856 * files.el: Add `word-wrap' as safe local variable.
7858 2010-08-22 Glenn Morris <rgm@gnu.org>
7860 * woman.el (woman-translate): Case matters. (Bug#6849)
7862 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7864 * simple.el (kill-region): Doc fix (Bug#6787).
7866 2010-08-22 Glenn Morris <rgm@gnu.org>
7868 * calendar/diary-lib.el (diary-header-line-format):
7869 Fit it to the window, not the frame.
7871 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7873 * subr.el (ignore-errors): Add debug declaration.
7875 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7877 * whitespace.el (whitespace-color-off): Remove post-command-hook
7880 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7882 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7884 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7886 * cus-edit.el (custom-group-value-create): Add extra newline
7887 before end line (Bug#6876).
7889 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7891 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7892 when extending it. Before killing on the second click, check if
7893 the buffer is the correct one. Doc fix.
7894 (mouse-secondary-save-then-kill): Allow usage without first
7895 calling mouse-start-secondary, by defaulting to point. Don't save
7896 an empty secondary selection. Doc fix.
7898 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7900 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7901 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7903 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7904 Adjust initialization.
7905 (whitespace-bob-marker, whitespace-eob-marker)
7906 (whitespace-buffer-changed): New vars.
7907 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7908 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7909 (whitespace-post-command-hook, whitespace-display-char-on):
7911 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7912 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7914 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7916 * files.el (locate-file-completion-table): Only list the .el and .elc
7917 extensions if there's no other choice (bug#5955).
7919 * facemenu.el (facemenu-self-insert-data): New var.
7920 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7922 (facemenu-add-face): Use them.
7924 * simple.el (blink-matching-open): Obey forward-sexp-function.
7926 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7928 * simple.el (prog-mode-map): New var.
7929 (prog-indent-sexp): New command.
7931 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7933 * progmodes/prolog.el (smie): Require.
7935 * emacs-lisp/smie.el (smie-default-backward-token)
7936 (smie-default-forward-token): Strip properties.
7937 (smie-next-sexp): Be more careful with associative operators.
7938 (smie-forward-sexp-command): Generalize.
7939 (smie-backward-sexp-command): Simplify.
7940 (smie-closer-alist): New var.
7941 (smie-close-block): New command.
7942 (smie-indent-debug-log): New var.
7943 (smie-indent-offset-rule): Add a few more cases.
7944 (smie-indent-column): New function.
7945 (smie-indent-after-keyword): Use it.
7946 (smie-indent-keyword): Use it.
7947 Fix up the opener code's point position.
7948 (smie-indent-comment): Only applies at BOL.
7949 (smie-indent-debug): New command.
7951 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7952 declarations that are useful before running the macro.
7954 2010-08-18 Joakim Verona <joakim@verona.se>
7956 * image.el (imagemagick-types-inhibit): New variable.
7957 (imagemagick-register-types): New function.
7958 * image-mode.el (image-transform-properties): New function.
7959 (image-transform-set-scale, image-transform-fit-to-height)
7960 (image-transform-set-rotation, image-transform-set-resize)
7961 (image-transform-fit-to-width, image-transform-fit-to-height):
7963 (image-toggle-display-image): Support image transforms.
7965 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7967 * image.el (create-animated-image): Don't add heuristic mask to image
7970 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7972 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7973 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7975 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7977 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7979 Font-lock '...' strings, plus various simplifications and fixes.
7980 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7981 (octave-font-lock-close-quotes): New function.
7982 (octave-font-lock-syntactic-keywords): New var.
7983 (octave-mode): Use it. Set beginning-of-defun-function.
7984 (octave-mode-map): Don't override the <foo>-defun commands.
7985 (octave-mode-menu): Pass it directly to easy-menu-define;
7986 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7987 (octave-block-match-alist): Fix up last change so that
7988 octave-close-block uses the more specific keyword.
7989 (info-lookup-mode): Silence byte-compiler.
7990 (octave-beginning-of-defun): Not interactive any more.
7992 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7993 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7994 (octave-completion-at-point-function): Make sure point is within
7996 (octave-reindent-then-newline-and-indent):
7997 Use reindent-then-newline-and-indent.
7998 (octave-add-octave-menu): Remove.
8000 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8002 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8003 (report-emacs-bug-can-use-xdg-email): New functions.
8004 (report-emacs-bug): Set can-xdg-email to result of
8005 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8006 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8009 * net/browse-url.el (browse-url-default-browser): Add cond
8010 for browse-url-xdg-open.
8011 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8013 2010-08-17 Glenn Morris <rgm@gnu.org>
8015 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8016 (c-fontify-recorded-types-and-refs): Define for compiler.
8017 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8020 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8023 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8025 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8027 (tramp-handle-process-file): Call the program in a subshell, in
8028 order to preserve working directory.
8029 (tramp-action-password): Hide password prompt before next run.
8030 (tramp-process-actions): Widen connection buffer for the trace.
8032 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8034 * net/rcirc.el (rcirc-log-process-buffers): New option.
8035 (rcirc-print): Use it.
8036 (rcirc-generate-log-filename): New function.
8037 (rcirc-log-filename-function): Change default to
8038 rcirc-generate-log-filename (Bug#6828).
8040 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8042 * simple.el (deactivate-mark): If select-active-regions is `only',
8043 only set selection for temporarily active regions.
8045 * cus-start.el: Change defcustom for select-active-regions.
8047 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8049 * mouse.el (mouse--drag-set-mark-and-point): New function.
8050 (mouse-drag-track): Use LOCATION arg to push-mark.
8051 Use mouse--drag-set-mark-and-point to take click-count into
8052 consideration when updating point and mark (Bug#6840).
8054 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8056 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8057 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8059 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8061 * font-lock.el (lisp-font-lock-keywords-2):
8062 Add combine-after-change-calls, condition-case-no-debug,
8063 with-demoted-errors, and with-silent-modifications (Bug#6025).
8065 2010-08-14 Kevin Ryde <user42@zip.com.au>
8067 * emacs-lisp/copyright.el (copyright-update-year)
8068 (copyright-update): Temporary switch-to-buffer to ensure the
8069 buffer change being queried is visible (Bug#5394).
8071 2010-08-14 Tom Tromey <tromey@redhat.com>
8073 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8076 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8078 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8081 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8083 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8084 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8085 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8086 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8087 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8088 Call menu-bar-set-tool-bar-position.
8090 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8092 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8093 comment style (bug#6834).
8094 * progmodes/scheme.el (scheme-mode-syntax-table):
8095 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8096 "b" flag in "' 14b" syntax.
8098 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8099 for (un)commenting the region and performing completion.
8100 (octave-mode-menu): Use standard commands for help and completion.
8101 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8102 (octave-mode): Use define-derived-mode.
8103 Set completion-at-point-functions and don't set columns.
8104 Don't disable adaptive-fill-regexp.
8105 (octave-describe-major-mode, octave-comment-region)
8106 (octave-uncomment-region, octave-comment-indent)
8107 (octave-indent-for-comment): Remove.
8108 (octave-indent-calculate): Rename from calculate-octave-indent.
8109 (octave-indent-line, octave-fill-paragraph): Update caller.
8110 (octave-initialize-completions): No need to make an alist.
8111 (octave-completion-at-point-function): New function.
8112 (octave-complete-symbol): Use it.
8113 (octave-insert-defun): Use define-skeleton.
8115 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8116 (octave-mode-map): Use comment-dwim (bug#6829).
8118 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
8120 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8121 indentation of inserted comment.
8123 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8125 * faces.el (region): Add type gtk that uses gtk colors.
8127 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8128 Handle theme-name change.
8130 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8132 * progmodes/sql.el: Version 2.5
8133 (sql-product-alist): Add :prompt-cont-regexp property for several
8135 (sql-prompt-cont-regexp): New variable.
8136 (sql-output-newline-count, sql-output-by-send):
8137 New variables. Record number of newlines in input text.
8138 (sql-send-string): Handle multiple filters and count newlines.
8139 (sql-send-magic-terminator): Count terminator newline.
8140 (sql-interactive-remove-continuation-prompt): Filters output to
8141 remove continuation prompts; one for each newline.
8142 (sql-interactive-mode): Set up new variables, prompt regexp and
8144 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8145 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8147 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8149 * emacs-lisp/pcase.el: New file.
8151 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8153 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8154 as here-document, otherwise the command could exceed maximum
8155 length of command line.
8156 (tramp-handle-vc-registered): Call script accordingly.
8157 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8159 2010-08-10 Kenichi Handa <handa@m17n.org>
8161 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8164 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8166 * emacs-lisp/package.el (package-version-split)
8167 (package--version-first-nonzero, package-version-compare):
8169 (package-directory-list, package-load-all-descriptors)
8170 (package--built-in, package-activate, define-package)
8171 (package-installed-p, package-compute-transaction)
8172 (package-read-all-archive-contents)
8173 (package--add-to-archive-contents, package-buffer-info)
8174 (package-tar-file-info, package-list-packages-internal):
8175 Use version-to-list and version-list-*.
8177 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8178 Use version-to-list.
8179 (package-upload-buffer-internal): Use version-list-<=.
8181 2010-08-09 Kenichi Handa <handa@m17n.org>
8183 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8186 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8188 * tutorial.el (tutorial--default-keys): C-d is now bound to
8189 delete-forward-char (Bug#6826).
8191 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8192 for `double' value of mouse-1-click-follows-link (Bug#6807).
8194 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8196 * replace.el (replace-highlight): Bind isearch-forward and
8197 isearch-error, ensuring that highlighting is updated if the user
8198 switches the search direction (Bug#6808).
8200 * isearch.el (isearch-lazy-highlight-forward): New var.
8201 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8202 (isearch-lazy-highlight-update): Use it.
8204 2010-08-08 Kenichi Handa <handa@m17n.org>
8206 * international/mule.el (define-charset): Store NAME as :base property.
8207 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8208 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8209 current priority. Force using the designation of the specific
8210 charset by adding `charset' text property. Improve the whole algorithm.
8212 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8214 * emulation/pc-select.el (pc-selection-mode-hook)
8215 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8216 (pc-selection-mode): Fix typos in docstrings.
8218 2010-08-08 Kenichi Handa <handa@m17n.org>
8220 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8221 ctext-non-standard-encodings-alist here.
8223 * international/mule.el (ctext-non-standard-encodings-alist):
8224 Add "koi8-r" and "microsoft-cp1251".
8225 (ctext-standard-encodings): New variable.
8226 (ctext-non-standard-encodings-table): List only elements for
8227 non-standard encodings.
8228 (ctext-pre-write-conversion): Adjust for the above change.
8229 Check ctext-standard-encodings.
8231 * international/mule-conf.el (compound-text): Doc fix.
8232 (ctext-no-compositions): Doc fix.
8233 (compound-text-with-extensions): Doc fix.
8235 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8237 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8239 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8241 * progmodes/which-func.el (which-func-format): Split help-echo text
8242 into lines, like other mode-line tooltips.
8244 * server.el (server-start): When using TCP sockets, force IPv4
8245 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8247 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8249 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8251 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8253 * term.el (term-delimiter-argument-list): Reflow docstring.
8254 (term-read-input-ring, term-write-input-ring, term-send-input)
8255 (term-bol, term-erase-in-display, serial-supported-or-barf):
8256 Fix typos in docstrings.
8258 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8260 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8262 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8264 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8266 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8268 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8269 Fix typo in docstring (bug#6747).
8271 2010-08-08 Leo <sdl.web@gmail.com>
8273 * eshell/esh-io.el (eshell-get-target): Better detection of
8274 read-only file (Bug#6762).
8276 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8278 * align.el (align-default-spacing): Doc fix.
8279 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8281 2010-08-08 Stephen Peters <speters@itasoftware.com>
8283 * calendar/icalendar.el
8284 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8285 (icalendar--get-weekday-numbers): New.
8286 (icalendar--convert-recurring-to-diary): Handle multiple byday
8287 values in weekly rules. (Bug#6766)
8289 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8291 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8292 (icalendar--create-uid, icalendar-export-region)
8293 (icalendar--parse-summary-and-rest): Code formatting.
8295 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8297 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
8298 to italicize headers.
8299 (calc-highlight-selections-with-faces): New variable.
8300 (calc-selected-face, calc-nonselected-face): New faces.
8302 * calc/calccomp.el (math-comp-highlight-string): Use
8303 `calc-highlight-selections-with-faces' to determine how to highlight
8306 * calc/calc-sel.el (calc-show-selections): Change message to when
8307 using faces to highlight selections.
8309 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8311 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8312 Add SQLite 3 keywords, functions and datatypes.
8313 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8316 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8318 * simple.el (select-active-regions): Move to keyboard.c.
8319 (deactivate-mark): Used saved-region-selection.
8320 (select-active-region): Function removed.
8321 (activate-mark, set-mark, push-mark-command)
8322 (handle-shift-selection): Don't call it.
8323 (keyboard-quit): Avoid adding the region to the window selection.
8325 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8326 select-active-regions implementation.
8327 (mouse-yank-at-click): Doc fix.
8329 * cus-start.el: Add custom declaration for select-active-regions.
8331 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8333 * simple.el (delete-forward-char): Doc fix.
8335 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8336 after reading the tutorial.
8338 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8340 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8341 Fix for the case that a C style comment has its delimiters alone on
8342 their respective lines.
8344 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8346 * net/tramp.el (tramp-handle-start-file-process): Set connection
8348 (tramp-process-sentinel): Use it for flushing the cache.
8349 We cannot do it via the process buffer, the buffer could be deleted
8350 already when running the sentinel.
8352 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8354 * comint.el (comint-mode): Make directory tracking functions
8355 functional on remote files. (Bug#6764)
8357 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8359 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8361 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8363 * emacs-lisp/find-gc.el (find-gc-source-files):
8364 Rename unexec.c => unexcoff.c.
8366 * emacs-lisp/authors.el (authors-fixed-entries):
8367 Rename unexec.c => unexcoff.c.
8369 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8371 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8372 cache, not only file cache.
8373 (tramp-process-sentinel): New defun.
8374 (tramp-handle-start-file-process): Use it, in order to invalidate
8377 2010-08-03 Leo <sdl.web@gmail.com>
8379 * server.el (server-start): Simplify loop.
8381 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8383 * frame.el (screen-height, screen-width, set-screen-width)
8384 (set-screen-height): Remove ancient compatibility aliases.
8386 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8387 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8389 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8390 that change current buffer.
8392 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8394 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8395 beginning of the string. Use `string-match-p'. (Bug#6765)
8397 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8399 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8401 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8403 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8404 (package--builtins): Tweak descriptions.
8405 (package-print-package): Upcase descriptions if necessary.
8406 Show all built-in packages in font-lock-builtin-face.
8407 (package-list-packages-internal): Omit "emacs" package.
8408 Show status of built-in packages as "built-in".
8410 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8412 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8413 before killing to preserve the primary selection (Bug#6701).
8415 * term/x-win.el (x-select-text): Doc fix.
8417 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8419 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8420 (objc-font-lock-extra-types):
8421 * progmodes/cc-mode.el (c-basic-common-init):
8422 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8423 (c++-make-template-syntax-table)
8424 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8425 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8426 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8427 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8428 * progmodes/cc-fonts.el (c-make-inverse-face)
8429 (c-basic-matchers-after):
8430 * progmodes/cc-engine.el (c-forward-keyword-clause)
8431 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8432 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8433 (c-guess-continued-construct, c-guess-basic-syntax):
8434 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8435 The above functions were modified or created.
8437 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8439 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8441 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8443 * files.el (bidi-paragraph-direction): Define safe local values.
8445 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8446 language-info-alist. Remove outdated FIXME in a comment.
8448 2010-07-31 Alan Mackenzie <acm@muc.de>
8450 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8451 Auto-fill broken in C/C++ modes.
8453 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8455 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8456 (menu-bar-showhide-tool-bar-menu-customize-disable)
8457 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8458 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8459 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8460 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8461 make a menu for Options => toolbar that can move it.
8463 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8465 * emacs-lisp/package-x.el (package--make-rss-entry):
8466 (package-maint-add-news-item, package--update-news)
8467 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8469 * emacs-lisp/package.el (package-archive-url): Rename from
8471 (package-install): Doc fix.
8472 (package-download-single, package-download-tar, package-install)
8473 (package-menu-view-commentary): Callers changed.
8475 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8477 * net/tramp.el (tramp-handle-start-file-process): Check only for
8478 `remote-tty' process property.
8479 (tramp-open-shell): Don't check for tty.
8480 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8483 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8486 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8488 * emacs-lisp/package.el (package-load-list, package-archives)
8489 (package-archive-contents, package-user-dir)
8490 (package-directory-list, package--builtins, package-alist)
8491 (package-activated-list, package-obsolete-alist): Mark as risky.
8493 2010-07-28 Phil Hagelberg <phil@evri.com>
8495 Add support for non-default package repositories.
8496 * emacs-lisp/package.el (package-archive-base): Var deleted.
8497 (package-archives): New variable.
8498 (package-archive-contents): Doc fix.
8499 (package-load-descriptor): Do nothing if descriptor file is missing.
8500 (package--write-file-no-coding): New function.
8501 (package-unpack-single): Use it.
8502 (package-archive-id): New function.
8503 (package-download-single, package-download-tar)
8504 (package-menu-view-commentary): Use it.
8505 (package-installed-p): Make second argument optional.
8506 (package-read-all-archive-contents): New function.
8507 (package-initialize): Use it.
8508 (package-read-archive-contents): Add ARCHIVE argument.
8509 (package--add-to-archive-contents): New function.
8510 (package-install): Don't call package-read-archive-contents.
8511 (package--download-one-archive): Store archive file in a
8512 subdirectory of package-user-dir.
8513 (package-menu-execute): Remove spurious line movement.
8515 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8517 * cus-start.el (tool-bar-style): Add text-image-horiz.
8519 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8521 * progmodes/gud.el (gud-common-init): Check for remoteness of
8522 `file', and not of `default-directory'.
8524 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8526 * net/tramp.el (tramp-methods): Move hostname to the end in all
8527 ssh `tramp-login-args'.
8528 (tramp-verbose): Describe verbose level 9.
8529 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8530 (tramp-open-connection-setup-interactive-shell): Trace stty
8531 settings if `tramp-verbose' >= 9.
8532 (tramp-handle-start-file-process): Implement tty setting.
8533 (Bug#4604, Bug#6360)
8535 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8536 `tramp-verbose' to 9.
8538 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8540 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8541 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8542 Remove references to package `lisp-re' (bug#4369).
8544 2010-07-27 Tom Tromey <tromey@redhat.com>
8546 * progmodes/js.el (js-mode):
8547 * progmodes/make-mode.el (makefile-mode):
8548 * progmodes/simula.el (simula-mode):
8549 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8551 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8553 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8555 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8556 (display-time-world-buffer-name, display-time-world-mode-map):
8557 Fix typos in docstrings.
8559 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8561 * image-mode.el (image-display-size): New function.
8562 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8563 (image-mode-fit-frame): Use it (Bug#6639).
8565 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8567 * dired.el (dired-buffers-for-dir): Handle list values of
8568 dired-directory (Bug#6636).
8570 2010-07-26 Sam Steingold <sds@gnu.org>
8572 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8573 Do not call `x-get-selection' the second time, reuse the value.
8575 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8577 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8578 which consist of control chars only. Suggested by Richard Stallman.
8580 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8582 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8583 exists before passing an error to find-file-not-found-functions
8586 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8588 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8589 Remove leading nil element, adjust values.
8590 (tetris-shapes, tetris-shape-scores):
8591 Change representation of shapes and remove some redundancy.
8592 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8593 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8594 Adjust for working with new representation of shapes.
8595 (tetris-shape-rotations): New function.
8596 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8597 (tetris-rotate-prev, tetris-rotate-next):
8598 Adjust for working with the new version of tetris-test-shape.
8600 2010-07-23 Markus Triska <markus.triska@gmx.at>
8602 * progmodes/ps-mode.el: Use comint (bug#5954).
8603 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8604 (ps-mode-other-newline): Simplify.
8605 (ps-run-mode): Derive from comint-mode instead of
8606 fundamental-mode, yielding input history etc.
8607 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8608 (ps-run-send-string): Adapt for comint-mode.
8609 (ps-run-newline): Remove now unneeded function.
8611 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8613 * net/tramp.el (tramp-methods): Move hostname to the end in all
8614 plink `tramp-login-args'.
8616 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8618 * net/tramp.el (tramp-open-shell): New defun.
8619 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8622 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8624 * net/tramp.el (tramp-file-name-regexp-unified)
8625 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8626 not regard the volume letter as remote filename. (Bug#5447)
8628 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8630 * custom.el (custom-declare-variable): Give a clearer error message
8631 when the docstring is missing (bug#6476).
8633 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8635 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8636 (sql-login-params): New widget definition.
8637 (sql-oracle-login-params, sql-mysql-login-params)
8638 (sql-solid-login-params, sql-sybase-login-params)
8639 (sql-informix-login-params, sql-ingres-login-params)
8640 (sql-ms-login-params, sql-postgres-login-params)
8641 (sql-interbase-login-params, sql-db2-login-params)
8642 (sql-linter-login-params): Use it.
8643 (sql-sqlite-login-params): Use it; Define "database" parameter as
8645 (sql-sqlite-program): Change to "sqlite3".
8646 (sql-comint-sqlite): Make sure database name is complete.
8647 (sql-for-each-login): New function.
8648 (sql-connect, sql-save-connection): Use it.
8649 (sql-get-login-ext): New function.
8650 (sql-get-login): Use it.
8651 (sql-make-alternate-buffer-name): Handle :file parameters.
8653 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8655 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8656 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8658 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8660 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8662 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8664 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8666 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8668 * net/tramp.el (tramp-get-ls-command)
8669 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8672 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8674 * progmodes/sql.el: Version 2.3.
8675 (sql-connection-alist): Change keys from symbols to strings;
8676 enhanced the widget definition.
8677 (sql-mode-menu): Add submenu to select connections.
8678 (sql-interactive-mode-menu): Add "Save Connection" item.
8679 (sql-add-product): Fix menu item.
8680 (sql-get-product-feature): Improved error handling.
8681 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8682 (sql-make-alternate-buffer-name): Simplified.
8683 (sql-product-interactive): Handle missing product.
8684 (sql-connect): Support string keys, minor improvements.
8685 (sql-save-connection): New function.
8686 (sql-connection-menu-filter): New function.
8688 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8690 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8691 (tramp-open-connection-setup-interactive-shell):
8692 Apply workaround for IRIX64 bug. Move argument of last
8693 `tramp-send-command' where it belongs to.
8695 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8697 * net/tramp.el (tramp-perl-file-attributes)
8698 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8699 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8700 front of `login-args'.
8702 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8704 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8705 Set `show-trailing-whitespace' to nil.
8706 (display-time-world-display): Simplify.
8708 2010-07-18 Alan Mackenzie <acm@muc.de>
8710 Enhance `c-file-style' in file/directory local variables.
8711 * progmodes/cc-mode.el (c-count-cfss): New function.
8712 (c-before-hack-hook): Call `c-set-style' differently according to
8713 whether c-file-style was set in file or directory local
8716 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8718 * progmodes/sql.el: Version 2.2.
8719 (sql-product, sql-user, sql-database, sql-server, sql-port):
8720 Use defcustom :safe keyword rather than putting safe-local-variable
8722 (sql-password): Use defcustom :risky keyword rather than putting
8723 risky-local-variable property.
8724 (sql-oracle-login-params, sql-sqlite-login-params)
8725 (sql-solid-login-params, sql-sybase-login-params)
8726 (sql-informix-login-params, sql-ingres-login-params)
8727 (sql-ms-login-params, sql-postgres-login-params)
8728 (sql-interbase-login-params, sql-db2-login-params)
8729 (sql-linter-login-params): Add `port' option.
8730 (sql-get-product-feature): Add NO-INDIRECT parameter.
8731 (sql-comint-oracle, sql-comint-sybase)
8732 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8733 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8734 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8735 (sql-comint-linter): Rename sql-connect-* functions to
8737 (sql-product-alist, sql-mode-menu): Rename as above and
8738 :sqli-connect-func to :sqli-comint-func.
8739 (sql-connection): New variable.
8740 (sql-interactive-mode): Set it.
8741 (sql-connection-alist): New variable.
8742 (sql-connect): New function.
8743 (sql--alt-buffer-part, sql--alt-if-not-empty)
8744 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8746 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8748 * image-mode.el (image-bookmark-make-record): Do not set context
8749 in an image (Bug#6650).
8751 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8753 * simple.el (select-active-region): New function.
8754 (push-mark-command, set-mark, activate-mark)
8755 (handle-shift-selection): Use it.
8756 (deactivate-mark): Don't check for size of region.
8758 * mouse.el (mouse-drag-track): Use select-active-region.
8760 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8762 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8765 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8767 * term/x-win.el (x-select-enable-primary): Change default to nil.
8768 (x-select-enable-clipboard): Add :version keyword.
8770 * mouse.el (mouse-drag-copy-region):
8771 * simple.el (select-active-regions): Likewise.
8773 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8775 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8776 (vc-coding-system-for-diff): Use it to decide whether to inherit
8777 from the file the EOL format for reading the diffs of that file.
8780 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8782 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8783 unibyte, so compressed attachments are not compressed again.
8785 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8787 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8788 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8789 (tramp-find-shell): Simplify setting connection property.
8790 (tramp-get-ls-command): Make test for "--color=never" stronger.
8792 2010-07-15 Simon South <ssouth@member.fsf.org>
8794 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8795 blocks within record declarations (i.e. variant parts) correctly.
8797 2010-07-15 Simon South <ssouth@member.fsf.org>
8799 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8800 over literal tokens when parsing so newlines aren't "absorbed" by
8801 single-line comments. Corrects the indentation of case blocks
8802 that have a comment on the first line.
8804 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8806 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8807 by Drew Adams (Bug#5504).
8809 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8811 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8812 now that Unicode is used (Bug#6594).
8814 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8816 * term/x-win.el (x-select-enable-clipboard): Default to t.
8817 (x-initialize-window-system): Don't overwrite Paste menu item.
8819 * simple.el (select-active-regions): Default to t.
8820 (push-mark-command): Don't overwrite primary with empty string.
8822 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8823 (mouse-drag-copy-region): Default to nil.
8825 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8826 Cut/Copy/Paste menu bar items.
8828 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8830 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8831 Patch applied by Karl Fogel.
8833 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8834 and `bookmark-current-buffer' if they have been already set in
8835 another buffer (e.g gnus-art).
8837 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8838 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8840 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8842 * bookmark.el (bookmark-make-record-default): Allow unneeded
8843 information to be omitted from the record.
8845 Adjust declarations and calls:
8847 * info.el (bookmark-make-record-default): Adjust declaration.
8848 (Info-bookmark-make-record): Adjust call.
8850 * woman.el (bookmark-make-record-default): Adjust declaration.
8851 (woman-bookmark-make-record): Adjust call.
8853 * man.el (bookmark-make-record-default): Adjust declaration.
8854 (Man-bookmark-make-record): Adjust call.
8856 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8858 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8860 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8862 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8863 This is also from Thierry Volpiatto's patch in bug #6444. However,
8864 because it was extraneous to the functional change in that patch,
8865 and causes a re-indendation, I am committing it separately.
8867 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8869 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8870 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8871 Patch applied by Karl Fogel (Bug#6444).
8873 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8875 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8877 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8879 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8880 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8881 (ns-alternatives-map): Change S-tab binding to backtab
8884 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8887 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8889 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8892 * language/tv-util.el (tai-viet-re): Remove format.
8894 2010-07-12 Kenichi Handa <handa@m17n.org>
8896 * language/hebrew.el: Remove no-byte-compile declaration.
8897 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8898 composition-function-table for 3-character looking back.
8899 (hebrew-font-get-precomposed): New function.
8900 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8902 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8904 * mouse.el (mouse-drag-track): Handle select-active-regions
8907 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8909 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8910 empty argument to gvfs-copy.
8912 2010-07-10 Glenn Morris <rgm@gnu.org>
8914 * calendar/calendar.el (calendar-week-end-day): New function.
8915 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8916 Respect calendar-week-start-day. (Bug#6606)
8917 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8918 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8919 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8920 respect calendar-week-start-day.
8922 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8924 * simple.el (use-region-p): Doc fix (Bug#6607).
8926 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8928 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8929 Add regexps for cucumber and ruby.
8931 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8933 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8934 (epa-file-insert-file-contents): Hack to prevent
8935 find-file from opening empty buffer when decryption failed
8938 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8940 * textmodes/ispell.el (ispell-alternate-dictionary):
8941 Use file-readable-p.
8942 Return nil if no word-list is found at default locations.
8943 (ispell-complete-word-dict): Default to nil.
8944 (ispell-command-loop): Use 'word-list' when using lookup-words.
8945 (lookup-words): Use ispell-complete-word-dict or
8946 ispell-alternate-dictionary. Check for word-list availability
8947 and handle errors if needed with better messages (Bug#6539).
8948 (ispell-complete-word): Use ispell-complete-word-dict or
8949 ispell-alternate-dictionary.
8951 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8953 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8954 builtins (BufferError, BytesWarning, WindowsError; callables
8955 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8957 2010-07-07 Glenn Morris <rgm@gnu.org>
8959 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8960 (zone-shift-left): Ignore intangibility, and any errors from
8962 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8963 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8964 deleting, and copying text properties.
8965 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8966 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8967 to point-max is hard.
8968 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8969 (zone-fill-out-screen): Ignore intangibility.
8971 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8973 * menu-bar.el (menu-bar-mode):
8974 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8977 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8978 word/line selection (Bug#6565).
8980 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8982 * net/dbus.el (dbus-send-signal): Declare function.
8984 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8986 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8987 (dbus-register-property): New optional argument EMITS-SIGNAL.
8988 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8990 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8992 * mouse.el (mouse-drag-overlay): Variable deleted.
8993 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8994 (mouse--remap-link-click-p): New function.
8995 (mouse-drag-track): Handle dragging by using temporary Transient
8996 Mark mode, instead of a special overlay.
8997 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9000 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9003 2010-07-02 Juri Linkov <juri@jurta.org>
9005 * autoinsert.el (auto-insert-alist): Fix readability
9006 by using dotted pair notation for lambda.
9008 2010-07-02 Juri Linkov <juri@jurta.org>
9010 * faces.el (read-face-name): Rename arg `string-describing-default'
9011 to `default'. Doc fix. Display the default value in quotes
9012 in the prompt. With empty input, return the `default' arg,
9013 unless the default value is a string (in which case return nil).
9014 (describe-face): Replace the string `default' arg of `read-face-name'
9015 with the symbol `default'.
9017 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9019 * emulation/viper-cmd.el (viper-delete-backward-char)
9020 (viper-del-backward-char-in-insert)
9021 (viper-del-backward-char-in-replace, viper-change)
9022 (viper-backward-indent): Replace delete-backward-char with
9023 delete-char (Bug#6552).
9025 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9027 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9029 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9031 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9032 argument passed to frame-creation-function (Bug#5378).
9034 * faces.el (x-handle-named-frame-geometry)
9035 (x-handle-reverse-video, x-create-frame-with-faces)
9036 (face-set-after-frame-default, tty-create-frame-with-faces):
9037 Don't separately consult default-frame-alist. It is now passed as the
9040 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9042 * startup.el (command-line): Don't call tool-bar-setup in a
9045 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9047 * ruler-mode.el (ruler--save-header-line-format): New fun.
9048 (ruler-mode): Use it as a setter function, so as not to overwrite
9049 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9051 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9053 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9054 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9055 (vc-log-outgoing): Use it.
9056 (vc-diff-internal): Set diff-vc-backend.
9058 * vc/diff-mode.el (diff-vc-backend): New var.
9060 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9062 * dynamic-setting.el (font-setting-change-default-font):
9063 Remove call to message.
9065 2010-06-28 Kenichi Handa <handa@m17n.org>
9067 * international/quail.el (quail-insert-kbd-layout): Fix the
9068 showing of untranslated characters.
9070 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9072 * simple.el (delete-active-region): New option.
9073 (delete-backward-char): Implement in Lisp.
9074 (delete-forward-char): New command.
9076 * mouse.el (mouse-region-delete-keys): Delete.
9077 (mouse-show-mark): Simplify.
9079 * bindings.el (global-map): Bind delete and DEL, the former to
9080 delete-forward-char.
9082 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9084 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9085 (ruby-mode): Bind indent-line-function (Bug#5119).
9087 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9089 * startup.el (command-line): Recognize "0" X resource value.
9091 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9093 * startup.el (command-line): Use X resources to set the value of
9094 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9096 * menu-bar.el (menu-bar-mode):
9097 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9098 Set init-value to t.
9100 * frame.el (frame-notice-user-settings): Don't change
9101 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9102 vice versa (Bug#2249).
9104 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9106 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9108 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9110 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9111 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9113 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9114 default directories are expanded (Bug#6143).
9116 2010-06-24 Juri Linkov <juri@jurta.org>
9118 * minibuffer.el (completions-format): Change default from nil to
9119 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9121 2010-06-24 Juri Linkov <juri@jurta.org>
9123 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9124 buffer-locally to lambda that re-runs the vc diff command.
9127 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9129 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9130 echo area is in use (Bug#3412).
9132 2010-06-22 Glenn Morris <rgm@gnu.org>
9134 * textmodes/texinfmt.el (texinfo-format-region)
9135 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9136 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9137 (texinfo-format-option, texinfo-noindent):
9138 Use line-beginning-position and line-end-position.
9140 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9141 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9142 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9145 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9147 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9148 forward-line fallout.
9150 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9152 * mouse.el (mouse-appearance-menu): Add docstring.
9154 * help.el (describe-key): Print up-event using key-description.
9156 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9158 * net/zeroconf.el (zeroconf-resolve-service)
9159 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9160 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9162 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9164 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9166 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9168 Avoid displaying files with a nil state in vc-dir.
9169 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9170 cases that cause insertion.
9171 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9174 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9176 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9178 2010-06-29 Leo <sdl.web@gmail.com>
9180 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9182 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9184 * generic-x.el (bat-generic-mode): Fix regexp for command line
9185 switches (Bug#5719).
9187 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9189 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9190 of nconc to avoid pure storage error (Bug#6239).
9192 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9194 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9195 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9196 bindings of bookmark-automatically-show-annotations (Bug#6515).
9198 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9200 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9201 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9203 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9205 * comint.el (make-comint, make-comint-in-buffer): Mention return
9206 value in the docstrings. (Bug#6498)
9208 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9210 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9211 since it is not present when using some non-default switches.
9213 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9215 * simple.el (compose-mail): Fix doc string to refer to
9216 `compose-mail-user-agent-warnings', instead of to the
9217 nonexistent `compose-mail-check-user-agent'.
9219 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9221 Fix an indentation bug:
9223 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9224 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9227 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9228 (c-clear->-pair-props-if-match-before): now return t when they've
9229 cleared properties, nil otherwise.
9230 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9231 by taking account of the existing value.
9233 * progmodes/cc-defs.el
9234 (c-clear-char-property-with-value-function): Fix this to clear the
9235 property rather than overwriting it with nil.
9237 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9239 * emacs-lisp/package.el (package-print-package): Add link to
9240 package description via describe-package.
9241 (describe-package-1): List package requirements. Add button to
9242 perform installation.
9243 (package-menu-describe-package): New command.
9245 * help-mode.el (help-package): New button type.
9247 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9249 * emacs-lisp/package.el: Move package-list-packages binding to
9251 (describe-package, describe-package-1, package--dir): New funs.
9252 (package-activate-1): Use package--dir.
9254 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9256 * help-mode.el (help-package-def): New button type.
9258 * menu-bar.el: Move package-list-packages binding here from
9261 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9263 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9265 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9267 * emacs-lisp/edebug.el (edebug-read-list):
9268 Phase out old-style backquotes.
9270 2010-06-17 Juri Linkov <juri@jurta.org>
9272 * help-mode.el (help-mode): Set buffer-local variable
9273 revert-buffer-function to help-mode-revert-buffer.
9274 (help-mode-revert-buffer): New function.
9276 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9277 before popping to "*info*" (like in other Info functions).
9278 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9279 old-history-forward. Pop to old-buffer-name or "*info*" to
9280 recreate the killed buffer. Set Info-history-forward from
9281 old-history-forward.
9282 (Info-breadcrumbs-depth): Add :group and :version.
9284 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9286 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9288 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9290 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9291 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9293 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9295 * emacs-lisp/package.el (package-menu-mode-map):
9296 Move initialization into declaration.
9298 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9300 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9302 * emacs-lisp/package.el (package-archive-base): Point to
9304 (package-enable, package-load-list): New defcustoms.
9305 (package-user-dir, package-directory-list): Turn into defcustoms.
9306 Don't include package-user-dir in package-directory-list.
9307 (package--builtins-base): Don't include Emacs as a "package".
9308 (package-subdirectory-regexp): New var.
9309 (package-load-all-descriptors, package-compute-transaction)
9310 (package-download-transaction): Obey package-load-list.
9311 (package-activate-1): Rename from package-do-activate.
9312 (package-list-packages-internal): Check package-load-list.
9313 (package-load-descriptor, package-generate-autoloads)
9314 (package-unpack, package-unpack-single)
9315 (package--read-archive-file, package-delete):
9316 Use expand-file-name.
9318 * emacs-lisp/package-x.el: New file. Package uploading
9319 functionality split out from package.el.
9321 * startup.el (command-line): Load packages after reading init file.
9323 2010-06-17 Tom Tromey <tromey@redhat.com>
9325 * emacs-lisp/package.el: New file.
9327 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9329 Fix vc-annotate for renamed files when using Git.
9330 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9331 ls-files. Doe not pass the object as a file name to cat-file, it
9333 (vc-git-annotate-command): Pass the file name using -- to avoid
9334 ambiguity with the revision.
9335 (vc-git-previous-revision): Pass a relative file name.
9337 2010-06-22 Glenn Morris <rgm@gnu.org>
9339 * progmodes/js.el (js-mode-map): Use standard capitalization and
9340 ellipses for menu entries.
9342 * wid-edit.el (widget-complete): Doc fix.
9344 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9346 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9348 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9350 Fix annotating other revisions for renamed files in vc-annotate.
9351 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9352 VC backend. Use it when non-nil.
9353 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9356 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9357 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9358 Do not pass the file name to the 'previous-revision call when we
9359 don't want a file diff. (Bug#6489)
9361 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9363 Fix finding revisions for renamed files in vc-annotate.
9364 * vc/vc.el (vc-find-revision): Add an optional argument for
9365 the VC backend. Use it when non-nil.
9366 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9367 backend to vc-find-revision. (Bug#6487)
9369 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9371 Fix reading file names in Git annotate buffers.
9372 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9373 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9375 2010-06-20 Alan Mackenzie <acm@muc.de>
9377 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9378 in file local variables, set it first.
9380 2010-06-19 Glenn Morris <rgm@gnu.org>
9382 * descr-text.el (describe-char-unicode-data): Insert separating
9383 space when needed. (Bug#6422)
9385 * progmodes/idlwave.el (idlwave-action-and-binding):
9386 Fix typo in 2009-12-03 change. (Bug#6450)
9388 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9390 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9391 handling for `lambda' (misunderstanding).
9393 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9395 * calc/calc-poly.el (math-accum-factors): Make sure that
9396 constants aren't distributed after they are factored out.
9398 2010-06-16 Juri Linkov <juri@jurta.org>
9400 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9401 `list-colors-print'. (Bug#6332)
9403 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9405 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9407 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9408 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9410 * font-lock.el (font-lock-major-mode): Rename from
9411 font-lock-mode-major-mode to distinguish it from
9412 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9413 (font-lock-set-defaults):
9414 * font-core.el (font-lock-default-function): Adjust users.
9415 (font-lock-mode): Don't set it at all.
9417 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9419 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9421 2010-06-16 Glenn Morris <rgm@gnu.org>
9423 * calendar/appt.el (appt-time-msg-list): Doc fix.
9424 (appt-check): Let-bind appt-warn-time.
9425 (appt-add): Make the 3rd argument optional.
9426 Simplify argument names. Doc fix. Check for integer WARNTIME.
9427 Only add WARNTIME to the output list if non-nil.
9429 2010-06-16 Ivan Kanis <apple@kanis.eu>
9431 * calendar/appt.el (appt-check): Let the 3rd element of
9432 appt-time-msg-list specify the warning time.
9433 (appt-add): Add new argument with the warning time. (Bug#5176)
9435 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9437 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9438 older than version 1.6. (Bug#6361)
9440 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9442 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9443 used by cl-do-arglist. (Bug#6408)
9445 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9447 * textmodes/ispell.el (ispell-dictionary-base-alist):
9448 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9449 Suggested by Rolando Pereira (bug#6434).
9451 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9453 * facemenu.el (list-colors-sort): Doc fix.
9455 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9457 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9459 2010-06-14 Juri Linkov <juri@jurta.org>
9461 Add sort option `list-colors-sort'. (Bug#6332)
9462 * facemenu.el (color-rgb-to-hsv): New function.
9463 (list-colors-sort): New defcustom.
9464 (list-colors-sort-key): New function.
9465 (list-colors-display): Doc fix. Sort list according to the option
9467 (list-colors-print): Add HSV values to `help-echo' property of
9470 2010-06-14 Juri Linkov <juri@jurta.org>
9472 * compare-w.el: Move to the "vc" subdirectory.
9474 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9476 * image-mode.el (image-mode-map): Remap left-char and right-char.
9478 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9480 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9482 * term/common-win.el (x-colors): Add all the color names defined
9483 in rgb.txt (Bug#6332).
9485 * facemenu.el (list-colors-print): Don't print extra names if it
9486 will overflow the window width.
9488 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9491 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9493 * files.el (make-directory): Doc fix (bug#6396).
9495 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9497 * net/tramp.el (tramp-remote-process-environment): Protect version
9498 string by apostroph.
9499 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9501 (tramp-file-name-for-operation): Add `call-process-region'.
9502 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9504 * net/tramp-compat.el (top): Do not autoload
9505 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9506 only when `start-file-process' is not bound.
9507 (tramp-advice-file-expand-wildcards): Do not use
9508 `tramp-handle-file-remote-p'.
9509 (tramp-compat-make-temp-file): Handle the case, that
9510 `make-temp-file' has no third argument EXTENSION.
9512 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9514 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9516 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9518 2010-06-11 Juri Linkov <juri@jurta.org>
9520 * finder.el (finder-known-keywords): Add keyword "vc"
9521 for version control.
9523 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9524 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9525 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9526 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9528 2010-06-11 Juri Linkov <juri@jurta.org>
9530 Move version control related files to the "vc" subdirectory.
9531 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9532 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9533 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9534 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9535 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9536 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9537 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9538 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9539 Move files to the "vc" subdirectory.
9541 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9543 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9546 2010-06-11 Stephen Eglen <stephen@gnu.org>
9548 * shell.el: Bind `shell-resync-dirs' to M-RET.
9550 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9552 * notifications.el: Move file from lisp/net, because it is
9553 supposed to talk locally to the user.
9555 2010-06-10 Julien Danjou <julien@danjou.info>
9557 * net/notifications.el (notifications-on-action-signal)
9558 (notifications-on-closed-signal): Pass notification id as first
9559 argument to the callback functions. Add docstrings.
9560 (notifications-notify): Fix docstring.
9562 2010-06-10 Glenn Morris <rgm@gnu.org>
9564 * emacs-lisp/authors.el (authors-ignored-files)
9565 (authors-valid-file-names): Add some files.
9567 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9569 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9570 merge conflict, giving preference to the emacs-23 version of the code.
9572 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9574 * emacs-lisp/advice.el (ad-compile-function):
9575 Define warning-suppress-types before we let-bind it (bug#6275).
9577 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9578 declare it, make it buffer-local and permanent-local (bug#6324).
9579 (vc-resynch-window): Adjust name.
9580 * vc-hooks.el (vc-find-file-hook): Adjust name.
9582 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9584 * net/notifications.el (notifications-notify): Fix docstring.
9586 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9588 Update to Unicode 6.0.0 beta.
9589 * international/charprop.el: Update copyright.
9590 * international/mule-cmds.el (ucs-names): Update character ranges.
9591 * international/uni-bidi.el:
9592 * international/uni-category.el:
9593 * international/uni-combining.el:
9594 * international/uni-comment.el:
9595 * international/uni-decimal.el:
9596 * international/uni-decomposition.el:
9597 * international/uni-digit.el:
9598 * international/uni-lowercase.el:
9599 * international/uni-mirrored.el:
9600 * international/uni-name.el:
9601 * international/uni-numeric.el:
9602 * international/uni-old-name.el:
9603 * international/uni-titlecase.el:
9604 * international/uni-uppercase.el: Regenerate.
9606 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9608 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9609 (smie-precs-precedence-table): Fix typo in docstring.
9611 * vc-mtn.el (log-edit-extract-headers): Declare function.
9613 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9615 * net/notifications.el (dbus-register-signal): Declare function.
9616 (notifications-notify): Fix typos and reflow docstring.
9618 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9620 Improve VC create/retrieve tag/branch.
9621 * vc.el (vc-create-tag): Do not read the directory name for VCs
9622 with repository revision granularity. Adjust the tag/branch
9623 prompt. Reset VC properties.
9624 (vc-retrieve-tag): Do not read the directory name for VCs
9625 with repository revision granularity. Reset VC properties.
9627 2010-06-09 Julien Danjou <julien@danjou.info>
9629 * net/notifications.el: New file.
9631 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9633 Add optional support for resetting VC properties.
9634 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9635 call vc-file-clearprops when true.
9636 (vc-resynch-buffer): Add new optional argument, pass it down.
9637 (vc-resynch-buffers-in-directory): Likewise.
9639 Improve support for special markup in the VC commit message.
9640 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9641 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9642 * vc-git.el (vc-git-checkin):
9643 * vc-bzr.el (vc-bzr-checkin): Likewise.
9645 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9647 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9648 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9650 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9652 * iimage.el: Remove images as soon as the underlying text is modified.
9653 (iimage-modification-hook): New function.
9654 (iimage-mode-buffer): Use it.
9656 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9658 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9659 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9660 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9661 (smie-indent-keyword): Add handling of open-paren keywords.
9662 (smie-indent-comment-continue): Don't assume comment-continue.
9664 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9666 * window.el (pop-to-buffer): Remove the conditional that
9667 compares new-window and old-window, so it will reselect
9668 the selected window unconditionally.
9669 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9671 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9673 * emacs-lisp/smie.el (smie-indent-offset-after)
9674 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9675 (smie-indent-after-keyword): Use them.
9676 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9677 (smie-indent-keyword): Tweak the black magic.
9678 (smie-indent-comment-continue): Strip comment-continue before use.
9679 (smie-indent-functions): Indent comments before keywords.
9681 2010-06-06 Juri Linkov <juri@jurta.org>
9683 * isearch.el (isearch-lazy-highlight-search): Fix looping
9684 by checking for empty match. This syncs this loop with the
9685 similar loop in `isearch-search'. (Bug#6362)
9687 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9689 * net/dbus.el (dbus-register-method): Declare function.
9690 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9691 (dbus-introspect): Doc fix.
9692 (dbus-event-bus-name, dbus-introspect-get-interface)
9693 (dbus-introspect-get-argument): Reflow docstrings.
9695 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9697 vc-log-incoming/vc-log-outgoing fixes for Git.
9698 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9699 incoming/outgoing logs.
9700 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9701 instead of vc-git-compute-remote.
9702 (vc-git-compute-remote): Remove.
9704 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9706 * term/common-win.el (x-colors): Add "dark green" and "dark
9707 turquoise" (Bug#6332).
9709 2010-06-04 Juri Linkov <juri@jurta.org>
9711 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9712 Instead of setting `replace' to t and replacing the same string
9713 with itself, don't do certain actions when
9714 kill-do-not-save-duplicates is non-nil and string is equal to car
9715 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9716 interprogram-paste strings to kill-ring, and don't push the input
9717 argument `string' to kill-ring.
9718 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9720 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9722 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9724 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9726 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9727 (tramp-gvfs-handler-mounted-unmounted)
9728 (tramp-gvfs-connection-mounted-p): Handle default-location.
9730 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9731 move files to trash.
9733 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9735 * international/mule-cmds.el (nonascii-insert-offset)
9736 (nonascii-translation-table): Add obsolescence information.
9738 * international/mule.el (make-translation-table-from-vector): Doc fix.
9740 2010-06-03 Glenn Morris <rgm@gnu.org>
9742 * desktop.el (desktop-clear-preserve-buffers):
9743 Add "*Warnings*" buffer. (Bug#6336)
9745 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9747 vc-log-incoming/vc-log-outgoing improvements for Git.
9748 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9750 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9752 Add bindings for vc-log-incoming and vc-log-outgoing.
9753 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9754 and vc-log-outgoing.
9755 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9756 and vc-log-outgoing.
9758 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9760 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9761 (rcirc-handler-366): Always sort nicknames.
9763 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9765 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9767 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9769 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9771 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9773 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9774 (rcirc-sort-nicknames-join): Avoid setq.
9776 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9778 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9779 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9780 (rcirc-handler-366): Use them.
9782 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9784 Split smie-indent-calculate into more manageable chunks.
9785 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9786 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9787 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9788 (smie-indent-exps): Extract from smie-indent-calculate.
9789 (smie-indent-functions): New var.
9790 (smie-indent-functions): Use them.
9792 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9794 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9795 (smie-indent-calculate): Simplify and cleanup.
9797 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9799 * net/tramp-gvfs.el (top): Require url-util.
9800 (tramp-gvfs-mount-point): Remove.
9801 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9803 (with-tramp-dbus-call-method): Format trace message.
9804 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9805 Implement backup call, when operation on local files fails.
9806 Use progress reporter. Flush properties of changed files.
9807 (tramp-gvfs-handle-make-directory): Make more traces.
9808 (tramp-gvfs-url-file-name): Hexify file name in url.
9809 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9810 into account for the resulting file name.
9811 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9812 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9813 (tramp-gvfs-handler-mounted-unmounted)
9814 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9815 attribute "default_location". Set "prefix" property.
9816 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9817 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9818 exists. Raise an error, if not (due to a corresponding answer
9819 "no" in interactive questions, for example).
9821 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9823 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9825 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9827 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9830 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9832 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9833 * vc-git.el (vc-git-compute-remote): New function.
9834 (vc-git-log-outgoing): Use it instead of hard coding a value.
9835 (vc-git-log-incoming): New function.
9837 Improve state updating for VC tag commands.
9838 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9839 to update the state of all buffers in the directory.
9841 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9843 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9845 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9846 `file-directory-p' to the filename part rather than to the whole text.
9848 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9850 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9852 2010-05-31 Drew Adams <drew.adams@oracle.com>
9854 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9856 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9858 * subr.el (momentary-string-display): Just use read-event to read
9859 the exit event (Bug#6238).
9861 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9863 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9865 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9867 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9868 Suggested by Eli Zaretskii <eliz@gnu.org>.
9870 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9872 * minibuffer.el (completion-file-name-table): Don't return a boundary
9873 past the end of `string' (bug#6299).
9874 (completion--file-name-table): Delegate to completion-file-name-table
9875 for the `boundaries' case.
9877 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9879 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9882 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9883 `path-separator', but maintain compatibility with Emacs 20.2.
9885 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9887 * server.el (server-process-filter): Receive parent-id argument
9889 (server-create-window-system-frame): New arg. Pass parent-id as
9892 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9894 Bidi-sensitive word movement with arrow keys.
9895 * subr.el (right-arrow-command, left-arrow-command): Move to
9898 * bindings.el (right-char, left-char): Move from subr.el and
9899 rename from right-arrow-command and left-arrow-command.
9900 (right-word, left-word): New functions.
9901 (global-map) <right>: Bind to right-char.
9902 (global-map) <left>: Bind to left-char.
9903 (global-map) <C-right>: Bind to right-word.
9904 (global-map) <C-left>: Bind to left-word.
9906 * ls-lisp.el (ls-lisp-classify-file): New function.
9907 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9908 (ls-lisp-classify): Call ls-lisp-classify-file.
9909 (insert-directory): Remove blanks from switches.
9911 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9913 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9914 (ansi-color-drop-regexp): New constant.
9915 (ansi-color-apply, ansi-color-filter-region)
9916 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9917 (ansi-color-apply): Build string list before calling concat.
9919 2010-05-28 Juri Linkov <juri@jurta.org>
9921 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9922 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9925 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9927 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9928 to ignored backtrace functions.
9929 (with-progress-reporter): Expand docstring.
9930 (tramp-handle-delete-file): Implement TRASH argument.
9931 (tramp-get-remote-trash): New defun.
9933 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9935 * net/tramp-compat.el (tramp-compat-delete-file):
9936 Use `symbol-value' for backward compatibility.
9938 * net/tramp.el (tramp-handle-make-symbolic-link)
9940 (tramp-do-copy-or-rename-file-via-buffer)
9941 (tramp-do-copy-or-rename-file-directly)
9942 (tramp-do-copy-or-rename-file-out-of-band)
9943 (tramp-handle-process-file, tramp-handle-call-process-region)
9944 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9945 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9946 (tramp-delete-temp-file-function): Use `delete-file' instead
9947 of `tramp-compat-delete-file'.
9949 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9950 (tramp-fish-handle-make-symbolic-link)
9951 (tramp-fish-handle-process-file): Use `delete-file' instead
9952 of `tramp-compat-delete-file'.
9954 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9955 Use `delete-file' instead of `tramp-compat-delete-file'.
9957 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
9958 `delete-file' instead of `tramp-compat-delete-file'.
9960 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9961 Use `delete-file' instead of `tramp-compat-delete-file'.
9963 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9964 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9965 (tramp-smb-handle-write-region): Use `delete-file' instead of
9966 `tramp-compat-delete-file'.
9967 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9969 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9971 * dired.el (dired-delete-file): New arg TRASH.
9972 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9973 (dired-do-flagged-delete, dired-do-delete): Use trash.
9975 * speedbar.el (speedbar-item-delete): Allow trashing.
9977 * files.el (delete-directory): New arg TRASH.
9979 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9980 (ange-ftp-rename-remote-to-remote)
9981 (ange-ftp-rename-local-to-remote)
9982 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9983 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9985 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9988 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9989 handle new TRASH arg of `delete-file'.
9991 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9992 (tramp-handle-make-symbolic-link, tramp-handle-load)
9993 (tramp-do-copy-or-rename-file-via-buffer)
9994 (tramp-do-copy-or-rename-file-directly)
9995 (tramp-do-copy-or-rename-file-out-of-band)
9996 (tramp-handle-process-file, tramp-handle-call-process-region)
9997 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9998 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9999 (tramp-delete-temp-file-function): Use null TRASH arg in
10000 tramp-compat-delete-file call.
10002 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10003 (tramp-fish-handle-delete-file)
10004 (tramp-fish-handle-make-symbolic-link)
10005 (tramp-fish-handle-process-file): Use null TRASH arg in
10006 `tramp-compat-delete-file' call.
10008 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10009 arg in `tramp-compat-delete-file' call.
10011 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10012 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10013 `tramp-compat-delete-file' call.
10015 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10016 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10017 `tramp-compat-delete-file' call.
10019 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10020 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10021 (tramp-smb-handle-write-region): Use null TRASH arg in
10022 tramp-compat-delete-file call.
10023 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10024 (tramp-smb-handle-delete-file): Rename arg.
10026 * diff.el (diff-sentinel):
10027 * epg.el (epg--make-temp-file, epg-decrypt-string)
10028 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10029 * jka-compr.el (jka-compr-partial-uncompress)
10030 (jka-compr-call-process, jka-compr-write-region):
10031 * server.el (server-sentinel): Remove optional arg from
10032 delete-file, reverting 2010-05-03 change.
10034 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10036 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10037 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10039 2010-05-27 Kenichi Handa <handa@m17n.org>
10041 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10042 element of GSTRING is nil.
10044 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10046 * emacs-lisp/smie.el (smie-forward-token-function)
10047 (smie-backward-token-function): New vars.
10048 (smie-backward-sexp, smie-forward-sexp)
10049 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10050 (smie-default-backward-token): Rename from smie-backward-token and
10052 (smie-default-forward-token): Rename from smie-forward-token and
10054 (smie-next-sexp): Handle nil results from next-token.
10055 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10057 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10059 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10060 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10062 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10064 * htmlfontify.el (hfy-face-resolve-face): New function.
10065 (hfy-face-to-style): Use it (Bug#6279).
10067 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10069 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10070 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10072 2010-05-26 Glenn Morris <rgm@gnu.org>
10074 * emulation/edt.el (edt-load-keys): Use locate-library.
10076 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10078 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10079 (log-edit-changelog-entries): Doc fix.
10080 (log-edit-changelog-insert-entries): Args changed.
10081 Rename relative filenames in ChangeLog entries. Delete tabs.
10082 (log-edit-insert-changelog-entries): Reorganize return value of
10083 `log-edit-changelog-entries' to pass filenames to
10084 log-edit-changelog-insert-entries.
10086 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10088 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10089 `image-dired-dired-insert-marked-thumbs' to
10090 `image-dired-dired-toggle-marked-thumbs'.
10092 * image-dired.el: Require cl when compiling.
10093 (image-dired-dired-toggle-marked-thumbs): Rename from
10094 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10095 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10096 to 'no-dir. Skip files whose names don't match
10097 `image-file-name-regexp'. When file has a thumbnail overlay,
10098 delete it. (Bug#5270)
10100 2010-05-25 Juri Linkov <juri@jurta.org>
10102 * image-mode.el (image-mode): Add image-after-revert-hook to
10104 (image-after-revert-hook): New function. (Bug#5669)
10106 2010-05-25 Juri Linkov <juri@jurta.org>
10108 * image.el (image-animated-p): When delay between animated images
10109 is 0, set it to 10 (0.1 sec). (Bug#6258)
10111 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10113 * net/tramp.el (tramp-handle-insert-directory): Don't use
10114 `forward-word', its default syntax could be changed.
10116 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10118 * net/tramp.el (tramp-progress-reporter-update): New defun.
10119 (with-progress-reporter): Use it.
10120 (tramp-process-actions):
10121 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10122 Preserve current message, in order to let progress reporter continue
10123 afterwards. (Bug#6257)
10125 2010-05-25 Glenn Morris <rgm@gnu.org>
10127 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10130 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10132 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10133 (rcirc-default-full-name): Change to "unknown".
10134 (rcirc-user-name-history): Add variable.
10136 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10137 Jonathan Rockway <jon@jrock.us>
10139 * net/rcirc.el (rcirc-server-alist): Add :pass.
10140 (rcirc): When prompting for connection parameters, also prompt for
10141 username and password.
10142 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10143 value to server when connecting.
10145 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10147 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10148 (smie-merge-prec2s): Pass the tables as separate args.
10149 (smie-bnf-precedence-table): Adjust call accordingly.
10150 (smie-prec2-levels): Set levels at the end.
10152 Replace Lisp calls to delete-backward-char by delete-char.
10153 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10154 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10155 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10156 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10157 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10158 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10159 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10160 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10161 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10162 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10163 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10164 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10165 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10166 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10167 delete-backward-char by calls to delete-char.
10169 2010-05-25 Kenichi Handa <handa@m17n.org>
10171 * language/hebrew.el (hebrew-shape-gstring): New function.
10172 Register it in composition-function-table for all Hebrew combining
10175 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10177 * epa.el (epa--select-keys): Don't explicitly delete the window since
10178 that can fail (e.g. sole window in frame). Use dedication instead.
10180 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10182 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10184 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10186 * image.el (image-refresh): Define as an alias for image-flush.
10188 * image-mode.el (image-toggle-display-image): Caller changed.
10190 2010-05-21 Juri Linkov <juri@jurta.org>
10192 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10193 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10194 whitespace, call wildcard-to-regexp on substrings and concat them
10195 with "\\|". (Bug#6114)
10197 2010-05-21 Alan Mackenzie <acm@muc.de>
10199 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10200 Replace parameter `here' with `here-' and `here-plus', which sandwich
10201 any pertinent CPP construct.
10202 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10203 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10204 CPP construct from taking part in the scanning.
10206 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10208 * net/tramp.el (tramp-do-copy-or-rename-file)
10209 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10210 Tune `with-progress-reporter' messages.
10211 (tramp-handle-vc-registered):
10212 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10213 (tramp-fish-handle-insert-file-contents)
10214 (tramp-fish-maybe-open-connection):
10215 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10216 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10217 (tramp-imap-handle-insert-file-contents)
10218 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10220 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10222 * add-log.el (change-log-font-lock-keywords):
10223 Highlight all authors in multi-author entries.
10225 * smerge-mode.el (smerge-refine-ignore-whitespace)
10226 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10227 Fix typos in docstrings.
10228 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10230 2010-05-21 Glenn Morris <rgm@gnu.org>
10232 * progmodes/fortran.el (fortran-mode):
10233 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10235 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10236 having a relative path in src/Makefile.in.
10238 2010-05-20 Kevin Ryde <user42@zip.com.au>
10240 * help-mode.el (help-make-xrefs): For Info node links turn
10241 newlines into spaces. Link node names with newlines are matched
10242 by help-xref-info-regexp and buttonized, this change ensures they
10243 can be followed successfully with RET. (Bug#6206)
10245 2010-05-20 Juri Linkov <juri@jurta.org>
10247 * locate.el (locate): Use pop-to-buffer instead of
10248 switch-to-buffer-other-window. (Bug#6204)
10250 2010-05-20 Juri Linkov <juri@jurta.org>
10252 * replace.el (replace-highlight): Fix lazy-highlighting
10253 for `M-s w str M-% str RET'.
10255 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10257 * isearch.el (isearch-yank-word-or-char): Pull next subword
10258 when `subword-mode' is activated. (Bug#6220)
10260 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10262 * isearch.el (isearch-update-post-hook): New hook.
10263 (isearch-update): Use the new hook. (Bug#6225)
10265 2010-05-20 Juri Linkov <juri@jurta.org>
10267 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10268 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10271 2010-05-20 Juri Linkov <juri@jurta.org>
10273 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10276 2010-05-20 Juri Linkov <juri@jurta.org>
10278 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10279 FILE-NAME to read from the minibuffer when called interactively
10280 with prefix argument instead of using buffer-file-name.
10281 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10283 * dired.el: Update autoloads.
10285 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10287 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10288 nxml-finish-element, for consistency with SGML mode.
10290 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10291 octave-close-block.
10293 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10295 * composite.el: Require cl when compiling.
10296 (reference-point-alist, compose-gstring-for-graphic)
10297 (compose-gstring-for-terminal): Fix typos in docstrings.
10299 2010-05-19 Juri Linkov <juri@jurta.org>
10301 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10302 set-window-parameter.
10304 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10306 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10308 (tramp-maybe-open-connection): Use it.
10310 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10312 * simple.el (move-end-of-line): Make sure we are at line beginning
10313 before backing up to end of previous line.
10315 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10317 * password-cache.el (password-cache-remove): Fix docstring.
10319 * net/secrets.el: Autoload the widget functions.
10320 (secrets-search-items, secrets-create-item)
10321 (secrets-get-attributes, secrets-expand-item): Attributes will be
10322 stored on the password database without leading ":", as all other
10323 clients do as well.
10324 (secrets-mode): Fix docstring.
10325 (secrets-show-secrets): Provide it as autoloaded command only when
10326 D-Bus support is available. Check existence of Secret Service API.
10328 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10330 * indent.el (indent-region): Deactivate region (bug#6200).
10332 2010-05-19 Glenn Morris <rgm@gnu.org>
10334 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10336 2010-05-19 Kenichi Handa <handa@m17n.org>
10338 * composite.el: Register compose-gstring-for-graphic in
10339 composition-function-table only for combining characters (Mn, Mc, Me).
10341 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10343 * calc/calc-trail.el (calc-trail-isearch-forward)
10344 (calc-trail-isearch-backward): Ensure that the new window
10345 point is set correctly.
10347 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10349 * subr.el (read-quoted-char): Resolve modifiers after key
10350 remapping (bug#6212).
10352 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10354 Add visualization code for secrets.
10355 * net/secrets.el (secrets-mode): New major mode.
10356 (secrets-show-secrets, secrets-show-collections)
10357 (secrets-expand-collection, secrets-expand-item)
10358 (secrets-tree-widget-after-toggle-function)
10359 (secrets-tree-widget-show-password): New defuns.
10361 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10363 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10364 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10365 handled in smie-next-sexp.
10366 (smie-indent-calculate): Provide a starting indentation (so the
10367 recursion is well-founded ;-).
10369 Fix handling of non-associative equal levels.
10370 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10371 when it's not needed.
10372 (smie-op-left, smie-op-right): New functions.
10373 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10374 Better handle equal levels to distinguish the associative case from
10375 the "multi-keyword construct" case.
10376 (smie-backward-sexp, smie-forward-sexp): Use it.
10378 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10380 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10382 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10383 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10385 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10387 Provide a simple generic indentation engine and use it for Prolog.
10388 * emacs-lisp/smie.el: New file.
10389 * progmodes/prolog.el (prolog-smie-op-levels)
10390 (prolog-smie-indent-rules): New var.
10391 (prolog-mode-variables): Use them to configure SMIE.
10392 (prolog-indent-line, prolog-indent-level): Remove.
10394 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10396 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10397 order before computing the averages.
10399 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10401 * calc/calc-vec.el (calc-histogram):
10402 (calcFunc-histogram): Allow vectors as inputs.
10403 (math-vector-avg): New function.
10405 * calc/calc-ext.el (math-group-float): Have the number of digits
10406 being grouped depend on the radix (Bug#6189).
10408 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10410 * version.el (emacs-copyright, emacs-version): Don't define here,
10411 now that emacs.c defines it.
10413 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10415 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10416 "Describe Language Environment" menu item.
10418 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10420 Bidi-sensitive movement with arrow keys.
10421 * subr.el (right-arrow-command, left-arrow-command): New functions.
10423 * bindings.el (global-map): Bind them to right and left arrow keys.
10425 Don't override standard definition of convert-standard-filename.
10426 * files.el (convert-standard-filename):
10427 Call w32-convert-standard-filename and dos-convert-standard-filename on
10428 the corresponding systems.
10430 * w32-fns.el (w32-convert-standard-filename): Rename from
10431 convert-standard-filename. Doc fix.
10433 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10434 (convert-standard-filename): Don't defalias.
10435 (register-name-alist, make-register, register-value)
10436 (set-register-value, intdos): Obsolete aliases for the
10437 corresponding dos-* functions and variables.
10438 (dos-intdos): Add a doc string.
10440 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10442 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10443 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10444 (math-compose-tex-func):
10445 * calc/calccomp.el (math-compose-expr):
10446 * calc/calc-ext.el (math-format-flat-expr-fancy):
10447 * calc/calc-store.el (calc-read-var-name):
10448 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10450 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10451 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10452 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10453 (math-standard-units): Add units.
10455 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10457 * progmodes/asm-mode.el (asm-mode):
10458 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10460 * pcomplete.el (pcomplete-completions-at-point): New function,
10461 extracted from pcomplete-std-complete.
10462 (pcomplete-std-complete): Use it.
10464 2010-05-15 Glenn Morris <rgm@gnu.org>
10466 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10467 Remove references to CVS, RCS and Old directories.
10469 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10471 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10474 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10476 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10477 (sh-mode-syntax-table): Give it a default value instead.
10478 (sh-header-marker): Make buffer-local.
10479 (sh-mode): Move make-local-variable to the corresponding setq.
10480 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10481 Use complete-with-action.
10483 * simple.el (prog-mode): New (abstract) major mode.
10484 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10485 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10487 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10489 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10490 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10491 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10492 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10493 (sql-escape-newlines-filter, sql-input-sender)
10494 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10496 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10498 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10500 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10501 latex-open-block and C-c / to latex-close-block.
10503 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10504 and C-c C-e to sgml-close-tag.
10506 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10508 * net/tramp.el (with-progress-reporter): Create reporter object
10509 only when the message would be displayed. Handle nested calls.
10510 (tramp-handle-load, tramp-handle-file-local-copy)
10511 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10512 (tramp-maybe-send-script, tramp-find-shell):
10513 Use `with-progress-reporter'.
10514 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10517 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10518 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10519 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10520 Use `with-progress-reporter'.
10522 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10524 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10525 process everytime when spellchecking from the minibuffer (bug#6143).
10527 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10529 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10531 * dos-fns.el: Add "dos-" prefix for namespace control.
10532 (convert-standard-filename): Define as alias for
10533 dos-convert-standard-filename but only if applicable.
10535 2010-05-12 Alan Mackenzie <acm@muc.de>
10537 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10538 Push the mark at the start of these functions when appropriate.
10540 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10542 * minibuffer.el (completion-cycle-threshold): New custom var.
10543 (completion--do-completion): Use it.
10544 (minibuffer-complete): Use cycling if appropriate.
10546 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10548 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10549 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10551 2010-05-11 Juri Linkov <juri@jurta.org>
10553 * scroll-all.el (scroll-all-check-to-scroll):
10554 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10556 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10558 * iimage.el (iimage-mode-map): Move initialization into declaration.
10559 (iimage-mode-buffer): Use with-silent-modifications.
10560 Simplify calling convention. Adjust callers.
10561 (iimage-mode): Don't run hook redundantly.
10563 * minibuffer.el (completion-pcm--pattern->regex):
10564 Fix last change (bug#6160).
10566 2010-05-10 Juri Linkov <juri@jurta.org>
10568 Remove nodes visited during Isearch from the Info history.
10569 * info.el (Info-isearch-initial-history)
10570 (Info-isearch-initial-history-list): New variables.
10571 (Info-isearch-start): Record initial values of
10572 Info-isearch-initial-history and Info-isearch-initial-history-list.
10573 Add Info-isearch-end to isearch-mode-end-hook.
10574 (Info-isearch-end): New function.
10576 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10578 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10579 format string, in order to work around a bug in pdksh.
10580 Reported by Gilles Pion <gpion@lfdj.com>.
10581 (tramp-handle-verify-visited-file-modtime): Do not send a command
10582 when the connection is not established.
10583 (tramp-handle-set-file-times): Simplify the check for utc.
10585 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10587 Fix use of `filter-buffer-substring' (rework previous change).
10588 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10589 (cua-repeat-replace-region):
10590 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10591 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10592 (cua-cut-region-to-global-mark): Use it.
10594 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10596 * progmodes/sql.el: Version 2.1.
10597 (sql-product-alist): Redesign structure of product info.
10598 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10599 (sql-port, sql-port-history): New variables.
10600 (sql-interactive-product): New variable.
10601 (sql-send-terminator): New variable.
10602 (sql-imenu-generic-expression): Add "Types" imenu entry.
10603 (sql-oracle-login-params, sql-sqlite-login-params)
10604 (sql-mysql-login-params, sql-solid-login-params)
10605 (sql-sybase-login-params, sql-informix-login-params)
10606 (sql-ingres-login-params, sql-ms-login-params)
10607 (sql-postgres-login-params, sql-interbase-login-params)
10608 (sql-db2-login-params, sql-linter-login-params)
10609 (sql-oracle-scan-on): New variables.
10610 (sql-mode-map): Add C-c C-i to start interactive mode.
10611 (sql-mode-menu): Update existing menu entries.
10612 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10613 (sql-mode-oracle-font-lock-keywords)
10614 (sql-mode-postgres-font-lock-keywords)
10615 (sql-mode-ms-font-lock-keywords)
10616 (sql-mode-sybase-font-lock-keywords)
10617 (sql-mode-informix-font-lock-keywords)
10618 (sql-mode-interbase-font-lock-keywords)
10619 (sql-mode-ingres-font-lock-keywords)
10620 (sql-mode-solid-font-lock-keywords)
10621 (sql-mode-mysql-font-lock-keywords)
10622 (sql-mode-sqlite-font-lock-keywords)
10623 (sql-mode-db2-font-lock-keywords)
10624 (sql-mode-linter-font-lock-keywords): Update initialization to
10625 reduce run-time complexity.
10626 (sql-add-product, sql-del-product): New functions.
10627 (sql-set-product-feature, sql-get-product-feature): New functions.
10628 (sql-product-font-lock): Update product API.
10629 (sql-add-product-keywords): New function.
10630 (sql-highlight-product): Update product API.
10631 (sql-help-list-products): New function.
10632 (sql-help): Dynamically lists free and non-free products.
10633 (sql-get-login): Correct bug in handling history and added
10635 (sql-copy-column): Copy without properties.
10636 (sqli-input-sender): Apply filters to SQLi input.
10637 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10638 Implement as a filter.
10639 (sql-escape-newlines-filter): Implement as a filter.
10640 (sql-remove-tabs-filter): New function.
10641 (sql-send-magic-terminator): New function.
10642 (sql-send-string): Implement magic terminator.
10643 (sql-send-region): Use `sql-send-string'.
10644 (sql-interactive-mode): Use product API.
10645 (sql-product-interactive): Use product API.
10646 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10647 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10648 (sql-db2, sql-linter): Use `sql-product-interactive'.
10649 (sql-connect): New function.
10650 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10651 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10652 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10653 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10656 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10658 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10659 New custom variable.
10660 (completion-pcm--string->pattern): Use it.
10661 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10662 Make it handle any symbol as `any'.
10663 (completion-pcm--merge-completions): Extract common suffix for the new
10664 `prefix' symbol as well.
10665 (completion-substring--all-completions): Use the new `prefix' symbol.
10667 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10669 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10671 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10672 (tramp-compat-funcall): New defmacro.
10673 (tramp-compat-line-beginning-position)
10674 (tramp-compat-line-end-position)
10675 (tramp-compat-temporary-file-directory)
10676 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10677 (tramp-compat-copy-file, tramp-compat-copy-directory)
10678 (tramp-compat-delete-file, tramp-compat-delete-directory)
10679 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10680 * net/tramp.el (top, with-progress-reporter)
10681 (tramp-rfn-eshadow-setup-minibuffer)
10682 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10683 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10684 (tramp-completion-mode-p, tramp-check-for-regexp)
10685 (tramp-open-connection-setup-interactive-shell)
10686 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10687 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10688 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10689 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10690 (tramp-reporter-dump-variable, tramp-load-report-modules)
10691 (tramp-append-tramp-buffers)
10692 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10694 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10696 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10698 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10699 buffer-modtime. Adjust users.
10701 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10703 * international/mule.el (auto-coding-alist): Only purecopy
10704 car of each item, not the whole list (Bug#6083).
10706 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10708 * progmodes/js.el (js-mode): Make paragraph variables local before
10709 calling c-setup-paragraph-variables (Bug#6071).
10711 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10713 * composite.el (compose-region, reference-point-alist): Fix typos
10714 in the doc strings.
10716 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10718 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10719 gnuplot's "set" command.
10721 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10723 * abbrev.el (last-abbrev-text): Doc fix.
10724 (abbrev-prefix-mark): Don't escape parenthesis.
10726 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10728 * composite.el (find-composition): Doc fix.
10730 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10732 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10733 (sql-oracle-program, sql-sqlite-options)
10734 (sql-query-placeholders-and-send): Doc fixes.
10735 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10736 (sql-imenu-generic-expression, sql-buffer)
10737 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10738 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10739 (sql-mode-sybase-font-lock-keywords)
10740 (sql-mode-informix-font-lock-keywords)
10741 (sql-mode-interbase-font-lock-keywords)
10742 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10743 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10744 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10745 (sql-product-feature, sql-highlight-product)
10746 (comint-line-beginning-position, sql-rename-buffer)
10747 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10748 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10749 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10750 Fix typos in docstrings.
10752 2010-05-08 Juri Linkov <juri@jurta.org>
10754 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10755 property instead of `invisible' and `after-string' (bug#5998).
10757 2010-05-08 Juri Linkov <juri@jurta.org>
10759 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10761 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10763 * filecache.el (file-cache-add-directory-list)
10764 (file-cache-add-directory-recursively): Fix typos in docstrings.
10766 2010-05-08 Kenichi Handa <handa@m17n.org>
10768 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10769 (gujarati-composable-pattern): Fix typo.
10771 2010-05-08 Kenichi Handa <handa@m17n.org>
10773 * language/indian.el (oriya-composable-pattern)
10774 (tamil-composable-pattern, malayalam-composable-pattern):
10775 Add two-part vowels to "v" (vowel sign).
10777 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10779 * files.el (copy-directory): Handle symlinks (Bug#5982).
10781 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10783 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10784 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10787 2010-05-08 Glenn Morris <rgm@gnu.org>
10789 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10791 * minibuffer.el (completion-at-point): Doc fix.
10793 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10795 * electric.el (Electric-command-loop): Minor tweak.
10797 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10798 better with dedicated windows.
10800 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10802 * Version 23.2 released.
10804 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10805 Stefan Monnier <monnier@iro.umontreal.ca>
10807 Highlight vendor specific properties.
10808 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10809 (css-proprietary-property): New face.
10810 (css-font-lock-keywords): Use them.
10812 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10814 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10816 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10818 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10819 * files.el (auto-mode-alist): Remove redundant entries.
10821 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10822 * simple.el (auto-save-mode): Move from files.el.
10823 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10825 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10827 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10829 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10831 * mail/binhex.el (binhex-decode-region-internal)
10832 * mail/uudecode.el (uudecode-decode-region-internal)
10833 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10834 (dns-read-type, dns-query)
10835 * pgg-parse.el (pgg-parse-armor)
10836 * pgg.el (pgg-verify-region)
10837 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10840 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10842 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10844 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10846 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10847 * emulation/cua-base.el (cua-repeat-replace-region):
10848 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10849 (cua-cut-region-to-global-mark):
10850 Remove text properties with `set-text-properties'.
10852 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10854 * net/tramp.el (top, with-progress-reporter):
10855 Use `symbol-function' inside `funcall'.
10857 * net/tramp-compat.el (tramp-compat-file-attributes)
10858 (tramp-compat-delete-file, tramp-compat-delete-directory):
10859 Handle only `wrong-number-of-arguments' error.
10861 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10862 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10865 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10867 * minibuffer.el (completion--sreverse, completion--common-suffix):
10869 (completion-pcm--merge-completions): Extract common suffix when safe.
10871 * emacs-lisp/easy-mmode.el (define-minor-mode):
10872 Make :variable more flexible.
10873 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10875 2010-05-05 Juri Linkov <juri@jurta.org>
10877 Add `slow' and `history' tags to the desktop data.
10879 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10880 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10881 (Info-finder-find-node): Require `finder.el' to be able
10882 to restore node from the desktop.
10883 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10884 data `Info-history' and `slow' tag in the assoc list.
10885 (Info-restore-desktop-buffer): Don't restore nodes with the
10886 `slow' tag. Restore `Info-history'.
10888 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10890 Add FORCE argument to `delete-file'.
10892 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10893 forcing to delete the temporary file.
10894 (ange-ftp-delete-file): Add FORCE arg.
10895 (ange-ftp-rename-remote-to-remote)
10896 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10897 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10898 Force file deletion.
10900 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10902 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10903 (tramp-handle-make-symbolic-link, tramp-handle-load)
10904 (tramp-do-copy-or-rename-file-via-buffer)
10905 (tramp-do-copy-or-rename-file-directly)
10906 (tramp-do-copy-or-rename-file-out-of-band)
10907 (tramp-handle-process-file, tramp-handle-call-process-region)
10908 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10909 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10910 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10912 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10913 (tramp-fish-handle-make-symbolic-link)
10914 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10916 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10917 Use `tramp-compat-delete-file'.
10919 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10920 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10922 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10923 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10925 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10926 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10927 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10928 Use `tramp-compat-delete-file'.
10930 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10933 * subr.el (add-minor-mode): Use push.
10934 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10935 * emulation/edt.el (edt-select-mode): Simplify.
10937 Use define-minor-mode in more cases.
10938 * term/tvi970.el (tvi970-set-keypad-mode):
10939 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10940 (normal-erase-is-backspace-mode):
10941 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10942 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10943 (get-scroll-bar-mode): New function.
10944 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10946 Use define-minor-mode for less obvious cases.
10947 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10948 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10949 * international/iso-ascii.el (iso-ascii-mode):
10950 * frame.el (auto-raise-mode, auto-lower-mode):
10951 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10953 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10955 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10956 in order to see error messages for failed logins.
10958 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10960 * diff.el (diff-sentinel):
10962 * epg.el (epg--make-temp-file, epg-decrypt-string)
10963 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10965 * jka-compr.el (jka-compr-partial-uncompress)
10966 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10968 * server.el (server-sentinel): Use delete-file's new FORCE arg
10971 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10973 Use define-minor-mode where applicable.
10974 * view.el (view-mode):
10975 * type-break.el (type-break-query-mode)
10976 (type-break-mode-line-message-mode):
10977 * textmodes/reftex.el (reftex-mode):
10978 * term/vt100.el (vt100-wide-mode):
10979 * tar-mode.el (tar-subfile-mode):
10980 * savehist.el (savehist-mode):
10981 * ibuf-ext.el (ibuffer-auto-mode):
10982 * composite.el (auto-composition-mode):
10983 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10984 Use define-minor-mode.
10985 (vhdl-mode): Use static mode-line format.
10986 (vhdl-mode-line-update): Delete.
10987 (vhdl-create-mode-menu, vhdl-activate-customizations)
10988 (vhdl-hs-minor-mode): Don't bother calling it.
10990 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10992 * simple.el (with-wrapper-hook): Move.
10993 (buffer-substring-filters): Mark obsolete.
10994 (filter-buffer-substring-functions): New variable.
10995 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10997 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10998 Michael Albinus <michael.albinus@gmx.de>
11000 Implement compression for inline methods.
11002 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11003 (tramp-copy-size-limit): Allow also nil.
11004 (tramp-inline-compress-commands): New defconst.
11005 (tramp-find-inline-compress, tramp-get-inline-compress)
11006 (tramp-get-inline-coding): New defuns.
11007 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11008 replaced by `tramp-get-inline-coding'.
11009 (tramp-handle-file-local-copy, tramp-handle-write-region)
11010 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11012 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11014 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11015 Remove unused functions.
11017 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11018 Set find-tag-default-function as a variable rather than a property.
11020 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11021 * progmodes/etags.el (tags-completion-at-point-function):
11022 Remove left over interactive spec. Add autoloading stub.
11023 (complete-tag): Use tags-completion-at-point-function.
11025 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11027 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11029 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11031 * ido.el (ido-init-completion-maps): Remove C-v binding.
11032 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11034 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11036 * minibuffer.el (tags-completion-at-point-function): New function.
11037 (completion-at-point-functions): Use it.
11039 * progmodes/etags.el (complete-tag): Revert last change.
11041 2010-04-29 Alan Mackenzie <acm@muc.de>
11043 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11044 off-by-one error (in end of macro position).
11046 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11048 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11049 firefox is absent. Don't autoload.
11050 (browse-url-galeon-program): Don't autoload.
11052 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11054 * bindings.el (complete-symbol): Move into minibuffer.el.
11056 * minibuffer.el (complete-tag): Move from etags.el. If tags
11057 completion cannot be performed, return nil instead of signalling
11059 (completion-at-point): Make it an alias for complete-symbol.
11060 (complete-symbol): Move from bindings.el, and replace with the
11061 body of completion-at-point.
11063 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11065 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11067 * net/tramp.el (tramp-remote-selinux-p): New defun.
11068 (tramp-handle-file-selinux-context)
11069 (tramp-handle-set-file-selinux-context): Use it.
11071 2010-04-28 Sam Steingold <sds@gnu.org>
11073 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11074 `safe-local-variable' if the value is a string or a symbol with
11075 the property `bug-reference-url-format'.
11077 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11079 * progmodes/bug-reference.el (bug-reference-url-format):
11080 Revert 2010-04-27 change due to security risk.
11082 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11084 Make it possible to locally disable a globally enabled mode.
11085 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11086 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11087 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11088 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11089 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11090 that subsequent hooks get a chance to disable it.
11092 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11094 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11095 Avoid re-enabling a minor mode after the user turned the minor mode
11096 off if MODE-enable-in-buffers is run twice (typically once from
11097 fundamental-mode's after-change-major-mode-hook and a second time from
11098 run-mode-hook's own after-change-major-mode-hook).
11100 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11102 2010-04-27 Sam Steingold <sds@gnu.org>
11104 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11105 `safe-local-variable' if the value is a string or a function, as
11106 documented and implemented on 2010-04-02.
11108 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11110 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11111 when method is 'kill.
11113 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11115 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11116 condition in default directory check.
11117 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
11118 Kill ispell process when killing its associated buffer.
11120 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11122 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11123 but we aren't using it.
11125 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11127 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11128 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11130 2010-04-24 Glenn Morris <rgm@gnu.org>
11132 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11133 Ignore VCS-ignore files, and deleted nextstep preferences files.
11134 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11135 (authors-ambiguous-files): New list.
11136 (authors-valid-file-names): Add some deleted files.
11137 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11138 (authors-disambiguate-file-name): New function. (Bug#5501)
11139 (authors-canonical-file-name): Doc fix.
11140 Don't warn about obsolete files.
11141 (authors-canonical-file-name, authors-scan-el):
11142 Use authors-disambiguate-file-name.
11144 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11145 Add autoload cookies.
11146 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11147 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11148 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11149 They have definitions / compiler macros in cl.el.
11150 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11151 Replace manual autoloads with generated ones.
11152 (htmlfontify-unload-rgb-file): Remove autoload.
11153 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11155 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11157 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11158 (byte-compile-setq-default): Optimize for the
11159 single-var case and don't call byte-compile-form in this case to avoid
11160 inf-loop with byte-compile-set-default.
11162 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11164 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11166 Implement SELINUX backends.
11168 * net/tramp.el (tramp-file-name-handler-alist):
11169 Add `file-selinux-context' and `set-file-selinux-context'.
11170 (tramp-handle-file-selinux-context)
11171 (tramp-handle-set-file-selinux-context): New defuns.
11172 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11173 Handle PRESERVE-SELINUX-CONTEXT.
11175 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11176 Add `file-selinux-context' and `set-file-selinux-context'.
11177 (tramp-gvfs-handle-file-selinux-context)
11178 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11179 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11181 * net/ange-ftp.el (ange-ftp-copy-file):
11182 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11183 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11184 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11185 Add PRESERVE-SELINUX-CONTEXT.
11187 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11189 Synchronize with Tramp repository.
11191 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11192 (tramp-action-process-alive, tramp-action-out-of-band)
11193 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11194 (tramp-exists-file-name-handler): Fix docstring.
11195 (with-progress-reporter): New defmacro.
11196 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11197 (tramp-maybe-open-connection): Use it.
11199 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11201 Detect ssh 'ControlMaster' argument automatically in some cases.
11203 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11204 (tramp-default-method): Use it.
11206 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11208 * net/tramp.el (tramp-handle-copy-file): Add new optional
11209 parameter `preserve-selinux-context'.
11210 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11212 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11214 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11215 Ensure, that non remote files are still checked. Oops.
11217 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11221 * icomplete.el (icomplete-completions): Use `non-essential'.
11223 * net/tramp.el (tramp-connectable-p): New defun.
11224 (tramp-handle-expand-file-name)
11225 (tramp-completion-handle-file-name-all-completions)
11226 (tramp-completion-handle-file-name-completion): Use it.
11228 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11230 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11232 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11234 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11236 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11238 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11241 * info.el (info-tool-bar-map): Add labels.
11243 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11245 * cus-edit.el (custom-commands): Add labels for tool bar.
11246 (custom-buffer-create-internal, Custom-mode): Adjust for
11247 labels in custom-commands.
11249 * dynamic-setting.el: Renamed from font-setting.el.
11251 2010-04-21 John Wiegley <jwiegley@gmail.com>
11253 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11254 toggles the use of virtual buffers.
11255 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11256 (ido-toggle-virtual-buffers): New function.
11258 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11260 Use `define-derived-mode'; fix window selection; doc fixes.
11261 * play/tetris.el (tetris, tetris-update-speed-function)
11262 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11263 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11264 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11265 (tetris-pause-game): Fix typos in docstrings.
11266 (tetris-mode-map, tetris-null-map):
11267 Move initialization into declaration.
11268 (tetris-mode): Define with `define-derived-mode';
11269 set show-trailing-whitespace to nil.
11270 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11272 2010-04-21 Karel Klíč <kklic@redhat.com>
11274 * files.el (backup-buffer): Handle SELinux context, and return it
11275 if a backup was made by renaming.
11276 (backup-buffer-copy): Set SELinux context to the target file.
11277 (basic-save-buffer): Set SELinux context of the newly written file.
11278 (basic-save-buffer-1): Now it also returns any SELinux context.
11279 (basic-save-buffer-2): Set SELinux context of the newly created file,
11281 * net/tramp.el (tramp-file-name-for-operation):
11282 Add file-selinux-context.
11284 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11286 Make the log-edit comments use RFC822 format throughout.
11288 * vc.el (vc-checkin, vc-modify-change-comment):
11289 Adjust to new vc-start/finish-logentry.
11290 (vc-find-conflicted-file): New command.
11291 (vc-transfer-file): Adjust to new vc-checkin.
11292 (vc-next-action): Improve scoping.
11294 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11295 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11297 * vc-git.el (vc-git-log-edit-mode): Remove.
11298 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11299 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11301 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11302 (vc-start-logentry): Remove argument `extra'.
11303 (vc-finish-logentry): Remove extra args.
11305 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11306 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11307 (vc-bzr-conflicted-files): New function.
11309 * log-edit.el (log-edit-extra-flags)
11310 (log-edit-before-checkin-process): Remove.
11311 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11312 (log-edit-headers-alist): New var.
11313 (log-edit-header-contents-regexp): New const.
11314 (log-edit-match-to-eoh): New function.
11315 (log-edit-font-lock-keywords): Use them.
11316 (log-edit): Insert a "Summary:" header as default.
11317 (log-edit-mode): Mark font-lock rules as case-insensitive.
11318 (log-edit-done): Cleanup headers.
11319 (log-view-process-buffer): Remove.
11320 (log-edit-extract-headers): New function to replace it.
11322 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11324 * subr.el (default-direction-reversed): Remove obsolescence info.
11326 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11328 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11331 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11332 I.e. include text after point in the completion region.
11333 Also, return nil when we're not after/in a symbol.
11335 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11336 default enable-multibyte-characters.
11338 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11340 * international/mule.el: Help the user choose a valid coding-system.
11341 (read-buffer-file-coding-system): New function.
11342 (set-buffer-file-coding-system): Use it. Prompt the user if the
11343 coding-system cannot encode all the chars.
11345 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11346 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11347 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11348 Don't use *vc-bzr-shelve*.
11350 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11352 Fix the version number for added files.
11353 * vc-hg.el (vc-hg-working-revision): Check if the file is
11354 registered after hg parent fails (Bug#5961).
11356 2010-04-19 Glenn Morris <rgm@gnu.org>
11358 * htmlfontify.el (htmlfontify-buffer)
11359 (htmlfontify-copy-and-link-dir): Autoload entry points.
11361 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11363 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11364 name relative to the project root (Bug#5960).
11366 2010-04-19 Glenn Morris <rgm@gnu.org>
11368 * vc-git.el (vc-git-print-log): Doc fix.
11370 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11372 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11374 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11376 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11377 default settings (Bug#5928).
11379 2010-04-19 Glenn Morris <rgm@gnu.org>
11381 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11383 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11385 2010-04-19 Kenichi Handa <handa@m17n.org>
11387 * language/indian.el (malayalam-composable-pattern): Fix previous
11388 change (add U+0D4D "SIGN VIRAMA").
11389 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11390 (tamil-composable-pattern): Fix typo in the regexp.
11391 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11392 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11393 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11395 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11397 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11398 paragraph-separate (Bug#5821).
11400 2010-04-19 Juri Linkov <juri@jurta.org>
11402 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11404 * info.el (Info-find-node-2): Comment out code that skips
11406 (Info-mouse-follow-link): New command.
11407 (Info-link-keymap): New keymap.
11408 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11409 Return a string with links instead of inserting breadcrumbs
11410 to the Info buffer.
11411 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11412 Instead of putting the `invisible' text property over the Info
11413 header, make an overlay over the Info header with the `invisible'
11414 property and `after-string' set to the string returned by
11415 `Info-breadcrumbs'.
11417 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11419 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11420 Reported by monkey@sandpframing.com.
11422 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11424 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11425 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11426 available in the "keyseq cache" any more.
11428 * custom.el (defcustom): Add edebug spec.
11430 2010-04-18 Juri Linkov <juri@jurta.org>
11432 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11434 * view.el (view-file, view-buffer): Move test for special mode-class
11435 from view-file to view-buffer.
11437 * tar-mode.el (tar-extract): Turn if's into one cond
11438 like in arc-mode.el.
11440 2010-04-18 Juri Linkov <juri@jurta.org>
11442 Add 7z archive format support (bug#5475).
11444 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11445 (archive-7z-extract): New defcustom.
11446 (archive-find-type): Add magic string for 7z.
11447 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11448 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11449 `buffer' arg of `call-process'.
11450 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11451 call the function `archive-7z-extract' with the variable
11452 `archive-7z-extract' let-bound to `archive-zip-extract'.
11453 (archive-7z-summarize, archive-7z-extract): New functions.
11455 * international/mule.el (auto-coding-alist):
11456 * files.el (auto-mode-alist): Add 7z file extension.
11458 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11460 * loadup.el: Setup hash-cons for pure data.
11462 Fix duplicate entries in cedet's loaddefs.el files.
11463 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11464 Should make most file-local generated-autoload-file unnecessary.
11465 (print-readably): Silence warnings.
11466 (autoload-find-destination): Take load-name as an arg to make sure
11467 it's the same as the one that will be in the file.
11468 (autoload-generate-file-autoloads): Adjust to above changes.
11469 Try to make the dataflow a bit simpler.
11471 * cvs-status.el (cvs-refontify): Remove unused.
11473 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11475 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11477 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11478 twos-complement mode.
11480 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11482 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11483 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11484 (calc-inverse): Add "Option" to message, as appropriate.
11485 (calc-hyperbolic): Add "Option" to message, as appropriate.
11486 (calc-option, calc-is-option): New functions.
11488 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11489 (calc-option-prefix-help): New function.
11491 * calc/calc-misc.el (calc-help): Add "Option" entry.
11493 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11494 (calc-option-flag): New variable.
11495 (calc-do): Set `calc-option-flag to nil.
11496 (calc-set-mode-line): Add "Opt " as appropriate.
11498 2010-04-16 Juri Linkov <juri@jurta.org>
11500 Move scrolling commands from simple.el to window.el
11501 because their primitives are implemented in window.c.
11503 * simple.el (scroll-error-top-bottom)
11504 (scroll-up-command, scroll-down-command, scroll-up-line)
11505 (scroll-down-line, scroll-other-window-down)
11506 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11507 * window.el (scroll-error-top-bottom)
11508 (scroll-up-command, scroll-down-command, scroll-up-line)
11509 (scroll-down-line, scroll-other-window-down)
11510 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11511 Move from simple.el to window.el because their primitives are
11512 implemented in window.c.
11514 2010-04-16 Juri Linkov <juri@jurta.org>
11516 * isearch.el (isearch-lookup-scroll-key): Check both
11517 `isearch-scroll' and `scroll-command' properties.
11518 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11520 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11522 * simple.el (scroll-up-command, scroll-down-command)
11523 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11525 2010-04-15 Juri Linkov <juri@jurta.org>
11527 * simple.el (scroll-up-command, scroll-down-command)
11528 (scroll-up-line, scroll-down-line): Put `scroll-command'
11529 property on the these symbols. Remove them from
11530 `scroll-preserve-screen-position-commands'.
11532 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11533 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11534 Remove it from `scroll-preserve-screen-position-commands'.
11536 * isearch.el (isearch-allow-scroll): Doc fix.
11538 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11540 * net/tramp.el (tramp-error-with-buffer): Don't show the
11541 connection buffer when we are in completion mode.
11542 (tramp-file-name-handler): Catch the error for some operations
11543 when we are in completion mode. This gives the user the chance to
11544 correct the file name in the minibuffer.
11546 2010-04-15 Glenn Morris <rgm@gnu.org>
11548 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11550 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11552 Simplify by using `define-derived-mode'.
11553 * info.el (Info-mode):
11554 * calendar/todo-mode.el (todo-mode):
11555 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11556 (gomoku-mode-map): Move initialization into declaration.
11558 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11561 * ido.el (ido-file-name-all-completions-1):
11562 * minibuffer.el (minibuffer-completion-help):
11563 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11565 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11567 * simple.el (non-essential): New var.
11569 Add a new field `location' to bookmarks for non-file bookmarks.
11570 * bookmark.el (bookmark-location): Use the new field, if present.
11571 (bookmark-insert-location): Undo last change, not needed any more.
11572 * man.el (Man-bookmark-make-record):
11573 * woman.el (woman-bookmark-make-record): Add `location' field.
11575 2010-04-14 Juri Linkov <juri@jurta.org>
11577 * simple.el (scroll-error-top-bottom): New defcustom.
11578 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11580 * emulation/pc-select.el (pc-select-override-scroll-error):
11581 Obsolete in favor of `scroll-error-top-bottom'.
11583 2010-04-14 Juri Linkov <juri@jurta.org>
11585 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11586 `scroll-up-command' and `M-v' to `scroll-down-command'.
11588 * emulation/cua-rect.el (cua--init-rectangles):
11589 * forms.el (forms--change-commands):
11590 * image-mode.el (image-mode-map):
11591 Remap scroll-down-command and scroll-up-command
11592 in addition to scroll-down and scroll-up.
11594 2010-04-14 Juri Linkov <juri@jurta.org>
11596 * mwheel.el (scroll-preserve-screen-position-commands):
11597 Add mwheel-scroll to this list of commands.
11599 * simple.el (scroll-preserve-screen-position-commands):
11600 Add scroll-up-command, scroll-down-command, scroll-up-line,
11601 scroll-down-line to this list of commands.
11603 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11605 * obsolete/complete.el: Move from lisp/complete.el.
11607 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11609 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11610 to the minor mode function now turns the mode ON unconditionally.
11612 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11614 * vc-dir.el (vc-dir-kill-line): New command.
11615 (vc-dir-mode-map): Bind it to C-k.
11617 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11619 * woman.el: Add bookmark declarations to silence the compiler.
11620 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11621 step to compatibility between man and woman bookmarks.
11622 Adjust for Man-default-bookmark-title renaming.
11623 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11625 * man.el: Add bookmark declarations to silence the compiler.
11626 (Man-name-local-regexp): Make it match NAME as well.
11627 (Man-getpage-in-background): Return the buffer.
11628 (Man-notify-when-ready): Use `case'.
11629 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11630 Don't hardcode "NAME". Simplify.
11631 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11632 Rename from Man-bookmark-make-record.
11633 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11634 we have the actual man-args. Use Man-getpage-in-background rather
11635 than `man' since the arg is already processed. Let bookmark.el do the
11636 window handling. Only wait for the relevant process.
11637 Don't forget to autoload.
11639 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11641 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11643 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11645 (woman-mode): Setup bookmark support.
11647 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11648 (man-bookmark-jump): New functions.
11649 (Man-mode): Setup bookmark support.
11651 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11653 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11654 recognize ssh-keygen prompt (Bug#2817).
11656 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11658 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11660 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11662 Synchronize with Tramp repository.
11664 * net/tramp.el (tramp-completion-function-alist)
11665 (tramp-file-name-regexp, tramp-chunksize)
11666 (tramp-local-coding-commands, tramp-remote-coding-commands):
11668 (tramp-remote-process-environment): Use `format' instead of `concat'.
11669 (tramp-handle-directory-files-and-attributes)
11670 (tramp-get-remote-path): Use `copy-tree'.
11671 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11672 compatibility: Use `completion-ignore-case' if
11673 `read-file-name-completion-ignore-case' does not exist.
11674 (tramp-do-copy-or-rename-file-directly): Do not use
11675 `tramp-handle-file-remote-p'.
11676 (tramp-do-copy-or-rename-file-out-of-band):
11677 Use `tramp-compat-delete-directory'.
11678 (tramp-do-copy-or-rename-file-out-of-band)
11679 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11680 Use `format-spec-make'.
11681 (tramp-find-foreign-file-name-handler)
11682 (tramp-advice-make-auto-save-file-name)
11683 (tramp-set-auto-save-file-modes): Remove superfluous check for
11684 `stringp'. This is done inside `tramp-tramp-file-p'.
11685 (tramp-debug-outline-regexp): New defconst.
11686 (tramp-get-debug-buffer): Use it.
11687 (tramp-check-for-regexp): Use (forward-line 1).
11688 (tramp-set-auto-save-file-modes): Adapt version check.
11690 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11691 Wrap call of `featurep' for 2nd argument.
11692 (tramp-compat-make-temp-file): Simplify fallback implementation.
11693 (tramp-compat-copy-tree): Remove function.
11694 (tramp-compat-delete-directory): Provide implementation for older
11697 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11698 Do not use `tramp-fish-handle-file-attributes.
11700 * net/trampver.el: Update release number.
11702 2010-04-10 Glenn Morris <rgm@gnu.org>
11704 * progmodes/compile.el (compilation-save-buffers-predicate):
11705 Add missing :version tag.
11707 2010-04-09 Sam Steingold <sds@gnu.org>
11709 * progmodes/compile.el (compilation-save-buffers-predicate):
11710 Remove the "autoload" cookie.
11712 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11713 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11714 and `bug-reference-prog-mode' can be used in hooks directly.
11716 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11718 Add --author support to git commit.
11719 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11720 (vc-git-log-edit-mode): New minor mode.
11721 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11724 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11726 * vc-hooks.el, vc-git.el: Improve documentation comments.
11728 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11730 Fix some of the problems in defsubst* (bug#5728).
11731 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11732 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11734 2010-04-07 Sam Steingold <sds@gnu.org>
11736 * progmodes/compile.el (compilation-save-buffers-predicate):
11737 New custom variable.
11738 (compile, recompile): Pass it to `save-some-buffers'.
11740 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11742 * wid-edit.el (widget-choose): Move cursor to the second line of
11743 the buffer (Bug#5695).
11745 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11747 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11748 * vc.el (vc-print-log-setup-buttons): New function split out from
11749 vc-print-log-internal.
11750 (vc-log-internal-common): New function, a parametrized version of
11751 vc-print-log-internal.
11752 (vc-print-log-internal): Just call vc-log-internal-common with the
11754 (vc-incoming-outgoing-internal):
11755 (vc-log-incoming, vc-log-outgoing): New functions.
11756 (vc-log-view-type): New permanent local variable.
11758 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11760 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11761 of the dynamic bound vc-short-log.
11762 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11764 * vc-git.el (vc-git-log-outgoing): New function.
11765 (vc-git-log-view-mode): Use vc-log-view-type instead
11766 of the dynamic bound vc-short-log.
11768 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11769 of the dynamic bound vc-short-log. Highlight the tag.
11770 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11771 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11772 (vc-hg-incoming-mode): Remove.
11773 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11775 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11777 Fix default-directory for vc-root-diff.
11778 * vc.el (vc-root-diff): Bind default-directory to the root
11779 directory for the diff command.
11781 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11783 * progmodes/verilog-mode.el (verilog-forward-sexp):
11784 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11785 word keywords, suggested by Steve Pearlmutter.
11786 (verilog-pretty-declarations): Support lineup of declarations in
11788 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11789 fix bug for /* / comments.
11790 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11791 Speed up and simplfy as this is never called with a bound.
11792 (verilog-pretty-declarations): Enhance to line up declarations
11793 inside a parameter list, suggested by Alan Morgan.
11794 (verilog-pretty-expr): Tune assignment regular expression match
11795 string for corner cases; also use markers instead of character
11796 number as indent changes the later.
11798 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11800 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11801 as missing keyword.
11802 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11803 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11804 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11805 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11807 (verilog-keywords):
11808 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11809 1800-2009 keywords, including "global.".
11811 2010-04-06 John Wiegley <jwiegley@gmail.com>
11813 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11814 appearing in buffer list (if a live buffer name matched a recentf
11815 file basename). Should use uniquify to offer a real solution.
11817 2010-04-06 John Wiegley <jwiegley@gmail.com>
11819 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11820 comment to code, and add a :version tag.
11821 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11823 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11825 Enable recentf-mode if using virtual buffers.
11826 * ido.el (recentf-list): Declare for byte-compiler.
11827 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11828 (ido-make-buffer-list): Simplify.
11829 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11831 2010-04-05 Juri Linkov <juri@jurta.org>
11833 Scrolling commands which scroll a line instead of full screen.
11834 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11836 * simple.el (scroll-up-line, scroll-down-line): New commands.
11837 Put property isearch-scroll=t on them.
11839 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11842 2010-04-05 Juri Linkov <juri@jurta.org>
11844 Scrolling commands which do not signal errors at top/bottom.
11845 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11847 * simple.el (scroll-up-command, scroll-down-command): New commands.
11848 Put property isearch-scroll=t on them.
11850 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11851 `scroll-down-command' and [next] from `scroll-up' to
11852 `scroll-up-command'.
11854 * emulation/cua-base.el: Put property CUA=move on
11855 `scroll-up-command' and `scroll-down-command'.
11856 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11857 and `scroll-down-command' to `cua-scroll-down'.
11859 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11861 * help.el (describe-mode): Return nil.
11863 2010-04-04 John Wiegley <jwiegley@gmail.com>
11865 * ido.el (ido-use-virtual-buffers): New variable to indicate
11866 whether "virtual buffer" support is enabled for IDO.
11867 (ido-virtual): Face used to indicate virtual buffers in the list.
11868 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11869 exists, but a virtual buffer of that name does (which would be why
11870 it was in the list), recreate the buffer by reopening the file.
11871 (ido-make-buffer-list): If virtual buffers are being used, call
11872 `ido-add-virtual-buffers-to-list' before the make list hook.
11873 (ido-virtual-buffers): New variable which contains a copy of the
11874 current contents of the `recentf-list', albeit pared down for the
11875 sake of speed, and with proper faces applied.
11876 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11877 create a list of "virtual buffers" to present to the user in
11878 addition to the currently open set. Note that this logic could
11879 get rather slow if that list is too large. With the default
11880 `recentf-max-saved-items' of 200, there is little speed penalty.
11882 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11884 * font-lock.el: Require CL when compiling.
11885 (font-lock-turn-on-thing-lock): Use `case'.
11887 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11889 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11892 2010-04-02 Juri Linkov <juri@jurta.org>
11894 * ehelp.el (electric-help-orig-major-mode):
11895 New buffer-local variable.
11896 (electric-help-mode): Set it to original major-mode. Doc fix.
11897 (with-electric-help): Use `electric-help-orig-major-mode' instead
11898 of (default-value 'major-mode). Doc fix.
11899 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11901 2010-04-02 Sam Steingold <sds@gnu.org>
11903 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11904 `vc-hg-command' with a list of flags.
11906 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11907 Also accept "patch" and "RFE".
11908 (bug-reference-fontify): `bug-reference-url-format' can also be a
11909 function to be able to handle the bug kind.
11910 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11912 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11914 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11915 value to fboundp, it may not be a symbol.
11917 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11919 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11921 2010-03-31 Juri Linkov <juri@jurta.org>
11923 * simple.el (next-line, previous-line): Re-throw a signal
11924 with `signal' instead of using `ding'.
11925 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11927 2010-03-31 Juri Linkov <juri@jurta.org>
11929 * simple.el (keyboard-escape-quit): Raise deselecting the active
11930 region higher than exiting the minibuffer.
11931 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11933 2010-03-31 Juri Linkov <juri@jurta.org>
11935 * image.el (image-animated-p): Use `image-metadata' instead of
11936 `image-extension-data'. Get GIF extenstion data from metadata
11937 property `extension-data'.
11939 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11941 * simple.el (append-to-buffer): Simplify.
11943 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11945 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11946 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11948 2010-03-31 Kenichi Handa <handa@m17n.org>
11950 * language/sinhala.el (composition-function-table): Fix regexp for
11951 the new Unicode specification.
11953 * language/indian.el (devanagari-composable-pattern)
11954 (tamil-composable-pattern, kannada-composable-pattern)
11955 (malayalam-composable-pattern): Adjust for the new Unicode
11957 (bengali-composable-pattern, gurmukhi-composable-pattern)
11958 (gujarati-composable-pattern, oriya-composable-pattern)
11959 (telugu-composable-pattern): New variables to cope with the new
11960 Unicode specification. Use them in composition-function-table.
11962 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11964 Make tmm-menubar work for the Buffers menu again (bug#5726).
11965 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11966 vectors rather than cons cells, as used in menu-bar-update-buffers.
11968 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11970 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11971 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11972 electric punctuation for "{}();,:" (Bug#5586).
11974 * mail/sendmail.el (mail-default-directory): Doc fix.
11976 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11978 * mail/sendmail.el (mail-default-directory): Doc fix.
11980 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11982 * subr.el (version-regexp-alist, version-to-list)
11983 (version-list-<, version-list-=, version-list-<=)
11984 (version-list-not-zero, version<, version<=, version=): Doc fix.
11987 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11989 * vc.el (vc-root-diff): Doc fix.
11991 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11993 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11995 * simple.el (append-to-buffer): Fix last change.
11997 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11999 * simple.el (append-to-buffer): Ensure that point is preserved if
12000 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12003 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12005 * files.el (auto-mode-case-fold): Change default to t.
12007 2010-03-30 Juri Linkov <juri@jurta.org>
12009 * dired-x.el (dired-omit-mode): Doc fix.
12011 2010-03-30 Juri Linkov <juri@jurta.org>
12013 * replace.el (occur-accumulate-lines): Move occur-engine related
12014 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12015 to be located after `occur-engine'.
12017 2010-03-30 Juri Linkov <juri@jurta.org>
12019 Make occur handle multi-line matches cleanly with context.
12020 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12022 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12023 (occur-engine): Add local variables `ret', `prev-after-lines',
12024 `prev-lines'. Use more arguments for `occur-context-lines'.
12025 Set first elem of its returned list to `data', and the second elem
12026 to `prev-after-lines'. Don't print the separator line.
12027 In the end, print remaining context after-lines.
12028 (occur-context-lines): Add new arguments `begpt', `endpt',
12029 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12030 after-lines of the previous match with before-lines of the
12031 current match and not overlap them. Return a list with two
12032 values: the output line and the list of context after-lines.
12034 2010-03-30 Juri Linkov <juri@jurta.org>
12036 * replace.el (occur-accumulate-lines): Fix a bug where the first
12037 context line at the beginning of the buffer was missing.
12039 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12041 * files.el: Make bidi-display-reordering safe variable for boolean
12044 2010-03-29 Phil Hagelberg <phil@evri.com>
12045 Chong Yidong <cyd@stupidchicken.com>
12047 * subr.el: Extend progress reporters to perform "spinning".
12048 (progress-reporter-update, progress-reporter-do-update):
12049 Handle non-numeric value arguments.
12050 (progress-reporter--pulse-characters): New var.
12052 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12054 * progmodes/compile.el (compilation-start): Fix regexp detection
12055 of initial cd command (Bug#5771).
12057 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12059 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12061 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12063 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12064 * progmodes/gdb-mi.el: Restore.
12065 * progmodes/gdb-ui.el: Remove.
12066 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12068 2010-03-25 Glenn Morris <rgm@gnu.org>
12070 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12071 all dired buffers, even tramp ones. (Bug#5755)
12073 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12075 Add "union tags" in mpc.el.
12076 * mpc.el: Remove backward compatibility code.
12077 (mpc-browser-tags): Change default.
12078 (mpc--find-memoize-union-tags): New var.
12079 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12080 (mpc-cmd-find): Handle the case where the playlist does not exist.
12082 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12083 (mpc-cmd-add): Use mpc-cmd-flush.
12084 (mpc-tagbrowser-tag-name): New fun.
12085 (mpc-tagbrowser-buf): Use it.
12086 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12088 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12091 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12092 Use replace-regexp-in-string.
12093 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12094 (makefile-imake-mode-syntax-table): Move init into defvar.
12095 (makefile-mode): Use define-derived-mode.
12097 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12098 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12099 not be present any more.
12101 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12103 * faces.el (set-face-attribute): Fix typo in docstring.
12104 (face-valid-attribute-values): Reflow docstring.
12106 2010-03-24 Glenn Morris <rgm@gnu.org>
12108 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12110 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12112 * indent.el (indent-for-tab-command): Doc fix.
12114 2010-03-24 Alan Mackenzie <acm@muc.de>
12116 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12117 Fix off-by-one error. Fixes bug #5747.
12119 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12121 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12122 (image-dired-read-comment): Doc fix.
12124 * json.el (json-object-type, json-array-type, json-key-type)
12125 (json-false, json-null, json-read-number):
12126 * minibuffer.el (completion-in-region-functions):
12127 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12128 (cal-tex-cursor-week):
12129 * emacs-lisp/trace.el (trace-function):
12130 * eshell/em-basic.el (eshell/printnl):
12131 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12132 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12133 * obsolete/levents.el (allocate-event, event-key, event-object)
12134 (event-point, event-process, event-timestamp, event-to-character)
12135 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12136 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12137 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12138 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12139 (reftex-highlight-selection): Fix typos in docstrings.
12141 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12143 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12145 2010-03-24 Glenn Morris <rgm@gnu.org>
12147 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12148 2008-02-13 without comment; mark it obsolete.
12149 (rmail-highlight-headers): Use rmail-highlight-face once more.
12151 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12153 * woman.el (woman2-process-escapes): Only consume the newline if
12154 the filler character is on a line by itself (Bug#5729).
12156 2010-03-24 Kenichi Handa <handa@m17n.org>
12158 * language/indian.el (devanagari-composable-pattern): Add more
12161 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12163 * net/trampver.el: Update release number.
12165 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12167 * net/tramp.el (tramp-find-executable):
12168 Use `tramp-get-connection-buffer'. Make the regexp for checking
12169 output of "wc -l" more robust.
12170 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12171 (tramp-open-connection-setup-interactive-shell): Remove workaround
12172 for OpenSolaris bug, it is not needed anymore.
12174 2010-03-24 Glenn Morris <rgm@gnu.org>
12176 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12178 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12180 * files.el (auto-mode-alist): Accept more verilog file patterns.
12182 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12184 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12186 2010-03-24 Glenn Morris <rgm@gnu.org>
12188 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12189 log-edit-before-checkin-process.
12191 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12193 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12195 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12196 (log-view-process-buffer, log-edit-extra-flags): Declare.
12198 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12200 2010-03-23 Sam Steingold <sds@gnu.org>
12202 Fix bug#5620: recalculate all markers on compilation buffer
12203 modifications, not on file modifications.
12204 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12205 variable: the buffer modification time, for buffers not associated with
12207 (compilation-mode): Create it.
12208 (compilation-filter): Update it.
12209 (compilation-next-error-function): Use it instead of
12210 `visited-file-modtime' for timestamp.
12212 2010-03-23 Juri Linkov <juri@jurta.org>
12214 Implement Occur multi-line matches.
12215 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12217 * replace.el (occur): Doc fix.
12218 (occur-engine): Set `begpt' to the beginning of the first line.
12219 Set `endpt' to the end of the last match line. At first, count
12220 line numbers between `origpt' and `begpt'. Split out code from
12221 `out-line' variable to new let-bindings `match-prefix' and
12222 `match-str'. In `out-line' add non-numeric prefix to all
12223 non-first lines of multi-line matches. Finally, count lines
12224 between `begpt' and `endpt' and add to `lines'.
12226 2010-03-23 Juri Linkov <juri@jurta.org>
12228 * replace.el (occur-accumulate-lines, occur-engine):
12229 Use `occur-engine-line' instead of duplicate code.
12230 (occur-engine-line): New function created from duplicate code
12231 in `occur-accumulate-lines' and `occur-engine'.
12233 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12234 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12236 2010-03-23 Juri Linkov <juri@jurta.org>
12238 * finder.el: Remove TODO tasks.
12240 * info.el (Info-finder-find-node): Add node "all"
12241 with all package info. Handle a list of multiple keywords
12242 separated by comma.
12243 (info-finder): In interactive use with a prefix argument,
12244 use `completing-read-multiple' to read a list of keywords
12245 separated by comma.
12247 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12249 Add a new completion style `substring'.
12250 * minibuffer.el (completion-basic--pattern): New function.
12251 (completion-basic-try-completion, completion-basic-all-completions):
12253 (completion-substring--all-completions)
12254 (completion-substring-try-completion)
12255 (completion-substring-all-completions): New functions.
12256 (completion-styles-alist): New style `substring'.
12258 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12260 Get rid of .elc files after removal of the corresponding .el.
12261 * Makefile.in (compile-clean): New target.
12262 (compile-main): Use it.
12264 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12266 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12267 don't do make there. When compiling with separate object dir, there
12268 is no Makefile there.
12270 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12272 Get rid of the ELCFILES abomination, again.
12273 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12274 (all, compile): Don't call compile-last.
12275 (compile-main): Build the "elcfiles" list dynamically.
12276 (compile-targets): New (internal) target.
12278 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12280 * Makefile.in (top_srcdir): Define.
12281 (abs_top_builddir): Define.
12282 (srcdir): Don't append `/..'.
12283 (EMACS): Use ${abs_top_builddir}.
12284 (all, compile, compile-always, compile-last): Don't set emacswd.
12285 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12287 (lisp): Use $(srcdir) instead of @srcdir@.
12289 2010-03-21 Juri Linkov <juri@jurta.org>
12291 Fix message of multi-line occur regexps and multi-buffer header lines.
12292 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12294 * replace.el (occur-1): Don't display regexp if it is longer
12295 than window-width. Use `query-replace-descr' to display regexp.
12296 (occur-engine): Don't display regexp in the buffer header for
12297 multi-buffer occur. Display a separate header line with total
12298 match count and regexp for multi-buffer occur.
12299 Use `query-replace-descr' to display regexp.
12301 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12303 * net/secrets.el: Fix parenthesis.
12304 (secrets-enabled): Fix parenthesis.
12306 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12308 Use more relative file and directory names.
12309 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12310 (setwins, setwins_almost, setwins_for_subdirs):
12311 Don't `cd'; output relative names.
12312 (all, compile, compile-always, compile-last): Set emacswd.
12313 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12314 Just cd to the lisp source dir so we can use relative file names.
12316 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12318 2010-03-20 Glenn Morris <rgm@gnu.org>
12320 * textmodes/rst.el: Use faces for font-lock customization, and make the
12321 old -face variables obsolete.
12322 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12323 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12324 (rst-block-face, rst-external-face, rst-definition-face)
12325 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12326 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12328 (rst-font-lock-keywords-function): Update for above changes.
12330 2010-03-20 Juri Linkov <juri@jurta.org>
12333 * obsolete/s-region.el: Move to obsolete.
12335 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12337 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12339 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12341 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12343 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12345 Add special markup processing for commit logs.
12346 * log-edit.el (log-edit-extra-flags): New variable.
12347 (log-edit): Add new argument MODE. Use that mode when non-nil
12348 instead of the log-view-mode.
12349 (log-view-process-buffer): New function.
12351 * vc.el: Document that the checkin method takes optional
12352 arguments. Document new backend specific method: log-view-mode.
12353 (vc-default-log-edit-mode): New function.
12354 (vc-checkin): Use a backend specific log-view-mode.
12355 Pass extra arguments to the checkin method.
12356 (vc-modify-change-comment): Pass a dummy extra argument.
12358 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12360 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12361 (vc-finish-logentry): Process the log buffer before passing it
12362 down. Pass log-edit-extra-flags.
12364 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12366 (log-edit-extra-flags, log-edit-before-checkin-process):
12369 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12371 (log-edit-extra-flags, log-edit-before-checkin-process):
12373 (vc-hg-log-edit-mode): New derived mode.
12375 * vc-arch.el (vc-arch-checkin):
12376 * vc-cvs.el (vc-cvs-checkin):
12377 * vc-git.el (vc-git-checkin):
12378 * vc-mtn.el (vc-mtn-checkin):
12379 * vc-rcs.el (vc-rcs-checkin):
12380 * vc-sccs.el (vc-sccs-checkin):
12381 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12383 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12385 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12388 2010-03-19 Glenn Morris <rgm@gnu.org>
12390 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12392 2010-03-18 Glenn Morris <rgm@gnu.org>
12394 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12396 * replace.el (query-replace-history): Give it a doc string.
12397 (map-query-replace-regexp): Use query-replace-from-history-variable
12398 and query-replace-to-history-variable.
12400 * mail/hashcash.el (declare-function): Remove duplicate definition.
12402 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12403 Make it an obsolete alias for report-emacs-bug-address.
12404 (message-strip-special-text-properties): Declare.
12405 (report-emacs-bug): Remove test for a pretest bug address.
12406 Combine message-mode-specific code.
12408 * mail/supercite.el: Don't require sendmail.
12409 (mh-in-header-p): Declare rather than using with-no-warnings.
12410 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12411 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12413 * calendar/cal-french.el: Convert to utf-8.
12415 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12418 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12420 * net/secrets.el (secrets-enabled): New variable. Use it instead
12423 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12425 * net/secrets.el (top): Register the D-Bus signals only when the
12426 service "org.freedesktop.secrets" can be pinged.
12427 Provide subfeature `enabled'.
12429 2010-03-14 Juri Linkov <juri@jurta.org>
12431 Add finder unknown keywords.
12433 * finder.el (finder-unknown-keywords): New function.
12435 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12436 to create a Finder node with unknown keywords.
12438 2010-03-14 Juri Linkov <juri@jurta.org>
12440 * finder.el (finder-compile-keywords): Replace `princ' with
12441 `prin1' on a list of symbols interned from keyword strings.
12443 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12444 a comma, then split keywords using a comma and optional whitespace.
12445 Otherwise, split by whitespace.
12453 * progmodes/mixal-mode.el: Fix keywords.
12455 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12457 * Makefile.in (ELCFILES): Add net/secrets.elc.
12459 * net/secrets.el: New file.
12461 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12463 * facemenu.el (list-colors-display, list-colors-print): New arg
12464 callback. Use it to allow selecting colors.
12466 * wid-edit.el (widget-image-insert): Insert image prop even if the
12467 current display is non-graphic.
12468 (widget-field-value-set): New fun.
12469 (editable-field): Use it.
12470 (widget-field-value-get): Clean up unused var.
12471 (widget-color-value-create, widget-color--choose-action):
12472 New funs. Allow using list-colors-display to choose color.
12474 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12476 * cus-edit.el: Resort topmost custom groups.
12477 (custom-buffer-sort-alphabetically): Default to t.
12478 (customize-apropos): Use apropos-parse-pattern.
12479 (custom-search-field): New var.
12480 (custom-buffer-create-internal): Add custom-apropos search field.
12481 (custom-add-parent-links): Don't display parent doc.
12482 (custom-group-value-create): Don't sort top-level custom group.
12483 (custom-magic-value-create): Show visibility button before option name.
12485 (custom-variable-state): New fun, from custom-variable-state-set.
12486 (custom-variable-state-set): Use it.
12487 (custom-group-value-create): Hide options with standard values
12488 using the :hidden-states property. Use progress reporter.
12490 (custom-show): Simplify.
12491 (custom-visibility): Disable images by default.
12492 (custom-variable): New property :hidden-states.
12493 (custom-variable-value-create): Enable images for
12494 custom-visibility widgets. Use :hidden-states property to
12495 determine initial visibility.
12497 * wid-edit.el (widget-image-find): Give images center ascent.
12498 (visibility): Add :on-image and :off-image properties.
12499 (widget-visibility-value-create): Use them.
12501 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12503 * cus-edit.el (processes): Remove from development group.
12504 (oop, hypermedia): Delete group.
12505 (comm): Promote to top-level group.
12507 * net/browse-url.el (browse-url):
12508 * net/xesam.el (xesam):
12509 * net/tramp.el (tramp):
12510 * net/goto-addr.el (goto-address):
12511 * net/ange-ftp.el (ange-ftp): Put in comm group.
12513 * view.el (view): Remove from editing group.
12515 * uniquify.el (uniquify): Put in files group.
12517 * net/browse-url.el (browse-url):
12518 * ps-print.el (postscript): Put in external group.
12520 * cus-edit.el (outlines):
12521 * textmodes/text-mode.el (text-mode-hook):
12522 * textmodes/table.el (table):
12523 * textmodes/picture.el (picture):
12524 * outline.el (outlines): Put in wp group.
12526 * nxml/nxml-mode.el (nxml): Remove from wp group.
12528 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12530 * mail/metamail.el (metamail): Remove from hypermedia group.
12532 * cus-edit.el (abbrev):
12533 * whitespace.el (whitespace):
12534 * vcursor.el (vcursor):
12535 * reveal.el (reveal):
12536 * hl-line.el (hl-line): Put in convenience group.
12538 * epg-config.el (epg): Put in data group.
12540 * emulation/pc-select.el (pc-select): Put in emulations group.
12542 * calculator.el (calculator): Put in applications group.
12544 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12546 Add .dir-locals.el support for file-less buffers.
12547 * files.el (hack-local-variables): Split out code to apply local
12548 variable settings ...
12549 (hack-local-variables-apply): ... here. New function.
12550 (hack-dir-local-variables): Use the default directory for when the
12551 buffer does not have an associated file.
12552 (hack-dir-local-variables-non-file-buffer): New function.
12553 * diff-mode.el (diff-mode):
12554 * vc-annotate.el (vc-annotate-mode):
12555 * vc-dir.el (vc-dir-mode):
12556 * log-edit.el (log-edit-mode):
12557 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12559 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12561 Add support for shelving snapshots and for showing shelves.
12562 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12563 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12565 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12566 (vc-bzr-extra-menu-map): Map them.
12568 2010-03-11 Glenn Morris <rgm@gnu.org>
12570 * cus-edit.el (customize-changed-options-previous-release):
12573 * image.el (image-animate-max-time): Fix :version tag.
12575 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12579 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12581 * vc-git.el (vc-git-revision-table): Include remote branches.
12583 2010-03-10 Kim F. Storm <storm@cua.dk>
12585 Animated image API.
12586 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12588 * image.el (image-animate-max-time): New defcustom.
12589 (image-animated-types): New defconst.
12590 (create-animated-image, image-animate-timer)
12591 (image-animate-start, image-animate-stop, image-animate-timeout)
12592 (image-animated-p): New functions.
12594 * image-mode.el (image-toggle-display-image):
12595 Replace `create-image' with `create-animated-image'.
12597 2010-03-09 Miles Bader <miles@gnu.org>
12599 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12600 instead of "format:"; this ensures that the output is
12601 newline-terminated.
12603 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12605 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12606 that all errors are caught, and that the return value is always a
12609 2010-03-08 Kenichi Handa <handa@m17n.org>
12611 * language/misc-lang.el (windows-1256): New coding system.
12612 (cp1256): New alias of windows-1256 (bug#5690).
12614 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12616 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12617 call to rfc822-bad-address. (Bug#5692)
12619 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12621 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12622 Use vc-git-root as default directory for revision path (Bug#5657).
12624 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12626 * calculator.el (calculator): Don't bind split-window-keep-point
12629 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12631 * vc-git.el: Re-flow to fit into 80 columns.
12632 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12633 Remove spurious `quote' element in each case alternative.
12634 (vc-git-show-log-entry): Use prog1.
12635 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12637 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12639 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12641 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12643 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12644 definition, not the name (Bug#5481).
12646 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12648 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12649 argument with a local variable. (Bug#5670)
12651 2010-03-02 Juri Linkov <juri@jurta.org>
12653 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12655 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12657 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12658 error when FILENAME and NEWNAME are existing remote directories.
12660 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12661 parameter DIR-FLAG.
12663 2010-03-02 Glenn Morris <rgm@gnu.org>
12665 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12666 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12668 2010-03-01 Kenichi Handa <handa@m17n.org>
12670 * language/burmese.el (burmese-composable-pattern): Rename from
12671 myanmar-composable-pattern.
12673 * international/characters.el (script-list):
12674 * international/fontset.el (script-representative-chars):
12675 Change myanmar to burmese.
12676 (otf-script-alist): Likewise.
12677 (setup-default-fontset): Likewise. Re-fix :otf spec.
12679 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12681 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12683 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12685 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12687 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12689 * net/tramp.el (tramp-handle-write-region): START can be a string.
12690 Take care in the checks. Reported by Dan Davison
12691 <davison@stats.ox.ac.uk>.
12693 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12695 * net/dbus.el (dbus-introspect, dbus-get-property)
12696 (dbus-set-property, dbus-get-all-properties):
12697 Use `dbus-call-method' when noninteractive. (Bug#5645)
12699 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12701 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12702 * emacs-lisp/elint.el (elint-add-required-env):
12703 * calendar/icalendar.el (icalendar--add-diary-entry):
12704 * calc/calcalg2.el (math-tracing-integral):
12705 * files.el (recover-session-finish): Use with-current-buffer
12706 instead of save-excursion.
12708 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12710 Fix in-buffer completion when after-change-functions modify the buffer.
12711 * minibuffer.el (completion--replace): New function.
12712 (completion--do-completion): Use it and use relative movement.
12714 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12716 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12718 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12720 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12721 Allow the characters _<> in the stack entry (Bug#5653).
12723 2010-02-26 Kenichi Handa <handa@m17n.org>
12725 * language/burmese.el: Fix entries in composition-function-table.
12726 (myanmar-composable-pattern): New variable.
12728 * international/fontset.el (setup-default-fontset): Add an entry
12731 * international/characters.el (script-list): Add Myanmar
12734 2010-02-26 Glenn Morris <rgm@gnu.org>
12736 * custom.el (custom-initialize-delay): Doc fix.
12738 * mail/sendmail.el (send-mail-function): Autoload the call
12739 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12741 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12743 * files.el (hack-local-variables-filter): For eval forms, also
12744 check safe-local-variable-p (Bug#5636).
12746 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12748 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12749 setting the modes by `ignore-errors'. It might fail, for example
12750 if the file is not owned by the user but the group.
12751 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12753 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12755 * files.el (directory-listing-before-filename-regexp):
12756 Use stricter matching for iso-style dates, to avoid false matches with
12757 date-like filenames (Bug#5597).
12759 * htmlfontify.el (htmlfontify): Doc fix.
12761 * eshell/eshell.el (eshell): Doc fix.
12763 * startup.el (fancy-about-screen): In mode-line, apply
12764 mode-line-buffer-id face only to the buffer name (Bug#5613).
12766 2010-02-20 Kevin Ryde <user42@zip.com.au>
12768 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12769 In `watcom' anchor regexp to start of line, to avoid slowness
12772 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12774 * subr.el (remove-yank-excluded-properties): Explain in a comment
12775 why `category' property is removed.
12777 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12779 * isearch.el (isearch-update-post-hook, isearch-update):
12780 Revert 2010-02-17 change.
12782 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12784 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12785 (icalendar--convert-weekly-to-ical)
12786 (icalendar--convert-yearly-to-ical)
12787 (icalendar--convert-block-to-ical)
12788 (icalendar--convert-cyclic-to-ical)
12789 (icalendar--convert-anniversary-to-ical): Take care of time
12790 specifications where hour has 1-digit only (Bug#5549).
12792 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12794 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12795 of disassemble output in GDB 7.1.
12797 2010-02-19 Glenn Morris <rgm@gnu.org>
12799 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12800 property. (Bug#5593)
12802 2010-02-18 Sam Steingold <sds@gnu.org>
12804 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12806 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12808 Use abbreviated file names in bookmarks (bug#5591).
12809 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12810 calls to expand-file-name.
12811 (bookmark-relocate): Use abbreviated file names in bookmarks.
12812 (bookmark-load): Use abbreviated file names in messages.
12814 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12816 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12817 expand "." and "..". Reported by Thierry Volpiatto
12818 <thierry.volpiatto@gmail.com>.
12820 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12822 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12823 permissions of the temporary file to "0600". In case the remote
12824 file has no read permissions for the owner, there might be
12825 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12827 22010-02-18 Glenn Morris <rgm@gnu.org>
12829 * emacs-lisp/authors.el (authors-renamed-files-alist):
12830 Add entries for INSTALL.CVS.
12832 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12834 * vc-bzr.el: Fix typo in Known Bugs section.
12836 * isearch.el (isearch-update-post-hook): New hook.
12837 (isearch-update): Use the new hook.
12839 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12841 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12842 Fix errors in copying directories.
12843 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12844 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12845 (tramp-handle-delete-file)
12846 (tramp-handle-dired-recursive-delete-directory)
12847 (tramp-handle-write-region): Flush also the cache for the upper
12850 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12852 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12854 * cus-edit.el (hardware): Doc fix.
12856 * man.el (man): Add to external custom group.
12858 * delim-col.el (columns): Move to wp custom group.
12860 * doc-view.el (doc-view): Add to data custom group.
12862 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12864 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12865 by ispell-parse-output (Bug#5575).
12867 2010-02-16 Kenichi Handa <handa@m17n.org>
12869 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12870 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12871 (skkdic-convert): Use `euc-japan' coding system for writing.
12873 2010-02-16 Glenn Morris <rgm@gnu.org>
12875 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12876 tex-main-file before using it. (Bug#5562)
12878 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12880 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12881 warnings, since it is annoying for the user to see them each time he
12884 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12886 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12887 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12888 instead of PROC for caching "first-password-request". Otherwise,
12889 new processes would not profit from passwords already entered.
12891 * net/tramp-cache.el (tramp-dump-connection-properties):
12892 Don't save "first-password-request" property.
12894 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12896 * outline.el (outline-head-from-level):
12897 * simple.el (with-wrapper-hook):
12898 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12899 (elint-defun, elint-buffer-env, elint-top-form-logged)
12900 (elint-unbound-variable):
12901 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12902 Fix typos in docstrings.
12904 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12906 * files.el (insert-directory): When WILDCARD-REGEXP and
12907 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12908 whole directory. (Bug#5551)
12910 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12911 dired's alignment sanity. (Bug#5516)
12913 2010-02-14 Juri Linkov <juri@jurta.org>
12915 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12916 Remove remaining ^H with their preceding chars. (Bug#5566)
12918 2010-02-13 Glenn Morris <rgm@gnu.org>
12920 * simple.el (transpose-subr): Give it a doc-string.
12922 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12925 2010-02-12 Juri Linkov <juri@jurta.org>
12927 * arc-mode.el (archive-unique-fname): Make directories for nested
12928 archives. (Bug#5540)
12930 2010-02-12 Juri Linkov <juri@jurta.org>
12932 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12934 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12936 * subr.el (copy-overlay): Handle deleted overlays.
12938 * man.el (Man-completion-table): Don't signal an error if we can't run
12939 manual-program (bug#4056).
12941 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12943 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12945 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12947 * info.el (Info-bookmark-jump): Simplify.
12949 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12950 (bookmark-default-handler): Accept new bookmark field `buffer'.
12952 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12954 * iswitchb.el (iswitchb-completions): Revert last change.
12956 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12958 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12959 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12960 This prevents file names like "~/" being listed literally.
12962 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12964 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12965 Remove dead code. (Bug#5546)
12967 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12969 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12970 correctly (Bug#5548).
12972 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12974 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12975 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12977 2010-02-08 Kenichi Handa <handa@m17n.org>
12979 * international/mule-util.el (with-coding-priority): Add autoload
12980 cookie for putting `lisp-indent-function'.
12982 2010-02-07 Glenn Morris <rgm@gnu.org>
12984 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12985 Move F2003 named interfaces from keywords-2 to keywords-1, and
12986 use function-name-face rather than constant-face.
12987 Simplify "abstract interface" regexp.
12989 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12991 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12992 ID-FORMAT. Pass it to `file-attributes'.
12994 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12996 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12998 * faces.el (set-face-attribute): Allow calling
12999 internal-set-lisp-face-attribute with 'unspecified family and
13000 foundry argument (Bug#5536).
13002 2010-02-07 Glenn Morris <rgm@gnu.org>
13004 * progmodes/f90.el (f90-font-lock-keywords-2)
13005 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13006 Handle F2003 named interfaces.
13008 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13010 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13011 beg and end before calling c-get-state-before-change-functions.
13013 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13015 * vc-bzr.el (vc-bzr-dir-extra-headers):
13016 Disable the pending merges header.
13018 2010-02-05 Juri Linkov <juri@jurta.org>
13020 * doc-view.el (doc-view-mode):
13021 * image-mode.el (image-mode): Put property mode-class=special.
13024 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13026 * vc-svn.el (vc-svn-revision-table): New function.
13028 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13030 * net/ange-ftp.el (ange-ftp-insert-directory):
13031 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13032 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13033 Handle also directories. (Bug#5478)
13035 2010-02-05 Glenn Morris <rgm@gnu.org>
13037 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13039 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13041 * startup.el (command-line-1): Convert options beginning with a
13042 single dash as well (Bug#5519).
13044 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13046 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13047 * minibuffer.el (completion-initials-expand): Only check the presence
13048 of delims *within* the boundaries, since otherwise the / delim is
13049 always found for files.
13051 Fix up various corner case problems.
13052 * doc-view.el (doc-view-last-page-number): New function.
13053 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13054 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13055 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13056 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13057 (doc-view-convert-current-doc): Don't create the resolution.el file
13059 (doc-view-pdf/ps->png): Do it here instead.
13060 (doc-view-already-converted-p): Check that resolution.el is present.
13061 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13062 windows that are not yet showing images.
13064 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13066 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13067 `dired-uncache' for every elemnt which is an absolute file name.
13069 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13070 directory, handle its directory component.
13071 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13072 function is called permanently and creates noise, otherwise.
13074 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13075 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13076 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13078 2010-02-04 David Burger <dburger@google.com> (tiny change)
13080 * macros.el (apply-macro-to-region-lines):
13081 Minor simplification. (Bug#5485)
13083 2010-02-04 Glenn Morris <rgm@gnu.org>
13085 * mail/rmail.el (rmail-show-message-1): Handle malformed
13086 quoted-printable text. (Bug#5441)
13088 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13090 * simple.el (visual-line-mode): Capitalize lighter.
13092 2010-02-03 John Wiegley <jwiegley@gmail.com>
13094 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13095 list of files considered for "virtual buffer" completions.
13097 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13099 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13100 also in case of (and (not full) (not wildcard)). This is needed
13101 when dired is called with a list of files, which are not in
13102 `default-directory'. (Bug#5478)
13104 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13106 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13108 2010-02-02 Juri Linkov <juri@jurta.org>
13110 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13111 from unidiff to allow function-line after @@.
13113 2010-02-02 Juri Linkov <juri@jurta.org>
13115 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13116 '(RCS SCCS) with inverted condition.
13118 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13120 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13123 2010-02-01 Juri Linkov <juri@jurta.org>
13125 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13126 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13127 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13128 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13130 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13132 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13133 (doc-view-revert-buffer): New command.
13134 (doc-view-mode-map): Use it.
13136 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13138 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13139 pending merge is detected.
13141 2010-01-31 Juri Linkov <juri@jurta.org>
13143 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13144 beginning of interactive spec like all other grep commands do.
13145 Put "all" in front of "gz". (Bug#5260)
13147 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13149 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13151 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13153 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13154 regexp is incorrect (Bug#5476).
13156 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13158 * net/tramp.el (tramp-handle-insert-directory): Handle also
13159 symlinks, when FILENAME is not in `default-directory'.
13161 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13163 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13164 FILE is not in `default-directory'. (Bug#5478)
13166 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13167 of SWITCHES. Handle the case, FILENAME is not in
13168 `default-directory'. (Bug#5478)
13169 (tramp-register-file-name-handlers): Add safe-magic property.
13171 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13173 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13176 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13178 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13179 (flymake-master-make-header-init): Add other C++ filename masks.
13180 (flymake-find-possible-master-files)
13181 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13183 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13185 Fix some busybox annoyances.
13187 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13188 not responding." string.
13189 (tramp-open-connection-setup-interactive-shell): Dump stty
13190 settings. Enable "neveropen" arg for all `tramp-send-command'
13191 calls. Handle "=" in variable values properly.
13192 (tramp-find-inline-encoding): Raise an error, when no encoding is
13194 (tramp-wait-for-output): Check, whether PROC buffer is available.
13195 Remove spurious " ^H" sequences, sent by busybox.
13196 (tramp-get-ls-command): Suppress coloring, if possible.
13198 2010-01-28 Glenn Morris <rgm@gnu.org>
13200 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13202 * log-edit.el (log-edit-strip-single-file-name): Add missing
13203 :safe, :group, and :version tags.
13205 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13207 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13208 buffers. (Bug#5477)
13210 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13212 * files.el (delete-directory): Handle moving to trash without
13213 first doing recursion (Bug#5436).
13215 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13217 * vc-hooks.el (vc-path): Mark as obsolete.
13219 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13221 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13224 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13226 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13228 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13230 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13232 * vc-bzr.el (vc-bzr-revision-table): New function.
13234 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13236 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13237 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13239 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13241 Remove support for adding --signoff on commit.
13242 Future support will use an incompatible generic mechanism.
13243 * vc-git.el (vc-git-add-signoff): Remove variable.
13244 (vc-git-toggle-signoff): Remove function.
13245 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13247 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13248 Rename from xterm-set-background-mode. Return t if the background mode
13250 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13251 earlier, call it again in case the background mode has changed.
13253 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13255 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13258 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13260 * emacs-lisp/assoc.el (aelement): Doc fix.
13261 (aput, adelete, amake): Use lexical-let (Bug#5450).
13263 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13265 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13266 is the same as subprogram call, not declaration. (Bug#5435).
13268 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13270 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13271 (tramp-smb-maybe-open-connection): Use it.
13273 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13275 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13277 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13279 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13280 just because we see "encoding: 8bit".
13281 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13283 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13285 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13287 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13289 * jka-compr.el (jka-compr-load): If load-file is not in
13290 load-history, try its file-truename version. (bug#5447)
13292 2010-01-21 Alan Mackenzie <acm@muc.de>
13294 Fix a situation where deletion of a cpp construct throws an error.
13295 * progmodes/cc-engine.el (c-invalidate-state-cache):
13296 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13297 special cpp construct is still in the buffer.
13298 (c-parse-state): Record the special cpp with markers, not numbers.
13300 2010-01-21 Kenichi Handa <handa@m17n.org>
13302 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13303 process last-command-event, as it is now decoded first (Bug#5380).
13305 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13307 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13309 2010-01-20 Glenn Morris <rgm@gnu.org>
13311 * indent.el (tab-always-indent): Fix custom-type.
13313 2010-01-19 Alan Mackenzie <acm@muc.de>
13315 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13316 buffer throws "args out of range".
13317 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13318 playing the role of delimiter.
13320 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13322 * progmodes/ada-mode.el: Fix bug#5400.
13323 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13324 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13325 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13326 Improve comments in "is" portion. Handle null procedure declaration.
13327 (ada-move-to-end): Improve doc string.
13329 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13331 * ido.el (ido-cur-list): Initialize to nil.
13332 Remove obsolete information from commentary.
13333 (ido-choice-list): Initialize to nil.
13334 (ido-get-bufname): Reject minibuffers.
13335 (ido-make-buffer-list): If "default" is a nonexistent
13336 buffer, ignore it, as per the function's comment.
13337 (ido-kill-buffer-internal): New function.
13338 (ido-kill-buffer-at-head): Use it.
13339 (ido-visit-buffer): Likewise.
13341 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13343 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13345 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13347 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13348 Fix typos in chart titles.
13350 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13351 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13352 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13353 (describe-class, eieio-describe-generic, describe-generic):
13354 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13355 (eieio-speedbar-expand):
13356 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13357 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13358 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13359 (viper-del-backward-char-in-replace, viper-backward-indent)
13360 (viper-brac-function, viper-register-to-point, viper-submit-report):
13361 * net/tramp.el (tramp-remote-coding-commands):
13362 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13363 Fix typos in docstrings.
13365 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13367 * mail/sendmail.el (mail-yank-original): Set the mark if the
13368 specified function for yanking does not do it.
13370 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13372 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13374 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13375 resyncing a directory.
13377 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13379 * progmodes/ada-mode.el: Fix bug#1920.
13380 (ada-ident-re): Delete ., allow multibyte characters.
13381 (ada-goto-label-re): New; matches goto labels.
13382 (ada-block-label-re): New; matches block labels.
13383 (ada-label-re): New; matches both.
13384 (ada-named-block-re): Delete; callers changed to use
13385 `ada-block-label-re' instead.
13386 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13387 Use `ada-block-label-re'.
13388 (ada-indent-on-previous-lines): Improve handling of goto labels.
13389 (ada-get-indent-block-start): Special-case block label.
13390 (ada-get-indent-label): Split into `ada-indent-block-label' and
13391 `ada-indent-goto-label'.
13392 (ada-goto-stmt-start, ada-goto-next-non-ws):
13393 Optionally ignore goto labels.
13394 (ada-goto-next-word): Simplify.
13395 (ada-indent-newline-indent-conditional): Insert newline before
13396 trying to fix indentation; doc fix.
13398 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13400 * calc/calc.el (calc-command-flags): Give it an initial value.
13402 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13404 * files.el (minibuffer-with-setup-hook):
13405 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13406 (artist-key-draw-continously, artist-key-do-continously-continously)
13407 (artist-key-set-point-continously, artist-mouse-draw-continously):
13408 Fix typos in docstrings.
13410 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13412 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13413 Never return t (Bug#3898).
13415 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13417 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13418 can parse the output of the external commands (Bug#5279).
13420 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13422 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13424 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13426 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13428 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13430 * startup.el (command-line): Remove unused --icon-type arg.
13431 Handle --display arg, passing it to command-line-1 (Bug#5392).
13433 2010-01-16 Mario Lang <mlang@delysid.org>
13435 * emacs-lisp/chart.el (chart-translate-namezone):
13436 * textmodes/artist.el (artist-compute-popup-menu-table):
13437 Remove duplicated words in doc-strings.
13439 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13441 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13442 to mairix-search to suppress threading (Bug#5342).
13444 2010-01-15 Kenichi Handa <handa@m17n.org>
13446 * international/mule-cmds.el (canonicalize-coding-system-name):
13447 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13449 2010-01-15 Glenn Morris <rgm@gnu.org>
13451 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13453 * wid-edit.el (widget-keymap): Doc fix.
13455 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13456 former seems to be more widely accepted by various svn versions.
13458 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13460 * find-cmd.el (find-constituents):
13461 * vc-arch.el (vc-arch-root):
13462 * window.el (window-body-height, pop-up-frames):
13463 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13464 * progmodes/ada-stmt.el (ada-if):
13465 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13466 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13467 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13468 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13470 * progmodes/flymake.el (flymake-post-syntax-check):
13471 Fix typo in error message.
13473 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13475 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13476 which is always a string. (Bug#5313)
13478 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13480 * progmodes/ada-xref.el (ada-default-prj-properties):
13481 Simplify previous change.
13483 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13485 * progmodes/ada-xref.el (ada-default-prj-properties):
13486 Default ada_project_path to $ADA_PROJECT_PATH.
13488 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13490 * progmodes/ada-mode.el (ada-create-keymap):
13491 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13493 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13495 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13496 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13497 (ada-get-current-indent, ada-imenu-generic-expression)
13498 (ada-which-function): Check for it.
13500 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13502 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13503 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13505 2010-01-14 Glenn Morris <rgm@gnu.org>
13507 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13509 2010-01-14 Kenichi Handa <handa@m17n.org>
13511 * composite.el (auto-composition-mode): Make it a buffer local
13512 variable (permanent-local).
13513 (auto-composition-function): Set the default value to
13514 auto-compose-chars.
13515 (auto-composition-mode): Make it a simple function, not a minor mode.
13516 (global-auto-composition-mode): Likewise.
13517 (turn-on-auto-composition-if-enabled): Delete it.
13519 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13521 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13523 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13525 * files.el (copy-directory): Compute target for recursive
13526 directories with identical names. (Bug#5343)
13528 2010-01-12 Glenn Morris <rgm@gnu.org>
13530 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13531 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13533 2010-01-11 Sam Steingold <sds@gnu.org>
13535 * imenu.el (imenu-default-create-index-function): Detect infinite
13536 loops caused by imenu-prev-index-position-function.
13538 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13540 * htmlfontify.el (htmlfontify-load-rgb-file)
13541 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13542 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13543 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13544 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13545 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13546 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13547 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13548 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13549 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13550 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13551 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13552 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13553 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13554 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13555 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13556 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13557 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13558 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13559 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13560 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13561 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13562 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13563 backslash-quoting from parentheses, etc.
13565 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13567 * progmodes/js.el: Autoload javascript-mode alias.
13569 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13571 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13572 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13573 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13574 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13575 Fix typos in docstrings.
13576 (ffap-url-regexp): Doc fix.
13577 (ffap-at-mouse): Fix typo in message.
13579 2010-01-11 Glenn Morris <rgm@gnu.org>
13581 * version.el (emacs-copyright): Set copyright year to 2010.
13583 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13585 * format.el (format-annotate-function): Only set
13586 write-region-post-annotation-function after running to-fn so as not to
13587 affect nested write-region calls (bug#5273).
13589 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13591 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13594 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13596 * man.el (Man-goto-section): Signal error if the section is not
13599 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13601 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13602 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13604 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13606 * progmodes/compile.el: Don't treat compile-command as safe if
13607 compilation-read-command might be nil (Bug#4218).
13609 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13611 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13614 2010-01-08 Kenichi Handa <handa@m17n.org>
13616 * international/fontset.el (build-default-fontset-data):
13617 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13619 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13621 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13622 to `create-file-buffer' as it expects, not just a buffer name.
13623 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13624 to help uniquify. (Bug#3224)
13626 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13628 * font-setting.el (font-setting-change-default-font): Use user-spec
13631 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13633 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13635 2010-01-05 Tom Tromey <tromey@redhat.com>
13637 * progmodes/python.el (python-font-lock-keywords):
13638 Handle qualified decorators (Bug#881).
13640 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13642 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13643 in a lightweight checkout.
13645 2010-01-05 Kenichi Handa <handa@m17n.org>
13647 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13649 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13651 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13653 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13655 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13656 checkouts. (Bug#618)
13657 (vc-bzr-log-view-mode): Also highlight the author.
13658 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13659 (vc-bzr-shelve-menu-map):
13660 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13661 (vc-bzr-shelve-apply): Make prompt more explicit.
13663 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13665 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13666 They are valid characters in URL paths (rfc3986), and at least
13667 Firefox does not understand the encoded version (Bug#3166).
13669 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13671 * progmodes/octave-mod.el (octave-end-keywords)
13672 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13673 Add "end" keyword (Bug#3061).
13674 (octave-end-as-array-index-p): New function.
13675 (calculate-octave-indent): Use it.
13677 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13679 * bookmark.el: Consistently put the text property on the bookmark name.
13680 (bookmark-bmenu-marks-width): Bump back to 2, to include
13682 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13683 property on the bookmark name, instead of not putting it at all.
13684 (bookmark-bmenu-list): Fix where we put the text property.
13686 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13688 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13689 for showing buffer modified state (as added in the previous change).
13691 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13693 * bookmark.el: Show modified state of bookmark buffer more accurately.
13694 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13695 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13696 (with-buffer-modified-unmodified): New macro.
13697 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13698 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13699 Use new macro to preserve the buffer modified state.
13701 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13703 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13704 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13705 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13706 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13707 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13708 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13709 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13711 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13713 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13714 Make the lines in the generated doc string shorter. (Bug#4668)
13716 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13718 * net/rcirc.el: Add follow-link binding (Bug#4738).
13720 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13722 * Makefile.in (bzr-update): Rename from cvs-update.
13723 (cvs-update): New target for backward compatibility.
13725 * makefile.w32-in (bzr-update): Rename from cvs-update.
13726 (cvs-update): New target for backward compatibility.
13728 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13730 * bookmark.el: Remove gratuitous gratitude.
13732 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13734 * bookmark.el (bookmark-bmenu-any-marks): New function.
13735 (bookmark-bmenu-save): Clear buffer modification if no marks.
13737 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13739 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13740 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13741 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13742 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13744 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13745 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13746 To: emacs-devel {_AT_} gnu.org
13747 Subject: bookmark.el bug report
13748 Date: Mon, 28 Dec 2009 14:19:16 +0800
13749 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13751 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13753 * bookmark.el: Improvements suggested by Drew Adams:
13754 (bookmark-bmenu-ensure-position): New name for
13755 `bookmark-bmenu-check-position'. Just ensure the position,
13756 don't return any meaningful value.
13757 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13760 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13762 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13763 (bookmark-yank-point, bookmark-bmenu-check-position):
13764 Fix typos in docstrings.
13765 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13766 (bookmark-name-from-full-record, bookmark-get-position)
13767 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13768 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13769 Remove useless quoting of parenthesis, etc. in docstrings.
13771 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13772 (ediff-append-custom-diff): Fix typo in error message.
13773 (ediff-meta-mark-equal-files): Fix typos in messages.
13775 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13777 * net/imap-hash.el (imap-hash-make): Doc fix.
13778 (imap-hash-test): Fix typo in error message; reflow docstring.
13779 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13780 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13781 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13782 Fix typos in docstrings.
13783 (imap-hash-open-connection): Fix typo in error message.
13785 * play/gomoku.el (gomoku): Fix typos in docstring.
13787 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13788 (gdb-jsonify-buffer): Fix typos in docstring.
13789 (gdb-goto-breakpoint): Fix typo in error message.
13790 ("Display Other Windows"): Fix typo in help message.
13791 (gdb-speedbar-expand-node): Fix typo in question.
13793 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13794 (idlwave-html-system-help-location, idlwave-html-help-location)
13795 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13796 (idlwave-help-browser-generic-args, idlwave-help-directory)
13797 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13798 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13799 (idlwave-online-help, idlwave-help-html-link)
13800 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13801 Fix typos in docstrings.
13802 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13804 (idlwave-help-assistant-start): Fix typo in error message.
13806 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13807 (octave-electric-space): Fix typos in docstrings.
13809 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13811 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13813 2010-01-01 Juri Linkov <juri@jurta.org>
13815 * comint.el (comint-input-ring-size): Make it a defcustom and
13816 increase the default to 500 (Bug#5148).
13818 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13820 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13821 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13822 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13824 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13826 Show working revision correctly for mercurial.
13827 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13828 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13830 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13832 Declare some functions for the byte-compiler.
13833 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13834 (speedbar-timer-fn, speedbar-change-expand-button-char)
13835 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13837 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13839 This changeset reverts GDB Graphical Interface to use annotations.
13840 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13842 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13844 Make vc-dir work on subdirectories of the bzr root.
13845 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13846 Return file names relative to it.
13847 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13848 relative directory to vc-bzr-after-dir-status.
13850 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13852 * font-lock.el (font-lock-refresh-defaults): New function, which
13853 can be used to let font-lock react to external changes in
13854 variables like font-lock-defaults and keywords.
13855 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13857 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13859 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13861 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13863 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13865 Supersede color.diff settings in git log (bug#5211).
13867 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13868 escape chars in its output when the user has color.diff set to `always'.
13869 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13871 2009-12-26 Kevin Ryde <user42@zip.com.au>
13873 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13874 node. Keep previous "Index" name to work with past coreutils too.
13876 * man.el (man): Revise docstring a bit to show -a and -l as
13877 examples. Add -k description since support for it has otherwise
13878 been a secret. (Further to bug#3717.)
13879 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13880 "no matches" rather than "Can't find manpage", as the latter reads
13881 like -k was interpreted as a page name, which is not so. (Bug#5431)
13883 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13885 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13886 switches. Check also for //SUBDIRED// line.
13888 2009-12-25 Kenichi Handa <handa@m17n.org>
13890 * language/indian.el (devanagari-composable-pattern): Fix to
13891 handle ZWNJ and ZWJ. Use it in composition-function-table for
13893 (malayalam-composable-pattern): Fix previous change.
13895 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13897 * ps-print.el (ps-face-attributes): It was not returning the
13898 attribute face for faces specified as string. Reported by harven
13899 <harven@free.fr>. (Bug#5254)
13900 (ps-print-version): New version 7.3.5.
13902 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13904 * calendar/icalendar.el (icalendar--convert-tz-offset):
13905 Fix timezone names.
13906 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13907 (icalendar--add-diary-entry): Remove the trailing blank that
13908 diary-make-entry inserts.
13910 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13912 Make `file-expand-wildcards' work for remote files.
13914 * files.el (file-expand-wildcards): In case of remote files, check
13915 only local file name part for wildcards. Provide feature 'files
13916 and subfeature 'remote-wildcards. (Bug#5198)
13918 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13919 if there is already an established connection.
13920 (tramp-advice-file-expand-wildcards): Remove it.
13922 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13923 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13924 Activate advice for older GNU Emacs versions. (Bug#5237)
13926 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13928 Some doc fixes (more needed).
13930 * find-cmd.el (find-constituents): Reflow docstring.
13931 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13932 (find-generic): Doc fix.
13934 2009-12-17 Juri Linkov <juri@jurta.org>
13936 Fix regression from 23.1 to allow multiple modes in Local Variables.
13938 * files.el (hack-local-variables-filter): While ignoring duplicates,
13939 don't take `mode' into account.
13940 (hack-local-variables-filter, hack-dir-local-variables):
13941 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13943 2009-12-17 Juri Linkov <juri@jurta.org>
13945 Make `dired-diff' safer. (Bug#5225)
13947 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13948 `current' or when `file' is a directory of the `current' file.
13950 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13952 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13953 unconditionally preloaded files.
13955 2009-12-16 Juri Linkov <juri@jurta.org>
13957 Revert to old 23.1 logic of using the file at the mark as default.
13958 * dired-aux.el (dired-diff): Use the file at the mark as default
13959 if it's not the same as the current file, and the target dir is
13960 the current dir or the mark is active. Add the current file
13961 as the arg of `dired-dwim-target-defaults'. Use the default file
13962 in the prompt. (Bug#5225)
13964 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13966 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13967 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13968 (tramp-check-for-regexp): Check also, when an echoing shell stops
13969 to echo sent commands.
13971 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13973 * Makefile.in: Revert last change (Bug#5191).
13975 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13977 * vc-hg.el (vc-hg-print-log): Fix argument order.
13978 (vc-hg-working-revision): Make sure the command is executed in a
13979 known environment so that we can parse the output. (Bug#4417)
13981 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13983 * progmodes/python.el (python-symbol-completions): Remove text
13984 properties from symbol string before calling python-send-receive.
13986 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13988 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13989 when there are values for both file and line. (Bug#5060)
13991 2009-12-14 Juri Linkov <juri@jurta.org>
13993 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13994 whitespace after the file name of the first line of unified format,
13995 because git-diff doesn't output whitespace and file modification time
13996 after the file name.
13998 2009-12-14 David Kastrup <dak@gnu.org>
14000 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14001 check if it already has the `display' property added by
14002 `Info-display-images-node', and not put the `invisible' property
14005 2009-12-13 Glenn Morris <rgm@gnu.org>
14007 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14008 (report-emacs-bug): In message-mode, sort manually before storing
14009 original report text. (Bug#5178)
14010 Remove superfluous save-excursion.
14012 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14014 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14015 when responding to "GetAll" properties.
14017 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14019 * simple.el (compose-mail): Remove mail-setup-with-from from
14020 customization checks.
14022 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14024 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14025 RAR archives created on Unix systems.
14027 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14029 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14030 the varalias that was accidentally removed by the 2009-11-19 change
14033 2009-12-12 Kenichi Handa <handa@m17n.org>
14035 * language/indian.el (indian-compose-regexp): New function.
14036 (malayalam-composable-pattern): Fix the pattern.
14037 (composition-function-table): Set malayalam-composable-pattern for
14038 Malayalam characters.
14040 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14042 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14043 rather than down-mouse-1, based on follow-link conventions.
14045 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14048 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14050 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14051 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14052 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14053 (verilog-leap-to-head, verilog-backward-token):
14054 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14056 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14058 * progmodes/verilog-mode.el (verilog-auto-lineup)
14059 (verilog-nameable-item-re): Cleanup user-visible spelling and
14060 documentation errors. One reported by Gary Delp.
14061 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14062 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14063 package, bug195. Reported by Pierre-David Pfister.
14065 2009-12-11 Glenn Morris <rgm@gnu.org>
14067 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14069 * mail/emacsbug.el: No longer require sendmail.
14070 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14071 (report-emacs-bug-orig-text): Doc fix.
14072 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14073 New local variables, to adapt to different mail-user-agents.
14074 (report-emacs-bug): Fix test for a gnu.org address.
14075 Use overlays for emphasis, since font-lock defeats 'face property.
14076 Pretest bugs also end up at the newsgroup these days.
14077 Stop message-mode stripping text properties.
14078 Set and use the new buffer-local variables.
14079 (report-emacs-bug-hook): Add doc-string.
14080 Remove some unnecessary save-excursions and simplify.
14081 Use the appropriate hook and send-command.
14083 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14084 capitalization of some menu entries.
14086 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14088 * whitespace.el (whitespace-display-char-on):
14089 Ensure `buffer-display-table' is unique when two or more windows are
14090 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14093 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14095 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14096 characters in the Attribute field.
14098 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14100 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14102 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14104 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14105 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14106 Disregard autoload-excludes.
14107 (update-directory-autoloads): Obey autoload-excludes here instead.
14108 But don't store its contents in no-autoloads and remove entries that
14109 refer to excludes files.
14111 2009-12-10 Glenn Morris <rgm@gnu.org>
14113 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14114 (expand-mail-aliases): Define for compiler.
14116 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14117 Define for compiler.
14119 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14120 appropriate for the mail-user-agent in use.
14122 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14124 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14126 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14128 Fix short log parsing and fontification.
14129 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14130 Fix fontification for the [merge] label.
14132 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14134 Drop some properties to avoid surprises (bug#5002).
14135 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14136 (hfy-fontify-buffer): Use it.
14138 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14141 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14142 Adjust all callers.
14143 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14144 args compulsory. Adjust callers.
14145 (ffap-gopher-at-point): Remove unused var `name'.
14147 Get rid of the ELCFILES abomination.
14148 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14149 (compile-elcfiles): New phony target.
14150 (compile-main): Compute ELCFILES dynamically.
14151 (compile-clean): New target to remove left-over elc files.
14152 (compile, all): Use it.
14154 2009-12-09 Kenichi Handa <handa@etlken>
14156 * international/mule-diag.el: Require help-mode instead of help-fns.
14158 2009-12-09 Kenichi Handa <handa@m17n.org>
14160 * international/mule-cmds.el (ucs-names): Supply sufficiently
14161 fine ranges instead of pre-calculating accurate ranges.
14162 Iterate with bigger gc-cons-threshold.
14164 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14166 Add support for stashing a snapshot of the current tree.
14167 * vc-git.el (vc-git-stash-snapshot): New function.
14168 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14170 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14172 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14173 instead of `(beginning|end)-of-line'.
14175 2009-12-08 Glenn Morris <rgm@gnu.org>
14177 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14179 * Makefile.in (ELCFILES): Regenerate.
14181 2009-12-07 Juri Linkov <juri@jurta.org>
14183 Don't lazy-highlight the comint output in history Isearch mode.
14185 * comint.el (comint-history-isearch-search): Instead of
14186 `comint-line-beginning-position', use `comint-after-pmark-p'
14187 to check if point if before the process mark, and go to
14188 `process-mark' in this case.
14190 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14192 * textmodes/tex-mode.el (latex-complete)
14193 (latex-indent-or-complete): Remove.
14194 (latex-mode): Set completion-at-point-functions instead.
14196 Provide a standard completion command and hook it into TAB.
14197 * minibuffer.el (completion-at-point-functions): New var.
14198 (completion-at-point): New command.
14199 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14200 * progmodes/python.el (python-mode-map): Use completion-at-point.
14201 (python-completion-at-point): Rename from python-partial-symbol and
14202 adjust for use in completion-at-point-functions.
14203 (python-mode): Setup completion-at-point for Python completion.
14204 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14205 extracted from lisp-complete-symbol.
14206 (lisp-complete-symbol): Use it.
14207 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14208 setup completion-at-point for Elisp completion.
14209 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14210 Use completion-at-point.
14211 * ielm.el (ielm-map): Use completion-at-point.
14212 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14213 * progmodes/sym-comp.el: Move to...
14214 * obsolete/sym-comp.el: Move from progmodes.
14216 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14218 Prevent save-buffer in Rmail buffers from using the coding-system
14219 of the current message, and from clobbering the encoding mnemonics
14220 in the mode line (Bug#4623).
14222 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14224 (rmail-message-encoding): New variable.
14225 (rmail-write-region-annotate): Record the encoding of the current
14226 message in rmail-message-encoding.
14227 (rmail-after-save-hook): New function, restores the encoding of
14228 the current message after the message collection is saved.
14230 2009-12-07 Juri Linkov <juri@jurta.org>
14232 * progmodes/grep.el (grep-read-files): Use `completing-read'
14233 instead of `read-string'. Set its `collection' arg to
14234 `read-file-name-internal'. (Bug#4301)
14236 2009-12-07 Juri Linkov <juri@jurta.org>
14238 Correctly restore original Isearch point. (Bug#4994)
14240 * isearch.el (isearch-mode): Move `isearch-push-state' after
14241 `(run-hooks 'isearch-mode-hook)'.
14242 (isearch-cancel): When `isearch-push-state-function' is defined,
14243 let-bind `isearch-cmds' to the first state (the last element of
14244 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14245 function and restores the original point). Otherwise, move point
14246 to `isearch-opoint'.
14248 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14250 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14251 chars that don't have names, so the table can be built much faster at
14254 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14256 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14257 change. Suggested by David Kastrup.
14259 * simple.el (compose-mail): Check for incompatibilities and warn.
14260 (compose-mail-user-agent-warnings): New option.
14262 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14264 Support showing a single log entry from vc-annotate.
14265 * vc.el (print-log): Add a new argument: START-REVISION.
14266 (vc-print-log-internal): Add a new optional argument and
14267 pass it to the backend.
14268 (vc-print-log, vc-print-root-log): Adjust callers.
14269 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14270 buffer already displays the requested log entry, use it.
14271 Otherwise display only the log entry in question.
14272 * vc-svn.el (vc-svn-print-log):
14273 * vc-mtn.el (vc-mtn-print-log):
14274 * vc-hg.el (vc-hg-state):
14275 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14276 (vc-git-show-log-entry): Return t on success.
14277 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14278 (vc-bzr-show-log-entry): Return t on success.
14279 * vc-rcs.el (vc-rcs-print-log):
14280 * vc-sccs.el (vc-sccs-print-log):
14281 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14283 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14285 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14286 Add menus to the meta mode. (Bug#5043)
14288 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14290 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14293 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14295 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14297 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14298 Berbain <raphael.berbain@gmail.com>.
14300 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14302 (tramp-initial-end-of-output): New defconst.
14303 (tramp-methods, tramp-find-shell)
14304 (tramp-open-connection-setup-interactive-shell)
14305 (tramp-maybe-open-connection): Use it.
14306 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14307 Handle existence of `#' and `$'.
14309 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14310 Use `tramp-initial-end-of-output'.
14312 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14314 Get the background mode from the terminal for xterm, and set
14316 * term/xterm.el (xterm-set-background-mode): New function.
14317 (terminal-init-xterm): Use it in case xterm supports background
14318 color queries. Recompute faces after getting the background
14321 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14323 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14324 number comment back on its own line, for easier parsing.
14326 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14328 Make it work for non-file buffers (bug#5102).
14329 * doc-view.el (doc-view-current-cache-dir):
14330 Use doc-view-buffer-file-name rather than buffer-file-name.
14331 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14333 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14335 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14336 author field is too short.
14338 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14340 * vc-git.el (vc-git-print-log): Handle a limit argument.
14341 Display the short log in graph form and with labels.
14342 (vc-git-log-view-mode): Handle labels.
14344 Make vc-revert change VC state from 'added to 'unregistered.
14345 * vc-git.el (vc-git-revert): Call git reset first.
14347 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14349 * net/newst-backend.el, net/newst-plainview.el:
14350 * net/newst-reader.el, net/newst-ticker.el:
14351 * net/newst-treeview.el, net/newsticker.el:
14352 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14354 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14356 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14358 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14359 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14360 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14361 Update annotation regexp.
14363 * simple.el (beginning-of-visual-line): Constrain to field
14364 boundaries (Bug#5106).
14366 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14368 * xml.el (xml-substitute-numeric-entities):
14369 Move newsticker--decode-numeric-entities in newst-backend.el to
14370 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14371 * net/newst-backend.el (newsticker--parse-generic-feed)
14372 (newsticker--parse-generic-items)
14373 (newsticker--decode-numeric-entities):
14374 Move newsticker--decode-numeric-entities in newst-backend.el to
14375 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14377 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14379 * progmodes/js.el (js--js-not): Add null to the list of values.
14381 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14383 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14385 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14387 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14388 delimiter if it is at the end of the current line.
14389 (bibtex-generate-url-list): Fix docstring.
14391 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14393 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14394 minibuffer's content with itself.
14395 Fold the confirm-after-completion case into the `confirm' case.
14396 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14398 2009-12-06 Kevin Ryde <user42@zip.com.au>
14400 * ffap.el (ffap-rfc-path): Make this a defcustom since
14401 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14403 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14404 manuals, similar to existing setup for help-mode. (Bug#3913.)
14406 2009-12-05 Juri Linkov <juri@jurta.org>
14408 Save and restore dired buffer's point positions too. (Bug#4880)
14410 * dired.el (dired-save-positions): Return in the first element
14411 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14413 (dired-restore-positions): First restore buffer's position.
14414 While restoring window's positions, check if window still displays
14415 the original buffer.
14417 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14419 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14422 * shell.el (shell): Require ansi-color (Bug#5113).
14424 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14426 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14428 2009-12-05 Alan Mackenzie <acm@muc.de>
14430 * progmodes/cc-mode.el (c-before-hack-hook)
14431 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14432 `c-file-style' to work again. This reversion restores the current
14433 software to its state in Emacs 23.1. (Bug#4146)
14435 2009-12-05 Kevin Ryde <user42@zip.com.au>
14437 * textmodes/sgml-mode.el (sgml-lexical-context):
14438 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14440 2009-12-05 Juri Linkov <juri@jurta.org>
14442 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14443 for virtual nodes. (Bug#4147)
14444 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14445 when moving from a virtual node.
14446 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14447 (Info-mode): Add `Info-virtual-index' to the docstring.
14449 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14451 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14452 track of the buffer position of the end of a BibTeX entry as this
14453 position may change during reformatting.
14454 (bibtex-format-entry): Remove whitespace before processing
14455 numerical fields so that we recognize the latter properly.
14456 (bibtex-reformat): Do not use push which changes the global value
14457 of bibtex-entry-format.
14458 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14459 (bibtex-field-re-init): Replace only space characters by regexp
14461 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14462 (bibtex-initialize): Also update bibtex-strings.
14463 (bibtex-kill-field): Preserve white space at end of entry.
14464 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14465 Update bibtex-reference-keys.
14467 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14469 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14470 point after a star, if that's the only place where modifications can
14473 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14475 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14478 2009-12-04 Juri Linkov <juri@jurta.org>
14480 * proced.el (proced): Call `(proced-update t)' to update process
14481 information instead of only running proced-post-display-hook.
14482 (proced-send-signal): Add a leading space to the buffer name
14483 " *Marked Processes*" to make this buffer ephemeral.
14485 2009-12-04 Juri Linkov <juri@jurta.org>
14487 * dired.el (dired-auto-revert-buffer): New defcustom.
14488 (dired-internal-noselect): Use it.
14490 2009-12-04 Juri Linkov <juri@jurta.org>
14492 Change roles of modes and functions in image-mode.el (Bug#5062).
14494 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14495 in `auto-mode-alist'.
14496 (image-mode-previous-major-mode): New variable.
14497 (image-minor-mode-map): Rename from `image-mode-text-map'.
14498 (image-mode): Move graceful error-handling code from
14499 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14500 (image-minor-mode): Remove all image-handling code.
14501 Replace `image-mode-text-map' with `image-minor-mode-map'.
14502 Check for `image-type' in mode-line format string.
14503 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14504 (image-mode-as-text): New function with most code from
14505 `image-mode-maybe'.
14506 (image-toggle-display-text): Move code that removes image
14507 properties from `image-toggle-display' to here.
14508 (image-toggle-display-image): New function with code that adds
14509 image properties copied from `image-toggle-display'.
14510 (image-toggle-display): Remove most code with leaving only code
14511 that toggles between `image-mode-as-text' and `image-mode'.
14513 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14515 * net/newst-treeview.el
14516 (newsticker--treeview-list-highlight-start): Restored call to
14517 save-excursion: Selected item was stuck.
14518 (newsticker--treeview-list-select): New.
14519 (newsticker--treeview-item-show-text)
14520 (newsticker--treeview-item-show)
14521 (newsticker--treeview-item-update): Use new
14522 newsticker-treeview-item-mode.
14523 (newsticker-treeview-update): Keep current item.
14524 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14525 (newsticker--treeview-first-feed): Doc change.
14526 (newsticker-treeview-list-menu)
14527 (newsticker-treeview-item-menu): Add menu entries.
14528 (newsticker-treeview-item-mode): New.
14530 * net/newst-backend.el (newsticker-customize): Delete other
14533 2009-12-04 Sam Steingold <sds@gnu.org>
14535 * log-view.el (log-view-mode-map): "q" calls quit-window,
14536 like in all the other non-self-insert buffers.
14538 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14541 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14542 key decoding rather than do it manually via last-input-event +
14544 (term-exec): Use delete-and-extract-region.
14545 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14546 (term-process-pager): Remove unused var `i'.
14547 (term-dynamic-simple-complete): Make obsolete.
14548 (serial-update-config-menu): Remove unused vars `y' and `str'.
14549 (term-update-mode-line): Remove unused var `temp'.
14551 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14553 Limit the number of log entries displayed by default.
14554 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14555 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14556 using a prefix argument.
14558 2009-12-03 Glenn Morris <rgm@gnu.org>
14560 * progmodes/idlwave.el (class): Restore still useful declaration.
14562 2009-12-03 Alan Mackenzie <acm@muc.de>
14564 Enhance `c-parse-state' to run efficiently in "brace deserts".
14566 * progmodes/cc-mode.el (c-basic-common-init):
14567 Call c-state-cache-init.
14568 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14569 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14570 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14572 * progmodes/cc-langs.el (c-before-font-lock-function):
14573 c-extend-and-neutralize-syntax-in-CPP has been renamed
14574 c-neutralize-syntax-in-and-mark-CPP.
14576 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14577 with `category' properties now, not `syntax-table' ones.
14579 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14580 enhanced (but slower) version of c-end-of-macro that won't land
14581 inside a literal or on another awkward character.
14582 (c-state-cache-too-far, c-state-cache-start)
14583 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14584 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14585 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14586 (c-state-min-scan-pos, c-state-brace-pair-desert)
14587 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14588 buffer local variables.
14589 (c-state-literal-at, c-state-lit-beg)
14590 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14591 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14592 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14593 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14594 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14595 (c-renarrow-state-cache)
14596 (c-append-lower-brace-pair-to-state-cache)
14597 (c-state-push-any-brace-pair, c-append-to-state-cache)
14598 (c-remove-stale-state-cache)
14599 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14600 (c-invalidate-state-cache-1, c-parse-state-1)
14601 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14602 (c-parse-state): Enhance and refactor.
14603 (c-debug-parse-state): Amend to deal with all the new variables.
14605 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14606 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14607 modify to use category text properties rather than syntax-table ones.
14608 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14609 to switch off/on the syntactic paren property of C++ template
14610 delimiters using the category property.
14611 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14612 template delims suppressed.
14613 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14614 New constant/macros which apply category properties to the start
14615 and end of preprocessor constructs.
14616 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14617 "comment out" the syntactic value of characters in preprocessor
14619 (c-with-cpps-commented-out)
14620 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14621 with characters in all or all but one preprocessor constructs
14624 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14626 * proced.el (proced-filter-alist): Use regexp-quote.
14628 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14631 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14632 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14633 arguments. Expand `default-directory'.
14635 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14636 the benefit of returning an expanded localname.
14637 (tramp-tramp-file-p): Handle the case NAME is not a string.
14639 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14641 Add support for bzr shelve/unshelve.
14642 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14643 (vc-bzr-extra-menu-map): New variables.
14644 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14645 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14646 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14647 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14648 (vc-bzr-dir-extra-headers): Display shelves.
14650 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14652 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14654 * textmodes/bibtex.el (bibtex-complete-internal):
14655 Use completion-in-region.
14656 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14658 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14660 Support applying stashes. Improve UI.
14661 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14662 (vc-git-stash-apply, vc-git-stash-pop)
14663 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14664 (vc-git-stash-menu): New functions.
14665 (vc-git-stash-menu-map): New variable.
14666 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14668 2009-12-03 Glenn Morris <rgm@gnu.org>
14670 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14671 (vc-print-log-internal): Fix previous change.
14672 (vc-revert): Correct pluralization.
14674 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14676 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14677 it to be an alist any more.
14678 (makefile-complete): Use completion-in-region.
14680 * progmodes/octave-mod.el (octave-complete-symbol):
14681 Use completion-in-region.
14684 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14685 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14686 (idlwave-complete-class): Don't quote lambda.
14687 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14688 (idlwave-mode-map): Move initialization into declaration.
14689 (idlwave-action-and-binding): Use backquotes.
14690 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14692 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14693 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14694 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14695 `parts', and `all-parts'.
14696 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14697 (idlwave-convert-xml-system-routine-info): Remove unused string
14699 (idlwave-display-user-catalog-widget): Use dolist.
14700 (idlwave-scanning-lib): Declare dynamically-scoped var.
14701 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14702 (completion-highlight-first-word-only): Declare to silence bytecomp.
14703 (idlwave-popup-select): Tighten scope of `resp'.
14704 (idlwave-find-struct-tag): Remove unused var `beg'.
14705 (idlwave-after-load-rinfo-hook): Declare.
14706 (idlwave-sintern-class-info): Remove unused var `taglist'.
14707 (idlwave-find-class-definition): Remove unused var `list'.
14708 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14709 (idlwave-what-module-find-class): Remove unused var `classes'.
14711 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14713 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14715 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14717 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14718 buffers visited. Remove redundant current-buffer-saving.
14720 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14722 Use completion-in-buffer and remove uses of dynamic scoping.
14723 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14724 (pascal-buffer-to-use, pascal-flag): Don't declare.
14725 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14726 (pascal-get-completion-decl, pascal-keyword-completion):
14727 Add `pascal-str' argument, save-excursion,
14728 return the found completions, and don't filter with pascal-pred.
14729 (pascal-completion-cache): New var.
14730 (pascal-completion): Don't switch buffer any more (it was never
14731 necessary). Don't save-excursion any more (it's done by the called
14732 subroutines). Use a cache to avoid redundant computations.
14733 Use complete-with-action rather than pascal-completion-response and
14734 let it apply the predicate as well.
14735 (pascal-complete-word): Use completion-in-buffer when
14736 pascal-toggle-completions is nil.
14737 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14739 (pascal-comp-defun): Don't change buffer any more.
14740 Use complete-with-action rather than pascal-completion-response and
14741 let it apply the predicate as well.
14742 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14745 2009-12-02 Kenichi Handa <handa@m17n.org>
14747 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14748 shape for all Indic scripts.
14750 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14752 Use completion-in-buffer.
14753 * wid-edit.el (widget-field-text-end): New function.
14754 (widget-field-value-get): Use it.
14755 (widget-string-complete, widget-file-complete)
14756 (widget-color-complete): Use it and completion-in-region.
14757 (widget-complete): Don't narrow the buffer.
14759 2009-12-02 Glenn Morris <rgm@gnu.org>
14761 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14762 (rmail-select-summary): Use rmail-pop-to-buffer.
14763 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14764 rmail-pop-to-buffer, to prevent horizontal splits.
14766 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14767 save-excursion with save-current-buffer.
14768 Widen before searching. (Bug#5093)
14769 (diary-list-sexp-entries): Remove superfluous save-excursion.
14771 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14773 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14776 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14778 * ido.el (ido-file-internal): Handle filenames at point that do
14779 not have a directory part. (Bug#5049)
14781 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14783 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14784 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14786 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14788 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14789 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14792 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14794 * comint.el (comint-insert-input): Ignore clicks to the right of
14795 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14797 * vc.el (vc-print-log-internal): Don't wait for the process to
14798 terminate before setting up the major mode.
14800 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14803 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14806 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14808 2009-12-01 Glenn Morris <rgm@gnu.org>
14810 * window.el (window--display-buffer-2): Fix previous changes.
14812 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14814 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14816 2009-12-01 Glenn Morris <rgm@gnu.org>
14818 * Makefile.in (ELCFILES): Add mpc.elc.
14820 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14822 * mpc.el: New file.
14824 2009-12-01 Glenn Morris <rgm@gnu.org>
14826 * window.el (window-to-use): Define for compiler.
14828 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14829 consistent with others (no final period).
14831 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14832 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14834 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14836 Make vc-print-log buttons work.
14837 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14839 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14841 * savehist.el (savehist-autosave-interval): Allow setting to nil
14842 through customize. (Bug#5056)
14844 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14846 Fix references to jit-lock properties.
14847 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14848 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14849 (perl-font-lock-special-syntactic-constructs):
14850 Quote jit-lock-defer-multiline property.
14852 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14854 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14856 2009-11-30 Juri Linkov <juri@jurta.org>
14858 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14859 value `buffer' of `multi-isearch-next-buffer-current-function'.
14860 Use `(current-buffer)' when `buffer' is nil.
14861 (multi-isearch-next-buffer-from-list): Don't fallback to
14862 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14864 2009-11-30 Juri Linkov <juri@jurta.org>
14866 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14867 of buffers with `get-buffer' to `multi-isearch-buffers'.
14868 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14869 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14870 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14871 FILES with `expand-file-name' converting relative file names
14872 to absolute. Doc fix. (Bug#4727)
14874 2009-11-30 Juri Linkov <juri@jurta.org>
14876 * misearch.el (multi-isearch-read-buffers)
14877 (multi-isearch-read-matching-buffers): New functions.
14878 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14879 Use them in the `interactive' spec. Doc fix.
14880 (multi-isearch-read-files, multi-isearch-read-matching-files):
14882 (multi-isearch-files, multi-isearch-files-regexp):
14883 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14885 2009-11-30 Juri Linkov <juri@jurta.org>
14887 * doc-view.el (doc-view-continuous):
14888 Rename from `doc-view-continuous-mode'.
14889 (doc-view-menu): Move "Toggle display" to the top.
14890 Add submenu "Continuous" with radio buttons "Off"/"On"
14891 and "Save as Default".
14892 (doc-view-scroll-up-or-next-page)
14893 (doc-view-scroll-down-or-previous-page)
14894 (doc-view-next-line-or-next-page)
14895 (doc-view-previous-line-or-previous-page):
14896 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14898 2009-11-30 Juri Linkov <juri@jurta.org>
14900 * comint.el (comint-mode-map): Rebind `M-r' from
14901 `comint-previous-matching-input' to
14902 `comint-history-isearch-backward-regexp'.
14903 Unbind `M-s' to allow global key binding `M-s'.
14904 Add menu items for `comint-history-isearch-backward' and
14905 `comint-history-isearch-backward-regexp'. (Bug#3746)
14907 2009-11-30 Juri Linkov <juri@jurta.org>
14909 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14910 For def=recenter, replace `recenter' with `recenter-top-bottom'
14911 that is called with `this-command' and `last-command' let-bound
14912 to `recenter-top-bottom'. When the last `def' was not `recenter',
14913 set `recenter-last-op' to nil. (Bug#4981)
14915 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14917 Minor cleanup and simplification.
14918 * filecache.el (file-cache-add-directory)
14919 (file-cache-add-directory-recursively)
14920 (file-cache-add-from-file-cache-buffer)
14921 (file-cache-delete-file-regexp, file-cache-delete-directory)
14922 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14923 (file-cache-temp-minibuffer-message): Delete function.
14924 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14926 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14927 Don't signal an error when bumping into EOB in tr, s, or y.
14929 2009-11-29 Juri Linkov <juri@jurta.org>
14931 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14934 * descr-text.el (describe-char-unidata-list): Use lowercase name
14935 for "Unicode name" like in other tags.
14937 2009-11-29 Juri Linkov <juri@jurta.org>
14939 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14940 New compatibility macro.
14941 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14943 2009-11-29 Juri Linkov <juri@jurta.org>
14945 Add defcustom to define the cycling order of `recenter-top-bottom'.
14948 * window.el (recenter-last-op): Doc fix.
14949 (recenter-positions): New defcustom.
14950 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14951 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14953 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14955 Improve integration of Tramp and ange-ftp in eshell.
14957 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14958 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14959 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14961 * eshell/esh-util.el (top): Require also Tramp when compiling.
14962 (eshell-directory-files-and-attributes): Check for FTP remote
14964 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14965 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14966 (eshell-file-attributes): Handle ".". Return `entry'.
14968 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14969 (ange-ftp-directory-files-and-attributes)
14970 (ange-ftp-real-directory-files-and-attributes): New defuns.
14972 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14973 shell with "exec" when possible. This prevents trailing prompts
14974 in `start-file-process'.
14976 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14978 Try and remove assumptions about point-min==1.
14979 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14980 (rng-compute-mode-line-string): Show the validation percentage in
14981 terms of the narrowed text, not the widened text.
14982 (rng-do-some-validation): Don't catch internal errors when debugging.
14983 (rng-first-error): Simplify.
14984 (rng-after-change-function): Remove work around. AFAIK the bug has
14985 been fixed a while ago.
14987 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14988 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14990 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14992 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14993 `cd' doesn't always do it for us (bug#5067).
14995 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14996 on 2009-10-25 as part of some other change (bug#5067).
14998 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15000 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15002 (byte-compile-warnings): Use byte-compile-warning-types.
15003 (byte-compile-save-excursion): Warn about use of set-buffer right
15004 after save-excursion.
15006 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15007 the excursion as well.
15009 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15011 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15012 providing a Tramp related implementation of "su" and "sudo".
15013 (eshell-unix-initialize): Add "su" and "sudo".
15015 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15017 * net/socks.el (socks-send-command): Convert binary request to
15018 unibyte before sending. This fixes mishandling of some port
15019 numbers such as 129.
15021 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15023 * help.el (describe-bindings-internal): Remove `interactive'.
15025 * man.el (Man-completion-table): Trim a terminating "(".
15026 Remove the space between name page a section.
15027 Add the command's description on the `help-echo' property.
15028 Remove `process-connection-type' binding since it's unused by
15030 Provide completion for the "<section> <name>" format as well.
15031 (Man-default-man-entry): Remove spurious var shadowing the argument.
15033 2009-11-26 Kevin Ryde <user42@zip.com.au>
15035 * log-view.el: Add "Keywords: tools", since its other keywords
15036 aren't in finder-known-keywords, and following vc.el.
15038 * sha1.el (sha1-string-external): default-directory "/" in case
15039 otherwise non-existent. process-connection-type pipe for touch of
15040 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15042 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15044 Misc coding convention cleanups.
15045 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15046 hfy-init-kludge-hooks.
15047 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15048 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15049 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15051 (hfy-slant, hfy-weight): Use tables rather than code.
15052 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15053 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15054 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15055 (hfy-face-to-css): Remove `nconc' with single arg.
15056 (hfy-p-to-face-lennart): Use `or'.
15057 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15058 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15059 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15060 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15061 (hfy-force-fontification): Use run-hooks.
15063 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15065 Various minor fixes.
15066 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15067 Javascript belongs in the header, not the body.
15068 (hfy-javascript): Remove.
15069 (hfy-fontify-buffer): Don't insert it any more.
15070 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15071 Fix bug in invis handling when there were no invis props in a chunk.
15073 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15075 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15077 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15079 * finder.el (finder-mode-map): Add a menu.
15081 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15083 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15084 "unsigned" structs.
15086 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15087 fork" statement better.
15089 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15091 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15092 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15093 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15094 Reported by Clay Douglass.
15096 (verilog-auto-inst, verilog-auto-star-safe)
15097 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15098 Fix removing "// Interfaces" when saving .* expansions.
15099 Reported by Pierre-David Pfister.
15101 2009-11-26 Glenn Morris <rgm@gnu.org>
15103 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15106 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15108 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15109 Really use previous revision.
15111 2009-11-25 Kevin Ryde <user42@zip.com.au>
15113 * man.el (Man-completion-table): default-directory "/" in case
15114 doesn't otherwise exist. process-environment COLUMNS=999 so as
15115 not to truncate long names. process-connection-type pipe to avoid
15116 any chance of hitting the pseudo-tty TIOCGWINSZ.
15117 (man): completion-ignore-case t for friendliness and since man
15118 itself is case-insensitive on the command line.
15119 Further to Bug#3717.
15121 * arc-mode.el: Add "Keywords: files", so the details in its
15122 commentary can be reached from finder-by-keyword.
15123 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15124 editing mode, but it's comms related and sgml-mode.el has "comm"
15126 * textmodes/bibtex-style.el: Add "Keywords: tex".
15127 * international/isearch-x.el, international/ja-dic-cnv.el:
15128 * international/ja-dic-utl.el, international/kkc.el:
15129 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15131 2009-11-25 Juri Linkov <juri@jurta.org>
15133 * man.el (Man-completion-table): Modify regexp to include
15134 section names to completion strings. (Bug#3717)
15136 2009-11-25 Juri Linkov <juri@jurta.org>
15138 Search recursively in gzipped files. (Bug#4982)
15140 * progmodes/grep.el (grep-highlight-matches): Add new options
15141 `always' and `auto'. Doc fix.
15142 (grep-process-setup): Check `grep-highlight-matches' for
15143 `auto-detect' to determine the need to compute grep defaults.
15144 Move Windows/DOS specific --colors settings handling
15145 to `grep-compute-defaults'. Check `grep-highlight-matches'
15146 to get the value of "--color=".
15147 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15148 has the value `auto-detect'. Move Windows/DOS specific settings
15149 from `grep-process-setup'.
15150 (zrgrep): New command with alias `rzgrep'.
15152 2009-11-25 Juri Linkov <juri@jurta.org>
15154 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15155 to nil instead of switching off view-mode. (Bug#4896)
15157 2009-11-25 Juri Linkov <juri@jurta.org>
15159 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15161 * mwheel.el (mwheel-scroll-up-function)
15162 (mwheel-scroll-down-function): New defvars.
15163 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15164 `scroll-up', and `mwheel-scroll-down-function' instead of
15167 * doc-view.el (doc-view-scroll-up-or-next-page)
15168 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15169 Use this ARG in the call to image-scroll-up/image-scroll-down.
15170 Change `interactive' spec to "P". Goto next/previous page only
15171 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15172 SPC/DEL case). Doc fix.
15173 (doc-view-next-line-or-next-page)
15174 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15176 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15177 `doc-view-scroll-up-or-next-page', and buffer-local
15178 `mwheel-scroll-down-function' to
15179 `doc-view-scroll-down-or-previous-page'.
15181 2009-11-25 Juri Linkov <juri@jurta.org>
15183 Provide additional default values (directories at other Dired
15184 windows) via M-n in the minibuffer of some Dired commands.
15186 * dired-aux.el (dired-diff, dired-compare-directories)
15187 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15188 `minibuffer-default' in `minibuffer-with-setup-hook'.
15189 (dired-dwim-target-directory): Find a window that displays Dired
15190 buffer instead of failing when the next window is not Dired.
15191 Use `get-window-with-predicate' to find for the next Dired window.
15192 (dired-dwim-target-defaults): New function.
15194 * ediff-util.el (ediff-read-file-name):
15195 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15196 in `minibuffer-with-setup-hook'.
15198 2009-11-25 Juri Linkov <juri@jurta.org>
15200 Provide additional default values (file name at point or at the
15201 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15203 * minibuffer.el (read-file-name-defaults): New function.
15204 (read-file-name): Reset `minibuffer-default' to nil when
15205 it duplicates initial input `insdef'.
15206 Bind `minibuffer-default-add-function' to lambda that
15207 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15208 (minibuffer-insert-file-name-at-point): New command.
15210 * files.el (file-name-at-point-functions): New defcustom.
15211 (find-file-default): Remove defvar.
15212 (find-file-read-args): Don't use `find-file-default'.
15213 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15214 to `read-file-name'.
15215 (find-file-literally): Use `read-file-name' with
15216 `confirm-nonexistent-file-or-buffer'.
15218 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15220 * dired.el (dired-read-dir-and-switches):
15221 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15222 to `read-file-name'.
15223 (dired-file-name-at-point): New function.
15224 (dired-mode): Add hook `dired-file-name-at-point' to
15225 `file-name-at-point-functions'.
15227 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15229 Really make the *Completions* window soft-dedicated (bug#5030).
15230 * window.el (window--display-buffer-2): Add `dedicated' argument.
15231 (display-buffer): Pass it when needed so the dedicated flag is set
15232 after calling set-window-buffer, which would otherwise reset it.
15234 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15236 * progmodes/meta-mode.el (meta-complete-symbol):
15237 * progmodes/etags.el (complete-tag):
15238 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15239 Use completion-in-region.
15241 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15242 (dabbrev-completion): Use completion-in-region.
15243 (dabbrev--abbrev-at-point): Simplify regexp.
15245 * abbrev.el (abbrev--before-point): Use word-motion functions
15246 if :regexp is not specified (bug#5031).
15248 * subr.el (string-prefix-p): New function.
15250 * man.el (Man-completion-cache): New var.
15251 (Man-completion-table): Use it.
15253 * vc.el (vc-print-log-internal): Make `limit' optional for better
15254 compatibility (e.g. with vc-annotate.el).
15256 2009-11-24 Kevin Ryde <user42@zip.com.au>
15258 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15259 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15261 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15262 when .el source file not found or other error.
15264 2009-11-24 Markus Triska <markus.triska@gmx.at>
15266 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15268 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15270 Handle the [back] button properly (bug#4979).
15271 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15272 Use help-setup-xref, help-buffer, and with-help-window.
15273 (describe-char): Add `buffer' argument.
15274 Pass proper command to help-setup-xref. Don't meddle with
15275 help-xref-stack-item directly.
15276 (describe-text-category): Use with-help-window and help-buffer.
15278 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15279 for the displayed buffer (bug#4887).
15281 * man.el (Man-completion-table): New function.
15284 2009-11-24 David Reitter <david.reitter@gmail.com>
15286 * vc-git.el (vc-git-registered): Use checkout directory (where
15287 .git is) rather than the file's directory and a relative path spec
15288 to work around a bug in git.
15290 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15292 Improve handling of processes on remote hosts.
15294 * eshell/esh-util.el (eshell-path-env): New defvar.
15295 (eshell-parse-colon-path): New defun.
15296 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15298 * eshell/esh-ext.el (eshell-search-path):
15299 Use `eshell-parse-colon-path'.
15300 (eshell-remote-command): Remove argument HANDLER.
15301 (eshell-external-command): Check for FTP remote connection.
15303 * eshell/esh-proc.el (eshell-gather-process-output):
15304 Use `file-truename', in order to start also symlinked files.
15305 Apply `start-file-process' instead of `start-process'.
15306 Shorten `command' to the local file name part.
15308 * eshell/em-cmpl.el (eshell-complete-commands-list):
15309 Use `eshell-parse-colon-path'.
15311 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15313 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15314 to `eshell-directory-change-hook'.
15316 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15318 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15319 because it could be enabled automatically if view-read-only is non-nil.
15321 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15323 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15324 made on 2009-11-22.
15326 2009-11-24 Glenn Morris <rgm@gnu.org>
15328 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15329 deleted variable bookmark-bmenu-bookmark-column.
15331 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15333 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15335 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15337 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15338 two slashes to the "file:" prefix.
15339 (browse-url-file-url): De-munge Cygwin filenames before passing
15340 them to Windows browser.
15341 (browse-url-default-windows-browser): Use call-process.
15343 2009-11-23 Juri Linkov <juri@jurta.org>
15345 Implement DocView Continuous mode. (Bug#4896)
15346 * doc-view.el (doc-view-continuous-mode): New defcustom.
15347 (doc-view-mode-map): Bind C-n/<down> to
15348 `doc-view-next-line-or-next-page', C-p/<up> to
15349 `doc-view-previous-line-or-previous-page'.
15350 (doc-view-next-line-or-next-page)
15351 (doc-view-previous-line-or-previous-page): New commands.
15353 2009-11-23 Juri Linkov <juri@jurta.org>
15355 Implement Isearch in comint input history. (Bug#3746)
15356 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15357 `isearch-mode-hook'.
15358 (comint-history-isearch): New defcustom.
15359 (comint-history-isearch-backward)
15360 (comint-history-isearch-backward-regexp): New commands.
15361 (comint-history-isearch-message-overlay): New buffer-local variable.
15362 (comint-history-isearch-setup, comint-history-isearch-end)
15363 (comint-goto-input, comint-history-isearch-search)
15364 (comint-history-isearch-message, comint-history-isearch-wrap)
15365 (comint-history-isearch-push-state)
15366 (comint-history-isearch-pop-state): New functions.
15368 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15370 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15372 (tramp-handle-make-symbolic-link)
15373 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15375 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15376 (tramp-handle-process-file): Use it.
15378 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15380 * window.el (move-to-window-line-last-op): Remove.
15381 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15383 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15385 Make M-r mirror the new cycling behavior of C-l.
15386 * window.el (move-to-window-line-last-op): New var.
15387 (move-to-window-line-top-bottom): New command.
15388 (global-map): Bind M-r move-to-window-line-top-bottom.
15390 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15392 * dired-x.el (dired-guess-shell-alist-default):
15393 Support xz format. (Bug#4953)
15395 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15397 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15398 last-command-char/last-command-event.
15399 (viper-prefix-arg-value): Do correct conversion of event-char for
15402 * emulation/viper-util.el, emulation/viper.el:
15403 Use viper-last-command-char instead of
15404 last-command-char/last-command-event.
15406 * ediff-init.el, ediff-mult.el, ediff-util.el:
15407 Replace last-command-char and last-command-event
15408 with (ediff-last-command-char) everywhere.
15410 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15411 created in fundamental mode.
15413 * ediff.el (ediff-version): Revert the change of interactive-p to
15414 called-interactively-p.
15416 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15418 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15419 generation from word-movement command names.
15421 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15423 * cus-start.el (all): Add native condition for font-use-system-font.
15425 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15427 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15428 Correct the patch from 2009-11-18. (Bug#3910)
15430 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15432 * progmodes/subword.el: Rename from lisp/subword.el.
15434 * subword.el: Rename to progmodes/subword.el.
15436 * Makefile.in (ELCFILES): Adapt to subword.el move.
15438 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15439 Stefan Monnier <monnier@iro.umontreal.ca>
15441 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15442 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15443 (bookmark-bmenu-show-filenames): Use push.
15444 (bookmark-bmenu-hide-filenames): Use local var instead of
15445 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15446 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15447 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15448 filenames now that the bookmark names are always available.
15450 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15452 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15453 (bookmark-search-pattern): Move and leave unbound.
15454 (bookmark-bmenu-mode-map): Change binding.
15455 (bookmark-read-search-input): Simplify.
15456 Don't use text-char-description. Don't error on non-char events.
15457 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15458 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15459 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15460 Use a local var for the timer.
15461 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15462 (i.e. bookmark-bmenu-search).
15464 2009-11-21 Glenn Morris <rgm@gnu.org>
15466 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15468 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15470 * net/browse-url.el (browse-url-default-windows-browser):
15471 Use cygstart for cygwin.
15473 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15475 * bookmark.el: Formatting and doc fixes only:
15476 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15477 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15478 Minor grammar and punctuation fixes in doc string.
15479 (bookmark-read-search-input): Adjust to fit within 80 columns.
15481 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15483 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15484 (c-backward-into-nomenclature): Adapt to subword renaming.
15486 * subword.el (subword-forward, subword-backward, subword-mark)
15487 (subword-kill, subword-backward-kill, subword-transpose)
15488 (subword-downcase, subword-upcase, subword-capitalize)
15489 (subword-forward-internal, subword-backward-internal):
15490 Rename from forward-subword, backward-subword, mark-subword,
15491 kill-subword, backward-kill-subword, transpose-subwords,
15492 downcase-subword, upcase-subword, capitalize-subword,
15493 forward-subword-internal, backward-subword-internal.
15495 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15497 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15499 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15501 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15502 (bookmark-bmenu-filter-alist-by-regexp)
15503 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15504 (bookmark-bmenu-search): New command.
15505 (bookmark-bmenu-mode-map): Bind it.
15507 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15509 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15510 backward-subword to quit the byte-compiler.
15512 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15514 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15516 * progmodes/cc-cmds.el (c-update-modeline)
15517 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15518 Refer to subword.el functions instead of cc-subword.el.
15520 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15521 subword.el functions instead of cc-subword.el.
15523 * progmodes/cc-subword.el: Rename to subword.el.
15524 * subword.el: Rename from progmodes/cc-subword.el.
15525 (subword-mode-map): Rename from c-subword-mode-map.
15526 (subword-mode): Rename from c-subword-mode.
15527 (global-subword-mode): New global minor mode.
15528 (forward-subword): Rename from c-forward-subword.
15529 (backward-subword): Rename from c-backward-subword.
15530 (mark-subword): Rename from c-mark-subword.
15531 (kill-subword): Rename from c-kill-subword.
15532 (backward-kill-subword): Rename from c-backward-kill-subword.
15533 (transpose-subwords): Rename from c-tranpose-subword.
15534 (downcase-subword): Rename from c-downcase-subword.
15535 (capitalize-subword): Rename from c-capitalize-subword.
15536 (forward-subword-internal): Rename from c-forward-subword-internal.
15537 (backward-subword-internal): Rename from c-backward-subword-internal.
15539 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15541 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15542 from a dired buffer.
15543 (vc-dired-deduce-fileset): New function.
15544 (vc-root-diff, vc-print-root-log): Use it.
15546 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15547 nil LIMIT argument to vc-print-log-internal.
15549 2009-11-20 Glenn Morris <rgm@gnu.org>
15551 * Makefile.in (ELCFILES): Regenerate.
15553 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15555 * calc/calc.el (calc-set-mode-line):
15556 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15557 (math-format-number): Rename `math-format-complement-signed' to
15558 `math-format-twos-complement'.
15560 * calc/calc-bin.el (math-format-twos-complement): Rename from
15561 math-format-complement-signed.
15562 (calc-radix): Rename `calc-complement-signed-mode' to
15563 `calc-twos-complement-mode'.
15564 (calc-octal-radix, calc-hex-radix): Add an argument for
15567 * calc/calc-embed.el (calc-embedded-mode-vars):
15568 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15570 * calc/calc-ext.el (calc-init-extensions):
15571 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15572 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15574 * calc/calc-units.el (math-build-units-table-buffer):
15575 Let `calc-twos-complement-mode' be nil.
15577 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15580 * calc/calc-vec.el (calcFunc-vunpack):
15581 * calc/calc-aent.el (calc-do-calc-eval):
15582 * calc/calc-forms.el (math-format-date):
15583 * calc/calc-graph.el (calc-graph-plot):
15584 * calc/calc-math.el (math-use-emacs-fn):
15585 * calc/calccomp.el (math-compose-expr):
15586 Let `calc-twos-complement-mode' be nil.
15588 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15590 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15591 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15592 * minibuffer.el (completion-in-region-functions): New hook.
15593 (completion-in-region): New function.
15594 * emacs-lisp/lisp.el (lisp-complete-symbol):
15595 * pcomplete.el (pcomplete-std-complete): Use it.
15597 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15599 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15600 (latex-complete-alist): New vars.
15601 (latex-string-prefix-p, latex-complete-bibtex-keys)
15602 (latex-complete-envnames, latex-complete-refkeys)
15603 (latex-complete-data): New functions.
15604 (latex-complete, latex-indent-or-complete): New commands.
15606 * window.el (display-buffer-mark-dedicated): New var.
15607 (display-buffer): Obey it.
15608 * minibuffer.el (minibuffer-completion-help): Use it.
15610 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15612 * filecache.el (file-cache-add-file): Use push and cons.
15613 (file-cache-delete-file-regexp): Use push.
15614 (file-cache-complete): Use completion-in-region.
15616 * simple.el (with-wrapper-hook): Fix thinko.
15618 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15619 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15620 Use with-current-buffer and string-to-number.
15621 (hfy-fallback-colour-values): Use assoc-string.
15622 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15623 (hfy-face-at): Remove unused var `found-face'.
15624 (hfy-compile-stylesheet): Remove unused var `css'.
15625 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15627 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15628 Use with-current-buffer.
15629 (hfy-text-p): Use expand-file-name and fewer setq.
15631 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15633 * htmlfontify.el, hfy-cmap.el: New files.
15635 2009-11-19 Juri Linkov <juri@jurta.org>
15637 * minibuffer.el (completions-format): New defcustom.
15638 (completion--insert-strings): Implement vertical format.
15640 * simple.el (switch-to-completions): Move point to the first
15641 completion when point was at the beginning of the buffer.
15643 2009-11-19 Juri Linkov <juri@jurta.org>
15645 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15647 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15649 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15651 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15652 (mail-signature): Change default to t.
15653 (mail-from-style): Deprecate `system-default' value.
15654 (mail-insert-from-field): For default value of mail-from-style,
15655 default to `angles' unless `angles' needs quoting and `parens'
15657 (mail-citation-prefix-regexp): Use citation regexp from
15660 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15662 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15663 Set variables for computing the prompt for reading password.
15665 2009-11-19 Glenn Morris <rgm@gnu.org>
15667 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15669 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15671 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15672 (newsticker-treeview-listwindow-height): Fix custom type.
15674 2009-11-19 Kenichi Handa <handa@m17n.org>
15676 * descr-text.el (describe-char-padded-string): Compose with TAB
15677 only if there's a font for CH.
15678 (describe-char): Fix the condition for detecting a trivial composition.
15680 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15682 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15683 more accurate version of the regexp. (Bug#3910)
15685 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15687 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15689 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15691 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15692 (font-setting-change-default-font): Fix typo in docstring.
15694 2009-11-18 Alan Mackenzie <acm@muc.de>
15696 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15698 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15700 * font-setting.el (font-use-system-font): Move ...
15702 * cus-start.el (all): ... to here.
15704 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15706 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15707 Don't set `ad-return-value' if `ad-do-it' doesn't.
15709 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15712 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15714 * menu-bar.el: Put "Use system font" in Option-menu.
15715 (menu-bar-options-save): Add font-use-system-font.
15717 * loadup.el: If feature system-font-setting or font-render-setting is
15718 there, load font-setting.
15720 * Makefile.in (ELCFILES): Add font-settings.el.
15721 * font-setting.el: New file.
15723 2009-11-17 Glenn Morris <rgm@gnu.org>
15725 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15727 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15728 Preserve point in the list buffer. (Bug#4939)
15730 (newsticker--treeview-list-update-highlight)
15731 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15733 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15735 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15738 * calc/calc-ext.el (calc-init-extensions): Remove references to
15741 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15743 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15744 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15747 2009-11-16 Kevin Ryde <user42@zip.com.au>
15749 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15750 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15752 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15753 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15754 Ignore trailing spaces by omit-nulls to split-string (fixing
15755 regression from Emacs 21 due to the incompatible split-string
15756 change). (Bug #4928.)
15758 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15760 * vc.el (vc-log-show-limit): Default to 2000.
15761 (vc-print-log-internal): Insert buttons to request more entries
15762 when limiting the output.
15764 * vc-sccs.el (vc-sccs-print-log):
15765 * vc-rcs.el (vc-rcs-print-log):
15766 * vc-cvs.el (vc-cvs-print-log):
15767 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15770 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15772 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15773 error when `tramp-gvfs-dbus-event-vector' is set.
15774 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15776 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15778 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15780 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15782 * net/dbus.el (dbus-unregister-service): New defun.
15783 (dbus-register-property): Register the handlers of
15784 "org.freedesktop.DBus.Properties" for SERVICE.
15785 (dbus-property-handler): Fix docstring.
15787 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15789 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15790 Quote doc string reference in defvaralias as it is not in special form.
15791 (byte-compile-output-docform): Doc fix.
15793 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15795 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15796 (calc-complement-signed-mode): New variables.
15797 (calc-set-mode-line): Add indicator for twos-complements.
15798 (math-format-number): Format twos-complement notation.
15800 * calc/calc-bin.el (calc-word-size): Reset the variables
15801 `math-2-word-size' and `math-half-2-word-size'.
15802 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15803 (calc-symclip): New functions.
15805 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15807 * calc/calc-embed.el (calc-embedded-mode-vars):
15808 Add `calc-complement-signed-mode' to the list of modes.
15810 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15811 (calc-b-oper-keys): Add `calc-symclip' to list.
15813 * calc/calc-ext.el (math-read-number-fancy): Read complement
15815 (calc-init-extensions): Add binding for `calc-symclip'.
15816 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15818 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15820 (calc-modes-menu): Add item for twos complement mode.
15822 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15824 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15826 * register.el (jump-to-register, insert-register): Handle Semantic
15827 tags. From commented-out advice in semantic/senator.el.
15829 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15831 * vc.el (vc-log-show-limit): New variable.
15832 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15833 when using a prefix argument.
15834 (vc-print-log-internal): Add new argument LIMIT.
15836 * vc-svn.el (vc-svn-print-log):
15837 * vc-mtn.el (vc-mtn-print-log):
15838 * vc-hg.el (vc-hg-print-log):
15839 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15840 pass it to the log command when set. Make the BUFFER argument
15843 * vc-sccs.el (vc-sccs-print-log):
15844 * vc-rcs.el (vc-rcs-print-log):
15845 * vc-git.el (vc-git-print-log):
15846 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15847 ignore it. Make the BUFFER argument non-optional
15849 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15851 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15853 * dired.el (dired-mode-map): Move encryption items to "Operate"
15856 * strokes.el (strokes-update-window-configuration): Make strokes
15857 buffer current before erasing (Bug#4906).
15859 2009-11-15 Juri Linkov <juri@jurta.org>
15861 * simple.el (set-mark-default-inactive): Add :type, :group
15862 and :version. (Bug#4876)
15864 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15866 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15867 (archive-unique-fname): ... here. (Bug#4929)
15869 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15871 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15874 * novice.el (disabled-command-function): Add useful args.
15875 Setup the help buffer so that [back] works.
15876 Remove redundant call to help-mode.
15877 (disabled-command-function): Use `case'.
15878 (en/disable-command): New function extracted from enable-command.
15879 (enable-command, disable-command): Use it.
15881 2009-11-14 Glenn Morris <rgm@gnu.org>
15883 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15884 constants. (Bug#4913)
15886 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15888 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15890 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15891 defined in C that have no doc-strings. (Bug#1063)
15893 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15895 * cus-edit.el (data, files):
15896 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15898 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15900 * simple.el (shell-command): Doc fix (Bug#4891).
15902 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15904 2009-11-14 Glenn Morris <rgm@gnu.org>
15906 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15907 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15908 If they are already loaded, eval-after-load will do the right thing.
15910 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15913 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15915 * simple.el (x-selection-owner-p): Declare.
15916 (read-mail-command): Use custom radio type rather than choice.
15917 (completion-no-auto-exit): Doc fix.
15919 * custom.el (defgroup):
15920 * epg-config.el (epg): Doc fixes.
15922 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15924 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15925 * international/ccl.el (define-ccl-program): Do not purecopy the
15926 docstring, defconst does it anyway.
15928 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15930 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15933 * x-dnd.el (x-dnd-maybe-call-test-function):
15934 * window.el (split-window-vertically):
15935 * whitespace.el (whitespace-help-on):
15936 * vc-rcs.el (vc-rcs-consult-headers):
15937 * userlock.el (ask-user-about-lock-help)
15938 (ask-user-about-supersession-help):
15939 * type-break.el (type-break-force-mode-line-update):
15940 * time-stamp.el (time-stamp-conv-warn):
15941 * terminal.el (te-set-output-log, te-more-break, te-filter)
15942 (te-sentinel, terminal-emulator):
15943 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15944 (term-write-input-ring, term-check-source, term-start-output-log):
15945 (term-display-buffer-line, term-dynamic-list-completions):
15946 (term-ansi-make-term, serial-term):
15947 * subr.el (selective-display):
15948 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15949 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15950 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15951 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15952 (speedbar-remove-localized-speedbar-support)
15953 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15954 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15955 (speedbar-buffers-line-directory):
15956 * simple.el (shell-command-on-region, append-to-buffer)
15957 (prepend-to-buffer):
15958 * shadowfile.el (shadow-save-todo-file):
15959 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15960 (scroll-bar-maybe-set-window-start):
15961 * sb-image.el (speedbar-image-dump):
15962 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15963 (load-save-place-alist-from-file):
15964 * ps-samp.el (ps-print-message-from-summary):
15965 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15966 (ps-background-image, ps-begin-job, ps-do-despool):
15967 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15968 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15969 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15970 (pr-call-process, pr-file-list, pr-interface-save):
15971 * novice.el (disabled-command-function)
15972 (enable-command, disable-command):
15973 * mouse.el (mouse-buffer-menu-alist):
15974 * mouse-copy.el (mouse-kill-preserving-secondary):
15975 * macros.el (kbd-macro-query):
15976 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15977 * informat.el (batch-info-validate):
15978 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15979 * hippie-exp.el (try-expand-dabbrev-visible):
15980 * help-mode.el (help-make-xrefs):
15981 * help-fns.el (describe-variable):
15982 * generic-x.el (bat-generic-mode-run-as-comint):
15983 * finder.el (finder-mouse-select):
15984 * find-dired.el (find-dired-sentinel):
15985 * filesets.el (filesets-file-close):
15986 * files.el (list-directory):
15987 * faces.el (list-faces-display, describe-face):
15988 * facemenu.el (list-colors-display):
15989 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15990 * epg.el (epg--process-filter, epg-cancel):
15991 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15992 (epa--read-signature-type):
15993 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15994 (emerge-file-names):
15995 * ehelp.el (electric-helpify):
15996 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15997 * ediff-vers.el (rcs-ediff-view-revision):
15998 * ediff-util.el (ediff-setup):
15999 * ediff-mult.el (ediff-append-custom-diff):
16000 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16002 * echistory.el (Electric-command-history-redo-expression):
16003 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16004 * disp-table.el (describe-display-table):
16005 * dired.el (dired-find-buffer-nocreate):
16006 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16007 * dabbrev.el (dabbrev--same-major-mode-p):
16008 * chistory.el (list-command-history):
16009 * apropos.el (apropos-documentation):
16010 * allout.el (allout-obtain-passphrase):
16011 (allout-copy-exposed-to-buffer):
16012 (allout-verify-passphrase): Use with-current-buffer.
16014 2009-11-13 Glenn Morris <rgm@gnu.org>
16016 * Makefile.in (ELCFILES): Regenerate.
16018 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16020 * net/dbus.el (dbus-registered-objects-table): Rename from
16021 `dbus-registered-functions-table', because it contains also properties.
16022 (dbus-unregister-object): Unregister also properties.
16023 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16024 Use a timeout of 500 msec, in order to not block.
16025 (dbus-register-property, dbus-property-handler): New defuns.
16027 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16029 * simple.el (minibuffer-default-add-completions): Drop deprecated
16032 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16034 * textmodes/artist.el (artist-mouse-choose-operation):
16035 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16036 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16037 (artist-compute-up-event-key): New function.
16038 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16040 2009-11-13 Kenichi Handa <handa@m17n.org>
16042 * language/japan-util.el: Make sure that the value of jisx0208
16043 property is jisx0208 character.
16045 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16047 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16048 car or each item, not the whole list.
16050 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16052 * minibuffer.el (minibuffer-completion-help):
16053 Use minibuffer-hide-completions.
16055 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16057 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16058 (dired-revert): Use them (bug#4880).
16060 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16062 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16064 2009-11-12 Juri Linkov <juri@jurta.org>
16066 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16068 (find-file-literally-at-point): Alias of `ffap-literally'.
16070 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16072 * textmodes/ispell.el (ispell-skip-region-alist):
16073 * textmodes/css-mode.el (auto-mode-alist):
16074 * progmodes/compile.el (auto-mode-alist):
16075 * international/mule.el (ctext-non-standard-encodings-alist)
16076 (ctext-non-standard-encodings-regexp):
16077 * simple.el (shell-command-switch, text-read-only):
16078 * replace.el (occur-mode-map):
16079 * paths.el (rmail-file-name):
16080 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16081 * find-file.el (ff-special-constructs):
16082 * files.el (file-name-handler-alist):
16083 * composite.el: Purecopy strings.
16085 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16087 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16089 * widget.el (define-widget): Purecopy the docstring.
16090 * international/mule-cmds.el (charset): Do not purecopy the
16091 docstring here, define-widget does it.
16093 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16094 * textmodes/bibtex-style.el (auto-mode-alist):
16095 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16096 * progmodes/compile.el (compile-command):
16097 * language/korea-util.el (default-korean-keyboard):
16098 * international/mule-conf.el (file-coding-system-alist):
16099 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16100 * tooltip.el (tooltip-frame-parameters):
16101 * newcomment.el (comment-end, comment-padding):
16102 * dired.el (dired-trivial-filenames):
16103 * comint.el (comint-file-name-prefix): Purecopy initial values.
16105 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16107 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16108 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16110 (tramp-advice-make-auto-save-file-name)
16111 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16112 after removing the advice.
16114 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16116 * progmodes/grep.el (grep-regexp-alist):
16117 * international/mule-cmds.el (iso-2022-control-alist):
16118 * emacs-lisp/timer.el (timer-duration-words):
16119 * subr.el (version-separator, version-regexp-alist):
16120 * minibuffer.el (completion-styles-alist):
16121 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16122 Change defvars to defconsts.
16124 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16125 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16126 * international/mule-conf.el: Allow to be byte compiled.
16128 * international/mule.el (define-charset): Purecopy props.
16129 (load-with-code-conversion): Purecopy doc string and file name.
16130 (put-charset-property): Purecopy strings.
16131 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16133 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16134 (define-char-code-property): Correctly purecopy the table.
16136 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16138 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16140 * subr.el (add-hook): Purecopy strings.
16141 (eval-after-load): Purecopy load-history-regexp and the form.
16143 * custom.el (custom-declare-group): Purecopy load-file-name.
16145 * subr.el (menu-bar-separator): New defconst.
16146 * net/eudc.el (eudc-tools-menu):
16147 * international/mule-cmds.el (set-coding-system-map)
16148 (mule-menu-keymap):
16149 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16150 * vc-hooks.el (vc-menu-map):
16151 * replace.el (occur-mode-map):
16152 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16153 (menu-bar-edit-menu, menu-bar-goto-menu)
16154 (menu-bar-custom-menu, menu-bar-showhide-menu)
16155 (menu-bar-options-menu, menu-bar-tools-menu)
16156 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16157 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16158 (menu-bar-help-menu):
16159 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16160 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16162 * term/x-win.el (x-gtk-stock-map):
16163 * progmodes/vera-mode.el (auto-mode-alist):
16164 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16165 (inferior-lisp-program, inferior-lisp-load-command):
16166 * progmodes/hideshow.el (hs-special-modes-alist):
16167 * progmodes/gud.el (same-window-regexps):
16168 * progmodes/grep.el (grep-program, find-program, xargs-program):
16169 * net/telnet.el (same-window-regexps):
16170 * net/rlogin.el (same-window-regexps):
16171 * language/ethiopic.el (font-ccl-encoder-alist):
16172 * vc-sccs.el (vc-sccs-master-templates):
16173 * vc-rcs.el (vc-rcs-master-templates):
16174 * subr.el (cl-assertion-failed):
16175 * simple.el (next-error-overlay-arrow-position):
16176 * lpr.el (lpr-command):
16177 * locate.el (locate-ls-subdir-switches):
16178 * info.el (same-window-regexps, info)
16179 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16180 * image-mode.el (image-mode, auto-mode-alist):
16181 * hippie-exp.el (hippie-expand-ignore-buffers):
16182 * format.el (format-alist):
16183 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16185 * facemenu.el (facemenu-keybindings):
16186 * dired.el (dired-listing-switches, dired-chown-program):
16187 * diff.el (diff-switches, diff-command):
16188 * cus-edit.el (same-window-regexps):
16189 * bindings.el (mode-line-mule-info)
16190 (mode-line-buffer-identification): Purecopy strings.
16192 2009-11-11 Juri Linkov <juri@jurta.org>
16194 * simple.el (dired-get-filename) <declare-function>:
16195 Tell the byte-compiler about dired-get-filename.
16196 (shell-command): In Dired mode, get filename from the current line
16197 as the default value.
16199 2009-11-10 Glenn Morris <rgm@gnu.org>
16201 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16202 * calendar/holidays.el, progmodes/cperl-mode.el:
16203 Update x-popup-menu declarations.
16205 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16206 (list-load-path-shadows): Use dolist.
16207 (list-load-path-shadows): Use with-current-buffer.
16209 2009-11-10 Juri Linkov <juri@jurta.org>
16211 * minibuffer.el (read-file-name): Support a list of default values
16212 in `default-filename'. Use the first file name where only one
16213 element is required. Doc fix.
16215 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16217 * net/dbus.el (dbus-unregister-object): Release service, if no
16218 other method is registered for it.
16220 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16222 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16223 bookmark-sort-flag is non-nil (Bug#4653).
16225 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16227 * emulation/cua-base.el: Add CUA property to some CC mode commands
16230 2009-11-08 Kevin Ryde <user42@zip.com.au>
16232 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16233 at end of sentence (Bug#4818).
16235 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16237 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16238 Handle "see declaration of" MSFT statements (Bug#4100).
16240 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16242 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16243 (tramp-advice-file-expand-wildcards): Unload via
16244 `ad-remove-advice'.
16246 * net/trampver.el: Update release number.
16248 2009-11-08 Kevin Ryde <user42@zip.com.au>
16250 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16253 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16255 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16256 in order to keep context in SELinux.
16258 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16260 * dired-aux.el (dired-query): Place cursor in echo area and allow
16263 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16264 menu item if not on a directory (Bug#4701).
16266 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16268 Sync with Tramp 2.1.17.
16270 * net/tramp.el (tramp-handle-copy-directory): Don't use
16271 `file-remote-p' (due to compatibility).
16273 * net/tramp-compat.el (tramp-compat-copy-directory)
16274 (tramp-compat-delete-directory): New defuns.
16276 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16277 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16278 Use `tramp-compat-delete-directory'.
16280 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16281 (tramp-smb-handle-delete-directory):
16282 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16284 * net/trampver.el: Update release number.
16286 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16288 * tar-mode.el (tar-copy): Call write-region on the right buffer
16291 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16292 by hand, if necessary (Bug#4878).
16294 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16296 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16297 align size column (Bug#4839).
16299 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16302 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16304 * progmodes/ld-script.el (auto-mode-alist):
16305 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16307 * cus-face.el (custom-declare-face): Purecopy face spec.
16309 2009-11-06 Kenichi Handa <handa@m17n.org>
16311 * international/uni-bidi.el: Re-generated.
16312 * international/uni-category.el: Re-generated.
16313 * international/uni-combining.el: Re-generated.
16314 * international/uni-mirrored.el: Re-generated.
16316 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16318 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16319 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16320 (tex-start-options, slitex-run-command, latex-run-command)
16321 (tex-run-command, tex-directory):
16322 * textmodes/ispell.el (ispell-html-skip-alists)
16323 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16324 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16325 (adaptive-fill-regexp):
16326 * textmodes/dns-mode.el (auto-mode-alist):
16327 * progmodes/python.el (interpreter-mode-alist):
16328 * progmodes/etags.el (tags-compression-info-list):
16329 * progmodes/etags.el (tags-file-name):
16330 * net/browse-url.el (browse-url-galeon-program)
16331 (browse-url-firefox-program):
16332 * mail/sendmail.el (mail-signature-file)
16333 (mail-citation-prefix-regexp):
16334 * international/mule-conf.el (eight-bit):
16335 * international/latexenc.el (latex-inputenc-coding-alist):
16336 * international/fontset.el (x-pixel-size-width-font-regexp):
16337 * emacs-lisp/warnings.el (warning-type-format):
16338 * emacs-lisp/trace.el (trace-buffer):
16339 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16340 (emacs-lisp-mode-map):
16341 * calendar/holidays.el (holiday-solar-holidays)
16342 (holiday-bahai-holidays, holiday-islamic-holidays)
16343 (holiday-christian-holidays, holiday-hebrew-holidays)
16344 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16345 (hebrew-holidays-1, holiday-oriental-holidays)
16346 (holiday-general-holidays):
16347 * x-dnd.el (x-dnd-known-types):
16348 * tool-bar.el (tool-bar):
16349 * startup.el (site-run-file):
16350 * shell.el (shell-dumb-shell-regexp):
16351 * rfn-eshadow.el (file-name-shadow-tty-properties)
16352 (file-name-shadow-properties):
16353 * paths.el (remote-shell-program, news-directory):
16354 * mouse.el ([C-down-mouse-3]):
16355 * menu-bar.el (menu-bar-tools-menu):
16356 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16357 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16358 (jka-compr-compression-info-list):
16359 * isearch.el (search-whitespace-regexp):
16360 * image-file.el (image-file-name-extensions):
16361 * find-dired.el (find-ls-option):
16362 * files.el (directory-listing-before-filename-regexp)
16363 (directory-free-space-args, insert-directory-program)
16364 (list-directory-brief-switches, magic-fallback-mode-alist)
16365 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16366 (automount-dir-prefix):
16367 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16368 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16369 (face-font-registry-alternatives, face-font-registry-alternatives)
16370 (face-font-family-alternatives):
16371 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16372 (facemenu-foreground-menu, facemenu-face-menu):
16373 * epa-hook.el (epa-file-name-regexp):
16374 * dnd.el (dnd-protocol-alist):
16375 * textmodes/rst.el (auto-mode-alist):
16376 * button.el (default-button): Purecopy strings.
16378 2009-11-06 Glenn Morris <rgm@gnu.org>
16380 * Makefile.in (ELCFILES): Update.
16382 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16384 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16385 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16387 * nxml/xsd-regexp.el (xsdre-gen-categories):
16388 * nxml/xmltok.el (xmltok-parse-entity):
16389 * nxml/rng-parse.el (rng-parse-validate-file):
16390 * nxml/rng-maint.el (rng-format-manual)
16391 (rng-manual-output-force-new-line):
16392 * nxml/rng-loc.el (rng-save-schema-location-1):
16393 * nxml/rng-cmpct.el (rng-c-parse-file):
16394 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16395 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16397 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16399 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16400 Remove extra save-excursions and make-variable-buffer-local's.
16401 Suggested by Stefan Monnier.
16403 (verilog-getopt-file, verilog-module-inside-filename-p)
16404 (verilog-set-define): Merge GNU 1.35 and repair changes from
16405 switching to using with-current-buffer.
16407 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16408 being treated as a number and confusing AUTORESET.
16409 Reported by Dan Dever.
16411 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16412 Add verilog-auto-ignore-concat to fix backward compatibility with
16413 older verilog-modes. Reported by Dan Katz.
16415 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16416 containing closing anchors "...$".
16418 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16419 Reported by Wade Smith.
16421 (verilog-batch-execute-func): Comment on function usage.
16423 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16425 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16428 (verilog-label-re, verilog-calc-1): Support proper indent of named
16431 (verilog-backward-token, verilog-basic-complete-re)
16432 (verilog-beg-of-statement, verilog-indent-re): Support proper
16433 indent of the assert statement at the beginning of a block of text.
16435 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16436 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16439 2009-11-05 Glenn Morris <rgm@gnu.org>
16441 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16442 Emacs 19. (Bug#1531)
16443 (byte-compile-fix-header): Update for the above change.
16444 Drop test for epoch::version.
16446 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16447 * cus-dep.el (custom-make-dependencies):
16448 * finder.el (finder-compile-keywords):
16449 Use autoload-rubric's feature argument.
16451 * calendar/diary-lib.el (top-level): Make load behave more like require.
16453 * vc-git.el (vc-git-stash-map): Move definition before use.
16455 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16457 * custom.el (custom-declare-group): Purecopy standard-value.
16458 (custom-declare-group): Purecopy custom-prefix.
16460 * international/mule.el (load-with-code-conversion):
16461 Call do-after-load-evaluation unconditionally.
16463 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16465 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16467 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16469 2009-11-04 Glenn Morris <rgm@gnu.org>
16471 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16472 (byte-compile-compatibility): Remove option.
16473 (byte-compile-close-variables, byte-compile-fix-header)
16474 (byte-compile-insert-header, byte-compile-output-docform)
16475 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16476 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16477 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16478 (byte-compile-insert, byte-compile-defun):
16479 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16480 (byte-defop-compiler19): Remove.
16481 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16482 used by anything. Replace all calls with byte-defop-compiler.
16484 2009-11-04 Juri Linkov <juri@jurta.org>
16486 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16487 (menu-bar-options-menu): Don't quote the `prop' arg of
16488 `menu-bar-make-mm-toggle'.
16490 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16492 * calendar/calendar.el (cal-loaddefs):
16493 * calendar/diary-lib.el (diary-loaddefs):
16494 * calendar/holidays.el (hol-loaddefs):
16495 * eshell/esh-module.el (esh-groups): Load rather than require.
16497 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16499 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16501 (todo-top-priorities): Only display-buffer when called interactively.
16502 (todo-item-start): Don't save excursion point.
16503 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16504 (todo-insert-item-here, todo-file-item, todo-remove-item):
16505 Adjust uses of todo-item-start and todo-item-end.
16507 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16508 (autoload-rubric): Don't use any more.
16510 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16511 and only put a prop if it is non-nil.
16513 2009-11-03 Juri Linkov <juri@jurta.org>
16515 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16516 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16518 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16519 and "Menu" to make top-level menu item visually one unit (like
16520 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16521 multi-word menu items). Fix :help string for quit-window.
16523 2009-11-03 Glenn Morris <rgm@gnu.org>
16525 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16526 (byte-compile-file-form-define-abbrev-table)
16527 (byte-compile-file-form-custom-declare-variable)
16528 (byte-compile-variable-ref, byte-compile-defvar):
16529 Whether or not a warning is enabled should only affect whether we issue
16530 the warning, not whether or not we collect the relevant data.
16531 Eg warnings can be turned on and off throughout the course of a file.
16533 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16534 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16536 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16538 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16539 * play/mpuz.el (mpuz-create-buffer):
16540 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16541 (lm-print-y,s,noise, lm-print-w0, lm-init):
16542 * play/gomoku.el (gomoku-prompt-for-move):
16543 * play/fortune.el (fortune-in-buffer):
16544 * play/dissociate.el (dissociated-press):
16545 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16546 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16547 * mail/supercite.el (sc-eref-show):
16548 * mail/smtpmail.el (smtpmail-send-it):
16549 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16550 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16551 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16552 (rmail-summary-goto-msg, rmail-summary-expunge)
16553 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16554 (rmail-summary-add-label, rmail-summary-output-menu)
16555 (rmail-summary-output-body):
16556 * mail/rfc822.el (rfc822-addresses):
16557 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16558 * mail/mailpost.el (post-mail-send-it):
16559 * mail/hashcash.el (hashcash-generate-payment):
16560 * mail/feedmail.el (feedmail-run-the-queue)
16561 (feedmail-queue-send-edit-prompt-help-first)
16562 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16563 (feedmail-deduce-address-list):
16564 * eshell/esh-ext.el (eshell-remote-command):
16565 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16566 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16567 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16568 (viper-save-string-in-file, viper-valid-marker):
16569 * emulation/viper-keym.el (viper-toggle-key):
16570 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16571 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16572 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16573 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16574 (viper-exec-form-in-emacs, viper-brac-function):
16575 * emulation/viper.el (viper-delocalize-var):
16576 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16577 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16578 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16579 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16580 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16581 * emulation/edt.el (edt-electric-helpify):
16582 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16583 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16584 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16585 (cua-indent-to-global-mark-column):
16586 * calendar/diary-lib.el (calendar-mark-1):
16587 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16588 Use with-current-buffer.
16589 * emulation/viper.el (viper-delocalize-var): Use dolist.
16591 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16593 * comint.el (comint-replace-by-expanded-history-before-point):
16594 Replace !! with the previous input string literally (Bug#1795).
16596 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16598 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16599 to be made up of whitespace.
16601 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16603 * minibuffer.el (read-file-name): Don't use file dialogs for
16604 remote directories (Bug#99).
16606 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16608 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16610 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16612 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16613 instead of deleting the window or frame.
16615 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16617 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16618 Support face colors.
16620 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16621 New function. Support face colors (Bug#1168).
16622 (tex-common-initialization): Use it.
16624 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16625 mode allows it (Bug#1168).
16627 2009-10-31 Juri Linkov <juri@jurta.org>
16629 * facemenu.el (list-colors-display): Don't mark buffer as
16630 modified (Bug#3948).
16632 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16634 * international/mule-diag.el (list-character-sets-1):
16635 Minor message fix (Bug#3526).
16637 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16638 Fix face property (Bug#4834).
16639 (etags-list-tags, etags-tags-apropos-additional)
16640 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16643 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16646 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16648 * textmodes/two-column.el (2C-split):
16649 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16650 * textmodes/tex-mode.el (tex-set-buffer-directory):
16651 * textmodes/spell.el (spell-region, spell-string):
16652 * textmodes/reftex.el (reftex-erase-buffer):
16653 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16654 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16655 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16656 (reftex-select-item):
16657 * textmodes/reftex-ref.el (reftex-label-info-update)
16658 (reftex-offer-label-menu):
16659 * textmodes/reftex-index.el (reftex-index-change-entry)
16660 (reftex-index-phrases-info):
16661 * textmodes/reftex-global.el (reftex-create-tags-file)
16662 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16663 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16664 (reftex-view-crossref-from-bibtex):
16665 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16666 (reftex-extract-bib-entries-from-thebibliography)
16667 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16668 * textmodes/refbib.el (r2b-capitalize-title):
16669 (r2b-convert-buffer, r2b-help):
16670 * textmodes/page-ext.el (pages-directory)
16671 (pages-directory-goto-with-mouse):
16672 * textmodes/bibtex.el (bibtex-validate-globally):
16673 * textmodes/bib-mode.el (bib-capitalize-title):
16674 * textmodes/artist.el (artist-clear-buffer, artist-system):
16675 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16676 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16677 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16678 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16679 (xscheme-send-control-g-interrupt, xscheme-start-process)
16680 (xscheme-process-sentinel, xscheme-cd):
16681 * progmodes/verilog-mode.el (verilog-read-always-signals)
16682 (verilog-set-define, verilog-getopt-file)
16683 (verilog-module-inside-filename-p):
16684 * progmodes/sh-script.el:
16685 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16686 (python-pdbtrack-grub-for-buffer, python-execute-file):
16687 * progmodes/octave-inf.el (inferior-octave):
16688 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16689 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16690 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16691 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16692 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16693 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16694 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16695 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16696 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16697 (idlwave-shell-examine-display, idlwave-shell-run-region)
16698 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16699 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16700 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16701 (idlwave-help-get-help-buffer):
16702 * progmodes/gud.el (gud-basic-call, gud-find-class)
16703 (gud-tooltip-activate-mouse-motions-if-enabled):
16704 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16705 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16706 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16707 (ebrowse-tags-next-file):
16708 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16709 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16710 (ebnf-eps-finish-and-write):
16711 * progmodes/cpp.el (cpp-edit-save):
16712 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16713 * progmodes/cc-defs.el (c-emacs-features):
16714 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16715 (antlr-directory-dependencies):
16716 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16717 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16718 (ada-find-any-references, ada-make-filename-from-adaname)
16719 (ada-make-body-gnatstub):
16720 * obsolete/rnews.el (news-list-news-groups):
16721 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16722 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16723 * net/rcirc.el (rcirc-debug):
16724 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16725 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16726 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16727 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16728 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16729 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16730 (newsticker--treeview-list-clear-highlight)
16731 (newsticker--treeview-list-update-highlight)
16732 (newsticker--treeview-list-highlight-start)
16733 (newsticker--treeview-tree-update-highlight)
16734 (newsticker--treeview-get-selected-item)
16735 (newsticker-treeview-mark-list-items-old)
16736 (newsticker--treeview-set-current-node):
16737 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16738 * net/newst-backend.el (newsticker--get-news-by-funcall)
16739 (newsticker--get-news-by-wget, newsticker--image-get)
16740 (newsticker--image-sentinel):
16741 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16742 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16743 (eudc-ph-close-session):
16744 * net/eudc.el (eudc-save-options):
16745 * language/thai-word.el (thai-update-word-table):
16746 * language/japan-util.el (japanese-string-conversion):
16747 * international/titdic-cnv.el (tsang-quick-converter)
16748 (ziranma-converter, ctlau-converter):
16749 * international/mule-cmds.el (describe-language-environment):
16750 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16751 (skkdic-convert-postfix, skkdic-convert-prefix):
16752 (skkdic-convert-okuri-nasi, skkdic-convert):
16753 * emacs-lisp/re-builder.el (reb-update-overlays):
16754 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16755 * emacs-lisp/gulp.el (gulp-send-requests):
16756 * emacs-lisp/find-gc.el (trace-call-tree):
16757 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16758 (eieio-describe-generic):
16759 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16760 * emacs-lisp/edebug.el (edebug-outside-excursion):
16761 * emacs-lisp/debug.el (debugger-make-xrefs):
16762 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16763 * emacs-lisp/chart.el (chart-new-buffer):
16764 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16765 Use with-current-buffer.
16766 * textmodes/artist.el (artist-system): Don't call
16767 copy-sequence on a fresh string.
16768 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16770 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16772 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16773 is no item to edit. (Bug#4820)
16774 (todo-top-priorities): Restore point and restore narrowing in Todo
16777 2009-10-31 Glenn Morris <rgm@gnu.org>
16779 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16780 (comint-last-output-start, comint-last-input-start)
16781 (comint-last-input-end): Don't defvar when compiling.
16782 (ange-ftp-process-file): Use bound-and-true-p.
16784 * pcmpl-rpm.el (top-level): Move provide statement to end.
16785 (pcmpl-rpm): Remove unused custom group.
16787 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16789 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16791 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16792 (byte-compile-warnings): Add `constants' as an option.
16793 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16794 (display-call-tree): Update for byte-compile-fdefinition possibly
16795 returning `(macro lambda ...)'. (Bug#4778)
16796 (byte-compile-variable-ref, byte-compile-setq-default):
16797 Respect `constants' member of byte-compile-warnings.
16799 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16801 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16802 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16805 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16807 * textmodes/ispell.el (ispell-skip-region-alist):
16808 * international/mule-conf.el (eight-bit):
16809 * international/fontset.el (font-encoding-alist):
16810 * startup.el (pure-space-overflow-message):
16811 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16812 * paths.el (gnus-nntp-service, rmail-spool-directory)
16813 (term-file-prefix):
16814 * files.el (save-some-buffers-action-alist):
16815 * cmuscheme.el (same-window-buffer-names):
16816 * ielm.el (same-window-buffer-names):
16817 * shell.el (same-window-buffer-names):
16818 * mail/sendmail.el (same-window-buffer-names):
16819 * progmodes/inf-lisp.el (same-window-buffer-names):
16820 * bindings.el (mode-line-client)
16821 (mode-line-column-line-number-mode-map):
16822 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16823 (tibetan-precomposed-regexp): Purecopy string arguments.
16825 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16827 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16828 (calcDigit-nondigit):
16829 * calc/calc-yank.el (calc-copy-to-buffer):
16830 * calc/calc-units.el (calc-invalidate-units-table):
16831 * calc/calc-trail.el (calc-trail-yank):
16832 * calc/calc-store.el (calc-insert-variables):
16833 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16834 * calc/calc-prog.el (calc-read-parse-table):
16835 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16836 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16837 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16838 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16839 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16840 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16841 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16842 * calc/calc-ext.el (calc-realign):
16843 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16844 (calc-embedded-finish-edit, calc-embedded-make-info)
16845 (calc-embedded-finish-command, calc-embedded-stack-change):
16846 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16848 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16849 shell-dynamic-complete-filename in preference to
16850 comint-dynamic-complete-filename.
16852 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16853 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16854 Don't consider whether the display supports colors.
16855 (bookmark-import-new-list): Use dolist.
16856 (bookmark-bmenu-mode-map): Move initialization into declaration.
16857 (bookmark-bmenu-list): Use dolist, simplify.
16858 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16859 (menu-bar-final-items): Use push.
16861 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16863 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16864 it works on remote files.
16865 (vc-hg-diff): Don't pass any `--cwd' argument.
16867 2009-10-27 Kevin Ryde <user42@zip.com.au>
16869 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16870 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16871 (Further to Bug#3921).
16873 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16875 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16876 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16877 calling `tramp-imap-put-file'. Add file size to the call.
16878 (tramp-imap-get-file-entries): Compute also user name, file size,
16880 (tramp-imap-handle-insert-directory): Insert uid and gid.
16881 (tramp-imap-handle-file-attributes): Transform uid and gid
16882 according to `id-format'.
16883 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16884 size in header X-Size.
16886 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16888 * simple.el (transpose-subr): Give clearer error when the mark
16889 is not set. (Bug#4807)
16891 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16893 * net/tramp.el (tramp-perl-file-truename): New defconst.
16894 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16895 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16896 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16897 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16899 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16900 Ignore `dired-call-process'.
16901 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16903 2009-10-26 Julian Scheid <julians37@gmail.com>
16905 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16906 (tramp-get-remote-readlink): New defun.
16907 (tramp-handle-file-truename): Use it.
16908 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16909 file exists if cache value present.
16910 (tramp-check-cached-permissions): New defun.
16911 (tramp-handle-file-readable-p): Use it.
16912 (tramp-handle-file-writable-p): Likewise.
16913 (tramp-handle-file-executable-p): Likewise.
16914 (tramp-handle-file-name-all-completions): Try using Perl to get
16915 partial completions. When perl not available, combine `cd' and
16916 `ls' into single remote operation and use shell expansion to get
16917 partial remote directory contents. Set `file-exists-p' cache for
16918 directory and any files returned by ls. Change cache handling to
16919 support partial directory contents. Use error message emitted by
16920 remote `cd' or Perl code for local tramp-error.
16921 (tramp-do-copy-or-rename-file-directly): Avoid separate
16922 tramp-send-command-and-check call.
16923 (tramp-handle-process-file): Merge three remote ops into one.
16924 Do not flush all caches when `process-file-side-effects' is set.
16925 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16926 file-attributes shows uid/gid to be set already.
16928 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16930 * textmodes/tex-mode.el (tex-dvi-view-command)
16931 (tex-show-queue-command, tex-open-quote):
16932 * progmodes/ruby-mode.el (auto-mode-alist)
16933 (interpreter-mode-alist): Purecopy strings.
16935 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16937 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16938 string for the hook, keymap and abbrev table.
16940 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16942 * x-dnd.el (x-dnd-xdnd-to-action):
16943 * startup.el (fancy-startup-text, fancy-about-text): Change to
16944 defconst from defvar.
16946 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16948 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16949 Purecopy initialization strings.
16951 * mail/sendmail.el (mail-header-separator)
16952 (mail-personal-alias-file):
16953 * mail/rmail.el (rmail-default-dont-reply-to-names)
16954 (rmail-ignored-headers, rmail-retry-ignored-headers)
16955 (rmail-highlighted-headers, rmail-secondary-file-directory)
16956 (rmail-secondary-file-regexp):
16957 * files.el (null-device, file-name-invalid-regexp)
16958 (locate-dominating-stop-dir-regexp)
16959 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16960 (interpreter-mode-alist): Use mapcar instead of mapc.
16962 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16964 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16965 (completion-ignored-extensions):
16966 (debug-ignored-errors): Purecopy strings.
16968 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16970 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16971 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16972 (pcomplete--here): Use push.
16974 * subr.el (all-completions): Declare the 4th arg obsolete.
16976 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16978 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16979 (pcomplete-unquote-argument): New function.
16980 (pcomplete--common-suffix): Always pay attention to case.
16981 (pcomplete--table-subvert): Quote and unquote the text.
16982 (pcomplete--common-quoted-suffix): New function.
16983 (pcomplete-std-complete): Use it and pcomplete-begin.
16985 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16986 we're inside a dedicated or minibuffer window.
16988 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16990 * bookmark.el: Update documentation, especially documentation
16991 of `bookmark-alist' and of the bookmark file format.
16992 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16994 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16996 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16997 keybindings apply to the mail buffer (Bug#4003). Shrink help
17000 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17001 (global-whitespace-mode, global-whitespace-newline-mode)
17002 (whitespace-toggle-options, global-whitespace-toggle-options):
17003 Doc fix (Bug#3660).
17005 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17006 of xmltok-start before the end tag was inserted (Bug#2840).
17008 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17009 patterns that are preceded by an open-paren (Bug#1320).
17011 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17013 * files.el (delete-directory): Delete symlinks to directories with
17014 delete-file (Bug#4739).
17016 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17018 * vc.el (vc-backend-for-registration): Rename from
17019 vc-get-backend-for-registration. Update callers.
17021 * international/mule-cmds.el (set-language-info-alist):
17023 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17024 (charset): Purecopy the name.
17025 (define-char-code-property): Purecopy string arguments.
17027 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17028 Purecopy string arguments.
17030 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17031 * ediff-hook.el (menu-bar-ediff-menu):
17032 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17033 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17035 2009-10-24 Glenn Morris <rgm@gnu.org>
17037 * comint.el (comint-dynamic-list-completions):
17038 * term.el (term-dynamic-list-completions): Use choose-completion rather
17039 than obsolete alias mouse-choose-completion.
17041 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17042 file-cache-choose-completion.
17043 (file-cache-choose-completion): Handle an optional event argument.
17044 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17046 * progmodes/octave-mod.el (octave-complete-symbol):
17047 Use choose-completion if mouse-choose-completion is ever removed.
17049 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17052 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17055 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17057 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17059 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17060 Ignore `pred' now that we receive one.
17061 Handle test-completion specially.
17063 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17065 * vc.el (vc-responsible-backend): Throw an error if not backend is
17066 found. Remove the REGISTER argument. Move the code dealing with
17068 (vc-get-backend-for-registration): ... here. New function.
17069 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17070 of vc-responsible-backend, pass the file name instead of the
17073 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17075 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17077 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17078 (pcomplete-comint-setup): Don't modify a global var via
17079 accidental side-effects.
17080 (pcomplete-shell-setup): Adjust call accordingly.
17081 (pcomplete-parse-comint-arguments): Use push.
17083 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17085 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17086 Allow uncapitalized info node names (Bug#3921).
17088 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17089 to the DEBUG file (Bug#3781).
17091 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17093 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17094 dictionary entry (Bug#4579).
17096 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17098 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17099 from `rfn-eshadow-update-overlay-hook' when unloading.
17100 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17101 "rsyncc". Adjust doc string.
17102 (tramp-temp-buffer-file-name): New buffer-local defvar.
17103 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17104 Keep temporary file when indicated by method ("rsync" and
17106 (tramp-handle-write-region): Handle APPEND.
17107 (tramp-delete-temp-file-function): New defun. Added to
17108 `kill-buffer-hook'.
17110 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17112 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17114 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17116 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17117 (color-name-rgb-alist, tty-standard-colors)
17118 (tty-color-mode-alist): Change to defconst.
17120 * simple.el (mark-inactive): Purecopy message.
17122 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17123 (global-map, yank-menu):
17124 * textmodes/ispell.el (ispell-menu-map):
17125 * net/eudc.el (eudc-tools-menu):
17126 * international/mule-cmds.el (describe-language-environment-map)
17127 (setup-language-environment-map, set-coding-system-map)
17128 (mule-menu-keymap):
17129 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17130 * replace.el (occur-mode-map):
17131 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17133 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17135 * calc/calc.el (math-read-number, math-read-number-simple):
17136 Use `save-match-data'.
17138 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17140 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17141 rather than fiddling with global-map bindings, since it should only
17142 affect per-terminal settings.
17143 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17145 * minibuffer.el (completion-table-with-terminator): Allow to specify
17146 the terminator-regexp.
17148 * simple.el (switch-to-completions): Look for *Completions* in other
17151 * pcomplete.el: Allow the use of completion-tables.
17152 (pcomplete-std-complete): New command.
17153 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17154 (pcomplete--here): Use a function for `form' rather than an expression,
17155 so it can be byte-compiled.
17156 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17157 Add edebug declaration.
17158 (pcomplete-show-completions): Remove unused var `curbuf'.
17159 (pcomplete-do-complete, pcomplete-stub):
17160 Don't assume `completions' is a list of strings any more.
17162 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17164 * find-dired.el (find-name-arg): Fix typo in docstring.
17166 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17168 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17169 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17171 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17174 * comint.el (comint-read-input-ring, comint-write-input-ring)
17175 (comint-substitute-in-file-name)
17176 (comint-dynamic-complete-as-filename)
17177 (comint-dynamic-simple-complete)
17178 (comint-dynamic-list-filename-completions)
17179 (comint-dynamic-list-completions)
17180 (comint-redirect-results-list-from-process): Minor simplifications.
17182 2009-10-21 Kevin Ryde <user42@zip.com.au>
17184 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17185 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17186 the first form. And insert a blank line after ";;; Code" since
17187 that's usual style. (Bug#4612)
17189 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17191 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17193 * minibuffer.el (completion-table-with-terminator): Properly implement
17194 boundaries, in case `terminator' appears in the suffix.
17195 (completion--embedded-envvar-table): Don't return boundaries if
17196 there's no valid completion. Simplify.
17197 (completion-file-name-table): New completion table extracted from
17198 completion--file-name-table.
17199 (completion--file-name-table): Use it.
17200 (read-file-name-predicate): Declare obsolete.
17201 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17202 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17203 completion-file-name-table, and use the `pred' argument.
17204 * files.el (locate-file-completion-table): Use the `pred' arg rather
17205 than read-file-name-predicate.
17206 (abbreviate-file-name): Use \` rather than ^ for BOS.
17208 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17210 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17211 vc-responsible-backend to register, it causes problems.
17213 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17215 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17217 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17219 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17220 (tramp-smb-handle-file-attributes): Use it.
17221 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17222 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17223 `mapcar'. Use `tramp-smb-get-stat-capability'.
17224 Add `dired-filename' text properties.
17225 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17226 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17229 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17231 * subr.el (read-key-delay): Reduce to 0.01.
17232 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17235 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17237 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17239 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17240 (Info-menu): Remove unused vars `last' and `completions'.
17241 (Info-index-nodes): Remove unused var `node'.
17243 * info.el (Info-complete-menu-item): Use complete-with-action.
17245 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17247 Make vc-annotate work through copies and renames.
17248 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17249 Return the file name too.
17250 (vc-annotate-revision-at-line)
17251 (vc-annotate-find-revision-at-line)
17252 (vc-annotate-revision-previous-to-line)
17253 (vc-annotate-show-log-revision-at-line): Update to get the file
17254 name from vc-annotate-extract-revision-at-line.
17255 (vc-annotate-show-diff-revision-at-line-internal): Change the
17256 argument to mean whether to show a file diff or not. Get the file
17257 name from vc-annotate-extract-revision-at-line.
17258 (vc-annotate-show-diff-revision-at-line):
17259 Update vc-annotate-show-diff-revision-at-line call.
17260 (vc-annotate-warp-revision): Add an optional file argument.
17262 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17263 (vc-git-annotate-extract-revision-at-line): Also return the file
17266 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17267 command. Remove unused code.
17268 (vc-hg-annotate-re): Update to match --follow output.
17269 (vc-hg-annotate-extract-revision-at-line): Also return the file
17272 * vc.el: Update annotate-extract-revision-at-line documentation.
17274 2009-10-18 Kevin Ryde <user42@zip.com.au>
17276 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17277 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17279 * net/browse-url.el (browse-url): Identify alist with "consp and
17280 not functionp" and let all other things go down the `apply' leg,
17281 as suggested by Stefan. (Further to bug#4531.)
17283 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17285 * minibuffer.el (read-file-name): Check for repeat before putting
17286 a default argument in file-name-history (Bug#4657).
17288 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17289 read syntax (Bug#4737).
17291 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17293 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17295 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17296 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17297 entries and make note of obsolete tags.
17299 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17301 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17303 2009-10-18 Glenn Morris <rgm@gnu.org>
17305 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17306 grep, so that binary files (eg international/uni-bidi.el) can match.
17307 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17308 now, and in any case the file header format has changed.
17310 2009-10-17 Glenn Morris <rgm@gnu.org>
17312 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17313 (flyspell-get-word, flyspell-large-region)
17314 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17316 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17318 * Makefile.in (ELCFILES): Add ede/shell.
17320 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17322 * term/common-win.el (x-colors): Purecopy it.
17324 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17326 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17327 permissive for when the buffer is empty.
17328 (tar-header-block-tokenize): Decode the username and groupname.
17329 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17331 2009-10-17 Eric Ludlam <zappo@gnu.org>
17333 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17334 contains multibyte characters, choose first applicable coding
17335 system automatically.
17337 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17339 * international/mule-cmds.el (select-safe-coding-system): If the file
17340 has a coding cookie, use it regardless of any other setting (bug#4712).
17342 2009-10-17 Glenn Morris <rgm@gnu.org>
17344 * foldout.el (foldout-mouse-swallow-events):
17345 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17347 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17348 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17349 (dired-keep-marker-symlink, dired-dwim-target)
17350 (dired-copy-preserve-time): Do not autoload these defcustoms.
17352 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17353 messages from messing up the file coding. (Bug#4623)
17355 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17357 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17358 if no match is found for the current dictionary. (Bug#4578)
17360 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17361 optional, since that is how it is documented, and this is often called
17362 with a nil argument. (Bug#4577)
17363 (flyspell-external-point-words, flyspell-auto-correct-word)
17364 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17365 (flyspell-word-search-backward): Remove nil argument in calls to
17366 flyspell-get-word, since it is not needed now.
17368 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17370 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17372 2009-10-16 Glenn Morris <rgm@gnu.org>
17374 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17376 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17378 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17379 (ange-ftp-file-size): New function.
17380 (ange-ftp-file-attributes): Use it.
17382 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17384 * net/tramp-smb.el (tramp-smb-version): New defvar.
17385 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17388 2009-10-16 Glenn Morris <rgm@gnu.org>
17390 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17391 Maybe copy some custom properties from old to new name. (Bug#4706)
17393 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17395 * subr.el (error, sit-for, start-process-shell-command)
17396 (start-file-process-shell-command): Set the calling convention
17397 after the function definition.
17399 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17401 * subr.el (error, sit-for, start-process-shell-command)
17402 (start-file-process-shell-command): Use the new
17403 set-advertised-calling-convention feature.
17405 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17407 * international/ucs-normalize.el (ucs-normalize-version):
17409 (check-range): Adjust for Unicode 5.2.
17411 2009-10-15 Juri Linkov <juri@jurta.org>
17413 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17414 to the `menu-item' format.
17416 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17418 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17419 if the environment variable does not exist.
17421 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17422 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17424 (tramp-smb-handle-add-name-to-file)
17425 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17426 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17427 (tramp-smb-handle-file-attributes)
17428 (tramp-smb-do-file-attributes-with-stat)
17429 (tramp-smb-handle-file-local-copy)
17430 (tramp-smb-handle-insert-directory)
17431 (tramp-smb-handle-make-directory)
17432 (tramp-smb-handle-make-directory-internal)
17433 (tramp-smb-handle-make-symbolic-link)
17434 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17435 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17436 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17437 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17438 Handle long file names.
17439 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17440 process is running.
17441 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17442 Read share names with "-g" option.
17444 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17446 * net/rcirc.el (rcirc-view-log-file): New command.
17447 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17448 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17451 2009-10-15 Glenn Morris <rgm@gnu.org>
17453 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17454 from the second command-line argument.
17455 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17456 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17457 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17458 w32-batch-update-autoloads.
17459 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17460 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17462 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17463 the headers cannot be located. Simplify, subtracting superflous
17466 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17468 Replace completion-base-size by completion-base-position to fix bugs
17469 such as (bug#4699).
17470 * simple.el (completion-base-position): New var.
17471 (completion-base-size): Mark as obsolete.
17472 (choose-completion): Make it work for mouse events as well.
17473 Pass the new base-position to choose-completion-string.
17474 (choose-completion-guess-base-position): New function, extracted from
17475 choose-completion-delete-max-match.
17476 (choose-completion-delete-max-match): Use it. Make obsolete.
17477 (choose-completion-string): Use the new base-position info.
17478 (completion-root-regexp): Delete.
17479 (completion-setup-function): Preserve completion-base-position.
17480 Eliminate obsolete base-size manipulation.
17481 * minibuffer.el (display-completion-list): Don't mess with base-size.
17482 (minibuffer-completion-help): Set completion-base-position instead.
17483 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17485 * textmodes/bibtex.el (bibtex-complete):
17486 * emacs-lisp/crm.el (crm--choose-completion-string):
17487 Adjust to new calling convention.
17488 * complete.el (partial-completion-mode): Use minibufferp to avoid
17489 bumping into incompatible change to choose-completion-string-functions.
17490 * ido.el (ido-choose-completion-string): Make its calling convention
17492 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17493 base-size manipulation.
17494 (comint-dynamic-list-input-ring): Use dotimes and push.
17495 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17496 fundamental-mode. Use `or'.
17498 2009-10-14 Juri Linkov <juri@jurta.org>
17500 * misearch.el (multi-isearch-next-buffer-from-list)
17501 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17503 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17505 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17508 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17509 string we return is all made up of text from the completions rather
17510 than part from the completions and part from the input (bug#4219).
17512 * ido.el (ido-everywhere): Use define-minor-mode.
17514 * buff-menu.el (list-buffers, ctl-x-map):
17515 Mark the entry points with ;;;###autoload cookies.
17517 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17519 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17520 correctly in the detached head case.
17521 (vc-git-print-log): Remove unused binding.
17523 * vc.el (vc-responsible-backend): When a directory is passed for
17524 for registration create a VC repository if no backend is
17525 responsible for the directory argument.
17526 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17528 * vc.el: Move comments about RCS and SCCS ...
17530 * vc-sccs.el: ... here, respectively.
17532 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17534 * minibuffer.el (completion--file-name-table): Return nil if there's
17535 no file completion, even if substitute-in-file-name changed
17536 the string (bug#4708).
17538 2009-10-13 Juri Linkov <juri@jurta.org>
17540 * files-x.el (read-file-local-variable-value): Don't filter out
17541 minor modes from mode name completion (bug#4664).
17543 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17545 * international/mule-cmds.el (ucs-names): Remove exclusion of
17546 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17548 2009-10-13 Kenichi Handa <handa@m17n.org>
17550 * international/uni-name.el: Regenerated.
17552 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17554 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17555 should be automatically buffer-local, but isn't.)
17557 2009-10-12 Sam Steingold <sds@gnu.org>
17559 * progmodes/compile.el (compilation-next-error-function): Fix the
17560 timestamps if the buffer has been visited before.
17561 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17562 non-anchored patterns, like the perl one (bug#3928).
17564 2009-10-12 Glenn Morris <rgm@gnu.org>
17566 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17569 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17571 * proced.el (proced-unload-function): New function.
17573 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17574 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17577 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17579 2009-10-11 Juri Linkov <juri@jurta.org>
17581 * files-x.el (read-file-local-variable-value):
17582 Provide default value only for bound variables (bug#4664).
17584 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17586 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17587 connection methods like smb.
17589 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17592 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17593 (tramp-smb-file-name-handler-alist): Add handlers for
17594 `add-name-to-file', `make-symbolic-link'.
17595 (tramp-smb-handle-add-name-to-file)
17596 (tramp-smb-do-file-attributes-with-stat)
17597 (tramp-smb-handle-make-symbolic-link)
17598 (tramp-smb-get-cifs-capabilities): New defuns.
17599 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17600 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17601 (tramp-smb-handle-file-local-copy)
17602 (tramp-smb-handle-make-directory-internal)
17603 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17604 The file name syntax depends on cifs capabilities.
17605 (tramp-smb-handle-file-attributes):
17606 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17607 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17608 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17610 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17612 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17613 (eieio-defclass): Apply deftype handler and setf-method properties
17615 (eieio-add-new-slot): Avoid union function from cl library.
17616 (eieio--typep): New function.
17617 (eieio-perform-slot-validation): Use it.
17619 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17621 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17622 Update documentation to refer to the variables documented in r1.135.
17625 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17627 * bookmark.el (Info-suffix-list): Remove this unused variable.
17628 (bookmark-current-point): Remove this obsolete variable.
17629 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17630 Adjust for removal of bookmark-current-point.
17632 (bookmarks-already-loaded, bookmark-current-buffer)
17633 (bookmark-yank-point): Document. (Bug#4188)
17635 2009-10-10 Glenn Morris <rgm@gnu.org>
17637 * frame.el (frame-height): Doc fix.
17639 * calendar/calendar.el (calendar-split-width-threshold): New option.
17640 (calendar-basic-setup): Use calendar-split-width-threshold.
17642 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17644 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17645 Ideographic Supplement" range (U+1F200..U+1F2FF).
17647 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17649 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17650 since the list will have been rebuilt anyway. (Bug#4349)
17652 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17654 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17655 (bookmark-bmenu-execute-deletions): Don't save here, as
17656 bookmark-delete will now do so if necessary.
17657 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17660 2009-10-09 Glenn Morris <rgm@gnu.org>
17662 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17664 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17666 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17667 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17668 argument now, so the two function's behaviors will match. (Bug#3645)
17670 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17672 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17673 (tramp-file-name-real-host, tramp-file-name-port):
17674 Apply `save-match-data'.
17676 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17677 case both directories are remote.
17678 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17679 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17681 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17683 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17685 2009-10-07 Glenn Morris <rgm@gnu.org>
17687 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17690 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17692 * files-x.el (read-file-local-variable): Include some
17693 non-user-variables in the completion table (bug#4664).
17695 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17697 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17700 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17701 (tramp-smb-file-name-handler-alist): Add handler for
17702 `copy-directory', `expand-file-name', `set-file-modes'.
17703 (tramp-smb-handle-copy-directory)
17704 (tramp-smb-handle-expand-file-name)
17705 (tramp-smb-handle-set-file-modes): New defuns.
17706 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17707 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17709 (tramp-smb-handle-insert-directory): Don't flush the cache.
17710 (tramp-smb-maybe-open-connection): Check for samba client and
17713 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17715 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17716 to not error out of search for "^lisp=" fails.
17718 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17720 * makefile.w32-in (WINS_UPDATES): New macro.
17721 (custom-deps, finder-data, autoloads): Use it.
17723 2009-10-07 Glenn Morris <rgm@gnu.org>
17725 * Makefile.in (autoloads): Revert previous change.
17726 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17727 the list of preloaded files passed on the command-line, get
17728 it from src/Makefile.
17730 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17731 show the original buffer rather than a random one.
17733 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17735 * help.el (describe-no-warranty): Place point in a slightly better
17736 position in the GPLv3 text.
17738 2009-10-06 Sam Steingold <sds@gnu.org>
17740 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17741 the comm attribute is present before calling regexp-quote.
17743 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17745 * play/animate.el (animate-string): For good effect, make sure
17746 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17748 * play/animate.el (animate-sequence, animate-birthday-present):
17749 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17751 2009-10-06 Glenn Morris <rgm@gnu.org>
17753 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17755 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17756 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17757 (batch-update-autoloads): Process a string value of autoload-excludes,
17758 set during the build process.
17759 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17761 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17762 inside with-parsed... macro so that `v' is defined.
17764 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17765 * progmodes/fortran.el (fortran-end-of-block)
17766 (fortran-beginning-of-block):
17767 Also push mark in the macro case.
17769 * emerge.el (emerge-show-file-name):
17770 * calc/calc.el (calc-quit):
17771 * calc/calc-misc.el (calc-big-or-small):
17772 * calc/calc-graph.el (calc-graph-view):
17773 * calc/calc-ext.el (calc-reset):
17774 * calendar/calendar.el (calendar-basic-setup):
17775 Use window-full-height-p.
17777 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17778 header we don't understand, don't insert another. (Bug#4624)
17779 If changing mime charset, insert the new one in the right place.
17781 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17783 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17784 (cal-tex-cursor-month): Correctly increment the end date for diary and
17785 holiday listing. (Bug#4626)
17787 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17789 * help-fns.el (describe-function-1): Don't burp if the function is not
17792 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17794 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17795 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17796 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17797 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17799 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17800 (eieio-default-superclass): Reflow docstrings.
17801 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17802 (eieio-unbind-method-implementations, defmethod)
17803 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17804 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17805 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17806 (eieio-slot-originating-class-p, eieio-slot-name-index)
17807 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17808 (constructor, initialize-instance, no-next-method, object-print)
17809 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17810 Fix typos in docstrings.
17811 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17812 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17813 (next-method-p): Doc fixes.
17814 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17815 Fix typos in error messages.
17816 (eieio-defmethod): Fix typo in description of generic method.
17818 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17819 (eieio-persistent-save-interactive, slot-missing):
17820 Fix typos in docstrings.
17821 (eieio-instance-inheritor-slot-boundp): Doc fix.
17823 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17824 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17826 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17827 (eieio-custom-object-apply-reset):
17828 Fix typos in docstrings and error messages.
17830 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17831 Fix typo in docstring.
17833 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17834 (eieio-browse-tree): Doc fix.
17835 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17836 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17837 Fix typos in docstrings.
17839 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17840 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17841 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17842 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17845 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17847 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17848 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17849 Set log-view-vc-backend so that diff can work.
17851 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17853 (vc-diff-internal): Autoload this instead of vc-version-diff.
17855 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17857 * simple.el (eval-expression): Doc fix.
17859 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17861 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17863 * files.el (directory-files-no-dot-files-regexp): New defconst.
17864 (delete-directory): Use it.
17865 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17867 * net/tramp.el (tramp-verbose): Fix docstring.
17868 (tramp-methods): Add recursive option to `tramp-copy-args'.
17869 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17870 "scp1_old", "scp2_old", "rsync", "rsyncc".
17871 (tramp-default-method): Check also for `auth-source-user-or-password'.
17872 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17873 Add handler for `copy-directory'.
17874 (tramp-handle-copy-directory): New defun.
17875 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17876 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17877 Optimize sent command.
17879 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17881 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17882 window if necessary.
17884 * calendar/calendar.el (calendar-basic-setup): Don't call
17885 switch-to-buffer in a dedicated window.
17887 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17889 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17890 don't do anything related to relocating, just return nil.
17891 (bookmark-error-no-filename): New error.
17892 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17893 bookmark has no file. Don't even attempt to handle things that
17894 are not files; the whole point of custom handlers is to keep that
17895 knowledge elsewhere anyway. Tighten some comments.
17896 (bookmark-file-or-variation-thereof): Remove now-unused function.
17897 (bookmark-location): Doc string fix.
17900 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17902 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17903 don't use a file dialog, because they usually don't know how to read
17904 a directory target from the user. (Bug#4230)
17905 Also, make sure the prompt can display directories as well as files.
17907 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17909 * bookmark.el (bookmark-set, bookmark-buffer-name):
17910 Improve doc strings. (Bug#1193)
17912 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17914 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17915 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17916 (bookmark-get-annotation, bookmark-set-annotation)
17917 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17918 (bookmark-set-position, bookmark-get-front-context-string)
17919 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17920 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17921 (bookmark-jump-other-window, bookmark-handle-bookmark)
17922 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17923 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17924 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17925 Improve doc strings to say whether bookmark can be a string or
17926 a record or both, and make other consistency and clarity fixes.
17927 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17928 (bookmark-default-annotation-text, bookmark-yank-word)
17929 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17930 (bookmark-import-new-list, bookmark-maybe-rename)
17931 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17932 (bookmark-bmenu-bookmark): Give these doc strings.
17933 (bookmark-bmenu-check-position): Give this a doc string, but also
17934 add a FIXME comment about how the function may be pointless.
17935 (bookmark-default-handler): Rework doc string and change a
17936 parameter name, to clarify that this takes a bookmark record
17937 not a bookmark name.
17938 (bookmark-set): Change a parameter name to indicate its meaning,
17939 and improve the doc string a bit.
17942 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17944 * bookmark.el (bookmark-alist): Document the new `handler' element
17945 in the param alist.
17946 (bookmark-make-record-function): Adjust documentation for above.
17949 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17951 * info.el (Info-bookmark-make-record): Document this function.
17952 (Info-bookmark-jump): Document with a doc string, not just a comment.
17955 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17957 * files.el (copy-directory): New defun.
17959 * dired-aux.el (dired-copy-file-recursive): Use it.
17961 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17963 * files-x.el (modify-dir-local-variable)
17964 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17967 * recentf.el (recentf-unload-function): New function.
17969 2009-10-04 Glenn Morris <rgm@gnu.org>
17971 * window.el (window-full-height-p): Add doc string.
17973 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17975 * window.el (window-full-height-p): New function. (Bug#4543)
17977 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17979 * vc.el: Remove commented out code.
17980 (vc-derived-from-dir-mode): Remove, unused.
17981 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17983 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17985 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17986 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17987 there could be recursive loading when `default-directory' is a
17988 remote file name. (Bug#4614)
17990 2009-10-03 Glenn Morris <rgm@gnu.org>
17992 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17994 (calendar-generate-window): Test for shrinkability rather than width.
17996 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17997 reusing existing buffers, in case we happen to visit two files with the
17998 same basename. (Bug#4593)
18000 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18002 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18003 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18004 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18005 subdirs of cedet as well.
18006 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18008 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18010 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18011 Obey advertised-signature-table.
18013 * help-fns.el (help-function-arglist): Don't check
18014 advertised-signature-table.
18015 (describe-function-1): Do it here instead so it also applies to subrs.
18017 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18019 * simple.el (start-file-process): Say in the doc-string, that file
18020 handlers might not support pty association, if PROGRAM is nil.
18022 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18023 HOST and USER are strings. They are nil, when there are
18024 incomplete entries in ~/.netrc, for example.
18025 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18026 root directory ("device busy" error otherwise).
18028 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18029 Flush file properties of created directory.
18031 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18033 * makefile.w32-in (WINS_BASIC): Remove cedet.
18034 (WINS_CEDET): Add cedet.
18035 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18037 2009-10-02 Kevin Ryde <user42@zip.com.au>
18039 * net/browse-url.el (browse-url): Pass any symbol in
18040 browse-url-browser-function to `apply', since if you've mistakenly put
18041 an unbound symbol then the error is clearer. (Bug#4531)
18043 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18045 * allout.el (allout-init, allout-back-to-current-heading)
18046 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18047 (allout-ascend, allout-up-current-level, allout-end-of-level)
18048 (allout-previous-visible-heading, allout-forward-current-level)
18049 (allout-backward-current-level, allout-show-children):
18050 * apropos.el (apropos-describe-plist):
18051 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18052 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18053 * completion.el (add-completion, add-permanent-completion):
18054 * descr-text.el (describe-text-category, describe-char):
18055 * desktop.el (desktop-lazy-abort):
18056 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18057 * dired.el (dired-build-subdir-alist):
18058 * ediff.el (ediff-version):
18059 * elide-head.el (elide-head, elide-head-show):
18060 * emerge.el (emerge-version):
18062 * face-remap.el (variable-pitch-mode):
18063 * faces.el (describe-face):
18064 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18066 * files.el (find-file-existing, auto-save-mode):
18067 * font-lock.el (font-lock-fontify-buffer):
18068 * help-fns.el (describe-function, describe-variable)
18069 (describe-syntax, describe-categories):
18070 * help.el (view-lossage, describe-bindings, describe-key)
18072 * hexl.el (hexl-current-address):
18073 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18074 * info.el (Info-goto-emacs-key-command-node):
18075 * log-edit.el (log-edit-insert-cvs-template)
18076 (log-edit-insert-cvs-rcstemplate):
18077 * menu-bar.el (menu-bar-mode):
18078 * mouse.el (mouse-appearance-menu):
18079 * newcomment.el (comment-indent-new-line):
18080 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18081 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18082 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18083 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18084 * recentf.el (recentf-mode):
18085 * savehist.el (savehist-mode, savehist-save):
18086 * shadowfile.el (shadow-copy-files):
18087 * simple.el (kill-ring-save, next-line, previous-line)
18088 (normal-erase-is-backspace-mode):
18089 * strokes.el (strokes-update-window-configuration)
18090 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18091 (strokes-xpm-for-stroke):
18092 * time.el (emacs-uptime, emacs-init-time):
18093 * tutorial.el (tutorial--describe-nonstandard-key)
18094 (tutorial--detailed-help):
18095 * type-break.el (type-break-mode)
18096 (type-break-mode-line-message-mode, type-break-query-mode)
18097 (type-break-guesstimate-keystroke-threshold):
18098 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18099 * version.el (emacs-version):
18100 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18101 * winner.el (winner-mode):
18102 * calendar/timeclock.el (timeclock-in, timeclock-out)
18103 (timeclock-status-string, timeclock-change)
18104 (timeclock-workday-remaining-string)
18105 (timeclock-workday-elapsed-string)
18106 (timeclock-when-to-leave-string):
18107 * calendar/todo-mode.el (todo-add-category):
18108 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18109 * emacs-lisp/autoload.el (update-file-autoloads):
18110 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18111 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18112 (checkdoc-message-text, checkdoc-defun):
18113 * emacs-lisp/debug.el (debugger-list-functions):
18114 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18115 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18116 (eieio-describe-generic):
18117 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18118 * emacs-lisp/shadow.el (list-load-path-shadows):
18119 * emulation/cua-base.el (cua-mode):
18120 * emulation/edt.el (edt-set-scroll-margins):
18121 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18122 (tpu-toggle-regexp, tpu-toggle-search-direction)
18123 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18124 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18125 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18126 (viper-set-parsing-style-toggling-macro)
18127 (viper-set-emacs-state-searchstyle-macros):
18128 * emulation/viper.el (viper-set-hooks):
18129 * eshell/esh-mode.el (eshell-truncate-buffer):
18130 * international/mule-cmds.el (prefer-coding-system)
18131 (describe-input-method, describe-language-environment):
18132 * international/mule-diag.el (list-character-sets)
18133 (describe-character-set, describe-coding-system)
18134 (describe-fontset, list-fontsets, list-input-methods):
18135 * mail/sendmail.el (mail-signature):
18136 * net/ange-ftp.el (ange-ftp-copy-file):
18137 * net/browse-url.el (browse-url):
18138 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18139 * net/quickurl.el (quickurl-add-url):
18140 * net/rcirc.el (names, topic):
18141 * net/xesam.el (xesam-mode):
18142 * play/5x5.el (5x5-new-game):
18143 * play/yow.el (apropos-zippy):
18144 * progmodes/ada-mode.el (ada-mode-version):
18145 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18147 (f90-beginning-of-block):
18148 * progmodes/fortran.el (fortran-end-of-block)
18149 (fortran-beginning-of-block):
18150 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18151 * progmodes/python.el (python-describe-symbol, python-shell):
18152 * term/ns-win.el (ns-print-buffer):
18153 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18154 * textmodes/flyspell.el (flyspell-mode-on):
18155 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18156 (pages-directory-for-addresses):
18157 * textmodes/table.el (table-recognize-cell)
18158 (table-query-dimension, table-generate-source)
18159 (table-insert-sequence, table--warn-incompatibility):
18160 * textmodes/tex-mode.el (tex-validate-buffer):
18161 * textmodes/texinfmt.el (texinfmt-version)
18162 (texinfo-format-buffer):
18163 Use `called-interactively-p' instead of `interactive-p'.
18165 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18167 * image-mode.el (image-toggle-display):
18168 * emacs-lisp/elp.el (elp-instrument-function):
18169 * emacs-lisp/advice.el (ad-make-advised-definition):
18170 * emacs-lisp/easy-mmode.el (define-minor-mode):
18171 * net/browse-url.el (browse-url-maybe-new-window):
18172 * progmodes/sh-script.el (sh-learn-buffer-indent):
18173 Pass new argument 'any to `called-interactively-p'.
18175 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18177 * international/uni-bidi.el:
18178 * international/uni-category.el:
18179 * international/uni-combining.el:
18180 * international/uni-comment.el:
18181 * international/uni-decimal.el:
18182 * international/uni-decomposition.el:
18183 * international/uni-digit.el:
18184 * international/uni-lowercase.el:
18185 * international/uni-mirrored.el:
18186 * international/uni-name.el:
18187 * international/uni-numeric.el:
18188 * international/uni-old-name.el:
18189 * international/uni-titlecase.el:
18190 * international/uni-uppercase.el:
18191 Regenerate from Unicode 5.2.0 data.
18193 2009-10-01 Glenn Morris <rgm@gnu.org>
18195 * Makefile.in (ELCFILES): Regenerate.
18197 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18199 * subr.el (interactive-p): Mark obsolete.
18200 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18201 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18202 advertised-signature-table for subroutines as well.
18204 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18205 (set-advertised-calling-convention): New function.
18206 (make-obsolete, define-obsolete-function-alias)
18207 (make-obsolete-variable, define-obsolete-variable-alias):
18208 Make the optional-ness of `when' obsolete.
18209 (define-obsolete-face-alias): Make `when' non-optional.
18210 * help-fns.el (help-function-arglist):
18211 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18212 Use advertised-signature-table.
18214 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18216 * files.el (delete-directory): New defun. The original function
18217 in fileio.c has been renamed to `delete-directory-internal'.
18219 * dired.el (dired-delete-file): Call `delete-directory' with
18220 RECURSIVE parameter.
18222 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18223 parameter RECURSIVE. Implementation is missing.
18225 * net/tramp.el (tramp-handle-make-directory): Flush upper
18226 directory's file properties.
18227 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18228 (tramp-handle-dired-recursive-delete-directory): Flush directory
18229 properties after the remove command only.
18231 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18232 Handle optional parameter RECURSIVE.
18234 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18235 Handle optional parameter RECURSIVE.
18237 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18238 connection timeout.
18239 (tramp-smb-handle-delete-directory): Handle optional parameter
18242 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18244 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18245 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18246 (byte-compile-defmacro): Use backquotes.
18248 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18250 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18251 has no associated file.
18252 (vc-resynch-buffer): Use vc-dir-buffers.
18254 2009-10-01 Glenn Morris <rgm@gnu.org>
18256 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18257 (chart-file-count):
18258 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18259 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18260 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18261 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18262 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18263 (eieio-copy-parents-into-subclass, make-instance, class-children)
18264 (eieio-generic-form):
18266 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18267 match-data. (Bug#4555).
18269 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18270 rather than parsing it as a regexp. This relaxes the layout
18271 requirements and makes errors easier to detect.
18272 (check-declare-verify): Check file is regular.
18273 (check-declare-directory): Doc fix.
18274 * subr.el (declare-function): Doc fix.
18276 * ibuffer.el (ibuffer-format-qualifier):
18277 * isearch.el (hi-lock-regexp-okay):
18278 * calc/calc.el (math-zerop):
18279 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18280 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18281 Remove unused declarations.
18283 2009-09-30 Eric Ludlam <zappo@gnu.org>
18285 * emacs-lisp/eieio.el (boolean-p): Delete.
18287 2009-09-30 Glenn Morris <rgm@gnu.org>
18289 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18291 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18292 filename is not a string.
18294 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18296 * files.el (safe-local-eval-forms): Fix typo.
18298 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18300 * vc-hooks.el (vc-dir-buffers): New var.
18301 (vc-state-refresh): New function.
18302 (vc-state): Use it.
18303 (vc-after-save): Always ask the backend to recompute the new state.
18304 Always call vc-dir if necessary, using vc-dir-buffers.
18305 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18306 Use vc-dir-buffers.
18307 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18308 (vc-dir-prepare-status-buffer, vc-dir-update)
18309 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18310 Don't call expand-file-name on default-directory.
18312 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18314 * speedbar.el (speedbar-item-delete):
18315 * calc/calc-prog.el (calc-kbd-if):
18316 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18318 * epa.el (epa-key-list-mode-map):
18319 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18321 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18322 (hs-show-hook): Fix typo in docstring.
18324 2009-09-29 Glenn Morris <rgm@gnu.org>
18326 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18327 file-name-nondirectory call preventing location of cedet files.
18328 (check-declare-verify): Use literal search rather than re-search.
18329 Add basic defmethod and defclass, and define-overloadable-function.
18331 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18332 Use tramp-compat-file-attributes rather than nonexistent
18333 tramp-compat-handle-file-attributes.
18335 * Makefile.in (lisptagsfiles4): New.
18336 (AUTOGENEL): Add cedet loaddefs files.
18337 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18338 (update-elclist, compile-always, backup-compiled-files)
18339 (bootstrap-clean): Add yet another directory level.
18340 (update-elclist): Use LC_COLLATE rather than COLLATE.
18341 (ELCFILES): Update, via `make update-elclist'.
18343 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18345 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18346 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18347 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18349 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18351 * Makefile.in (lisptagsfiles3): Define.
18352 (TAGS, TAGS-LISP): Use it.
18353 (update-elclist): Add third directory level to look for elc files.
18354 (compile-always): Likewise.
18355 (backup-compiled-files): Likewise.
18356 (bootstrap-clean): Likewise.
18357 (ELCFILES): Update.
18359 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18361 * Makefile.in (ELCFILES): Add CEDET files.
18363 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18365 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18367 * net/tramp.el (top): Require tramp-imap.
18369 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18370 Use `tramp-compat-handle-file-attributes'.
18372 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18374 * net/tramp-imap.el: New package.
18376 2009-09-28 Eric Ludlam <zappo@gnu.org>
18378 * emacs-lisp/chart.el:
18379 * emacs-lisp/eieio-base.el:
18380 * emacs-lisp/eieio-comp.el:
18381 * emacs-lisp/eieio-custom.el:
18382 * emacs-lisp/eieio-datadebug.el:
18383 * emacs-lisp/eieio-opt.el:
18384 * emacs-lisp/eieio-speedbar.el:
18385 * emacs-lisp/eieio.el: New files.
18387 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18389 * whitespace.el (whitespace-trailing-regexp)
18390 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18393 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18395 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18398 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18399 menu-bar-ediff-menu.
18401 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18402 define-overloadable-function.
18404 * progmodes/autoconf.el: Provide autoconf as well, so that this
18405 file can be `require'd.
18407 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18409 * emacs-lisp/autoload.el (generated-autoload-feature)
18410 (generated-autoload-load-name): New vars.
18411 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18412 (make-autoload): Recognize define-overloadable-function and
18413 defclass forms (for EIEIO).
18415 * Makefile.in (update-subdirs): Exclude cedet directory.
18417 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18419 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18421 * faces.el: Default light-background background for region face to
18422 ns_selection_color under NS.
18424 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18426 * net/imap-hash.el: New library, see NEWS.
18428 * Makefile.in (ELCFILES): Add imap-hash.el.
18430 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18432 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18433 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18434 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18435 definition where the docstring could be taken for the return value.
18437 2009-09-26 Glenn Morris <rgm@gnu.org>
18439 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18440 Add option to only show images below a certain size.
18441 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18442 save-excursion calls.
18444 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18446 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18447 subdirectories) and eieio.
18449 2009-09-26 Alan Mackenzie <acm@muc.de>
18451 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18452 Correct buggy bracketing. (Bug#4289)
18454 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18455 character constants (as case labels). (Bug#4289)
18457 2009-09-25 Juri Linkov <juri@jurta.org>
18459 * files.el (safe-local-eval-forms): Allow time-stamp in
18460 before-save-hook (Bug#4554).
18462 2009-09-25 Drew Adams <drew.adams@oracle.com>
18464 * menu-bar.el (list-buffers-directory): Doc fix.
18466 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18468 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18469 Try and avoid copying twice the same paragraph.
18470 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18471 Remove save-excursion.
18472 (log-edit-changelog-entry): Do it here instead.
18474 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18476 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18477 when available, instead of hardcoding mode names. Doc fix.
18479 * menu-bar.el (list-buffers-directory): Add docstring.
18480 Make automatically buffer-local.
18482 * dired.el (dired-mode):
18483 * files.el (cd-absolute):
18484 * pcvs.el (cvs-temp-buffer):
18485 * pcvs-util.el (cvs-get-buffer-create):
18486 * shell.el (shell-mode):
18487 * vc-dir.el (vc-dir-mode):
18488 Don't make `list-buffers-directory' buffer local.
18490 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18492 * comint.el (comint-exec, comint-run, make-comint):
18493 Doc fixes (Bug#4542).
18495 2009-09-25 Glenn Morris <rgm@gnu.org>
18497 * mail/rmailmm.el (rmail-mime): New custom group.
18498 Move all defcustoms in this file into this group.
18499 (rmail-mime-media-type-handlers-alist): Revert previous change.
18500 (rmail-mime-show-images): New option.
18501 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18502 references to it, since it wasn't actually used for anything.
18503 (rmail-mime-insert-image): New function.
18504 (rmail-mime-image): Use rmail-mime-insert-image.
18505 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18506 obey the value of `rmail-mime-show-images' option. Print the size of
18509 2009-09-25 David Engster <deng@randomsample.de>
18511 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18513 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18515 * whitespace.el: Does not highlight trailing spaces While point is
18516 at end of line. Does not highligt spaces at beginning of buffer
18517 while point is at beginning of buffer. Does not highlight spaces
18518 at end of buffer while point is at end of buffer. (Bug#4177)
18520 (whitespace-display-mappings): Adjust initialization.
18521 (whitespace-point, whitespace-font-lock-refontify): New vars.
18522 (whitespace-color-on, whitespace-color-off): Adjust code.
18523 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18524 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18525 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18527 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18529 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18531 * textmodes/sgml-mode.el: Remove xml-mode alias.
18533 * files.el (auto-mode-alist, conf-mode-maybe)
18534 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18536 2009-09-24 Alan Mackenzie <acm@muc.de>
18538 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18539 c-forward-conditionals, but it doesn't move point and doesn't set
18541 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18542 (c-down-conditional-with-else, c-backward-conditional)
18543 (c-forward-conditional): Refactor to use c-scan-conditionals.
18545 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18547 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18548 (help-default-arg-highlight): Remove.
18549 (help-highlight-arg): New function.
18550 (help-do-arg-highlight): Use it.
18551 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18553 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18555 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18556 Undo last change, which didn't fix the problem and introduced others.
18558 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18560 * progmodes/gdb-mi.el: Don't require speedbar.
18561 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18563 2009-09-24 Glenn Morris <rgm@gnu.org>
18565 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18567 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18569 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18570 there is no newline after the final mime boundary. (Bug#4539)
18571 Move markers on insertion so that any buttons inserted don't end up in
18572 the next part of a multipart message.
18573 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18574 (rmail-mime-bulk-handler): Optionally handle images.
18575 (rmail-mime-image): New button action.
18576 (rmail-mime-image-handler): New function.
18577 (rmail-mime-mode): New mode.
18578 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18580 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18582 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18583 than just dropping elements from it (bug#4504).
18585 * term.el (term-set-scroll-region): Don't move cursor any more.
18586 (term-handle-ansi-escape): Call term-goto here instead.
18587 Suggested by Ivan Kanis <apple@kanis.eu>.
18589 * term.el: Require CL.
18590 (term-ansi-reset): New function.
18591 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18592 (term-handle-colors-array): Simplify.
18594 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18596 * allout.el (allout-overlay-interior-modification-handler)
18597 (allout-obtain-passphrase):
18598 * epa-file.el (epa-file-write-region):
18599 * ps-print.el (ps-begin-job):
18600 * vc-hooks.el (vc-toggle-read-only):
18601 * vc-rcs.el (vc-rcs-rollback):
18602 * vc-sccs.el (vc-sccs-rollback):
18603 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18604 (vc-version-diff, vc-revert, vc-rollback):
18605 * wdired.el (wdired-check-kill-buffer):
18606 * emacs-lisp/authors.el (authors):
18607 * net/socks.el (socks-open-connection):
18608 * net/zeroconf.el (zeroconf-service-add-hook):
18609 * obsolete/vc-mcvs.el (vc-mcvs-register):
18610 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18611 (gdb-select-frame):
18612 * progmodes/grep.el (lgrep, rgrep):
18613 * progmodes/idlw-help.el (idlwave-help-check-locations)
18614 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18615 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18616 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18617 (reftex-toc-rename-label): Fix typos in error messages.
18619 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18620 (dired-copy-how-to-fn): Doc fix.
18621 (dired-files-attributes, dired-read-shell-command):
18622 Fix typos in docstrings.
18624 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18625 (dired-x-find-file-other-window): Reflow docstrings.
18626 (dired-omit-marker-char, dired-read-shell-command)
18627 (dired-x-submit-report): Fix typos in docstrings.
18629 * shell.el (shell-mode-hook):
18630 * view.el (View-scroll-line-forward):
18631 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18632 Fix typos in docstrings.
18634 * net/dig.el (dig-invoke): Fix typo in docstring.
18635 (query-dig): Reflow docstring.
18637 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18638 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18639 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18640 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18641 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18642 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18643 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18644 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18645 (idlwave-completion-map, idlwave-current-indent)
18646 (idlwave-custom-ampersand-surround, idlwave-customize)
18647 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18648 (idlwave-define-abbrev, idlwave-determine-class-special)
18649 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18650 (idlwave-end-block-reg, idlwave-end-of-statement)
18651 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18652 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18653 (idlwave-explicit-class-listed, idlwave-file-header)
18654 (idlwave-fill-paragraph, idlwave-find-class-definition)
18655 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18656 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18657 (idlwave-in-quote, idlwave-indent-action-table)
18658 (idlwave-indent-expand-table, idlwave-indent-line)
18659 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18660 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18661 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18662 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18663 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18664 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18665 (idlwave-outlawed-buffers, idlwave-popup-select)
18666 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18667 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18668 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18669 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18670 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18671 (idlwave-statement-type, idlwave-struct-skip)
18672 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18673 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18674 (idlwave-what-module-find-class): Fix typos in docstrings.
18675 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18676 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18677 (idlwave-find-module, idlwave-find-structure-definition)
18678 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18679 (idlwave-list-load-path-shadows, idlwave-next-statement)
18680 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18681 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18682 (idlwave-template): Reflow docstrings.
18684 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18685 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18686 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18687 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18688 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18689 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18690 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18691 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18692 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18693 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18694 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18695 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18696 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18697 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18698 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18699 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18700 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18701 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18702 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18703 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18704 Fix typos in docstrings.
18705 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18706 (idlwave-shell-hide-output, idlwave-shell-mode)
18707 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18710 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18712 2009-09-24 Ivan Kanis <apple@kanis.eu>
18714 * term.el (term-bold-attribute): New var.
18715 (term-handle-colors-array): Use it.
18717 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18719 * progmodes/gdb-mi.el (gdb-version): New variable.
18720 (gdb-non-stop-handler): Set gdb-version.
18721 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18722 Condition "--thread" option on gdb-version.
18723 (gdb-invalidate-threads): Remove unused argument.
18725 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18727 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18728 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18730 2009-09-23 Glenn Morris <rgm@gnu.org>
18732 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18733 replying to mail without References or Message-Id. (Bug#4525)
18735 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18737 * term/ns-win.el (ns-reg-to-script): New variable.
18739 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18741 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18743 2009-09-22 Sam Steingold <sds@gnu.org>
18745 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18746 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18747 to 1 because hg returns status 1 when nothing is found.
18748 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18750 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18752 * textmodes/fill.el: Convert to utf-8 encoding.
18753 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18756 * add-log.el (change-log-fill-forward-paragraph): New function.
18757 (change-log-mode): Use it so fill-region DTRT.
18758 Set fill-indent-according-to-mode here rather than in
18759 change-log-fill-paragraph.
18760 (change-log-fill-paragraph): Remove.
18762 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18764 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18765 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18767 2009-09-22 Glenn Morris <rgm@gnu.org>
18769 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18770 the scroll-bar scroll the calendar window rather than the buffer.
18772 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18773 commands that move point (as opposed to scrolling).
18775 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18777 * emacs-lisp/elint.el (elint): New custom group.
18778 (elint-log-buffer): Make it a defcustom.
18779 (elint-scan-preloaded, elint-ignored-warnings)
18780 (elint-directory-skip-re): New options.
18781 (elint-builtin-variables): Doc fix.
18782 (elint-preloaded-env): New variable.
18783 (elint-unknown-builtin-args): Add an entry for encode-time.
18784 (elint-extra-errors): Make it a variable rather than a constant.
18785 (elint-preloaded-skip-re): New constant.
18786 (elint-directory): Skip files matching elint-directory-skip-re.
18787 (elint-features): New variable, local to linted buffers.
18788 (elint-update-env): Initialize elint-features. Possibly add
18789 elint-preloaded-env to the buffer's environment.
18790 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18792 (elint-init-form): New function, extracted from elint-init-env.
18793 Make non-list forms a warning rather than an error.
18794 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18795 easy-menu-define, put that adds an error-condition, and provide.
18796 When requiring cl, also require cl-macs. Really require cl, to handle
18797 some cl macros. Store required libraries in the list elint-features,
18798 so as not to re-load them. Treat cc-require like require.
18799 (elint-init-env): Call elint-init-form to do the work.
18800 Handle eval-and-compile and such like.
18801 (elint-add-required-env): Do not clear messages.
18802 (elint-special-forms): Add handlers for function, defalias, if, when,
18804 (elint-form): Add optional argument to ignore elint-special-forms,
18805 useful to prevent recursive calls from handlers. Doc fix.
18806 Respect elint-ignored-warnings.
18807 (elint-form): Respect elint-ignored-warnings.
18808 (elint-bound-variable, elint-bound-function): New variables.
18809 (elint-unbound-variable): Respect elint-bound-variable.
18810 (elint-get-args): Respect elint-bound-function.
18811 (elint-check-cond-form): Add some simple handling for (f)boundp and
18813 (elint-check-defalias-form): New handler.
18814 (elint-check-let-form): Make an empty let a warning rather than an
18816 (elint-check-setq-form): Make an empty setq a warning rather than an
18817 error. Respect elint-ignored-warnings.
18818 (elint-check-defvar-form): Accept null doc-strings.
18819 (elint-check-conditional-form): New handler. Does some simple-minded
18820 checking of featurep and (f)boundp tests.
18821 (elint-put-function-args): New function.
18822 (elint-initialize): Use elint-scan-doc-file rather than
18823 elint-find-builtin-variables. Use elint-put-function-args.
18824 Possibly scan preloaded-file-list.
18825 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18826 extend to handle functions as well.
18828 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18830 * linum.el (linum-delete-overlays, linum-update-window):
18831 Do not modify the right margin. (Bug#3971)
18833 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18835 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18836 Use nxml-mode instead of xml-mode.
18838 2009-09-21 Kevin Ryde <user42@zip.com.au>
18840 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18842 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18844 * net/dig.el (dig-mode): Use define-derived-mode.
18846 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18848 * vc-dispatcher.el (vc-do-command): Return the process object in
18849 the asynchronous case. Use when instead of if. Do not run
18850 vc-exec-after to display a message if not enabled. (Bug#4463)
18852 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18853 properties to the stash strings.
18854 (vc-git-stash-list): Return a list of strings.
18855 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18856 (vc-git-stash-show-at-point): New functions.
18857 (vc-git-stash-map): New keymap.
18859 * register.el (ctl-x-r-map): Define the keys here instead of
18862 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18864 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18865 list, to workaround performance problem (bug#4485).
18867 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18869 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18871 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18873 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18874 Document that this option is not recommended to use.
18876 2009-09-19 Glenn Morris <rgm@gnu.org>
18878 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18881 * calc/calc-alg.el (var):
18882 * calc/calcalg2.el (var): Define for compiler.
18884 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18886 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18887 Doc fix (Bug#3932).
18889 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18891 * time-stamp.el (time-stamp-month-dd-yyyy)
18892 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18893 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18894 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18895 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18896 Remove functions that have been obsolete since 1995 (Bug#4436).
18898 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18899 indent buffer only if called interactively (Bug#4452).
18901 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18902 Eli Zaretskii <eliz@gnu.org>
18904 This fixes bug#4197 (merged to bug#865, though not identical).
18905 * server.el (server-auth-dir): Add docstring note about FAT32.
18906 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18907 but warn against using them.
18909 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18911 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18912 older GDB where there is no has_more field.
18914 2009-09-19 Glenn Morris <rgm@gnu.org>
18916 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18918 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18920 * files.el (auto-mode-alist): Change default for XML files to nXML
18923 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18925 * server.el (server-ensure-safe-dir): Pass 'integer
18926 to `file-attributes', as suggested.
18928 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18930 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18931 (dired-query): Use read-key.
18933 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18935 * cus-start.el (ns-use-qd-smoothing): Remove.
18937 2009-09-18 Glenn Morris <rgm@gnu.org>
18939 * allout.el (top-level): Remove unnecessary progn.
18941 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18943 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18944 definition of abbrev table.
18946 * speedbar.el (speedbar-track-mouse):
18947 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18948 * net/eudc.el (eudc-expand-inline):
18949 * net/newst-backend.el (newsticker--cache-read-feed):
18950 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18951 condition-case handlers.
18953 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18955 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18956 (gdb-var-list): Add an element for has_more field.
18957 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18958 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18959 (gdb-var-update-handler-1): Parse output of dynamic variable
18960 objects (STL containers).
18961 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18962 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18964 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18966 (gud-speedbar-buttons): Make node expandable if expression "has more"
18969 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18971 * startup.el (emacs-quick-startup): Remove variable and all uses.
18972 (command-line): Set `inhibit-x-resources' instead.
18973 (command-line-1): Use `inhibit-x-resources' instead.
18975 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18977 * subr.el: Fix last change to avoid using the `unless' macro,
18978 which breaks bootstrapping.
18980 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18982 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18983 extended definitions, in case we reload subr.el after having
18985 (eval-next-after-load): Mark as obsolete.
18987 2009-09-17 Juri Linkov <juri@jurta.org>
18989 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18990 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18991 (menu-bar-showhide-menu, menu-bar-tools-menu)
18992 (menu-bar-describe-menu, menu-bar-help-menu)
18993 (minibuffer-local-completion-map, minibuffer-local-map):
18996 2009-09-17 Glenn Morris <rgm@gnu.org>
18998 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18999 arguments, whether or not it has a handler.
19001 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19003 * simple.el (hard-newline): Give it a doc-string.
19005 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19006 (lisp-mode-syntax-table): Give them doc-strings.
19008 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19010 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19011 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19012 (menu-bar-options-menu, menu-bar-showhide-menu)
19013 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19014 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19015 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19016 (menu-bar-options-menu, menu-bar-tools-menu)
19017 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19018 (menu-bar-help-menu):
19019 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19022 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19023 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19024 calls for the menu names and :help.
19026 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19028 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19029 to :minor-mode-function (bug#4455).
19031 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19033 * startup.el (command-line): Initialize the window-system after
19034 processing the command-line.
19036 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19037 page-delimiter matches the empty string.
19039 2009-09-16 Glenn Morris <rgm@gnu.org>
19041 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19042 byte-compile-not-obsolete-var. It's a list now.
19043 (byte-compile-not-obsolete-funcs): New variable.
19044 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19045 byte-compile-not-obsolete-funcs.
19046 (byte-compile-variable-ref, byte-compile-defvar): Update for
19047 byte-compile-not-obsolete-vars name-change and list nature.
19048 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19049 and variables behind (f)boundp tests.
19050 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19052 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19054 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19056 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19058 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19059 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19062 2009-09-15 Stephen Eglen <stephen@gnu.org>
19064 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19065 the virtual-buffers, use the name of the buffer specified by
19066 find-file-noselect, as the match may be a symlink. (This was a
19067 problem if the target and the symlink had different names.)
19069 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19071 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19073 * desktop.el (desktop-path): Check user-emacs-directory.
19075 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19077 * loadup.el: Use after-load-functions to GC after loading each file.
19078 Remove the explicit GC calls that used to be sprinkled around.
19080 * subr.el (after-load-functions): New hook.
19081 (do-after-load-evaluation): Run it. Use string-match-p to detect
19082 `obsolete' packages, rather than painfully extracting the relevant
19085 2009-09-15 Glenn Morris <rgm@gnu.org>
19087 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19088 free variable `doc'.
19090 * dired.el (dired-mode-map): Add menu entry for async shell command.
19092 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19093 variables, also consider the .elc files, since the .el files are
19094 normally gzipped (subsequent code locates the .el.gz from the .elc).
19096 * calc/calc-prog.el (arglist): Define for compiler.
19098 * calendar/diary-lib.el (diary-display-function): Change the default to
19100 (body): Define for compiler.
19102 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19103 (byte-compile-file-form, byte-compile-lambda)
19104 (byte-compile-top-level-body, byte-compile-form)
19105 (byte-compile-variable-ref, byte-compile-setq)
19106 (byte-compile-setq-default, byte-compile-body)
19107 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19108 (batch-byte-compile): Give some more local variables with common names
19109 a "bytecomp-" prefix to avoid masking warnings about free variables.
19111 * startup.el (command-line-1): Give local variables with common names a
19112 distinguishing prefix, so as not to hide free variable warnings during
19115 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19116 clever and add a suffix to make a unique name, just let the user decide
19117 whether or not to overwrite it. If the input is a directory, write the
19118 default filename to that directory. (Bug#4388)
19119 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19120 is a filename-as-a-directory.
19122 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19124 * textmodes/page.el (what-page): Don't move to beginning of line.
19125 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19127 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19129 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19131 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19133 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19134 * help.el (help-for-help-internal): Add purecopy calls for text.
19136 * vc.el (top): print-log method now takes an optional SHORTLOG
19137 argument. Add a new method: root.
19138 (vc-root-diff, vc-print-root-log): New functions.
19139 (vc-log-short-style): New variable.
19140 (vc-print-log-internal): Add support for showing short logs.
19142 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19143 vc-print-root-log and vc-print-root-diff.
19145 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19146 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19147 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19150 * vc-cvs.el (vc-cvs-print-log):
19151 * vc-mtn.el (vc-mtn-print-log):
19152 * vc-rcs.el (vc-rcs-print-log):
19153 * vc-sccs.el (vc-sccs-print-log):
19154 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19155 that is ignored for now.
19157 * vc-mtn.el (vc-mtn-annotate-command):
19158 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19160 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19162 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19163 to function-key-map, and give them ascii-character property.
19164 * term/x-win.el (x-alternatives-map):
19165 * term/ns-win.el (ns-alternatives-map):
19166 * term/internal.el (msdos-key-remapping-map):
19167 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19169 2009-09-14 Glenn Morris <rgm@gnu.org>
19171 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19172 temp-buffers (2009-09-12).
19174 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19176 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19177 the new read-key function.
19179 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19181 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19182 is defined (Bug#4405).
19184 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19186 * recentf.el (recentf-cleanup): Use a hash table to find
19187 duplicates (Bug#4407).
19189 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19191 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19192 kp-0 to ascii equivalents (Bug#4325).
19194 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19196 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19198 * eshell/em-hist.el:
19199 * eshell/em-dirs.el (eshell-complete-user-reference):
19200 Declare pcomplete functions and variables to avoid compiler warnings.
19202 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19204 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19205 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19206 * eshell/em-alias.el (eshell-aliases-file):
19207 * eshell/em-hist.el (eshell-history-file-name):
19208 Use expand-file-name instead of concat to make file names (Bug#4308).
19210 2009-09-13 Glenn Morris <rgm@gnu.org>
19212 * ediff-merg.el (ediff-do-merge):
19213 * filesets.el (filesets-run-cmd):
19214 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19215 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19216 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19217 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19218 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19219 Replace empty `let's with `progn'.
19221 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19223 * mail/sendmail.el (send-mail-function):
19224 * tooltip.el (tooltip-mode):
19225 * simple.el (transient-mark-mode):
19226 * rfn-eshadow.el (file-name-shadow-mode):
19227 * frame.el (blink-cursor-mode):
19228 * font-core.el (global-font-lock-mode):
19229 * files.el (temporary-file-directory)
19230 (small-temporary-file-directory, auto-save-file-name-transforms):
19231 * epa-hook.el (auto-encryption-mode):
19232 * composite.el (global-auto-composition-mode):
19233 Use custom-initialize-delay.
19234 * startup.el (command-line): Don't explicitly call
19235 custom-reevaluate-setting for all the above vars.
19236 * custom.el (custom-initialize-safe-set)
19237 (custom-initialize-safe-default): Delete.
19239 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19241 * term/x-win.el (x-initialize-window-system):
19242 * term/w32-win.el (w32-initialize-window-system):
19243 * term/ns-win.el (ns-initialize-window-system): Don't call
19244 mouse-wheel-mode since it's enabled globally by default already.
19246 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19247 actually define the variable, but only silences the byte-compiler.
19248 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19249 before looking it up.
19250 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19253 2009-09-12 Glenn Morris <rgm@gnu.org>
19255 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19257 (elint-add-required-env): Don't beep on error.
19258 (elint-forms): In case of error, return ENV unchanged.
19259 (elint-init-env): Skip non-list forms.
19260 (elint-log): Handle unknown file positions.
19262 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19264 * epg.el (epg-make-context): Add autoload cookie.
19265 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19266 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19267 (epg-verify-string, epg-start-sign, epg-sign-file)
19268 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19269 (epg-encrypt-string, epg-start-export-keys)
19270 (epg-export-keys-to-file, epg-export-keys-to-string)
19271 (epg-start-import-keys, epg-import-keys-from-file)
19272 (epg-import-keys-from-string, epg-start-receive-keys)
19273 (epg-receive-keys, epg-import-keys-from-server)
19274 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19275 (epg-sign-keys, epg-start-generate-key)
19276 (epg-generate-key-from-file, epg-generate-key-from-string):
19277 Remove autoload cookie.
19279 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19281 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19282 reevaluation of trash-directory.
19284 * mwheel.el: Fix last change.
19285 (mouse-wheel-mode): New defvar.
19286 (mouse-wheel-mode): Remove autoload cookie.
19288 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19290 * mwheel.el (mwheel-installed-bindings): New var.
19291 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19292 the bindings we set last time. Use custom-initialize-delay.
19293 * loadup.el: Load mwheel after term/*-win.el.
19294 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19295 and mouse-wheel-up-event now that their first evaluation is done
19296 sufficiently late to be correct.
19298 * startup.el (tutorial-directory): Make it a defcustom.
19299 Use custom-initialize-delay rather than eval-at-startup to set it.
19300 * image.el (image-load-path): Make it a defcustom.
19301 Use custom-initialize-delay rather than eval-at-startup to set it.
19302 * subr.el (eval-at-startup): Remove.
19303 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19305 * subr.el (do-after-load-evaluation): Warn the user after loading an
19308 2009-09-12 Glenn Morris <rgm@gnu.org>
19310 * proced.el (proced-mark-alt): Remove alias.
19311 (proced-mode-map): Remove proced-mark-alt.
19313 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19314 Elint file and directory. Remove initialization entry.
19316 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19318 (elint-current-buffer): Set mode-line-process.
19319 (elint-init-env): Handle define-derived-mode.
19320 Fix declare-function with unspecified arglist. Guard against odd
19321 defalias statements (eg iso-insert's 8859-1-map).
19322 (elint-add-required-env): Use a temp buffer.
19323 (elint-form): Just print the function/macro name, not the whole form.
19324 Return env unchanged if we fail to parse a macro.
19325 (elint-forms): Guard against parse errors.
19326 (elint-output): New function, to handle batch mode.
19327 (elint-log-message): Add optional argument. Use elint-output.
19328 (elint-set-mode-line): New function.
19330 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19332 * emacs-lisp/elp.el (elp-not-profilable): Add more
19333 functions (Bug#4233).
19335 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19337 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19338 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19340 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19342 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19343 (gdb-var-list-children): Use json parsing.
19345 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19347 * progmodes/js.el (js--proper-indentation): Handle the case where
19348 char-before is null. Reported by Deniz Dogan.
19350 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19352 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19354 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19356 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19357 (epg-digest-algorithm-alist): Add SHA224.
19358 (epg-context-set-passphrase-callback)
19359 (epg-context-set-progress-callback): Add description about
19362 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19364 * custom.el (custom-delayed-init-variables): New var.
19365 (custom-initialize-delay): New function.
19366 * startup.el (command-line): "Re"evaluate all vars in
19367 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19368 explicitly any more.
19369 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19370 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19372 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19374 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19376 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19377 (gdb-var-update-handler): Use json parsing.
19379 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19381 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19382 decode annotated text, regardless of language environment. (Bug#2741)
19384 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19386 * Makefile.in (autoloads): Make rmail.el writable as well.
19388 2009-09-11 Glenn Morris <rgm@gnu.org>
19390 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19392 * dired.el: Regenerate with extracted autoloads.
19393 * Makefile.in (autoloads): Make dired.el writable.
19395 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19396 * ibuffer.el: Regenerate with extracted autoloads.
19397 * Makefile.in (autoloads): Make ibuffer.el writable.
19399 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19400 * version.el (emacs-copyright, emacs-major-version)
19401 (emacs-minor-version): Reformat doc-strings for make-docfile.
19403 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19404 functions and variables, since they must be stuff specific to some other
19406 (apropos-print): Make mouse-click message less specific about button.
19408 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19409 that records where a macro was defined.
19410 * help-fns.el (describe-function-1): Mention if a function has a
19412 * help-mode.el (help-function-cmacro): New button.
19414 * locate.el (top-level): Always require dired.
19415 (locate-mode-map): Initialize inside the defvar.
19417 * net/ange-ftp.el (dired-compress-file): Declare.
19418 (ange-ftp-dired-compress-file): Add doc string.
19420 * term/ns-win.el (x-display-name, x-setup-function-keys):
19421 Unify doc-strings with X versions.
19423 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19425 * emulation/crisp.el (crisp-mode-map): Move initialization
19427 (crisp-mode): Use define-minor-mode.
19429 * progmodes/xscheme.el (xscheme-evaluation-commands):
19430 Put a :advertised-binding property rather than using
19431 advertised-xscheme-send-previous-expression.
19432 (advertised-xscheme-send-previous-expression): Declare obsolete.
19433 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19435 (crisp-mode): Add corresponding bindings to
19436 undo's :advertised-binding instead.
19437 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19438 than using dired-advertised-find-file.
19439 (dired-advertised-find-file):
19440 * simple.el (advertised-undo):
19441 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19442 (widget-keymap): Put a :advertised-binding property rather
19443 than using advertised-widget-backward.
19444 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19445 than using advertised-undo.
19446 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19448 2009-09-10 Simon South <ssouth@slowcomputing.org>
19450 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19451 Mark mode is enabled and region is active; otherwise indent or
19452 insert TAB as usual.
19453 (delphi-mode): Update description of TAB-key binding.
19455 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19457 * subr.el (define-key-rebound-commands): Mark obsolete.
19458 * startup.el (precompute-menubar-bindings): Remove.
19459 (normal-top-level): Remove obsolete code that tried to precompute
19461 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19462 define-key-rebound-commands and precompute-menubar-bindings.
19464 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19466 * net/imap.el (imap-interactive-login): Better messages.
19467 (imap-open): Fix bug with renamed buffer on reconnect.
19468 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19469 for easier debugging and cleaner code. On successful (guessed based on
19470 server capabilities) secondary authentication, set imap-state
19472 (imap-last-authenticator): Define imap-last-authenticator as a variable
19475 2009-09-10 Glenn Morris <rgm@gnu.org>
19477 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19479 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19480 (byte-compile-file-form-autoload): Don't warn about unknown functions
19481 where the autoload statement comes after the use.
19482 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19483 that any handlers inside the body (eg require) are in turn respected.
19485 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19488 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19489 and syntax and abbrev tables basic docs, if they don't have any.
19491 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19493 * international/mule-cmds.el (top-level): Require cl when compiling.
19494 (view-hello-file): Use default-value rather than
19495 default-enable-multibyte-characters.
19497 * progmodes/fortran.el: Move all safe and risky properties into the
19500 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19501 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19502 * mail/undigest.el:
19503 Put autoloads in rmail.el rather than loaddefs.el.
19504 * mail/rmail.el: Regenerate with extracted autoloads.
19506 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19507 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19509 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19511 Reported in thread for Bug#4375.
19512 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19513 "-data-evaluate-expression" instead of print.
19514 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19515 (gdb-tooltip-print): Parse output from above MI command.
19516 (gdb): Revert 2009-08-11 change. User should detach inferior
19519 Remove the word "separate" from IO functions as inferior
19520 output is now never displayed in the GUD buffer.
19522 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19524 * startup.el (command-line-normalize-file-name): On Windows and
19525 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19527 2009-09-10 Juri Linkov <juri@jurta.org>
19529 * isearch.el (isearch-text-char-description): Propertize escape
19530 character sequences with the `escape-glyph' face. (Bug#4344)
19532 * simple.el (shell-command): Set asynchronous process filter to
19533 `comint-output-filter'. (Bug#4343)
19535 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19536 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19537 the list. Move "asm" to the bottom.
19538 (grep-find-ignored-directories): Add `choice' with nil value
19539 to empty the list easily.
19540 (grep-find-ignored-files): New option.
19541 (grep-files-history): Set to nil by default instead of '("ch" "el").
19542 (grep-compute-defaults): Add "<X>" to `grep-template'.
19543 (grep-read-files): Bind new local variables `default-alias' and
19544 `default-extension'. Use a list of default values for the file prompt.
19545 (lgrep): Add `--exclude=' command line options composed from
19546 `grep-find-ignored-files'.
19547 (rgrep): Add `-name' command line options composed from
19548 `grep-find-ignored-files'. (Bug#4301)
19550 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19552 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19555 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19557 * calendar/time-date.el (autoload):
19558 Expand define-obsolete-function-alias into defalias and make-obsolete
19559 for old Emacsen that Gnus supports.
19560 (with-no-warnings): Define it for old Emacsen.
19561 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19563 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19564 float-time is available; suppress compile warning for time-to-seconds.
19566 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19568 * net/imap.el (imap-message-map): Docstring fix.
19570 2009-09-09 Glenn Morris <rgm@gnu.org>
19572 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19573 line numbers too. (Bug#4374)
19575 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19577 * smerge-mode.el (smerge-remove-props, smerge-refine):
19578 Use with-silent-modifications (bug#4342).
19580 * subr.el (with-silent-modifications): New macro.
19582 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19584 * files.el (top-level): Require `cl' when compiling.
19586 2009-09-07 Glenn Morris <rgm@gnu.org>
19588 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19590 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19591 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19593 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19595 * vc-git.el (vc-git-annotate-command): Use separator to parse
19596 arguments correctly.
19598 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19600 * proced.el (proced-mode): Doc fix.
19602 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19604 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19606 (tramp-do-file-attributes-with-ls): Check for file existence at
19608 (tramp-do-file-attributes-with-stat): Likewise.
19609 (tramp-convert-file-attributes): Return nil when attr is nil.
19611 2009-09-05 Glenn Morris <rgm@gnu.org>
19613 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19614 properties to this button.
19615 (diary-fancy-display): Don't extend the button to the final newline.
19616 (diary-fancy-display-mode): Continue to define "q" as a local key.
19618 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19621 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19623 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19624 (byte-compile-dest-file-function): New option.
19625 (byte-compile-dest-file): Doc fix.
19626 Obey byte-compile-dest-file-function.
19627 (byte-compile-cl-file-p): New function.
19628 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19629 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19630 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19631 than for file being previously loaded.
19632 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19633 (byte-compile-file-form-require): Handle the case where requiring a file
19634 indirectly causes CL to be loaded.
19636 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19638 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19639 before killing the old buffer, since by the time `kill-buffer' is
19640 run so many buffer variables have been set to nil that it may not
19641 behave as expected. (Bug#4061)
19643 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19645 * files.el (find-alternate-file): If the old buffer is modified
19646 and visiting a file, behave similarly to `kill-buffer' when
19647 killing it, thus reverting to the pre-1.878 behavior; see
19648 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19649 for discussion. Also, consult `buffer-file-name' as a variable
19650 not as a function, for consistency with the rest of the code.
19652 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19654 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19655 also when adding a new directory.
19657 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19660 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19662 * files.el (locate-file-completion-table): Make it provide boundary
19663 information, so partial-completion works better.
19665 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19667 * mail/footnote.el (Footnote-text-under-cursor):
19668 Check footnote-text-marker-alist before using it (bug#4324).
19670 2009-09-04 Glenn Morris <rgm@gnu.org>
19672 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19673 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19674 * play/solitaire.el, play/tetris.el:
19675 Remove leading * from defcustom and defface docs.
19677 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19679 (diary-fancy-overriding-map): New variable.
19680 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19683 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19686 2009-09-03 Glenn Morris <rgm@gnu.org>
19688 * arc-mode.el (archive-mode):
19689 * dos-fns.el (set-default-process-coding-system):
19690 * man.el (Man-getpage-in-background):
19691 * menu-bar.el (menu-bar-describe-menu):
19692 * server.el (server-process-filter):
19693 * startup.el (command-line):
19694 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19695 * w32-fns.el (set-default-process-coding-system):
19696 * x-dnd.el (x-dnd-handle-file-name):
19697 * international/mule-cmds.el (mule-menu-keymap)
19698 (set-default-coding-systems, language-info-alist, set-language-info)
19699 (set-language-environment, standard-display-european-internal)
19700 (set-locale-environment):
19701 * international/mule-diag.el (mule-diag):
19702 * mail/emacsbug.el (report-emacs-bug):
19703 * mail/rmail.el (rmail-mode):
19704 * mail/sendmail.el (mail-setup):
19705 Use default-value rather than default-enable-multibyte-characters.
19707 * progmodes/f90.el: Move all safe properties into the defcustoms.
19708 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19710 * calendar/appt.el (appt-check):
19711 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19712 (diary-check-diary-file, diary-list-entries)
19713 (diary-include-other-diary-files, diary-simple-display)
19714 (diary-fancy-display, diary-print-entries)
19715 (diary-mark-included-diary-files, diary-make-entry):
19716 Don't call substitute-in-file-name on diary-file.
19718 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19719 Stefan Monnier <monnier@iro.umontreal.ca>
19721 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19722 (footnote-mode-map): Move initialization into the declaration.
19723 (footnote-minor-mode-map): Define it rather than changing global-map.
19724 (footnote-mode): Use define-minor-mode.
19726 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19728 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19729 (tramp-do-file-attributes-with-perl)
19730 (tramp-do-file-attributes-with-stat): Rename from
19731 `tramp-handle-file-attributes-with-*'.
19732 (tramp-handle-file-attributes): Use them.
19733 (tramp-do-directory-files-and-attributes-with-perl)
19734 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19735 `tramp-handle-directory-files-and-attributes-with-*'.
19736 (tramp-handle-directory-files-and-attributes): Use them.
19737 (tramp-method-out-of-band-p): Additional parameter SIZE.
19738 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19739 (tramp-handle-write-region): Use it.
19740 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19741 (tramp-handle-vc-registered): Check, whether the first run did
19742 return files to be tested.
19743 (tramp-advice-make-auto-save-file-name): Do not call directly
19744 `tramp-handle-make-auto-save-file-name', because this would bypass
19745 the locking mechanism.
19747 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19748 (file-remote-p, process-file, start-file-process, set-file-times)
19749 (tramp-compat-file-attributes): Compatibility functions shall not
19750 call directly `tramp-handle-*', because this would bypass the
19752 (tramp-compat-number-sequence): New defun.
19754 2009-09-02 Glenn Morris <rgm@gnu.org>
19756 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19757 alias for float-time.
19758 (time-to-number-of-days): In Emacs, use float-time.
19759 * net/newst-backend.el (time-add): Suppress warnings from compat
19761 * time.el (emacs-uptime, emacs-init-time):
19762 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19763 Use float-time rather than time-to-seconds.
19765 * minibuffer.el (completion-initials-expand): Fix typo.
19767 * faces.el (modeline, modeline-inactive, modeline-highlight)
19768 (modeline-buffer-id):
19769 * info.el (info-menu-5): Mark these face aliases as obsolete.
19771 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19773 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19775 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19776 no "--thread" option.
19777 (gdb-stopped): Don't print "Switched to thread" message when it is
19780 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19782 * minibuffer.el (completion-try-completion)
19783 (completion-all-completions): Remove ill-defined (and
19784 mistakenly installed and luckily never used nor documented)
19785 `completion-styles' property.
19786 (completion-initials-expand, completion-initials-all-completions)
19787 (completion-initials-try-completion): New functions.
19788 (completion-styles-alist): Add doc to each entry.
19789 Add new `initials' entry.
19791 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19793 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19794 MI command -var-evaluate-expression.
19795 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19796 and tweak for case of string child.
19797 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19799 2009-09-01 Glenn Morris <rgm@gnu.org>
19801 * add-log.el (change-log-date-face, change-log-name-face)
19802 (change-log-email-face, change-log-file-face, change-log-list-face)
19803 (change-log-conditionals-face, change-log-function-face)
19804 (change-log-acknowledgement-face):
19805 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19806 (custom-modified-face, custom-set-face, custom-changed-face)
19807 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19808 (custom-documentation-face, custom-state-face, custom-comment-face)
19809 (custom-comment-tag-face, custom-variable-tag-face)
19810 (custom-variable-button-face, custom-face-tag-face)
19811 (custom-group-tag-face-1, custom-group-tag-face):
19812 * diff-mode.el (diff-header-face, diff-file-header-face)
19813 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19814 (diff-added-face, diff-changed-face, diff-function-face)
19815 (diff-context-face, diff-nonexistent-face):
19816 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19817 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19818 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19819 (Info-title-4-face):
19820 * isearch.el (isearch-lazy-highlight-face):
19821 * log-view.el (log-view-file-face, log-view-message-face):
19822 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19823 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19824 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19826 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19827 (smerge-base-face, smerge-markers-face):
19828 * wid-edit.el (widget-documentation-face, widget-button-face)
19829 (widget-field-face, widget-single-line-field-face)
19830 (widget-inactive-face, widget-button-pressed-face):
19831 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19832 (woman-addition-face):
19833 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19834 (eshell-ls-executable-face, eshell-ls-readonly-face)
19835 (eshell-ls-unreadable-face, eshell-ls-special-face)
19836 (eshell-ls-missing-face, eshell-ls-archive-face)
19837 (eshell-ls-backup-face, eshell-ls-product-face)
19838 (eshell-ls-clutter-face):
19839 * eshell/em-prompt.el (eshell-prompt-face):
19840 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19841 * obsolete/old-whitespace.el (whitespace-highlight-face):
19842 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19843 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19844 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19845 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19846 (antlr-font-lock-literal-face):
19847 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19848 (ebrowse-root-class-face, ebrowse-file-name-face)
19849 (ebrowse-default-face, ebrowse-member-attribute-face)
19850 (ebrowse-member-class-face, ebrowse-progress-face):
19851 * progmodes/make-mode.el (makefile-space-face):
19852 * progmodes/sh-script.el (sh-heredoc-face):
19853 * textmodes/flyspell.el (flyspell-incorrect-face)
19854 (flyspell-duplicate-face):
19855 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19856 * textmodes/texinfo.el (texinfo-heading-face):
19857 Mark face aliases with "-face" suffix as obsolete.
19859 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19862 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19863 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19864 easy-menu-define wants to modify these.
19866 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19868 * net/browse-url.el (browse-url-file-url):
19869 * term/internal.el (dos-codepage-setup):
19870 Use default-value rather than default-enable-multibyte-characters.
19872 * progmodes/etags.el (etags-goto-tag-location):
19873 * progmodes/flymake.el (flymake-highlight-line)
19874 (flymake-goto-file-and-line, flymake-goto-line):
19875 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19876 (gdb-goto-breakpoint):
19877 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19878 * progmodes/python.el (python-find-function)
19879 (python-pdbtrack-track-stack-file):
19880 * progmodes/verilog-mode.el (verilog-surelint-off):
19881 * term/ns-win.el (ns-open-file-select-line):
19882 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19883 Use forward-line rather than goto-line.
19885 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19886 * textmodes/reftex-index.el (reftex-display-index):
19887 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19888 * textmodes/reftex-toc.el (reftex-toc):
19889 Remove unnecessary bindings of default-major-mode (all are followed by
19890 major-mode check and possible mode switch).
19892 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19894 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19895 Handle watchpoints (bug#4282).
19896 (def-gdb-thread-buffer-command): Enable thread to be selected by
19897 clicking without selecting threads buffer first.
19898 (gdb-current-context-command): Use selected frame so that "up",
19899 "down" etc work in the GUD buffer.
19900 (gdb-update): Find selected frame before rendering stack buffer.
19901 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19903 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19905 * progmodes/sym-comp.el (displayed-completions): Remove.
19906 (symbol-complete): Use minibuffer-complete.
19908 2009-08-31 Glenn Morris <rgm@gnu.org>
19910 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19912 * apropos.el (apropos-symbols-internal):
19913 Handle (obsolete) face aliases.
19915 * faces.el (describe-face): Adjust the output format to be more like
19916 describe-variable, and to mention (obsolete) face aliases.
19917 Adjust the whitespace so that help-setup-xref works.
19919 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19920 * calendar/diary-lib.el (diary-button-face):
19921 Mark these face aliases as obsolete.
19923 * calendar/calendar.el (calendar-today): Doc fix.
19925 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19927 * progmodes/gdb-mi.el (gdb-control-all-threads)
19928 (gdb-control-current-thread): Force tool bar update.
19929 (gdb-non-stop-handler): New function.
19930 (gdb-init-1): Use it to test if non-stop mode is supported.
19931 Remove unused gdbmi buffer type.
19933 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19935 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19936 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19938 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19940 * comint.el (comint-exec-1): Check command is non-null first.
19941 Part of gdb-mi.el change (2009-08-28).
19943 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19945 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19947 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19949 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19950 instead of `dolist' to avoid a recursive require when bootstrapping.
19952 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19954 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19956 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19958 * net/imap.el (imap-send-command): Simplify.
19959 (imap-wait-for-tag): point-max -> buffer-size.
19961 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19963 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19964 with constant argument.
19966 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19968 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19970 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19971 Change default, since most of our files don't have a history.
19972 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19975 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19978 * calc/calc.el: Improve commenting convention.
19979 (calc-digit-map, toplevel): Simplify.
19981 * comint.el (comint-insert-input): Be careful to only set point if we
19982 don't delegate to some other command.
19984 * proced.el (proced-signal-list): Make it an alist.
19985 (proced-grammar-alist): Capitalize names.
19986 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19987 Disable undo manually and make it read-only.
19988 Use completion-annotate-function.
19990 * minibuffer.el (minibuffer-message): If the current buffer is not
19991 a minibuffer, insert the message in the echo area rather than at the
19993 (completion-annotate-function): New variable.
19994 (minibuffer-completion-help): Use it.
19995 (completion--embedded-envvar-table): Environment vars are
19996 always case-sensitive.
19998 2009-08-30 Glenn Morris <rgm@gnu.org>
20000 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20001 from fortran-current-defun.
20002 (fortran-beginning-of-subprogram): Be more precise about finding the
20003 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20004 (fortran-end-of-subprogram): Simplify.
20005 (fortran-current-defun): Use fortran-start-prog-re.
20007 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20009 * subr.el (do-after-load-evaluation): Simplify.
20011 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20013 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20015 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20016 (vc-rcs-print-log): Use it.
20018 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20020 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20022 * paths.el (abbrev-file-name): Move to abbrev.el.
20023 * abbrev.el (abbrev-file-name): Move from paths.el.
20024 Obey user-emacs-directory.
20025 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20026 user-emacs-directory.
20027 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20028 abbrev-file-name and calc-settings-file any more.
20029 * startup.el (command-line): Recompute abbrev-file-name and
20030 abbreviated-home-dir.
20031 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20032 of the special code for when C-h bindings haven't been changed.
20033 (display-startup-echo-area-message): Use with-current-buffer.
20034 (command-line-1): Use a list of strings, rather than a list of lists
20035 of strings for longopts.
20037 * files.el (get-free-disk-space): Use / for default-directory.
20039 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20040 Use with-current-buffer.
20042 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20043 Recognize immutable variables like most-positive-fixnum.
20044 (byte-compile-setq-default): Check and warn if trying to assign
20045 to an immutable variable, or a non-variable.
20047 * progmodes/cc-vars.el (c-comment-continuation-stars):
20048 * progmodes/cc-engine.el (c-looking-at-bos):
20049 * progmodes/cc-cmds.el (c-toggle-auto-state)
20050 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20051 (c-comment-line-break-function): Add version of obsolescence.
20053 2009-08-28 Juri Linkov <juri@jurta.org>
20055 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20056 associated with `archive-mode'.
20058 * image.el (image-type-header-regexps): Use only JPEG magic number
20059 to determine JPEG images, and don't use `image-jpeg-p' because
20060 Emacs can display non-JFIF non-Exif JPEG images.
20062 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20064 * arc-mode.el (archive-mode):
20065 * emacs-lisp/re-builder.el (re-builder-unload-function):
20066 Protect against the default value of `major-mode' being nil.
20068 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20070 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20071 Fix typos in docstrings.
20073 * progmodes/js.el (js--macro-decl-re): Doc fix.
20074 (js--plain-method-re, js--split-name): Refloc docstring.
20075 (js--class-styles, js--make-merged-item, js--splice-into-items):
20076 Fix typos in docstrings; reflow docstrings.
20077 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20078 (js--variable-decl-matcher, js--inside-pitem-p)
20079 (js--parse-state-at-point, js--get-all-known-symbols)
20080 (js--symbol-history, js-find-symbol, js--js-references)
20081 (js--moz-interactor, js--js-encode-value, js--read-tab):
20082 Fix typos in docstrings.
20084 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20086 * textmodes/reftex.el (reftex-get-file-buffer-force):
20087 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20088 * emulation/viper.el (viper-go-away, viper-set-hooks):
20089 * emacs-lisp/re-builder.el (re-builder-unload-function):
20090 * emacs-lisp/bytecomp.el (byte-compile-file):
20091 * ses.el (ses-unload-function):
20092 * hexl.el (hexl-find-file):
20093 * files.el (normal-mode):
20094 * ehelp.el (with-electric-help):
20095 * autoinsert.el (auto-insert-alist):
20096 * arc-mode.el (archive-mode):
20097 Use (default-value 'major-mode) instead of default-major-mode.
20099 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20100 * international/mule.el (load-with-code-conversion):
20101 * emacs-lisp/debug.el (debug):
20102 * ediff-vers.el (ediff-rcs-get-output-buffer):
20103 * dired.el (dired-internal-noselect): Don't let-bind
20104 default-major-mode around code that doesn't use it.
20105 E.g. buffer creation via get-buffer-create doesn't use it.
20107 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20109 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20110 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20111 when writing the temp file. Otherwise, epa-file gets confused.
20112 (tramp-register-file-name-handlers): Make it a defun. Move also
20113 `epa-file-handler' to the front of `file-name-handler-alist'.
20115 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20117 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20118 start right after a ^M.
20119 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20120 (tramp-completion-file-name-regexp-separate)
20121 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20122 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20123 Don't modify last-coding-system-used by accident.
20124 (tramp-completion-file-name-handler): Apply the checks here,
20125 instead during registration.
20126 (tramp-register-file-name-handlers): Rename from
20127 `tramp-register-file-name-handler'. Register both
20128 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20129 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20131 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20133 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20134 Remove variable ...
20135 (gdb-init-1, gdb-display-separate-io-buffer)
20136 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20138 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20139 (gdb-inferior-filter): Use comint-output-filter to stop
20140 echoing and remove ^M characters.
20142 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20144 * emulation/viper-init.el (viper-restore-cursor-type):
20145 * emulation/cua-base.el (cua--update-indications):
20146 Replace default-cursor-type with (default-value 'cursor-type).
20148 * mail/sendmail.el (mail-recover-1):
20149 * international/mule-diag.el (describe-current-coding-system-briefly)
20150 (describe-current-coding-system):
20151 * international/mule-cmds.el (select-safe-coding-system)
20152 (select-message-coding-system)
20153 (set-language-environment-coding-systems, set-locale-environment):
20154 * hexl.el (hexl-insert-multibyte-char):
20155 * dos-w32.el (find-buffer-file-type-coding-system):
20156 * simple.el (what-cursor-position):
20157 Replace uses of default-buffer-file-coding-system
20158 with (default-value 'buffer-file-coding-system).
20160 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20161 Replace uses of default-cursor-in-non-selected-windows
20162 with (default-value 'cursor-in-non-selected-windows).
20163 Use with-current-buffer.
20165 * mail/feedmail.el: Use CL macros.
20166 (feedmail-run-the-queue, feedmail-send-it-immediately):
20167 * dos-w32.el (find-buffer-file-type): Replace uses of
20168 default-buffer-file-type with (default-value 'buffer-file-type).
20170 2009-08-28 Glenn Morris <rgm@gnu.org>
20172 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20173 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20174 Use default-value of major-mode rather than default-major-mode.
20176 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20178 * Makefile.in (update-elcfiles): Report left over elc files.
20180 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20181 expand-file-name and with-current-buffer.
20182 (mail-get-names, mail-directory): Use with-current-buffer.
20184 * vc.el (vc-read-revision): New function.
20185 (vc-version-diff, vc-merge): Use it.
20187 2009-08-27 Sam Steingold <sds@gnu.org>
20189 * simple.el (kill-do-not-save-duplicates): New user option.
20190 (kill-new): When it is non-nil, and the new string is the same as
20191 the latest kill, set replace to t to avoid duplicates in kill-ring.
20193 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20195 * net/tramp.el (tramp-handle-process-file): Do not flush all
20196 caches when `process-file-side-effects' is set.
20197 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20198 instead of `tramp-find-file-exists-command'.
20199 Unset `process-file-side-effects'.
20201 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20203 * net/tramp.el (tramp-methods): New method "rsyncc".
20204 (top): Add completion function for "rsyncc".
20205 (tramp-message-show-message): New defvar.
20206 (tramp-message, tramp-error): Use it.
20207 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20209 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20210 `tramp-methods' entry `copy-env' of "rsyncc".
20211 (tramp-vc-registered-read-file-names): New defconst.
20212 (tramp-vc-registered-file-names): New defvar.
20213 (tramp-handle-vc-registered): Implement optimization strategy.
20214 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20215 (tramp-vc-file-name-handler): New defun.
20216 (tramp-get-ls-command, tramp-get-test-command)
20217 (tramp-get-file-exists-command, tramp-get-remote-ln)
20218 (tramp-get-remote-perl, tramp-get-remote-stat)
20219 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20221 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20222 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20224 (tramp-get-file-property): Check for timestamps in
20225 `tramp-cache-inhibit-cache'.
20226 (tramp-set-file-property): Write timestamp.
20228 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20230 * language/japan-util.el (japanese-symbol-table): Add entries for
20233 * international/characters.el: Add category `j' to cp932-2-byte.
20235 2009-08-27 Kenichi Handa <handa@m17n.org>
20237 * international/fontset.el (build-default-fontset-data): New macro.
20238 (setup-default-fontset): Use build-default-fontset-data for CJK,
20239 tibetan, ethiopic, and ipa.
20241 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20243 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20244 (enable-multibyte-characters): Not customizable any more.
20246 * subr.el (default-mode-line-format, default-header-line-format)
20247 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20248 (default-direction-reversed, default-truncate-lines)
20249 (default-left-margin, default-tab-width, default-case-fold-search)
20250 (default-left-margin-width, default-right-margin-width)
20251 (default-left-fringe-width, default-right-fringe-width)
20252 (default-fringes-outside-margins, default-scroll-bar-width)
20253 (default-vertical-scroll-bar, default-indicate-empty-lines)
20254 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20255 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20256 (default-scroll-down-aggressively, default-fill-column)
20257 (default-cursor-type, default-buffer-file-type)
20258 (default-cursor-in-non-selected-windows)
20259 (default-buffer-file-coding-system, default-major-mode)
20260 (default-enable-multibyte-characters): Mark as obsolete.
20262 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20264 * vc-dir.el (vc-dir-update): Remove debug helper.
20266 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20268 2009-08-26 Sam Steingold <sds@gnu.org>
20270 * simple.el (save-interprogram-paste-before-kill): New user option.
20271 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20272 save the interprogram-paste into kill-ring before overriding it
20273 with the Emacs kill.
20275 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20277 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20278 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20279 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20280 and move to vc-rcs.el.
20281 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20283 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20284 (vc-rcs-update-changelog): Remove.
20285 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20286 and move to vc-rcs.el.
20288 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20289 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20291 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20292 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20293 vc.el, renamed to be RCS specific.
20295 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20297 (vc-cvs-update-changelog): Move here from vc.el.
20299 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20302 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20304 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20306 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20308 * vc-git.el (vc-git-register): Use "git add" for directories.
20309 (vc-git-stash, vc-git-stash-show): New functions.
20310 (vc-git-extra-menu-map): Bind them.
20312 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20313 directory correctly in case the item is a directory itself.
20315 * vc.el: Document the desired behavior for reverted files in the
20317 (vc-default-prettify-state-info): Remove function, unused.
20319 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20321 2009-08-26 Glenn Morris <rgm@gnu.org>
20323 * bindings.el (standard-mode-line-format): Reposition dashes in
20324 which-func entry. (Bug#4217)
20326 * files.el (enable-local-variables, enable-local-eval)
20327 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20329 (auto-mode-alist, ignored-local-variables)
20330 (save-some-buffers-action-alist): Move risky declarations to the
20332 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20333 (font-lock-defaults, format-alist, imenu--index-alist)
20334 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20335 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20336 (mode-line-modified, mode-line-mule-info, mode-line-position)
20337 (mode-line-process, mode-line-remote, outline-level)
20338 (parse-time-rules, rmail-output-file-alist)
20339 (special-display-buffer-names, vc-mode):
20340 Move risky declarations to the relevant files.
20341 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20342 (mode-line-modified, mode-line-process, mode-line-position)
20343 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20344 * font-core.el (font-lock-defaults):
20345 * format.el (format-alist):
20346 * vc-hooks.el (vc-mode):
20347 * window.el (special-display-buffer-names):
20348 * international/mule-cmds.el (input-method-alist):
20349 Define riskiness here (dumped file) rather than in files.el.
20350 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20351 * imenu.el (imenu-generic-expression, imenu--index-alist):
20352 * outline.el (outline-level):
20353 * time.el (display-time-string):
20354 * calendar/parse-time.el (parse-time-rules):
20355 * mail/rmailout.el (rmail-output-file-alist):
20356 Autoload riskiness here, rather than placing in files.el.
20358 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20360 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20362 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20364 * simple.el (process-file-side-effects): New defvar.
20366 * dired-aux.el (dired-show-file-type):
20367 * vc.el (vc-diff-internal):
20368 * vc-arch.el (vc-arch-diff):
20369 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20370 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20371 * vc-git.el (vc-git-registered, vc-git-working-revision)
20372 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20373 (vc-git--empty-db-p):
20374 * vc-hooks.el (vc-user-login-name):
20375 * vc-svn.el (vc-svn-registered, vc-svn-state)
20376 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20377 * progmodes/grep.el (grep-probe): Let-bind
20378 `process-file-side-effects' with nil.
20380 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20382 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20383 daemon. Replace ping by checking for running service for bluez
20384 and zeroconf. (Bug#4239)
20386 2009-08-25 Kevin Ryde <user42@zip.com.au>
20388 * net/dig.el (dig): Add autoload cookie.
20390 2009-08-25 Glenn Morris <rgm@gnu.org>
20392 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20393 load-history for absolute file-names.
20394 (byte-compile-file-form-require): Warn about use of the cl package.
20396 * format.el (format-alist): Doc fix.
20398 * play/bubbles.el (top-level): Don't require cl at run-time.
20400 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20403 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20405 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20407 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20409 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20411 * calc/calc-alg.el (math-trig-rewrite)
20412 (math-hyperbolic-trig-rewrite): New functions.
20413 (calc-simplify): Simplify trig functions when asked.
20415 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20417 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20419 2009-08-24 Kenichi Handa <handa@m17n.org>
20421 * language/ind-util.el (mapthread): Delete it.
20422 (combinatorial): New function.
20423 (indian--puthash-cv): Use combinatorial instead of mapthread.
20425 2009-08-22 Kevin Ryde <user42@zip.com.au>
20427 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20428 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20429 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20430 Clarify docstring that the value is strings not symbols.
20431 (checkdoc-list-of-strings-p): New function.
20433 2009-08-22 Glenn Morris <rgm@gnu.org>
20435 * files.el (auto-mode-alist):
20436 * hippie-exp.el (he-concat-directory-file-name):
20437 * lpr.el (lpr-windows-system, printer-name):
20438 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20439 * ps-print.el (ps-windows-system):
20440 * startup.el (command-line):
20441 * emulation/viper-ex.el (viper-glob-function):
20442 * international/mule-cmds.el (set-language-environment-coding-systems):
20443 * net/ange-ftp.el (ange-ftp-write-region):
20444 * obsolete/fast-lock.el (fast-lock-cache-name):
20445 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20446 unisoft-unix, vax-vms, win32, w32.
20448 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20449 given name if the pattern is not more specific.
20451 * calendar/lunar.el (lunar-phase-names): New option.
20452 (lunar-phase): Doc fix.
20453 (lunar-cycles-per-year): New constant.
20454 (lunar-index): New function.
20455 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20456 (lunar-phase-name): Use lunar-phase-names.
20457 (calendar-lunar-phases): Use format.
20458 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20460 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20461 Copy imenu-example--name-and-position function here for own use.
20462 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20464 * bs.el (bs--redisplay):
20465 * cus-edit.el (custom-redraw):
20466 * ibuffer.el (ibuffer-bury-buffer):
20467 * server.el (server-goto-line-column):
20468 * startup.el (command-line-1):
20469 * strokes.el (strokes-xpm-for-stroke):
20470 * term.el (term-display-buffer-line):
20471 * view.el (View-goto-line):
20472 * calc/calc.el (calc-do, calc-trail-buffer):
20473 * play/gamegrid.el (gamegrid-add-score-insecure):
20474 * progmodes/ada-mode.el (ada-compile-goto-error):
20475 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20476 (ebrowse-select-1st-to-9nth):
20477 * progmodes/cperl-mode.el (cperl-time-fontification):
20478 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20479 * progmodes/gud.el (gud-display-line):
20480 (idlwave-shell-display-line):
20481 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20482 * progmodes/make-mode.el (makefile-browser-toggle):
20483 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20484 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20485 * textmodes/picture.el (picture-draw-rectangle):
20486 * textmodes/reftex-index.el (reftex-index-goto-letter):
20487 (reftex-select-jump-to-previous):
20488 * textmodes/reftex-sel.el (reftex-find-start-point)
20489 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20490 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20491 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20492 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20493 * textmodes/two-column.el (2C-associated-buffer):
20494 Use forward-line rather than goto-line.
20496 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20499 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20500 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20501 (quick-check-list-to-regexp): Declare.
20503 * progmodes/make-mode.el (makefile-browser-insert-selection):
20504 Use goto-char rather than goto-line.
20506 * progmodes/prolog.el (compilation-error-regexp-alist)
20507 (compilation-forget-errors): Declare.
20509 2009-08-22 Juri Linkov <juri@jurta.org>
20511 * progmodes/grep.el (lgrep, rgrep): At the beginning
20512 set `dir' to `default-directory' unless `dir' is a non-nil
20513 readable directory. (Bug#4052)
20514 (lgrep, rgrep): Change a weird way to report an error
20515 from using `read-string' to using `error'.
20516 Instead of using interactive arguments in the function body,
20517 add new argument `confirm'.
20519 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20521 * textmodes/remember.el (remember-buffer):
20522 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20523 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20524 (icalendar-extract-ical-from-buffer):
20525 * net/newst-treeview.el (newsticker-groups-filename):
20526 * net/newst-backend.el (newsticker-cache-filename):
20527 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20528 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20529 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20530 (speedbar-buffers-line-path, speedbar-path-line)
20531 (speedbar-buffers-line-path):
20532 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20534 * epa.el (epa-display-verify-result):
20535 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20537 2009-08-21 Glenn Morris <rgm@gnu.org>
20539 * progmodes/js.el (inferior-moz-process): Fix declaration.
20541 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20543 * obsolete/rnewspost.el (news-mail-reply):
20544 Use goto-char rather than goto-line.
20546 * term/ns-win.el (ns-open-file-select-line):
20547 Use line-beginning-position rather than goto-line.
20549 * apropos.el (apropos-command):
20550 * ehelp.el (electric-helpify):
20551 * printing.el (pr-show-setup):
20552 * strokes.el (strokes-help):
20553 * tutorial.el (tutorial--describe-nonstandard-key)
20554 (tutorial--detailed-help):
20555 * woman.el (woman-mini-help, woman-display-extended-fonts):
20556 * calc/calc-help.el (calc-describe-key):
20557 * emulation/edt.el (edt-electric-helpify):
20558 * international/mule-diag.el (mule-diag):
20559 * play/yow.el (apropos-zippy):
20560 * progmodes/python.el (python-describe-symbol):
20561 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20562 * textmodes/table.el (*table--cell-describe-mode)
20563 (*table--cell-describe-bindings):
20564 Use help-print-return-message rather than the now obsolete alias.
20566 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20567 (calendar-cursor-to-visible-date):
20568 * play/5x5.el (5x5-position-cursor):
20569 * play/decipher.el (decipher):
20570 * play/gomoku.el (gomoku-goto-xy):
20571 * play/landmark.el (lm-goto-xy):
20572 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20573 (mpuz-paint-digit):
20574 Use forward-line, not goto-line.
20576 * mail/rmail.el (rmail-obsolete): Delete custom group.
20577 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20578 (rmail-remote-password, rmail-remote-password-required):
20579 Remove unneeded :set-after and :set properties.
20581 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20583 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20585 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20587 * loadup.el: Remove leftover macos code.
20589 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20590 Explicitly pass the date format to git blame so that user local
20591 so that the output format can be parsed.
20593 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20595 * net/dbus.el (top): Don't check for (getenv
20596 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20598 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20600 * log-edit.el (log-edit-strip-single-file-name): New var.
20601 (log-edit-insert-changelog): Use it. Bug#3571
20603 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20605 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20608 * help.el (help-print-return-message): Rename from
20609 print-help-return-message.
20611 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20612 cvs-mode-map parent hack.
20613 (log-view-mode): Derive from special-mode.
20615 * linum.el (linum-mode): window-size-change-functions is redundant.
20616 Adapt to new window-configuration-change-hook behavior.
20617 (linum-after-size, linum-after-config): Remove.
20619 * imenu.el (imenu-example--name-and-position)
20620 (imenu-example--lisp-extract-index-name)
20621 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20624 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20625 (inferior-prolog-mode): Use it.
20626 (inferior-prolog-load-file): Reset list of errors.
20628 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20630 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20632 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20634 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20636 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20637 is running already.
20639 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20641 * subr.el (listify-key-sequence-1): Use normal syntax since those
20642 integers are nowadays always represented by the same (positive) number
20644 (read-key-empty-map): New const.
20645 (read-key-delay): New var.
20646 (read-key): New function.
20647 (force-mode-line-update): Use with-current-buffer.
20648 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20649 (start-process-shell-command, start-file-process-shell-command):
20650 Discourage the use of command-args.
20652 2009-08-19 Glenn Morris <rgm@gnu.org>
20654 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20656 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20658 * simple.el (choose-completion-string): Don't rely on
20659 minibuffer-completing-file-name and ad-hoc checks to decide whether
20660 to continue completion or not.
20662 * minibuffer.el (minibuffer-hide-completions): New function.
20663 (completion--do-completion): Use it.
20664 (completions-annotations): New face.
20665 (completion--insert-strings): Use it.
20666 (completion-pcm--delim-wild-regex): Add docstring.
20667 (completion-pcm--string->pattern): Add support for 0-width delimiters
20668 in completion-pcm--delim-wild-regex.
20670 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20672 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20673 Remove unused var `buffer-modified-p'.
20675 * minibuffer.el (completion--do-completion): Move point for the #b001
20676 case as well (bug#4176).
20677 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20679 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20681 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20682 and :session buses.
20684 2009-08-18 Kenichi Handa <handa@m17n.org>
20686 * international/ucs-normalize.el (ucs-normalize-version):
20688 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20689 (utf-8-hfs): Make it perform normalization on encoding too.
20691 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20692 (sentence-end-without-space): Delete duplicated chars.
20693 (sentence-end-base): Likewise.
20695 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20696 (html-mode): Delete duplicated chars from sentence-end-base.
20698 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20699 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20701 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20703 * files.el (hack-one-local-variable): If the mode function is for
20704 a minor mode, pass it an argument (Bug#4148).
20706 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20708 * net/tramp.el (tramp-register-completion-file-name-handler):
20709 Check also for (member 'partial-completion completion-styles).
20711 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20713 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20716 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20718 * progmodes/cperl-mode.el: Merge upstream 6.2.
20719 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20720 (cperl-forward-re): Check cperl-brace-recursing.
20721 (cperl-highlight-charclass): New function.
20722 (cperl-find-pods-heres): Use it.
20723 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20724 (cperl-beautify-regexp-piece): Fix column calculation.
20725 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20726 (cperl-beautify-level): Don't process entire regexp.
20727 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20729 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20730 (cperl-init-faces): Build a list in the normal way.
20732 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20734 * calendar/parse-time.el (parse-time-string-chars): Save match
20737 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20739 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20740 (sql-product): Use it.
20741 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20742 (sql-set-product): Add completion.
20743 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20744 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20745 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20746 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20747 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20748 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20749 (sql-highlight-db2-keywords): Remove.
20750 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20751 (sql-highlight-product): Use derived-mode-p.
20752 (sql-set-sqli-buffer): Use with-current-buffer.
20753 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20756 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20758 * term.el: Fix commenting convention, turn comments into docstrings.
20760 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20762 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20764 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20766 * calendar/parse-time.el (parse-time-string-chars): Compute using
20767 character classes, to handle non-ascii characters (Bug#3190).
20769 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20771 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20772 another heredoc if the user adds another < (Bug#3226).
20774 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20775 Don't initialize based on window-system (Bug#4124).
20777 * facemenu.el (facemenu-read-color): Use a completion function
20778 that accepts any defined color, such as RGB triplets (Bug#3677).
20780 * files.el (get-free-disk-space): Change fallback default
20781 directory to /. Expand DIR argument before switching to fallback.
20782 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20784 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20786 * files.el (load-library): Doc fix.
20788 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20790 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20791 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20792 incremental search string.
20794 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20797 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20798 (ediff-merge-region-is-non-clash)
20799 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20800 Also check if the job is really a merge job.
20802 * ediff.el (ediff-current-file): New function.
20804 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20806 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20808 (js-insert-and-indent): Delete function.
20809 (js-mode-map): Don't bind keys to js-insert-and-indent.
20810 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20811 (js-end-of-defun): Rename from js--end-of-defun.
20812 (js-auto-indent-flag): Delete variable.
20814 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20816 * progmodes/js.el: Remove proclaim statement.
20817 Defvar which-func-imenu-joiner-function to silence compiler.
20819 * files.el (auto-mode-alist): Use js-mode for .js files.
20821 * progmodes/js2-mode.el: Remove file.
20823 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20825 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20827 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20829 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20830 Karl Landstrom <karl.landstrom@brgeight.se>
20832 * progmodes/js.el: New file.
20834 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20836 * timezone.el (timezone-parse-date): Add ability to understand ISO
20837 basic format (minimal separators) dates in addition to the
20838 already-supported extended format dates.
20840 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20842 * international/ucs-normalize.el: Add a `coding' file variable.
20844 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20846 2009-08-14 Sam Steingold <sds@gnu.org>
20848 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20850 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20852 * faces.el (help-argument-name): Define it here instead of
20853 help-fns.el, because in daemon mode help-fns.el may be loaded when
20854 faces are still uninitialized (Bug#1078).
20856 * help-fns.el (help-argument-name): Move defface to faces.el.
20858 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20860 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20861 create buffer with a pty but no process so that GDB can make the
20862 inferior the controlling process.
20864 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20866 * international/ucs-normalize.el: New file.
20868 2009-08-13 Richard Stallman <rms@gnu.org>
20870 * mail/rmail.el (rmail-get-attr-names):
20871 Accept an attribute header that is too short.
20873 * mail/rmail.el (rmail-forget-messages):
20874 Ignore nil elt in rmail-message-vector. Use dotimes.
20876 * progmodes/compile.el (compilation-goto-locus):
20877 Use next-error-move-function.
20879 * simple.el (next-error-move-function): New variable.
20881 2009-08-12 Juri Linkov <juri@jurta.org>
20883 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20884 always non-nil. (Bug#4052)
20886 * replace.el (read-regexp): Return empty string when
20887 `default-value' is nil.
20888 (keep-lines-read-args): Don't use empty string as the
20889 default value for `read-regexp'. (Bug#2495)
20891 2009-08-12 Juri Linkov <juri@jurta.org>
20893 * international/mule-cmds.el (ucs-insert): Change arguments
20894 from `arg' to `character', `count', `inherit' to be the same
20895 as in `insert-char'. Doc fix. (Bug#4039)
20897 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20899 2009-08-12 Juri Linkov <juri@jurta.org>
20901 * files-x.el: New file.
20903 * files.el: Move code that deals with adding/deleting
20904 file/directory-local variables to files-x.el.
20906 * Makefile.in (ELCFILES): Add files-x.elc.
20908 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20910 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20911 to use `goto-line'.
20912 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20914 (gdb-invalidate-disassembly): Do not refresh upon receiving
20915 'update signal. Instead, update all disassembly buffers only after
20917 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20918 (gdb-starting): Move -data-list-register-names...
20919 (gdb-stopped): ...here so it's sent when first thread stops.
20920 (gdb-registers-handler-custom): Do nothing if register names are
20923 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20924 from `gdb-mi.el' to avoid extra tangling.
20926 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20927 change which breaks `gud-def' definitions used in `gdb'.
20928 (gdb-update-gud-running): No extra fuss for updating frame number.
20930 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20932 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20933 (describe-language-environment-map, setup-language-environment-map)
20934 (set-coding-system-map): Move initialization into declaration.
20935 (set-language-info-alist): Last arg to define-key-after can be skipped.
20937 * international/quail.el (quail-completion-1): Simplify.
20938 (quail-define-rules): Use slightly more compact code.
20939 (quail-insert-decode-map): Propertize keys, compact columns.
20941 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20944 2009-08-10 Miles Bader <miles@gnu.org>
20946 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20947 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20948 (js2-instance-member, js2-private-member, js2-private-function-call)
20949 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20950 (js2-magic-paren, js2-external-variable):
20951 Remove "-face" suffix from face names.
20952 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20953 (js2-highlight-undeclared-vars, js2-peek-token)
20954 (js2-parse-function-params, js2-mode-show-errors)
20955 (js2-mode-show-warnings, js2-make-magic-delimiter)
20956 (js2-mode-highlight-magic-parens): Update to use new face names.
20958 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20960 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20961 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20963 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20965 * subr.el: Provide hashtable-print-readable.
20967 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20968 hs-c-like-adjust-block-beginning.
20969 (hs-hide-block-at-point): Stop hiding at the beginning of
20970 hs-block-end-regexp (Bug#700).
20972 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20974 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20976 (gdb-registers-handler-custom): Do not fail when register names
20979 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20981 * progmodes/gdb-mi.el (gdb-control-all-threads)
20982 (gdb-control-current-thread): Interactive setters for
20983 `gdb-gud-control-all-threads' to use in menu.
20984 (gdb-show-run-p): Show «Go» when process is not active.
20985 (gud-tool-bar-map): Add non-stop/A,T indicator.
20986 Uses gud/thread.xpm and gud/all.xpm.
20988 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20990 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20991 (nslookup-font-lock-keywords): Make it a variable.
20992 (net-utils-mode): New mode for viewing diagnostic network output.
20993 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20994 (net-utils-run-simple): New function.
20995 (ifconfig, iwconfig, netstat, arp, route): Use it.
20997 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20999 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21000 (gdb-memory-set-address, def-gdb-set-positive-number)
21001 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21002 after changing settings.
21003 (gdb-invalidate-disassembly): Update when first shown.
21004 (gdb-edit-locals-value): Fix.
21005 (gdb-registers-handler-custom): Print registers in right order and
21006 allow changing register values (only for current thread yet).
21007 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21008 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21009 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21010 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21011 Thread info in mode name.
21012 (gdb-registers-mode-map): TAB to switch to locals.
21014 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21016 * mail/rmail.el (rmail-add-mbox-headers)
21017 (rmail-set-message-counters-counter): Search for
21018 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21020 2009-08-08 Glenn Morris <rgm@gnu.org>
21022 * Makefile.in (ELCFILES): Update.
21024 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21026 * mail/sendmail.el (mail-yank-original):
21027 Set buffer-file-coding-system from the one used by the message whose
21030 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21031 to "windows" when "pgnuplot" is used.
21032 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21033 Don't call accept-process-output if "pgnuplot" is used.
21034 (calc-graph-init): Don't send -display and -geometry to
21035 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21036 running "pgnuplot -V" with shell-command-to-string.
21038 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21041 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21043 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21046 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21048 * vc-dispatcher.el (vc-resynch-window): Update comment.
21050 * term.el (term-handle-ansi-escape): Add comments with the
21051 terminfo capabilities implemented.
21053 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21055 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21056 (gdb-var-create-handler): Rewritten using JSON parser.
21057 (gdb-propertize-header): Move earlier.
21058 (gdb-set-header): Remove to avoid duplication.
21059 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21060 Refresh disassembly buffers only after threads list have been
21062 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21065 2009-08-04 Juri Linkov <juri@jurta.org>
21067 * files.el: Commands to add/delete file/directory-local variables.
21068 (read-file-local-variable, read-file-local-variable-value)
21069 (read-file-local-variable-mode, modify-file-local-variable)
21070 (modify-file-local-variable-prop-line)
21071 (modify-dir-local-variable): New functions.
21072 (add-file-local-variable, delete-file-local-variable)
21073 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21074 (add-dir-local-variable, delete-dir-local-variable)
21075 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21076 (copy-dir-locals-to-file-locals-prop-line): New commands.
21078 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21080 * abbrev.el (insert-abbrev-table-description): Prettify output.
21081 Suggested by Karl Chen.
21083 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21085 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21086 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21087 (gdb-overlay-arrow-position, gdb-thread-position)
21088 (gdb-disassembly-position): Declare variables.
21089 (gdb-wait-for-pending): Function now.
21090 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21091 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21092 compilation goes smoothly.
21093 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21094 (gdb-non-stop-setting): New customization setting which replaces
21095 `gdb-non-stop' so changing it doesn't break active GDB session.
21096 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21097 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21098 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21099 (gdb-show-threads-by-default): New customization options.
21100 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21102 (gdb-get-buffer-create): Send buffers update signal when they are
21104 (gdb-invalidate-locals, gdb-invalidate-registers)
21105 (gdb-invalidate-breakpoints)
21106 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21107 (gdb-invalidate-memory): Accept update signal.
21108 (gdb-current-context-command): Use --frame option.
21109 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21110 Implement `gdb-frame-number' selection logic.
21111 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21112 whether to show GUD toolbar buttons.
21113 (gdb-thread-exited): Unselect current thread when it exits.
21114 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21115 (gdb-mark-line): Routine which sets overlay arrow or inverses
21116 video on fringeless displays.
21117 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21118 to build aligned columns of data in GDB buffers and set text
21119 properties line-by-line.
21120 (gdb-invalidate-breakpoints)
21121 (gdb-breakpoints-list-handler-custom)
21122 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21123 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21124 (gdb-registers-handler-custom): Align data columns.
21125 (gdb-locals-handler-custom): Now prints data like in variable
21127 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21128 Remove confusing buttons.
21129 (gdb-invalidate-threads): Append --frame.
21130 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21131 between breakpoints/threads buffers.
21132 (gdb-set-window-buffer): Now can ignore dedicated windows.
21133 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21134 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21135 (def-gdb-thread-buffer-gud-command): Replaces
21136 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21137 for fine thread control.
21138 (gdb-preempt-existing-or-display-buffer): New function used to
21139 display bound buffers without breaking window layout.
21140 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21141 (gdb-select-frame): New version of `gdb-frames-select' which now
21142 sets `gdb-frame-number' so commands may use --frame option instead
21143 of inner debugger state.
21144 (gdb-frame-handler): Do not set `gdb-frame-number'.
21145 (gdb-threads-mode-map): Select threads with mouse.
21147 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21148 avoid compilation warning.
21149 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21152 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21153 Argument `key' renamed to `buffer-type'.
21154 (gdb-current-context-buffer-name): Do not add thread info to
21155 buffer name when no thread is selected.
21156 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21157 command (bug 3794).
21158 (gdb-thread-selected): Handle `=thread-selected' notification.
21159 (gdb-wait-for-pending): New macro to deal with congestion problems.
21160 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21162 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21163 This fixes problem similar to one described in bug 3947.
21164 (gud-menu-map): More menu items.
21165 (gdb-init-1): Reset `gdb-thread-number' to nil.
21167 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21170 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21171 (gdb-current-context-command): Do not append --thread if
21172 `gdb-thread-number' is nil.
21173 (gdb-running-threads-count, gdb-stopped-threads-count):
21175 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21176 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21177 New customization options.
21178 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21180 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21181 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21182 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21183 set `gdb-thread-number' and update `gud-running' properly.
21184 (gdb-running): Update threads list when new threads appear.
21185 (gdb-stopped): Support non-stop operation and new thread switching
21187 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21188 (gdb-json-partial-output): New set of JSON routines.
21189 (def-gdb-auto-update-trigger): New `signal-list' optional
21191 (gdb-thread-list-handler-custom): Update `gud-running',
21192 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21193 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21194 (gdb-continue-thread, gdb-step-thread): New commands for fine
21195 thread execution control.
21196 (gud-menu-map): New menu items to switch non-stop options.
21197 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21198 (gdb-send): Mimic RET properly (bug 3794).
21200 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21201 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21203 (def-gdb-auto-update-handler): New nopreserve optional argument.
21204 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21206 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21207 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21208 (gdb-parent-mode): New mode to derive other GDB modes from.
21209 (gdb-display-disassembly-for-thread)
21210 (gdb-frame-disassembly-for-thread): New commands for threads
21213 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21214 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21215 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21216 (gdb-update): We now store all GDB buffers in a list so that they
21217 can be updated by traversing a list instead of calling invalidate
21218 triggers explicitly.
21219 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21220 pair for GDB buffer.
21221 (gdb-stack-buffer-name): Add thread information.
21222 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21223 handle pending triggers.
21224 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21225 (def-gdb-thread-buffer-simple-command)
21226 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21227 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21228 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21229 New commands which show buffers bound to thread.
21230 (gdb-stack-list-locals-regexp): Remove unused regexp.
21232 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21233 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21234 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21235 to (gud-comint-buffer) in *-buffer-name functions
21236 because (gdb-get-target-string) already does that.
21237 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21238 (gdb-changed-registers-handler): Rewritten without regexps.
21240 * progmodes/gdb-mi.el: Basic thread selection support.
21241 (gdb-thread-number): New variable.
21242 (gdb-current-context-command): New macro which adds --thread
21244 (gdb-threads-mode-map): Select thread with SPC.
21245 (gdb-thread-list-handler-custom): Mark current thread with overlay
21246 arrow. Synchronize GDB thread and Emacs thread.
21247 (gdb-select-thread): New command which selects current thread.
21248 (gdb-invalidate-frames, gdb-invalidate-locals)
21249 (gdb-invalidate-registers): Use --thread option.
21251 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21253 * net/tramp.el (top): Make check for tramp-gvfs loading more
21255 (tramp-handle-insert-file-contents): `unwind-protect' must be
21256 inside `with-parsed-tramp-file-name'.
21258 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21261 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21263 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21264 directory if CLASSPATH is not set.
21266 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21268 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21270 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21272 2009-08-02 Kevin Ryde <user42@zip.com.au>
21274 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21275 Update freshmeat link. Delete newsforge.com as it seems gone.
21277 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21279 * select.el (x-set-selection): Doc fix (Bug#4021).
21281 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21283 * help-fns.el (describe-variable): Treat list return values from
21284 dir-locals-find-file properly (Bug#4005).
21286 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21288 * net/tramp.el (tramp-debug-message): Print also microseconds.
21290 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21292 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21294 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21295 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21298 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21299 (tramp-get-file-property): Use it.
21301 * autorevert.el (auto-revert-handler):
21302 Allow `auto-revert-tail-mode' for remote files.
21304 2009-08-02 Jason Rumney <jasonr@gnu.org>
21306 * minibuffer.el (read-file-name): Treat confirm options to
21307 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21309 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21311 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21312 (font-lock-variable-name-face, font-lock-constant-face):
21313 Darken the colors for light backgrounds.
21315 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21317 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21318 month names. (Bug#3987)
21320 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21322 * simple.el (line-move-finish): Pass whole number to
21323 line-move-to-column.
21324 (line-move-visual): Perform hscroll to the recorded position.
21326 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21328 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21330 2009-07-29 Alan Mackenzie <acm@muc.de>
21332 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21334 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21336 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21337 (gdb-place-breakpoints): Use full path when setting breakpoints.
21339 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21341 * calc/calc.el (calc-mode-map): Add keybinding for
21342 `calc-transpose-lines'.
21344 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21346 * calc/calc-misc.el (calc-transpose-lines): New function.
21348 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21350 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21351 Simplify check for out-of-band methods.
21352 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21353 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21355 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21357 * vc-git.el (vc-git-checkin): Fix typo.
21359 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21361 * progmodes/js2-mode.el: New file.
21363 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21365 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21366 (gud-menu-map): Adjust tooltip accordingly.
21368 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21370 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21371 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21373 * add-log.el (change-log-mode-map): Add a menu.
21375 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21377 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21378 function returns nil.
21379 (dbus-handle-event): Handle special return value :ignore.
21380 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21382 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21384 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21387 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21391 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21393 * term/pc-win.el (x-display-name, x-colors)
21394 (x-select-enable-clipboard, x-select-text): Doc fix.
21396 * term/common-win.el (x-display-name, x-colors): Doc fix.
21398 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21399 (xw-defined-colors): Doc fix.
21401 * w32-fns.el (x-select-text, x-setup-function-keys)
21402 (x-get-selection, x-set-selection): Doc fix.
21404 * term/x-win.el (x-select-text, x-setup-function-keys)
21405 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21407 * select.el (x-set-selection): Doc fix.
21409 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21411 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21412 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21413 "IsNSSSupportAvailable" method is not available.
21414 Reported by Steve Youngs <steve@sxemacs.org>.
21416 2009-07-24 Kenichi Handa <handa@m17n.org>
21418 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21419 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21420 (build-unicode-category-table): Fix range checks.
21422 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21424 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21425 the buffer we try to sync is current when calling
21428 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21429 not show up to date files.
21431 2009-07-24 Glenn Morris <rgm@gnu.org>
21433 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21434 Add autoload cookies. If necessary, initialize.
21435 (elint-log): Handle non-file buffers.
21436 (elint-initialize): Add optional argument to reinitialize.
21437 (elint-find-builtin-variables): Save excursion.
21439 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21441 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21444 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21446 * vc.el (vc-print-log-internal): New function, split out from ...
21447 (vc-print-log): ... here.
21448 (vc-dir-move-to-goal-column): Declare.
21450 * vc-git.el (vc-git-add-signoff): New variable.
21451 (vc-git-checkin): Use it.
21452 (vc-git-toggle-signoff): New function.
21453 (vc-git-extra-menu-map): Bind it to menu.
21454 (vc-git--run-command-string): Accept a nil FILE argument.
21455 (vc-git-stash-list): New function.
21456 (vc-git-dir-extra-headers): Use it.
21458 2009-07-23 Glenn Morris <rgm@gnu.org>
21460 * help-fns.el (describe-variable): Describe ignored and risky local
21461 variables in a similar way to that in which we describe safe ones.
21463 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21464 (byte-compile-output-file-form, byte-compile-output-docform)
21465 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21466 Give some more local variables with common names a "bytecomp-" prefix,
21467 so as not to shadow things during compilation.
21468 * emacs-lisp/cl-macs.el (load-time-value)
21469 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21470 `outbuffer' to `bytecomp-outbuffer'.
21472 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21473 since the next two variables cover them automatically now.
21474 (elint-builtin-variables, elint-autoloaded-variables): New.
21475 (elint-unknown-builtin-args): Remove all members, since they can be
21476 parsed automatically now.
21477 (elint-extra-errors): New.
21478 (elint-env-add-env, elint-env-add-macro): Use cadr.
21479 (elint-current-buffer): Use or. Change final message.
21480 (elint-get-top-forms): Use line-end-position.
21481 (elint-init-env): Use cadr. Handle autoload, declare-function,
21483 (elint-add-required-env): Doc fix. Use or. Standardize error.
21484 (regexp-assoc): Remove unused function.
21485 (elint-top-form): Set elint-current-pos, to record the start of the
21486 top-level form, for compilation-mode.
21487 (elint-form): Trap errors in macro expansion. Use dolist.
21488 (elint-unbound-variable): Use elint-builtin-variables and
21489 elint-autoloaded-variables.
21490 (elint-get-args): Use cadr, or.
21491 (elint-check-cond-form): Use dolist, cadr.
21492 (elint-check-condition-case-form): Doc fix. Use cadr.
21493 Use elint-extra-errors.
21494 (elint-log): New function.
21495 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21496 Distinguish errors and warnings.
21497 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21498 Use a bytecomp-style format.
21499 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21500 (elint-get-log-buffer): Use compilation mode. Disable undo.
21501 Don't truncate lines.
21502 (elint-initialize): Set builtin and autoloaded variable lists.
21503 Only process elint-unknown-builtin-args if non-nil.
21504 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21506 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21508 2009-07-22 Kevin Ryde <user42@zip.com.au>
21510 * net/newst-backend.el (newsticker--parse-atom-1.0)
21511 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21512 (newsticker--parse-rss-1.0):
21513 * progmodes/idlwave.el (idlwave-mode):
21514 * progmodes/idlw-shell.el (idlwave-shell-mode):
21515 * progmodes/vera-mode.el (vera-mode):
21516 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21517 * progmodes/vhdl-mode.el (vhdl-mode):
21518 * textmodes/table.el (table-generate-source)
21519 (table--warn-incompatibility):
21520 Hyperlink urls in docstrings with URL `...'.
21522 2009-07-22 Glenn Morris <rgm@gnu.org>
21524 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21525 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21526 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21527 Remove leading * from defcustom docs.
21529 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21531 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21533 (list-load-path-shadows): Optionally, just return shadows as a string.
21535 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21537 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21539 * mail/rmailedit.el (rmail-edit-mode):
21540 Use auto-save-include-big-deletions.
21542 * mail/rmail.el (rmail-variables):
21543 Use auto-save-include-big-deletions.
21545 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21548 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21550 * calc/calc.el (calc-undo-length): New variable.
21551 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21553 2009-07-21 Richard Stallman <rms@gnu.org>
21555 * files.el (auto-save-mode): Handle buffer-save-size = -2
21558 2009-07-21 Glenn Morris <rgm@gnu.org>
21560 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21562 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21564 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21565 silence compiler. Instead...
21566 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21567 (ps-print-ensure-fontified): Update for above function name changes.
21569 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21570 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21571 silence compiler. Instead...
21572 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21573 (mh-show-buffer): Only define for compiler.
21574 (pr-mh-current-message): Update for above function name changes.
21576 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21578 (find-file-noselect, insert-file-1): Update for above change.
21580 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21582 * mail/mailclient.el (mailclient-send-it): Fix message.
21584 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21585 (edebug-eval): Check cl-debug-env is bound.
21586 (print-level, print-circle): Don't redefine built-in variables.
21588 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21589 (custom-print-vectors): Remove old comments from doc.
21591 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21592 (emerge-version): Make the variable an obsolete alias for the
21593 emacs-version variable. Make the function obsolete.
21594 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21595 Emerge options, rather than merging in into the main Options menu.
21596 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21597 and auto advance modes. Disable edit/fast items when not relevant.
21599 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21601 * term/vt420.el (terminal-init-vt420): Fix typo.
21603 2009-07-20 Sam Steingold <sds@gnu.org>
21605 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21606 variable (removed from compile.el on 2004-03-11).
21608 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21610 * files.el (hack-local-variables-filter): Fix last change.
21612 2009-07-19 Juri Linkov <juri@jurta.org>
21614 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21615 (dir-local-variables-alist): New buffer-local variable.
21616 (hack-local-variables-filter): If variable is not dir-local,
21617 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21618 because file-local overrides dir-local.
21619 (c-postprocess-file-styles) <declare-function>:
21620 Remove obsolete declaration.
21621 (hack-dir-local-variables): Add dir-local variable/value pair to
21622 `dir-local-variables-alist' and remove duplicates. Doc fix.
21624 * help-fns.el (describe-variable): Add information about
21625 file-local and dir-local variables.
21627 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21629 * files.el (hack-local-variables-filter): Rewrite.
21631 2009-07-19 Glenn Morris <rgm@gnu.org>
21633 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21634 Silence compiler by only defining on XEmacs.
21636 * international/mule.el (auto-coding-regexp-alist): Only match
21637 BABYL... at the start of buffer, not of lines. (Bug#3790)
21639 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21640 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21641 (cal-menu-context-mouse-menu): Doc fix.
21643 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21645 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21647 2009-07-18 Juri Linkov <juri@jurta.org>
21649 * info.el: Virtual Info keyword finder.
21650 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21651 (Info-finder-file): New variable.
21652 (Info-finder-find-file): New function.
21653 (finder-known-keywords, finder-package-info)
21654 (find-library-name, lm-commentary): Use defvar and
21655 declare-function to silence compiler warnings.
21656 (Info-finder-find-node): New function.
21657 (info-finder): New command.
21659 * subr.el (process-kill-buffer-query-function): New function.
21660 (add-hook)<kill-buffer-query-functions>: Add hook
21661 `process-kill-buffer-query-function'.
21663 2009-07-18 Alan Mackenzie <acm@muc.de>
21665 * progmodes/cc-mode.el (c-before-hack-hook)
21666 (c-postprocess-file-styles): Give invocation of `c-set-style'
21667 DONT-OVERRIDE parameter of t. Already set style variables will
21668 thus not be overridden by style settings given by `c-file-syle'.
21670 * files.el (hack-local-variables-filter): Remove entries with
21671 duplicate keys from `file-local-variables-alist'.
21673 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21675 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21676 x-set-selection if display-selections-p returns nil for the
21679 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21681 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21683 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21685 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21686 Accept nil in addition to a regexp.
21687 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21688 Accept nil in addition to a regexp.
21689 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21690 buffers that have an associated file. Handle nil values of
21691 desktop-buffers-not-to-save and desktop-files-not-to-save.
21694 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21695 (x-disown-selection-internal): New functions.
21697 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21699 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21701 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21702 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21704 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21706 * simple.el (set-mark): Revert last change.
21708 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21710 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21711 rendering of pngs is not possible instead of messaging a long
21714 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21716 * w32-fns.el (x-selection-owner-p): New function.
21718 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21719 (mouse-yank-at-click, mouse-yank-primary):
21720 If select-active-regions is non-nil, deactivate the mark before
21723 * simple.el (deactivate-mark, set-mark): Only save selection if we
21726 2009-07-17 Kenichi Handa <handa@m17n.org>
21728 * case-table.el (describe-buffer-case-table): Fix for the case
21729 that KEY is a cons.
21731 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21733 * vc-rcs.el (vc-rcs-find-file-hook):
21734 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21736 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21738 * net/tramp.el (tramp-wait-for-output): Handle the case when
21739 commands do not return a newline but a null byte before the shell
21742 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21744 * term/ns-win.el (ns-set-alpha): Don't declare.
21745 (ns-set-background-alpha): Remove function.
21747 2009-07-16 Kevin Ryde <user42@zip.com.au>
21749 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21750 y-or-n-p, for safety.
21752 2009-07-16 Richard Stallman <rms@gnu.org>
21754 * files.el (auto-save-mode): If buffer-saved-size is -2,
21757 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21758 (rmail-retry-ignored-headers): Add more uninteresting fields.
21760 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21762 * net/rcirc.el (rcirc): Use history variables.
21763 (rcirc-server-name-history, rcirc-nick-name-history)
21764 (rcirc-server-port-history): New variables.
21766 2009-07-15 Kenichi Handa <handa@m17n.org>
21768 * international/mule-cmds.el (set-language-environment-charset):
21769 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21772 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21773 Delete unibyte-display.
21775 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21777 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21779 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21781 * simple.el (deactivate-mark): Optional argument FORCE.
21782 (set-mark): Use deactivate-mark.
21784 * info.el (Info-search): No need to check transient-mark-mode
21785 before calling deactivate-mark.
21787 * select.el (x-set-selection): Doc fix.
21788 (x-valid-simple-selection-p): Allow buffer values.
21789 (xselect--selection-bounds): Handle buffer values.
21790 Suggested by David De La Harpe Golden.
21792 * mouse.el (mouse-set-region, mouse-drag-track):
21793 Call copy-region-as-kill before setting the mark, to let
21794 select-active-regions work.
21796 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21798 * simple.el (deactivate-mark): If select-active-regions is
21799 non-nil, copy the selection data into a string.
21800 (activate-mark): If select-active-regions is non-nil, set the
21801 selection to the current buffer.
21802 (set-mark): Update selection if select-active-regions is non-nil.
21804 * select.el (x-valid-simple-selection-p): Allow buffer values.
21806 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21808 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21809 and more featureful message-mode.
21811 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21813 * select.el (x-set-selection): Doc fix.
21814 (x-valid-simple-selection-p): Disallow selection data consisting
21815 of a list or cons of integers, since that is not used.
21816 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21817 (xselect-convert-to-string, xselect-convert-to-length)
21818 (xselect-convert-to-filename, xselect-convert-to-charpos)
21819 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21821 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21823 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21824 output in -break-info command (Emacs bug #3794).
21826 2009-07-14 Glenn Morris <rgm@gnu.org>
21828 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21829 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21830 (edebug-print-length, edebug-print-level, edebug-print-circle)
21831 (edebug-sit-for-seconds, edebug-view-outside)
21832 (edebug-bounce-point, edebug-set-global-break-condition)
21833 (edebug-Go-nonstop-mode, edebug-trace-mode)
21834 (edebug-Trace-fast-mode, edebug-continue-mode)
21835 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21836 (edebug-visit-eval-list): Doc fixes.
21838 * subr.el (def-edebug-spec): Doc fix.
21840 2009-07-14 Kenichi Handa <handa@m17n.org>
21842 * international/characters.el: Fix setting of category ?C.
21844 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21846 * term/ns-win.el (x-select-font): defalias x-select-font to
21847 ns-popup-font-panel instead of generate-fontset-menu.
21849 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21851 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21853 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21855 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21856 the PK\003\004 header (Bug#3770).
21858 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21860 * pcomplete.el (pcomplete-comint-setup): Check for
21861 shell-dynamic-complete-filename too.
21863 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21865 * simple.el (temporary-goal-column): Change the value for
21866 line-move-visual to a cons cell.
21867 (line-move-visual): Record or set the window hscroll, if
21868 necessary (Bug#3494).
21869 (line-move-1): Handle cons value of temporary-goal-column.
21871 2009-07-11 Kenichi Handa <handa@m17n.org>
21873 * international/mule-diag.el (describe-character-set): Don't show
21876 2009-07-10 Sam Steingold <sds@gnu.org>
21878 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21879 Omake sometimes indents the errors it prints, so allow all
21880 regexps to start with spaces.
21882 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21884 * cus-edit.el (customize-changed-options-previous-release):
21885 Bump value to 22.1. (Bug#3804)
21887 2009-07-08 Sam Steingold <sds@gnu.org>
21889 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21890 to be a cons cell (test . ignored-directory) to selectively ignore
21891 some directories depending on the location of the search.
21893 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21895 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21896 remote user is root, on the local host.
21897 (tramp-local-host-p): Either the local user or the remote user
21898 must be root. (Bug#3771)
21900 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21902 * progmodes/gdb-mi.el (gdb): Remove description of
21903 gdb-use-separate-io-buffer.
21904 (menu): Don't allow toggling of or enable
21905 gdb-use-separate-io-buffer from menubar.
21907 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21909 * mail/unrmail.el (unrmail): Make sure the message ends with two
21910 newlines (Bug#3769).
21912 2009-07-08 Glenn Morris <rgm@gnu.org>
21914 * calendar/calendar.el (calendar-current-date): Rework previous change.
21916 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21918 * calendar/calendar.el (calendar-current-date):
21919 Add an optional argument giving an offset from today.
21921 2009-07-08 Glenn Morris <rgm@gnu.org>
21923 * tutorial.el (tutorial--describe-nonstandard-key):
21924 Adjust the message for when a key has been unbound.
21925 (help-with-tutorial): Hide the arch-tag.
21927 2009-07-08 Kenichi Handa <handa@m17n.org>
21929 * international/fontset.el (setup-default-fontset): For each
21930 script, append (not set) font-specs.
21932 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21935 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21937 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21938 -data-list-register-names to ...
21939 (gdb-starting): ... here because GDB 7.0 requires execution to
21940 have started when using this MI command.
21941 (gdb-set-header): New function to distinguish select and
21942 unselected tabs in gdb buffers.
21943 (gdb-propertize-header): New macro that uses gdb-set-header.
21944 (gdb-breakpoints-header, gdb-locals-header): Use it.
21945 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21947 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21949 * Makefile.in (ELCFILES): Remove fadr.elc.
21951 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21953 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21954 may contain frame information, so `string-match' should be used.
21955 (gdb-update): Disassembly is invalidated through
21956 `gdb-get-selected-frame'.
21957 (gdb-pad-string): New function to pad string with spaces.
21958 (gdb-invalidate-disassembly): Invalidate only if the buffer
21960 (gdb-disassembly-handler-custom): Column alignment.
21961 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21963 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21965 (gdb-frame-handler): Match convention to for disassembly buffer
21967 (gdb-stack-list-frames-handler): Rewritten without regexps.
21968 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21969 not highlight breakpoints without line information.
21970 (gdb-input): Add trailing newline to command.
21972 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21974 (gdb-breakpoints-list-handler-custom): Replacement for
21975 `gdb-break-list-handler'. Using real parser instead of regexps
21977 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21978 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21979 to place breakpoints.
21980 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21982 (gdb-disassembly-handler-custom): Show overlay arrow.
21983 (gdb-disassembly-place-breakpoints): Show breakpoints in
21984 disassembly buffer.
21985 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21986 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21987 instead of parsing breakpoints buffer. Fixed old menu references
21992 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21993 (gdb-memory-address): New variable which holds top address of
21994 memory page shown in memory buffer.
21995 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21996 New customization variables.
21998 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21999 display the memory buffer.
22000 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22001 buffer display parameters.
22002 (def-gdb-memory-format, gdb-memory-format-binary)
22003 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22004 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22005 Functions for setting memory buffer format.
22006 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22007 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22008 unit size used in memory buffer.
22009 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22010 Switch to next/previous page of memory buffer.
22011 Now using (bindat-get-field) instead of fadr functions.
22013 2009-07-07 Sam Steingold <sds@gnu.org>
22015 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22016 non-top-level files.
22018 2009-07-07 Kenichi Handa <handa@m17n.org>
22020 * international/mule-cmds.el (reset-language-environment):
22021 Put the highset priority to the charset iso-8859-1.
22023 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22025 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22026 to the end of the line when locating the block (Bug#700).
22028 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22030 * net/tramp.el (tramp-handle-write-region): Flush file properties
22031 in case of short track.
22033 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22035 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22036 Coded custom representation of verilog error regular expressions
22037 to work with Emacs-22's new format.
22038 (verilog-error-regexp-xemacs-alist): Coded custom representation
22039 of verilog error regular expressions to work with XEmacs format.
22040 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22041 error recognition into XEmacs.
22042 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22043 error recognition into Emacs-22.
22045 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22047 * woman.el: Remove stand-alone closing parentheses.
22048 (woman-file-name, woman2-format-paragraphs)
22049 (woman-leave-blank-lines): Code cleanup.
22050 (woman-use-own-frame): Change default to nil.
22051 (woman-italic, woman-bold, woman-unknown, woman-addition):
22052 Change defaults to inherit from default faces.
22053 (woman2-process-escapes): Consume the newline after a stand-alone
22054 filler character (Bug#3651).
22056 2009-07-06 Glenn Morris <rgm@gnu.org>
22058 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22059 (top-level): Move provide to the end.
22060 (ffap): Remove defunct URL from custom group.
22062 * subr.el (eval-after-load): Doc fix.
22064 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22066 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22067 `calc-embedded-word' is called twice.
22069 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22071 * files.el (find-alternate-file-other-window, find-alternate-file):
22072 Obey confirm-nonexistent-file-or-buffer.
22074 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22076 * dired-aux.el (dired-show-file-type): Handle remote files.
22078 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22080 * desktop.el (desktop-globals-to-save):
22081 Add file-name-history (Bug#2750).
22083 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22085 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22087 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22089 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22090 property on entire argument since this is what eshell-lisp-command
22093 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22095 * net/tramp-gvfs.el (tramp-gvfs-methods)
22096 (tramp-gvfs-zeroconf-domain)
22097 (tramp-bluez-discover-devices-timeout): Add version flag.
22098 (tramp-gvfs-handler-mounted-unmounted)
22099 (tramp-gvfs-connection-mounted-p): Polish handling of
22100 incompatibilities between GVFS 0.2 and 1.0.
22102 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22104 * cus-start.el (all): Add make-pointer-invisible.
22106 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22108 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22109 formatted correctly.
22111 2009-07-02 Juri Linkov <juri@jurta.org>
22113 * info.el: Virtual Info files and nodes.
22114 (Info-virtual-files, Info-virtual-nodes): New variables.
22115 (Info-current-node-virtual): New variable.
22116 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22118 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22119 to check for a virtual file instead of checking a fixed list
22121 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22122 instead of ad-hoc processing of "dir" and (apropos history toc).
22123 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22124 instead of ad-hoc processing of "dir" and (apropos history toc).
22125 Reread a file when moving from a virtual node.
22126 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22127 (Info-directory-toc-nodes, Info-directory-find-file)
22128 (Info-directory-find-node): New functions.
22129 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22130 (Info-history): Move part of code to
22131 `Info-history-find-node'.
22132 (Info-history-toc-nodes, Info-history-find-file)
22133 (Info-history-find-node): New functions.
22134 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22135 (Info-toc): Move part of code to `Info-toc-find-node'.
22136 (Info-toc-find-node): New function.
22137 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22138 the current Info file name to references because now the node
22139 "*TOC*" belongs to the same Info manual.
22140 (Info-toc-build): Rename from `Info-build-toc'.
22141 (Info-toc-nodes): Rename input argument `file' to `filename'.
22142 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22143 instead of ad-hoc processing of ("dir" apropos history toc).
22144 (Info-index-nodes): Use Info-virtual-file-p
22145 to check for a virtual file instead of checking a fixed list
22147 (Info-index-node): Add check for `Info-current-node-virtual'.
22148 Raise `save-match-data' higher up the tree to contain
22149 `search-forward' too (bug fix).
22150 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22151 (Info-virtual-index-nodes): New variable.
22152 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22153 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22154 (Info-apropos-file, Info-apropos-nodes): New variables.
22155 (Info-apropos-toc-nodes, Info-apropos-find-file)
22156 (Info-apropos-find-node, Info-apropos-matches): New functions.
22157 (info-apropos): Move part of code to `Info-apropos-find-node' and
22158 `Info-apropos-matches'.
22159 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22160 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22161 for a virtual file instead of checking a fixed list of node names.
22163 * simple.el (async-shell-command): New command.
22165 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22167 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22168 instead of `mount-info'.
22170 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22172 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22173 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22175 2009-07-02 Kenichi Handa <handa@m17n.org>
22177 * international/mule.el (set-keyboard-coding-system): Force *-unix
22178 coding-system to avoid eol conversion.
22180 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22182 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22183 Add handler for `process-file', `shell-command' and
22184 `start-file-process'.
22185 (tramp-gvfs-handle-shell-command)
22186 (tramp-gvfs-handle-start-file-process)
22187 (tramp-gvfs-handle-process-file): New defuns.
22188 (tramp-synce-list-devices): Simplify check for existence of property.
22190 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22192 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22194 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22196 * language/korean.el (set-language-info-alist): Add korean-cp949,
22199 2009-07-01 Kenichi Handa <handa@m17n.org>
22201 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22203 * international/encoded-kb.el: Deleted.
22205 * international/mule.el (set-keyboard-coding-system): Perform the
22206 necessary setup here instead of calling encoded-kbd-setup-display.
22208 2009-07-01 Glenn Morris <rgm@gnu.org>
22210 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22212 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22214 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22216 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22218 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22219 Handle also the 'rename case, when setting file modes. (Bug#3712)
22220 (tramp-default-file-modes): Remove execute permissions.
22222 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22223 (top): Add a default for "synce" in `tramp-default-user-alist'.
22224 Add completion function for "synce" method.
22225 (tramp-hal-service, tramp-hal-path-manager)
22226 (tramp-hal-interface-manager, tramp-hal-interface-device):
22228 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22229 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22232 * net/trampver.el: Update release number.
22234 2009-06-30 Kenichi Handa <handa@m17n.org>
22236 * international/fontset.el (setup-default-fontset): Add CJK fonts
22237 for symbols and the other miscellaneous characters.
22239 * language/korea-util.el (setup-korean-environment-internal):
22240 Make char-width-table suitable for Korean environments.
22241 (exit-korean-environment): Cancel above.
22243 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22244 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22245 setup-function to make char-width-table suitable for respective
22246 environments, and an exit-function to cancel that.
22248 * language/japan-util.el (setup-japanese-environment-internal):
22249 Call use-cjk-char-width-table with arg `ja_JP'.
22251 * international/characters.el (cjk-char-width-table): Delete it.
22252 (cjk-char-width-table-list): New variable.
22253 (use-cjk-char-width-table): New arg local-name.
22254 (use-default-char-width-table): Fix for the case that Emacs is
22255 already using the default char-width-table.
22257 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22259 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22260 modes mandatory. (Bug#3712)
22262 2009-06-29 Alan Mackenzie <acm@muc.de>
22264 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22265 correction between the visible width of TABs and their number of bytes.
22267 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22269 * server.el (server-buffer-done): Prevent kill-buffer from
22270 prompting by clearing the buffer modification flag (Bug#3696).
22272 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22274 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22275 (verilog-endcomment-reason-re): Support unique case and priority case.
22276 (verilog-basic-complete-re): Support localparam lineup.
22277 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22278 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22280 (verilog-leap-to-case-head): Now support *nested* unique &
22281 priority case statements.
22282 (verilog-auto-lineup): Make just declarations the default (as it
22284 (verilog-leap-to-case-head): Support priority/unique case statements.
22285 (verilog-auto-lineup): Rework to give users radio buttons to
22286 select the various styles of automatic lineup.
22287 (verilog-error-regexp-alist): Rework to support the XEmacs style
22288 of error regular expressions from compilers, lint tools &
22289 simulators. Note that GNU Emacs has made it impossible for a mode
22290 to load such things.
22291 (electric-verilog-terminate-line, verilog-indent-declaration)
22292 (verilog-auto-wiure): Rework for radio button selection of
22293 auto-lineup selection of specification of auto lineup.
22294 (verilog-beg-of-statement-1): Redesign to support proper operation
22295 in additional code, based on testing with auto-lineup.
22296 (verilog-calculate-indent, assignments & declarations)
22297 (verilog-backward-token): Enhance to support auto-lineup of
22298 assignments & declarations.
22299 (verilog-in-directive-p, verilog-at-struct-p): New function for
22300 easy test of whether we are.
22301 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22302 to support safe execution at almost anyline.
22303 (verilog-calc-1): Properly support indenting deep inside generate
22305 (verilog-init-font): Remove definition & use of verilog-init-font,
22306 as it is redundant with font-lock-defaults.
22307 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22308 to avoid circular calls if syntax-ppss is a function (as is the
22309 case now in 22.x GNU Emacs) as that function would sometimes call
22310 itself, leading to (nearly) infinite recursion.
22311 (verilog-ovm-begin-re, verilog-ovm-end-re)
22312 (verilog-ovm-statement-re, verilog-leap-to-head)
22313 (verilog-backward-token): Add support for OVM macros. Some are
22314 complete statements, and others open and close scopes like begin
22316 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22317 (verilog-defun-level-generate-only-re): Really fix the defun-list
22319 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22320 coverpoint, constraint and cross statements.
22321 (verilog-defun-level-list, verilog-generate-defun-level-list)
22322 (verilog-all-defun-level-list): Redo these specifications - it is
22323 too hard to support eval-when compile aggregation of lists also
22324 built at when-compile time.
22325 (verilog-defun-level-list): Place defconsts of variables used in
22326 building regular expressions which are built in eval-when-compile
22327 bodies in the same eval-when-compile body to facilitate compile
22329 (verilog-beg-block-re-ordered): Support indenting
22330 virtual/protected tasks and functions.
22331 (verilog-defun-level-list, verilog-in-generate-region-p)
22332 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22333 indentation of some module items (generate items).
22334 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22335 across virtual/protected tasks and functions.
22337 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22339 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22340 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22341 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22342 in concatenations. Reported by Yishay Belkind.
22343 (verilog-auto-ascii-enum): Support one-hot state machines in
22344 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22345 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22346 modport in AUTOINST and add vl-modport for users.
22347 Reported by David Rogoff.
22348 (verilog-auto-inout-module, verilog-auto-inst)
22349 (verilog-decls-get-interfaces, verilog-insert-definition)
22350 (verilog-insert-one-definition, verilog-read-decls)
22351 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22352 (verilog-sig-modport, verilog-signals-combine-bus)
22353 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22354 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22355 Suggested by David Rogoff.
22356 (verilog-repair-open-comma): Fix non-insertion of comma when
22357 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22358 (verilog-make-width-expression): Simplify [A-1:0] expression
22359 widths to just {A{1'b0}}.
22360 (verilog-mode): Cleanup checkdoc warnings.
22361 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22362 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22363 inputs/outputs or data type. Suggested by Vasu Kandadi.
22364 (next-error-last-buffer): Fix byte-compiler warning.
22365 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22366 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22367 or shell command text during AUTO expansion. Suggested by Tad Truex.
22368 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22369 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22370 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
22371 in AUTOINOUT. Reported by Matthew Lovell.
22372 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22373 causing use of <= assignments. Reported by Alex Reed.
22374 (verilog-read-decls): Fix triand, trior, wand, wor to be
22375 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22376 (verilog-extended-complete-re): Support import "DPI-C" functions.
22377 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22378 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22379 (verilog-insert-date, verilog-insert-year)
22380 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22381 Windows systems. Reported by Michael Potts.
22382 (verilog-read-module-name): Fix AUTOINST when the child module
22383 declaration's name is a tick define. Reported by Elliot Mednick.
22384 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22385 passed to next parameter's definition. Reported by Bruce T.
22386 (verilog-read-decls): Fix detecting "parameter int" when using
22387 AUTOINSTPARAM. Reported by Bruce T.
22388 (verilog-goto-defun): Fix goto not finding modules unless first
22389 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22390 (verilog-mode): Expand -f flag arguments on entry to mode so
22391 verilog-goto-defun will work. Reported by Lawrence Butcher.
22392 (verilog-getopt): Expand environment variables in -f file
22393 arguments. Suggested by Lawrence Butcher.
22394 (verilog-set-define): Fix "Symbol's value as variable is void"
22395 when reading enumerations.
22396 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22397 Suggested by Stephen Peltan.
22398 (verilog-read-defines): Fix reading of enumerations in include
22399 files. Reported by Steve Peltan.
22401 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22403 * files.el (trash-directory): Fix defcustom type.
22405 2009-06-28 Juri Linkov <juri@jurta.org>
22407 * help-fns.el (describe-function-1): Correctly locate adviced
22408 functions in hyperlink (Bug#2438).
22410 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22412 * files.el (trash-directory): Change default to nil.
22413 (move-file-to-trash): If trash-directory is nil and
22414 system-move-file-to-trash is unbound, perform freedesktop-style
22417 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22419 * files.el (move-file-to-trash): Add freedesktop trash
22422 2009-06-28 Glenn Morris <rgm@gnu.org>
22424 * autorevert.el (global-auto-revert-non-file-buffers)
22425 (global-auto-revert-mode): Doc fixes.
22427 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22429 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22431 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22433 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22434 opened an X connection before calling x-get-resource (Bug#3194).
22436 * play/doctor.el: Remove reference to obsolete website.
22437 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22439 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22441 Remove find-file-not-found-hook VC method. (Bug#2757)
22442 * vc-hooks.el (vc-file-not-found-hook)
22443 (vc-default-find-file-not-found-hook): Remove functions.
22444 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22445 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22448 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22450 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22452 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22453 compatibility function for `looking-back'.
22455 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22456 Use `ispell-looking-back'.
22458 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22460 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22461 rather than `filename'.
22463 2009-06-23 Miles Bader <miles@gnu.org>
22465 * face-remap.el (text-scale-set): New function.
22467 2009-06-23 Glenn Morris <rgm@gnu.org>
22469 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22471 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22473 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22475 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22477 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22478 Simplify Persian conditionals.
22480 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22481 variable `filename'.
22483 * comint.el (comint-insert-input): Doc fix.
22485 * Makefile.in (ELCFILES): Fix typo in previous change.
22487 2009-06-23 Miles Bader <miles@gnu.org>
22489 * cus-start.el: Add entry for `recenter-redisplay'.
22491 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22493 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22494 Add an optional argument for the backend, use it instead of
22495 calling vc-backend.
22496 (vc-mode-line): Add an optional argument for the backend.
22497 Pass the backend to vc-state and vc-working-revision. Move code for
22498 special handling for vc-state being a buffer to ...
22500 * vc-rcs.el (vc-rcs-find-file-hook):
22501 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22503 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22504 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22505 vc-stay-local-p and vc-mode-line calls.
22507 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22508 (vc-cvs-diff, vc-cvs-annotate-command)
22509 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22510 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22511 vc-mode-line calls.
22513 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22515 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22516 backend when calling vc-mode-line.
22517 (vc-register): Do not create a closure for calling the vc register
22518 function, call it directly.
22520 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22522 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22523 to make it obvious item can be clicked.
22525 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22527 2009-06-23 Kenichi Handa <handa@m17n.org>
22529 * language/korea-util.el (korean-key-bindings): Change the binding
22530 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22533 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22535 Sync with Tramp 2.1.16.
22537 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22539 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22540 when a loading of a package fails. Completion function for rsync
22541 is `tramp-completion-function-alist-ssh'.
22542 (all): Replace all calls of `split-string' and
22543 `tramp-split-string' by `tramp-compat-split-string'.
22544 (tramp-default-method): Use `tramp-compat-process-running-p'.
22545 (tramp-default-proxies-alist): Allow also Lisp forms.
22546 (tramp-remote-path): Add choice "Private Directories".
22547 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22548 (tramp-domain-regexp): Allow also "-", "_" and ".".
22549 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22550 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22551 (tramp-debug-message): Insert header line in debug buffer.
22552 (tramp-handle-directory-files-and-attributes-with-stat):
22553 Care about filenames with spaces, or starting with "-".
22554 (tramp-handle-dired-uncache): New defun.
22555 (tramp-handle-insert-directory): Don't flush the directory from
22556 cache, this is handled by `dired-uncache' now.
22557 (tramp-handle-insert-file-contents): Improve error handling.
22558 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22559 Quote `tramp-end-of-output'.
22560 (tramp-action-password): Improve trace message.
22561 (tramp-check-for-regexp): Both echoes must be present, before removing.
22562 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22563 (tramp-compute-multi-hops): Eval cons cells of
22564 `tramp-default-proxies-alist'.
22565 (tramp-maybe-open-connection): Use the same command pattern for
22566 first hop and further hops.
22567 (tramp-wait-for-output): Remove handling of newlines.
22568 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22569 (tramp-split-string): Remove function. It is handled in
22572 * net/tramp-cmds.el (tramp-bug):
22573 Recommend `tramp-cleanup-all-connections' in the bug mail.
22575 * net/tramp-compat.el (tramp-compat-split-string)
22576 (tramp-compat-process-running-p): New defuns.
22578 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22579 for `dired-uncache'.
22581 * net/tramp-gvfs.el: New package.
22583 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22584 Add handler for `dired-uncache'.
22585 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22587 * net/trampver.el: Update release number. Make version check fit
22590 2009-06-22 Jim Meyering <meyering@redhat.com>
22592 Automatically handle .xz suffix (XZ-compressed files), too.
22593 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22594 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22596 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22597 Nick Roberts <nickrob@snap.net.nz>
22599 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22600 repository (http://sphinx.net.ru/hg/gdb-mi/).
22602 2009-06-22 Glenn Morris <rgm@gnu.org>
22604 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22605 `mode' and `eval' entries. (Bug#3430)
22607 * Makefile.in (ELCFILES): Add fadr.elc.
22609 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22610 differing behavior of \n and ^ in strings. (Bug#3385)
22612 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22614 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22616 (lisp-indent-function): Make it a defcustom.
22618 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22620 * progmodes/gdb-ui.el: Replace with ...
22621 * progmodes/gdb-mi.el: ... this file.
22622 * progmodes/gud.el: Modify for gdb-mi.el.
22624 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22626 * fadr.el: New file.
22628 See ChangeLog.14 for earlier changes.
22630 ;; Local Variables:
22634 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22636 This file is part of GNU Emacs.
22638 GNU Emacs is free software: you can redistribute it and/or modify
22639 it under the terms of the GNU General Public License as published by
22640 the Free Software Foundation, either version 3 of the License, or
22641 (at your option) any later version.
22643 GNU Emacs is distributed in the hope that it will be useful,
22644 but WITHOUT ANY WARRANTY; without even the implied warranty of
22645 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22646 GNU General Public License for more details.
22648 You should have received a copy of the GNU General Public License
22649 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.