1 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
10 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
12 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
14 * files.el (delete-directory, copy-directory, list-directory): Use
17 * find-file.el (ff-find-the-other-file):
18 * net/ange-ftp.el (ange-ftp-make-directory):
19 * printing.el (pr-interactive-dir):
20 * progmodes/ada-prj.el (ada-prj-load-directory):
21 * progmodes/ebnf2ps.el (ebnf-print-directory)
22 (ebnf-spool-directory, ebnf-eps-directory)
23 (ebnf-syntax-directory):
25 * speedbar.el (speedbar-create-directory):
26 * vc/emerge.el (emerge-merge-directories):
27 * vc/vc-dir.el (vc-dir):
28 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
30 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
32 * help-mode.el (help-buffer): If we are to return the current
33 buffer, signal an error if it's not in Help mode (Bug#8147).
35 2011-03-05 Reuben Thomas <rrt@sc3d.org>
37 * files.el (file-name-version-regexp): Handle backup files of the
38 form `foo.js.~HEAD~1~' (Bug#8159).
40 2011-03-05 Glenn Morris <rgm@gnu.org>
42 * eshell/esh-var.el: Don't require esh-test when compiling.
43 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
44 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
45 * eshell/esh-test.el: Move to ../../test/eshell.el
47 2011-03-05 David Engster <deng@randomsample.de>
49 * files.el (save-some-buffers): Report the names of buffers saved
50 automatically due to buffer-save-without-query (Bug#8134).
52 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
54 * net/rcirc.el: Add QuakeNet authentication support.
55 (rcirc-authinfo, rcirc-check-auth-status)
56 (rcirc-authenticate): Support QuakeNet.
58 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
60 * net/rcirc.el: Add functionality to authenticate before
62 (rcirc-authenticate-before-join): New option.
63 (rcirc-authenticated-hook): New variable.
64 (rcirc-connect): Make local variable rcirc-user-authenticated.
65 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
66 (rcirc-check-auth-status, rcirc-join-channels-post-auth): New
68 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE): Call
69 rcirc-check-auth-status.
71 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
73 * net/soap-client.el (soap-namespace-put-link): Check if the target
74 name is fully qualified -- use only the name part.
75 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
76 types, treated the same as xsd:sequence. (Bug#8166)
78 2011-03-05 Eli Zaretskii <eliz@gnu.org>
80 * files.el (find-file-noselect): Don't ask about re-visiting
81 non-literally if the file is already visited in image-mode.
84 2011-03-05 Glenn Morris <rgm@gnu.org>
86 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
87 (eshell-mode): Use eshell-kill-buffer-function.
88 Run the -initialize functions independently of the -load-hooks.
89 * eshell/esh-proc.el (eshell-kill-process-function): New function.
90 (eshell-gather-process-output, eshell-sentinel)
91 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
92 Use eshell-kill-process-function.
93 * eshell/em-alias.el (eshell-alias-load-hook):
94 * eshell/em-banner.el (eshell-banner-load-hook):
95 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
96 * eshell/em-dirs.el (eshell-dirs-load-hook):
97 * eshell/em-glob.el (eshell-glob-load-hook):
98 * eshell/em-hist.el (eshell-hist-load-hook):
99 * eshell/em-pred.el (eshell-pred-load-hook):
100 * eshell/em-prompt.el (eshell-prompt-load-hook):
101 * eshell/em-rebind.el (eshell-rebind-load-hook):
102 * eshell/em-script.el (eshell-script-load-hook):
103 * eshell/em-smart.el (eshell-smart-load-hook):
104 * eshell/em-term.el (eshell-term-load-hook):
105 * eshell/em-unix.el (eshell-unix-load-hook):
106 * eshell/esh-arg.el (eshell-arg-load-hook):
107 * eshell/esh-cmd.el (eshell-cmd-load-hook):
108 * eshell/esh-ext.el (eshell-ext-load-hook):
109 * eshell/esh-io.el (eshell-io-load-hook):
110 * eshell/esh-mode.el (eshell-exit-hook):
111 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
112 * eshell/esh-var.el (eshell-var-load-hook):
113 Set default hook values to nil. (Bug#5375)
115 * eshell/esh-module.el (eshell-module-unload-hook)
116 (eshell-modules-list): Remove leading * from defcustom docs.
118 * eshell/esh-util.el (eshell-for): Make it obsolete.
119 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
120 * eshell/em-dirs.el (eshell-save-some-last-dir):
121 * eshell/em-hist.el (eshell-save-some-history)
122 (eshell-hist-parse-modifier):
123 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
125 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
126 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
128 * eshell/esh-ext.el (eshell-find-interpreter):
129 * eshell/esh-mode.el (eshell-mode):
130 * eshell/esh-module.el (eshell-unload-extension-modules):
131 * eshell/esh-proc.el (eshell-process-interact):
132 * eshell/esh-test.el (eshell-test):
133 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
134 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
135 (eshell-variables-list):
136 * eshell/eshell.el (eshell-unload-all-modules):
137 Replace eshell-for with dolist.
139 2011-03-04 Glenn Morris <rgm@gnu.org>
141 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
143 2011-03-04 Tom Tromey <tromey@redhat.com>
145 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
147 2011-03-04 Glenn Morris <rgm@gnu.org>
149 * outline.el (outline-regexp): No longer allow nil.
150 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
152 * net/browse-url.el (browse-url):
153 Handle deleted default-directory. (Bug#6077)
155 * recentf.el (recentf-include-p): In case of a buggy predicate,
156 err on the side of including, not excluding. (Bug#5843)
158 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
160 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
163 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
165 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
166 if there is no node. (Bug#3261)
168 2011-03-04 Leo <sdl.web@gmail.com>
170 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
172 * time.el (display-time-world-list): Fix typo. (Bug#7571)
174 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
176 * cus-edit.el (custom-buffer-create-internal):
177 Split search string before passing it to `customize-apropos' (bug#8136).
179 2011-03-04 Drew Adams <drew.adams@oracle.com>
181 * image-dired.el (image-dired-cmd-read-exif-data-options):
182 Fix typo in docstring (bug#8156).
184 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
186 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
188 2011-03-03 Christian Ohler <ohler@gnu.org>
190 * emacs-lisp/ert.el (ert--explain-equal): New function.
191 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
193 (ert--explain-equal-including-properties): Renamed from
194 `ert--explain-not-equal-including-properties'. All callers
197 2011-03-03 Christian Ohler <ohler@gnu.org>
199 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
200 (ert-char-for-test-result, ert-string-for-test-result)
201 (ert-run-tests-batch, ert--print-test-for-ewoc):
202 Handle `ert-test-quit'.
204 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
206 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
207 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
209 2011-03-03 Glenn Morris <rgm@gnu.org>
211 * files.el (file-truename): Doc fix. (Bug#2341)
213 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
215 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e. (Bug#7349)
217 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
219 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
220 programs output backslashes. (Bug#7663)
222 2011-03-03 Glenn Morris <rgm@gnu.org>
224 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
225 (mail-mode): Remove mail-sent-via from the doc.
226 (mail-sent-via): Make it obsolete. (Bug#1776)
228 * progmodes/grep.el (grep-highlight-matches): Doc fix.
229 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
231 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
232 with no parents. (Bug#8025)
234 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
236 * password-cache.el (password-in-cache-p): Add autoload.
238 2011-03-02 Glenn Morris <rgm@gnu.org>
240 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
241 * dired-x.el (Man-support-local-filenames): Autoload it.
242 (dired-guess-shell-alist-default): Also handle Red Hat's man.
244 * dired-x.el (dired-default-directory-alist, dired-default-directory):
246 (dired-smart-shell-command): Just call dired-current-directory.
248 * dired-x.el (dired-jump-other-window): Add autoload.
249 (dired-default-directory-alist, dired-default-directory): Doc fixes.
250 (dired-default-directory-alist): Mark as risky.
252 * dired-x.el (dired-omit-here-always): Make it obsolete.
254 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
256 * textmodes/artist.el (artist-curr-go): Default to pen-line.
257 (artist-select-op-pen-line): New function.
258 (artist-menu-map): New variable.
259 (artist-mode-map): Add a menu to the menu-bar.
261 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
263 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
266 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
268 (math-logunits-add, math-logunits-mul, math-logunits-divide):
269 (math-logunits-quant, math-logunits-level):
270 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
272 (math-logunits-level): Extract units from ratio.
274 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
276 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
278 2011-03-01 Glenn Morris <rgm@gnu.org>
280 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
281 (diary-hebrew-birthday): Rename and rework functions added
284 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
286 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
287 (diary-hebrew-birthday): New functions.
289 2011-03-01 Glenn Morris <rgm@gnu.org>
291 * dired.el (dired-safe-switches-p): Beef it up.
292 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
294 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
296 * dired.el (dired-safe-switches-p): New function.
298 2011-03-01 Glenn Morris <rgm@gnu.org>
300 * files.el (dir-locals-collect-variables):
301 Add the ability to exclude subdirectories. (Bug#8100)
303 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
305 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
307 * ido.el (ido-everywhere): Doc fix.
310 2011-02-28 Glenn Morris <rgm@gnu.org>
312 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
314 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
316 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
319 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
321 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
323 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
325 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
326 Fix typos in docstrings.
328 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
330 * dired-aux.el (dired-update-file-line):
331 Fix 2010-11-09 change. (Bug#8131)
333 2011-02-28 Eli Zaretskii <eliz@gnu.org>
335 * international/mule-cmds.el (set-default-coding-systems): Use the
336 -unix variant of encoding in default-keyboard-coding-system.
339 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
341 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
343 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
345 * term/screen.el: New file (Bug#2650).
347 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
349 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
350 (pcase-mutually-exclusive-predicates): New var.
351 (pcase--split-consp, pcase--split-pred): Use it.
352 (pcase--split-equal, pcase--split-member): When splitting against
353 a pure predicate, run it to know the outcome.
354 (pcase--u1): Mark vars that are actually used.
355 (pcase--q1): Avoid introducing unused vars.
357 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
359 * calc/calc-ext.el (calc-init-extensions):
360 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
362 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
365 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
366 argument is a variable.
368 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
370 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
371 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
372 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
374 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
376 * password-cache.el (password-in-cache-p): Convenience function to
377 check if a key is in the cache, even if the value is nil.
379 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
381 * emacs-lisp/package-x.el (package--archive-contents-from-url)
382 (package--archive-contents-from-file): New functions.
383 (package-update-news-on-upload): New var.
384 (package-upload-buffer-internal): Extract archive-contents from
385 package-archive-upload-base if it is not found at archive-url.
386 Obey package-update-news-on-upload.
387 (package-upload-buffer, package-upload-file): Doc fix.
389 2011-02-24 Glenn Morris <rgm@gnu.org>
391 * files-x.el (modify-dir-local-variable): Handle dir-locals from
392 the cache, and from non-file sources.
394 * help-fns.el (describe-variable): Return consistent results when a
395 dir-local from a file came from the cache or did not. (Bug#8095)
396 If a dir-local has no associated file, say it came from a "directory".
398 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
399 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
401 * files.el (dir-locals-find-file): Doc fix.
402 Fix the check for cache elements that have no associated file,
403 and the mtime check for those that do. (Bug#8095)
405 * dired-x.el (dired-hack-local-variables):
406 Handle interrupts during hacking local variables. (Bug#5216)
408 * emacs-lisp/autoload.el (autoload-save-buffers)
409 (autoload-find-destination, update-directory-autoloads):
410 Avoid prompts when updating autoloads.
412 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
414 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
416 2011-02-23 Kenichi Handa <handa@m17n.org>
418 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
419 error when a multipart boundary in the nested multipart is found.
421 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
424 2011-02-23 Glenn Morris <rgm@gnu.org>
426 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
427 * dired-x.el (dired-omit-mode): Safe if boolean.
428 (dired-enable-local-variables): Fix doc and custom type.
429 (dired-enable-local-variables, dired-local-variables-file)
430 (dired-hack-local-variables): Make obsolete.
431 (dired-omit-here-always): Use dir-locals.el instead.
433 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
435 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
437 * help-fns.el (describe-function-1): Don't signal an error just because
438 the DOC file disappeared.
440 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
442 * eshell/esh-ext.el (eshell-external-command): Do not restrict
443 remote check to "ftp". (Bug#8089)
445 2011-02-21 Alan Mackenzie <acm@muc.de>
448 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
449 in macros finding their way into c-state-nonlit-pos-cache.
450 Strengthen the comments.
451 (c-state-dump): New commented out diagnostic routine.
453 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
455 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
456 `field' property of `rfn-eshadow-overlay'.
458 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
460 * net/netrc.el (netrc-parse): Comment fix.
462 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
464 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
465 Autoload. Add optional arg FRAME, and pass it to color-values.
466 (color-complement): Caller changed. Doc fix.
467 (color-gradient): Rewrite for better clarity and efficiency.
469 * faces.el (color-values): Use cond for clarity. Doc fix.
471 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
473 (list-colors-sort-key, list-colors-print):
474 Use color-normalized-values.
476 2011-02-20 Drew Adams <drew.adams@oracle.com>
478 * color.el: First part of merge from hexrgb.el.
479 (color-rgb-to-hex): Rename from color-rgb->hex.
480 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
481 saturation to zero if the value is too small.
482 (color-rgb-to-hsl): Rename from color-rgb->hsl.
483 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
484 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
485 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
486 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
487 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
488 (color-cie-de2000): Doc fix.
490 2011-02-20 Alan Mackenzie <acm@muc.de>
492 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
493 locating the beginning of a macro. (Bug#7595)
495 2011-02-20 Glenn Morris <rgm@gnu.org>
497 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
500 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
501 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
503 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
504 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
506 * progmodes/hideshow.el (hs-find-block-beginning)
507 (hs-hide-level-recursive): Ignore comments when parsing braces
510 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
512 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
513 (vc-bzr-pull): Use it.
515 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
517 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
518 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
519 but returning an alist. Ignore comments in bzr conffile.
520 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
521 (vc-bzr-error-regex-alist): New var.
522 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
524 * vc/vc-dispatcher.el (vc-do-async-command):
525 Bind inhibit-read-only to t.
527 * progmodes/compile.el (compilation--flush-directory-cache):
528 Handle the case where cdr of compilation--flush-directory-cache
529 points to no buffer, which can occur if we previously switched to
530 compilation-mode in a pregenerated buffer.
532 2011-02-19 Kenichi Handa <handa@m17n.org>
534 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
535 get the header copy into the temporary buffer.
536 (rmail-mime-insert-decoded-text): Ignore us-ascii.
537 (rmail-show-mime): When rmail-mime-coding-system is nil, set
538 buffer-file-coding-system to undecided.
540 2011-02-19 Eli Zaretskii <eliz@gnu.org>
542 * international/mule-cmds.el (read-char-by-name, ucs-insert):
543 Document completion with asterisk and a substring.
545 2011-02-19 Glenn Morris <rgm@gnu.org>
547 * files.el (find-file-literally): Doc fix.
549 * simple.el (rfc822-goto-eoh): Give it a doc-string.
551 * log-edit.el (log-edit-insert-changelog):
552 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
554 2011-02-19 Glenn Morris <rgm@gnu.org>
556 * dired-x.el: Don't require dired-aux.
557 (dired-do-create-files, dired-mark-read-regexp)
558 (dired-do-create-files-regexp): Autoload from dired-aux.
560 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
561 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
563 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
564 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
566 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
567 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
568 (dired-clean-up-buffers-too): Declare.
570 * dired-x.el (dired-initial-position): Merge into dired.el's version.
571 * dired.el (dired-initial-position): Merge dired-x's version here.
572 (dired-find-subdir): Declare.
574 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
575 * dired-aux.el (dired-add-entry): Give it a doc-string.
576 Merge dired-x's dired-omit handling here.
577 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
579 * international/mule-diag.el (list-input-methods-1):
580 Indent all lines of multi-line doc-strings. (Bug#8066)
582 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
584 Fix 2011-02-02 changes.
586 * apropos.el (apropos-print): Call apropos-mode before setting up
587 buffer variables. Use inhibit-read-only.
589 * emacs-lisp/package.el (package--list-packages):
590 Call package-menu-mode before setting up buffer variables.
592 * play/solitaire.el (solitaire): Call solitaire-mode before
593 setting up buffer variables. Use inhibit-read-only.
595 2011-02-18 Lawrence Mitchell <wence@gmx.li>
597 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
598 Bind case-fold-search to nil when looking for end of here-doc.
600 2011-02-18 Eli Zaretskii <eliz@gnu.org>
602 * image-mode.el (image-toggle-display-image):
603 Set find-file-literally non-nil in buffers visiting binary image
606 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
608 * files.el (cd): Make completion obey cd-path (bug#7924).
610 2011-02-18 Glenn Morris <rgm@gnu.org>
612 * progmodes/prolog.el: Don't require compile when compiling.
613 (compilation-shell-minor-mode, compilation-error-regexp-alist)
614 (compilation-forget-errors, compilation-fake-loc)
615 (compilation-parse-errors-function, compilation-error-list): Declare.
616 (prolog-inferior-mode): Require 'compile.
618 * emulation/cua-base.el (pc-selection-mode): Declare.
620 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
621 (customize-object): Add autoload cookie.
622 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
623 (eieio-browse, describe-class, eieio-describe-class)
624 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
625 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
626 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
627 * Makefile.in (autoloads): Make eieio.el writable.
629 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
630 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
631 (dired-hack-local-variables): Use inhibit-read-only.
632 (dired-guess-default): Simplify.
633 (dired-make-relative-symlink): Use dotimes.
634 (dired-simultaneous-find-file): Use dolist.
635 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
636 (dired-x-hands-off-my-keys): Doc fix.
637 (dired-x-bind-find-file): Doc fix. Use remapping.
638 (after-init-hook): No need to add dired-x-bind-find-file.
639 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
640 No need to call expand-file-name.
641 (dired-filename-at-point): Remove unused locals `end', `filename'.
643 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
645 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
647 2011-02-18 Christian Ohler <ohler@gnu.org>
649 * emacs-lisp/ert.el (ert--setup-results-buffer)
650 (ert-results-pop-to-backtrace-for-test-at-point)
651 (ert-results-pop-to-messages-for-test-at-point)
652 (ert-results-pop-to-should-forms-for-test-at-point)
653 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
654 were incorrect and unnecessary. This should make `make check'
657 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
659 * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
660 (allout-widgets-icons-dark-subdir): Track relocations of icons
661 * lisp/allout.el: Remove commentary about remove encryption
662 passphrase mnemonic support and verification.
663 (allout-encrypt-string): (allout-encrypt-string): Recognize epg
664 failure to decrypt gpg2 armored text using gpg1, and indicate that
665 the gpg version *might* be the problem in the error message.
667 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
669 * net/rcirc.el (rcirc-float-time): New function.
670 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
671 (rcirc-ctcp-sender-PING): Use it.
673 2011-02-17 Glenn Morris <rgm@gnu.org>
675 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
676 (speedbar-update-flag, speedbar-fetch-etags-command)
677 (speedbar-fetch-etags-arguments):
678 * term.el (term-buffer-maximum-size, term-input-chunk-size)
679 (term-completion-autolist, term-completion-addsuffix)
680 (term-completion-recexact, term-completion-fignore):
681 * term/sup-mouse.el (sup-mouse-fast-select-window):
682 * term/x-win.el (x-select-request-type):
683 Convert some defvars with "*" to defcustoms.
685 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
687 * vc/vc.el (vc-default-previous-version):
688 Remove alias that points nowhere. (Bug#4496)
690 * dired-x.el (dired-clean-up-after-deletion):
691 kill-buffer does not need save-excursion.
692 (dired-do-run-mail): Doc fix.
693 (dired-filename-at-point): Doc fix.
694 Use looking-at, and skip-chars rather than re search.
696 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
698 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
700 * allout-widgets.el: New allout extension that shows allout
701 outline structure with graphical widgets. 'allout-widgets'
702 customize group is an 'allout' subgroup, for easy discovery.
704 * allout.el: Include PGP and GnuPG in Keywords, and other
705 commentary refinements.
706 (allout-abbreviate-flattened-numbering): Rename to
707 allout-flattened-numbering-abbreviation, and
708 define-obsolete-variable-alias the old name.
709 (allout-flattened-numbering-abbreviation): Rename from
710 allout-abbreviate-flattened-numbering.
711 (allout-mode-p): Include among autoloads, for use by other modes
713 (allout-listify-exposed):
714 Use allout-flattened-numbering-abbreviation.
715 (allout-encrypt-string): Use set-buffer-multibyte directly.
716 (allout-set-buffer-multibyte): Remove.
718 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
720 * simple.el (just-one-space): Remove useless `or' call.
722 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
724 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
725 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
726 (soap-decoded-multi-refs, soap-current-wsdl)
727 (soap-encoded-namespaces): Rename CL-style *...* variables.
729 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
731 * net/soap-client.el: Add "comm" and "hypermedia" to the
732 keywords. Reflow too long lines.
734 * net/soap-inspect.el: Ditto. Require 'cl.
736 2011-02-16 Bastien Guerry <bzg@altern.org>
738 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
739 in a `doctor-type' argument.
741 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
743 * net/soap-client.el:
744 * net/soap-inspect.el: New files.
746 2011-02-16 Leo <sdl.web@gmail.com>
748 * dired-x.el (dired-mode-map, dired-extra-startup):
749 Remove dired-copy-filename-as-kill since it's already in dired.el.
751 2011-02-16 Glenn Morris <rgm@gnu.org>
753 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
754 Doc fixes. Add :set property, replacing top-level calls.
755 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
756 (dired-guess-shell-gnutar): Test tar version rather than system-type.
757 (dired-extra-startup, dired-man, dired-info): Doc fixes.
758 (dired-clean-up-after-deletion): Use when and dolist.
759 (dired-jump): Use unless and when.
760 (dired-virtual): Use line-end-position.
761 (dired-default-directory-alist): Rename from default-directory-alist.
762 (dired-default-directory): Update for above name change.
763 (dired-vm): Drop VM < 5 and simplify.
764 (dired-buffer-more-recently-used-p): Rewrite.
765 (dired-filename-at-point): Use when and or.
766 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
769 2011-02-15 Glenn Morris <rgm@gnu.org>
771 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
773 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
775 * vc/vc-git.el (vc-git-root-log-format): New option for
776 customizing log format.
777 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
778 (vc-git-log-view-mode): Use it.
779 (vc-git-expanded-log-entry): New function.
780 (vc-git-log-view-mode): Use it. Truncate lines in root log.
782 * vc/vc-hg.el (vc-hg-root-log-template): New option for
783 customizing log format.
784 (vc-hg-print-log): Use it.
785 (vc-hg-expanded-log-entry): New function.
786 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
787 vc-hg-expanded-log-entry. Truncate lines in root log.
789 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
791 * vc/log-view.el (log-view-mode-menu):
792 Add log-view-toggle-entry-display.
794 2011-02-14 Glenn Morris <rgm@gnu.org>
796 * dired-x.el: Don't require man when compiling.
797 (dired-omit-extensions, dired-local-variables-file)
798 (dired-x-hands-off-my-keys): Make them defcustoms.
799 (Man-support-local-filenames, Man-getpage-in-background): Declare.
800 (vm-visit-folder): Declare rather than defining.
801 (dired-x-help-address, dired-x-variable-list): Remove.
802 (dired-x-submit-report): Make it an obsolete alias.
804 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
806 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
808 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
810 * net/imap.el: Bring it back.
812 2011-02-13 Alan Mackenzie <acm@muc.de>
814 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
815 narrow-to-region call that cuts context off the end (Bug#7722).
817 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
818 Refactor nested if-forms with a simple cond.
819 (c-forward-<>-arglist): Revert 2011-01-31 change.
821 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
823 * vc/log-view.el: New command log-view-toggle-entry-display for
824 toggling log entries between concise and detailed forms.
825 (log-view-toggle-entry-display): New command.
826 (log-view-mode-map): Bind RET to it.
827 (log-view-expanded-log-entry-function): New variable.
828 (log-view-current-entry, log-view-inside-comment-p)
829 (log-view-current-tag): New functions.
830 (log-view-toggle-mark-entry): Use log-view-current-entry and
831 log-view-end-of-defun instead of searching directly with
833 (log-view-end-of-defun): Likewise. Add optional ARG for
834 compatibility with end-of-defun.
835 (log-view-end-of-defun): Ignore comments and VC buttons.
837 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
838 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
840 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
842 * net/imap.el: Remove file. All the functionality is in nnimap.el.
844 * net/imap-hash.el: Remove file.
846 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
848 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
850 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
853 * net/tramp-imap.el: Remove file.
855 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
857 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
858 widget library for buttons, just use button.el.
860 * vc/log-view.el (log-view-mode-map): Don't inherit from
863 2011-02-12 Glenn Morris <rgm@gnu.org>
865 * emacs-lisp/cl-seq.el (union, nunion, intersection)
866 (nintersection, set-difference, nset-difference)
867 (set-exclusive-or, nset-exclusive-or): Doc fix.
869 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
871 * faces.el (face-attr-match-p): Handle the obsolete :bold and
872 :italic props, so that frame-set-background-mode works. (Bug#7966)
874 * simple.el (next-error): Doc fix.
876 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
878 * dired-aux.el (dired-create-files): Adapt destination name to
879 match the new behavior of copy-directory.
881 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
883 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
884 from rmail-dont-reply-to-names. Callers changed.
885 (mail-dont-reply-to): Rename from mail-dont-reply-to.
886 (rmail-dont-reply-to): Make it an obsolete alias.
888 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
889 nil, and make obsolete (Bug#7888).
890 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
892 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
894 * mail/rmailsort.el (rmail-sort-by-correspondent)
895 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
897 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
899 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
901 * files.el (copy-directory): New argument COPY-CONTENTS for
902 copying directory contents into another existing directory.
904 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
906 * minibuffer.el (completion-table-case-fold): New function for
907 creating a case-insensitive completion table.
909 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
911 * net/tramp.el (tramp-default-method): Also check if
912 `auth-source-search' is bound.
913 (tramp-read-passwd): Use `auth-source-search' instead of
914 `auto-source-user-or-password'.
916 * net/tramp-imap.el: Autoload `auto-source-search' instead of
917 `auto-source-user-or-password.
918 (tramp-imap-passphrase-callback-function): Use it.
920 * net/imap-hash.el: Autoload `auto-source-search' instead of
921 `auto-source-user-or-password.
922 (imap-hash-open-connection): Use it.
924 * mail/smtpmail.el: Autoload `auto-source-search' instead of
925 `auto-source-user-or-password.
926 (smtpmail-try-auth-methods): Use it.
928 2011-02-12 Phil Hagelberg <phil@hagelb.org>
930 * emacs-lisp/package.el: Allow packages to be reinstalled.
931 (package--write-file-no-coding): Remove EXCL arg.
932 (package-unpack-single): Don't use it.
934 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
936 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
937 in each sub directory.
938 (vc-svn-registered): Use vc-svn-root.
939 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
940 (vc-svn-repository-hostname): Use "svn info".
942 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
944 * simple.el (delete-trailing-whitespace): New optional buffer
947 2011-02-11 Bastien Guerry <bzg@altern.org>
949 * files.el (basic-save-buffer): save unmodified buffers when
950 the file pointed by buffer-file-name doesn't exist.
952 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
954 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
956 2011-02-11 Glenn Morris <rgm@gnu.org>
958 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
960 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
962 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
964 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
966 * server.el (server-process-filter): Use pcase.
968 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
970 (smie-indent--parent): Extend to "parent of arg".
971 (smie-indent-inside-string): New function.
972 (smie-indent-functions): Use it.
974 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
975 bzr locking race condition.
977 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
978 still valid before using it.
980 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
981 `message' -> `compilation-message' rename (bug#8004).
983 Move keymap initialization into declaration.
984 * textmodes/enriched.el (enriched-mode-map):
985 * textmodes/bib-mode.el (bib-mode-map):
986 * term/lk201.el (lk201-function-map):
987 * tar-mode.el (tar-mode-map):
988 * replace.el (occur-mode-map):
989 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
990 * progmodes/idlw-help.el (idlwave-help-mode-map):
991 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
992 * play/solitaire.el (solitaire-mode-map):
993 * play/snake.el (snake-mode-map, snake-null-map):
994 * play/pong.el (pong-mode-map):
995 * play/handwrite.el (menu-bar-handwrite-map):
996 * play/gametree.el (gametree-mode-map):
997 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
998 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
999 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1000 (newsticker--url-keymap):
1001 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1002 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1003 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1004 (menu-bar-edit-menu, menu-bar-custom-menu)
1005 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1006 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1007 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1008 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1009 (menu-bar-tools-menu, menu-bar-describe-menu)
1010 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1011 (menu-bar-help-menu):
1012 * mail/rmailsum.el (rmail-summary-mode-map):
1013 * kmacro.el (kmacro-step-edit-map):
1014 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1015 (ibuffer-mode-operate-map):
1016 * hi-lock.el (hi-lock-menu, hi-lock-map):
1017 * emulation/vip.el (vip-mode-map):
1018 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1019 * bookmark.el (bookmark-bmenu-mode-map):
1020 * help-mode.el (help-mode-map): Move initialization into declaration.
1022 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1024 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1025 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1026 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1027 (rcirc-cmd-me, rcirc-authenticate): Use them.
1029 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1031 * allout.el: Synopsis: Change allout user configuration so
1032 auto-activation is controlled solely by customization
1033 `allout-auto-activation'.
1035 (allout-auto-activation-helper) (allout-setup): New autoloads
1036 implement new custom set procedure for allout-auto-activation.
1037 Also, explicitly invoke
1038 (allout-setup) after allout-auto-activation is custom-defined, to
1039 effect the settings in emacs sessions besides the few where
1040 allout-auto-activation customization is donea.
1041 (allout-auto-activation): Use allout-auto-activation-helper to
1042 :set. Revise the docstring.
1043 (allout-init): Reduce functionality to just customizing
1044 allout-auto-activation, and mark obsolete.
1045 (allout-mode): Respect string values for allout-auto-activation.
1046 Run allout-after-copy-or-kill-hook without any args.
1047 (allout-mode) (allout-layout) (allout-default-layout)
1048 (outlineify-sticky): Adjust docstring for new scheme.
1049 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1050 should concentrate on the kill ring.
1052 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1054 * password-cache.el (password-cache-remove): Accept secrets that are
1057 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1059 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1060 of here-doc that immediately follows a comment.
1062 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1064 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1066 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1068 (rcirc-ctcp-sender-PING): New function.
1070 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1072 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1073 Remove the mark/nomark handling, and activate shift-select-mode instead.
1075 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1077 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1079 * calc/calc-units.el (math-logunits-quant): Add support for
1080 non-logarithmic units.
1082 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1084 * allout.el (allout-after-copy-or-kill-hook): New hook for
1085 extension-specific processing of killed text.
1086 (allout-mode): Include new allout-after-copy-or-kill-hook among
1088 (allout-kill-line) (allout-kill-topic): Ensure that processing
1089 after kill happens even if barf-if-buffer-read-only is raised.
1090 Include new allout-after-copy-or-kill-hook among that subsequent
1092 (allout-deannotate-hidden): Actually remove the annotation text
1095 * allout.el (allout-listify-exposed): Copy text sans text properties.
1097 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1099 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1101 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1103 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1105 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1107 * calc/calc.el (calc-logunits-field-reference): Rename from
1108 `calc-default-field-reference-level'.
1109 (calc-logunits-power-reference): Rename from
1110 `calc-default-power-reference-level'
1112 * calc/calc-units.el (math-logunits-quant): Rename from
1113 `math-logunits-level'
1114 (math-logunits-plus): Rename from math-logcombine.
1115 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1116 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1117 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
1119 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1120 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1121 (calc-logunits-quantity): Rename from `calc-level'.
1122 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1123 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
1124 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1125 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1126 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
1129 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1130 (calc-ul-prefix-help): Remove.
1131 (calc-l-prefix-help): New function.
1132 (calc-full-help): Add reference to `calc-l-prefix-help'.
1134 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1136 * calc/README: Mention logarithmic units.
1138 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1140 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1141 non-ASCII characters (Bug#7925).
1143 2011-02-05 Glenn Morris <rgm@gnu.org>
1145 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1147 * calendar/diary-lib.el (diary-font-lock-keywords):
1148 Tweak diary-time-regexp match. (Bug#7891)
1150 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1151 (f90-mode): Use it for mode's `find-tag-default-function' property.
1153 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1155 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1157 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1159 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1162 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1164 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1165 font-lock-syntax-table remappings.
1166 (sh-here-doc-markers, sh-here-doc-re): Remove.
1167 (sh-font-lock-close-heredoc): Remove.
1168 (sh-syntax-propertize-here-doc): New function.
1169 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1170 instead of the sh-here-doc-re.
1171 (sh-font-lock-paren): Don't do anything in comments or strings.
1172 Handle line continuations. Accept a few more chars.
1173 Don't rely on the font-lock-syntax-table remappings.
1174 `esac' is not a valid pattern.
1175 (sh-syntax-propertize-function): Handle here-docs differently, so we
1176 don't bother syntax-propertizing the insides.
1178 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1179 Handle new bashisms ";&" and ";;&" (bug#7947).
1181 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1183 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1184 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1186 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1188 * net/tramp.el (tramp-postfix-method-format)
1189 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1190 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1191 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1192 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1193 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1196 2011-02-04 Sam Steingold <sds@gnu.org>
1198 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1200 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1202 * international/mule-util.el (with-coding-priority): Doc fix.
1204 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1206 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1208 2011-02-03 Sam Steingold <sds@gnu.org>
1210 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1211 Do not error out when `func' is nil.
1213 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1215 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1216 `tramp-default-remote-path' to the docstring.
1217 (tramp-get-remote-path): Suppress error message when `getconf
1220 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1222 2011-02-03 Glenn Morris <rgm@gnu.org>
1224 * vc/vc-hg.el (vc-hg-command): Doc fix.
1226 * term/w32-win.el (libpng-version): Declare for compiler.
1228 * msb.el: No need to load dired while compiling.
1230 * emacs-lisp/elint.el (elint-standard-variables):
1231 Remove a couple of built-ins that now have doc-strings.
1233 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1234 `require' is automatically `eval-and-compile'd.
1236 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1237 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1239 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1240 Move definition before use.
1241 (strokes-report-bug): Make it obsolete.
1243 2011-02-02 Sam Steingold <sds@gnu.org>
1245 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1246 from `special-mode', entering it makes the buffer read-only, so
1247 call it only when everything has been already inserted.
1248 * emacs-lisp/ert.el (ert--setup-results-buffer)
1249 (ert-results-pop-to-backtrace-for-test-at-point)
1250 (ert-results-pop-to-messages-for-test-at-point)
1251 (ert-results-pop-to-timings): Ditto.
1252 * emacs-lisp/package.el (package--list-packages): Ditto.
1253 * play/solitaire.el (solitaire): Ditto.
1255 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1257 * progmodes/compile.el: Make all faces inherit.
1258 (compilation-warning): Inherit from font-lock-variable-name-face.
1259 (compilation-info): Inherit from font-lock-type-face.
1260 (compilation-line-number): Reassign to font-lock-keyword-face.
1261 (compilation-column-number): Reassign to font-lock-doc-face.
1262 (compilation-leave-directory-face): Reassign to
1263 font-lock-builtin-face.
1265 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1267 * dired.el (dired-insert-directory): Don't invoke `ls' when
1268 ls-lisp.el is used to emulate it.
1270 2011-02-01 Julien Danjou <julien@danjou.info>
1272 * color.el (color-gradient): Add a color-gradient function.
1274 2011-02-01 Sam Steingold <sds@gnu.org>
1276 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1277 bind "z" to `kill-this-buffer'.
1278 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1279 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1280 (apropos-mode): Inherit from `special-mode'.
1281 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1282 * bookmark.el (bookmark-bmenu-mode): Define using
1283 `define-derived-mode' inheriting from `special-mode'.
1284 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1285 * image-mode.el (image-mode-map): Ditto.
1286 * replace.el (occur-mode): Define using
1287 `define-derived-mode' inheriting from `special-mode'.
1288 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1289 * calendar/diary-lib.el (diary-fancy-display-mode):
1290 Inherit from `special-mode-map'.
1291 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1292 Inherit from `special-mode'.
1293 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1295 (package-menu-mode): Define using `define-derived-mode'
1296 inheriting from `special-mode'.
1297 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1298 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1299 (xesam-mode-map): Define separately.
1300 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1301 * progmodes/compile.el (compilation-minor-mode-map)
1302 (compilation-mode-map): Inherit from `special-mode-map'.
1303 * vc/diff-mode.el (diff-mode-shared-map):
1304 Inherit from `special-mode-map'.
1305 * vc/log-view.el (log-view-mode-map): Add a comment.
1307 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1309 * custom.el (load-theme): Define return value. Drop use of
1310 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1311 (custom-theme-load-confirm): Scroll in the correct window.
1312 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1314 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1315 checkbox if load-theme fails.
1317 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1319 * progmodes/compile.el (compilation-next-error): Check there's
1320 a message before using it (bug#7941).
1322 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1324 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1325 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1326 of potential pivots.
1328 2011-01-31 Alan Mackenzie <acm@muc.de>
1330 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1331 Continue parsing if we encounter a naked # (Bug#7595).
1332 (c-beginning-of-statement): Avoid loop in locating the beginning
1333 of a macro. (Not actually committed until 2011-02-20, see above).
1335 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1337 * files.el (copy-directory): Fix arguments to recursive call.
1339 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1341 * files.el (copy-directory): If destination is an existing
1342 directory, copy into a subdirectory there.
1344 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1346 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1349 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1351 * image-dired.el (image-dired-mouse-display-image): No-op if no
1352 file is found (Bug#7817).
1354 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1356 2011-01-31 Kenichi Handa <handa@m17n.org>
1358 * international/quail.el (quail-keyboard-layout-alist):
1359 Remove superfluous SPC for "pc105-uk" (bug#7927).
1361 2011-01-31 Glenn Morris <rgm@gnu.org>
1363 * msb.el (msb-menu-bar-update-buffers): Update for changed
1364 argument handling of menu-bar-select-frame. (Bug#7902)
1366 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1368 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1369 to the recursion depth (Bug#7722).
1371 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1373 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1374 command-line-default-directory (Bug#7872).
1376 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1378 * progmodes/compile.el (compilation--flush-directory-cache):
1379 New function, extracted from compilation--remove-properties.
1380 (compilation--remove-properties, compilation--parse-region): Use it.
1381 (compilation--previous-directory): Handle one more case.
1382 (compilation-enable-debug-messages): Remove.
1383 (compilation-parse-errors, compilation--flush-parse): Just remove the
1384 left over debug messages.
1386 2011-01-31 Sam Steingold <sds@gnu.org>
1388 * progmodes/compile.el (compilation-enable-debug-messages):
1389 Add a variable to make the parsing messages introduced in
1390 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1391 (compilation-parse-errors, compilation--flush-parse): Use it.
1393 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1395 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1396 (rcirc-nick-completion-format): New defcustom.
1397 (rcirc-complete): Use it.
1399 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1401 * net/rcirc.el: Clean log filenames (Bug#7933).
1402 (rcirc-log-write): Use convert-standard-filename.
1403 (rcirc-log-filename-function): Documentation updates.
1405 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1407 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1408 Check report-emacs-bug-can-use-osx-open and use that if t.
1409 (report-emacs-bug-can-use-osx-open): New function.
1410 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1411 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1413 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1415 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1416 updating Dired or VC-dir buffers after async command completes.
1418 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1419 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1421 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1422 completions if it exists. Use vc-set-async-update.
1423 (vc-git-pull): Use vc-set-async-update.
1425 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1426 read-shell-command. Use vc-set-async-update.
1427 (vc-hg-merge-branch): Use vc-set-async-update.
1429 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1431 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1432 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1435 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1437 * progmodes/compile.el: Avoid an N² behavior in grep.
1438 (compilation--previous-directory): New fun.
1439 (compilation--previous-directory-cache): New var.
1440 (compilation--remove-properties): Flush it.
1441 (compilation-directory-properties, compilation-error-properties):
1442 Use the new fun to speed up looking for the current directory.
1444 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1446 * vc/vc-hg.el (vc-hg-history): New var.
1447 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1448 (vc-hg-merge-branch): New function.
1450 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1451 the other way around.
1453 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1454 (vc-git-merge-branch): New functions.
1455 (vc-git-history): New var.
1457 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1459 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1461 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1462 vc-do-async-command.
1464 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1467 2011-01-28 Leo <sdl.web@gmail.com>
1469 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1470 highlighting to the "this function is advised" message.
1472 * help-mode.el (help-mode-finish): Apply highlighting here, to
1473 avoid clobbering by substitute-command-keys (Bug#6304).
1475 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1477 * woman.el (woman0-roff-buffer): Process roff escape sequences
1478 occurring prior to the first request (Bug#7843).
1480 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1482 * progmodes/compile.el: Don't use font-lock any more.
1483 (compilation-error-regexp-alist-alist): Change handling of makepp
1484 so it preserves the warning/error distinction on subsequent files.
1485 Simplify various rules.
1486 (compilation-directory-properties): Use font-lock-face.
1487 Add a compilation-message property.
1488 (compilation-internal-error-properties): Use font-lock-face.
1489 Don't set the compilation-debug property here.
1490 (compilation--put-prop, compilation--remove-properties)
1491 (compilation--parse-region, compilation--ensure-parse)
1492 (compilation--ensure-parse): New functions.
1493 (compilation-parse-errors): New function, largely inspired of
1494 compilation-mode-font-lock-keywords. Set compilation-debug here.
1495 (compilation--parsed): New var.
1496 (compilation--flush-parse): Use compilation--ensure-parse.
1497 (compilation-start): Don't call font-lock.
1498 (compilation-turn-on-font-lock): Remove.
1499 (compilation-setup): Don't set font-lock-extra-managed-props not change
1500 other font-lock settings, other than keywords.
1501 Don't activate font-lock-mode.
1502 Set change-major-mode-hook and before-change-functions.
1503 (compilation--unsetup): Remove properties and hooks.
1504 (compilation-next-single-property-change): New function.
1505 (compilation-next-error): Use it to parse when needed.
1506 (compile-goto-error): Parse buffer as needed.
1507 (compilation--compat-error-properties): Don't need a dummy `face'
1510 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1512 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1513 (compilation-process-setup-function): Fix docstring's false promises.
1514 (compilation-error-regexp-alist-alist): Catch omake's continuous
1515 recompilation message and avoid reuse of old markers.
1516 (compilation-parse-errors-function): Declare obsolete.
1517 (compilation-buffer-modtime): Remove.
1518 (compilation--make-cdrloc, compilation--loc->col)
1519 (compilation--loc->line, compilation--loc->file-struct)
1520 (compilation--loc->marker, compilation--loc->visited)
1521 (compilation--make-file-struct, compilation--file-struct->file-spec)
1522 (compilation--file-struct->formats)
1523 (compilation--file-struct->loc-tree): New macros. Use them.
1524 (compilation--message): New defstruct. Use them.
1525 (compilation-next-error-function): Don't mess with timestamps to try
1526 and guess when to reparse.
1528 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1530 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1531 (tex-old-error-file-name): New function,
1532 extracted from tex-compilation-parse-errors.
1533 (tex-compilation-parse-errors): Remove.
1534 (tex-error-regexp-alist): New var.
1535 (tex-shell): Use it to avoid compilation-parse-errors-function.
1537 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1538 (grep-mode-font-lock-keywords): Remove regexp that seems like
1539 a left-over from before we used compile.el.
1540 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1541 modifying the buffer within with-silent-modifications.
1543 * progmodes/compile.el: Cleanup text-properties namespace by using
1544 `compilation-message' instead of `message', `compilation-directory'
1545 instead of `directory', and `compilation-debug' instead of `debug'.
1546 (compilation-last-buffer, compilation-parsing-end)
1547 (compilation-error-list, compilation-old-error-list): Move to the
1548 compatibility part of the code.
1549 (compilation-error-properties): If `file' is a function, let it return
1551 (compilation-mode-font-lock-keywords): Be more conservative with the
1552 omake "^ *" pattern prefix, to try and minimize the risk of
1553 pathologically slow regexp matching.
1554 (compilation-start): Use inhibit-read-only.
1555 (compilation--unsetup): New function.
1556 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1557 (compilation-filter): Minor tweaks.
1558 (compilation-next-error-function): Try and avoid abusing variables.
1559 (compilation--flush-file-structure): New fun.
1560 (compilation-fake-loc): Use it to improve behavior when file is reused.
1561 (debug-ignored-errors): Add "Moved past last ...".
1562 (compilation--compat-error-properties)
1563 (compilation--compat-parse-errors): Rename by doubling the "-".
1565 Port features from the previous prolog.el to the new one.
1566 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1567 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1568 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1569 variable and use a function to compute the value dynamically.
1570 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1571 (prolog-continued-prompt-regexp): Remove, unused.
1572 (prolog-find-value-by-system): Try and use the value of prolog-system
1573 in the *prolog* buffer if it helps.
1574 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1575 (prolog-zip-on): ..and check prolog-system and version here instead.
1576 (prolog-inferior-self-insert-command): New command.
1577 (prolog-inferior-mode-map): Use it.
1578 (prolog-inferior-error-regexp-alist): New var.
1579 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1580 (prolog-input-filter): Use derived-mode-p.
1581 (prolog-inferior-guess-flavor): New function.
1582 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1583 make-comint to avoid running comint-mode twice.
1584 (prolog-inferior-buffer): New fun.
1585 (prolog-old-process-region, prolog-old-process-file):
1586 Don't call prolog-bsts here...
1587 (prolog-build-prolog-command): ...do it here instead.
1588 (prolog-old-process-region, prolog-old-process-file):
1589 Use compilation-fake-loc and compilation-forget-errors.
1590 (prolog-consult-compile-region): Use bolp.
1592 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1594 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1596 2011-01-27 Sam Steingold <sds@gnu.org>
1598 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1599 Remove "*server*" which is never created by emacs server.
1601 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1603 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1604 there are some diff switches.
1606 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1608 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1609 Copy change made to ruby-font-lock-syntactic-keywords.
1611 * htmlfontify.el: Make it obey the font-lock-face text property.
1612 Miscellaneous cleanup such as:
1613 - Don't hide expressions after a closing paren.
1614 - Move initial setq into let.
1615 - Hoist common parts out of ifs.
1616 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1617 (hfy-face-at): Use get-text-property instead.
1618 (hfy-prop-invisible-p): Use invisible-p if available.
1619 (htmlfontify-manual): Use \\[...].
1620 (hfy-html-quote-regex): Use [...].
1621 (hfy-combined-face-spec): Simplify.
1622 (hfy-compile-face-map): Don't presume point-min==1.
1623 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1624 match end of string.
1625 (hfy-text-p): η-reduce.
1626 (hfy-tags-for-file): Receive cache-hash directly.
1627 (hfy-mark-tag-names): Adjust call.
1629 2011-01-27 Glenn Morris <rgm@gnu.org>
1631 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1632 (msb-after-load-hook): Remove eval-after-load wackiness.
1634 2011-01-25 Sam Steingold <sds@gnu.org>
1636 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1637 literal "diff" (important for windows-nt).
1639 2011-01-25 Glenn Morris <rgm@gnu.org>
1641 * emacs-lisp/copyright.el (copyright-at-end-flag)
1642 (copyright-names-regexp): Add safety properties.
1643 (copyright-year-ranges): New option.
1644 (copyright-find-end): New function, split from copyright-update-year.
1645 (copyright-update-year): Use copyright-find-end.
1646 (copyright-fix-years): Optionally, convert years to ranges.
1647 Handle years continued over comment lines.
1648 Do not mess with the fill-prefix.
1649 Do not call copyright-update.
1650 (copyright-update-directory): Optionally, fix years rather than update.
1651 Skip directories. Find files with only safe local vars.
1653 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1655 * files.el (file-name-non-special): Only change buffer-file-name after
1656 insert-file-contents if it's `visit'ing the file (bug#7854).
1658 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1660 * dired.el (dired-revert): Doc fix (Bug#7758).
1662 * simple.el (line-move-visual): Doc fix (Bug#7594).
1664 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1666 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1667 here-doc which ends with an underscore.
1668 (ruby-mode-set-encoding): Skip shebang line always.
1669 (ruby-mode-map): Bind C-c C-c to comment-region.
1670 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1671 (ruby-forward-sexp): Stop after literal hash key labels.
1672 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1675 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1677 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1678 the correct buffer (Bug#7650).
1680 2011-01-25 Glenn Morris <rgm@gnu.org>
1682 * comint.el (comint-mode): Doc fix. (Bug#7897)
1684 * simple.el (do-auto-fill): Give it a doc string.
1686 * button.el (make-text-button): Doc fix. (See bug#7881)
1688 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1690 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1691 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1693 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1694 Handle ?" and friends differently (e.g. don't use backrefs).
1696 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1698 * calc/calc.el (calc-default-power-reference-level)
1699 (calc-default-field-reference-level): New variables.
1700 * calc/calc-units.el (math-standard-units): Add dB and Np.
1701 (math-logunits): New variable.
1702 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1703 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1704 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1706 (math-find-base-units-rec): Add entry for ln(10).
1707 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1708 (calc-ul-prefix-help): New function.
1709 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1710 functions. Add keybindings for new units functions.
1712 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1714 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1715 rcirc buffers. (Bug#4940)
1717 2011-01-22 Glenn Morris <rgm@gnu.org>
1719 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1720 split out from copyright-update-year.
1721 (copyright-update): Don't mess with the GPL version if we don't own the
1722 copyright. Update license regexp, and remove no longer needed
1724 (copyright-fix-years): Use copyright-find-copyright.
1726 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1728 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1730 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1732 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1733 (lm): Rename to landmark.
1734 (lm-test-run): Rename to landmark-test-run.
1736 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1738 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1739 "Case sensitive" menu item.
1741 2011-01-22 Roland McGrath <roland@frob.com>
1743 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1744 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1746 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1748 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1750 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1752 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1753 Assume foo(bar) is a manpage reference rather than some unquoted
1756 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1758 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1759 Suggested by Flo <sensorflo@gmail.com>.
1761 2011-01-22 Glenn Morris <rgm@gnu.org>
1763 * progmodes/compile.el (compilation-error-regexp-alist):
1764 Fix custom type. (Bug#7812)
1766 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
1768 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1769 allout-number-siblings, in keeping with what obtained due to
1770 (now-defunct) allout-keybindings-list. Ditch repeat binding to
1772 (allout-before-change-handler): Better expose spots affected by
1775 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1777 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1779 2011-01-22 Phil Hagelberg <phil@evri.com>
1781 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1782 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1783 (pcmpl-ssh-config-hosts): New function.
1784 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1785 pcmpl-ssh-known-hosts.
1787 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1789 * calc/calc-undo.el (calc-undo): Autoload it.
1790 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1791 and autoload for `calc-undo'.
1792 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1793 * calc/calc-prog.el:
1794 * calc/calc-graph.el:
1795 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1797 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
1799 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1800 keybindings to `calc-undo'.
1802 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1804 Don't mess with *temp*.
1805 * obsolete/spell.el: Move from textmodes/spell.el.
1807 * term.el (term-read-input-ring):
1808 * startup.el (display-startup-echo-area-message):
1809 * progmodes/antlr-mode.el (antlr-directory-dependencies):
1810 * comint.el (comint-read-input-ring): Use with-temp-buffer.
1811 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1814 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
1816 * allout.el (allout-institute-keymap): Use fset instead of
1817 reapplying defalias.
1819 (allout-hotspot-key-handler): Check for non-control-modified
1820 bindings for hotspot characters if there are no control-modified
1823 * allout.el: Summary - migrate to defining allout mode using
1824 define-minor-mode instead of defun. Significantly clean-up
1825 internal keymap provisions, refactoring and, in the process,
1826 removing a lot of accumulated cruft.
1828 allout-mode-map is now a keymap by virtue of being a defalias to
1829 allout-mode-map-value, which contains the actual keymap structure.
1831 (allout-mode): Use define-minor-mode rather than defun.
1832 Remove now-unnecessary minor-mode setup activities from the body.
1833 Specify :keymap as allout-mode-map so the minor-mode-map-alist
1834 entry will be '(allout-mode . allout-mode-map) - see
1835 allout-mode-map-value, below. Adjust docstring to track changes.
1836 (allout-minor-mode): Remove this defalias, now that we're using
1838 (allout-mode-map): Set value to be 'allout-mode-map. The actual
1839 keymap is allout-mode-map-value, via defalias.
1840 (allout-mode-map-value): The variable holding the actual mode
1841 keymap structure, by virtue of defalias from allout-mode-map.
1842 (allout-compose-and-institute-keymap): Rename from
1843 allout-bind-keys, and including the binding-composition
1844 functionality of the former produce-allout-mode-map and
1845 allout-setup-mode-map.
1846 (allout-institute-keymap): Take over the "setup" part of the former
1847 allout-setup-mode-map. Reassign allout-mode-map-value value and
1848 update the defalias.
1849 (allout-command-prefix) (allout-prefixed-keybindings)
1850 (allout-unprefixed-keybindings):
1851 Use allout-compose-and-institute-keymap to process the bindings.
1852 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
1853 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1854 user can customize if they want to use that binding.
1855 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1856 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
1857 elided that, previously, instead of the one for \C-h.)
1858 (allout-hotspot-key-handler): Remove attempt to resolve the key
1859 through the literal key-string lookup on allout-keybindings-list.
1860 That probably hasn't worked for a Long Time, and removal of
1861 allout-keybindings-list further simplifies the keybindings situation.
1862 (allout-pre-command-business): Use allout-mode-map-value instead
1864 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1865 the bindings if they want to use a keybinding having a trailing
1866 \C-h. No deprecation needed since this feature was never in a release.
1867 (allout-keybindings-list): Remove. It's not been useful for a
1868 while. (See allout-hotspot-key-handler changes, above.)
1869 (produce-allout-mode-map): Remove. Consolidate into
1870 allout-compose-and-institute-keymap.
1871 (allout-mode-map-adjustments): Remove. No longer necessary with
1872 removal of allout-preempt-trailing-ctrl-h.
1873 (allout-setup-mode-map): Remove. Consolidate into
1874 allout-compose-and-institute-keymap and allout-institute-keymap.
1876 2011-01-20 Glenn Morris <rgm@gnu.org>
1878 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1880 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1882 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1884 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1886 * files.el (find-alternate-file, basic-save-buffer)
1887 (basic-save-buffer-2, revert-buffer, recover-file)
1888 (kill-buffer-ask, abort-if-file-too-large)
1889 (set-visited-file-name, write-file, backup-buffer)
1890 (basic-save-buffer, save-some-buffers):
1891 * dired-aux.el (dired-compress-file): Callers changed.
1893 2011-01-19 Glenn Morris <rgm@gnu.org>
1895 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1896 Also check the property status. (Bug#7861)
1898 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1900 * net/tramp.el (tramp-debug-message): Extend function exclude
1901 list. Use `regexp-opt'.
1903 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1905 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1906 highlighting doesn't spill over subsequent lines.
1908 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1909 keymap expression. Improve docstring.
1911 * electric.el (electric-indent-post-self-insert-function):
1912 Don't auto-indent for indent-to-left-margin, it's too often
1915 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1917 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1918 spaces if the frame was resized, so that the full visible buffer
1919 serves as canvas for strokes.
1921 2011-01-16 Glenn Morris <rgm@gnu.org>
1923 * info-xref.el (info-xref-docstrings): Replace cl function.
1924 Also skip directories.
1926 2011-01-16 Kevin Ryde <user42@zip.com.au>
1928 * info-xref.el: Version 3.
1929 (info-xref-check, info-xref-check-all): Move commentary details
1930 into docstrings for better visibility.
1931 Use compilation-mode for the results buffer.
1932 (info-xref-output, info-xref-output-error, info-xref-with-output)
1933 (info-xref-filename, info-xref-in-progress):
1934 New internals for this.
1935 (info-xref-check-list, info-xref-check-buffer)
1936 (info-xref-check-all-custom): Use those.
1937 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1938 (info-xref-output-heading): Rename from info-xref-filename-heading.
1939 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1940 (info-xref-filename-heading): Move to output managing section.
1941 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1942 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1943 (info-xref-subfile-p): Move to generic section with those two.
1944 (info-xref-check-node): New function split from
1945 info-xref-check-buffer, shared by info-xref-docstrings.
1946 (info-xref-goto-node-p): Move to a checking section with that func.
1947 (info-xref-unavail): New counter.
1948 (info-xref-check-node): Use it.
1949 (info-xref-with-output): Show count of unavailables at end of output.
1950 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1951 symlinks. Exclude .texi files. Exclude Emacs backup files.
1952 (info-xref-check-all-custom): Fix quietening viper-mode and
1953 gnus-registry-install -- use setq not let so as not to unbind
1956 2011-01-16 Juri Linkov <juri@jurta.org>
1958 * isearch.el (isearch-abort): Don't quit if search has
1959 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1961 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1963 * files.el (backup-buffer): Make last-resort backup file in
1964 .emacs.d (Bug#6953).
1966 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1967 make it with permission 700.
1969 2011-01-15 Kenichi Handa <handa@m17n.org>
1971 * mail/rmailmm.el (rmail-mime-insert-header):
1972 Set rmail-mime-coding-system to a cons whose car is the last coding
1973 system used to decode the header.
1974 (rmail-mime-find-header-encoding): New function.
1975 (rmail-mime-insert-decoded-text):
1976 Override rmail-mime-coding-system if it is a cons.
1977 (rmail-show-mime): If only a header part was decoded, find the
1978 coding system while ignoring mm-charset-override-alist.
1980 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1982 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1984 2011-01-15 Kenichi Handa <handa@m17n.org>
1986 * mail/rmailmm.el (rmail-mime-next-item)
1987 (rmail-mime-previous-item): Delete them.
1988 (rmail-mime-shown-mode): Recursively call for children.
1989 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1991 (rmail-mime-raw-mode): Recursively call for children.
1992 (rmail-mode-map): Change mapping of tab and backtab to
1993 forward-button and backward-button respectively.
1994 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1996 (rmail-mime-update-tagline): New function.
1997 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1998 body display is changed.
1999 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2000 (rmail-mime-image): Delete this button type.
2001 (rmail-mime-toggle): New button type.
2002 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2003 body display is changed. Change the save button label to "Save".
2004 Don't process show/hide button here.
2005 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2006 the body display is changed. Unconditionally call
2007 rmail-mime-insert for children.
2008 (rmail-mime-handle): Update `display' vector of the just inserted
2010 (rmail-mime-process): If mail-header-parse-content-type returns
2011 nil, use "text/plain" as the fallback type.
2012 (rmail-mime-insert): For raw-mode, recursively call
2013 rmail-mim-insert for children.
2014 (rmail-mime): Handle the case that the current buffer is not rmail
2015 buffer (e.g. in summary buffer).
2017 2011-01-15 Kenichi Handa <handa@m17n.org>
2019 * mail/rmailmm.el (rmail-mime-next-item)
2020 (rmail-mime-previous-item): Skip the body of a non-multipart
2021 entity if a tagline is shown.
2023 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2025 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2026 (tmm-prompt): Simplify.
2027 (tmm-add-prompt): Remove unused var `win'.
2029 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2030 to minor mode which used nil accidentally to mean "turn off".
2032 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2034 * net/tramp-sh.el (tramp-find-inline-compress)
2035 (tramp-get-inline-coding): Quote command after pipe symbol for
2036 local calls under W32. (Bug#6784)
2038 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2040 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2041 only when running under W32.
2043 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2045 * progmodes/grep.el (grep-compute-defaults): Quote the program
2046 file name after the pipe symbol in Grep templates. (Bug#6784)
2047 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2049 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2051 * buff-menu.el (Buffer-menu-buffer-list): New var.
2052 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2053 restricted buffer list is not lost on revert (Bug#7749).
2055 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2057 * net/ldap.el (ldap-search-internal): Discard stderr output.
2059 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2061 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2063 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2065 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2067 2011-01-15 Kenichi Handa <handa@m17n.org>
2069 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2070 part as a plain text.
2071 (rmail-mime-process-multipart): Set the default content-type to
2072 nil for unknown multipart subtypes (bug#7651).
2074 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2076 * hexl.el (hexl-mode-old-*): Remove.
2077 (hexl-mode--old-var-vals): New var to replace them.
2078 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2079 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2080 Use them to set local vars (bug#7846).
2081 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2082 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2083 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2085 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2086 (smerge-resolve--normalize-re): New var.
2087 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2088 (smerge-resolve): Use them.
2089 * newcomment.el (comment-only-p): New function.
2090 (comment-or-uncomment-region): Use it.
2092 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2094 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2095 table, get the value before switching to the output buffer. (Bug#7733)
2097 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2099 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2101 2011-01-14 Kim F. Storm <storm@cua.dk>
2103 * emulation/cua-base.el (cua--init-keymaps):
2104 Remap exchange-point-and-mark in cua-global-keymap.
2106 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2108 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2111 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2113 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2115 (easy-menu-create-menu, easy-menu-convert-item-1):
2116 Use :label rather than nil for labels. Use `case'.
2117 Add :enable as alias for :active.
2118 (easy-menu-binding): Obey :label.
2120 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2122 Use run-mode-hooks for major mode hooks (bug#513).
2123 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2124 Rename from reftex-toc-map.
2125 (reftex-toc-mode): Use define-derived-mode.
2126 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2127 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2128 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2129 (reftex-select-label-mode, reftex-select-bib-mode):
2130 Use define-derived-mode.
2131 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2132 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2133 Move init into delcaration.
2134 (reftex-index-mode, reftex-index-phrases-mode):
2135 Use define-derived-mode.
2136 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2137 speedbar-syntax-table. Move init into declaration.
2138 (speedbar-mode-map): Rename from speedbar-key-map.
2139 Move init into declaration.
2140 (speedbar-file-key-map): Move init into declaration.
2141 (speedbar-mode): Use define-derived-mode.
2142 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2143 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2144 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2145 (chart-face-list): Move initialization into declaration.
2146 (chart-mode): Use define-derived-mode.
2147 * calculator.el (calculator-mode-map): Move init into declaration.
2148 (calculator-mode): Use define-derived-mode.
2150 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2151 work for nested comments.
2153 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2154 (prolog-use-prolog-tokenizer-flag): Change default when
2155 syntax-propertize can be used.
2156 (prolog-syntax-propertize-function): New var.
2157 (prolog-mode-variables): Move make-local-variable into `set'.
2158 Don't make comment-column local since we don't set it.
2159 Set comment-add (as it was in previous prolog.el). Use dolist.
2160 Set syntax-propertize-function.
2161 (prolog-mode, prolog-inferior-mode):
2162 Call prolog(-inferior)-menu directly, not through the mode-hook.
2163 (prolog-buffer-module, prolog-indent-level)
2164 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2165 (prolog-comment-limits, prolog-goto-comment-column):
2166 Use line-(end|beginning)-position.
2167 (prolog-build-prolog-command): Tighten up regexp.
2168 (prolog-consult-compile): Move make-local-variable into `set'.
2169 (prolog-consult-compile-filter, prolog-goto-next-paren)
2170 (prolog-help-on-predicate, prolog-clause-info)
2171 (prolog-mark-predicate): Don't let+setq.
2172 (prolog-indent-line): Use indent-line-to.
2173 Only call prolog-goto-comment-column if necessary.
2174 (prolog-indent-level): Use bobp.
2175 (prolog-first-pos-on-line): Remove, not used any more.
2176 (prolog-in-string-or-comment): Use syntax-ppss if available.
2177 (prolog-help-on-predicate): Use read-string.
2178 (prolog-goto-predicate-info): Simplify.
2179 (prolog-read-predicate): Use `default' rather than `initial'.
2180 (prolog-temporary-file): Use make-temp-file to close a security hole.
2181 (prolog-toggle-sicstus-sd): New command.
2182 (prolog-electric-underscore, prolog-variables-to-anonymous):
2183 Use dynamic-scoping as it was meant.
2184 (prolog-menu): Move menu definitions to top-level.
2185 Use a toggle-button for Sicstus's source debugger.
2186 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2188 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2189 Move other menu definition to top-level.
2191 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2193 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2194 name. Keep original document's directory as default-directory
2196 (doc-view-initiate-display): Fall back to normal mode when
2197 doc-view-mode cannot be enabled, also when extracting the document
2198 text into a separate buffer (bug#6446).
2200 * simple.el (shell-command): Don't error out if shell command
2201 buffer contains text with non-nil read-only property when erasing
2204 2011-01-13 Kim F. Storm <storm@cua.dk>
2206 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2207 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2208 items when cycling through the matches.
2210 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2212 * dired-x.el (dired-omit-verbose): New defcustom that allows
2213 disabling the omit messages.
2214 (dired-omit-expunge): Use it.
2216 2011-01-13 Christian Ohler <ohler@gnu.org>
2218 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2220 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2222 * font-lock.el (font-lock-verbose): Default to nil.
2224 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2226 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2227 (compose-mail): New arg RETURN-ACTION.
2228 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2230 * mail/sendmail.el (mail-return-action): New var.
2231 (mail-mode): Make it buffer-local.
2232 (mail-bury): Obey it. Move special Rmail window handling to
2234 (mail, mail-setup): New arg RETURN-ACTION.
2235 (sendmail-user-agent-compose): Move from simple.el.
2237 * mail/rmail.el (rmail-mail-return): New function.
2238 (rmail-start-mail): Pass it to compose-mail.
2240 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2242 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2243 menus. Add menu item for customize-themes.
2245 * cus-theme.el (customize-themes):
2246 * emacs-lisp/package.el (package--list-packages):
2247 Use switch-to-buffer.
2249 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2251 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2253 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2255 * progmodes/prolog.el: Fix up coding convention and such.
2256 (prolog-indent-width): Use the same default as in
2257 previous prolog.el rather than tab-width which depends on which buffer
2258 is current when the file is loaded.
2259 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2261 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2262 (prolog-known-systems): Remove.
2263 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2264 Move initialization into declaration.
2265 (prolog-mode-map): Move initialization into declaration.
2266 Remove system-specific mode-map vars, since they referred to the same
2268 (prolog-mode-variables): Obey the user's preference w.r.t
2269 adaptive-fill-mode. Prefer symbol-value to `eval'.
2270 (prolog-mode-keybindings-edit): Add compatibility bindings.
2271 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2272 (mercury-mode-map): New var.
2273 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2274 (prolog-ensure-process, prolog-process-insert-string)
2275 (prolog-consult-compile): Use with-current-buffer.
2276 (prolog-guess-fill-prefix): Simplify data flow.
2277 (prolog-replace-in-string): New function to use instead of
2279 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2280 (prolog-uncomment-region): Use `uncomment-region' when available.
2281 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2282 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2283 of int-to-char and char-to-int.
2284 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2286 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2288 * progmodes/prolog.el: Replace by a whole new file.
2290 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2292 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2293 (declare-function, undefined, insert-for-yank)
2294 (replace-regexp-in-string): Follow checkdoc's recommendations.
2296 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2298 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2299 refreshing the diary buffer.
2301 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2303 * allout.el: Add 2011 to the file copyright.
2304 (allout-encrypt-string): Prevent encryption from adding an extra
2305 newline at the end of the topic body.
2306 (allout-version): Increment to 2.3.
2308 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2310 * net/dbus.el (dbus-unregister-service): Complete doc.
2311 Fix call of dbus-error signal.
2312 (dbus-register-property): Use `dont-register' keyword.
2314 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2316 * net/dbus.el (dbus-unregister-service): Translate returned
2317 integer into a symbol.
2318 (dbus-register-property): Use `dbus-register-service' to do the
2321 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2323 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2324 Suggested by Joakim Verona.
2326 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2328 * wid-edit.el (visibility): Replace :on-image and :off-image
2329 widget properties with :on-glyph and :off-glyph, for consistency
2330 with the `visibility' widget.
2331 (widget-toggle-value-create, widget-visibility-value-create):
2332 Merge into a single function `widget-toggle-value-create'.
2334 * cus-edit.el (custom-variable-value-create, custom-visibility)
2335 (custom-face-edit-value-create, custom-face-value-create):
2336 Replace :on-image and :off-image widget properties with :on-glyph and
2337 :off-glyph, for consistency with the `visibility' widget.
2339 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2341 * net/ldap.el (ldap-search-internal): Don't use eval.
2343 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2345 * subr.el (read-char-choice): Use read-key.
2347 * custom.el (custom-safe-themes): Rename from
2348 custom-safe-theme-files. Add :risky tag.
2349 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2350 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2352 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2354 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2355 from Search and add a label to Undo.
2357 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2358 inappropriate buttons and adding :vert-only tags.
2360 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2361 removal of Help tool-bar button. Remove Undo button for space.
2363 * info.el (info-tool-bar-map): Add :vert-only tags.
2365 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2367 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2368 image backend support. Either of them is fine.
2370 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2372 * subr.el (y-or-n-p): Doc fix.
2374 * custom.el (custom-safe-theme-files): New defcustom.
2375 (custom-theme-load-confirm): New function.
2376 (load-theme): Load theme using `load', confirming with
2377 custom-theme-load-confirm if necessary.
2379 * subr.el (read-char-choice): New function, factored out from
2380 dired-query and hack-local-variables-confirm.
2382 * dired-aux.el (dired-query):
2383 * files.el (hack-local-variables-confirm): Use it.
2385 * dired-aux.el (dired-compress-file):
2386 * files.el (abort-if-file-too-large, find-alternate-file)
2387 (set-visited-file-name, write-file, backup-buffer)
2388 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2389 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2390 Use new format string args for y-or-n-p and yes-or-no-p.
2392 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2394 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2395 [gcc-include]: Tighten file name match, add match for column
2397 [gnu]: Remove unused group.
2399 2011-01-08 Glenn Morris <rgm@gnu.org>
2401 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2403 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2405 2011-01-07 Sam Steingold <sds@gnu.org>
2407 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2408 the `explicit-shell-file-name' because that is the
2409 non-interactive shell.
2411 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2413 * subr.el (y-or-n-p): Accept format string args.
2415 2011-01-07 Glenn Morris <rgm@gnu.org>
2417 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2419 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2421 * allout.el (allout-back-to-current-heading): Ensure return to
2422 the visible containing topic, rather than a collapsed one.
2423 (allout-view-change-hook): Remove hook that was deprecated long ago.
2424 (allout-exposure-change-hook): Remove documentation remarks
2425 concerning removed allout-view-change-hook.
2426 (allout-flag-region): Remove invocation of and documentation
2427 remarks concerning allout-view-change-hook.
2429 2011-01-06 Glenn Morris <rgm@gnu.org>
2431 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2432 (vc-bzr-annotate-extract-revision-at-line):
2433 Handle authors with embedded spaces. (Bug#7792)
2435 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2437 * doc-view.el (doc-view-image-width): New variable.
2438 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2439 backend for PNG images, and do dynamic rescaling instead of
2440 reconverting the whole doc.
2442 2011-01-05 Glenn Morris <rgm@gnu.org>
2444 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2446 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2448 * allout.el: Reconcile with changes in line movement behavior for
2449 long text lines that cross more than a single physical window
2450 line, ie when truncate-lines is nil.
2451 (allout-next-visible-heading): Provide for change in line-move
2452 behavior on long lines when truncate-lines is nil. In that case,
2453 line-move can wind up on the same textual line when it moves to
2454 the next window line, and moving to the bullet position after the
2455 move yields zero advancement. Add logic to detect and compensate
2456 for the lack of progress.
2457 (allout-current-topic-collapsed-p): move-end-of-line respect for
2458 field boundaries is different when operating with body lines
2459 shorter than window width versus ones greater than window width,
2460 which can yield false negatives in this function. Avoid
2461 difference by applying move-end-of-line while field-text-motion is
2464 2011-01-04 Glenn Morris <rgm@gnu.org>
2466 * textmodes/rst.el (rst-compile-toolsets):
2467 Add pdf and s5 to option alist.
2469 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2471 * net/dbus.el (dbus-register-property): Add optional parameter
2472 dont-register-service. Updated docstring accordingly.
2474 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2476 * textmodes/rst.el (rst-compile-pdf-preview)
2477 (rst-compile-slides-preview): Remove extra line.
2479 2011-01-04 Glenn Morris <rgm@gnu.org>
2481 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2482 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2483 default to `prog' without a .py extension.
2484 (rst-compile-pdf-preview, rst-compile-slides-preview):
2485 Use program names from rst-compile-toolsets, rather than hard-coding.
2486 (rst-portable-mark-active-p): Fix presumed typo.
2488 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2490 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2491 libpng versions both before and after 1.4.0. (Bug#7716)
2493 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2495 * time.el (display-time-mode): Mention display-time-interval in
2496 the doc string. (Bug#7713)
2498 2011-01-02 Kenichi Handa <handa@m17n.org>
2500 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2501 condition-case and return an error message string if something
2503 (rmail-show-mime): Adjust for the above change. Insert the
2504 header by rmail-mime-insert-header.
2506 2011-01-02 Kenichi Handa <handa@m17n.org>
2508 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2509 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2510 (rmail-mime-mbox-buffer)
2511 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2512 (rmail-mime-entity): Argument changed. All codes handling an
2513 entity object are changed.
2514 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2516 (rmail-mime-entity-children, rmail-mime-entity-handler)
2517 (rmail-mime-entity-tagline): New functions.
2518 (rmail-mime-message-p): New function.
2519 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2520 (rmail-mime-entity-segment, rmail-mime-next-item)
2521 (rmail-mime-previous-item, rmail-mime-shown-mode)
2522 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2523 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2524 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2526 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2527 (rmail-mime-insert-decoded-text): New function.
2528 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2529 (rmail-mime-insert-image): Argument changed. Caller changed.
2530 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2531 (rmail-mime-set-bulk-data): New function.
2532 (rmail-mime-insert-bulk): Argument changed.
2533 (rmail-mime-multipart-handler): Return t.
2534 (rmail-mime-process-multipart): Argument changed.
2535 Handle "multipart/alternative" here.
2536 (rmail-mime-process): Argument changed.
2537 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2538 (rmail-mime-insert): Argument changed. Handle raw display mode.
2539 (rmail-mime): Argument changed. Handle toggling of raw display
2541 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2542 rmail-mime-view-buffer.
2543 (rmail-insert-mime-forwarded-message): Likewise.
2544 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2546 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2547 non-nil, handle the header in rmail-show-mime-function.
2549 2011-01-02 Leo <sdl.web@gmail.com>
2551 * help-fns.el (describe-variable): Fix previous change.
2553 2011-01-02 Juri Linkov <juri@jurta.org>
2555 * isearch.el (isearch-lazy-highlight-error): New variable.
2556 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2557 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2558 to the current value of `isearch-error' (Bug#7468).
2560 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2562 * help-fns.el (describe-variable): Don't emit trailing whitespace
2565 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2567 * textmodes/rst.el (rst-compile-pdf-preview)
2568 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2570 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2572 * emulation/edt-mapper.el: Override mapping of function keys so
2573 that the later call to read-key-sequence works.
2575 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2577 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2578 Unix EOLs. (Bug#7589)
2580 2011-01-02 Leo <sdl.web@gmail.com>
2582 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2583 if point is not behind eshell-last-output-end (Bug#7585).
2585 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2587 * files.el (file-local-variables-alist):
2588 Make permanent-local (bug#7767).
2590 2011-01-02 Glenn Morris <rgm@gnu.org>
2592 * version.el (emacs-copyright): Set short copyright year to 2011.
2594 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2596 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2597 an existing temp buffer. (Bug#7746)
2599 2011-01-02 Glenn Morris <rgm@gnu.org>
2601 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2602 multiple addresses. (Bug#7760)
2604 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2606 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2607 do-auto-fill if everything points back to allout-auto-fill.
2608 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2609 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2611 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2613 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2616 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2618 * doc-view.el (doc-view-set-doc-type): New function refactored
2620 (doc-view-fallback-mode): New function.
2621 (doc-view-mode): Use it.
2622 (doc-view-mode-maybe): New function that checks if doc-view-mode
2623 can be used and falls back to the next best mode otherwise.
2625 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2626 DVI, OpenDocument, and MS Office files.
2628 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2630 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2632 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2634 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2635 on a copy of auto-mode-alist, because that deletes with side
2638 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2640 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2641 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2642 fallback instead of hard coding fundamental mode.
2644 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2646 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2647 Office) files also for searching.
2649 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2651 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2652 Office) files. Not yet enabled via auto-mode-list.
2653 (doc-view-unoconv-program): New custom variable.
2654 (doc-view-mode-p): Handle new odf document type.
2655 (doc-view-odf->pdf): New conversion function.
2656 (doc-view-convert-current-doc): Call it for odf files.
2657 (doc-view-mode): Recognize newly supported file extensions.
2659 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2661 * net/tramp.el (tramp-default-method-alist)
2662 (tramp-default-user-alist)
2663 (tramp-local-host-regexp, tramp-prefix-domain-format)
2664 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2667 * net/tramp-gvfs.el:
2669 * net/tramp-imap.el:
2671 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2672 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2674 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2676 * saveplace.el (save-place-alist-to-file): Save list sorted and
2677 pretty-printed, so that it is mergeable by line-based text merging,
2678 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2680 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2682 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2683 (allout-mode): Argument "toggle" => "force".
2684 Refine the docstring.
2685 Remove special provisions for reactivation, besides the 'force'
2687 Consolidate layout provisions coce directly into the activation
2688 condition branch, now that we've removed those provisions.
2689 (allout-unload-function): Explicitly activate the mode before
2690 deactivating, if it's initially deactivated.
2691 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2692 warnings for version of function used only where
2693 set-buffer-multibyte is unavailable.
2695 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2697 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2698 are handled by the menu-bar entries. As before, don't use
2699 :visibile to avoid changing the tool-bar.
2701 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2703 * net/secrets.el (secrets-delete-alias): New defun.
2705 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2707 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2708 methods, otherwise ~/.ssh/config would be ignored.
2710 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2712 * emacs-lisp/rx.el: Make it a superset of sregex.
2713 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2714 of args, add `regex' alias.
2715 (rx-info): Add arg to distinguish head and standalone forms.
2716 (rx-check, rx-form): Pass the corresponding arg.
2718 (rx-repeat): Make it work for any number of args.
2719 (rx-syntax): Make it accept syntax chars as is.
2720 * obsolete/sregex.el: Move from emacs-lisp/.
2721 * emacs-lisp/re-builder.el: Remove sregex support.
2722 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2724 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2726 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2727 PRIMARY first, then the clipboard. (Bug#7699)
2729 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2731 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2734 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2736 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2737 .emacs.elc (Bug#7530).
2739 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2740 image spec (Bug#7480).
2742 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2744 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2745 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2748 2010-12-20 Leo <sdl.web@gmail.com>
2750 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2751 always be performed (Bug#7680).
2753 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2755 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2756 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
2759 * color.el: Move from gnus/.
2761 * vc/diff.el (diff-better-file-name): Function deleted.
2762 abbreviating file names causes problems with shell-quote-argument.
2763 (diff-no-select): Just use expand-file-name.
2765 * tool-bar.el (tool-bar--image-expression): New function.
2766 (tool-bar-local-item, tool-bar--image-exp): Use it.
2767 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2768 Use :enable instead of :visible to avoid changing the tool-bar
2769 configuration unnecessarily.
2771 * info.el (info-tool-bar-map): Add separators.
2773 2010-12-17 Ken Brown <kbrown@cornell.edu>
2775 * loadup.el: Use version numbers in Cygwin build.
2777 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
2779 * ido.el (ido-file-internal): Ask for confirmation before
2780 overwriting an existing file (Bug#1238).
2782 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
2784 * tool-bar.el (tool-bar-setup): Add separators.
2786 * menu-bar.el (featurep): Use menu-bar-separator.
2788 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
2790 Migrate allout encryption provisions from pgg to epg.
2792 * allout.el (allout-toggle-current-subtree-encryption)
2793 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2794 defaulting policy and other changes. Change fetch-pass to keymode-cue,
2795 for simpler universal argument interpretation.
2796 (allout-toggle-subtree-encryption): Adjust docstring to describe
2797 changed encryption provisions. Change fetch-pass to keymode-cue, for
2798 simpler universal argument interpretation. Remove provisions for
2799 handling key type and identity - they'll all be within
2800 allout-encrypt-string or epg/epg or even contained all the way in gpg.
2801 (allout-encrypt-string): Include keymode-cue, for optionally prompting
2802 for keypair recipients (universal argument > 1) and, in addition,
2803 associating the specified recipients with the outline (universal
2804 argument > 4) using a file local variable setting for
2805 'epa-file-encrypt-to'.
2806 Require epa, for recipients handling.
2807 Change how regexp filtering elements are named.
2808 Describe the problem with caching of incorrect symmetric-decryption
2810 Use the epa-passphrase-callback-function, in case the user is using
2812 Support saving of the selected keypair recipients when invoked with a
2814 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2816 Establish epg-context with armoring and default epg-protocol.
2817 Remove all passphrase cache, verification, and hinting code.
2818 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2819 No longer used, delete.
2820 (allout-mode): Adjust docstring to describe changed encryption
2821 provisions. Describe the problem with caching of incorrect
2822 symmetric-decryption keys.
2823 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2824 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2825 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2826 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2829 2010-12-16 Daiki Ueno <ueno@unixuser.org>
2831 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2832 key selection prompt; make 'silent as default (Bug#7487).
2834 2010-12-16 Leo <sdl.web@gmail.com>
2836 * eshell/eshell.el (eshell-directory-name):
2837 Use locate-user-emacs-file (Bug#7578).
2839 2010-12-15 Glenn Morris <rgm@gnu.org>
2841 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2843 2010-12-15 Jari Aalto <jari.aalto@cante.net>
2844 Scott Evans <gse@antisleep.com>
2846 * rect.el (rectange--default-line-number-format)
2847 (rectangle-number-line-callback): New functions.
2848 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2850 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
2852 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2853 Delete unused variables.
2854 (move-to-column-force): Remove function obsolete since 21.2.
2856 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
2858 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2859 (tramp-handle-insert-file-contents): Do not set permanent-local
2862 * net/tramp-cache.el (tramp-persistency-file-name):
2863 Use `locate-user-emacs-file' if fboundp.
2865 * net/tramp-sh.el (tramp-methods): Add "ksu".
2866 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2869 2010-12-14 Glenn Morris <rgm@gnu.org>
2871 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2872 (find-tag-marker-ring): Declare.
2873 (js-find-symbol): Require etags.
2875 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2877 (mail-alias-file): Don't autoload. Doc fix.
2878 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2879 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2880 Mark as obsolete, and risky.
2881 (mail-setup): Simplify.
2883 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2884 * mail/sendmail.el (build-mail-aliases): Update autoload.
2886 * dired.el (dired-trivial-filenames, dired-chown-program)
2887 (dired-auto-revert-buffer): Remove autoload cookies.
2888 * mail/sendmail.el (mail-recover-1): Require 'dired.
2890 * dired.el (dired-subdir-switches, dired-chown-program)
2891 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2892 Make into defcustoms.
2893 (dired-chown-program): Simplify initialization.
2895 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2897 2010-12-13 Romain Francoise <romain@orebokech.com>
2899 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2901 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2903 * net/netrc.el (netrc-point-at-eol): Remove the unused
2904 netrc-point-at-old and netrc-bound-and-true-p bindings.
2905 (netrc-parse): Cache the netrc contents.
2907 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2909 * subr.el (posn-col-row): Evaluate header-line-format in the
2910 context of the POSITION window's buffer.
2912 2010-12-13 Glenn Morris <rgm@gnu.org>
2914 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2915 (with-silent-modifications): Doc fixes.
2917 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2919 * net/tramp.el (tramp-action-password, tramp-process-actions):
2920 Revert previous from. Use `save-restriction'.
2922 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2924 * calendar/diary-lib.el (diary-list-sexp-entries):
2925 Handle case of no newline at end of file. (Bug#7536)
2927 2010-12-13 Glenn Morris <rgm@gnu.org>
2929 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2931 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2933 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2934 (tramp-process-actions): Do not widen.
2936 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2937 Protect buffer-modified value. (Bug#7557)
2939 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2941 * log-edit.el (log-edit-changelog-entries):
2942 Regexp quote filename. (Bug#7505)
2944 2010-12-13 Tom Breton <tehom@panix.com>
2946 * cus-edit.el (custom-save-all):
2947 Bind print-length and print-level to nil. (Bug#7581)
2949 2010-12-13 Glenn Morris <rgm@gnu.org>
2951 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2952 Run hooks to update menu contents. (Bug#7586)
2954 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2955 file names, for the sake of MS Windows. (Bug#7588)
2957 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2959 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2960 empty lines without a leading space.
2962 2010-12-13 Leo <sdl.web@gmail.com>
2964 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2965 while mapping over marks (Bug#6810).
2967 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2969 * image-dired.el (image-dired-db-file)
2970 (image-dired-temp-image-file, image-dired-gallery-dir)
2971 (image-dired-temp-rotate-image-file): Set default values relative
2972 to image-dired-dir (Bug#7518).
2974 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2976 * format.el (format-decode-run-method): Pass args FROM and TO, not
2977 point-min and point-max, to shell-command-on-region (Bug#7488).
2979 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2981 * frame.el (blink-cursor-mode): Make default t for ns.
2983 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2985 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2987 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2989 * comint.el (comint-dynamic-list-input-ring)
2990 (comint-dynamic-complete-filename)
2991 (comint-replace-by-expanded-filename)
2992 (comint-dynamic-simple-complete)
2993 (comint-dynamic-list-filename-completions)
2994 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2996 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2999 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3001 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3004 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3006 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3009 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3011 * files.el (file-relative-name): Handle UNC file names on
3012 DOS/Windows. (Bug#4674)
3014 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3016 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3017 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3018 (epg-context-set-passphrase-callback): Mention that the callback
3019 is not called when used with GnuPG 2.x.
3021 2010-12-13 Glenn Morris <rgm@gnu.org>
3023 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3024 Ensure ps-footer-font-size-internal is initialized.
3025 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3027 2010-12-13 Kenichi Handa <handa@m17n.org>
3029 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3030 within condition-case.
3031 (rmail-show-mime): Don't use condition-case.
3032 (rmail-search-mime-message): New function.
3033 (rmail-search-mime-message-function): Set to
3034 rmail-search-mime-message.
3036 2010-12-13 Leo <sdl.web@gmail.com>
3038 * ido.el (ido-common-initialization): New function. (bug#3274)
3040 (ido-completing-read): Call it.
3042 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3044 * bookmark.el (bookmark-name-from-full-record): Rename back to
3045 this original name from `bookmark-name-from-record' reverting part
3046 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3047 As Drew Adams pointed out, there was no reason to cause churn for
3048 third-party callers. (Bug#7609)
3050 2010-12-12 Alan Mackenzie <acm@muc.de>
3052 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3053 template arglist, check that the current language supports this.
3055 2010-12-11 Glenn Morris <rgm@gnu.org>
3057 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3058 state of the file matches. (Bug#7544)
3059 (vc-bzr-register, vc-bzr-checkin)
3060 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3061 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3063 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3065 2010-12-11 Karel Klíč <kklic@redhat.com>
3067 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3069 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3071 Derive from prog-mode, use derived-mode-p, and fix up various
3072 minor style issues in lisp/progmodes.
3074 * progmodes/vhdl-mode.el (vhdl-mode):
3075 * progmodes/verilog-mode.el (verilog-mode):
3076 * progmodes/vera-mode.el (vera-mode):
3077 * progmodes/sql.el (sql-mode):
3078 * progmodes/scheme.el (scheme-mode):
3079 * progmodes/perl-mode.el (perl-mode):
3080 * progmodes/octave-inf.el (inferior-octave-mode):
3081 * progmodes/autoconf.el (autoconf-mode):
3082 * progmodes/m4-mode.el (m4-mode):
3083 * progmodes/inf-lisp.el (inferior-lisp-mode):
3084 * progmodes/idlwave.el (idlwave-mode):
3085 * progmodes/icon.el (icon-mode):
3086 * progmodes/idlw-help.el (idlwave-help-mode):
3087 * progmodes/dcl-mode.el (dcl-mode):
3088 * progmodes/idlw-shell.el (idlwave-shell-mode):
3089 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3090 (ebrowse-member-mode, ebrowse-electric-position-mode):
3091 Use define-derived-mode.
3093 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3094 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3095 (xscheme-debugger-mode-p, xscheme-send-string-1):
3096 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3097 (tcl-load-file, tcl-restart-with-file):
3098 * progmodes/ps-mode.el (ps-run-running):
3099 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3100 * progmodes/js.el (js--get-all-known-symbols):
3101 * progmodes/inf-lisp.el (inferior-lisp-proc):
3102 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3103 (idlwave-template, idlwave-update-buffer-routine-info)
3104 (idlwave-update-current-buffer-info)
3105 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3106 (idlwave-scan-class-info, idlwave-fix-keywords)
3107 (idlwave-list-buffer-load-path-shadows):
3108 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3109 (idlwave-toolbar-remove):
3110 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3111 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3112 (idlwave-shell-menu-def):
3113 * progmodes/idlw-complete-structtag.el
3114 (idlwave-prepare-structure-tag-completion):
3115 * progmodes/gud.el (gud-set-buffer):
3116 * progmodes/f90.el (f90-backslash-not-special):
3117 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3119 * progmodes/xscheme.el (xscheme-start)
3120 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3121 * progmodes/which-func.el (which-function):
3122 * progmodes/vhdl-mode.el (vhdl-set-style):
3123 * progmodes/verilog-mode.el (verilog-set-compile-command)
3124 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3125 (verilog-set-define, verilog-auto-reeval-locals):
3126 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3127 * progmodes/simula.el (simula-mode):
3128 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3129 * progmodes/python.el (python-check, python-mode):
3130 * progmodes/prolog.el (prolog-mode-variables):
3131 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3132 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3133 * progmodes/delphi.el (delphi-mode):
3134 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3135 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3136 (c-font-lock-init): Move make-local-variable to their setq.
3138 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3139 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3141 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3142 (sh-set-shell): Don't set require-final-newline since it's already done
3144 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3145 since we never set it.
3146 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3147 Use read-string and standard prompt.
3148 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3149 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3150 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3151 (meta-common-mode-map): Rename from meta-mode-map.
3152 Remove C-m binding, which is a user preference, not mode specific.
3153 (meta-common-mode): New major mode; replace meta-common-initialization.
3154 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3155 around with font-lock.
3156 * progmodes/etags.el (select-tags-table-mode):
3157 Derive from special-mode.
3158 * progmodes/octave-mod.el (octave-mode):
3159 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3160 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3161 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3162 Let define-derived-mode do its job.
3163 * progmodes/cpp.el (cpp-edit-mode-map):
3164 Move initialization into declaration.
3165 (cpp-edit-mode): Use define-derived-mode.
3166 (cpp-edit-load): Use derived-mode-p.
3167 * progmodes/mixal-mode.el (mixal-mode):
3168 * progmodes/f90.el (f90-mode):
3169 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3170 require-final-newline since prog-mode does it already.
3171 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3172 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3173 * progmodes/antlr-mode.el: Require cc-mode upfront.
3174 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3176 (antlr-directory-dependencies, antlr-show-makefile-rules):
3178 (antlr-language-option): Don't assume point-min==1.
3179 (antlr-mode): Use define-derived-mode.
3180 * progmodes/ada-mode.el: Use derived-mode-p.
3181 (ada-mode): Use define-derived-mode.
3182 Use hack-local-variables-hook.
3184 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3186 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3187 (texinfo-mode): Don't disable adaptive-fill-mode.
3188 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3189 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3190 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3191 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3192 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3193 (texinfo-insert-@quotation, texinfo-insert-@samp)
3194 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3195 (texinfo-insert-@uref): Use define-skeleton.
3196 (texinfo-insert-@-with-arg): Delete.
3198 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3200 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3201 nil, do quote archive member names. (Bug#6144)
3203 2010-12-10 Glenn Morris <rgm@gnu.org>
3205 * files.el (diff-no-select): Declare.
3207 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3208 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3210 * comint.el (comint-input-ring-file-name): Doc fix.
3212 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3214 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3216 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3217 Use them instead of `nil' and `>', respectively.
3218 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3220 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3221 and menu-bar-positive-p instead of `nil' and `>', respectively.
3224 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3226 * whitespace.el (whitespace-newline-mode): Code fix.
3228 2010-12-09 Glenn Morris <rgm@gnu.org>
3230 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3231 Rename functions without commas, update callers.
3233 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3235 * whitespace.el (whitespace-cleanup-region):
3236 Clean up spaces before tabs. (Bug#7582)
3238 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3240 * bookmark.el: Adjust parameter names and doc strings to resolve
3241 confusion over whether "bookmark" meant a bookmark name or a
3242 bookmark record. Along the way, shorten one function's name for
3243 similar reasons. (Issue #7548)
3244 (bookmark-name-from-record): New name for
3245 `bookmark-name-from-full-record'. All callers changed.
3246 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3247 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3248 (bookmark-get-annotation, bookmark-set-annotation)
3249 (bookmark-get-filename, bookmark-set-filename)
3250 (bookmark-get-position, bookmark-set-position)
3251 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3252 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3253 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3254 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3255 Rename `bookmark' parameter to `bookmark-name-or-record', to
3256 clearly show its role, and shorten or adjust doc strings accordingly.
3257 (bookmark-set-name): Same, and pass the parameter directly to
3258 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3259 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3260 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3261 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3262 and in some cases shorten doc string accordingly.
3263 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3264 and `new-name', and adjust an internal variable to avoid confusion.
3265 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3266 parameter in doc string.
3268 2010-12-08 Glenn Morris <rgm@gnu.org>
3270 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3271 from gdb's history file. (Bug#7575)
3273 * mail/emacsbug.el (report-emacs-bug):
3274 Try to handle some other mail clients.
3276 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3278 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3279 Use string-prefix-p.
3280 (file-name-version-regexp): New var.
3281 (file-name-sans-versions):
3282 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3283 (jka-compr-get-compression-info): Use dolist.
3284 (jka-compr-compression-info-list): Don't bother specifying
3285 version/backup regexps.
3287 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3289 * simple.el (just-one-space): Make argument n default to 1 if
3292 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3294 * electric.el (electric-indent-post-self-insert-function):
3295 Delete trailing newlines even if we don't reindent.
3297 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3299 * minibuffer.el (completion-at-point): Remove the `arg'.
3300 * bindings.el (complete-symbol): Move back from minibuffer.el.
3302 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3304 * simple.el (just-one-space): Delete newlines for negative arg.
3306 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3308 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3309 (ansi-color-filter-apply): Simplify.
3310 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3312 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3314 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3316 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3318 * dired.el (dired-use-ls-dired): Set default to a special
3319 "unspecified" value.
3320 (dired-insert-directory): When called the first time, check
3321 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3323 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3325 * replace.el: Add "collect" feature to occur.
3326 (occur-collect-regexp-history): New var.
3327 (occur-read-primary-args): Return a replace string for nlines,
3329 (occur): Extend the meaning of nlines.
3331 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3333 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3334 (which-func-update-1): Distinguish symbols from strings.
3335 (which-function): Stay within 80 columns.
3337 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3339 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3341 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3343 (comment-style): Use comment-styles's docs to describe values.
3345 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3347 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3348 and ns-show-prefs (Bug#7535).
3350 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3351 bindings (Bug#7535).
3353 2010-12-03 Glenn Morris <rgm@gnu.org>
3355 * nxml/nxml-mode.el: Require rng-nxml.
3356 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3357 Remove declarations.
3359 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3360 * nxml/rng-nxml.el, nxml/rng-valid.el:
3361 Remove leading `*' from defcustom docs.
3363 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3364 (normal-top-level-add-to-load-path, tty-handle-args):
3365 Convert comments to basic doc-strings.
3367 * net/browse-url.el (browse-url-url-at-point)
3368 (browse-url-default-browser): Remove autoload cookies.
3370 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3371 Remove more undefined cl functions.
3373 * vc/diff.el (diff-sentinel): Make new arguments optional.
3374 * ibuf-ext.el (diff-sentinel): Update declaration.
3376 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3378 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3379 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3380 (epg-context-set-passphrase-callback): Mention that the callback
3381 is not called when used with GnuPG 2.x.
3383 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3385 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3386 (tramp-file-name-port): Check also for `tramp-default-port'.
3387 (tramp-get-connection-name): New defun.
3388 (tramp-get-connection-process): Use it.
3389 (tramp-debug-message): Extend function exclude list.
3390 (tramp-drop-volume-letter): Fix doc string.
3392 * net/tramp-cmds.el: Remove solved todo item.
3395 * net/tramp-gvfs.el:
3397 * net/tramp-imap.el:
3398 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3399 and `tramp-default-user-alist', respectively.
3401 * net/tramp-gw.el (tramp-gw-open-connection):
3402 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3404 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3405 `tramp-file-name-port'.
3407 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3408 and "psftp". Exchange "%k" marker with options.
3409 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3410 Compute size of link target.
3411 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3412 `tramp-current-*' up due to gateway methods. Optimize computing of
3413 copy arguments. Use `tramp-get-connection-name' and
3414 `tramp-get-connection-buffer'. Improve debug messages.
3415 (tramp-compute-multi-hops): Remove port determination.
3416 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3418 * net/trampver.el: Update release number.
3420 2010-12-02 Glenn Morris <rgm@gnu.org>
3422 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3423 Avoid infinite loop over windows. (Bug#7492)
3425 * progmodes/flymake.el (flymake-check-file-limit):
3426 Allow nil to mean "no limit".
3427 (flymake-check-patch-master-file-buffer): Update for above change.
3428 Allow a .tex file-name extension to be optional.
3429 (flymake-master-tex-init): Also match \include statements.
3431 2010-11-30 Sam Steingold <sds@gnu.org>
3433 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3434 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3435 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3436 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3437 define-derived-mode').
3438 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3439 users who want to call `nxml-parent-document-set'.
3441 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3443 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3444 stand-alone lines, since that is handled by log-edit-match-to-eoh
3447 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3449 * dired.el (dired-get-filename): Replace backslashes with slashes
3450 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3451 * locate.el (locate-default-make-command-line): Don't consider
3452 drive letter and root directory part of
3453 `directory-listing-before-filename-regexp'. (Bug#7308)
3454 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3456 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3458 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3459 of :smie-open/close-alist.
3460 (smie-next-sexp): Make it accept a "start token" as argument.
3461 (smie-indent-keyword): Be careful not to misidentify tokens that span
3462 more than one line, as empty lines. Add argument `token'.
3464 2010-11-27 Kenichi Handa <handa@m17n.org>
3466 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3467 multipart subtypes, insert all as usual.
3469 * mail/rmail.el: Require rfc2047.
3471 2010-11-27 Kenichi Handa <handa@m17n.org>
3473 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3474 (rmail-mime-entity-disposition)
3475 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3476 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3477 (rmail-mime-save): Handle the case that the button's `data' is a
3479 (rmail-mime-insert-text): New function.
3480 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3481 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3482 (rmail-mime-insert-bulk): New function mostly copied from the old
3483 rmail-mime-bulk-handler.
3484 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3485 (rmail-mime-process-multipart): New function mostly copied from
3486 the old rmail-mime-multipart-handler.
3487 (rmail-mime-show): Just call rmail-mime-process.
3488 (rmail-mime-process): New function mostly copied from the old
3490 (rmail-mime-insert-multipart, rmail-mime-parse)
3491 (rmail-mime-insert, rmail-show-mime)
3492 (rmail-insert-mime-forwarded-message)
3493 (rmail-insert-mime-resent-message): New functions.
3494 (rmail-insert-mime-forwarded-message-function): Set to
3495 rmail-insert-mime-forwarded-message.
3496 (rmail-insert-mime-resent-message-function): Set to
3497 rmail-insert-mime-resent-message.
3499 * mail/rmailsum.el: Require rfc2047.
3500 (rmail-header-summary): Handle multiline Subject: field.
3501 (rmail-summary-line-decoder): Change the default to
3502 rfc2047-decode-string.
3504 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3505 (rmail-mime-feature): Change the default to `rmailmm'.
3506 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3507 (rmail-display-labels): Likewise.
3508 (rmail-show-message-1): Check rmail-enable-mime, and use
3509 rmail-show-mime-function for a MIME message. Decode the headers
3510 according to RFC2047.
3512 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3514 * progmodes/which-func.el (which-func-imenu-joiner-function):
3515 Return a string, as expected.
3516 (which-function-mode): Make sure we stop any previous timer before
3519 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3521 * net/tramp.el (tramp-default-method-alist)
3522 (tramp-default-user-alist, tramp-default-proxies-alist):
3523 Adapt custom options type. (Bug#7445)
3525 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3527 * progmodes/python.el: Add Ipython support (Bug#5390).
3528 (python-shell-prompt-alist)
3529 (python-shell-continuation-prompt-alist): New options.
3530 (python--set-prompt-regexp): New function.
3531 (inferior-python-mode, run-python, python-shell):
3532 Require ansi-color. Use python--set-prompt-regexp to set the comint
3533 prompt based on the Python interpreter.
3534 (python--prompt-regexp): New var.
3535 (python-check-comint-prompt)
3536 (python-comint-output-filter-function): Use it.
3537 (run-python): Use a pipe (Bug#5694).
3539 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3541 * progmodes/python.el (run-python): Doc fix.
3542 (python-keep-current-directory-in-path): New var (Bug#7454).
3544 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3546 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3547 Prompt user before actually printing.
3549 2010-11-27 Glenn Morris <rgm@gnu.org>
3551 * startup.el (package-enable-at-startup, package-initialize):
3552 Remove unnecessary declarations.
3554 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3556 * international/characters.el (glyphless-char-display-control):
3557 Exclude newline and TAB from the c0-control group.
3559 2010-11-27 Glenn Morris <rgm@gnu.org>
3561 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3562 (expand-mail-aliases): Remove unnecessary autoload.
3564 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3566 * shell.el (shell-dir-cookie-re): Move definition before use.
3568 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3569 Replace undefined CL functions.
3571 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3573 * simple.el (prog-mode): Set bidi-paragraph-direction to
3576 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3578 2010-11-26 Glenn Morris <rgm@gnu.org>
3580 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3581 diary-outlook-formats can be sensitive to calendar-date-style.
3582 (diary-outlook-formats): Simplify the default setting.
3583 (diary-from-outlook-internal): Pass subject and body as arguments.
3584 Use dolist rather than dotimes. Don't save the diary buffer.
3585 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3586 Pass subject and body as explicit arguments to the -internal function.
3588 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3590 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3591 parsing them. This makes mailto:...?subject=foo\nbar work.
3593 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3595 * vc/diff.el (diff): Fix last change.
3597 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3599 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3600 (pcase--dontcare-upats): New var.
3601 (pcase-let, pcase-let*): Generate better code.
3602 Accept the same bodies as `let'.
3603 (pcase-dolist): New macro.
3604 (pcase--trivial-upat-p): New helper function.
3605 (pcase--expand): Strip leading "(let nil" if any.
3607 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3609 * mail/mailclient.el (browse-url): Require.
3610 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3611 use the external browser function to send the mail (bug#7469).
3613 * net/browse-url.el (browse-url-browser-function): Revert the
3614 default back to the previous value, since the new value broke
3616 (browse-url-mailto-function): New variable for mailto: URLs.
3617 (browse-url): Use the new variable for mailto: URLs.
3619 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3621 * eshell/esh-cmd.el (eshell-parse-command):
3622 * eshell/esh-arg.el (eshell-parse-arguments):
3623 * eshell/em-script.el (eshell-source-file):
3624 Use with-silent-modifications.
3626 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3628 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3629 for a merge location.
3631 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3632 (vc-bzr-merge-branch): Always prompt.
3633 (vc-bzr-async-command): Use the full branch filename.
3635 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3637 * shell.el (shell): Use current-buffer by default if it's already
3638 a shell mode buffer and its process is dead.
3639 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3641 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3643 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3644 Mention that the keywords should be comma separated.
3646 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3648 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3649 Accept optional prefix arg meaning to prompt for a command.
3650 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3651 prefix arg meaning to prompt for a command.
3652 (vc-pull): Alias for vc-update.
3654 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3655 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3656 (vc-bzr-merge-branch): New functions, implementing merge-branch
3657 and pull operations.
3659 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3661 * Makefile.in: Fix up last merge.
3663 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3664 (diff-sentinel): Get them as arguments instead.
3665 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3666 (diff-file-local-copy, diff-better-file-name): New funs.
3667 (diff-no-select): Rename from diff-into-buffer.
3668 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3669 Prefer closures to buffer-local variables.
3670 (diff): Adjust accordingly.
3671 (diff-buffer-with-file): Move from files.el.
3672 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3673 (diff-buffer-internal): Remove.
3674 (diff-buffer-buffer): Remove.
3675 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3676 the buffer name used, and so as not to mess up windows and frames.
3678 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3680 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3681 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3682 (diff-buffer-with-file): Use it.
3683 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3686 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3688 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3689 \ref's or \pageref's value as default instead of initial input.
3691 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3693 * files.el (backup-by-copying-when-mismatch): The default value is
3696 * startup.el (normal-top-level):
3697 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3698 `backup-by-copying-when-mismatch'.
3700 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3702 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3704 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3706 * progmodes/python.el (python-font-lock-keywords):
3707 Highlight top-level augmented assignments (Bug#6445).
3709 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3711 * term/ns-win.el (ns-right-control-modifier)
3712 (ns-right-command-modifier): Defvar them.
3714 * cus-start.el (all): Add ns-right-control-modifier and
3715 ns-right-command-modifier (Bug#7458).
3717 2010-11-20 Glenn Morris <rgm@gnu.org>
3719 * emacs-lisp/authors.el (authors-ignored-files)
3720 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3722 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3724 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3725 (report-emacs-bug-parse-query-results)
3726 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3727 keywords used for querying the bug database to show them in the
3728 existing bugs buffer.
3730 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3732 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3734 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3736 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3738 * international/characters.el (glyphless-char-display-control):
3739 Make it a defcustom, with update-glyphless-char-display as its
3741 (top level): Don't call update-glyphless-char-display.
3743 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3745 Sync with Tramp 2.2.0.
3747 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3748 `file-remote-p' (due to compatibility).
3750 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3751 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3753 * net/trampver.el: Update release number.
3755 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3757 * faces.el (glyphless-char): Define value for `pc'.
3759 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3761 Implemented a bug querying mechanism.
3762 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3763 (report-emacs-bug-create-existing-bugs-buffer)
3764 (report-emacs-bug-parse-query-results)
3765 (report-emacs-bug-query-existing-bugs): New functions.
3767 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
3769 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3770 a \ref{} or \pageref{} macro, then use its value as initial input.
3772 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3774 * calc/calc-units.el (math-build-units-table-buffer):
3775 calc/README: Mention that the TeX specific units won't use the
3776 `tex' prefix in TeX mode.
3777 calc/calc-lang.el (math-variable-table): Don't use the `tex'
3778 prefix for units in TeX mode.
3780 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3782 * simple.el (kill-new, kill-append, kill-region):
3783 * comint.el (comint-kill-region): Make the yank-handler argument
3786 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3788 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3789 that are both openers (resp. closers) and something else.
3790 (smie-grammar): Loosen definition of valid values.
3791 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3792 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3793 (smie-indent-after-keyword): Adjust users.
3794 (smie-indent-keyword): Don't indent empty lines.
3796 * vc-hg.el (vc-hg-program): New var.
3797 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3798 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3800 2010-11-18 Glenn Morris <rgm@gnu.org>
3802 * emacs-lisp/autoload.el (autoload-find-destination): The function
3803 coding-system-eol-type may return non-numeric values. (Bug#7414)
3805 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
3807 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3809 2010-11-18 Eli Zaretskii <eliz@gnu.org>
3811 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
3813 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
3815 * textmodes/picture.el (picture-mouse-set-point): Don't use
3816 posn-col-row; explicitly compute the motion based on the posn at
3817 the window-start (Bug#7390).
3819 2010-11-18 Glenn Morris <rgm@gnu.org>
3821 * novice.el (disabled-command-function):
3822 Fix 2009-11-15 change. (Bug#7384)
3824 2010-11-18 Glenn Morris <rgm@gnu.org>
3826 * calendar/calendar.el (diary-iso-date-forms): Make elements
3827 mutually exclusive. (Bug#7377)
3829 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3831 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3832 when filling the remaining "unconstrained" values.
3834 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3836 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3839 * files.el (safe-local-variable-p): Gracefully handle errors.
3841 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3842 Use smie-indent-virtual when indenting relative to an opener.
3843 (smie-rule-separator): Use smie-rule-parent.
3844 (smie-indent-keyword): Consult rules, even for openers at bol.
3845 (smie-indent-comment-close): Try to align closer's content.
3847 2010-11-18 Glenn Morris <rgm@gnu.org>
3849 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3851 2010-11-18 Glenn Morris <rgm@gnu.org>
3853 * printing.el (pr-menu-bind): Doc fix.
3855 * speedbar.el (speedbar-toggle-images): Doc fix.
3857 * progmodes/python.el (python-shell): Doc fix.
3859 * wid-edit.el (widget-field-use-before-change)
3860 (widget-use-overlay-change): Doc fixes.
3862 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3864 Minor cleanup to improve style.
3865 * textmodes/rst.el (rst-update-section): Use point-marker.
3866 (rst-get-decoration): Eliminate unneeded assignment.
3867 (rst-promote-region, rst-straighten-decorations)
3868 (rst-section-tree, rst-adjust): Use point-marker.
3869 (rst-toc-mode-mouse-goto): Avoid setq.
3870 (rst-shift-region-guts, rst-shift-region-left)
3871 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3872 (rst-convert-bullets-to-enumeration): Use copy-marker.
3874 * minibuffer.el (completion-fail-discreetly): New var.
3875 (completion--do-completion): Use it.
3877 * electric.el (electric-pair-pairs): New var.
3878 (electric-pair-post-self-insert-function): Use it.
3879 (electric-layout-post-self-insert-function): Don't insert a before
3880 newline unless it's actually needed.
3882 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3884 * progmodes/python.el (run-python): Explain why we remove the current
3885 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3887 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3889 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3891 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3892 (octave-mode-map): Don't bind ;, SPC, and LF.
3893 (octave-auto-indent, octave-auto-newline): Remove.
3894 (electric-layout-rules): Declare.
3895 (octave-mode): Set electric-layout-rules.
3896 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3897 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3898 (octave-electric-space): Remove.
3900 * electric.el (electric-layout-mode): New minor mode.
3901 (electric--after-char-pos): New function.
3902 (electric-indent-post-self-insert-function): Use it.
3903 (electric-layout-rules): New var.
3904 (electric-layout-post-self-insert-function): New function.
3905 (electric-indent-mode): Make them interact better.
3907 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3909 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3910 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3911 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3913 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3915 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3916 Make sure to check inside the word (Bug#6761).
3918 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3920 * startup.el (command-line): If the cursorColor resource is set,
3921 change the cursor face-spec (Bug#7392).
3923 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3925 The main features of the following allout.el changes are:
3926 - implement user customization for the allout key bindings
3927 - add a customization control by which the user can inhibit use of
3928 a trailing Ctrl-H, so by default it's reserved for use with
3929 describe-prefix-bindings
3930 - adapt to new version of called-interactively-p, while
3931 maintaining backwards compatibility with old version
3932 - fix hotspot navigation so i works properly with meta-modified keys
3934 * allout.el (allout-keybindings, allout-bind-keys)
3935 (allout-keybindings-binding, allout-prefixed-keybindings)
3936 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3937 (allout-keybindings-list, allout-mode-map-adjustments)
3938 (allout-setup-mode-map): Establish allout-mode keymaps as user
3939 customizable settings, and also establish a customizable setting which
3940 regulates whether or not a trailing control-h is reserved for use with
3941 describe-prefix-bindings - and inhibit it by default, so that control-h
3942 *is* reserved for describe-prefix-bindings unless the user changes it.
3944 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3945 and accurately between modified and unmodified events, and handle
3946 modified events more comprehensively.
3948 * allout.el (allout-substring-no-properties):
3949 Alias to use or provide version of `substring-no-properties'.
3950 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3952 * allout.el (allout-next-single-char-property-change):
3953 Alias to use or provide version of `next-single-char-property-change'.
3954 (allout-annotate-hidden, allout-hide-by-annotation):
3955 Use `allout-next-single-char-property-change'.
3957 * allout.el (allout-select-safe-coding-system):
3958 Alias to use or provide version of `select-safe-coding-system'.
3959 (allout-toggle-subtree-encryption):
3960 Use `allout-select-safe-coding-system'.
3962 * allout.el (allout-set-buffer-multibyte):
3963 Alias to use or provide version of `set-buffer-multibyte'.
3964 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3966 * allout.el (allout-called-interactively-p): Macro for using the
3967 different versions of called-interactively-p identically, depending on
3968 the subroutine's argument signature.
3969 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3970 Use `(interactive "p")' instead of `(called-interactively-p)'.
3972 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3973 (allout-previous-visible-heading, allout-forward-current-level)
3974 (allout-backward-current-level, allout-show-children):
3975 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3977 * allout.el (allout-before-change-handler):
3978 Exempt edits to the (overlaid) character after the allout outline
3979 bullet from edit confirmation prompt.
3981 * allout.el (allout-add-resumptions):
3982 Ensure that it respects correct buffer for keybindings.
3984 * allout.el (allout-beginning-of-line):
3985 Use `allout-previous-single-char-property-change' alias for the sake of
3986 diverse compatibility.
3988 * allout.el (allout-end-of-line):
3989 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3991 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3993 * frame.el (frame-notice-user-settings): Don't clobber other
3994 user-set parameters when calling face-set-after-frame-default in
3995 response to background-color parameter (Bug#7373).
3997 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3999 * international/characters.el (glyphless-char-display-control):
4000 Rename from glyphless-char-control; all users changed. Doc fix.
4001 Signal an error if display method is not one of the recognized
4004 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4006 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4007 (tramp-compat-line-end-position): Remove them.
4009 * net/tramp.el (tramp-parse-rhosts-group)
4010 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4011 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4012 (tramp-parse-netrc-group, tramp-parse-putty-group)
4013 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4014 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4015 (tramp-sh-handle-file-selinux-context)
4016 (tramp-sh-handle-file-name-all-completions)
4017 (tramp-sh-handle-insert-directory)
4018 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4019 (tramp-wait-for-output, tramp-send-command-and-read)
4020 * net/tramp-smb.el (tramp-smb-read-file-entry)
4021 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4023 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4025 (tramp-remote-coding-commands): Add an alternative using "base64
4026 -d -i". This is needed for older base64 versions from GNU
4027 coreutils. Reported by Klaus Reichl
4028 <Klaus.Reichl@thalesgroup.com>.
4030 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4032 * simple.el (count-words-region): New function.
4034 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4036 * shell.el (shell-dir-cookie-re): New custom variable.
4037 (shell-dir-cookie-watcher): New function.
4039 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4040 and compilation-mode (bug#7350).
4042 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4043 highlight when one of them is empty.
4045 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4047 (skeleton-newline): New function.
4048 (skeleton-internal-1): Use it.
4050 * simple.el (open-line): `newline' may strip trailing space.
4052 2010-11-12 Kevin Ryde <user42@zip.com.au>
4054 * international/mule-cmds.el (princ-list): Use mapc.
4056 2010-11-12 Glenn Morris <rgm@gnu.org>
4058 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4059 Use it to replace all instances of "*Compile-Log*"
4061 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4063 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4066 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4068 * progmodes/modula2.el: Use SMIE and skeleton.
4069 (m2-mode-syntax-table): (*..*) can be nested.
4070 Add //...\n. Fix paren syntax.
4071 (m2-mode-map): Remove LF and TAB bindings.
4072 (m2-indent): Add safety property.
4073 (m2-smie-grammar): New var.
4074 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4075 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4076 (m2-mode): Use define-derived-mode.
4077 (m2-newline, m2-tab): Remove.
4078 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4079 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4080 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4081 (m2-import): Use define-skeleton.
4083 2010-11-11 Glenn Morris <rgm@gnu.org>
4085 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4087 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4088 (ls-lisp-verbosity): Add custom :set-after property.
4089 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4090 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4091 (ls-lisp-insert-directory): Update caller.
4092 (ls-lisp-set-options): New function.
4093 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4096 * play/landmark.el (lm-prompt-for-move):
4097 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4099 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4101 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4102 (idlwave-study-twins): Prefix dynamic local variable `name'.
4103 (idlwave-routine-twin-compare): Update for above change.
4105 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4106 Prefix dynamic local variables `name', `kwd', and `link'.
4107 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4108 * progmodes/idlw-complete-structtag.el
4109 (idlwave-complete-structure-tag-help):
4110 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4111 (idlwave-complete-sysvar-tag-help)
4112 (idlwave-complete-class-structure-tag-help):
4113 Update for above name changes.
4115 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4117 * net/browse-url.el (browse-url-browser-function): Change the
4118 default to use `browse-url-mail' on mailto: URLs.
4120 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4122 * emacs-lisp/package.el (package-read-all-archive-contents):
4123 Reset package-archive-contents to nil before re-reading.
4125 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4127 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4128 already found as misspellings by (flyspell-large-region), just
4129 do highlighting (bug#7322).
4131 2010-11-10 Glenn Morris <rgm@gnu.org>
4133 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4135 * emulation/edt.el (edt-with-position): New macro.
4136 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4137 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4138 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4140 * emulation/tpu-extras.el (tpu-with-position): New macro.
4141 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4143 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4145 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4146 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4147 (texinfo-master-menu, texinfo-insert-node-lines)
4148 (texinfo-multiple-files-update):
4149 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4150 Use line-beginning-position.
4152 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4153 No recent Emacs supports system-type `emx'.
4155 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4156 (ada-command-separator, ada-default-prj-properties)
4157 (ada-find-any-references): Update for above name change.
4159 * dirtrack.el (dirtrack-directory-function)
4160 (dirtrack-canonicalize-function):
4161 * filecache.el (file-cache-completion-ignore-case)
4162 (file-cache-case-fold-search, file-cache-ignore-case):
4163 * term.el (serial-port-is-file-p): Cosmetic change.
4165 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4166 Remove non-existent `windows-95' system-type.
4167 * dired.el (dired-chown-program): Remove non-existent `linux'
4170 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4171 (ping-program-options): Remove non-existent `linux' system-type.
4173 * startup.el (package-initialize): Update declaration.
4175 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4176 (ls-lisp-handle-switches): Use time-less-p.
4177 (ls-lisp-format-time): Use float-time.
4179 * textmodes/remember.el (remember-time-to-seconds): Remove.
4180 (remember-store-in-mailbox): Use float-time.
4182 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4184 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4185 never a real function.
4186 (with-no-warnings): Remove compat stub, now unused.
4187 (time-less-p): Doc fix.
4188 (time-to-number-of-days): Simplify.
4190 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4192 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4193 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4194 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4195 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4196 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4198 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4199 (eshell-shuffle-files, eshell-shorthand-tar-command)
4200 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4201 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4202 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4203 Prefix dynamic local variable `matches'.
4205 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4206 Prefix dynamic local variable `skeleton'.
4208 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4210 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4211 in mail buffer; make yank-action always a command that yanks original
4214 2010-11-09 Glenn Morris <rgm@gnu.org>
4216 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4218 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4220 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4221 completion field (bug#7211).
4223 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4224 Fix handling of backslash escapes.
4225 (python-quote-syntax): Adjust accordingly.
4227 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4229 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4230 (vc-mtn-workfile-branch): Adjust to new output format.
4232 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4234 * international/mule-cmds.el (princ-list): Mark as obsolete.
4236 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4238 * emacs-lisp/smie.el: New package.
4240 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4242 * files.el (backup-by-copying-when-mismatch):
4243 Set `permanent-local' property.
4245 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4246 `permanent-local' property for `backup-by-copying-when-mismatch'.
4248 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4250 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4252 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4254 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4255 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4256 AUTOINOUT for SV style multidimensional arrays, bug294.
4257 Reported by Eric Mastromarchi.
4258 (verilog-preprocess): Use with-current-buffer and
4259 font-lock-fontify-buffer to cleanup style issues.
4261 2010-11-09 Glenn Morris <rgm@gnu.org>
4263 * locate.el (locate, locate-mode): Doc fixes.
4265 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4267 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4268 user for confirmation.
4269 (server-force-stop): Use it.
4270 (server-start): Use server-force-stop for kill-emacs-hook, to
4271 avoid user interaction while killing Emacs.
4273 2010-11-09 Glenn Morris <rgm@gnu.org>
4275 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4276 (meta-indent-line): Simplify.
4278 * vc/emerge.el (emerge-line-number-in-buf):
4279 * textmodes/ispell.el (ispell-region):
4280 * textmodes/fill.el (current-fill-column):
4281 * progmodes/xscheme.el (xscheme-send-current-line):
4282 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4283 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4284 * progmodes/sh-script.el (sh-handle-prev-do):
4285 * progmodes/meta-mode.el (meta-indent-line):
4286 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4288 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4289 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4290 * progmodes/fortran.el (fortran-looking-at-if-then):
4291 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4292 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4293 (cperl-find-pods-heres):
4294 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4295 * net/quickurl.el (quickurl-list-insert):
4296 * net/ldap.el (ldap-search-internal):
4297 * net/eudc.el (eudc-expand-inline):
4298 * mail/sendmail.el (sendmail-send-it):
4299 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4300 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4301 (viper-brac-function):
4302 * calc/calc-yank.el (calc-do-grab-region):
4303 * calc/calc-keypd.el (calc-keypad-press):
4304 * term.el (term-move-columns, term-insert-spaces):
4305 * speedbar.el (speedbar-highlight-one-tag-line):
4306 * simple.el (current-word):
4307 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4308 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4310 * hippie-exp.el (he-line-beg):
4311 * epa.el (epa--marked-keys):
4312 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4313 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4314 (dired-relist-entry):
4315 * buff-menu.el (Buffer-menu-buffer):
4316 * array.el (current-line):
4317 * allout.el (allout-resolve-xref)
4318 (allout-latex-verbatim-quote-curr-line):
4319 Replace yet more uses of end-of-line etc with line-end-position, etc.
4321 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4323 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4324 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4325 (checkdoc-syntax-table): Initialize in the declaration.
4326 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4327 the mode on unconditionally.
4329 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4330 (extent-end-position, extent-start-position): Remove setf method for
4331 non-existing functions (bug#7319).
4333 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4335 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4336 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4337 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4338 (smie-prec2->grammar): Rename from smie-prec2-levels.
4339 (smie-grammar): Rename from smie-op-levels.
4340 (smie-indent--hanging-p): Rename from smie-hanging-p.
4341 (smie-rule-hanging-p): New alias.
4342 (smie-indent--bolp): Rename from smie-bolp.
4343 (smie-indent--hanging-p): New alias.
4344 (smie--token): New dynamically bound variable.
4345 (smie-indent--parent): New function.
4346 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4347 (smie-rule-next-p): Rename from smie-next-p.
4348 (smie-rule-prev-p): Rename from smie-prev-p.
4349 (smie-rule-sibling-p, smie-rule-parent)
4350 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4351 (smie-rule-separator-outdent): New var.
4352 (smie-indent--rule): Merge with smie-indent--column.
4353 (smie-indent-forward-token, smie-indent-backward-token):
4354 Also recognize close parens.
4355 (smie-indent-keyword): Don't use smie-indent--column any more.
4356 (smie-indent-after-keyword): Ignore closers by default.
4357 (smie-indent-line): Use with-demoted-errors.
4358 * progmodes/octave-mod.el (octave-smie-grammar):
4359 Rename from octave-smie-op-levels.
4360 (octave-smie-rules): Adjust to new behavior.
4361 * progmodes/prolog.el (prolog-smie-grammar):
4362 Rename from prolog-smie-op-levels.
4364 2010-11-07 Glenn Morris <rgm@gnu.org>
4366 * eshell/esh-util.el (subst-char-in-string)
4367 (directory-files-and-attributes): These compatibility definitions are
4368 not needed on any version of Emacs since at least 21.4.
4370 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4371 (verilog-get-end-of-line): Remove.
4372 (verilog-within-string, verilog-re-search-forward-substr)
4373 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4374 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4375 Use point-at-bol, point-at-eol.
4376 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4378 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4379 (electric-pascal-terminate-line, pascal-set-auto-comments)
4380 (pascal-indent-paramlist, pascal-indent-declaration)
4381 (pascal-get-lineup-indent, pascal-func-completion)
4382 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4383 Use point-at-bol, point-at-eol.
4384 * progmodes/flymake.el (flymake-line-beginning-position)
4385 (flymake-line-end-position): Remove.
4386 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4387 * eshell/esh-util.el (line-end-position, line-beginning-position):
4388 Remove compat definitions.
4390 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4392 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4393 Use line-end-position.
4395 * emacs-lisp/chart.el (chart-zap-chars):
4396 * play/decipher.el (decipher-set-map):
4397 * progmodes/ada-mode.el (ada-get-current-indent)
4398 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4399 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4400 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4401 (ada-get-all-references):
4402 * progmodes/cperl-mode.el (cperl-electric-paren)
4403 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4404 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4405 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4406 (cperl-word-at-point-hard):
4407 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4408 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4409 (idlwave-shell-display-line):
4410 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4411 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4412 * progmodes/js.el (js--re-search-forward-inner)
4413 (js--re-search-backward-inner):
4414 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4415 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4416 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4417 * textmodes/flyspell.el (flyspell-process-localwords):
4418 * textmodes/ispell.el (ispell-buffer-local-parsing)
4419 (ispell-buffer-local-dict, ispell-buffer-local-words):
4420 Use point-at-bol and point-at-eol.
4422 * speedbar.el (speedbar-generic-item-info)
4423 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4424 (speedbar-add-indicator, speedbar-check-vc-this-line)
4425 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4426 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4427 Replace more uses of end-of-line etc with line-end-position.
4429 2010-11-06 Glenn Morris <rgm@gnu.org>
4431 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4432 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4433 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4434 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4435 (texinfo-multiple-files-update):
4436 * textmodes/table.el (table--probe-cell-left-up)
4437 (table--probe-cell-right-bottom):
4438 * textmodes/picture.el (picture-tab-search):
4439 * textmodes/page-ext.el (pages-copy-header-and-position)
4440 (pages-directory-for-addresses):
4441 * progmodes/vera-mode.el (vera-get-offset):
4442 * progmodes/simula.el (simula-calculate-indent):
4443 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4444 * progmodes/prolog.el (end-of-prolog-clause):
4445 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4446 * progmodes/icon.el (indent-icon-exp):
4447 * progmodes/etags.el (tag-re-match-p):
4448 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4449 * progmodes/ebnf2ps.el (ebnf-begin-file):
4450 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4451 (dcl-save-local-variable):
4452 * play/life.el (life-setup):
4453 * play/gametree.el (gametree-looking-at-ply):
4454 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4455 * mail/sendmail.el (mail-mode-auto-fill):
4456 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4457 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4458 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4459 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4460 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4461 * type-break.el (type-break-file-keystroke-count):
4462 * term.el (term-replace-by-expanded-history-before-point)
4463 (term-skip-prompt, term-extract-string):
4464 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4465 (speedbar-contract-line, speedbar-toggle-line-expansion)
4466 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4467 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4468 * sort.el (sort-skip-fields):
4469 * skeleton.el (skeleton-internal-list):
4470 * simple.el (line-move-finish, line-move-to-column):
4471 * shell.el (shell-forward-command):
4472 * misc.el (copy-from-above-command):
4473 * makesum.el (double-column):
4474 * ebuff-menu.el (electric-buffer-update-highlight):
4475 * dired.el (dired-move-to-end-of-filename):
4476 * dframe.el (dframe-popup-kludge):
4477 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4478 * arc-mode.el (archive-get-lineno):
4479 Use line-end-position and line-beginning-position.
4481 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4482 (idlwave-study-twins): Prefix dynamic local `class'.
4483 (idlwave-routine-twin-compare): Update for above name change.
4485 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4486 Use boundp tests to silence compiler. Update for changed name of
4487 bytecomp-filename variable.
4489 * emulation/viper-cmd.el (viper-read-string-with-history):
4490 Prefix dynamic local `initial'.
4491 (viper-minibuffer-standard-hook): Update for above name change.
4493 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4494 (elint-init-form): Update for above name change.
4496 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4497 local variables `cbeg' and `cend' a prefix.
4498 (mail-extr-voodoo): Update for above name change.
4500 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4501 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4502 (reftex-toc-promote-action): Doc fix.
4504 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4505 `prompt', `data' a prefix.
4506 (reftex-select-post-command-hook, reftex-select-callback)
4507 (reftex-select-mouse-accept, reftex-select-read-cite):
4508 Update for above name changes.
4510 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4511 `refstyle' to reftex-refstyle.
4512 (reftex-offer-label-menu): Update for above name change.
4513 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4514 `refstyle' name change.
4516 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4517 with with-current-buffer.
4518 (diff, template): Give dynamic local variables a prefix.
4519 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4520 (emerge-line-number-in-buf): Update for above name change.
4521 (emerge-combine-versions-internal): Rename local `template' to
4522 emerge-combine-template.
4523 (emerge-combine-versions-edit): Update for above name change.
4525 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4527 * textmodes/reftex-cite.el
4528 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4529 entries with whitespace after \bibitem.
4530 (reftex-create-bibtex-file): Match entries containing numbers and
4531 symbol constituents. Make sure that entries with whitespace at
4532 various places are found.
4534 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4536 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4538 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4540 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4542 2010-11-05 Glenn Morris <rgm@gnu.org>
4544 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4545 (woman2-roff-buffer): Give local variable `request' a prefix.
4546 (woman0-macro): Rename argument `request' in the same way.
4547 (woman-request): New name for `request' dynamic variable.
4548 (woman-unquote, woman-forward-arg): Update for above name change.
4549 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4550 (woman1-unquote): New name for `unquote' dynamic variable.
4551 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4552 (woman-translations): Rename from `translations'. No longer global.
4553 (woman2-tr, woman-translate): Update for above name change.
4554 (woman-translate): Check for bound variable.
4555 (woman2-roff-buffer): Give local variable `translations' a prefix.
4557 * play/doctor.el: Give all local variables a prefix. Update callers.
4558 (doc$, doctor-put-meaning): Use backquote.
4560 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4561 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4563 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4564 variables bytes, ptr, op a prefix.
4565 (disassemble-offset): Update for above change.
4567 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4569 * emacs-lisp/package.el (package-unpack): Remove no-op.
4570 (package--builtins, package--dir): Doc fix.
4571 (package-activate-1, package-activate, package-install)
4572 (package-compute-transaction): Fix error message.
4573 (package-delete): Use delete-directory. Omit system packages.
4574 (package-initialize): Set package-alist to nil first.
4575 (package-menu-mark-delete, package-menu-mark-install): Don't add
4576 symbols that are inconsistent with the package state.
4577 (package-menu-execute): Perform deletions and installations as
4578 single batch operations.
4580 2010-11-03 Glenn Morris <rgm@gnu.org>
4582 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4583 (props): Remove unnecessary declaration.
4585 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4586 set-process-query-on-exit-flag.
4588 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4589 (reftex-toc-do-promote): Remove unused local `mpos'.
4590 (reftex-toc-restore-region): Make `mpos' local to this function.
4592 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4594 * play/landmark.el (lm-losing-threshold): Correct spelling.
4595 (lm-human-plays): Use new name.
4597 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4598 (gomoku-human-plays): Use new name.
4600 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4601 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4602 (gomoku-score-trans-table, gomoku-winning-threshold)
4603 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4605 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4607 * emacs-lisp/package.el: Don't put built-in packages in
4608 package-alist, to avoid loading inefficiencies.
4609 (package-built-in-p): Make VERSION optional, and treat it as a
4610 minimum acceptable version.
4611 (package-activate): Search separately for built-in packages.
4612 Emit a warning if a dependency fails.
4613 (define-package): Handle most common case, where there is no
4614 obsolete package, first.
4615 (package-compute-transaction): Print required version in error.
4616 (package--initialized): New variable.
4617 (list-packages): Use it.
4618 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4619 built-in packages in packages-alist; keep it separate.
4620 Set package--initialized.
4621 (describe-package): Avoid activating packages as a side-effect.
4622 Search separately for built-in packages.
4623 (describe-package-1): Handle the case where an elpa package is
4624 simultaneously built-in and available/installed.
4625 (package-installed-p, package--generate-package-list):
4626 Search separately for built-in packages.
4627 (package-load-descriptor): Doc fix.
4629 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4631 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4632 Handle __DATA__ and __END__.
4634 2010-11-02 Noah Friedman <friedman@splode.com>
4636 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4637 nil, do not ask to recompile files that are not already compiled,
4638 and do not recompile them.
4640 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4642 * emacs-lisp/package.el (package-initialize): Ensure that
4643 obsoleted built-in packages are not in package-activated-list
4645 (describe-package-1): Make the "installed" status override
4648 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4650 * subr.el (version-separator, version-regexp-alist): Remove '*'
4652 (version-list-<=, version<=, version=): Doc fix.
4654 2010-11-01 Kenichi Handa <handa@m17n.org>
4656 * faces.el (glyphless-char): Inherit underline for tty.
4658 2010-11-01 Kenichi Handa <handa@m17n.org>
4660 Implement various display methods for glyphless characters.
4662 * international/characters.el (char-acronym-table): New variable.
4663 (glyphless-char-control): New variable.
4664 (update-glyphless-char-display): New function.
4666 * faces.el (glyphless-char): New face.
4668 2010-11-01 Glenn Morris <rgm@gnu.org>
4670 * calendar/holidays.el (general-holidays, oriental-holidays)
4671 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4672 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4673 the definitions of their targets.
4675 * emacs-lisp/smie.el (smie): New custom group.
4676 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4678 * faces.el (xw-defined-colors, x-setup-function-keys):
4679 * mouse-sel.el (x-select-text):
4680 * term/w32console.el (x-setup-function-keys): Update declarations.
4682 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4684 * textmodes/ispell.el (comment-add): Declare.
4686 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4689 * info.el (finder-keywords-hash, package-alist): Declare.
4691 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4693 * finder.el (finder-compile-keywords): Don't use intern-soft,
4694 since package names may not yet exist in the obarray.
4696 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4698 * vc/vc-arch.el (vc-arch-checkin):
4699 * vc/vc-cvs.el (vc-cvs-checkin):
4700 * vc/vc-mtn.el (vc-mtn-checkin):
4701 * vc/vc-rcs.el (vc-rcs-checkin):
4702 * vc/vc-sccs.el (vc-sccs-checkin):
4703 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4704 since 2010-04-21 commit by Stefan Monnier.
4706 2010-11-01 Glenn Morris <rgm@gnu.org>
4708 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4710 * startup.el (package-enable-at-startup, package-initialize):
4713 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4716 2010-10-31 Julien Danjou <julien@danjou.info>
4718 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4719 (byte-recompile-directory):
4720 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4721 Use `byte-recompile-file'.
4723 2010-10-31 Glenn Morris <rgm@gnu.org>
4725 * cus-start.el: Handle standard values via a keyword.
4726 Only set version property if specified.
4727 (cursor-in-non-selected-windows, menu-bar-mode)
4728 (tool-bar-mode, show-trailing-whitespace):
4729 Do not specify standard values.
4730 (transient-mark-mode, temporary-file-directory): Use :standard.
4732 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4734 * term/x-win.el (x-get-selection-value): New function that gets
4735 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4737 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4739 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4740 preserve owner and group when editing files. (Bug#7289)
4742 2010-10-31 Glenn Morris <rgm@gnu.org>
4744 * speedbar.el (speedbar-mode):
4745 * play/fortune.el (fortune-in-buffer, fortune):
4746 * play/gomoku.el (gomoku-mode):
4747 * play/landmark.el (lm-mode):
4748 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4749 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4751 * select.el (x-selection): Mark it as an obsolete alias.
4753 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4755 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4756 major-mode (bug#7284).
4758 2010-10-31 Glenn Morris <rgm@gnu.org>
4760 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4761 rather than just an unused variable that inherits from the real one.
4763 2010-10-31 Alan Mackenzie <acm@muc.de>
4765 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4766 This fixes bug #7185.
4768 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
4770 * startup.el (command-line): Search for package directories, and
4771 don't load package.el if none are found.
4773 * emacs-lisp/package.el (describe-package, list-packages):
4774 Call package-initialize if it has not been called yet.
4776 2010-10-30 Alan Mackenzie <acm@muc.de>
4778 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4779 which fontifies the tail of an enum.
4780 (c-basic-matchers-after): Insert a call to the above new function.
4781 This fixes bug #7264.
4783 2010-10-30 Glenn Morris <rgm@gnu.org>
4785 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4786 tool-bar-mode, transient-mark-mode. (Bug#7306)
4787 Include the :set property in the dumped Emacs.
4789 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4791 SMIE: change indent rules format, improve smie-setup.
4792 * emacs-lisp/smie.el (smie-precs-precedence-table)
4793 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4794 Mark them pure so the tables gets built at compile time.
4795 (smie-bnf-precedence-table): Store the closer-alist in the table.
4796 (smie-prec2-levels): Preserve the closer-alist.
4797 (smie-blink-matching-open): Be more forgiving in case of indentation.
4798 (smie-hanging-p): Rename from smie-indent--hanging-p.
4799 (smie-bolp): Rename from smie-indent--bolp.
4800 (smie--parent, smie--after): New dynamic vars.
4801 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4802 (smie-indent-rules): Remove.
4803 (smie-indent--offset-rule): Remove fun.
4804 (smie-rules-function): New var.
4805 (smie-indent--rule): New fun.
4806 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4807 (smie-indent-exps): Use it.
4808 (smie-setup): Setup paren blinking; add keyword args for token
4809 functions; extract closer-alist from op-levels.
4810 (smie-indent-debug-log): Remove var.
4811 (smie-indent-debug): Remove fun.
4812 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4813 (prolog-smie-rules): New fun to replace it.
4814 (prolog-mode-variables): Simplify.
4815 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4816 it's setup automatically.
4817 (octave-smie-indent-rules): Remove.
4818 (octave-smie-rules): New fun to replace it.
4819 (octave-mode): Simplify.
4821 2010-10-29 Glenn Morris <rgm@gnu.org>
4823 * files.el (temporary-file-directory): Remove (already defined in C).
4824 * cus-start.el: Add temporary-file-directory.
4826 * abbrev.el (abbrev-mode):
4827 * composite.el (auto-composition-mode):
4828 * menu-bar.el (menu-bar-mode):
4829 * simple.el (transient-mark-mode):
4830 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4831 that they do not define the associated variables twice.
4832 * simple.el (transient-mark-mode): Remove defvar.
4833 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4834 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4835 Handle multiple groups, and also custom-delayed-init-variables.
4836 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4838 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4840 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4841 (pcase-if): Add one minor optimization.
4842 (pcase-split-equal): Rename from pcase-split-eq.
4843 (pcase-split-member): Rename from pcase-split-memq.
4844 (pcase-u1): Add strings to the member optimization.
4845 Add `guard' variant of predicates.
4846 (pcase-q1): Add string patterns.
4848 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4850 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4852 2010-10-28 Glenn Morris <rgm@gnu.org>
4854 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4855 Move menu-bar related settings to ../menu-bar.el.
4856 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4857 Move ns-specific settings here from term/ns-win.el.
4859 * simple.el (x-selection-owner-p): Remove unused declaration.
4861 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4863 * minibuffer.el (completion-cycling): New var (bug#7266).
4864 (minibuffer-complete, completion--do-completion):
4865 Use completion--flush-all-sorted-completions.
4866 (minibuffer-complete): Only cycle if completion-cycling is set.
4867 (completion--flush-all-sorted-completions): Unset completion-cycling.
4868 (minibuffer-force-complete): Set completion-cycling.
4869 (completion-all-sorted-completions): Move declaration before first use.
4871 2010-10-28 Leo <sdl.web@gmail.com>
4873 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4874 which changes the order of matches seen by users (bug#7231).
4876 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4878 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4879 Don't confuse -omega as "-o mega".
4881 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4883 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4884 (log-edit-author): New dynamic var.
4885 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4886 to return the author if different from committer.
4887 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4889 * play/landmark.el: Adjust commenting convention.
4890 (lm-nil-score): Rename from nil-score.
4891 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4892 (OOOOscore): Move into a let in lm-score-trans-table.
4893 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4895 * electric.el (electric-indent-chars): Autoload.
4896 * progmodes/octave-mod.el (octave-mode):
4897 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4898 (ruby-mode-abbrev-table): Merge initialization and declaration.
4900 2010-10-27 Glenn Morris <rgm@gnu.org>
4902 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4905 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4907 * term/ns-win.el: Restore require of cl when compiling.
4908 (menu-bar-final-items): Remove non-existent `windows' menu.
4909 (ns-handle-nxopen): Optionally handle the temp-case.
4910 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4911 (ns-insert-file, ns-find-file): Use `pop'.
4913 2010-10-26 Glenn Morris <rgm@gnu.org>
4915 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4917 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4919 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4921 * term/common-win.el (x-setup-function-keys): Remove most of the
4922 keymappings. Comment on the remaining ones.
4924 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4926 * server.el (server-port): New option. (Bug#854)
4927 (server-start): Use server-port.
4929 2010-10-26 Glenn Morris <rgm@gnu.org>
4931 * term/ns-win.el (ns-version-string): Remove unused declaration.
4932 (ns-invocation-args): Change to x-invocation-args.
4933 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4934 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4935 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4936 Use x-invocation-args instead of ns-invocation-args.
4937 (ns-initialize-window-system, handle-args-function-alist):
4938 Use x-handle-args instead of ns-handle-args.
4939 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4940 * startup.el (command-line-ns-option-alist): Replace
4941 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4942 ns-handle-iconic with the x- equivalents.
4944 * term/common-win.el (x-select-enable-clipboard):
4945 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4947 * term/ns-win.el: No need to require cl when compiling.
4948 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4949 (xw-defined-colors): Use the common-win definitions.
4950 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4951 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4952 * term/common-win.el (x-select-text, x-alternatives-map)
4953 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4954 * loadup.el [ns]: Load common-win.
4956 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4958 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4959 recipients; expand mail aliases (Bug#7280).
4961 2010-10-25 Glenn Morris <rgm@gnu.org>
4963 * term/common-win.el (x-handle-switch): Simplify with pop.
4964 Optionally handle numeric switches.
4965 (x-handle-numeric-switch): Just call x-handle-switch.
4966 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4967 (x-handle-name-switch, x-handle-display, x-handle-args):
4970 * term/ns-win.el: Do not require easymenu.
4971 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4972 <spell>: Move adjustments to menu-bar.el.
4973 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4974 <separator-undo, spell>: Move ns-win's adjustments here.
4975 * loadup.el [ns]: Do not load easymenu.
4977 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4979 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4982 * startup.el (fancy-startup-tail): Instead of using inline images,
4983 refer to image files from etc/.
4985 * wid-edit.el (checkbox): Likewise.
4986 (widget-image-find): Center image specs.
4988 2010-10-24 Glenn Morris <rgm@gnu.org>
4990 * term/ns-win.el (x-select-text): Doc fix.
4991 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4992 (x-select-text): Move to term/common-win.
4993 * term/w32-win.el (xw-defined-colors): Move to common-win.
4994 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4995 (x-setup-function-keys, x-select-text): Move to common-win.
4996 * term/common-win.el (x-select-text, x-alternatives-map)
4997 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5000 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5002 * net/mairix.el (mairix-searches-mode-map):
5003 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5005 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5007 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5008 auto-built for efficiency of execution and updating.
5009 (verilog-extended-complete-re): Support 'pure' fucntion & task
5010 declarations (these have no bodies).
5011 (verilog-beg-of-statement): General cleanup to enable support of
5012 'pure' fucntion & task declarations (these have no bodies).
5013 These efforts together fix Verilog bug210 from veripool; which was also
5014 noticed by Steve Pearlmutter.
5015 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5016 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5017 Support `elsif. Reported by Shankar Giri.
5018 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5019 attribute handling for lining up declarations and assignments.
5020 (verilog-beg-of-statement-1): Fix issue where continued declaration
5021 is indented differently if it is after a begin..end clock.
5022 (verilog-in-attribute-p, verilog-skip-backward-comments)
5023 (verilog-skip-forward-comment-p): Support proper treatment of
5024 attributes by indent code. Reported by Jeff Steele.
5025 (verilog-in-directive-p): Fix comment to correctly describe function.
5026 (verilog-backward-up-list, verilog-in-struct-region-p)
5027 (verilog-backward-token, verilog-in-struct-p)
5028 (verilog-in-coverage-p, verilog-do-indent)
5029 (verilog-pretty-declarations): Use verilog-backward-up-list as
5030 wrapper around backward-up-list inorder to properly skip comments.
5031 Reported by David Rogoff.
5032 (verilog-property-re, verilog-endcomment-reason-re)
5033 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5034 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5035 of if). Reported by Max Bjurling and
5036 (verilog-calc-1): Fix for clocking block in modport
5037 declaration. Reported by Brian Hunter.
5039 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5041 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5042 (verilog-gate-keywords, verilog-read-sub-decls)
5043 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5044 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5045 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5046 (verilog-read-decls): Fix spaces in V2K module parameters causing
5047 mis-identification as interfaces, bug287.
5048 (verilog-read-decls): Fix not treating "parameter string" as a
5049 parameter in AUTOINSTPARAM.
5050 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5051 treating `elsif similar to `endif inside AUTOSENSE.
5052 (verilog-do-indent): Implement correct automatic or static task or
5053 function end comment highlight. Reported by Steve Pearlmutter.
5054 (verilog-font-lock-keywords-2): Fix highlighting of single
5055 character pins, bug264. Reported by Michael Laajanen.
5056 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5057 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5058 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5059 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5060 (verilog-pretty-expr): Fix interactive arguments, bug272.
5061 Reported by Mark Johnson.
5062 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5063 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5064 bug269. Suggested by Gary Delp.
5065 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5066 (verilog-preprocessor, verilog-set-compile-command):
5067 Create verilog-preprocess and verilog-preprocessor to show
5068 preprocessed output.
5069 (verilog-get-beg-of-line, verilog-get-end-of-line)
5070 (verilog-modi-file-or-buffer, verilog-modi-name)
5071 (verilog-modi-point, verilog-within-string): Move defmacro's
5072 before first use to avoid warning. Reported by Steve Pearlmutter.
5073 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5074 (verilog-colorize-region, verilog-highlight-buffer)
5075 (verilog-highlight-includes, verilog-highlight-modules)
5076 (verilog-highlight-region, verilog-mode): Rename colorize to
5077 highlight to match other packages. Disable module highlighting,
5078 as received speed complaints, reenable for experimentation only
5079 using new verilog-highlight-modules.
5080 (verilog-read-decls): Fix regexp stack overflow in very large
5081 AUTO_TEMPLATEs, bug250.
5082 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5083 (verilog-scan): Create verilog-save-buffer-state to standardize
5084 making insignificant changes that shouldn't call hooks.
5085 (verilog-save-no-change-functions, verilog-save-scan-cache)
5086 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5087 Create verilog-save-no-change-functions to wrap verilog-scan
5088 preservation, and fix to work with nested preserved calls.
5089 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5090 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5091 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5092 (verilog-submit-bug-report): Update variable list to be complete.
5093 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5094 breaking on-the-fly font-locking.
5095 (verilog-colorize-buffer, verilog-colorize-include-files)
5096 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5097 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5098 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5099 AUTOINST cell instance name, middle mouse button now finds-file on
5100 it. Suggested by Brad Dobbie.
5101 (verilog-alw-get-temps, verilog-auto-reset)
5102 (verilog-auto-sense-sigs, verilog-read-always-signals)
5103 (verilog-read-always-signals-recurse): Fix loop indexes being
5104 AUTORESET. AUTORESET now assumes any variables in the
5105 initialization section of a for() should be ignored.
5106 Reported by Dan Dever.
5107 (verilog-error-font-lock-keywords)
5108 (verilog-error-regexp-emacs-alist)
5109 (verilog-error-regexp-xemacs-alist): Fix error detection of
5110 Cadence HAL, reported by David Asher. Repair drift between the
5111 three similar error variables.
5112 (verilog-modi-lookup, verilog-modi-lookup-cache)
5113 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5114 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5115 Fix slow verilog-auto expansion on very large files.
5116 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5117 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5118 "{1*2{...". Broke in last revision.
5119 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5120 submodule connections with replications "{#{a},#{b}}".
5122 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5124 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5125 Fix typo in docstring.
5127 2010-10-24 Kenichi Handa <handa@m17n.org>
5129 * face-remap.el (text-scale-adjust): Call read-event with a proper
5132 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5134 * emacs-lisp/unsafep.el: Don't mark functions that display
5135 messages as safe. Suggested by Johan Bockgård.
5137 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5139 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5140 Turn comments into docstrings.
5142 * minibuffer.el (completion--replace): Move point where it belongs
5143 when there's a common suffix (bug#7215).
5145 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5147 Merge read-color and facemenu-read-color (Bug#7242).
5149 * faces.el (read-color): Use the completion code from
5150 facemenu-read-color. Require match in completion. Doc fix.
5152 * facemenu.el (facemenu-read-color): Alias for read-color.
5153 (facemenu-set-foreground, facemenu-set-background):
5156 * frame.el (set-background-color, set-foreground-color)
5157 (set-cursor-color, set-mouse-color, set-border-color):
5160 2010-10-24 Leo <sdl.web@gmail.com>
5162 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5163 argument of delete-file and delete-directory (Bug#7011).
5165 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5167 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5170 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5172 * emacs-lisp/package.el (package--generate-package-list): Make the
5173 *Packages* buffer read-only.
5175 2010-10-24 Alan Mackenzie <acm@muc.de>
5177 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5178 result of `c-beginning-of-decl-1' between invocations of a lambda
5179 function (Bug #7265).
5181 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5183 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5184 executable is not available on the system (Bug#7268).
5186 2010-10-24 Glenn Morris <rgm@gnu.org>
5188 * select.el (selection-coding-system, next-selection-coding-system):
5189 Sync doc with C versions.
5191 * w32-vars.el (x-select-enable-clipboard):
5192 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5193 * term/common-win.el (x-select-enable-clipboard): Move here.
5195 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5196 definition of C variable.
5198 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5199 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5200 Don't redefine things that are defined in C.
5201 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5202 (show-trailing-whitespace, auto-hscroll-mode)
5203 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5204 Set up the appropriate custom properties.
5206 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5209 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5210 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5211 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5212 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5214 2010-10-23 Glenn Morris <rgm@gnu.org>
5216 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5219 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5220 Sync docs with C version.
5222 * term/ns-win.el (xw-defined-colors):
5223 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5225 * term/pc-win.el (x-select-enable-clipboard):
5226 * term/x-win.el (x-select-enable-clipboard):
5227 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5229 * comint.el (comint-password-prompt-regexp): Make it less vague.
5232 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5234 * help.el (finder-by-keyword): Remove unnecessary autoload.
5236 2010-10-22 Glenn Morris <rgm@gnu.org>
5238 * loadup.el: Unconditionally load float-sup.
5239 * paren.el (show-paren-delay):
5240 * emacs-lisp/float-sup.el:
5241 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5242 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5243 (lazy-lock-stealth-verbose): Assume float support.
5244 * ps-print.el: Assume float support on Emacs.
5245 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5246 Remove non-float branch.
5248 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5249 src/Makefile no longer being pre-processed.
5251 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5253 * emacs-lisp/find-func.el (find-library): Use test-completion.
5255 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5257 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5259 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5261 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5262 space in stat format string.
5263 (tramp-send-command): Unset $PS1 when using here documents, in
5264 order not to get several prompts.
5265 (tramp-get-inline-coding): Return `nil' in case of errors.
5267 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5269 * hexl.el (hexl-mode, hexl-mode-exit):
5270 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5271 (hexl-revert-buffer-function): New function.
5272 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5274 2010-10-19 Alan Mackenzie <acm@muc.de>
5276 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5277 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5278 that these keywords aren't wrongly matched as identifiers.
5280 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5281 setting of c-new-BEG and c-new-END from c-before-change to
5282 c-after-change. (Bug#7181)
5284 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5286 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5289 * custom.el (custom-theme-set-variables): Likewise.
5290 (load-theme): Add custom-theme-set-faces and
5291 custom-theme-set-variables to safe-functions while loading.
5292 (custom-enabled-themes): Mark as risky.
5294 2010-10-18 Julien Danjou <julien@danjou.info>
5296 * bindings.el: Remove end dashes in default mode-line-format.
5298 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5300 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5301 to delete-forward-char.
5303 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5304 deletechar, and hence delete-forward-char.
5306 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5308 * repeat.el (repeat): Use read-key (bug#6256).
5310 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5312 * emacs-lisp/unsafep.el: Don't mark functions that display
5313 messages as safe. Suggested by Johan Bockgård.
5315 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5317 * minibuffer.el (completion--replace): Move point where it belongs
5318 when there's a common suffix (bug#7215).
5320 2010-10-19 Kenichi Handa <handa@m17n.org>
5322 * international/characters.el: Add category '|' (word breakable)
5323 to fullwidth characters.
5325 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5327 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5328 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5329 order to make stat results a float. Patch by Andreas Schwab
5330 <schwab@linux-m68k.org>.
5332 2010-10-18 Julien Danjou <julien@danjou.info>
5334 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5335 hidden by `make-pointer-invisible'.
5337 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5339 * files.el (locate-file-completion-table): Strip non-matching elements
5340 before checking length of list (bug#7238).
5342 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5344 * custom.el (custom-theme-set-variables): Mark as a safe function.
5345 (load-theme): Check forms using unsafep.
5347 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5349 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5351 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5352 Fix aspell data file searching (bug#7230).
5354 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5356 * cus-theme.el (custom-theme--migrate-settings): New var.
5357 (customize-create-theme): Allow editing the `user' theme.
5358 (custom-theme-add-variable, custom-theme-add-var-1)
5359 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5360 to the front of each variable or face widget.
5361 (custom-theme-write): Save theme settings in the correct order.
5362 Optionally, remove saved settings from user customizations.
5363 (custom-theme-write-variables, custom-theme-write-faces):
5364 Save only the checked widgets.
5365 (customize-themes): Add a link for migrating custom settings.
5367 * custom.el (custom-declare-theme, provide-theme):
5368 Use custom-theme-name-valid-p.
5369 (custom-theme-name-valid-p): Remove checks that are now
5370 unnecessary since themes no longer obey load-path.
5372 * cus-edit.el (custom-variable-value-create): For the simple
5373 style, hide documentation string when hidden.
5375 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5377 * cus-edit.el (custom-variable, custom-face): Combine the
5378 :inhibit-magic and :display-style properties into a single
5379 :custom-style property.
5380 (custom-toggle-hide-variable, custom-toggle-hide-face):
5381 New functions. If hiding an edited value, save it to :shown-value.
5382 (custom-variable-value-create, custom-face-value-create): Use them.
5383 (custom-magic-reset): Allow magic property to be unset.
5385 * custom.el: Custom themes no longer use load-path.
5386 (custom-theme-load-path): New option. Change built-in theme
5388 (custom-enabled-themes): Add custom-theme-load-path dependency.
5389 (custom-theme--load-path): New function.
5390 (load-theme, custom-available-themes): Use it.
5392 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5393 (customize-themes): Link to custom-theme-load-path variable.
5394 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5395 :custom-style property.
5397 * themes/*.el: Moved to etc/.
5399 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5401 * textmodes/reftex-cite.el
5402 (reftex-extract-bib-entries-from-thebibliography): Do not move
5403 point when searching for \bibitem entries. Match entries with
5404 spaces or tabs in front of arguments.
5406 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5408 * cus-theme.el (customize-create-theme): Delete overlays after
5409 erasing. If given a THEME arg, display only the faces of that arg
5410 instead of custom-theme--listed-faces.
5411 (custom-theme-variable-menu, custom-theme-variable-action)
5412 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5413 (custom-theme-add-variable, custom-theme-add-face): Apply value
5414 from the theme settings, instead of the current value.
5415 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5416 (custom-theme-visit-theme): Allow calling outside theme buffers.
5417 (custom-theme-merge-theme): Don't enable the theme when merging.
5418 (custom-theme-write-variables, custom-theme-write-faces): Use the
5419 :shown-value properties to save buffer values, not global ones.
5420 (customize-themes): Display a warning about user customizations.
5422 * cus-edit.el (custom-variable-value-create)
5423 (custom-face-value-create): Obey new special properties
5424 :shown-value and :inhibit-magic.
5426 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5428 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5429 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5432 2010-10-14 Kenichi Handa <handa@m17n.org>
5434 * mail/rmail.el (rmail-show-message-1): Catch an error of
5435 base64-decode-region and just show an error message (bug#7165).
5437 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5438 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5439 a font-spec (bug#7197).
5441 2010-10-14 Glenn Morris <rgm@gnu.org>
5443 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5445 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5447 * international/mule.el (define-coding-system):
5448 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5449 * composite.el (compose-region): Fix typo in docstring.
5451 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5453 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5454 only after checking the theme-face property.
5456 * faces.el (face-spec-reset-face): Reset all attributes in one
5457 single call to set-face-attribute.
5458 (face-spec-match-p): Make it a defsubst.
5459 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5460 (x-create-frame-with-faces, tty-create-frame-with-faces)
5461 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5462 frame-set-background-mode, since they are recomputed immediately
5463 afterwards in face-set-after-frame-default.
5464 (face-set-after-frame-default): Minor optimization.
5465 (cursor): Provide non-trivial defface spec.
5467 * custom.el (custom-theme-recalc-face): Simplify.
5469 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5471 * calc/calc-alg.el (math-var): Rename from `var'.
5472 (math-is-polynomial, math-is-poly-rec): Replace `var'
5475 * calc/calcalg2.el (math-var): Rename from `var'.
5476 (calcFunc-table, math-scan-for-limits): Replace `var'
5479 2010-10-13 Glenn Morris <rgm@gnu.org>
5481 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5483 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5485 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5487 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5489 * net/tls.el (tls-program): Remove spurious %s from openssl.
5490 (tls-starttls-switches): Remove starttls hack.
5491 (open-tls-stream): Ditto.
5492 (tls-find-starttls-argument): Ditto.
5494 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5496 * image.el (image-library-alist): Declare as obsolete alias.
5497 (image-type-available-p): Use `dynamic-library-alist'.
5499 * term/w32-win.el (dynamic-library-alist):
5500 Use instead of `image-library-alist'.
5502 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5504 * subr.el (last): Make it faster. (Bug#7174)
5506 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5508 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5510 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5512 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5513 (describe-theme-1): Extract doc from unloaded themes.
5515 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5517 * themes/tango-theme.el:
5518 * themes/tango-dark-theme.el:
5519 * themes/wheatgrass-theme.el: New files.
5521 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5523 * cus-theme.el (describe-theme, customize-themes)
5524 (custom-theme-save): New commands.
5525 (custom-new-theme-mode-map): Bind C-x C-s.
5526 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5527 (customize-create-theme): New optional arg THEME.
5528 (custom-theme-revert): Use it.
5529 (custom-theme-visit-theme): Remove dead code.
5530 (custom-theme-merge-theme): Use custom-available-themes.
5531 (custom-theme-write): Make interactive.
5532 (custom-theme-write): Use custom-theme-name-valid-p.
5533 (describe-theme-1, custom-theme-choose-revert)
5534 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5536 (custom-theme-allow-multiple-selections): New option.
5537 (custom-theme-choose-mode): New major mode.
5539 * custom.el (custom-theme-set-variables): Remove dead code.
5540 Obey custom--inhibit-theme-enable.
5541 (custom--inhibit-theme-enable): New var.
5542 (provide-theme): Obey it.
5543 (load-theme): Replace load with manual read/eval, in order to
5544 check for correctness. Use custom-theme-name-valid-p.
5545 (custom-theme-name-valid-p): New function.
5546 (custom-available-themes): Use it.
5548 * cus-edit.el (custom--initialize-widget-variables): New function.
5549 (Custom-mode): Use it.
5551 * cus-face.el (custom-theme-set-faces): Remove dead code.
5552 Obey custom--inhibit-theme-enable.
5554 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5556 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5558 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5560 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5562 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5563 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5564 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5566 * cus-start.el (all): ns-right-alternate-modifier is new.
5568 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5570 * emacs-lisp/lisp.el (lisp-completion-at-point):
5571 Use emacs-lisp-mode-syntax-table for the whole function.
5573 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5575 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5576 instead of font-lock-mode before adding keywords.
5577 Remove hi-lock-mode off code. Remove inhibit hack.
5578 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5579 non-nil; removed hook inhibit hack.
5581 2010-10-12 Glenn Morris <rgm@gnu.org>
5583 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5584 (load-path-shadows-find): ... to this.
5585 (list-load-path-shadows): Update for above change.
5587 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5589 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5591 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5592 Fix comment for declare-function.
5594 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5596 * custom.el (custom-fix-face-spec): New function; code moved from
5597 custom-face-edit-fix-value.
5598 (custom-push-theme): Use it when checking if a face has been
5599 changed outside customize.
5600 (custom-available-themes): New function.
5601 (load-theme): Use it.
5603 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5605 * custom.el (custom-push-theme): Cleanup (use cond).
5606 (disable-theme): Recompute the saved-face property.
5607 (custom-theme-recalc-face): Follow face alias before setting prop.
5609 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5610 New variables, containing checkbox images.
5612 * startup.el (fancy-startup-tail):
5613 * wid-edit.el (checkbox): Use them.
5615 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5617 * shell.el (shell-mode-map):
5618 * progmodes/modula2.el (m2-mode-map):
5619 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5620 * play/mpuz.el (mpuz-mode-map):
5621 * play/landmark.el (lm-mode-map):
5622 * play/decipher.el (decipher-mode-map):
5623 * play/5x5.el (5x5-mode-map):
5624 * net/telnet.el (telnet-mode-map):
5625 * net/quickurl.el (quickurl-list-mode-map):
5626 * net/mairix.el (mairix-searches-mode-map):
5627 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5628 * net/dig.el (dig-mode-map):
5629 * mail/mspools.el (mspools-mode-map):
5630 * hexl.el (hexl-mode-map):
5631 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5632 (wordstar-C-o-map, wordstar-C-q-map):
5633 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5634 * emacs-lisp/chart.el (chart-map):
5635 * edmacro.el (edmacro-mode-map):
5636 * erc/erc-list.el (erc-list-menu-mode-map):
5637 * array.el (array-mode-map): Declare and define in one step.
5639 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5641 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5643 * epa.el (epa-passphrase-callback-function): Display filename
5644 passed as the 3rd arg.
5645 * epa-file.el (epa-file-passphrase-callback-function):
5646 Pass filename to epa-passphrase-callback-function.
5648 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5650 * cus-edit.el (custom-face-widget-to-spec)
5651 (custom-face-get-current-spec, custom-face-state): New functions.
5652 (custom-face-set, custom-face-mark-to-save)
5653 (custom-face-value-create, custom-face-state-set): Use them.
5655 * cus-theme.el (custom-theme--listed-faces): New var.
5656 (customize-create-theme): Use *Custom Theme* as the buffer name.
5657 Set revert-buffer-function. Optional arg BUFFER. Insert all
5658 faces listed in custom-theme--listed-faces.
5659 (custom-theme-revert): New function.
5660 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5662 (custom-theme-write): Prompt for theme name if empty.
5663 (custom-theme-write-variables): Use dolist.
5664 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5666 2010-10-09 Alan Mackenzie <acm@muc.de>
5668 Enhance fontification of declarators to take account of the
5669 presence/absence of "typedef".
5671 * cc-engine.el (c-forward-type): New &optional param
5673 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5674 presence of either or both of a "struct"-like keyword and "typedef".
5676 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5677 fontification of declarators which follow a "}".
5678 (c-font-lock-declarations): Fontify declarators according to the
5679 presence/absence of "typedef".
5681 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5683 (c-typedef-decl-key): New lang variable built from
5684 c-typedef-decl-kwds.
5686 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5688 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5689 since that's too annoying. Move the filter groups commands to
5692 * epa.el (epa-passphrase-callback-function): Say what we're
5693 querying the password for.
5695 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5696 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5698 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5700 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5701 (custom-magic-value-create): Pad button tags with spaces.
5702 (custom-face-edit): New variable.
5703 (custom-face-value-create): Determine whether to use the usual
5704 face editor here, instead of using custom-face-selected.
5705 Pass face defaults to custom-face-edit widget.
5706 (custom-face-selected, custom-display-unselected): Delete widgets.
5707 (custom-display-unselected-match): Function removed.
5708 (custom-face-set, custom-face-mark-to-save):
5709 Accept custom-face-edit widgets as the direct widget child.
5711 * wid-edit.el (widget--completing-widget): New var.
5712 (widget-default-complete): Bind it when doing completion.
5713 (widget-string-complete, widget-file-complete): Use it.
5715 2010-10-09 Glenn Morris <rgm@gnu.org>
5717 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5718 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5719 (holiday-hebrew-misc): Small simplifications.
5721 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5723 * net/browse-url.el: Don't require thingatpt, term, dired,
5724 executable, or w3-auto when compiling.
5725 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5727 (browse-url-text-emacs): Require term.
5729 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5731 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5733 2010-10-08 Glenn Morris <rgm@gnu.org>
5735 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5737 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5738 (shadows-compare-text-p): Make it an obsolete alias for...
5739 (load-path-shadows-compare-text): ... new name.
5740 (find-emacs-lisp-shadows): Update for above name change.
5741 (load-path-shadows-same-file-or-nonexistent): New name for the old
5742 shadow-same-file-or-nonexistent.
5744 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5746 * minibuffer.el (completion--some, completion--do-completion)
5747 (minibuffer-complete-and-exit, minibuffer-completion-help)
5748 (completion-basic-try-completion)
5749 (completion-basic-all-completions)
5750 (completion-pcm--find-all-completions): Use lexical-let to
5751 avoid some false matches in variable completion (Bug#7056)
5753 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
5755 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
5757 2010-10-08 Leo <sdl.web@gmail.com>
5759 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5760 return non-nil if the file exists (Bug#7090).
5762 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5764 * minibuffer.el (completion--replace):
5765 Better preserve markers (bug#7138).
5767 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
5769 * server.el (server-process-filter): Doc fix.
5771 2010-10-08 Drew Adams <drew.adams@oracle.com>
5773 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
5775 2010-10-08 Glenn Morris <rgm@gnu.org>
5777 * vc/ediff-wind.el (ediff-setup-control-frame):
5778 * vc/ediff-ptch.el (ediff-default-backup-extension):
5779 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5780 (ediff-exec-process): Remove system-types emx, windows-95.
5782 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
5784 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
5786 * cus-edit.el (custom-variable, custom-face): Doc fix.
5787 (custom-face-edit): Add value-create attribute.
5788 (custom-face-edit-value-create)
5789 (custom-face-edit-value-visibility-action): New functions.
5790 Hide unused face attributes by default, and add a visibility toggle.
5791 (custom-face-edit-deactivate): Show empty values with shadow face.
5792 (custom-face-selected): Only use this for face specs with default
5794 (custom-face-value-create): Cleanup.
5796 * wid-edit.el (widget-checklist-value-create): Use dolist.
5797 (widget-checklist-match-find): Make second arg optional.
5799 2010-10-07 Glenn Morris <rgm@gnu.org>
5801 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5804 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5805 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5806 load-path-shadows-mode, update references.
5807 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5808 Rename variable and button.
5809 (list-load-path-shadows): Update button caller.
5811 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5813 * emacs-lisp/smie.el (smie-bnf-classify): New function.
5814 (smie-bnf-precedence-table): Use it to remember the closers/openers.
5815 (smie-merge-prec2s): Handle those new entries.
5816 (smie-prec2-levels): Only set precedence to nil for actual
5818 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5819 that is now unnecessary.
5821 2010-10-07 Miles Bader <miles@gnu.org>
5823 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5825 2010-10-07 Glenn Morris <rgm@gnu.org>
5827 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5828 (mail-position-on-field): Remove declarations.
5829 (mail-position-on-field): Autoload it.
5830 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5831 and mail-header-end. Don't require sendmail.
5833 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5834 (shadow-mode): New mode.
5835 (shadow-find-file): New button.
5836 (list-load-path-shadows): Use shadow-mode and buttons.
5838 * iimage.el (iimage-version): Remove.
5839 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5840 Turn into defcustoms.
5841 (iimage-mode-map): Give it a doc string.
5843 * calendar/appt.el (appt-activate): Give a warning rather than an error
5844 if there is no diary-file.
5846 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
5848 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5849 Use `tramp-handle-find-backup-file-name'.
5851 2010-10-06 Glenn Morris <rgm@gnu.org>
5853 * font-core.el (font-lock-defaults-alist): Remove variable.
5854 (font-lock-mode): Doc fix.
5855 (font-lock-default-function): Do not consult font-lock-defaults-alist.
5856 * font-lock.el (font-lock-refresh-defaults): Doc fix.
5857 (font-lock-set-defaults): Doc fix.
5858 Do not consult font-lock-defaults-alist.
5860 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5862 * emacs-lisp/cl.el: No longer provide cl-19.
5864 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
5866 * net/tramp.el (tramp-handle-directory-files-and-attributes)
5867 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5868 New defuns, taken from tramp-smb.el.
5869 (tramp-coding-system-change-eol-conversion)
5870 (tramp-set-process-query-on-exit-flag): Remove.
5872 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5873 (tramp-compat-coding-system-change-eol-conversion)
5874 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5877 * net/tramp-gvfs.el:
5878 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5879 by `tramp-compat-set-process-query-on-exit-flag'.
5881 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5882 Use `tramp-handle-directory-files-and-attributes',
5883 `tramp-handle-file-exists-p' and
5884 `tramp-handle-file-newer-than-file-p'.
5885 (tramp-imap-handle-file-exists-p)
5886 (tramp-imap-handle-file-executable-p)
5887 (tramp-imap-handle-file-readable-p)
5888 (tramp-imap-handle-directory-files-and-attributes)
5889 (tramp-imap-handle-file-newer-than-file-p): Remove.
5891 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5892 by `tramp-compat-set-process-query-on-exit-flag' and
5893 `tramp-coding-system-change-eol-conversion' by
5894 `tramp-compat-coding-system-change-eol-conversion'.
5896 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5897 Use `tramp-handle-directory-files-and-attributes',
5898 `tramp-handle-file-exists-p' and
5899 `tramp-handle-file-newer-than-file-p'.
5900 (tramp-smb-handle-directory-files-and-attributes)
5901 (tramp-smb-handle-file-exists-p)
5902 (tramp-smb-handle-file-newer-than-file-p): Remove.
5903 (tramp-smb-maybe-open-connection):
5904 Replace `tramp-set-process-query-on-exit-flag' by
5905 `tramp-compat-set-process-query-on-exit-flag'.
5907 2010-10-05 Glenn Morris <rgm@gnu.org>
5909 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5911 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5913 Continue reorganization of load dependencies. (Bug#7156)
5915 * net/tramp.el (tramp-handle-file-local-copy-hook)
5916 (tramp-delete-temp-file-function): Move down.
5917 (tramp-exists-file-name-handler): Move up.
5918 (tramp-register-file-name-handlers): Simplify autoload.
5919 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5920 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5921 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5922 (tramp-handle-file-name-completion)
5923 (tramp-handle-file-name-directory)
5924 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5925 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5926 (tramp-handle-find-backup-file-name)
5927 (tramp-handle-insert-file-contents, tramp-handle-load)
5928 (tramp-handle-substitute-in-file-name)
5929 (tramp-handle-unhandled-file-name-directory)
5930 (tramp-mode-string-to-int, tramp-local-host-p)
5931 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5933 * net/tramp-gvfs.el (top):
5934 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5936 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5937 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5939 2010-10-04 Glenn Morris <rgm@gnu.org>
5941 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5942 (appt-activate): Give status messages.
5944 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5946 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5947 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5948 `gnutls-negotiate' (formerly `starttls-negotiate').
5949 Remove trivial wrapper `starttls-open-stream'.
5951 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5953 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5954 log-outgoing commands.
5955 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5956 to create a buffer local revert-buffer-function variable.
5957 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5958 revert-buffer-function lambda.
5960 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5962 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5963 `gnutls-boot'. Make TYPE the only required parameter.
5964 Allow TRUSTFILES and KEYFILES to be lists.
5965 (open-ssl-stream): Use it.
5967 2010-10-03 Glenn Morris <rgm@gnu.org>
5969 * subr.el (directory-sep-char): Remove obsolete variable.
5970 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5973 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5974 * vc/vc.el (vc-static-header-alist): Doc fix.
5975 * vc/vc-cvs.el (vc-cvs-header):
5976 * vc/vc-rcs.el (vc-rcs-header):
5977 * vc/vc-sccs.el (vc-sccs-header):
5978 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5979 * obsolete/vc-mcvs.el (vc-mcvs-header):
5980 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5983 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5985 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5986 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5988 2010-10-03 Glenn Morris <rgm@gnu.org>
5990 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5992 * textmodes/rst.el (rst-font-lock-keywords-function):
5995 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5997 * printing.el: Drop Emacs 20 code.
5999 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6000 without having used appt.el already).
6002 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6003 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6004 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6006 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6007 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6009 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6010 (charset-width, find-charset-region, chars-in-region, forward-point)
6011 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6012 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6013 Remove compatibility cruft (none of these are used by ps*.el).
6015 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6017 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6019 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6021 * server.el (server-process-filter, server-return-error):
6022 Give emacsclient time to shut down after receiving an error string.
6024 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6026 * files.el (remote-file-name-inhibit-cache): New defcustom.
6028 * time.el (display-time-file-nonempty-p):
6029 Use `remote-file-name-inhibit-cache'.
6031 * net/tramp.el (tramp-completion-reread-directory-timeout):
6034 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6035 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6036 `remote-file-name-inhibit-cache'. Check also for an integer
6037 value. Add/increase counter when `tramp-verbose' >= 10.
6038 (tramp-set-file-property): Add/increase counter when
6039 `tramp-verbose' >= 10.
6041 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6042 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6043 (tramp-bug): Set tramp-autoload cookie. Report all interned
6044 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6045 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6046 characters only in strings.
6048 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6049 to backward compatibility.
6051 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6052 (tramp-handle-file-name-all-completions)
6053 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6054 (tramp-open-connection-setup-interactive-shell):
6055 Call `tramp-cleanup-connection' directly.
6057 2010-10-02 Glenn Morris <rgm@gnu.org>
6059 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6061 * subr.el (char-bytes): Remove obsolete function.
6063 * isearch.el (isearch-return-char): Remove obsolete function.
6065 * mouse.el: No longer provide mldrag.
6066 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6067 Remove obsolete aliases.
6069 * comint.el (comint-kill-output): Remove obsolete alias.
6071 * composite.el (decompose-composite-char): Remove obsolete function.
6072 * ps-def.el (decompose-composite-char): Remove unused function.
6074 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6076 * outline.el (outline-visible): Remove obsolete function.
6078 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6079 * faces.el (internal-find-face, internal-get-face)
6080 (frame-update-faces, frame-update-face-colors)
6081 (x-frob-font-weight, x-frob-font-slant)
6082 (internal-frob-font-weight, internal-frob-font-slant)
6083 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6084 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6085 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6087 * emulation/viper-util.el (viper-get-face):
6088 * obsolete/lucid.el (find-face, get-face): Use facep.
6089 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6090 Remove unused functions.
6091 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6093 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6094 delete tempfile if interrupted during compilation.
6096 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6098 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6100 (tls-program): Add --insecure to be consistent with the defaults from
6101 openssl s_client. Now all three commands are insecure.
6103 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6105 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6106 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6107 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6109 2010-10-01 Glenn Morris <rgm@gnu.org>
6111 * obsolete/sc.el: Remove file.
6113 * files.el (temporary-file-directory): On darwin, also try
6114 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6116 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6118 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6119 Let's not break compatibility gratuitously, shall we?
6121 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6123 * net/tls.el (tls-starttls-switches): New variable.
6124 (tls-find-starttls-argument): Use it.
6125 (open-tls-stream): Ditto.
6127 * net/netrc.el (netrc-credentials): Return the value of the "default"
6129 (netrc-machine): Ditto.
6131 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6133 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6135 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6137 * server.el (server-start): Don't write pid to the authentication file.
6138 (server-create-tty-frame): Don't send pid.
6139 (server-process-filter): Send pid at the start of every connection.
6141 2010-09-30 Glenn Morris <rgm@gnu.org>
6143 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6144 (show-all-diary-entries): Remove obsolete function aliases.
6146 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6147 Remove options, obsolete since 22.1.
6148 (appt-display-format, appt-display-message):
6149 Remove backwards-compatibility code.
6150 (appt-check): No longer check appt-issue-message.
6151 (appt-make-list): No longer autoload it. Doc fix. No longer
6152 activate the package.
6154 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6156 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6157 (starttls-negotiate): Just call boot, and let the handshake be
6158 triggered from the read loop.
6160 2010-09-29 Glenn Morris <rgm@gnu.org>
6162 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6163 not displaying the diary.
6164 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6165 * calendar/appt.el (appt-check): No longer need to kill diary.
6167 * calendar/diary-lib.el (diary-list-entries): Move the
6168 "Preparing..." message entirely here.
6169 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6170 messages to diary-list-entries.
6171 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6172 diary-display-function.
6174 * calendar/diary-lib.el (diary-include-other-diary-files):
6175 Trap some recursive includes.
6177 * calendar/appt.el (appt-activate): Check diary file.
6179 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6181 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6184 * calendar/time-date.el: No need to require cl for Emacs 21.
6186 2010-09-28 Glenn Morris <rgm@gnu.org>
6188 * calendar/appt.el (appt-check): Minor simplification.
6190 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6192 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6195 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6197 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6198 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6200 2010-09-27 Kenichi Handa <handa@m17n.org>
6202 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6205 2010-09-27 Kenichi Handa <handa@m17n.org>
6207 * international/mule.el (define-coding-system): Docstring fixed.
6209 * international/mule-diag.el (describe-character-set): Use princ
6210 with proper print-length and print-level instead of insert.
6212 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6214 * window.el (walk-windows): Doc fix (bug#7105).
6216 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6218 * emacs-lisp/float-sup.el (e): Remove.
6220 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6222 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6224 (starttls-negotiate): Use it.
6226 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6228 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6231 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6233 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6235 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6237 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6239 * net/netrc.el (netrc-store-data): New function.
6241 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6243 * net/gnutls.el: GnuTLS glue code to set up a connection.
6245 2010-09-25 Julien Danjou <julien@danjou.info>
6247 * notifications.el: Call dbus-register-signal only if it is bound.
6249 2010-09-25 Glenn Morris <rgm@gnu.org>
6251 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6252 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6253 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6254 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6255 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6256 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6257 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6258 * eshell/esh-util.el, eshell/esh-var.el:
6259 Remove leading `*' from docs of faces and defcustoms.
6261 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6263 * eshell/em-ls.el (eshell-ls-archive-regexp):
6264 * eshell/esh-util.el (eshell-tar-regexp):
6265 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6266 * info.el (Info-suffix-list):
6267 * international/mule.el (auto-coding-alist):
6268 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6269 * progmodes/etags.el (tags-compression-info-list):
6270 Support xz compression.
6272 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6274 * files.el (get-free-disk-space): Don't assume the "df" output
6275 columns line up (Bug#6995).
6277 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6279 * finder.el (finder-unknown-keywords):
6280 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6281 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6283 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6285 * server.el (server-start): Revert part of 2010-08-08 change. Using
6286 address 127.0.0.1 for local host is now done in Fmake_network_process.
6288 2010-09-24 Glenn Morris <rgm@gnu.org>
6290 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6291 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6292 * textmodes/css-mode.el, textmodes/dns-mode.el:
6293 Move autoloaded auto-mode-alist entries to files.el.
6294 * files.el (auto-mode-alist): Move entries here.
6296 2010-09-23 Glenn Morris <rgm@gnu.org>
6298 * isearch.el (isearch-lazy-highlight-cleanup)
6299 (isearch-lazy-highlight-initial-delay)
6300 (isearch-lazy-highlight-interval)
6301 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6302 * net/net-utils.el (ipconfig-program-options):
6303 Move aliases to options before the associated definitions.
6305 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6307 * newcomment.el (comment-normalize-vars): Better test validity of
6310 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6312 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6313 (float-e): New name for `e'.
6314 (degrees-to-radians, radians-to-degrees):
6315 * calendar/solar.el (solar-longitude):
6316 * calculator.el (calculator-registers, calculator-funcall):
6317 * textmodes/artist.el (artist-spray-random-points):
6318 * play/bubbles.el (bubbles--initialize-images): Use new names.
6320 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6322 Update to CEDET 1.0's version of EIEIO.
6324 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6326 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6327 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6328 (class-precedence-list): If class is nil, return nil.
6329 (eieio-generic-call): If class of first input arg is nil, don't
6330 look up static methods, and do check for primary methods.
6331 (initialize-instance): See if the default needs to be evaluated
6332 during the constructor.
6333 (eieio-perform-slot-validation-for-default): Don't do the check
6334 for values that will eventually be evaluated.
6335 (eieio-eval-default-p): New function.
6336 (eieio-default-eval-maybe): Use it.
6338 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6340 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6341 method-invocation-order.
6342 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6343 (eieio-class-precedence-dfs): Compute class precedence list using
6345 (eieio-class-precedence-bfs): Compute class precedence list using
6347 (eieio-class-precedence-c3): Compute class precedence list using
6349 (class-precedence-list): New function.
6350 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6351 (inconsistent-class-hierarchy): New error symbol.
6352 (call-next-method): Stow the replacement argument list for future
6353 call-next-method invocations.
6355 2010-09-23 Glenn Morris <rgm@gnu.org>
6357 * calendar/appt.el (appt-check): If not displaying the diary,
6358 use (diary 1) to only get the entries we need.
6359 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6360 that it is in day order. (Bug#7019)
6362 * calendar/appt.el (appt-check): Rather than showing the diary,
6363 just turn off invisible display, and only if needed.
6365 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6367 2010-09-23 Glenn Morris <rgm@gnu.org>
6369 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6370 (byte-compile-defvar, byte-compile-cl-warn):
6371 Start warnings with lower-case, like the majority.
6373 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6375 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6377 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6378 * files.el (auto-mode-alist): Move ld-script entries here, further down
6381 * vc/add-log.el: Don't require timezone when compiling.
6382 (timezone-make-date-sortable): Autoload it.
6383 (change-log-sortable-date-at): Don't require timezone.
6384 Use `ignore-errors'.
6386 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6387 Move alias before definition, so it does not need autoloading.
6389 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6390 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6391 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6392 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6393 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6394 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6395 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6396 * textmodes/tex-mode.el, textmodes/two-column.el:
6397 Remove leading `*' from docs of defcustoms etc.
6399 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6401 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6403 2010-09-22 Dan Christensen <jdc@uwo.ca>
6405 * calendar/time-date.el (date-to-time): Try using parse-time-string
6406 first before using the slower timezone-make-date-arpa-standard.
6408 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6410 * calendar/time-date.el (format-seconds): Comment fix.
6412 2010-09-22 Glenn Morris <rgm@gnu.org>
6414 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6415 is not automatically buffer-local.
6417 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6419 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6420 (smie-indent-comment): Be more careful with comment-start-skip.
6421 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6422 (smie-indent-functions): Use them.
6424 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6426 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6428 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6430 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6431 tool-bar-position. Don't modify frame parameters here.
6432 (menu-bar-options-save): Add tool-bar-position.
6434 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6436 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6438 * textmodes/reftex-parse.el (reftex-what-macro)
6439 (reftex-context-substring): Let-bind forward-sexp-function to nil
6440 since we don't need/want to treat \begin...\end as a block (bug#7053).
6442 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6444 * simple.el (blink-matching-open): Use syntax-class.
6446 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6447 Set invisibility spec for pascal's outline mode.
6448 (pascal-outline-change): Clean up calling convention.
6449 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6451 * progmodes/prolog.el (prolog-smie-forward-token)
6452 (prolog-smie-backward-token): New functions.
6453 (prolog-mode-variables): Use them to parse "!," correctly.
6454 Set up smie-blink-matching for ".".
6456 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6458 (ispell-region, ispell-process-line): Update users.
6460 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6463 * textmodes/ispell.el: Fix commenting convention.
6464 (ispell-parse-output): Simplify, use push.
6465 (ispell-region): Use match-string-no-properties.
6466 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6467 (ispell-minor-mode): Use define-minor-mode.
6468 (ispell-message): Remove unused var `skip-regexp'.
6469 (ispell-add-per-file-word-list): Use dynamic let-binding.
6470 Try and use the proper comment marker.
6472 * mail/sendmail.el: Fix commenting convention.
6473 (sendmail-send-it): Use line-beginning-position.
6475 * help-fns.el (describe-variable): Add original value, if applicable.
6477 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6479 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6481 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6483 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6485 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6486 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6487 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6488 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6489 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6490 something like "." can also be a closer.
6491 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6492 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6493 Rename internal functions to use "--". Update callers.
6495 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6497 * fringe.el (fringe-styles): New var.
6498 (fringe-mode, fringe-query-style): Use it.
6500 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6502 * progmodes/sql.el: Version 2.8
6503 (sql-login-params): Update widget structure; changes still needed.
6504 (sql-product-alist): Add :list-all and :list-table features for
6505 SQLite, Postgres and MySQL products.
6506 (sql-redirect): Handle default value.
6507 (sql-execute, sql-execute-feature): New functions.
6508 (sql-read-table-name): New function.
6509 (sql-list-all, sql-list-table): New functions. User API.
6510 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6511 for above functions.
6512 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6513 for above functions.
6514 (sql-postgres-login-params): Add user and database defaults.
6515 (sql-buffer-live-p): Bug fix.
6516 (sql-product-history): New variable.
6517 (sql-read-product): New function. Use it.
6518 (sql-set-product, sql-product-interactive): Use it.
6519 (sql-connection-history): New variable.
6520 (sql-read-connection): New function. Use it.
6521 (sql-connect): New function.
6522 (sql-for-each-login): Redesign function interface.
6523 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6524 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6525 (sql-comint): Check for program. Existing live buffer.
6526 (sql-comint-postgres): Add port parameter.
6528 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6530 * emacs-lisp/warnings.el: Fix commenting convention.
6531 (display-warning): Use special mode and make the buffer read-only.
6533 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6535 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6536 empty string when it follows a repeated or optional pattern.
6538 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6540 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6541 (indent-region): Use indent-according-to-mode.
6543 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6545 * fringe.el (fringe-mode): Doc fix.
6547 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6549 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6550 refreshing the preview buffer.
6552 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6554 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6555 (latex-syntax-propertize-rules): New consts; replace
6556 tex-font-lock-syntactic-keywords.
6557 (tex-env-mark, latex-env-before-change): New functions.
6558 (latex-electric-env-pair-mode): New minor mode.
6559 (tex-font-lock-verb): Change arguments; do move point.
6560 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6561 representation as a form of comment.
6562 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6563 (doctex-syntax-propertize-rules): New const; replaces
6564 doctex-font-lock-syntactic-keywords.
6565 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6567 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6568 (fortran-make-syntax-propertize-function): New function; replaces
6569 fortran-font-lock-syntactic-keywords.
6570 (fortran-mode): Use it.
6571 (fortran-line-length): Use it. Improve interactive spec.
6573 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6574 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6575 when adding surrounding \(..\).
6577 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6579 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6581 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6582 Use with-current-buffer.
6584 * isearch.el (isearch-face): Rename from `isearch'.
6585 (isearch-highlight): Use new name.
6587 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6589 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6590 5, for `half' width fringes. (Bug#6933)
6592 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6594 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6595 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6597 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6599 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6601 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6602 in calculating new frame position. Add more space between new and
6603 parent on the left (Bug#7048).
6605 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6607 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6610 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6612 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6614 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6615 obsolete alias for x-selection-value.
6617 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6619 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6621 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6624 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6626 * net/tramp-compat.el (tramp-compat-with-temp-message)
6627 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6628 (tramp-compat-process-put): New defuns.
6630 * net/tramp.el (top):
6631 * net/tramp-gvfs.el (top):
6632 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6634 * net/tramp.el (tramp-progress-reporter-update):
6635 Use `tramp-compat-funcall'.
6637 * net/tramp.el (tramp-process-actions):
6638 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6639 * net/tramp-sh.el (tramp-handle-vc-registered)
6640 (tramp-get-remote-stat, tramp-get-remote-readlink):
6641 Use `tramp-compat-with-temp-message'.
6643 * net/tramp-sh.el (top): Require 'cl.
6644 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6645 (tramp-open-connection-setup-interactive-shell):
6646 Use `tramp-compat-process-put'.
6648 2010-09-15 Alan Mackenzie <acm@muc.de>
6650 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6652 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6654 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6656 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6657 `lexical' for warnings related to lexical scoping.
6658 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6659 global vars which don't have a prefix and could hence affect lexical
6660 scoping in unrelated files.
6662 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6664 * net/imap.el: Revert back to version
6665 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6668 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6670 * obsolete/old-whitespace.el (whitespace-unload-function):
6671 Explicitly pass `obarray' to `unintern' to avoid a warning.
6673 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6675 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6676 Add `when' argument. Update callers.
6678 * subr.el (unintern): Declare the obarray arg mandatory.
6680 2010-09-14 Glenn Morris <rgm@gnu.org>
6682 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6685 * calendar/diary-lib.el (diary-included-files): New variable.
6686 (diary-list-entries): Maybe initialize diary-included-files.
6687 (diary-include-other-diary-files): Append to diary-included-files.
6688 * calendar/appt.el (appt-update-list): Also check the members of
6689 diary-included-files. (Bug#6999)
6690 (appt-check): Doc fix.
6692 2010-09-14 David Reitter <david.reitter@gmail.com>
6694 * simple.el (line-move-visual): Do not truncate goal column to
6695 integer size. (Bug#7020)
6697 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6699 * repeat.el (repeat): Allow repeating when the last event is a click.
6700 Suggested by Drew Adams (bug#6256).
6702 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6704 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6705 Replace setting HGRCPATH to "" by some less invasive --config options.
6707 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6709 * font-lock.el (font-lock-beginning-of-syntax-function):
6712 2010-09-14 Glenn Morris <rgm@gnu.org>
6714 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6715 and tool-bar modes. (Bug#6211)
6716 (menu-bar-mode): Move setting of standard-value after the
6717 minor-mode definition, otherwise it seems to have no effect.
6719 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6721 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6722 Fix typo. (Bug#6976)
6724 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6726 * whitespace.el: Allow cleaning up blanks without blank
6727 visualization (Bug#6651). Adjust help window for
6728 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6729 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6730 (whitespace-style): Add new value 'face. Adjust docstring.
6731 (whitespace-space, whitespace-hspace, whitespace-tab):
6732 Adjust foreground property face.
6733 (whitespace-line-column): Adjust docstring and type declaration.
6734 (whitespace-style-value-list, whitespace-toggle-option-alist)
6735 (whitespace-help-text): Adjust const initialization.
6736 (whitespace-toggle-options, global-whitespace-toggle-options):
6738 (whitespace-display-window, whitespace-interactive-char)
6739 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6740 (whitespace-help-scroll): New fun.
6742 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6744 * calendar/time-date.el (format-seconds): Comment fix.
6746 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
6748 * progmodes/sql.el: Version 2.7.
6749 (sql-buffer-live-p): Improve detection.
6750 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6751 (sql-set-sqli-buffer): Use it.
6752 (sql-product-interactive): Run `sql-set-sqli-hook'.
6753 (sql-rename-buffer): Code cleanup.
6754 (sql-redirect, sql-redirect-value): New functions. More to come.
6756 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
6758 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.
6759 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6760 (TRAMP_SRC): New macro.
6761 ($(lisp)/net/tramp-loaddefs.el): New target.
6763 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
6765 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
6767 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
6769 * net/tramp.el (top): Don't show loading message. Require just
6770 'tramp-compat, everything else is required there.
6771 Use `ignore-errors' where appropriate.
6772 (tramp-inline-compress-start-size, tramp-copy-size-limit)
6773 (tramp-terminal-type, tramp-end-of-output)
6774 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6775 (tramp-completion-function-alist-ssh)
6776 (tramp-completion-function-alist-telnet)
6777 (tramp-completion-function-alist-su)
6778 (tramp-completion-function-alist-putty, tramp-remote-path)
6779 (tramp-remote-process-environment, tramp-sh-extra-args)
6780 (tramp-actions-before-shell, tramp-uudecode)
6781 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6782 (tramp-perl-file-attributes)
6783 (tramp-perl-directory-files-and-attributes)
6784 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6785 (tramp-perl-encode, tramp-perl-decode)
6786 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6787 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6788 (tramp-handle-make-symbolic-link, tramp-handle-load)
6789 (tramp-handle-file-name-as-directory)
6790 (tramp-handle-file-name-directory)
6791 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6792 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6793 (tramp-do-file-attributes-with-ls)
6794 (tramp-do-file-attributes-with-perl)
6795 (tramp-do-file-attributes-with-stat)
6796 (tramp-handle-set-visited-file-modtime)
6797 (tramp-handle-verify-visited-file-modtime)
6798 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6799 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6800 (tramp-handle-file-selinux-context)
6801 (tramp-handle-set-file-selinux-context)
6802 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6803 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6804 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6805 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6806 (tramp-handle-file-ownership-preserved-p)
6807 (tramp-handle-directory-file-name, tramp-handle-directory-files)
6808 (tramp-handle-directory-files-and-attributes)
6809 (tramp-do-directory-files-and-attributes-with-perl)
6810 (tramp-do-directory-files-and-attributes-with-stat)
6811 (tramp-handle-file-name-all-completions)
6812 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6813 (tramp-handle-copy-file, tramp-handle-copy-directory)
6814 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6815 (tramp-do-copy-or-rename-file-via-buffer)
6816 (tramp-do-copy-or-rename-file-directly)
6817 (tramp-do-copy-or-rename-file-out-of-band)
6818 (tramp-handle-make-directory, tramp-handle-delete-directory)
6819 (tramp-handle-delete-file)
6820 (tramp-handle-dired-recursive-delete-directory)
6821 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6822 (tramp-handle-insert-directory)
6823 (tramp-handle-unhandled-file-name-directory)
6824 (tramp-handle-expand-file-name)
6825 (tramp-handle-substitute-in-file-name)
6826 (tramp-handle-executable-find, tramp-process-sentinel)
6827 (tramp-handle-start-file-process, tramp-handle-process-file)
6828 (tramp-handle-call-process-region, tramp-handle-shell-command)
6829 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6830 (tramp-handle-insert-file-contents)
6831 (tramp-handle-insert-file-contents-literally)
6832 (tramp-handle-find-backup-file-name)
6833 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6834 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6835 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6836 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6837 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6838 (tramp-find-file-exists-command, tramp-open-shell)
6839 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6840 (tramp-open-connection-setup-interactive-shell)
6841 (tramp-local-coding-commands, tramp-remote-coding-commands)
6842 (tramp-find-inline-encoding, tramp-call-local-coding-command)
6843 (tramp-inline-compress-commands, tramp-find-inline-compress)
6844 (tramp-compute-multi-hops, tramp-maybe-open-connection)
6845 (tramp-send-command, tramp-wait-for-output)
6846 (tramp-send-command-and-check, tramp-barf-unless-okay)
6847 (tramp-send-command-and-read, tramp-mode-string-to-int)
6848 (tramp-convert-file-attributes, tramp-check-cached-permissions)
6849 (tramp-file-mode-from-int, tramp-file-mode-permissions)
6850 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6851 (tramp-method-out-of-band-p, tramp-local-host-p)
6852 (tramp-get-remote-path, tramp-get-remote-tmpdir)
6853 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6854 (tramp-get-test-command, tramp-get-test-nt-command)
6855 (tramp-get-file-exists-command, tramp-get-remote-ln)
6856 (tramp-get-remote-perl, tramp-get-remote-stat)
6857 (tramp-get-remote-readlink, tramp-get-remote-trash)
6858 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6859 (tramp-get-local-uid, tramp-get-local-gid)
6860 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6862 (tramp-methods, tramp-default-method-alist)
6863 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6864 Move initialization to tramp-sh.el.
6865 (tramp-temp-name-prefix): Make it a defconst.
6866 (tramp-dissect-file-name): Don't check anymore for multi-hop
6868 (tramp-debug-outline-regexp): Add a docstring.
6869 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6870 (tramp-get-debug-buffer): Use it.
6872 * net/tramp-cache.el (top): Set tramp-autoload cookie for
6873 initialization forms.
6874 (tramp-set-connection-property): Don't protect `tramp-message'
6875 call, it isn't necessary any longer.
6876 (tramp-dump-connection-properties): Use `ignore-errors'.
6878 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6879 'password-cache and 'auth-source.
6881 * net/tramp-gvfs.el (top):
6882 * net/tramp-smb.el (top): Require 'tramp-sh.
6884 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6886 * net/tramp-sh.el: New file, derived from tramp.el.
6887 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6888 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6889 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6890 Use `ignore-errors' where appropriate.
6891 (tramp-sh-file-name-handler-alist): Rename from
6892 `tramp-file-name-handler-alist'.
6893 (tramp-send-command-and-check): Return t or nil. Remove all
6894 `zerop' checks, where called.
6895 (tramp-handle-set-file-modes)
6896 (tramp-do-copy-or-rename-file-directly)
6897 (tramp-handle-delete-directory, tramp-handle-delete-file)
6898 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6899 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6900 (tramp-get-remote-ln): Set tramp-autoload cookie.
6902 * net/tramp-fish.el: Remove file.
6904 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6906 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6907 buffer-file-name to avoid file-locking. (Bug#7026)
6909 2010-09-13 Julien Danjou <julien@danjou.info>
6911 * notifications.el (notifications-notify): Add support for
6912 image-path and sound-name.
6913 (notifications-specification-version): Add this variable.
6915 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6917 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6919 2010-09-12 Leo <sdl.web@gmail.com>
6921 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6922 (rcirc-completion-start): New variables.
6923 (rcirc-nick-completions): Rename to rcirc-completions.
6924 (rcirc-nick-completion-start-offset): Delete.
6925 (rcirc-completion-at-point): New function for constructing
6926 completion data for both nicks and irc commands. Add to
6927 completion-at-point-functions in rcirc mode.
6928 (rcirc-complete): Rename from rcirc-nick-complete; use
6929 rcirc-completion-at-point.
6930 (defun-rcirc-command): Update rcirc-client-commands.
6932 2010-09-11 Glenn Morris <rgm@gnu.org>
6934 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6935 atomically, to avoid parallel build errors. (Bug#4196)
6937 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6939 * progmodes/sql.el: Version 2.6
6940 (sql-dialect): Synonym for "sql-product".
6941 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6942 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6943 Set "sql-buffer" to buffer name not buffer object so multiple sql
6944 interactive buffers work properly. Reverts misguided changes in
6946 (sql-comint): Make sure different buffer name is used if "*SQL*"
6947 buffer is for a different product.
6948 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6950 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6951 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6952 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6953 Accept new buffer name or prompt for one.
6954 (sql-port): Default to zero.
6955 (sql-comint-mysql): Handle "sql-port" as a numeric.
6956 (sql-port-history): Delete unused variable.
6957 (sql-get-login): Default "sql-port" to a number.
6958 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6959 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6960 "sqlite3" executables.
6961 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6962 (sql-buffer-live-p): New function.
6963 (sql-mode-menu, sql-send-string): Use it.
6964 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6966 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6967 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6969 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6971 * net/netrc.el (netrc-credentials): New convenience function.
6973 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6975 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6976 to replace texinfo-font-lock-syntactic-keywords.
6977 (texinfo-mode): Use it.
6979 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6980 Use syntax-propertize-function.
6982 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6983 replace sgml-font-lock-syntactic-keywords.
6984 (sgml-mode): Use it.
6986 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6987 since we don't use it.
6989 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6991 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6993 (vhdl-fontify-buffer): Adjust.
6995 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6996 replace tcl-font-lock-syntactic-keywords.
6999 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7000 replace simula-font-lock-syntactic-keywords.
7001 (simula-mode): Use it.
7003 * progmodes/sh-script.el (sh-st-symbol): Remove.
7004 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7005 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7006 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7007 (sh-font-lock-paren): Set syntax-multiline.
7008 (sh-font-lock-syntactic-keywords): Remove.
7009 (sh-syntax-propertize-function): New function to replace it.
7012 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7013 Define while compiling.
7014 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7015 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7016 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7017 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7018 (ruby-here-doc-end-syntax): Only define when
7019 syntax-propertize is not available.
7020 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7022 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7023 (electric-indent-chars): Silence bytecompiler.
7024 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7025 electric-indent-chars.
7027 * progmodes/python.el (python-syntax-propertize-function): New var to
7028 replace python-font-lock-syntactic-keywords.
7029 (python-mode): Use it.
7030 (python-quote-syntax): Simplify and adjust to new use.
7032 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7033 replace perl-font-lock-syntactic-keywords.
7034 (perl-syntax-propertize-special-constructs): New fun to replace
7035 perl-font-lock-special-syntactic-constructs.
7036 (perl-font-lock-syntactic-face-function): New fun.
7037 (perl-mode): Use it.
7039 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7040 to replace octave-font-lock-close-quotes.
7041 (octave-syntax-propertize-function): New function to replace
7042 octave-font-lock-syntactic-keywords.
7043 (octave-mode): Use it.
7045 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7046 replaces mixal-font-lock-syntactic-keywords.
7047 (mixal-mode): Use it.
7049 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7050 New var; replaces makefile-font-lock-syntactic-keywords.
7051 (makefile-mode): Use it.
7052 (makefile-imake-mode): Adjust.
7054 * progmodes/js.el (js--regexp-literal): Define while compiling.
7055 (js-syntax-propertize-function): New var; replaces
7056 js-font-lock-syntactic-keywords.
7059 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7060 replaces gdb-script-font-lock-syntactic-keywords.
7061 (gdb-script-mode): Use it.
7063 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7064 (fortran--font-lock-syntactic-keywords): New var.
7065 (fortran-line-length): Update syntax-propertize-function and
7066 fortran--font-lock-syntactic-keywords.
7068 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7070 * progmodes/cfengine.el (cfengine-mode):
7071 Use syntax-propertize-function.
7072 (cfengine-font-lock-syntactic-keywords): Remove.
7074 * progmodes/autoconf.el (autoconf-mode):
7075 Use syntax-propertize-function.
7076 (autoconf-font-lock-syntactic-keywords): Remove.
7078 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7079 (ada-after-change-function, ada-initialize-syntax-table-properties)
7080 (ada-handle-syntax-table-properties): Only define when
7081 syntax-propertize is not available.
7082 (ada-mode): Use syntax-propertize-function.
7084 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7085 (font-lock-fontify-syntactic-keywords-region): Move handling of
7086 font-lock-syntactically-fontified to...
7087 (font-lock-default-fontify-region): ...here.
7088 Let syntax-propertize-function take precedence.
7089 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7091 * emacs-lisp/syntax.el (syntax-propertize-function)
7092 (syntax-propertize-chunk-size, syntax-propertize--done)
7093 (syntax-propertize-extend-region-functions): New vars.
7094 (syntax-propertize-wholelines, syntax-propertize-multiline)
7095 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7096 (syntax-propertize): New functions.
7097 (syntax-propertize-rules): New macro.
7098 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7099 (syntax-ppss): Call syntax-propertize.
7101 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7103 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7105 * textmodes/ispell.el (ispell-init-process): Improve comments.
7106 XEmacs compatibility changes regarding (add-hook) 'local option
7107 and (set-process-query-on-exit-flag).
7109 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7111 * net/tramp-cache.el (tramp-parse-connection-properties):
7112 Set tramp-autoload cookie.
7114 2010-09-09 Glenn Morris <rgm@gnu.org>
7116 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7117 (imagemagick-register-types): Doc fix.
7119 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7121 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7123 * progmodes/js.el (require): Require is already "eval-and-compile".
7124 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7125 (js--re-search-backward): Use js--re-search-forward.
7127 * progmodes/fortran.el (fortran-line-length): Don't recompute
7128 syntactic keywords redundantly a second time.
7130 * progmodes/ada-mode.el: Replace "(set '" with setq.
7131 (ada-mode): Simplify.
7132 (ada-create-case-exception, ada-adjust-case-interactive)
7133 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7134 (ada-search-ignore-string-comment, ada-move-to-start)
7135 (ada-move-to-end): Use with-syntax-table.
7137 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7138 (font-lock-unfontify-region, font-lock-default-fontify-region):
7139 Update usage correspondingly.
7140 (font-lock-fontify-syntactic-keywords-region):
7141 Set parse-sexp-lookup-properties buffer-locally here.
7142 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7144 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7146 2010-09-08 Glenn Morris <rgm@gnu.org>
7148 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7149 Error if not compiled with -DBYTE_CODE_METER.
7151 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7152 Ignore dir-locals-file.
7154 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7156 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7158 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7159 for the `gnu' messages.
7160 (compilation-set-skip-threshold): New command.
7161 (compilation-start): Use \' rather than $.
7162 (compilation-forget-errors): Use clrhash.
7164 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7166 * textmodes/ispell.el (ispell-valid-dictionary-list):
7169 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7171 Migrate to Tramp 2.2. Rearrange load dependencies.
7172 (Bug#1529, Bug#5448, Bug#5705)
7174 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7175 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7176 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7178 * net/tramp.el (top): Remove all other tramp-* loads except
7179 tramp-compat.el. Remove all changes to tramp-unload-hook for
7180 other tramp-* packages. Rearrange defun order. Change calls of
7181 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7182 `tramp-compat-octal-to-decimal' to new function names.
7183 (tramp-terminal-type, tramp-initial-end-of-output)
7184 (tramp-methods, tramp-foreign-file-name-handler-alist)
7185 (tramp-tramp-file-p, tramp-completion-mode-p)
7186 (tramp-send-command-and-check, tramp-get-remote-path)
7187 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7188 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7189 (with-file-property, with-connection-property): Move to
7191 (tramp-local-call-process, tramp-decimal-to-octal)
7192 (tramp-octal-to-decimal): Move to tramp-compat.el.
7193 (tramp-handle-shell-command): Do not require 'shell.
7194 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7196 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7198 * net/tramp-cache.el (top): Require 'tramp. Add to
7199 `tramp-unload-hook'.
7200 (tramp-cache-data, tramp-get-file-property)
7201 (tramp-set-file-property, tramp-flush-file-property)
7202 (tramp-flush-directory-property, tramp-get-connection-property)
7203 (tramp-set-connection-property, tramp-flush-connection-property)
7204 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7206 (with-file-property, with-connection-property): New defuns, moved
7208 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7211 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7212 (tramp-version): Set tramp-autoload cookie.
7214 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7215 changes to tramp-unload-hook for other tramp-* packages. Add to
7216 `tramp-unload-hook'.
7217 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7218 (tramp-compat-call-process): New defuns, moved from tramp.el.
7220 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7221 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7222 Add to `tramp-unload-hook'. Change call of
7223 `tramp-compat-decimal-to-octal' to new function name.
7224 (tramp-fish-method): Make it a defconst.
7225 (tramp-fish-file-name-p): Make it a defsubst.
7226 (tramp-fish-method, tramp-fish-file-name-handler)
7227 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7229 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7230 `tramp-foreign-file-name-handler-alist'. Add to
7231 `tramp-unload-hook'.
7232 (tramp-ftp-method): Make it a defconst.
7233 (tramp-ftp-file-name-p): Make it a defsubst.
7234 (tramp-ftp-method, tramp-ftp-file-name-handler)
7235 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7237 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7238 `tramp-foreign-file-name-handler-alist'. Add to
7239 `tramp-unload-hook'. Change checks, whether package can be
7241 (tramp-gvfs-file-name-p): Make it a defsubst.
7242 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7243 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7244 (tramp-gvfs-handle-file-directory-p): New defun.
7245 (tramp-gvfs-file-name-handler-alist): Use it.
7247 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7248 `tramp-foreign-file-name-handler-alist'. Add to
7249 `tramp-unload-hook'.
7250 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7251 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7253 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7254 (tramp-gw-open-connection): Set tramp-autoload cookie.
7256 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7257 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7258 Add to `tramp-unload-hook'. Change checks, whether package can be
7260 (tramp-imap-file-name-p): Make it a defsubst.
7261 (tramp-imap-method, tramp-imaps-method)
7262 (tramp-imap-file-name-handler)
7263 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7265 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7266 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7267 Add to `tramp-unload-hook'. Change checks, whether package can be
7268 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7270 (tramp-smb-tunnel-method): Make it a defconst.
7271 (tramp-smb-file-name-p): Make it a defsubst.
7272 (tramp-smb-method, tramp-smb-file-name-handler)
7273 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7275 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7276 (tramp-uuencode-region): Set tramp-autoload cookie.
7278 * net/trampver.el (top) Add to `tramp-unload-hook'.
7279 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7280 cookie. Update release number.
7282 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7284 * textmodes/ispell.el (ispell-start-process): Make sure original
7285 arg list is properly initialized (Bug#6993, Bug#6994).
7287 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7289 * files.el (directory-abbrev-alist): Use \` as default regexp.
7291 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7292 chars like - or ] (bug#6984).
7293 (rx-any-condense-range): Explode 2-char ranges.
7295 2010-09-06 Glenn Morris <rgm@gnu.org>
7297 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7299 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7301 * textmodes/bibtex.el:
7302 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7304 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7306 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7307 since no callers use it.
7308 (imap-message-get): Ditto.
7309 (imap-message-put): Ditto.
7310 (imap-mailbox-map): Ditto.
7311 (imap-mailbox-put): Ditto.
7312 (imap-mailbox-get): Ditto.
7313 (imap-mailbox-get): Revert last change for this function.
7315 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7317 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7318 callers to use `imap-fetch' instead. According to the comments, this
7319 should be safe, since all other IMAP clients use the 1:* syntax.
7320 (imap-enable-exchange-bug-workaround): Remove.
7321 (imap-debug): Remove -- doesn't seem very useful.
7323 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7325 * net/imap.el (imap-log): New convenience function used throughout
7326 instead of repeating the same code all over the place.
7328 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7330 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7331 when mouse-drag-copy-region is non-nil (Bug#6956).
7333 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7335 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7336 Improve regexps (Bug#6987).
7337 (dired-sort-toggle): Search more robustly for -t flag.
7339 * files.el (get-free-disk-space): Search more robustly for
7340 "available" column. Suggested by Ehud Karni
7341 <ehud@unix.mvs.co.il>.
7343 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7345 * international/uni-bidi.el:
7346 * international/uni-category.el:
7347 * international/uni-combining.el:
7348 * international/uni-decimal.el:
7349 * international/uni-mirrored.el:
7350 * international/uni-name.el: Regenerate.
7352 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7354 * electric.el (electric-indent-post-self-insert-function):
7355 Don't reindent with a sloppy indentation function.
7357 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7358 border case in change-log-mode.
7360 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7362 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7363 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7364 Recognize leading tab in gcc-include regexp. Ignore names with
7365 leading "from" or "in" in gnu regexp (Bug#6937).
7367 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7369 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7370 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7371 (ispell-start-process): Avoid setq and simplify logic.
7372 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7373 (kill-buffer-hook): Don't use it globally with code that uses
7374 expand-file-name since that may call kill-buffer via
7375 code_conversion_restore.
7377 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7379 * emacs-lisp/package.el (package-directory-list): Only call
7380 file-name-nondirectory on a string.
7382 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7384 * emacs-lisp/package.el (package--download-one-archive):
7385 Ensure that archive-contents is valid before saving it.
7386 (package-activate-1, package-mark-obsolete, define-package)
7387 (package-compute-transaction, package-list-maybe-add): Use push.
7389 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7391 Use SMIE's blink-paren for octave-mode.
7392 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7393 Backslashes do not escape single-quotes, single-quotes do.
7394 (octave-block-else-regexp, octave-block-end-regexp)
7395 (octave-block-match-alist): Remove.
7396 (octave-smie-bnf-table): New var, with old content.
7397 (octave-smie-op-levels): Use it.
7398 (octave-smie-closer-alist): New var.
7399 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7400 (octave-blink-matching-block-open): Remove.
7401 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7402 (octave-electric-space): Let self-insert-command run expand-abbrev and
7405 * electric.el (electricity): New group.
7406 (electric-indent-chars): New var.
7407 (electric-indent-post-self-insert-function): New fun.
7408 (electric-indent-mode): New minor mode.
7409 (electric-pair-skip-self): New custom.
7410 (electric-pair-post-self-insert-function): New function.
7411 (electric-pair-mode): New minor mode.
7413 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7414 calcAlg-blink-matching-open.
7415 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7416 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7417 Use the new blink-matching-check-function.
7419 Provide blink-matching support to SMIE.
7420 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7421 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7422 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7424 * simple.el (newline): Fix last change to properly remove itself from
7427 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7429 * simple.el (newline): Eliminate optimization.
7430 Use post-self-insert-hook to set hard-newline and things before
7431 running post-self-insert-hook.
7432 (blink-matching-check-mismatch): New function.
7433 (blink-matching-check-function): New variable.
7434 (blink-matching-open): Use them.
7435 Skip back forward over prefix chars skipped by forward-sexp.
7436 Don't check if the parens are backslash escaped.
7437 (blink-paren-post-self-insert-function): Check backslash escaping here.
7439 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7441 * emacs-lisp/package.el (package-menu-mode-map):
7442 Change package-menu-revert bindings to revert-buffer.
7443 (package-menu-mode): Set revert-buffer-function.
7444 (package-menu-revert): Doc fix.
7446 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7448 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7449 `default-directory' unless using Ispell per-directory personal
7450 dictionaries and not in a mini-buffer under XEmacs.
7451 (kill-buffer-hook): Do not kill ispell process on exit when
7452 `ispell-process-directory' is "~/". (Bug#6143)
7454 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7456 * simple.el (kill-new): Call interprogram-cut-function with only
7459 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7460 Remove cut buffer from error message.
7462 * term/x-win.el (x-select-text):
7463 * term/pc-win.el (x-selection-value):
7464 * term/ns-win.el (x-selection-value):
7465 * eshell/em-term.el:
7466 * w32-fns.el (x-get-selection-value):
7467 * mouse-sel.el (mouse-sel-set-selection-function):
7468 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7470 * term/x-win.el: Update documentation for x-last-selected-text-*.
7471 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7472 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7473 (x-select-text): Remove argument PUSH, update documentation.
7474 Remove cut-buffer code.
7475 (x-selection-value-internal): Was previously x-selection-value.
7476 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7477 Update documentation, remove cut-buffer code.
7478 Call x-selection-value-internal.
7479 (x-clipboard-yank): Call x-selection-value-internal.
7480 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7482 * term/pc-win.el (x-last-selected-text):
7483 x-cut-buffer-or-selection-value renamed to x-selection-value
7484 (x-select-text): Remove argument PUSH, update documentation.
7486 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7487 x-cut-buffer-or-selection-value renamed to x-selection-value
7488 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7489 (x-select-text): Remove argument PUSH, update documentation.
7491 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7493 * w32-fns.el (x-last-selected-text):
7494 x-cut-buffer-or-selection-value renamed to x-selection-value.
7495 (x-cut-buffer-max): Remove.
7496 (x-select-text): Remove argument PUSH, update documentation.
7498 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7500 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7502 * mouse-sel.el (mouse-sel-get-selection-function):
7503 x-cut-buffer-or-selection-value renamed to x-selection-value.
7504 (x-select-text): Remove optional push.
7506 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7508 * simple.el (blink-paren-function): Move from C to here.
7509 (blink-paren-post-self-insert-function): New function.
7510 (post-self-insert-hook): Use it.
7512 * emacs-lisp/pcase.el (pcase-split-memq):
7513 Fix overenthusiastic optimisation.
7514 (pcase-u1): Handle the case of a lambda pred.
7516 2010-08-31 Kenichi Handa <handa@m17n.org>
7518 * international/mule-cmds.el (standard-display-european-internal):
7519 Setup standard-display-table for 8-bit characters by storing 8-bit
7520 characters in the element vector.
7522 * disp-table.el (standard-display-8bit):
7523 Setup standard-display-table for 8-bit characters by storing 8-bit
7524 characters in the element vector.
7525 (standard-display-european): Likewise.
7527 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7529 * textmodes/nroff-mode.el (nroff-view): New command.
7530 (nroff-mode-map): Bind it to C-c C-c.
7532 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7534 * emacs-lisp/smie.el (smie-down-list): New command.
7536 Remove old indentation and navigation code on octave-mode.
7537 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7538 smie-down-list rather than add a binding for octave-down-block.
7539 (octave-mark-block, octave-blink-matching-block-open):
7540 Rely on forward-sexp-function.
7541 (octave-fill-paragraph): Don't narrow, so you can use
7542 indent-according-to-mode.
7543 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7544 (octave-in-block-p, octave-re-search-forward-kw)
7545 (octave-re-search-backward-kw, octave-indent-calculate)
7546 (octave-end-as-array-index-p, octave-block-end-offset)
7547 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7548 (octave-down-block, octave-backward-up-block, octave-up-block)
7549 (octave-before-magic-comment-p, octave-indent-line): Remove.
7551 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7553 * emacs-lisp/package.el (package--read-archive-file): Just use
7554 `read', to avoid copying an additional string.
7555 (package-menu-mode): Set header-line-format here.
7556 (package-menu-refresh, package-menu-revert): Signal an error if
7557 not in the Package Menu.
7558 (package-menu-package-list): New var.
7559 (package--generate-package-list): Operate on the current buffer;
7560 don't assume that it is *Packages*, since the user may rename it.
7561 Allow persistent package listings and sort keys using
7562 package-menu-package-list and package-menu-package-sort-key.
7563 (package-menu--version-predicate): Fix version calculation.
7564 (package-menu-sort-by-column): Don't select the window.
7565 (package--list-packages): Create the *Packages* buffer.
7566 Set package-menu-package-list-key.
7567 (list-packages): Sorting by status is now the default.
7568 (package-buffer-info): Use match-string-no-properties.
7569 (define-package): Add a &rest argument for future proofing, but
7571 (package-install-from-buffer, package-install-buffer-internal):
7572 Merge into a single function, package-install-from-buffer.
7573 (package-install-file): Change caller.
7575 * finder.el: Load finder-inf using `require'.
7576 (finder-list-matches): Sorting by status is now the default.
7577 (finder-compile-keywords): Simpify printing.
7579 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7581 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7582 (octave-mode-map): Remove special bindings for forward/backward-block
7583 and octave-backward-up-block. Use smie-close-block.
7584 (octave-continuation-marker-regexp): New var.
7585 (octave-continuation-regexp): Use it.
7586 (octave-operator-table, octave-smie-op-levels)
7587 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7588 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7589 (octave-mode): Use SMIE.
7590 (octave-close-block): Delete.
7592 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7594 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7595 CLIPBOARD, not in PRIMARY. (Bug#6944)
7597 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7599 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7601 (smie-indent-column): Allow indirection through variables.
7603 * composite.el (save-buffer-state): Delete, unused.
7604 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7605 (font-lock-default-fontify-region): Use with-syntax-table.
7606 * jit-lock.el (with-buffer-unmodified): Remove.
7607 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7609 Use `declare' in defmacros.
7610 * window.el (save-selected-window):
7611 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7612 * progmodes/python.el (def-python-skeleton):
7613 * net/dbus.el (dbus-ignore-errors):
7614 * jka-cmpr-hook.el (with-auto-compression-mode):
7615 * international/mule.el (with-category-table):
7616 * emacs-lisp/timer.el (with-timeout):
7617 * emacs-lisp/lisp-mnt.el (lm-with-file):
7618 * emacs-lisp/eieio.el (with-slots):
7619 * emacs-lisp/easymenu.el (easy-menu-define):
7620 * emacs-lisp/debug.el (debugger-env-macro):
7621 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7622 (Multiple-value-call, Multiple-value-prog1):
7623 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7624 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7625 edebug rule to definition.
7626 * emacs-lisp/lisp-mode.el (save-selected-window)
7627 (with-current-buffer, combine-after-change-calls)
7628 (with-output-to-string, with-temp-file, with-temp-buffer)
7629 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7630 (dolist, dotimes, when, unless):
7631 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7633 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7635 * finder.el: Require `package'.
7636 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7637 (finder-package-info): Var deleted.
7638 (finder-keywords-hash, finder--builtins-alist): New vars.
7639 (finder-compile-keywords): Compute package--builtins and
7640 finder-keywords-hash instead of finder-keywords-hash, respecting
7641 the "Package" header.
7642 (finder-unknown-keywords, finder-list-matches):
7643 Use finder-keywords-hash and package--list-packages.
7644 (finder-mode): Don't set font-lock-defaults.
7645 (finder-exit): We don't use "*Finder-package*" and "*Finder
7646 Category*" buffers anymore.
7648 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7649 (package--builtins): Set default value to nil.
7650 (package-initialize): Load precomputed value of package--builtins
7652 (package-alist, package-compute-transaction)
7653 (package-download-transaction): Improve docstring.
7654 (package-read-all-archive-contents): Do not change
7655 package--builtins here.
7656 (list-packages): Make package-list-packages an alias for this.
7657 Sort by status by default.
7658 (package--list-packages): Add optional PACKAGES arg.
7659 (describe-package-1): Use font-lock-face property. For built-in
7660 packages, insert file commentary.
7661 (package--generate-package-list): Rename from
7662 package-list-packages-internal; all callers changed. Add optional
7663 PACKAGES arg. Add alphabetical sort fallbacks.
7664 (package-menu--version-predicate, package-menu--status-predicate)
7665 (package-menu--description-predicate)
7666 (package-menu--name-predicate): New functions.
7668 * info.el (Info-finder-find-node): Search package-alist instead of
7669 finder-package-info.
7671 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7673 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7675 (version-to-list): Handle versions like "10.3d".
7677 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7679 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7680 (macroexp-accumulate): Use `declare'.
7682 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7684 * whitespace.el (whitespace-style): Adjust type declaration.
7686 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7688 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7690 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7692 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7695 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7697 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7698 (js-paren-indent-offset, js-square-indent-offset)
7699 (js-curly-indent-offset): New options.
7700 (js--proper-indentation): Use them.
7702 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7704 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7705 instead of inspecting font-lock properties (Bug#6916).
7707 2010-08-26 David Reitter <david.reitter@gmail.com>
7709 * server.el (server-visit-files): Run pre-command-hook and
7710 post-command-hook for each buffer while it is current (Bug#6910).
7711 (server-execute): Do not run hooks here.
7713 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7715 Sync with Tramp 2.1.19.
7717 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7719 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7721 * net/tramp.el (tramp-handle-expand-file-name)
7722 (tramp-completion-handle-file-name-all-completions)
7723 (tramp-completion-handle-file-name-completion):
7724 Use `tramp-connectable-p'.
7726 * net/trampver.el: Update release number.
7728 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7730 * help.el (help-map): Bind `C-h P' to describe-package.
7732 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7734 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7735 when downloading archives.
7736 (describe-package-1): Add package commentary.
7737 (package-install-button-action): New function.
7738 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7739 (package-menu-view-commentary): Function removed.
7740 (package-list-packages-internal): Hide the `package' package too.
7742 2010-08-25 Kenichi Handa <handa@m17n.org>
7744 * language/misc-lang.el ("Arabic"): New language environment.
7745 Setup composition-function-table for Arabic characters.
7747 * international/fontset.el (setup-default-fontset): Fix typo for
7748 arabic OTF spec (fini->fina).
7750 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7752 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7755 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7757 * whitespace.el: Allow cleaning up blanks without blank
7758 visualization (Bug#6651). Adjust help window for
7759 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7760 instead of whitespace-line-column (from EmacsWiki). New version
7762 (whitespace-style): Add new value 'face. Adjust docstring.
7763 (whitespace-space, whitespace-hspace, whitespace-tab):
7764 Adjust foreground property face.
7765 (whitespace-line-column): Adjust docstring and type declaration.
7766 (whitespace-style-value-list, whitespace-toggle-option-alist)
7767 (whitespace-help-text): Adjust const initialization.
7768 (whitespace-toggle-options, global-whitespace-toggle-options):
7770 (whitespace-display-window, whitespace-interactive-char)
7771 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7772 (whitespace-help-scroll): New fun.
7774 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7776 * emacs-lisp/package.el (list-packages): Alias for
7777 package-list-packages.
7779 2010-08-24 Kevin Ryde <user42@zip.com.au>
7781 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7784 * progmodes/ruby-mode.el (ruby): Add defgroup.
7786 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7788 * progmodes/python.el: Add Ipython support (Bug#5390).
7789 (python-shell-prompt-alist)
7790 (python-shell-continuation-prompt-alist): New options.
7791 (python--set-prompt-regexp): New function.
7792 (inferior-python-mode, run-python, python-shell):
7793 Require ansi-color. Use python--set-prompt-regexp to set the comint
7794 prompt based on the Python interpreter.
7795 (python--prompt-regexp): New var.
7796 (python-check-comint-prompt)
7797 (python-comint-output-filter-function): Use it.
7798 (run-python): Use a pipe (Bug#5694).
7800 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7802 * progmodes/python.el (python-send-region): Send a different
7803 Python command if Ipython is in use.
7804 (python-check-version): Use a Python command to find the version.
7806 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7808 * mouse.el (mouse-yank-primary): Avoid setting primary when
7809 deactivating the mark (Bug#6872).
7811 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7813 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7814 with "else" (Bug#3991).
7816 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7818 * net/dbus.el: Accept UNIX domain sockets as bus address.
7819 (top): Don't initialize `dbus-registered-objects-table' anymore,
7820 this is done in dbusbind,c.
7821 (dbus-check-event): Adapt test for bus.
7822 (dbus-return-values-table, dbus-unregister-service)
7823 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7826 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7828 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7830 2010-08-22 Juri Linkov <juri@jurta.org>
7832 * simple.el (read-extended-command): New function with the logic
7833 for `completing-read' moved to Elisp from `execute-extended-command'.
7834 Use `function-called-at-point' in `minibuffer-default-add-function'
7835 to get a command name for M-n (bug#5364, bug#5214).
7837 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7839 * startup.el (command-line-1): Issue warning for ignored arguments
7840 --unibyte, etc (Bug#6886).
7842 2010-08-22 Leo <sdl.web@gmail.com>
7844 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7845 (ignore, bright, dim, keyword): Split list of nicknames before
7846 passing to rcirc-add-or-remove (Bug#6894).
7848 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7850 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7852 2010-08-22 Leo <sdl.web@gmail.com>
7854 Fix buffer-list rename&refresh after killing a buffer in ido.
7855 * ido.el: Revert Óscar's.
7856 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7857 Remember the buffers at head, rather than their name.
7858 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7860 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7861 Stefan Monnier <monnier@iro.umontreal.ca>
7863 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7864 extra backslash added to each line (bug#6890).
7866 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7868 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7870 2010-08-22 Glenn Morris <rgm@gnu.org>
7872 * menu-bar.el (menu-bar-games-menu): Add landmark.
7874 2010-08-22 Glenn Morris <rgm@gnu.org>
7876 * align.el (align-regexp): Make group and spacing arguments
7877 use the interactive defaults when non-interactive. (Bug#6698)
7879 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7880 expansion, so as not to need sendmail.
7881 (mail-text-start): Remove declaration.
7882 (rmail-retry-failure): Require sendmail.
7884 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7886 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7888 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7890 * progmodes/flymake.el (flymake-start-syntax-check-process):
7891 Use `start-file-process' in order to let it run also on remote hosts.
7893 2010-08-22 Kenichi Handa <handa@m17n.org>
7895 * files.el: Add `word-wrap' as safe local variable.
7897 2010-08-22 Glenn Morris <rgm@gnu.org>
7899 * woman.el (woman-translate): Case matters. (Bug#6849)
7901 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7903 * simple.el (kill-region): Doc fix (Bug#6787).
7905 2010-08-22 Glenn Morris <rgm@gnu.org>
7907 * calendar/diary-lib.el (diary-header-line-format):
7908 Fit it to the window, not the frame.
7910 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7912 * subr.el (ignore-errors): Add debug declaration.
7914 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7916 * whitespace.el (whitespace-color-off): Remove post-command-hook
7919 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7921 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7923 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7925 * cus-edit.el (custom-group-value-create): Add extra newline
7926 before end line (Bug#6876).
7928 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7930 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7931 when extending it. Before killing on the second click, check if
7932 the buffer is the correct one. Doc fix.
7933 (mouse-secondary-save-then-kill): Allow usage without first
7934 calling mouse-start-secondary, by defaulting to point. Don't save
7935 an empty secondary selection. Doc fix.
7937 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7939 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7940 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7942 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7943 Adjust initialization.
7944 (whitespace-bob-marker, whitespace-eob-marker)
7945 (whitespace-buffer-changed): New vars.
7946 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7947 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7948 (whitespace-post-command-hook, whitespace-display-char-on):
7950 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7951 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7953 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7955 * files.el (locate-file-completion-table): Only list the .el and .elc
7956 extensions if there's no other choice (bug#5955).
7958 * facemenu.el (facemenu-self-insert-data): New var.
7959 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7961 (facemenu-add-face): Use them.
7963 * simple.el (blink-matching-open): Obey forward-sexp-function.
7965 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7967 * simple.el (prog-mode-map): New var.
7968 (prog-indent-sexp): New command.
7970 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7972 * progmodes/prolog.el (smie): Require.
7974 * emacs-lisp/smie.el (smie-default-backward-token)
7975 (smie-default-forward-token): Strip properties.
7976 (smie-next-sexp): Be more careful with associative operators.
7977 (smie-forward-sexp-command): Generalize.
7978 (smie-backward-sexp-command): Simplify.
7979 (smie-closer-alist): New var.
7980 (smie-close-block): New command.
7981 (smie-indent-debug-log): New var.
7982 (smie-indent-offset-rule): Add a few more cases.
7983 (smie-indent-column): New function.
7984 (smie-indent-after-keyword): Use it.
7985 (smie-indent-keyword): Use it.
7986 Fix up the opener code's point position.
7987 (smie-indent-comment): Only applies at BOL.
7988 (smie-indent-debug): New command.
7990 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7991 declarations that are useful before running the macro.
7993 2010-08-18 Joakim Verona <joakim@verona.se>
7995 * image.el (imagemagick-types-inhibit): New variable.
7996 (imagemagick-register-types): New function.
7997 * image-mode.el (image-transform-properties): New function.
7998 (image-transform-set-scale, image-transform-fit-to-height)
7999 (image-transform-set-rotation, image-transform-set-resize)
8000 (image-transform-fit-to-width, image-transform-fit-to-height):
8002 (image-toggle-display-image): Support image transforms.
8004 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8006 * image.el (create-animated-image): Don't add heuristic mask to image
8009 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8011 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8012 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8014 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8016 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8018 Font-lock '...' strings, plus various simplifications and fixes.
8019 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8020 (octave-font-lock-close-quotes): New function.
8021 (octave-font-lock-syntactic-keywords): New var.
8022 (octave-mode): Use it. Set beginning-of-defun-function.
8023 (octave-mode-map): Don't override the <foo>-defun commands.
8024 (octave-mode-menu): Pass it directly to easy-menu-define;
8025 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8026 (octave-block-match-alist): Fix up last change so that
8027 octave-close-block uses the more specific keyword.
8028 (info-lookup-mode): Silence byte-compiler.
8029 (octave-beginning-of-defun): Not interactive any more.
8031 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8032 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8033 (octave-completion-at-point-function): Make sure point is within
8035 (octave-reindent-then-newline-and-indent):
8036 Use reindent-then-newline-and-indent.
8037 (octave-add-octave-menu): Remove.
8039 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8041 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8042 (report-emacs-bug-can-use-xdg-email): New functions.
8043 (report-emacs-bug): Set can-xdg-email to result of
8044 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8045 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8048 * net/browse-url.el (browse-url-default-browser): Add cond
8049 for browse-url-xdg-open.
8050 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8052 2010-08-17 Glenn Morris <rgm@gnu.org>
8054 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8055 (c-fontify-recorded-types-and-refs): Define for compiler.
8056 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8059 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8062 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8064 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8066 (tramp-handle-process-file): Call the program in a subshell, in
8067 order to preserve working directory.
8068 (tramp-action-password): Hide password prompt before next run.
8069 (tramp-process-actions): Widen connection buffer for the trace.
8071 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8073 * net/rcirc.el (rcirc-log-process-buffers): New option.
8074 (rcirc-print): Use it.
8075 (rcirc-generate-log-filename): New function.
8076 (rcirc-log-filename-function): Change default to
8077 rcirc-generate-log-filename (Bug#6828).
8079 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8081 * simple.el (deactivate-mark): If select-active-regions is `only',
8082 only set selection for temporarily active regions.
8084 * cus-start.el: Change defcustom for select-active-regions.
8086 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8088 * mouse.el (mouse--drag-set-mark-and-point): New function.
8089 (mouse-drag-track): Use LOCATION arg to push-mark.
8090 Use mouse--drag-set-mark-and-point to take click-count into
8091 consideration when updating point and mark (Bug#6840).
8093 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8095 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8096 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8098 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8100 * font-lock.el (lisp-font-lock-keywords-2):
8101 Add combine-after-change-calls, condition-case-no-debug,
8102 with-demoted-errors, and with-silent-modifications (Bug#6025).
8104 2010-08-14 Kevin Ryde <user42@zip.com.au>
8106 * emacs-lisp/copyright.el (copyright-update-year)
8107 (copyright-update): Temporary switch-to-buffer to ensure the
8108 buffer change being queried is visible (Bug#5394).
8110 2010-08-14 Tom Tromey <tromey@redhat.com>
8112 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8115 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8117 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8120 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8122 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8123 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8124 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8125 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8126 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8127 Call menu-bar-set-tool-bar-position.
8129 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8131 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8132 comment style (bug#6834).
8133 * progmodes/scheme.el (scheme-mode-syntax-table):
8134 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8135 "b" flag in "' 14b" syntax.
8137 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8138 for (un)commenting the region and performing completion.
8139 (octave-mode-menu): Use standard commands for help and completion.
8140 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8141 (octave-mode): Use define-derived-mode.
8142 Set completion-at-point-functions and don't set columns.
8143 Don't disable adaptive-fill-regexp.
8144 (octave-describe-major-mode, octave-comment-region)
8145 (octave-uncomment-region, octave-comment-indent)
8146 (octave-indent-for-comment): Remove.
8147 (octave-indent-calculate): Rename from calculate-octave-indent.
8148 (octave-indent-line, octave-fill-paragraph): Update caller.
8149 (octave-initialize-completions): No need to make an alist.
8150 (octave-completion-at-point-function): New function.
8151 (octave-complete-symbol): Use it.
8152 (octave-insert-defun): Use define-skeleton.
8154 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8155 (octave-mode-map): Use comment-dwim (bug#6829).
8157 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8159 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8160 indentation of inserted comment.
8162 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8164 * faces.el (region): Add type gtk that uses gtk colors.
8166 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8167 Handle theme-name change.
8169 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8171 * progmodes/sql.el: Version 2.5
8172 (sql-product-alist): Add :prompt-cont-regexp property for several
8174 (sql-prompt-cont-regexp): New variable.
8175 (sql-output-newline-count, sql-output-by-send):
8176 New variables. Record number of newlines in input text.
8177 (sql-send-string): Handle multiple filters and count newlines.
8178 (sql-send-magic-terminator): Count terminator newline.
8179 (sql-interactive-remove-continuation-prompt): Filters output to
8180 remove continuation prompts; one for each newline.
8181 (sql-interactive-mode): Set up new variables, prompt regexp and
8183 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8184 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8186 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8188 * emacs-lisp/pcase.el: New file.
8190 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8192 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8193 as here-document, otherwise the command could exceed maximum
8194 length of command line.
8195 (tramp-handle-vc-registered): Call script accordingly.
8196 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8198 2010-08-10 Kenichi Handa <handa@m17n.org>
8200 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8203 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8205 * emacs-lisp/package.el (package-version-split)
8206 (package--version-first-nonzero, package-version-compare):
8208 (package-directory-list, package-load-all-descriptors)
8209 (package--built-in, package-activate, define-package)
8210 (package-installed-p, package-compute-transaction)
8211 (package-read-all-archive-contents)
8212 (package--add-to-archive-contents, package-buffer-info)
8213 (package-tar-file-info, package-list-packages-internal):
8214 Use version-to-list and version-list-*.
8216 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8217 Use version-to-list.
8218 (package-upload-buffer-internal): Use version-list-<=.
8220 2010-08-09 Kenichi Handa <handa@m17n.org>
8222 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8225 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8227 * tutorial.el (tutorial--default-keys): C-d is now bound to
8228 delete-forward-char (Bug#6826).
8230 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8231 for `double' value of mouse-1-click-follows-link (Bug#6807).
8233 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8235 * replace.el (replace-highlight): Bind isearch-forward and
8236 isearch-error, ensuring that highlighting is updated if the user
8237 switches the search direction (Bug#6808).
8239 * isearch.el (isearch-lazy-highlight-forward): New var.
8240 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8241 (isearch-lazy-highlight-update): Use it.
8243 2010-08-08 Kenichi Handa <handa@m17n.org>
8245 * international/mule.el (define-charset): Store NAME as :base property.
8246 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8247 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8248 current priority. Force using the designation of the specific
8249 charset by adding `charset' text property. Improve the whole algorithm.
8251 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8253 * emulation/pc-select.el (pc-selection-mode-hook)
8254 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8255 (pc-selection-mode): Fix typos in docstrings.
8257 2010-08-08 Kenichi Handa <handa@m17n.org>
8259 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8260 ctext-non-standard-encodings-alist here.
8262 * international/mule.el (ctext-non-standard-encodings-alist):
8263 Add "koi8-r" and "microsoft-cp1251".
8264 (ctext-standard-encodings): New variable.
8265 (ctext-non-standard-encodings-table): List only elements for
8266 non-standard encodings.
8267 (ctext-pre-write-conversion): Adjust for the above change.
8268 Check ctext-standard-encodings.
8270 * international/mule-conf.el (compound-text): Doc fix.
8271 (ctext-no-compositions): Doc fix.
8272 (compound-text-with-extensions): Doc fix.
8274 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8276 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8278 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8280 * progmodes/which-func.el (which-func-format): Split help-echo text
8281 into lines, like other mode-line tooltips.
8283 * server.el (server-start): When using TCP sockets, force IPv4
8284 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8286 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8288 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8290 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8292 * term.el (term-delimiter-argument-list): Reflow docstring.
8293 (term-read-input-ring, term-write-input-ring, term-send-input)
8294 (term-bol, term-erase-in-display, serial-supported-or-barf):
8295 Fix typos in docstrings.
8297 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8299 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8301 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8303 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8305 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8307 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8308 Fix typo in docstring (bug#6747).
8310 2010-08-08 Leo <sdl.web@gmail.com>
8312 * eshell/esh-io.el (eshell-get-target): Better detection of
8313 read-only file (Bug#6762).
8315 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8317 * align.el (align-default-spacing): Doc fix.
8318 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8320 2010-08-08 Stephen Peters <speters@itasoftware.com>
8322 * calendar/icalendar.el
8323 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8324 (icalendar--get-weekday-numbers): New.
8325 (icalendar--convert-recurring-to-diary): Handle multiple byday
8326 values in weekly rules. (Bug#6766)
8328 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8330 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8331 (icalendar--create-uid, icalendar-export-region)
8332 (icalendar--parse-summary-and-rest): Code formatting.
8334 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8336 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
8337 to italicize headers.
8338 (calc-highlight-selections-with-faces): New variable.
8339 (calc-selected-face, calc-nonselected-face): New faces.
8341 * calc/calccomp.el (math-comp-highlight-string): Use
8342 `calc-highlight-selections-with-faces' to determine how to highlight
8345 * calc/calc-sel.el (calc-show-selections): Change message to when
8346 using faces to highlight selections.
8348 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8350 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8351 Add SQLite 3 keywords, functions and datatypes.
8352 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8355 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8357 * simple.el (select-active-regions): Move to keyboard.c.
8358 (deactivate-mark): Used saved-region-selection.
8359 (select-active-region): Function removed.
8360 (activate-mark, set-mark, push-mark-command)
8361 (handle-shift-selection): Don't call it.
8362 (keyboard-quit): Avoid adding the region to the window selection.
8364 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8365 select-active-regions implementation.
8366 (mouse-yank-at-click): Doc fix.
8368 * cus-start.el: Add custom declaration for select-active-regions.
8370 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8372 * simple.el (delete-forward-char): Doc fix.
8374 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8375 after reading the tutorial.
8377 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8379 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8380 Fix for the case that a C style comment has its delimiters alone on
8381 their respective lines. (Bug#193)
8383 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8385 * net/tramp.el (tramp-handle-start-file-process): Set connection
8387 (tramp-process-sentinel): Use it for flushing the cache.
8388 We cannot do it via the process buffer, the buffer could be deleted
8389 already when running the sentinel.
8391 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8393 * comint.el (comint-mode): Make directory tracking functions
8394 functional on remote files. (Bug#6764)
8396 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8398 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8400 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8402 * emacs-lisp/find-gc.el (find-gc-source-files):
8403 Rename unexec.c => unexcoff.c.
8405 * emacs-lisp/authors.el (authors-fixed-entries):
8406 Rename unexec.c => unexcoff.c.
8408 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8410 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8411 cache, not only file cache.
8412 (tramp-process-sentinel): New defun.
8413 (tramp-handle-start-file-process): Use it, in order to invalidate
8416 2010-08-03 Leo <sdl.web@gmail.com>
8418 * server.el (server-start): Simplify loop.
8420 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8422 * frame.el (screen-height, screen-width, set-screen-width)
8423 (set-screen-height): Remove ancient compatibility aliases.
8425 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8426 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8428 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8429 that change current buffer.
8431 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8433 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8434 beginning of the string. Use `string-match-p'. (Bug#6765)
8436 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8438 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8440 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8442 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8443 (package--builtins): Tweak descriptions.
8444 (package-print-package): Upcase descriptions if necessary.
8445 Show all built-in packages in font-lock-builtin-face.
8446 (package-list-packages-internal): Omit "emacs" package.
8447 Show status of built-in packages as "built-in".
8449 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8451 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8452 before killing to preserve the primary selection (Bug#6701).
8454 * term/x-win.el (x-select-text): Doc fix.
8456 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8458 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8459 (objc-font-lock-extra-types):
8460 * progmodes/cc-mode.el (c-basic-common-init):
8461 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8462 (c++-make-template-syntax-table)
8463 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8464 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8465 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8466 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8467 * progmodes/cc-fonts.el (c-make-inverse-face)
8468 (c-basic-matchers-after):
8469 * progmodes/cc-engine.el (c-forward-keyword-clause)
8470 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8471 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8472 (c-guess-continued-construct, c-guess-basic-syntax):
8473 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8474 The above functions were modified or created.
8476 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8478 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8480 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8482 * files.el (bidi-paragraph-direction): Define safe local values.
8484 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8485 language-info-alist. Remove outdated FIXME in a comment.
8487 2010-07-31 Alan Mackenzie <acm@muc.de>
8489 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8490 Auto-fill broken in C/C++ modes.
8492 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8494 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8495 (menu-bar-showhide-tool-bar-menu-customize-disable)
8496 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8497 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8498 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8499 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8500 make a menu for Options => toolbar that can move it.
8502 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8504 * emacs-lisp/package-x.el (package--make-rss-entry):
8505 (package-maint-add-news-item, package--update-news)
8506 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8508 * emacs-lisp/package.el (package-archive-url): Rename from
8510 (package-install): Doc fix.
8511 (package-download-single, package-download-tar, package-install)
8512 (package-menu-view-commentary): Callers changed.
8514 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8516 * net/tramp.el (tramp-handle-start-file-process): Check only for
8517 `remote-tty' process property.
8518 (tramp-open-shell): Don't check for tty.
8519 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8522 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8525 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8527 * emacs-lisp/package.el (package-load-list, package-archives)
8528 (package-archive-contents, package-user-dir)
8529 (package-directory-list, package--builtins, package-alist)
8530 (package-activated-list, package-obsolete-alist): Mark as risky.
8532 2010-07-28 Phil Hagelberg <phil@evri.com>
8534 Add support for non-default package repositories.
8535 * emacs-lisp/package.el (package-archive-base): Var deleted.
8536 (package-archives): New variable.
8537 (package-archive-contents): Doc fix.
8538 (package-load-descriptor): Do nothing if descriptor file is missing.
8539 (package--write-file-no-coding): New function.
8540 (package-unpack-single): Use it.
8541 (package-archive-id): New function.
8542 (package-download-single, package-download-tar)
8543 (package-menu-view-commentary): Use it.
8544 (package-installed-p): Make second argument optional.
8545 (package-read-all-archive-contents): New function.
8546 (package-initialize): Use it.
8547 (package-read-archive-contents): Add ARCHIVE argument.
8548 (package--add-to-archive-contents): New function.
8549 (package-install): Don't call package-read-archive-contents.
8550 (package--download-one-archive): Store archive file in a
8551 subdirectory of package-user-dir.
8552 (package-menu-execute): Remove spurious line movement.
8554 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8556 * cus-start.el (tool-bar-style): Add text-image-horiz.
8558 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8560 * progmodes/gud.el (gud-common-init): Check for remoteness of
8561 `file', and not of `default-directory'.
8563 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8565 * net/tramp.el (tramp-methods): Move hostname to the end in all
8566 ssh `tramp-login-args'.
8567 (tramp-verbose): Describe verbose level 9.
8568 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8569 (tramp-open-connection-setup-interactive-shell): Trace stty
8570 settings if `tramp-verbose' >= 9.
8571 (tramp-handle-start-file-process): Implement tty setting.
8572 (Bug#4604, Bug#6360)
8574 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8575 `tramp-verbose' to 9.
8577 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8579 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8580 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8581 Remove references to package `lisp-re' (bug#4369).
8583 2010-07-27 Tom Tromey <tromey@redhat.com>
8585 * progmodes/js.el (js-mode):
8586 * progmodes/make-mode.el (makefile-mode):
8587 * progmodes/simula.el (simula-mode):
8588 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8590 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8592 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8594 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8595 (display-time-world-buffer-name, display-time-world-mode-map):
8596 Fix typos in docstrings.
8598 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8600 * image-mode.el (image-display-size): New function.
8601 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8602 (image-mode-fit-frame): Use it (Bug#6639).
8604 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8606 * dired.el (dired-buffers-for-dir): Handle list values of
8607 dired-directory (Bug#6636).
8609 2010-07-26 Sam Steingold <sds@gnu.org>
8611 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8612 Do not call `x-get-selection' the second time, reuse the value.
8614 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8616 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8617 which consist of control chars only. Suggested by Richard Stallman.
8619 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8621 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8622 exists before passing an error to find-file-not-found-functions
8625 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8627 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8628 Remove leading nil element, adjust values.
8629 (tetris-shapes, tetris-shape-scores):
8630 Change representation of shapes and remove some redundancy.
8631 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8632 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8633 Adjust for working with new representation of shapes.
8634 (tetris-shape-rotations): New function.
8635 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8636 (tetris-rotate-prev, tetris-rotate-next):
8637 Adjust for working with the new version of tetris-test-shape.
8639 2010-07-23 Markus Triska <markus.triska@gmx.at>
8641 * progmodes/ps-mode.el: Use comint (bug#5954).
8642 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8643 (ps-mode-other-newline): Simplify.
8644 (ps-run-mode): Derive from comint-mode instead of
8645 fundamental-mode, yielding input history etc.
8646 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8647 (ps-run-send-string): Adapt for comint-mode.
8648 (ps-run-newline): Remove now unneeded function.
8650 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8652 * net/tramp.el (tramp-methods): Move hostname to the end in all
8653 plink `tramp-login-args'.
8655 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8657 * net/tramp.el (tramp-open-shell): New defun.
8658 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8661 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8663 * net/tramp.el (tramp-file-name-regexp-unified)
8664 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8665 not regard the volume letter as remote filename. (Bug#5447)
8667 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8669 * custom.el (custom-declare-variable): Give a clearer error message
8670 when the docstring is missing (bug#6476).
8672 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8674 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8675 (sql-login-params): New widget definition.
8676 (sql-oracle-login-params, sql-mysql-login-params)
8677 (sql-solid-login-params, sql-sybase-login-params)
8678 (sql-informix-login-params, sql-ingres-login-params)
8679 (sql-ms-login-params, sql-postgres-login-params)
8680 (sql-interbase-login-params, sql-db2-login-params)
8681 (sql-linter-login-params): Use it.
8682 (sql-sqlite-login-params): Use it; Define "database" parameter as
8684 (sql-sqlite-program): Change to "sqlite3".
8685 (sql-comint-sqlite): Make sure database name is complete.
8686 (sql-for-each-login): New function.
8687 (sql-connect, sql-save-connection): Use it.
8688 (sql-get-login-ext): New function.
8689 (sql-get-login): Use it.
8690 (sql-make-alternate-buffer-name): Handle :file parameters.
8692 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8694 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8695 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8697 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8699 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8701 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8703 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8705 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8707 * net/tramp.el (tramp-get-ls-command)
8708 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8711 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8713 * progmodes/sql.el: Version 2.3.
8714 (sql-connection-alist): Change keys from symbols to strings;
8715 enhanced the widget definition.
8716 (sql-mode-menu): Add submenu to select connections.
8717 (sql-interactive-mode-menu): Add "Save Connection" item.
8718 (sql-add-product): Fix menu item.
8719 (sql-get-product-feature): Improved error handling.
8720 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8721 (sql-make-alternate-buffer-name): Simplified.
8722 (sql-product-interactive): Handle missing product.
8723 (sql-connect): Support string keys, minor improvements.
8724 (sql-save-connection): New function.
8725 (sql-connection-menu-filter): New function.
8727 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8729 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8730 (tramp-open-connection-setup-interactive-shell):
8731 Apply workaround for IRIX64 bug. Move argument of last
8732 `tramp-send-command' where it belongs to.
8734 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8736 * net/tramp.el (tramp-perl-file-attributes)
8737 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8738 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8739 front of `login-args'.
8741 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8743 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8744 Set `show-trailing-whitespace' to nil.
8745 (display-time-world-display): Simplify.
8747 2010-07-18 Alan Mackenzie <acm@muc.de>
8749 Enhance `c-file-style' in file/directory local variables.
8750 * progmodes/cc-mode.el (c-count-cfss): New function.
8751 (c-before-hack-hook): Call `c-set-style' differently according to
8752 whether c-file-style was set in file or directory local
8755 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8757 * progmodes/sql.el: Version 2.2.
8758 (sql-product, sql-user, sql-database, sql-server, sql-port):
8759 Use defcustom :safe keyword rather than putting safe-local-variable
8761 (sql-password): Use defcustom :risky keyword rather than putting
8762 risky-local-variable property.
8763 (sql-oracle-login-params, sql-sqlite-login-params)
8764 (sql-solid-login-params, sql-sybase-login-params)
8765 (sql-informix-login-params, sql-ingres-login-params)
8766 (sql-ms-login-params, sql-postgres-login-params)
8767 (sql-interbase-login-params, sql-db2-login-params)
8768 (sql-linter-login-params): Add `port' option.
8769 (sql-get-product-feature): Add NO-INDIRECT parameter.
8770 (sql-comint-oracle, sql-comint-sybase)
8771 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8772 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8773 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8774 (sql-comint-linter): Rename sql-connect-* functions to
8776 (sql-product-alist, sql-mode-menu): Rename as above and
8777 :sqli-connect-func to :sqli-comint-func.
8778 (sql-connection): New variable.
8779 (sql-interactive-mode): Set it.
8780 (sql-connection-alist): New variable.
8781 (sql-connect): New function.
8782 (sql--alt-buffer-part, sql--alt-if-not-empty)
8783 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8785 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8787 * image-mode.el (image-bookmark-make-record): Do not set context
8788 in an image (Bug#6650).
8790 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8792 * simple.el (select-active-region): New function.
8793 (push-mark-command, set-mark, activate-mark)
8794 (handle-shift-selection): Use it.
8795 (deactivate-mark): Don't check for size of region.
8797 * mouse.el (mouse-drag-track): Use select-active-region.
8799 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8801 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8804 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8806 * term/x-win.el (x-select-enable-primary): Change default to nil.
8807 (x-select-enable-clipboard): Add :version keyword.
8809 * mouse.el (mouse-drag-copy-region):
8810 * simple.el (select-active-regions): Likewise.
8812 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8814 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8815 (vc-coding-system-for-diff): Use it to decide whether to inherit
8816 from the file the EOL format for reading the diffs of that file.
8819 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8821 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8822 unibyte, so compressed attachments are not compressed again.
8824 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8826 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8827 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8828 (tramp-find-shell): Simplify setting connection property.
8829 (tramp-get-ls-command): Make test for "--color=never" stronger.
8831 2010-07-15 Simon South <ssouth@member.fsf.org>
8833 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8834 blocks within record declarations (i.e. variant parts) correctly.
8836 2010-07-15 Simon South <ssouth@member.fsf.org>
8838 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8839 over literal tokens when parsing so newlines aren't "absorbed" by
8840 single-line comments. Corrects the indentation of case blocks
8841 that have a comment on the first line.
8843 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8845 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8846 by Drew Adams (Bug#5504).
8848 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8850 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8851 now that Unicode is used (Bug#6594).
8853 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8855 * term/x-win.el (x-select-enable-clipboard): Default to t.
8856 (x-initialize-window-system): Don't overwrite Paste menu item.
8858 * simple.el (select-active-regions): Default to t.
8859 (push-mark-command): Don't overwrite primary with empty string.
8861 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8862 (mouse-drag-copy-region): Default to nil.
8864 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8865 Cut/Copy/Paste menu bar items.
8867 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8869 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8870 Patch applied by Karl Fogel.
8872 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8873 and `bookmark-current-buffer' if they have been already set in
8874 another buffer (e.g gnus-art).
8876 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8877 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8879 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8881 * bookmark.el (bookmark-make-record-default): Allow unneeded
8882 information to be omitted from the record.
8884 Adjust declarations and calls:
8886 * info.el (bookmark-make-record-default): Adjust declaration.
8887 (Info-bookmark-make-record): Adjust call.
8889 * woman.el (bookmark-make-record-default): Adjust declaration.
8890 (woman-bookmark-make-record): Adjust call.
8892 * man.el (bookmark-make-record-default): Adjust declaration.
8893 (Man-bookmark-make-record): Adjust call.
8895 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8897 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8899 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8901 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8902 This is also from Thierry Volpiatto's patch in bug #6444. However,
8903 because it was extraneous to the functional change in that patch,
8904 and causes a re-indendation, I am committing it separately.
8906 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8908 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8909 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8910 Patch applied by Karl Fogel (Bug#6444).
8912 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8914 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8916 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8918 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8919 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8920 (ns-alternatives-map): Change S-tab binding to backtab
8923 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8926 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8928 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8931 * language/tv-util.el (tai-viet-re): Remove format.
8933 2010-07-12 Kenichi Handa <handa@m17n.org>
8935 * language/hebrew.el: Remove no-byte-compile declaration.
8936 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8937 composition-function-table for 3-character looking back.
8938 (hebrew-font-get-precomposed): New function.
8939 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8941 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8943 * mouse.el (mouse-drag-track): Handle select-active-regions
8946 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8948 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8949 empty argument to gvfs-copy.
8951 2010-07-10 Glenn Morris <rgm@gnu.org>
8953 * calendar/calendar.el (calendar-week-end-day): New function.
8954 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8955 Respect calendar-week-start-day. (Bug#6606)
8956 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8957 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8958 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8959 respect calendar-week-start-day.
8961 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8963 * simple.el (use-region-p): Doc fix (Bug#6607).
8965 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8967 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8968 Add regexps for cucumber and ruby.
8970 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8972 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8973 (epa-file-insert-file-contents): Hack to prevent
8974 find-file from opening empty buffer when decryption failed
8977 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8979 * textmodes/ispell.el (ispell-alternate-dictionary):
8980 Use file-readable-p.
8981 Return nil if no word-list is found at default locations.
8982 (ispell-complete-word-dict): Default to nil.
8983 (ispell-command-loop): Use 'word-list' when using lookup-words.
8984 (lookup-words): Use ispell-complete-word-dict or
8985 ispell-alternate-dictionary. Check for word-list availability
8986 and handle errors if needed with better messages (Bug#6539).
8987 (ispell-complete-word): Use ispell-complete-word-dict or
8988 ispell-alternate-dictionary.
8990 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8992 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8993 builtins (BufferError, BytesWarning, WindowsError; callables
8994 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8996 2010-07-07 Glenn Morris <rgm@gnu.org>
8998 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8999 (zone-shift-left): Ignore intangibility, and any errors from
9001 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9002 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9003 deleting, and copying text properties.
9004 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9005 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9006 to point-max is hard.
9007 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9008 (zone-fill-out-screen): Ignore intangibility.
9010 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9012 * menu-bar.el (menu-bar-mode):
9013 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9016 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9017 word/line selection (Bug#6565).
9019 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9021 * net/dbus.el (dbus-send-signal): Declare function.
9023 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9025 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9026 (dbus-register-property): New optional argument EMITS-SIGNAL.
9027 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9029 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9031 * mouse.el (mouse-drag-overlay): Variable deleted.
9032 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9033 (mouse--remap-link-click-p): New function.
9034 (mouse-drag-track): Handle dragging by using temporary Transient
9035 Mark mode, instead of a special overlay.
9036 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9039 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9042 2010-07-02 Juri Linkov <juri@jurta.org>
9044 * autoinsert.el (auto-insert-alist): Fix readability
9045 by using dotted pair notation for lambda.
9047 2010-07-02 Juri Linkov <juri@jurta.org>
9049 * faces.el (read-face-name): Rename arg `string-describing-default'
9050 to `default'. Doc fix. Display the default value in quotes
9051 in the prompt. With empty input, return the `default' arg,
9052 unless the default value is a string (in which case return nil).
9053 (describe-face): Replace the string `default' arg of `read-face-name'
9054 with the symbol `default'.
9056 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9058 * emulation/viper-cmd.el (viper-delete-backward-char)
9059 (viper-del-backward-char-in-insert)
9060 (viper-del-backward-char-in-replace, viper-change)
9061 (viper-backward-indent): Replace delete-backward-char with
9062 delete-char (Bug#6552).
9064 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9066 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9068 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9070 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9071 argument passed to frame-creation-function (Bug#5378).
9073 * faces.el (x-handle-named-frame-geometry)
9074 (x-handle-reverse-video, x-create-frame-with-faces)
9075 (face-set-after-frame-default, tty-create-frame-with-faces):
9076 Don't separately consult default-frame-alist. It is now passed as the
9079 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9081 * startup.el (command-line): Don't call tool-bar-setup in a
9084 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9086 * ruler-mode.el (ruler--save-header-line-format): New fun.
9087 (ruler-mode): Use it as a setter function, so as not to overwrite
9088 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9090 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9092 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9093 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9094 (vc-log-outgoing): Use it.
9095 (vc-diff-internal): Set diff-vc-backend.
9097 * vc/diff-mode.el (diff-vc-backend): New var.
9099 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9101 * dynamic-setting.el (font-setting-change-default-font):
9102 Remove call to message.
9104 2010-06-28 Kenichi Handa <handa@m17n.org>
9106 * international/quail.el (quail-insert-kbd-layout): Fix the
9107 showing of untranslated characters.
9109 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9111 * simple.el (delete-active-region): New option.
9112 (delete-backward-char): Implement in Lisp.
9113 (delete-forward-char): New command.
9115 * mouse.el (mouse-region-delete-keys): Delete.
9116 (mouse-show-mark): Simplify.
9118 * bindings.el (global-map): Bind delete and DEL, the former to
9119 delete-forward-char.
9121 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9123 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9124 (ruby-mode): Bind indent-line-function (Bug#5119).
9126 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9128 * startup.el (command-line): Recognize "0" X resource value.
9130 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9132 * startup.el (command-line): Use X resources to set the value of
9133 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9135 * menu-bar.el (menu-bar-mode):
9136 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9137 Set init-value to t.
9139 * frame.el (frame-notice-user-settings): Don't change
9140 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9141 vice versa (Bug#2249).
9143 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9145 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9147 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9149 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9150 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9152 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9153 default directories are expanded (Bug#6143).
9155 2010-06-24 Juri Linkov <juri@jurta.org>
9157 * minibuffer.el (completions-format): Change default from nil to
9158 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9160 2010-06-24 Juri Linkov <juri@jurta.org>
9162 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9163 buffer-locally to lambda that re-runs the vc diff command.
9166 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9168 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9169 echo area is in use (Bug#3412).
9171 2010-06-22 Glenn Morris <rgm@gnu.org>
9173 * textmodes/texinfmt.el (texinfo-format-region)
9174 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9175 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9176 (texinfo-format-option, texinfo-noindent):
9177 Use line-beginning-position and line-end-position.
9179 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9180 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9181 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9184 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9186 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9187 forward-line fallout.
9189 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9191 * mouse.el (mouse-appearance-menu): Add docstring.
9193 * help.el (describe-key): Print up-event using key-description.
9195 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9197 * net/zeroconf.el (zeroconf-resolve-service)
9198 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9199 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9201 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9203 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9205 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9207 Avoid displaying files with a nil state in vc-dir.
9208 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9209 cases that cause insertion.
9210 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9213 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9215 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9217 2010-06-29 Leo <sdl.web@gmail.com>
9219 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9221 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9223 * generic-x.el (bat-generic-mode): Fix regexp for command line
9224 switches (Bug#5719).
9226 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9228 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9229 of nconc to avoid pure storage error (Bug#6239).
9231 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9233 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9234 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9235 bindings of bookmark-automatically-show-annotations (Bug#6515).
9237 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9239 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9240 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9242 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9244 * comint.el (make-comint, make-comint-in-buffer): Mention return
9245 value in the docstrings. (Bug#6498)
9247 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9249 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9250 since it is not present when using some non-default switches.
9252 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9254 * simple.el (compose-mail): Fix doc string to refer to
9255 `compose-mail-user-agent-warnings', instead of to the
9256 nonexistent `compose-mail-check-user-agent'.
9258 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9260 Fix an indentation bug:
9262 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9263 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9266 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9267 (c-clear->-pair-props-if-match-before): now return t when they've
9268 cleared properties, nil otherwise.
9269 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9270 by taking account of the existing value.
9272 * progmodes/cc-defs.el
9273 (c-clear-char-property-with-value-function): Fix this to clear the
9274 property rather than overwriting it with nil.
9276 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9278 * emacs-lisp/package.el (package-print-package): Add link to
9279 package description via describe-package.
9280 (describe-package-1): List package requirements. Add button to
9281 perform installation.
9282 (package-menu-describe-package): New command.
9284 * help-mode.el (help-package): New button type.
9286 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9288 * emacs-lisp/package.el: Move package-list-packages binding to
9290 (describe-package, describe-package-1, package--dir): New funs.
9291 (package-activate-1): Use package--dir.
9293 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9295 * help-mode.el (help-package-def): New button type.
9297 * menu-bar.el: Move package-list-packages binding here from
9300 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9302 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9304 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9306 * emacs-lisp/edebug.el (edebug-read-list):
9307 Phase out old-style backquotes.
9309 2010-06-17 Juri Linkov <juri@jurta.org>
9311 * help-mode.el (help-mode): Set buffer-local variable
9312 revert-buffer-function to help-mode-revert-buffer.
9313 (help-mode-revert-buffer): New function.
9315 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9316 before popping to "*info*" (like in other Info functions).
9317 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9318 old-history-forward. Pop to old-buffer-name or "*info*" to
9319 recreate the killed buffer. Set Info-history-forward from
9320 old-history-forward.
9321 (Info-breadcrumbs-depth): Add :group and :version.
9323 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9325 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9327 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9329 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9330 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9332 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9334 * emacs-lisp/package.el (package-menu-mode-map):
9335 Move initialization into declaration.
9337 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9339 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9341 * emacs-lisp/package.el (package-archive-base): Point to
9343 (package-enable, package-load-list): New defcustoms.
9344 (package-user-dir, package-directory-list): Turn into defcustoms.
9345 Don't include package-user-dir in package-directory-list.
9346 (package--builtins-base): Don't include Emacs as a "package".
9347 (package-subdirectory-regexp): New var.
9348 (package-load-all-descriptors, package-compute-transaction)
9349 (package-download-transaction): Obey package-load-list.
9350 (package-activate-1): Rename from package-do-activate.
9351 (package-list-packages-internal): Check package-load-list.
9352 (package-load-descriptor, package-generate-autoloads)
9353 (package-unpack, package-unpack-single)
9354 (package--read-archive-file, package-delete):
9355 Use expand-file-name.
9357 * emacs-lisp/package-x.el: New file. Package uploading
9358 functionality split out from package.el.
9360 * startup.el (command-line): Load packages after reading init file.
9362 2010-06-17 Tom Tromey <tromey@redhat.com>
9364 * emacs-lisp/package.el: New file.
9366 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9368 Fix vc-annotate for renamed files when using Git.
9369 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9370 ls-files. Doe not pass the object as a file name to cat-file, it
9372 (vc-git-annotate-command): Pass the file name using -- to avoid
9373 ambiguity with the revision.
9374 (vc-git-previous-revision): Pass a relative file name.
9376 2010-06-22 Glenn Morris <rgm@gnu.org>
9378 * progmodes/js.el (js-mode-map): Use standard capitalization and
9379 ellipses for menu entries.
9381 * wid-edit.el (widget-complete): Doc fix.
9383 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9385 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9387 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9389 Fix annotating other revisions for renamed files in vc-annotate.
9390 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9391 VC backend. Use it when non-nil.
9392 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9395 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9396 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9397 Do not pass the file name to the 'previous-revision call when we
9398 don't want a file diff. (Bug#6489)
9400 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9402 Fix finding revisions for renamed files in vc-annotate.
9403 * vc/vc.el (vc-find-revision): Add an optional argument for
9404 the VC backend. Use it when non-nil.
9405 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9406 backend to vc-find-revision. (Bug#6487)
9408 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9410 Fix reading file names in Git annotate buffers.
9411 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9412 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9414 2010-06-20 Alan Mackenzie <acm@muc.de>
9416 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9417 in file local variables, set it first.
9419 2010-06-19 Glenn Morris <rgm@gnu.org>
9421 * descr-text.el (describe-char-unicode-data): Insert separating
9422 space when needed. (Bug#6422)
9424 * progmodes/idlwave.el (idlwave-action-and-binding):
9425 Fix typo in 2009-12-03 change. (Bug#6450)
9427 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9429 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9430 handling for `lambda' (misunderstanding).
9432 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9434 * calc/calc-poly.el (math-accum-factors): Make sure that
9435 constants aren't distributed after they are factored out.
9437 2010-06-16 Juri Linkov <juri@jurta.org>
9439 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9440 `list-colors-print'. (Bug#6332)
9442 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9444 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9446 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9447 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9449 * font-lock.el (font-lock-major-mode): Rename from
9450 font-lock-mode-major-mode to distinguish it from
9451 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9452 (font-lock-set-defaults):
9453 * font-core.el (font-lock-default-function): Adjust users.
9454 (font-lock-mode): Don't set it at all.
9456 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9458 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9460 2010-06-16 Glenn Morris <rgm@gnu.org>
9462 * calendar/appt.el (appt-time-msg-list): Doc fix.
9463 (appt-check): Let-bind appt-warn-time.
9464 (appt-add): Make the 3rd argument optional.
9465 Simplify argument names. Doc fix. Check for integer WARNTIME.
9466 Only add WARNTIME to the output list if non-nil.
9468 2010-06-16 Ivan Kanis <apple@kanis.eu>
9470 * calendar/appt.el (appt-check): Let the 3rd element of
9471 appt-time-msg-list specify the warning time.
9472 (appt-add): Add new argument with the warning time. (Bug#5176)
9474 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9476 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9477 older than version 1.6. (Bug#6361)
9479 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9481 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9482 used by cl-do-arglist. (Bug#6408)
9484 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9486 * textmodes/ispell.el (ispell-dictionary-base-alist):
9487 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9488 Suggested by Rolando Pereira (bug#6434).
9490 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9492 * facemenu.el (list-colors-sort): Doc fix.
9494 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9496 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9498 2010-06-14 Juri Linkov <juri@jurta.org>
9500 Add sort option `list-colors-sort'. (Bug#6332)
9501 * facemenu.el (color-rgb-to-hsv): New function.
9502 (list-colors-sort): New defcustom.
9503 (list-colors-sort-key): New function.
9504 (list-colors-display): Doc fix. Sort list according to the option
9506 (list-colors-print): Add HSV values to `help-echo' property of
9509 2010-06-14 Juri Linkov <juri@jurta.org>
9511 * compare-w.el: Move to the "vc" subdirectory.
9513 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9515 * image-mode.el (image-mode-map): Remap left-char and right-char.
9517 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9519 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9521 * term/common-win.el (x-colors): Add all the color names defined
9522 in rgb.txt (Bug#6332).
9524 * facemenu.el (list-colors-print): Don't print extra names if it
9525 will overflow the window width.
9527 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9530 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9532 * files.el (make-directory): Doc fix (bug#6396).
9534 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9536 * net/tramp.el (tramp-remote-process-environment): Protect version
9537 string by apostroph.
9538 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9540 (tramp-file-name-for-operation): Add `call-process-region'.
9541 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9543 * net/tramp-compat.el (top): Do not autoload
9544 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9545 only when `start-file-process' is not bound.
9546 (tramp-advice-file-expand-wildcards): Do not use
9547 `tramp-handle-file-remote-p'.
9548 (tramp-compat-make-temp-file): Handle the case, that
9549 `make-temp-file' has no third argument EXTENSION.
9551 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9553 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9555 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9557 2010-06-11 Juri Linkov <juri@jurta.org>
9559 * finder.el (finder-known-keywords): Add keyword "vc"
9560 for version control.
9562 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9563 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9564 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9565 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9567 2010-06-11 Juri Linkov <juri@jurta.org>
9569 Move version control related files to the "vc" subdirectory.
9570 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9571 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9572 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9573 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9574 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9575 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9576 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9577 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9578 Move files to the "vc" subdirectory.
9580 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9582 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9585 2010-06-11 Stephen Eglen <stephen@gnu.org>
9587 * shell.el: Bind `shell-resync-dirs' to M-RET.
9589 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9591 * notifications.el: Move file from lisp/net, because it is
9592 supposed to talk locally to the user.
9594 2010-06-10 Julien Danjou <julien@danjou.info>
9596 * net/notifications.el (notifications-on-action-signal)
9597 (notifications-on-closed-signal): Pass notification id as first
9598 argument to the callback functions. Add docstrings.
9599 (notifications-notify): Fix docstring.
9601 2010-06-10 Glenn Morris <rgm@gnu.org>
9603 * emacs-lisp/authors.el (authors-ignored-files)
9604 (authors-valid-file-names): Add some files.
9606 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9608 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9609 merge conflict, giving preference to the emacs-23 version of the code.
9611 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9613 * emacs-lisp/advice.el (ad-compile-function):
9614 Define warning-suppress-types before we let-bind it (bug#6275).
9616 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9617 declare it, make it buffer-local and permanent-local (bug#6324).
9618 (vc-resynch-window): Adjust name.
9619 * vc-hooks.el (vc-find-file-hook): Adjust name.
9621 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9623 * net/notifications.el (notifications-notify): Fix docstring.
9625 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9627 Update to Unicode 6.0.0 beta.
9628 * international/charprop.el: Update copyright.
9629 * international/mule-cmds.el (ucs-names): Update character ranges.
9630 * international/uni-bidi.el:
9631 * international/uni-category.el:
9632 * international/uni-combining.el:
9633 * international/uni-comment.el:
9634 * international/uni-decimal.el:
9635 * international/uni-decomposition.el:
9636 * international/uni-digit.el:
9637 * international/uni-lowercase.el:
9638 * international/uni-mirrored.el:
9639 * international/uni-name.el:
9640 * international/uni-numeric.el:
9641 * international/uni-old-name.el:
9642 * international/uni-titlecase.el:
9643 * international/uni-uppercase.el: Regenerate.
9645 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9647 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9648 (smie-precs-precedence-table): Fix typo in docstring.
9650 * vc-mtn.el (log-edit-extract-headers): Declare function.
9652 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9654 * net/notifications.el (dbus-register-signal): Declare function.
9655 (notifications-notify): Fix typos and reflow docstring.
9657 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9659 Improve VC create/retrieve tag/branch.
9660 * vc.el (vc-create-tag): Do not read the directory name for VCs
9661 with repository revision granularity. Adjust the tag/branch
9662 prompt. Reset VC properties.
9663 (vc-retrieve-tag): Do not read the directory name for VCs
9664 with repository revision granularity. Reset VC properties.
9666 2010-06-09 Julien Danjou <julien@danjou.info>
9668 * net/notifications.el: New file.
9670 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9672 Add optional support for resetting VC properties.
9673 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9674 call vc-file-clearprops when true.
9675 (vc-resynch-buffer): Add new optional argument, pass it down.
9676 (vc-resynch-buffers-in-directory): Likewise.
9678 Improve support for special markup in the VC commit message.
9679 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9680 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9681 * vc-git.el (vc-git-checkin):
9682 * vc-bzr.el (vc-bzr-checkin): Likewise.
9684 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9686 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9687 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9689 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9691 * iimage.el: Remove images as soon as the underlying text is modified.
9692 (iimage-modification-hook): New function.
9693 (iimage-mode-buffer): Use it.
9695 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9697 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9698 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9699 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9700 (smie-indent-keyword): Add handling of open-paren keywords.
9701 (smie-indent-comment-continue): Don't assume comment-continue.
9703 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9705 * window.el (pop-to-buffer): Remove the conditional that
9706 compares new-window and old-window, so it will reselect
9707 the selected window unconditionally.
9708 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9710 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9712 * emacs-lisp/smie.el (smie-indent-offset-after)
9713 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9714 (smie-indent-after-keyword): Use them.
9715 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9716 (smie-indent-keyword): Tweak the black magic.
9717 (smie-indent-comment-continue): Strip comment-continue before use.
9718 (smie-indent-functions): Indent comments before keywords.
9720 2010-06-06 Juri Linkov <juri@jurta.org>
9722 * isearch.el (isearch-lazy-highlight-search): Fix looping
9723 by checking for empty match. This syncs this loop with the
9724 similar loop in `isearch-search'. (Bug#6362)
9726 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9728 * net/dbus.el (dbus-register-method): Declare function.
9729 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9730 (dbus-introspect): Doc fix.
9731 (dbus-event-bus-name, dbus-introspect-get-interface)
9732 (dbus-introspect-get-argument): Reflow docstrings.
9734 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9736 vc-log-incoming/vc-log-outgoing fixes for Git.
9737 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9738 incoming/outgoing logs.
9739 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9740 instead of vc-git-compute-remote.
9741 (vc-git-compute-remote): Remove.
9743 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9745 * term/common-win.el (x-colors): Add "dark green" and "dark
9746 turquoise" (Bug#6332).
9748 2010-06-04 Juri Linkov <juri@jurta.org>
9750 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9751 Instead of setting `replace' to t and replacing the same string
9752 with itself, don't do certain actions when
9753 kill-do-not-save-duplicates is non-nil and string is equal to car
9754 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9755 interprogram-paste strings to kill-ring, and don't push the input
9756 argument `string' to kill-ring.
9757 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9759 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9761 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9763 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9765 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9766 (tramp-gvfs-handler-mounted-unmounted)
9767 (tramp-gvfs-connection-mounted-p): Handle default-location.
9769 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9770 move files to trash.
9772 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9774 * international/mule-cmds.el (nonascii-insert-offset)
9775 (nonascii-translation-table): Add obsolescence information.
9777 * international/mule.el (make-translation-table-from-vector): Doc fix.
9779 2010-06-03 Glenn Morris <rgm@gnu.org>
9781 * desktop.el (desktop-clear-preserve-buffers):
9782 Add "*Warnings*" buffer. (Bug#6336)
9784 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9786 vc-log-incoming/vc-log-outgoing improvements for Git.
9787 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9789 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9791 Add bindings for vc-log-incoming and vc-log-outgoing.
9792 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9793 and vc-log-outgoing.
9794 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9795 and vc-log-outgoing.
9797 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9799 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9800 (rcirc-handler-366): Always sort nicknames.
9802 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9804 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9806 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9808 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9810 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9812 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9813 (rcirc-sort-nicknames-join): Avoid setq.
9815 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9817 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9818 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9819 (rcirc-handler-366): Use them.
9821 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9823 Split smie-indent-calculate into more manageable chunks.
9824 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9825 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9826 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9827 (smie-indent-exps): Extract from smie-indent-calculate.
9828 (smie-indent-functions): New var.
9829 (smie-indent-functions): Use them.
9831 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9833 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9834 (smie-indent-calculate): Simplify and cleanup.
9836 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9838 * net/tramp-gvfs.el (top): Require url-util.
9839 (tramp-gvfs-mount-point): Remove.
9840 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9842 (with-tramp-dbus-call-method): Format trace message.
9843 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9844 Implement backup call, when operation on local files fails.
9845 Use progress reporter. Flush properties of changed files.
9846 (tramp-gvfs-handle-make-directory): Make more traces.
9847 (tramp-gvfs-url-file-name): Hexify file name in url.
9848 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9849 into account for the resulting file name.
9850 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9851 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9852 (tramp-gvfs-handler-mounted-unmounted)
9853 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9854 attribute "default_location". Set "prefix" property.
9855 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9856 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9857 exists. Raise an error, if not (due to a corresponding answer
9858 "no" in interactive questions, for example).
9860 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9862 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9864 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9866 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9869 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9871 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9872 * vc-git.el (vc-git-compute-remote): New function.
9873 (vc-git-log-outgoing): Use it instead of hard coding a value.
9874 (vc-git-log-incoming): New function.
9876 Improve state updating for VC tag commands.
9877 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9878 to update the state of all buffers in the directory.
9880 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9882 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9884 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9885 `file-directory-p' to the filename part rather than to the whole text.
9887 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9889 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9891 2010-05-31 Drew Adams <drew.adams@oracle.com>
9893 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9895 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9897 * subr.el (momentary-string-display): Just use read-event to read
9898 the exit event (Bug#6238).
9900 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9902 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9904 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9906 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9907 Suggested by Eli Zaretskii <eliz@gnu.org>.
9909 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9911 * minibuffer.el (completion-file-name-table): Don't return a boundary
9912 past the end of `string' (bug#6299).
9913 (completion--file-name-table): Delegate to completion-file-name-table
9914 for the `boundaries' case.
9916 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9918 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9921 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9922 `path-separator', but maintain compatibility with Emacs 20.2.
9924 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9926 * server.el (server-process-filter): Receive parent-id argument
9928 (server-create-window-system-frame): New arg. Pass parent-id as
9931 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9933 Bidi-sensitive word movement with arrow keys.
9934 * subr.el (right-arrow-command, left-arrow-command): Move to
9937 * bindings.el (right-char, left-char): Move from subr.el and
9938 rename from right-arrow-command and left-arrow-command.
9939 (right-word, left-word): New functions.
9940 (global-map) <right>: Bind to right-char.
9941 (global-map) <left>: Bind to left-char.
9942 (global-map) <C-right>: Bind to right-word.
9943 (global-map) <C-left>: Bind to left-word.
9945 * ls-lisp.el (ls-lisp-classify-file): New function.
9946 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9947 (ls-lisp-classify): Call ls-lisp-classify-file.
9948 (insert-directory): Remove blanks from switches.
9950 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9952 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9953 (ansi-color-drop-regexp): New constant.
9954 (ansi-color-apply, ansi-color-filter-region)
9955 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9956 (ansi-color-apply): Build string list before calling concat.
9958 2010-05-28 Juri Linkov <juri@jurta.org>
9960 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9961 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9964 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9966 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9967 to ignored backtrace functions.
9968 (with-progress-reporter): Expand docstring.
9969 (tramp-handle-delete-file): Implement TRASH argument.
9970 (tramp-get-remote-trash): New defun.
9972 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9974 * net/tramp-compat.el (tramp-compat-delete-file):
9975 Use `symbol-value' for backward compatibility.
9977 * net/tramp.el (tramp-handle-make-symbolic-link)
9979 (tramp-do-copy-or-rename-file-via-buffer)
9980 (tramp-do-copy-or-rename-file-directly)
9981 (tramp-do-copy-or-rename-file-out-of-band)
9982 (tramp-handle-process-file, tramp-handle-call-process-region)
9983 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9984 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9985 (tramp-delete-temp-file-function): Use `delete-file' instead
9986 of `tramp-compat-delete-file'.
9988 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9989 (tramp-fish-handle-make-symbolic-link)
9990 (tramp-fish-handle-process-file): Use `delete-file' instead
9991 of `tramp-compat-delete-file'.
9993 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9994 Use `delete-file' instead of `tramp-compat-delete-file'.
9996 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
9997 `delete-file' instead of `tramp-compat-delete-file'.
9999 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10000 Use `delete-file' instead of `tramp-compat-delete-file'.
10002 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10003 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10004 (tramp-smb-handle-write-region): Use `delete-file' instead of
10005 `tramp-compat-delete-file'.
10006 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10008 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10010 * dired.el (dired-delete-file): New arg TRASH.
10011 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10012 (dired-do-flagged-delete, dired-do-delete): Use trash.
10014 * speedbar.el (speedbar-item-delete): Allow trashing.
10016 * files.el (delete-directory): New arg TRASH.
10018 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10019 (ange-ftp-rename-remote-to-remote)
10020 (ange-ftp-rename-local-to-remote)
10021 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10022 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10024 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10027 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10028 handle new TRASH arg of `delete-file'.
10030 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10031 (tramp-handle-make-symbolic-link, tramp-handle-load)
10032 (tramp-do-copy-or-rename-file-via-buffer)
10033 (tramp-do-copy-or-rename-file-directly)
10034 (tramp-do-copy-or-rename-file-out-of-band)
10035 (tramp-handle-process-file, tramp-handle-call-process-region)
10036 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10037 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10038 (tramp-delete-temp-file-function): Use null TRASH arg in
10039 tramp-compat-delete-file call.
10041 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10042 (tramp-fish-handle-delete-file)
10043 (tramp-fish-handle-make-symbolic-link)
10044 (tramp-fish-handle-process-file): Use null TRASH arg in
10045 `tramp-compat-delete-file' call.
10047 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10048 arg in `tramp-compat-delete-file' call.
10050 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10051 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10052 `tramp-compat-delete-file' call.
10054 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10055 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10056 `tramp-compat-delete-file' call.
10058 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10059 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10060 (tramp-smb-handle-write-region): Use null TRASH arg in
10061 tramp-compat-delete-file call.
10062 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10063 (tramp-smb-handle-delete-file): Rename arg.
10065 * diff.el (diff-sentinel):
10066 * epg.el (epg--make-temp-file, epg-decrypt-string)
10067 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10068 * jka-compr.el (jka-compr-partial-uncompress)
10069 (jka-compr-call-process, jka-compr-write-region):
10070 * server.el (server-sentinel): Remove optional arg from
10071 delete-file, reverting 2010-05-03 change.
10073 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10075 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10076 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10078 2010-05-27 Kenichi Handa <handa@m17n.org>
10080 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10081 element of GSTRING is nil.
10083 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10085 * emacs-lisp/smie.el (smie-forward-token-function)
10086 (smie-backward-token-function): New vars.
10087 (smie-backward-sexp, smie-forward-sexp)
10088 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10089 (smie-default-backward-token): Rename from smie-backward-token and
10091 (smie-default-forward-token): Rename from smie-forward-token and
10093 (smie-next-sexp): Handle nil results from next-token.
10094 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10096 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10098 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10099 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10101 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10103 * htmlfontify.el (hfy-face-resolve-face): New function.
10104 (hfy-face-to-style): Use it (Bug#6279).
10106 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10108 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10109 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10111 2010-05-26 Glenn Morris <rgm@gnu.org>
10113 * emulation/edt.el (edt-load-keys): Use locate-library.
10115 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10117 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10118 (log-edit-changelog-entries): Doc fix.
10119 (log-edit-changelog-insert-entries): Args changed.
10120 Rename relative filenames in ChangeLog entries. Delete tabs.
10121 (log-edit-insert-changelog-entries): Reorganize return value of
10122 `log-edit-changelog-entries' to pass filenames to
10123 log-edit-changelog-insert-entries.
10125 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10127 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10128 `image-dired-dired-insert-marked-thumbs' to
10129 `image-dired-dired-toggle-marked-thumbs'.
10131 * image-dired.el: Require cl when compiling.
10132 (image-dired-dired-toggle-marked-thumbs): Rename from
10133 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10134 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10135 to 'no-dir. Skip files whose names don't match
10136 `image-file-name-regexp'. When file has a thumbnail overlay,
10137 delete it. (Bug#5270)
10139 2010-05-25 Juri Linkov <juri@jurta.org>
10141 * image-mode.el (image-mode): Add image-after-revert-hook to
10143 (image-after-revert-hook): New function. (Bug#5669)
10145 2010-05-25 Juri Linkov <juri@jurta.org>
10147 * image.el (image-animated-p): When delay between animated images
10148 is 0, set it to 10 (0.1 sec). (Bug#6258)
10150 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10152 * net/tramp.el (tramp-handle-insert-directory): Don't use
10153 `forward-word', its default syntax could be changed.
10155 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10157 * net/tramp.el (tramp-progress-reporter-update): New defun.
10158 (with-progress-reporter): Use it.
10159 (tramp-process-actions):
10160 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10161 Preserve current message, in order to let progress reporter continue
10162 afterwards. (Bug#6257)
10164 2010-05-25 Glenn Morris <rgm@gnu.org>
10166 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10169 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10171 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10172 (rcirc-default-full-name): Change to "unknown".
10173 (rcirc-user-name-history): Add variable.
10175 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10176 Jonathan Rockway <jon@jrock.us>
10178 * net/rcirc.el (rcirc-server-alist): Add :pass.
10179 (rcirc): When prompting for connection parameters, also prompt for
10180 username and password.
10181 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10182 value to server when connecting.
10184 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10186 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10187 (smie-merge-prec2s): Pass the tables as separate args.
10188 (smie-bnf-precedence-table): Adjust call accordingly.
10189 (smie-prec2-levels): Set levels at the end.
10191 Replace Lisp calls to delete-backward-char by delete-char.
10192 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10193 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10194 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10195 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10196 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10197 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10198 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10199 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10200 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10201 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10202 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10203 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10204 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10205 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10206 delete-backward-char by calls to delete-char.
10208 2010-05-25 Kenichi Handa <handa@m17n.org>
10210 * language/hebrew.el (hebrew-shape-gstring): New function.
10211 Register it in composition-function-table for all Hebrew combining
10214 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10216 * epa.el (epa--select-keys): Don't explicitly delete the window since
10217 that can fail (e.g. sole window in frame). Use dedication instead.
10219 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10221 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10223 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10225 * image.el (image-refresh): Define as an alias for image-flush.
10227 * image-mode.el (image-toggle-display-image): Caller changed.
10229 2010-05-21 Juri Linkov <juri@jurta.org>
10231 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10232 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10233 whitespace, call wildcard-to-regexp on substrings and concat them
10234 with "\\|". (Bug#6114)
10236 2010-05-21 Alan Mackenzie <acm@muc.de>
10238 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10239 Replace parameter `here' with `here-' and `here-plus', which sandwich
10240 any pertinent CPP construct.
10241 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10242 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10243 CPP construct from taking part in the scanning.
10245 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10247 * net/tramp.el (tramp-do-copy-or-rename-file)
10248 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10249 Tune `with-progress-reporter' messages.
10250 (tramp-handle-vc-registered):
10251 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10252 (tramp-fish-handle-insert-file-contents)
10253 (tramp-fish-maybe-open-connection):
10254 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10255 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10256 (tramp-imap-handle-insert-file-contents)
10257 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10259 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10261 * add-log.el (change-log-font-lock-keywords):
10262 Highlight all authors in multi-author entries.
10264 * smerge-mode.el (smerge-refine-ignore-whitespace)
10265 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10266 Fix typos in docstrings.
10267 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10269 2010-05-21 Glenn Morris <rgm@gnu.org>
10271 * progmodes/fortran.el (fortran-mode):
10272 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10274 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10275 having a relative path in src/Makefile.in.
10277 2010-05-20 Kevin Ryde <user42@zip.com.au>
10279 * help-mode.el (help-make-xrefs): For Info node links turn
10280 newlines into spaces. Link node names with newlines are matched
10281 by help-xref-info-regexp and buttonized, this change ensures they
10282 can be followed successfully with RET. (Bug#6206)
10284 2010-05-20 Juri Linkov <juri@jurta.org>
10286 * locate.el (locate): Use pop-to-buffer instead of
10287 switch-to-buffer-other-window. (Bug#6204)
10289 2010-05-20 Juri Linkov <juri@jurta.org>
10291 * replace.el (replace-highlight): Fix lazy-highlighting
10292 for `M-s w str M-% str RET'.
10294 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10296 * isearch.el (isearch-yank-word-or-char): Pull next subword
10297 when `subword-mode' is activated. (Bug#6220)
10299 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10301 * isearch.el (isearch-update-post-hook): New hook.
10302 (isearch-update): Use the new hook. (Bug#6225)
10304 2010-05-20 Juri Linkov <juri@jurta.org>
10306 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10307 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10310 2010-05-20 Juri Linkov <juri@jurta.org>
10312 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10315 2010-05-20 Juri Linkov <juri@jurta.org>
10317 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10318 FILE-NAME to read from the minibuffer when called interactively
10319 with prefix argument instead of using buffer-file-name.
10320 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10322 * dired.el: Update autoloads.
10324 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10326 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10327 nxml-finish-element, for consistency with SGML mode.
10329 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10330 octave-close-block.
10332 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10334 * composite.el: Require cl when compiling.
10335 (reference-point-alist, compose-gstring-for-graphic)
10336 (compose-gstring-for-terminal): Fix typos in docstrings.
10338 2010-05-19 Juri Linkov <juri@jurta.org>
10340 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10341 set-window-parameter.
10343 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10345 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10347 (tramp-maybe-open-connection): Use it.
10349 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10351 * simple.el (move-end-of-line): Make sure we are at line beginning
10352 before backing up to end of previous line.
10354 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10356 * password-cache.el (password-cache-remove): Fix docstring.
10358 * net/secrets.el: Autoload the widget functions.
10359 (secrets-search-items, secrets-create-item)
10360 (secrets-get-attributes, secrets-expand-item): Attributes will be
10361 stored on the password database without leading ":", as all other
10362 clients do as well.
10363 (secrets-mode): Fix docstring.
10364 (secrets-show-secrets): Provide it as autoloaded command only when
10365 D-Bus support is available. Check existence of Secret Service API.
10367 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10369 * indent.el (indent-region): Deactivate region (bug#6200).
10371 2010-05-19 Glenn Morris <rgm@gnu.org>
10373 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10375 2010-05-19 Kenichi Handa <handa@m17n.org>
10377 * composite.el: Register compose-gstring-for-graphic in
10378 composition-function-table only for combining characters (Mn, Mc, Me).
10380 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10382 * calc/calc-trail.el (calc-trail-isearch-forward)
10383 (calc-trail-isearch-backward): Ensure that the new window
10384 point is set correctly.
10386 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10388 * subr.el (read-quoted-char): Resolve modifiers after key
10389 remapping (bug#6212).
10391 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10393 Add visualization code for secrets.
10394 * net/secrets.el (secrets-mode): New major mode.
10395 (secrets-show-secrets, secrets-show-collections)
10396 (secrets-expand-collection, secrets-expand-item)
10397 (secrets-tree-widget-after-toggle-function)
10398 (secrets-tree-widget-show-password): New defuns.
10400 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10402 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10403 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10404 handled in smie-next-sexp.
10405 (smie-indent-calculate): Provide a starting indentation (so the
10406 recursion is well-founded ;-).
10408 Fix handling of non-associative equal levels.
10409 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10410 when it's not needed.
10411 (smie-op-left, smie-op-right): New functions.
10412 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10413 Better handle equal levels to distinguish the associative case from
10414 the "multi-keyword construct" case.
10415 (smie-backward-sexp, smie-forward-sexp): Use it.
10417 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10419 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10421 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10422 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10424 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10426 Provide a simple generic indentation engine and use it for Prolog.
10427 * emacs-lisp/smie.el: New file.
10428 * progmodes/prolog.el (prolog-smie-op-levels)
10429 (prolog-smie-indent-rules): New var.
10430 (prolog-mode-variables): Use them to configure SMIE.
10431 (prolog-indent-line, prolog-indent-level): Remove.
10433 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10435 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10436 order before computing the averages.
10438 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10440 * calc/calc-vec.el (calc-histogram):
10441 (calcFunc-histogram): Allow vectors as inputs.
10442 (math-vector-avg): New function.
10444 * calc/calc-ext.el (math-group-float): Have the number of digits
10445 being grouped depend on the radix (Bug#6189).
10447 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10449 * version.el (emacs-copyright, emacs-version): Don't define here,
10450 now that emacs.c defines it.
10452 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10454 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10455 "Describe Language Environment" menu item.
10457 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10459 Bidi-sensitive movement with arrow keys.
10460 * subr.el (right-arrow-command, left-arrow-command): New functions.
10462 * bindings.el (global-map): Bind them to right and left arrow keys.
10464 Don't override standard definition of convert-standard-filename.
10465 * files.el (convert-standard-filename):
10466 Call w32-convert-standard-filename and dos-convert-standard-filename on
10467 the corresponding systems.
10469 * w32-fns.el (w32-convert-standard-filename): Rename from
10470 convert-standard-filename. Doc fix.
10472 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10473 (convert-standard-filename): Don't defalias.
10474 (register-name-alist, make-register, register-value)
10475 (set-register-value, intdos): Obsolete aliases for the
10476 corresponding dos-* functions and variables.
10477 (dos-intdos): Add a doc string.
10479 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10481 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10482 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10483 (math-compose-tex-func):
10484 * calc/calccomp.el (math-compose-expr):
10485 * calc/calc-ext.el (math-format-flat-expr-fancy):
10486 * calc/calc-store.el (calc-read-var-name):
10487 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10489 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10490 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10491 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10492 (math-standard-units): Add units.
10494 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10496 * progmodes/asm-mode.el (asm-mode):
10497 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10499 * pcomplete.el (pcomplete-completions-at-point): New function,
10500 extracted from pcomplete-std-complete.
10501 (pcomplete-std-complete): Use it.
10503 2010-05-15 Glenn Morris <rgm@gnu.org>
10505 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10506 Remove references to CVS, RCS and Old directories.
10508 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10510 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10513 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10515 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10516 (sh-mode-syntax-table): Give it a default value instead.
10517 (sh-header-marker): Make buffer-local.
10518 (sh-mode): Move make-local-variable to the corresponding setq.
10519 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10520 Use complete-with-action.
10522 * simple.el (prog-mode): New (abstract) major mode.
10523 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10524 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10526 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10528 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10529 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10530 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10531 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10532 (sql-escape-newlines-filter, sql-input-sender)
10533 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10535 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10537 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10539 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10540 latex-open-block and C-c / to latex-close-block.
10542 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10543 and C-c C-e to sgml-close-tag.
10545 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10547 * net/tramp.el (with-progress-reporter): Create reporter object
10548 only when the message would be displayed. Handle nested calls.
10549 (tramp-handle-load, tramp-handle-file-local-copy)
10550 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10551 (tramp-maybe-send-script, tramp-find-shell):
10552 Use `with-progress-reporter'.
10553 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10556 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10557 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10558 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10559 Use `with-progress-reporter'.
10561 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10563 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10564 process everytime when spellchecking from the minibuffer (bug#6143).
10566 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10568 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10570 * dos-fns.el: Add "dos-" prefix for namespace control.
10571 (convert-standard-filename): Define as alias for
10572 dos-convert-standard-filename but only if applicable.
10574 2010-05-12 Alan Mackenzie <acm@muc.de>
10576 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10577 Push the mark at the start of these functions when appropriate.
10579 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10581 * minibuffer.el (completion-cycle-threshold): New custom var.
10582 (completion--do-completion): Use it.
10583 (minibuffer-complete): Use cycling if appropriate.
10585 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10587 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10588 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10590 2010-05-11 Juri Linkov <juri@jurta.org>
10592 * scroll-all.el (scroll-all-check-to-scroll):
10593 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10595 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10597 * iimage.el (iimage-mode-map): Move initialization into declaration.
10598 (iimage-mode-buffer): Use with-silent-modifications.
10599 Simplify calling convention. Adjust callers.
10600 (iimage-mode): Don't run hook redundantly.
10602 * minibuffer.el (completion-pcm--pattern->regex):
10603 Fix last change (bug#6160).
10605 2010-05-10 Juri Linkov <juri@jurta.org>
10607 Remove nodes visited during Isearch from the Info history.
10608 * info.el (Info-isearch-initial-history)
10609 (Info-isearch-initial-history-list): New variables.
10610 (Info-isearch-start): Record initial values of
10611 Info-isearch-initial-history and Info-isearch-initial-history-list.
10612 Add Info-isearch-end to isearch-mode-end-hook.
10613 (Info-isearch-end): New function.
10615 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10617 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10618 format string, in order to work around a bug in pdksh.
10619 Reported by Gilles Pion <gpion@lfdj.com>.
10620 (tramp-handle-verify-visited-file-modtime): Do not send a command
10621 when the connection is not established.
10622 (tramp-handle-set-file-times): Simplify the check for utc.
10624 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10626 Fix use of `filter-buffer-substring' (rework previous change).
10627 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10628 (cua-repeat-replace-region):
10629 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10630 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10631 (cua-cut-region-to-global-mark): Use it.
10633 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10635 * progmodes/sql.el: Version 2.1.
10636 (sql-product-alist): Redesign structure of product info.
10637 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10638 (sql-port, sql-port-history): New variables.
10639 (sql-interactive-product): New variable.
10640 (sql-send-terminator): New variable.
10641 (sql-imenu-generic-expression): Add "Types" imenu entry.
10642 (sql-oracle-login-params, sql-sqlite-login-params)
10643 (sql-mysql-login-params, sql-solid-login-params)
10644 (sql-sybase-login-params, sql-informix-login-params)
10645 (sql-ingres-login-params, sql-ms-login-params)
10646 (sql-postgres-login-params, sql-interbase-login-params)
10647 (sql-db2-login-params, sql-linter-login-params)
10648 (sql-oracle-scan-on): New variables.
10649 (sql-mode-map): Add C-c C-i to start interactive mode.
10650 (sql-mode-menu): Update existing menu entries.
10651 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10652 (sql-mode-oracle-font-lock-keywords)
10653 (sql-mode-postgres-font-lock-keywords)
10654 (sql-mode-ms-font-lock-keywords)
10655 (sql-mode-sybase-font-lock-keywords)
10656 (sql-mode-informix-font-lock-keywords)
10657 (sql-mode-interbase-font-lock-keywords)
10658 (sql-mode-ingres-font-lock-keywords)
10659 (sql-mode-solid-font-lock-keywords)
10660 (sql-mode-mysql-font-lock-keywords)
10661 (sql-mode-sqlite-font-lock-keywords)
10662 (sql-mode-db2-font-lock-keywords)
10663 (sql-mode-linter-font-lock-keywords): Update initialization to
10664 reduce run-time complexity.
10665 (sql-add-product, sql-del-product): New functions.
10666 (sql-set-product-feature, sql-get-product-feature): New functions.
10667 (sql-product-font-lock): Update product API.
10668 (sql-add-product-keywords): New function.
10669 (sql-highlight-product): Update product API.
10670 (sql-help-list-products): New function.
10671 (sql-help): Dynamically lists free and non-free products.
10672 (sql-get-login): Correct bug in handling history and added
10674 (sql-copy-column): Copy without properties.
10675 (sqli-input-sender): Apply filters to SQLi input.
10676 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10677 Implement as a filter.
10678 (sql-escape-newlines-filter): Implement as a filter.
10679 (sql-remove-tabs-filter): New function.
10680 (sql-send-magic-terminator): New function.
10681 (sql-send-string): Implement magic terminator.
10682 (sql-send-region): Use `sql-send-string'.
10683 (sql-interactive-mode): Use product API.
10684 (sql-product-interactive): Use product API.
10685 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10686 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10687 (sql-db2, sql-linter): Use `sql-product-interactive'.
10688 (sql-connect): New function.
10689 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10690 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10691 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10692 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10695 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10697 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10698 New custom variable.
10699 (completion-pcm--string->pattern): Use it.
10700 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10701 Make it handle any symbol as `any'.
10702 (completion-pcm--merge-completions): Extract common suffix for the new
10703 `prefix' symbol as well.
10704 (completion-substring--all-completions): Use the new `prefix' symbol.
10706 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10708 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10710 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10711 (tramp-compat-funcall): New defmacro.
10712 (tramp-compat-line-beginning-position)
10713 (tramp-compat-line-end-position)
10714 (tramp-compat-temporary-file-directory)
10715 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10716 (tramp-compat-copy-file, tramp-compat-copy-directory)
10717 (tramp-compat-delete-file, tramp-compat-delete-directory)
10718 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10719 * net/tramp.el (top, with-progress-reporter)
10720 (tramp-rfn-eshadow-setup-minibuffer)
10721 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10722 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10723 (tramp-completion-mode-p, tramp-check-for-regexp)
10724 (tramp-open-connection-setup-interactive-shell)
10725 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10726 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10727 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10728 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10729 (tramp-reporter-dump-variable, tramp-load-report-modules)
10730 (tramp-append-tramp-buffers)
10731 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10733 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10735 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10737 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10738 buffer-modtime. Adjust users.
10740 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10742 * international/mule.el (auto-coding-alist): Only purecopy
10743 car of each item, not the whole list (Bug#6083).
10745 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10747 * progmodes/js.el (js-mode): Make paragraph variables local before
10748 calling c-setup-paragraph-variables (Bug#6071).
10750 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10752 * composite.el (compose-region, reference-point-alist): Fix typos
10753 in the doc strings.
10755 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10757 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10758 gnuplot's "set" command.
10760 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10762 * abbrev.el (last-abbrev-text): Doc fix.
10763 (abbrev-prefix-mark): Don't escape parenthesis.
10765 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10767 * composite.el (find-composition): Doc fix.
10769 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10771 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10772 (sql-oracle-program, sql-sqlite-options)
10773 (sql-query-placeholders-and-send): Doc fixes.
10774 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10775 (sql-imenu-generic-expression, sql-buffer)
10776 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10777 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10778 (sql-mode-sybase-font-lock-keywords)
10779 (sql-mode-informix-font-lock-keywords)
10780 (sql-mode-interbase-font-lock-keywords)
10781 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10782 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10783 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10784 (sql-product-feature, sql-highlight-product)
10785 (comint-line-beginning-position, sql-rename-buffer)
10786 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10787 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10788 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10789 Fix typos in docstrings.
10791 2010-05-08 Juri Linkov <juri@jurta.org>
10793 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10794 property instead of `invisible' and `after-string' (bug#5998).
10796 2010-05-08 Juri Linkov <juri@jurta.org>
10798 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10800 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10802 * filecache.el (file-cache-add-directory-list)
10803 (file-cache-add-directory-recursively): Fix typos in docstrings.
10805 2010-05-08 Kenichi Handa <handa@m17n.org>
10807 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10808 (gujarati-composable-pattern): Fix typo.
10810 2010-05-08 Kenichi Handa <handa@m17n.org>
10812 * language/indian.el (oriya-composable-pattern)
10813 (tamil-composable-pattern, malayalam-composable-pattern):
10814 Add two-part vowels to "v" (vowel sign).
10816 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10818 * files.el (copy-directory): Handle symlinks (Bug#5982).
10820 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10822 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10823 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10826 2010-05-08 Glenn Morris <rgm@gnu.org>
10828 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10830 * minibuffer.el (completion-at-point): Doc fix.
10832 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10834 * electric.el (Electric-command-loop): Minor tweak.
10836 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10837 better with dedicated windows.
10839 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10841 * Version 23.2 released.
10843 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10844 Stefan Monnier <monnier@iro.umontreal.ca>
10846 Highlight vendor specific properties.
10847 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10848 (css-proprietary-property): New face.
10849 (css-font-lock-keywords): Use them.
10851 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10853 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10855 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10857 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10858 * files.el (auto-mode-alist): Remove redundant entries.
10860 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10861 * simple.el (auto-save-mode): Move from files.el.
10862 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10864 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10866 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10868 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10870 * mail/binhex.el (binhex-decode-region-internal)
10871 * mail/uudecode.el (uudecode-decode-region-internal)
10872 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10873 (dns-read-type, dns-query)
10874 * pgg-parse.el (pgg-parse-armor)
10875 * pgg.el (pgg-verify-region)
10876 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10879 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10881 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10883 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10885 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10886 * emulation/cua-base.el (cua-repeat-replace-region):
10887 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10888 (cua-cut-region-to-global-mark):
10889 Remove text properties with `set-text-properties'.
10891 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10893 * net/tramp.el (top, with-progress-reporter):
10894 Use `symbol-function' inside `funcall'.
10896 * net/tramp-compat.el (tramp-compat-file-attributes)
10897 (tramp-compat-delete-file, tramp-compat-delete-directory):
10898 Handle only `wrong-number-of-arguments' error.
10900 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10901 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10904 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10906 * minibuffer.el (completion--sreverse, completion--common-suffix):
10908 (completion-pcm--merge-completions): Extract common suffix when safe.
10910 * emacs-lisp/easy-mmode.el (define-minor-mode):
10911 Make :variable more flexible.
10912 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10914 2010-05-05 Juri Linkov <juri@jurta.org>
10916 Add `slow' and `history' tags to the desktop data.
10918 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10919 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10920 (Info-finder-find-node): Require `finder.el' to be able
10921 to restore node from the desktop.
10922 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10923 data `Info-history' and `slow' tag in the assoc list.
10924 (Info-restore-desktop-buffer): Don't restore nodes with the
10925 `slow' tag. Restore `Info-history'.
10927 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10929 Add FORCE argument to `delete-file'.
10931 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10932 forcing to delete the temporary file.
10933 (ange-ftp-delete-file): Add FORCE arg.
10934 (ange-ftp-rename-remote-to-remote)
10935 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10936 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10937 Force file deletion.
10939 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10941 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10942 (tramp-handle-make-symbolic-link, tramp-handle-load)
10943 (tramp-do-copy-or-rename-file-via-buffer)
10944 (tramp-do-copy-or-rename-file-directly)
10945 (tramp-do-copy-or-rename-file-out-of-band)
10946 (tramp-handle-process-file, tramp-handle-call-process-region)
10947 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10948 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10949 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10951 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10952 (tramp-fish-handle-make-symbolic-link)
10953 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10955 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10956 Use `tramp-compat-delete-file'.
10958 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10959 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10961 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10962 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10964 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10965 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10966 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10967 Use `tramp-compat-delete-file'.
10969 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10972 * subr.el (add-minor-mode): Use push.
10973 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10974 * emulation/edt.el (edt-select-mode): Simplify.
10976 Use define-minor-mode in more cases.
10977 * term/tvi970.el (tvi970-set-keypad-mode):
10978 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10979 (normal-erase-is-backspace-mode):
10980 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10981 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10982 (get-scroll-bar-mode): New function.
10983 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10985 Use define-minor-mode for less obvious cases.
10986 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10987 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10988 * international/iso-ascii.el (iso-ascii-mode):
10989 * frame.el (auto-raise-mode, auto-lower-mode):
10990 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10992 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10994 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10995 in order to see error messages for failed logins.
10997 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10999 * diff.el (diff-sentinel):
11001 * epg.el (epg--make-temp-file, epg-decrypt-string)
11002 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11004 * jka-compr.el (jka-compr-partial-uncompress)
11005 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11007 * server.el (server-sentinel): Use delete-file's new FORCE arg
11010 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11012 Use define-minor-mode where applicable.
11013 * view.el (view-mode):
11014 * type-break.el (type-break-query-mode)
11015 (type-break-mode-line-message-mode):
11016 * textmodes/reftex.el (reftex-mode):
11017 * term/vt100.el (vt100-wide-mode):
11018 * tar-mode.el (tar-subfile-mode):
11019 * savehist.el (savehist-mode):
11020 * ibuf-ext.el (ibuffer-auto-mode):
11021 * composite.el (auto-composition-mode):
11022 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11023 Use define-minor-mode.
11024 (vhdl-mode): Use static mode-line format.
11025 (vhdl-mode-line-update): Delete.
11026 (vhdl-create-mode-menu, vhdl-activate-customizations)
11027 (vhdl-hs-minor-mode): Don't bother calling it.
11029 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11031 * simple.el (with-wrapper-hook): Move.
11032 (buffer-substring-filters): Mark obsolete.
11033 (filter-buffer-substring-functions): New variable.
11034 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11036 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11037 Michael Albinus <michael.albinus@gmx.de>
11039 Implement compression for inline methods.
11041 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11042 (tramp-copy-size-limit): Allow also nil.
11043 (tramp-inline-compress-commands): New defconst.
11044 (tramp-find-inline-compress, tramp-get-inline-compress)
11045 (tramp-get-inline-coding): New defuns.
11046 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11047 replaced by `tramp-get-inline-coding'.
11048 (tramp-handle-file-local-copy, tramp-handle-write-region)
11049 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11051 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11053 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11054 Remove unused functions.
11056 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11057 Set find-tag-default-function as a variable rather than a property.
11059 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11060 * progmodes/etags.el (tags-completion-at-point-function):
11061 Remove left over interactive spec. Add autoloading stub.
11062 (complete-tag): Use tags-completion-at-point-function.
11064 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11066 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11068 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11070 * ido.el (ido-init-completion-maps): Remove C-v binding.
11071 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11073 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11075 * minibuffer.el (tags-completion-at-point-function): New function.
11076 (completion-at-point-functions): Use it.
11078 * progmodes/etags.el (complete-tag): Revert last change.
11080 2010-04-29 Alan Mackenzie <acm@muc.de>
11082 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11083 off-by-one error (in end of macro position).
11085 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11087 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11088 firefox is absent. Don't autoload.
11089 (browse-url-galeon-program): Don't autoload.
11091 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11093 * bindings.el (complete-symbol): Move into minibuffer.el.
11095 * minibuffer.el (complete-tag): Move from etags.el. If tags
11096 completion cannot be performed, return nil instead of signalling
11098 (completion-at-point): Make it an alias for complete-symbol.
11099 (complete-symbol): Move from bindings.el, and replace with the
11100 body of completion-at-point.
11102 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11104 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11106 * net/tramp.el (tramp-remote-selinux-p): New defun.
11107 (tramp-handle-file-selinux-context)
11108 (tramp-handle-set-file-selinux-context): Use it.
11110 2010-04-28 Sam Steingold <sds@gnu.org>
11112 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11113 `safe-local-variable' if the value is a string or a symbol with
11114 the property `bug-reference-url-format'.
11116 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11118 * progmodes/bug-reference.el (bug-reference-url-format):
11119 Revert 2010-04-27 change due to security risk.
11121 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11123 Make it possible to locally disable a globally enabled mode.
11124 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11125 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11126 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11127 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11128 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11129 that subsequent hooks get a chance to disable it.
11131 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11133 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11134 Avoid re-enabling a minor mode after the user turned the minor mode
11135 off if MODE-enable-in-buffers is run twice (typically once from
11136 fundamental-mode's after-change-major-mode-hook and a second time from
11137 run-mode-hook's own after-change-major-mode-hook).
11139 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11141 2010-04-27 Sam Steingold <sds@gnu.org>
11143 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11144 `safe-local-variable' if the value is a string or a function, as
11145 documented and implemented on 2010-04-02.
11147 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11149 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11150 when method is 'kill.
11152 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11154 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11155 condition in default directory check.
11156 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
11157 Kill ispell process when killing its associated buffer.
11159 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11161 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11162 but we aren't using it.
11164 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11166 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11167 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11169 2010-04-24 Glenn Morris <rgm@gnu.org>
11171 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11172 Ignore VCS-ignore files, and deleted nextstep preferences files.
11173 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11174 (authors-ambiguous-files): New list.
11175 (authors-valid-file-names): Add some deleted files.
11176 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11177 (authors-disambiguate-file-name): New function. (Bug#5501)
11178 (authors-canonical-file-name): Doc fix.
11179 Don't warn about obsolete files.
11180 (authors-canonical-file-name, authors-scan-el):
11181 Use authors-disambiguate-file-name.
11183 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11184 Add autoload cookies.
11185 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11186 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11187 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11188 They have definitions / compiler macros in cl.el.
11189 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11190 Replace manual autoloads with generated ones.
11191 (htmlfontify-unload-rgb-file): Remove autoload.
11192 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11194 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11196 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11197 (byte-compile-setq-default): Optimize for the
11198 single-var case and don't call byte-compile-form in this case to avoid
11199 inf-loop with byte-compile-set-default.
11201 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11203 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11205 Implement SELINUX backends.
11207 * net/tramp.el (tramp-file-name-handler-alist):
11208 Add `file-selinux-context' and `set-file-selinux-context'.
11209 (tramp-handle-file-selinux-context)
11210 (tramp-handle-set-file-selinux-context): New defuns.
11211 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11212 Handle PRESERVE-SELINUX-CONTEXT.
11214 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11215 Add `file-selinux-context' and `set-file-selinux-context'.
11216 (tramp-gvfs-handle-file-selinux-context)
11217 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11218 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11220 * net/ange-ftp.el (ange-ftp-copy-file):
11221 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11222 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11223 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11224 Add PRESERVE-SELINUX-CONTEXT.
11226 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11228 Synchronize with Tramp repository.
11230 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11231 (tramp-action-process-alive, tramp-action-out-of-band)
11232 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11233 (tramp-exists-file-name-handler): Fix docstring.
11234 (with-progress-reporter): New defmacro.
11235 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11236 (tramp-maybe-open-connection): Use it.
11238 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11240 Detect ssh 'ControlMaster' argument automatically in some cases.
11242 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11243 (tramp-default-method): Use it.
11245 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11247 * net/tramp.el (tramp-handle-copy-file): Add new optional
11248 parameter `preserve-selinux-context'.
11249 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11251 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11253 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11254 Ensure, that non remote files are still checked. Oops.
11256 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11260 * icomplete.el (icomplete-completions): Use `non-essential'.
11262 * net/tramp.el (tramp-connectable-p): New defun.
11263 (tramp-handle-expand-file-name)
11264 (tramp-completion-handle-file-name-all-completions)
11265 (tramp-completion-handle-file-name-completion): Use it.
11267 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11269 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11271 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11273 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11275 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11277 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11280 * info.el (info-tool-bar-map): Add labels.
11282 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11284 * cus-edit.el (custom-commands): Add labels for tool bar.
11285 (custom-buffer-create-internal, Custom-mode): Adjust for
11286 labels in custom-commands.
11288 * dynamic-setting.el: Renamed from font-setting.el.
11290 2010-04-21 John Wiegley <jwiegley@gmail.com>
11292 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11293 toggles the use of virtual buffers.
11294 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11295 (ido-toggle-virtual-buffers): New function.
11297 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11299 Use `define-derived-mode'; fix window selection; doc fixes.
11300 * play/tetris.el (tetris, tetris-update-speed-function)
11301 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11302 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11303 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11304 (tetris-pause-game): Fix typos in docstrings.
11305 (tetris-mode-map, tetris-null-map):
11306 Move initialization into declaration.
11307 (tetris-mode): Define with `define-derived-mode';
11308 set show-trailing-whitespace to nil.
11309 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11311 2010-04-21 Karel Klíč <kklic@redhat.com>
11313 * files.el (backup-buffer): Handle SELinux context, and return it
11314 if a backup was made by renaming.
11315 (backup-buffer-copy): Set SELinux context to the target file.
11316 (basic-save-buffer): Set SELinux context of the newly written file.
11317 (basic-save-buffer-1): Now it also returns any SELinux context.
11318 (basic-save-buffer-2): Set SELinux context of the newly created file,
11320 * net/tramp.el (tramp-file-name-for-operation):
11321 Add file-selinux-context.
11323 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11325 Make the log-edit comments use RFC822 format throughout.
11327 * vc.el (vc-checkin, vc-modify-change-comment):
11328 Adjust to new vc-start/finish-logentry.
11329 (vc-find-conflicted-file): New command.
11330 (vc-transfer-file): Adjust to new vc-checkin.
11331 (vc-next-action): Improve scoping.
11333 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11334 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11336 * vc-git.el (vc-git-log-edit-mode): Remove.
11337 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11338 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11340 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11341 (vc-start-logentry): Remove argument `extra'.
11342 (vc-finish-logentry): Remove extra args.
11344 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11345 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11346 (vc-bzr-conflicted-files): New function.
11348 * log-edit.el (log-edit-extra-flags)
11349 (log-edit-before-checkin-process): Remove.
11350 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11351 (log-edit-headers-alist): New var.
11352 (log-edit-header-contents-regexp): New const.
11353 (log-edit-match-to-eoh): New function.
11354 (log-edit-font-lock-keywords): Use them.
11355 (log-edit): Insert a "Summary:" header as default.
11356 (log-edit-mode): Mark font-lock rules as case-insensitive.
11357 (log-edit-done): Cleanup headers.
11358 (log-view-process-buffer): Remove.
11359 (log-edit-extract-headers): New function to replace it.
11361 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11363 * subr.el (default-direction-reversed): Remove obsolescence info.
11365 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11367 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11370 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11371 I.e. include text after point in the completion region.
11372 Also, return nil when we're not after/in a symbol.
11374 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11375 default enable-multibyte-characters.
11377 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11379 * international/mule.el: Help the user choose a valid coding-system.
11380 (read-buffer-file-coding-system): New function.
11381 (set-buffer-file-coding-system): Use it. Prompt the user if the
11382 coding-system cannot encode all the chars.
11384 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11385 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11386 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11387 Don't use *vc-bzr-shelve*.
11389 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11391 Fix the version number for added files.
11392 * vc-hg.el (vc-hg-working-revision): Check if the file is
11393 registered after hg parent fails (Bug#5961).
11395 2010-04-19 Glenn Morris <rgm@gnu.org>
11397 * htmlfontify.el (htmlfontify-buffer)
11398 (htmlfontify-copy-and-link-dir): Autoload entry points.
11400 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11402 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11403 name relative to the project root (Bug#5960).
11405 2010-04-19 Glenn Morris <rgm@gnu.org>
11407 * vc-git.el (vc-git-print-log): Doc fix.
11409 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11411 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11413 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11415 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11416 default settings (Bug#5928).
11418 2010-04-19 Glenn Morris <rgm@gnu.org>
11420 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11422 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11424 2010-04-19 Kenichi Handa <handa@m17n.org>
11426 * language/indian.el (malayalam-composable-pattern): Fix previous
11427 change (add U+0D4D "SIGN VIRAMA").
11428 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11429 (tamil-composable-pattern): Fix typo in the regexp.
11430 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11431 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11432 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11434 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11436 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11437 paragraph-separate (Bug#5821).
11439 2010-04-19 Juri Linkov <juri@jurta.org>
11441 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11443 * info.el (Info-find-node-2): Comment out code that skips
11445 (Info-mouse-follow-link): New command.
11446 (Info-link-keymap): New keymap.
11447 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11448 Return a string with links instead of inserting breadcrumbs
11449 to the Info buffer.
11450 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11451 Instead of putting the `invisible' text property over the Info
11452 header, make an overlay over the Info header with the `invisible'
11453 property and `after-string' set to the string returned by
11454 `Info-breadcrumbs'.
11456 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11458 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11459 Reported by monkey@sandpframing.com.
11461 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11463 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11464 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11465 available in the "keyseq cache" any more.
11467 * custom.el (defcustom): Add edebug spec.
11469 2010-04-18 Juri Linkov <juri@jurta.org>
11471 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11473 * view.el (view-file, view-buffer): Move test for special mode-class
11474 from view-file to view-buffer.
11476 * tar-mode.el (tar-extract): Turn if's into one cond
11477 like in arc-mode.el.
11479 2010-04-18 Juri Linkov <juri@jurta.org>
11481 Add 7z archive format support (bug#5475).
11483 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11484 (archive-7z-extract): New defcustom.
11485 (archive-find-type): Add magic string for 7z.
11486 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11487 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11488 `buffer' arg of `call-process'.
11489 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11490 call the function `archive-7z-extract' with the variable
11491 `archive-7z-extract' let-bound to `archive-zip-extract'.
11492 (archive-7z-summarize, archive-7z-extract): New functions.
11494 * international/mule.el (auto-coding-alist):
11495 * files.el (auto-mode-alist): Add 7z file extension.
11497 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11499 * loadup.el: Setup hash-cons for pure data.
11501 Fix duplicate entries in cedet's loaddefs.el files.
11502 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11503 Should make most file-local generated-autoload-file unnecessary.
11504 (print-readably): Silence warnings.
11505 (autoload-find-destination): Take load-name as an arg to make sure
11506 it's the same as the one that will be in the file.
11507 (autoload-generate-file-autoloads): Adjust to above changes.
11508 Try to make the dataflow a bit simpler.
11510 * cvs-status.el (cvs-refontify): Remove unused.
11512 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11514 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11516 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11517 twos-complement mode.
11519 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11521 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11522 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11523 (calc-inverse): Add "Option" to message, as appropriate.
11524 (calc-hyperbolic): Add "Option" to message, as appropriate.
11525 (calc-option, calc-is-option): New functions.
11527 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11528 (calc-option-prefix-help): New function.
11530 * calc/calc-misc.el (calc-help): Add "Option" entry.
11532 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11533 (calc-option-flag): New variable.
11534 (calc-do): Set `calc-option-flag to nil.
11535 (calc-set-mode-line): Add "Opt " as appropriate.
11537 2010-04-16 Juri Linkov <juri@jurta.org>
11539 Move scrolling commands from simple.el to window.el
11540 because their primitives are implemented in window.c.
11542 * simple.el (scroll-error-top-bottom)
11543 (scroll-up-command, scroll-down-command, scroll-up-line)
11544 (scroll-down-line, scroll-other-window-down)
11545 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11546 * window.el (scroll-error-top-bottom)
11547 (scroll-up-command, scroll-down-command, scroll-up-line)
11548 (scroll-down-line, scroll-other-window-down)
11549 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11550 Move from simple.el to window.el because their primitives are
11551 implemented in window.c.
11553 2010-04-16 Juri Linkov <juri@jurta.org>
11555 * isearch.el (isearch-lookup-scroll-key): Check both
11556 `isearch-scroll' and `scroll-command' properties.
11557 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11559 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11561 * simple.el (scroll-up-command, scroll-down-command)
11562 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11564 2010-04-15 Juri Linkov <juri@jurta.org>
11566 * simple.el (scroll-up-command, scroll-down-command)
11567 (scroll-up-line, scroll-down-line): Put `scroll-command'
11568 property on the these symbols. Remove them from
11569 `scroll-preserve-screen-position-commands'.
11571 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11572 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11573 Remove it from `scroll-preserve-screen-position-commands'.
11575 * isearch.el (isearch-allow-scroll): Doc fix.
11577 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11579 * net/tramp.el (tramp-error-with-buffer): Don't show the
11580 connection buffer when we are in completion mode.
11581 (tramp-file-name-handler): Catch the error for some operations
11582 when we are in completion mode. This gives the user the chance to
11583 correct the file name in the minibuffer.
11585 2010-04-15 Glenn Morris <rgm@gnu.org>
11587 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11589 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11591 Simplify by using `define-derived-mode'.
11592 * info.el (Info-mode):
11593 * calendar/todo-mode.el (todo-mode):
11594 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11595 (gomoku-mode-map): Move initialization into declaration.
11597 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11600 * ido.el (ido-file-name-all-completions-1):
11601 * minibuffer.el (minibuffer-completion-help):
11602 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11604 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11606 * simple.el (non-essential): New var.
11608 Add a new field `location' to bookmarks for non-file bookmarks.
11609 * bookmark.el (bookmark-location): Use the new field, if present.
11610 (bookmark-insert-location): Undo last change, not needed any more.
11611 * man.el (Man-bookmark-make-record):
11612 * woman.el (woman-bookmark-make-record): Add `location' field.
11614 2010-04-14 Juri Linkov <juri@jurta.org>
11616 * simple.el (scroll-error-top-bottom): New defcustom.
11617 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11619 * emulation/pc-select.el (pc-select-override-scroll-error):
11620 Obsolete in favor of `scroll-error-top-bottom'.
11622 2010-04-14 Juri Linkov <juri@jurta.org>
11624 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11625 `scroll-up-command' and `M-v' to `scroll-down-command'.
11627 * emulation/cua-rect.el (cua--init-rectangles):
11628 * forms.el (forms--change-commands):
11629 * image-mode.el (image-mode-map):
11630 Remap scroll-down-command and scroll-up-command
11631 in addition to scroll-down and scroll-up.
11633 2010-04-14 Juri Linkov <juri@jurta.org>
11635 * mwheel.el (scroll-preserve-screen-position-commands):
11636 Add mwheel-scroll to this list of commands.
11638 * simple.el (scroll-preserve-screen-position-commands):
11639 Add scroll-up-command, scroll-down-command, scroll-up-line,
11640 scroll-down-line to this list of commands.
11642 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11644 * obsolete/complete.el: Move from lisp/complete.el.
11646 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11648 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11649 to the minor mode function now turns the mode ON unconditionally.
11651 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11653 * vc-dir.el (vc-dir-kill-line): New command.
11654 (vc-dir-mode-map): Bind it to C-k.
11656 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11658 * woman.el: Add bookmark declarations to silence the compiler.
11659 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11660 step to compatibility between man and woman bookmarks.
11661 Adjust for Man-default-bookmark-title renaming.
11662 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11664 * man.el: Add bookmark declarations to silence the compiler.
11665 (Man-name-local-regexp): Make it match NAME as well.
11666 (Man-getpage-in-background): Return the buffer.
11667 (Man-notify-when-ready): Use `case'.
11668 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11669 Don't hardcode "NAME". Simplify.
11670 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11671 Rename from Man-bookmark-make-record.
11672 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11673 we have the actual man-args. Use Man-getpage-in-background rather
11674 than `man' since the arg is already processed. Let bookmark.el do the
11675 window handling. Only wait for the relevant process.
11676 Don't forget to autoload.
11678 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11680 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11682 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11684 (woman-mode): Setup bookmark support.
11686 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11687 (man-bookmark-jump): New functions.
11688 (Man-mode): Setup bookmark support.
11690 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11692 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11693 recognize ssh-keygen prompt (Bug#2817).
11695 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11697 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11699 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11701 Synchronize with Tramp repository.
11703 * net/tramp.el (tramp-completion-function-alist)
11704 (tramp-file-name-regexp, tramp-chunksize)
11705 (tramp-local-coding-commands, tramp-remote-coding-commands):
11707 (tramp-remote-process-environment): Use `format' instead of `concat'.
11708 (tramp-handle-directory-files-and-attributes)
11709 (tramp-get-remote-path): Use `copy-tree'.
11710 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11711 compatibility: Use `completion-ignore-case' if
11712 `read-file-name-completion-ignore-case' does not exist.
11713 (tramp-do-copy-or-rename-file-directly): Do not use
11714 `tramp-handle-file-remote-p'.
11715 (tramp-do-copy-or-rename-file-out-of-band):
11716 Use `tramp-compat-delete-directory'.
11717 (tramp-do-copy-or-rename-file-out-of-band)
11718 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11719 Use `format-spec-make'.
11720 (tramp-find-foreign-file-name-handler)
11721 (tramp-advice-make-auto-save-file-name)
11722 (tramp-set-auto-save-file-modes): Remove superfluous check for
11723 `stringp'. This is done inside `tramp-tramp-file-p'.
11724 (tramp-debug-outline-regexp): New defconst.
11725 (tramp-get-debug-buffer): Use it.
11726 (tramp-check-for-regexp): Use (forward-line 1).
11727 (tramp-set-auto-save-file-modes): Adapt version check.
11729 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11730 Wrap call of `featurep' for 2nd argument.
11731 (tramp-compat-make-temp-file): Simplify fallback implementation.
11732 (tramp-compat-copy-tree): Remove function.
11733 (tramp-compat-delete-directory): Provide implementation for older
11736 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11737 Do not use `tramp-fish-handle-file-attributes.
11739 * net/trampver.el: Update release number.
11741 2010-04-10 Glenn Morris <rgm@gnu.org>
11743 * progmodes/compile.el (compilation-save-buffers-predicate):
11744 Add missing :version tag.
11746 2010-04-09 Sam Steingold <sds@gnu.org>
11748 * progmodes/compile.el (compilation-save-buffers-predicate):
11749 Remove the "autoload" cookie.
11751 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11752 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11753 and `bug-reference-prog-mode' can be used in hooks directly.
11755 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11757 Add --author support to git commit.
11758 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11759 (vc-git-log-edit-mode): New minor mode.
11760 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11763 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11765 * vc-hooks.el, vc-git.el: Improve documentation comments.
11767 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11769 Fix some of the problems in defsubst* (bug#5728).
11770 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11771 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11773 2010-04-07 Sam Steingold <sds@gnu.org>
11775 * progmodes/compile.el (compilation-save-buffers-predicate):
11776 New custom variable.
11777 (compile, recompile): Pass it to `save-some-buffers'.
11779 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11781 * wid-edit.el (widget-choose): Move cursor to the second line of
11782 the buffer (Bug#5695).
11784 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11786 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11787 * vc.el (vc-print-log-setup-buttons): New function split out from
11788 vc-print-log-internal.
11789 (vc-log-internal-common): New function, a parametrized version of
11790 vc-print-log-internal.
11791 (vc-print-log-internal): Just call vc-log-internal-common with the
11793 (vc-incoming-outgoing-internal):
11794 (vc-log-incoming, vc-log-outgoing): New functions.
11795 (vc-log-view-type): New permanent local variable.
11797 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11799 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11800 of the dynamic bound vc-short-log.
11801 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11803 * vc-git.el (vc-git-log-outgoing): New function.
11804 (vc-git-log-view-mode): Use vc-log-view-type instead
11805 of the dynamic bound vc-short-log.
11807 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11808 of the dynamic bound vc-short-log. Highlight the tag.
11809 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11810 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11811 (vc-hg-incoming-mode): Remove.
11812 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11814 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11816 Fix default-directory for vc-root-diff.
11817 * vc.el (vc-root-diff): Bind default-directory to the root
11818 directory for the diff command.
11820 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11822 * progmodes/verilog-mode.el (verilog-forward-sexp):
11823 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11824 word keywords, suggested by Steve Pearlmutter.
11825 (verilog-pretty-declarations): Support lineup of declarations in
11827 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11828 fix bug for /* / comments.
11829 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11830 Speed up and simplfy as this is never called with a bound.
11831 (verilog-pretty-declarations): Enhance to line up declarations
11832 inside a parameter list, suggested by Alan Morgan.
11833 (verilog-pretty-expr): Tune assignment regular expression match
11834 string for corner cases; also use markers instead of character
11835 number as indent changes the later.
11837 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11839 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11840 as missing keyword.
11841 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11842 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11843 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11844 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11846 (verilog-keywords):
11847 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11848 1800-2009 keywords, including "global.".
11850 2010-04-06 John Wiegley <jwiegley@gmail.com>
11852 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11853 appearing in buffer list (if a live buffer name matched a recentf
11854 file basename). Should use uniquify to offer a real solution.
11856 2010-04-06 John Wiegley <jwiegley@gmail.com>
11858 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11859 comment to code, and add a :version tag.
11860 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11862 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11864 Enable recentf-mode if using virtual buffers.
11865 * ido.el (recentf-list): Declare for byte-compiler.
11866 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11867 (ido-make-buffer-list): Simplify.
11868 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11870 2010-04-05 Juri Linkov <juri@jurta.org>
11872 Scrolling commands which scroll a line instead of full screen.
11873 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11875 * simple.el (scroll-up-line, scroll-down-line): New commands.
11876 Put property isearch-scroll=t on them.
11878 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11881 2010-04-05 Juri Linkov <juri@jurta.org>
11883 Scrolling commands which do not signal errors at top/bottom.
11884 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11886 * simple.el (scroll-up-command, scroll-down-command): New commands.
11887 Put property isearch-scroll=t on them.
11889 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11890 `scroll-down-command' and [next] from `scroll-up' to
11891 `scroll-up-command'.
11893 * emulation/cua-base.el: Put property CUA=move on
11894 `scroll-up-command' and `scroll-down-command'.
11895 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11896 and `scroll-down-command' to `cua-scroll-down'.
11898 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11900 * help.el (describe-mode): Return nil.
11902 2010-04-04 John Wiegley <jwiegley@gmail.com>
11904 * ido.el (ido-use-virtual-buffers): New variable to indicate
11905 whether "virtual buffer" support is enabled for IDO.
11906 (ido-virtual): Face used to indicate virtual buffers in the list.
11907 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11908 exists, but a virtual buffer of that name does (which would be why
11909 it was in the list), recreate the buffer by reopening the file.
11910 (ido-make-buffer-list): If virtual buffers are being used, call
11911 `ido-add-virtual-buffers-to-list' before the make list hook.
11912 (ido-virtual-buffers): New variable which contains a copy of the
11913 current contents of the `recentf-list', albeit pared down for the
11914 sake of speed, and with proper faces applied.
11915 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11916 create a list of "virtual buffers" to present to the user in
11917 addition to the currently open set. Note that this logic could
11918 get rather slow if that list is too large. With the default
11919 `recentf-max-saved-items' of 200, there is little speed penalty.
11921 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11923 * font-lock.el: Require CL when compiling.
11924 (font-lock-turn-on-thing-lock): Use `case'.
11926 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11928 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11931 2010-04-02 Juri Linkov <juri@jurta.org>
11933 * ehelp.el (electric-help-orig-major-mode):
11934 New buffer-local variable.
11935 (electric-help-mode): Set it to original major-mode. Doc fix.
11936 (with-electric-help): Use `electric-help-orig-major-mode' instead
11937 of (default-value 'major-mode). Doc fix.
11938 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11940 2010-04-02 Sam Steingold <sds@gnu.org>
11942 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11943 `vc-hg-command' with a list of flags.
11945 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11946 Also accept "patch" and "RFE".
11947 (bug-reference-fontify): `bug-reference-url-format' can also be a
11948 function to be able to handle the bug kind.
11949 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11951 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11953 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11954 value to fboundp, it may not be a symbol.
11956 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11958 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11960 2010-03-31 Juri Linkov <juri@jurta.org>
11962 * simple.el (next-line, previous-line): Re-throw a signal
11963 with `signal' instead of using `ding'.
11964 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11966 2010-03-31 Juri Linkov <juri@jurta.org>
11968 * simple.el (keyboard-escape-quit): Raise deselecting the active
11969 region higher than exiting the minibuffer.
11970 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11972 2010-03-31 Juri Linkov <juri@jurta.org>
11974 * image.el (image-animated-p): Use `image-metadata' instead of
11975 `image-extension-data'. Get GIF extenstion data from metadata
11976 property `extension-data'.
11978 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11980 * simple.el (append-to-buffer): Simplify.
11982 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11984 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11985 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11987 2010-03-31 Kenichi Handa <handa@m17n.org>
11989 * language/sinhala.el (composition-function-table): Fix regexp for
11990 the new Unicode specification.
11992 * language/indian.el (devanagari-composable-pattern)
11993 (tamil-composable-pattern, kannada-composable-pattern)
11994 (malayalam-composable-pattern): Adjust for the new Unicode
11996 (bengali-composable-pattern, gurmukhi-composable-pattern)
11997 (gujarati-composable-pattern, oriya-composable-pattern)
11998 (telugu-composable-pattern): New variables to cope with the new
11999 Unicode specification. Use them in composition-function-table.
12001 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12003 Make tmm-menubar work for the Buffers menu again (bug#5726).
12004 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12005 vectors rather than cons cells, as used in menu-bar-update-buffers.
12007 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12009 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12010 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12011 electric punctuation for "{}();,:" (Bug#5586).
12013 * mail/sendmail.el (mail-default-directory): Doc fix.
12015 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12017 * mail/sendmail.el (mail-default-directory): Doc fix.
12019 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12021 * subr.el (version-regexp-alist, version-to-list)
12022 (version-list-<, version-list-=, version-list-<=)
12023 (version-list-not-zero, version<, version<=, version=): Doc fix.
12026 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12028 * vc.el (vc-root-diff): Doc fix.
12030 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12032 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12034 * simple.el (append-to-buffer): Fix last change.
12036 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12038 * simple.el (append-to-buffer): Ensure that point is preserved if
12039 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12042 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12044 * files.el (auto-mode-case-fold): Change default to t.
12046 2010-03-30 Juri Linkov <juri@jurta.org>
12048 * dired-x.el (dired-omit-mode): Doc fix.
12050 2010-03-30 Juri Linkov <juri@jurta.org>
12052 * replace.el (occur-accumulate-lines): Move occur-engine related
12053 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12054 to be located after `occur-engine'.
12056 2010-03-30 Juri Linkov <juri@jurta.org>
12058 Make occur handle multi-line matches cleanly with context.
12059 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12061 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12062 (occur-engine): Add local variables `ret', `prev-after-lines',
12063 `prev-lines'. Use more arguments for `occur-context-lines'.
12064 Set first elem of its returned list to `data', and the second elem
12065 to `prev-after-lines'. Don't print the separator line.
12066 In the end, print remaining context after-lines.
12067 (occur-context-lines): Add new arguments `begpt', `endpt',
12068 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12069 after-lines of the previous match with before-lines of the
12070 current match and not overlap them. Return a list with two
12071 values: the output line and the list of context after-lines.
12073 2010-03-30 Juri Linkov <juri@jurta.org>
12075 * replace.el (occur-accumulate-lines): Fix a bug where the first
12076 context line at the beginning of the buffer was missing.
12078 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12080 * files.el: Make bidi-display-reordering safe variable for boolean
12083 2010-03-29 Phil Hagelberg <phil@evri.com>
12084 Chong Yidong <cyd@stupidchicken.com>
12086 * subr.el: Extend progress reporters to perform "spinning".
12087 (progress-reporter-update, progress-reporter-do-update):
12088 Handle non-numeric value arguments.
12089 (progress-reporter--pulse-characters): New var.
12091 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12093 * progmodes/compile.el (compilation-start): Fix regexp detection
12094 of initial cd command (Bug#5771).
12096 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12098 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12100 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12102 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12103 * progmodes/gdb-mi.el: Restore.
12104 * progmodes/gdb-ui.el: Remove.
12105 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12107 2010-03-25 Glenn Morris <rgm@gnu.org>
12109 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12110 all dired buffers, even tramp ones. (Bug#5755)
12112 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12114 Add "union tags" in mpc.el.
12115 * mpc.el: Remove backward compatibility code.
12116 (mpc-browser-tags): Change default.
12117 (mpc--find-memoize-union-tags): New var.
12118 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12119 (mpc-cmd-find): Handle the case where the playlist does not exist.
12121 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12122 (mpc-cmd-add): Use mpc-cmd-flush.
12123 (mpc-tagbrowser-tag-name): New fun.
12124 (mpc-tagbrowser-buf): Use it.
12125 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12127 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12130 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12131 Use replace-regexp-in-string.
12132 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12133 (makefile-imake-mode-syntax-table): Move init into defvar.
12134 (makefile-mode): Use define-derived-mode.
12136 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12137 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12138 not be present any more.
12140 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12142 * faces.el (set-face-attribute): Fix typo in docstring.
12143 (face-valid-attribute-values): Reflow docstring.
12145 2010-03-24 Glenn Morris <rgm@gnu.org>
12147 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12149 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12151 * indent.el (indent-for-tab-command): Doc fix.
12153 2010-03-24 Alan Mackenzie <acm@muc.de>
12155 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12156 Fix off-by-one error. Fixes bug #5747.
12158 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12160 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12161 (image-dired-read-comment): Doc fix.
12163 * json.el (json-object-type, json-array-type, json-key-type)
12164 (json-false, json-null, json-read-number):
12165 * minibuffer.el (completion-in-region-functions):
12166 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12167 (cal-tex-cursor-week):
12168 * emacs-lisp/trace.el (trace-function):
12169 * eshell/em-basic.el (eshell/printnl):
12170 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12171 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12172 * obsolete/levents.el (allocate-event, event-key, event-object)
12173 (event-point, event-process, event-timestamp, event-to-character)
12174 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12175 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12176 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12177 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12178 (reftex-highlight-selection): Fix typos in docstrings.
12180 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12182 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12184 2010-03-24 Glenn Morris <rgm@gnu.org>
12186 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12187 2008-02-13 without comment; mark it obsolete.
12188 (rmail-highlight-headers): Use rmail-highlight-face once more.
12190 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12192 * woman.el (woman2-process-escapes): Only consume the newline if
12193 the filler character is on a line by itself (Bug#5729).
12195 2010-03-24 Kenichi Handa <handa@m17n.org>
12197 * language/indian.el (devanagari-composable-pattern): Add more
12200 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12202 * net/trampver.el: Update release number.
12204 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12206 * net/tramp.el (tramp-find-executable):
12207 Use `tramp-get-connection-buffer'. Make the regexp for checking
12208 output of "wc -l" more robust.
12209 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12210 (tramp-open-connection-setup-interactive-shell): Remove workaround
12211 for OpenSolaris bug, it is not needed anymore.
12213 2010-03-24 Glenn Morris <rgm@gnu.org>
12215 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12217 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12219 * files.el (auto-mode-alist): Accept more verilog file patterns.
12221 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12223 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12225 2010-03-24 Glenn Morris <rgm@gnu.org>
12227 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12228 log-edit-before-checkin-process.
12230 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12232 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12234 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12235 (log-view-process-buffer, log-edit-extra-flags): Declare.
12237 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12239 2010-03-23 Sam Steingold <sds@gnu.org>
12241 Fix bug#5620: recalculate all markers on compilation buffer
12242 modifications, not on file modifications.
12243 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12244 variable: the buffer modification time, for buffers not associated with
12246 (compilation-mode): Create it.
12247 (compilation-filter): Update it.
12248 (compilation-next-error-function): Use it instead of
12249 `visited-file-modtime' for timestamp.
12251 2010-03-23 Juri Linkov <juri@jurta.org>
12253 Implement Occur multi-line matches.
12254 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12256 * replace.el (occur): Doc fix.
12257 (occur-engine): Set `begpt' to the beginning of the first line.
12258 Set `endpt' to the end of the last match line. At first, count
12259 line numbers between `origpt' and `begpt'. Split out code from
12260 `out-line' variable to new let-bindings `match-prefix' and
12261 `match-str'. In `out-line' add non-numeric prefix to all
12262 non-first lines of multi-line matches. Finally, count lines
12263 between `begpt' and `endpt' and add to `lines'.
12265 2010-03-23 Juri Linkov <juri@jurta.org>
12267 * replace.el (occur-accumulate-lines, occur-engine):
12268 Use `occur-engine-line' instead of duplicate code.
12269 (occur-engine-line): New function created from duplicate code
12270 in `occur-accumulate-lines' and `occur-engine'.
12272 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12273 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12275 2010-03-23 Juri Linkov <juri@jurta.org>
12277 * finder.el: Remove TODO tasks.
12279 * info.el (Info-finder-find-node): Add node "all"
12280 with all package info. Handle a list of multiple keywords
12281 separated by comma.
12282 (info-finder): In interactive use with a prefix argument,
12283 use `completing-read-multiple' to read a list of keywords
12284 separated by comma.
12286 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12288 Add a new completion style `substring'.
12289 * minibuffer.el (completion-basic--pattern): New function.
12290 (completion-basic-try-completion, completion-basic-all-completions):
12292 (completion-substring--all-completions)
12293 (completion-substring-try-completion)
12294 (completion-substring-all-completions): New functions.
12295 (completion-styles-alist): New style `substring'.
12297 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12299 Get rid of .elc files after removal of the corresponding .el.
12300 * Makefile.in (compile-clean): New target.
12301 (compile-main): Use it.
12303 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12305 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12306 don't do make there. When compiling with separate object dir, there
12307 is no Makefile there.
12309 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12311 Get rid of the ELCFILES abomination, again.
12312 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12313 (all, compile): Don't call compile-last.
12314 (compile-main): Build the "elcfiles" list dynamically.
12315 (compile-targets): New (internal) target.
12317 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12319 * Makefile.in (top_srcdir): Define.
12320 (abs_top_builddir): Define.
12321 (srcdir): Don't append `/..'.
12322 (EMACS): Use ${abs_top_builddir}.
12323 (all, compile, compile-always, compile-last): Don't set emacswd.
12324 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12326 (lisp): Use $(srcdir) instead of @srcdir@.
12328 2010-03-21 Juri Linkov <juri@jurta.org>
12330 Fix message of multi-line occur regexps and multi-buffer header lines.
12331 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12333 * replace.el (occur-1): Don't display regexp if it is longer
12334 than window-width. Use `query-replace-descr' to display regexp.
12335 (occur-engine): Don't display regexp in the buffer header for
12336 multi-buffer occur. Display a separate header line with total
12337 match count and regexp for multi-buffer occur.
12338 Use `query-replace-descr' to display regexp.
12340 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12342 * net/secrets.el: Fix parenthesis.
12343 (secrets-enabled): Fix parenthesis.
12345 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12347 Use more relative file and directory names.
12348 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12349 (setwins, setwins_almost, setwins_for_subdirs):
12350 Don't `cd'; output relative names.
12351 (all, compile, compile-always, compile-last): Set emacswd.
12352 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12353 Just cd to the lisp source dir so we can use relative file names.
12355 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12357 2010-03-20 Glenn Morris <rgm@gnu.org>
12359 * textmodes/rst.el: Use faces for font-lock customization, and make the
12360 old -face variables obsolete.
12361 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12362 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12363 (rst-block-face, rst-external-face, rst-definition-face)
12364 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12365 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12367 (rst-font-lock-keywords-function): Update for above changes.
12369 2010-03-20 Juri Linkov <juri@jurta.org>
12372 * obsolete/s-region.el: Move to obsolete.
12374 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12376 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12378 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12380 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12382 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12384 Add special markup processing for commit logs.
12385 * log-edit.el (log-edit-extra-flags): New variable.
12386 (log-edit): Add new argument MODE. Use that mode when non-nil
12387 instead of the log-view-mode.
12388 (log-view-process-buffer): New function.
12390 * vc.el: Document that the checkin method takes optional
12391 arguments. Document new backend specific method: log-view-mode.
12392 (vc-default-log-edit-mode): New function.
12393 (vc-checkin): Use a backend specific log-view-mode.
12394 Pass extra arguments to the checkin method.
12395 (vc-modify-change-comment): Pass a dummy extra argument.
12397 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12399 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12400 (vc-finish-logentry): Process the log buffer before passing it
12401 down. Pass log-edit-extra-flags.
12403 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12405 (log-edit-extra-flags, log-edit-before-checkin-process):
12408 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12410 (log-edit-extra-flags, log-edit-before-checkin-process):
12412 (vc-hg-log-edit-mode): New derived mode.
12414 * vc-arch.el (vc-arch-checkin):
12415 * vc-cvs.el (vc-cvs-checkin):
12416 * vc-git.el (vc-git-checkin):
12417 * vc-mtn.el (vc-mtn-checkin):
12418 * vc-rcs.el (vc-rcs-checkin):
12419 * vc-sccs.el (vc-sccs-checkin):
12420 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12422 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12424 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12427 2010-03-19 Glenn Morris <rgm@gnu.org>
12429 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12431 2010-03-18 Glenn Morris <rgm@gnu.org>
12433 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12435 * replace.el (query-replace-history): Give it a doc string.
12436 (map-query-replace-regexp): Use query-replace-from-history-variable
12437 and query-replace-to-history-variable.
12439 * mail/hashcash.el (declare-function): Remove duplicate definition.
12441 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12442 Make it an obsolete alias for report-emacs-bug-address.
12443 (message-strip-special-text-properties): Declare.
12444 (report-emacs-bug): Remove test for a pretest bug address.
12445 Combine message-mode-specific code.
12447 * mail/supercite.el: Don't require sendmail.
12448 (mh-in-header-p): Declare rather than using with-no-warnings.
12449 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12450 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12452 * calendar/cal-french.el: Convert to utf-8.
12454 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12457 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12459 * net/secrets.el (secrets-enabled): New variable. Use it instead
12462 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12464 * net/secrets.el (top): Register the D-Bus signals only when the
12465 service "org.freedesktop.secrets" can be pinged.
12466 Provide subfeature `enabled'.
12468 2010-03-14 Juri Linkov <juri@jurta.org>
12470 Add finder unknown keywords.
12472 * finder.el (finder-unknown-keywords): New function.
12474 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12475 to create a Finder node with unknown keywords.
12477 2010-03-14 Juri Linkov <juri@jurta.org>
12479 * finder.el (finder-compile-keywords): Replace `princ' with
12480 `prin1' on a list of symbols interned from keyword strings.
12482 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12483 a comma, then split keywords using a comma and optional whitespace.
12484 Otherwise, split by whitespace.
12492 * progmodes/mixal-mode.el: Fix keywords.
12494 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12496 * Makefile.in (ELCFILES): Add net/secrets.elc.
12498 * net/secrets.el: New file.
12500 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12502 * facemenu.el (list-colors-display, list-colors-print): New arg
12503 callback. Use it to allow selecting colors.
12505 * wid-edit.el (widget-image-insert): Insert image prop even if the
12506 current display is non-graphic.
12507 (widget-field-value-set): New fun.
12508 (editable-field): Use it.
12509 (widget-field-value-get): Clean up unused var.
12510 (widget-color-value-create, widget-color--choose-action):
12511 New funs. Allow using list-colors-display to choose color.
12513 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12515 * cus-edit.el: Resort topmost custom groups.
12516 (custom-buffer-sort-alphabetically): Default to t.
12517 (customize-apropos): Use apropos-parse-pattern.
12518 (custom-search-field): New var.
12519 (custom-buffer-create-internal): Add custom-apropos search field.
12520 (custom-add-parent-links): Don't display parent doc.
12521 (custom-group-value-create): Don't sort top-level custom group.
12522 (custom-magic-value-create): Show visibility button before option name.
12524 (custom-variable-state): New fun, from custom-variable-state-set.
12525 (custom-variable-state-set): Use it.
12526 (custom-group-value-create): Hide options with standard values
12527 using the :hidden-states property. Use progress reporter.
12529 (custom-show): Simplify.
12530 (custom-visibility): Disable images by default.
12531 (custom-variable): New property :hidden-states.
12532 (custom-variable-value-create): Enable images for
12533 custom-visibility widgets. Use :hidden-states property to
12534 determine initial visibility.
12536 * wid-edit.el (widget-image-find): Give images center ascent.
12537 (visibility): Add :on-image and :off-image properties.
12538 (widget-visibility-value-create): Use them.
12540 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12542 * cus-edit.el (processes): Remove from development group.
12543 (oop, hypermedia): Delete group.
12544 (comm): Promote to top-level group.
12546 * net/browse-url.el (browse-url):
12547 * net/xesam.el (xesam):
12548 * net/tramp.el (tramp):
12549 * net/goto-addr.el (goto-address):
12550 * net/ange-ftp.el (ange-ftp): Put in comm group.
12552 * view.el (view): Remove from editing group.
12554 * uniquify.el (uniquify): Put in files group.
12556 * net/browse-url.el (browse-url):
12557 * ps-print.el (postscript): Put in external group.
12559 * cus-edit.el (outlines):
12560 * textmodes/text-mode.el (text-mode-hook):
12561 * textmodes/table.el (table):
12562 * textmodes/picture.el (picture):
12563 * outline.el (outlines): Put in wp group.
12565 * nxml/nxml-mode.el (nxml): Remove from wp group.
12567 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12569 * mail/metamail.el (metamail): Remove from hypermedia group.
12571 * cus-edit.el (abbrev):
12572 * whitespace.el (whitespace):
12573 * vcursor.el (vcursor):
12574 * reveal.el (reveal):
12575 * hl-line.el (hl-line): Put in convenience group.
12577 * epg-config.el (epg): Put in data group.
12579 * emulation/pc-select.el (pc-select): Put in emulations group.
12581 * calculator.el (calculator): Put in applications group.
12583 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12585 Add .dir-locals.el support for file-less buffers.
12586 * files.el (hack-local-variables): Split out code to apply local
12587 variable settings ...
12588 (hack-local-variables-apply): ... here. New function.
12589 (hack-dir-local-variables): Use the default directory for when the
12590 buffer does not have an associated file.
12591 (hack-dir-local-variables-non-file-buffer): New function.
12592 * diff-mode.el (diff-mode):
12593 * vc-annotate.el (vc-annotate-mode):
12594 * vc-dir.el (vc-dir-mode):
12595 * log-edit.el (log-edit-mode):
12596 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12598 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12600 Add support for shelving snapshots and for showing shelves.
12601 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12602 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12604 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12605 (vc-bzr-extra-menu-map): Map them.
12607 2010-03-11 Glenn Morris <rgm@gnu.org>
12609 * cus-edit.el (customize-changed-options-previous-release):
12612 * image.el (image-animate-max-time): Fix :version tag.
12614 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12618 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12620 * vc-git.el (vc-git-revision-table): Include remote branches.
12622 2010-03-10 Kim F. Storm <storm@cua.dk>
12624 Animated image API.
12625 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12627 * image.el (image-animate-max-time): New defcustom.
12628 (image-animated-types): New defconst.
12629 (create-animated-image, image-animate-timer)
12630 (image-animate-start, image-animate-stop, image-animate-timeout)
12631 (image-animated-p): New functions.
12633 * image-mode.el (image-toggle-display-image):
12634 Replace `create-image' with `create-animated-image'.
12636 2010-03-09 Miles Bader <miles@gnu.org>
12638 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12639 instead of "format:"; this ensures that the output is
12640 newline-terminated.
12642 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12644 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12645 that all errors are caught, and that the return value is always a
12648 2010-03-08 Kenichi Handa <handa@m17n.org>
12650 * language/misc-lang.el (windows-1256): New coding system.
12651 (cp1256): New alias of windows-1256 (bug#5690).
12653 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12655 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12656 call to rfc822-bad-address. (Bug#5692)
12658 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12660 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12661 Use vc-git-root as default directory for revision path (Bug#5657).
12663 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12665 * calculator.el (calculator): Don't bind split-window-keep-point
12668 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12670 * vc-git.el: Re-flow to fit into 80 columns.
12671 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12672 Remove spurious `quote' element in each case alternative.
12673 (vc-git-show-log-entry): Use prog1.
12674 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12676 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12678 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12680 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12682 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12683 definition, not the name (Bug#5481).
12685 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12687 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12688 argument with a local variable. (Bug#5670)
12690 2010-03-02 Juri Linkov <juri@jurta.org>
12692 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12694 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12696 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12697 error when FILENAME and NEWNAME are existing remote directories.
12699 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12700 parameter DIR-FLAG.
12702 2010-03-02 Glenn Morris <rgm@gnu.org>
12704 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12705 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12707 2010-03-01 Kenichi Handa <handa@m17n.org>
12709 * language/burmese.el (burmese-composable-pattern): Rename from
12710 myanmar-composable-pattern.
12712 * international/characters.el (script-list):
12713 * international/fontset.el (script-representative-chars):
12714 Change myanmar to burmese.
12715 (otf-script-alist): Likewise.
12716 (setup-default-fontset): Likewise. Re-fix :otf spec.
12718 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12720 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12722 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12724 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12726 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12728 * net/tramp.el (tramp-handle-write-region): START can be a string.
12729 Take care in the checks. Reported by Dan Davison
12730 <davison@stats.ox.ac.uk>.
12732 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12734 * net/dbus.el (dbus-introspect, dbus-get-property)
12735 (dbus-set-property, dbus-get-all-properties):
12736 Use `dbus-call-method' when noninteractive. (Bug#5645)
12738 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12740 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12741 * emacs-lisp/elint.el (elint-add-required-env):
12742 * calendar/icalendar.el (icalendar--add-diary-entry):
12743 * calc/calcalg2.el (math-tracing-integral):
12744 * files.el (recover-session-finish): Use with-current-buffer
12745 instead of save-excursion.
12747 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12749 Fix in-buffer completion when after-change-functions modify the buffer.
12750 * minibuffer.el (completion--replace): New function.
12751 (completion--do-completion): Use it and use relative movement.
12753 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12755 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12757 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12759 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12760 Allow the characters _<> in the stack entry (Bug#5653).
12762 2010-02-26 Kenichi Handa <handa@m17n.org>
12764 * language/burmese.el: Fix entries in composition-function-table.
12765 (myanmar-composable-pattern): New variable.
12767 * international/fontset.el (setup-default-fontset): Add an entry
12770 * international/characters.el (script-list): Add Myanmar
12773 2010-02-26 Glenn Morris <rgm@gnu.org>
12775 * custom.el (custom-initialize-delay): Doc fix.
12777 * mail/sendmail.el (send-mail-function): Autoload the call
12778 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12780 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12782 * files.el (hack-local-variables-filter): For eval forms, also
12783 check safe-local-variable-p (Bug#5636).
12785 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12787 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12788 setting the modes by `ignore-errors'. It might fail, for example
12789 if the file is not owned by the user but the group.
12790 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12792 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12794 * files.el (directory-listing-before-filename-regexp):
12795 Use stricter matching for iso-style dates, to avoid false matches with
12796 date-like filenames (Bug#5597).
12798 * htmlfontify.el (htmlfontify): Doc fix.
12800 * eshell/eshell.el (eshell): Doc fix.
12802 * startup.el (fancy-about-screen): In mode-line, apply
12803 mode-line-buffer-id face only to the buffer name (Bug#5613).
12805 2010-02-20 Kevin Ryde <user42@zip.com.au>
12807 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12808 In `watcom' anchor regexp to start of line, to avoid slowness
12811 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12813 * subr.el (remove-yank-excluded-properties): Explain in a comment
12814 why `category' property is removed.
12816 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12818 * isearch.el (isearch-update-post-hook, isearch-update):
12819 Revert 2010-02-17 change.
12821 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12823 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12824 (icalendar--convert-weekly-to-ical)
12825 (icalendar--convert-yearly-to-ical)
12826 (icalendar--convert-block-to-ical)
12827 (icalendar--convert-cyclic-to-ical)
12828 (icalendar--convert-anniversary-to-ical): Take care of time
12829 specifications where hour has 1-digit only (Bug#5549).
12831 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12833 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12834 of disassemble output in GDB 7.1.
12836 2010-02-19 Glenn Morris <rgm@gnu.org>
12838 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12839 property. (Bug#5593)
12841 2010-02-18 Sam Steingold <sds@gnu.org>
12843 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12845 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12847 Use abbreviated file names in bookmarks (bug#5591).
12848 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12849 calls to expand-file-name.
12850 (bookmark-relocate): Use abbreviated file names in bookmarks.
12851 (bookmark-load): Use abbreviated file names in messages.
12853 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12855 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12856 expand "." and "..". Reported by Thierry Volpiatto
12857 <thierry.volpiatto@gmail.com>.
12859 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12861 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12862 permissions of the temporary file to "0600". In case the remote
12863 file has no read permissions for the owner, there might be
12864 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12866 22010-02-18 Glenn Morris <rgm@gnu.org>
12868 * emacs-lisp/authors.el (authors-renamed-files-alist):
12869 Add entries for INSTALL.CVS.
12871 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12873 * vc-bzr.el: Fix typo in Known Bugs section.
12875 * isearch.el (isearch-update-post-hook): New hook.
12876 (isearch-update): Use the new hook.
12878 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12880 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12881 Fix errors in copying directories.
12882 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12883 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12884 (tramp-handle-delete-file)
12885 (tramp-handle-dired-recursive-delete-directory)
12886 (tramp-handle-write-region): Flush also the cache for the upper
12889 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12891 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12893 * cus-edit.el (hardware): Doc fix.
12895 * man.el (man): Add to external custom group.
12897 * delim-col.el (columns): Move to wp custom group.
12899 * doc-view.el (doc-view): Add to data custom group.
12901 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12903 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12904 by ispell-parse-output (Bug#5575).
12906 2010-02-16 Kenichi Handa <handa@m17n.org>
12908 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12909 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12910 (skkdic-convert): Use `euc-japan' coding system for writing.
12912 2010-02-16 Glenn Morris <rgm@gnu.org>
12914 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12915 tex-main-file before using it. (Bug#5562)
12917 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12919 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12920 warnings, since it is annoying for the user to see them each time he
12923 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12925 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12926 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12927 instead of PROC for caching "first-password-request". Otherwise,
12928 new processes would not profit from passwords already entered.
12930 * net/tramp-cache.el (tramp-dump-connection-properties):
12931 Don't save "first-password-request" property.
12933 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12935 * outline.el (outline-head-from-level):
12936 * simple.el (with-wrapper-hook):
12937 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12938 (elint-defun, elint-buffer-env, elint-top-form-logged)
12939 (elint-unbound-variable):
12940 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12941 Fix typos in docstrings.
12943 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12945 * files.el (insert-directory): When WILDCARD-REGEXP and
12946 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12947 whole directory. (Bug#5551)
12949 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12950 dired's alignment sanity. (Bug#5516)
12952 2010-02-14 Juri Linkov <juri@jurta.org>
12954 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12955 Remove remaining ^H with their preceding chars. (Bug#5566)
12957 2010-02-13 Glenn Morris <rgm@gnu.org>
12959 * simple.el (transpose-subr): Give it a doc-string.
12961 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12964 2010-02-12 Juri Linkov <juri@jurta.org>
12966 * arc-mode.el (archive-unique-fname): Make directories for nested
12967 archives. (Bug#5540)
12969 2010-02-12 Juri Linkov <juri@jurta.org>
12971 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12973 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12975 * subr.el (copy-overlay): Handle deleted overlays.
12977 * man.el (Man-completion-table): Don't signal an error if we can't run
12978 manual-program (bug#4056).
12980 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12982 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12984 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12986 * info.el (Info-bookmark-jump): Simplify.
12988 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12989 (bookmark-default-handler): Accept new bookmark field `buffer'.
12991 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12993 * iswitchb.el (iswitchb-completions): Revert last change.
12995 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12997 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12998 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12999 This prevents file names like "~/" being listed literally.
13001 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13003 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13004 Remove dead code. (Bug#5546)
13006 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13008 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13009 correctly (Bug#5548).
13011 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13013 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13014 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13016 2010-02-08 Kenichi Handa <handa@m17n.org>
13018 * international/mule-util.el (with-coding-priority): Add autoload
13019 cookie for putting `lisp-indent-function'.
13021 2010-02-07 Glenn Morris <rgm@gnu.org>
13023 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13024 Move F2003 named interfaces from keywords-2 to keywords-1, and
13025 use function-name-face rather than constant-face.
13026 Simplify "abstract interface" regexp.
13028 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13030 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13031 ID-FORMAT. Pass it to `file-attributes'.
13033 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13035 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13037 * faces.el (set-face-attribute): Allow calling
13038 internal-set-lisp-face-attribute with 'unspecified family and
13039 foundry argument (Bug#5536).
13041 2010-02-07 Glenn Morris <rgm@gnu.org>
13043 * progmodes/f90.el (f90-font-lock-keywords-2)
13044 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13045 Handle F2003 named interfaces.
13047 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13049 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13050 beg and end before calling c-get-state-before-change-functions.
13052 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13054 * vc-bzr.el (vc-bzr-dir-extra-headers):
13055 Disable the pending merges header.
13057 2010-02-05 Juri Linkov <juri@jurta.org>
13059 * doc-view.el (doc-view-mode):
13060 * image-mode.el (image-mode): Put property mode-class=special.
13063 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13065 * vc-svn.el (vc-svn-revision-table): New function.
13067 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13069 * net/ange-ftp.el (ange-ftp-insert-directory):
13070 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13071 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13072 Handle also directories. (Bug#5478)
13074 2010-02-05 Glenn Morris <rgm@gnu.org>
13076 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13078 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13080 * startup.el (command-line-1): Convert options beginning with a
13081 single dash as well (Bug#5519).
13083 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13085 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13086 * minibuffer.el (completion-initials-expand): Only check the presence
13087 of delims *within* the boundaries, since otherwise the / delim is
13088 always found for files.
13090 Fix up various corner case problems.
13091 * doc-view.el (doc-view-last-page-number): New function.
13092 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13093 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13094 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13095 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13096 (doc-view-convert-current-doc): Don't create the resolution.el file
13098 (doc-view-pdf/ps->png): Do it here instead.
13099 (doc-view-already-converted-p): Check that resolution.el is present.
13100 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13101 windows that are not yet showing images.
13103 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13105 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13106 `dired-uncache' for every elemnt which is an absolute file name.
13108 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13109 directory, handle its directory component.
13110 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13111 function is called permanently and creates noise, otherwise.
13113 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13114 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13115 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13117 2010-02-04 David Burger <dburger@google.com> (tiny change)
13119 * macros.el (apply-macro-to-region-lines):
13120 Minor simplification. (Bug#5485)
13122 2010-02-04 Glenn Morris <rgm@gnu.org>
13124 * mail/rmail.el (rmail-show-message-1): Handle malformed
13125 quoted-printable text. (Bug#5441)
13127 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13129 * simple.el (visual-line-mode): Capitalize lighter.
13131 2010-02-03 John Wiegley <jwiegley@gmail.com>
13133 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13134 list of files considered for "virtual buffer" completions.
13136 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13138 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13139 also in case of (and (not full) (not wildcard)). This is needed
13140 when dired is called with a list of files, which are not in
13141 `default-directory'. (Bug#5478)
13143 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13145 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13147 2010-02-02 Juri Linkov <juri@jurta.org>
13149 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13150 from unidiff to allow function-line after @@.
13152 2010-02-02 Juri Linkov <juri@jurta.org>
13154 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13155 '(RCS SCCS) with inverted condition.
13157 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13159 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13162 2010-02-01 Juri Linkov <juri@jurta.org>
13164 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13165 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13166 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13167 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13169 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13171 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13172 (doc-view-revert-buffer): New command.
13173 (doc-view-mode-map): Use it.
13175 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13177 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13178 pending merge is detected.
13180 2010-01-31 Juri Linkov <juri@jurta.org>
13182 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13183 beginning of interactive spec like all other grep commands do.
13184 Put "all" in front of "gz". (Bug#5260)
13186 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13188 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13190 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13192 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13193 regexp is incorrect (Bug#5476).
13195 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13197 * net/tramp.el (tramp-handle-insert-directory): Handle also
13198 symlinks, when FILENAME is not in `default-directory'.
13200 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13202 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13203 FILE is not in `default-directory'. (Bug#5478)
13205 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13206 of SWITCHES. Handle the case, FILENAME is not in
13207 `default-directory'. (Bug#5478)
13208 (tramp-register-file-name-handlers): Add safe-magic property.
13210 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13212 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13215 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13217 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13218 (flymake-master-make-header-init): Add other C++ filename masks.
13219 (flymake-find-possible-master-files)
13220 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13222 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13224 Fix some busybox annoyances.
13226 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13227 not responding." string.
13228 (tramp-open-connection-setup-interactive-shell): Dump stty
13229 settings. Enable "neveropen" arg for all `tramp-send-command'
13230 calls. Handle "=" in variable values properly.
13231 (tramp-find-inline-encoding): Raise an error, when no encoding is
13233 (tramp-wait-for-output): Check, whether PROC buffer is available.
13234 Remove spurious " ^H" sequences, sent by busybox.
13235 (tramp-get-ls-command): Suppress coloring, if possible.
13237 2010-01-28 Glenn Morris <rgm@gnu.org>
13239 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13241 * log-edit.el (log-edit-strip-single-file-name): Add missing
13242 :safe, :group, and :version tags.
13244 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13246 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13247 buffers. (Bug#5477)
13249 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13251 * files.el (delete-directory): Handle moving to trash without
13252 first doing recursion (Bug#5436).
13254 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13256 * vc-hooks.el (vc-path): Mark as obsolete.
13258 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13260 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13263 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13265 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13267 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13269 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13271 * vc-bzr.el (vc-bzr-revision-table): New function.
13273 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13275 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13276 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13278 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13280 Remove support for adding --signoff on commit.
13281 Future support will use an incompatible generic mechanism.
13282 * vc-git.el (vc-git-add-signoff): Remove variable.
13283 (vc-git-toggle-signoff): Remove function.
13284 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13286 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13287 Rename from xterm-set-background-mode. Return t if the background mode
13289 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13290 earlier, call it again in case the background mode has changed.
13292 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13294 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13297 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13299 * emacs-lisp/assoc.el (aelement): Doc fix.
13300 (aput, adelete, amake): Use lexical-let (Bug#5450).
13302 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13304 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13305 is the same as subprogram call, not declaration. (Bug#5435).
13307 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13309 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13310 (tramp-smb-maybe-open-connection): Use it.
13312 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13314 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13316 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13318 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13319 just because we see "encoding: 8bit".
13320 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13322 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13324 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13326 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13328 * jka-compr.el (jka-compr-load): If load-file is not in
13329 load-history, try its file-truename version. (bug#5447)
13331 2010-01-21 Alan Mackenzie <acm@muc.de>
13333 Fix a situation where deletion of a cpp construct throws an error.
13334 * progmodes/cc-engine.el (c-invalidate-state-cache):
13335 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13336 special cpp construct is still in the buffer.
13337 (c-parse-state): Record the special cpp with markers, not numbers.
13339 2010-01-21 Kenichi Handa <handa@m17n.org>
13341 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13342 process last-command-event, as it is now decoded first (Bug#5380).
13344 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13346 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13348 2010-01-20 Glenn Morris <rgm@gnu.org>
13350 * indent.el (tab-always-indent): Fix custom-type.
13352 2010-01-19 Alan Mackenzie <acm@muc.de>
13354 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13355 buffer throws "args out of range".
13356 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13357 playing the role of delimiter.
13359 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13361 * progmodes/ada-mode.el: Fix bug#5400.
13362 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13363 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13364 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13365 Improve comments in "is" portion. Handle null procedure declaration.
13366 (ada-move-to-end): Improve doc string.
13368 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13370 * ido.el (ido-cur-list): Initialize to nil.
13371 Remove obsolete information from commentary.
13372 (ido-choice-list): Initialize to nil.
13373 (ido-get-bufname): Reject minibuffers.
13374 (ido-make-buffer-list): If "default" is a nonexistent
13375 buffer, ignore it, as per the function's comment.
13376 (ido-kill-buffer-internal): New function.
13377 (ido-kill-buffer-at-head): Use it.
13378 (ido-visit-buffer): Likewise.
13380 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13382 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13384 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13386 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13387 Fix typos in chart titles.
13389 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13390 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13391 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13392 (describe-class, eieio-describe-generic, describe-generic):
13393 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13394 (eieio-speedbar-expand):
13395 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13396 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13397 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13398 (viper-del-backward-char-in-replace, viper-backward-indent)
13399 (viper-brac-function, viper-register-to-point, viper-submit-report):
13400 * net/tramp.el (tramp-remote-coding-commands):
13401 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13402 Fix typos in docstrings.
13404 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13406 * mail/sendmail.el (mail-yank-original): Set the mark if the
13407 specified function for yanking does not do it.
13409 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13411 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13413 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13414 resyncing a directory.
13416 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13418 * progmodes/ada-mode.el: Fix bug#1920.
13419 (ada-ident-re): Delete ., allow multibyte characters.
13420 (ada-goto-label-re): New; matches goto labels.
13421 (ada-block-label-re): New; matches block labels.
13422 (ada-label-re): New; matches both.
13423 (ada-named-block-re): Delete; callers changed to use
13424 `ada-block-label-re' instead.
13425 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13426 Use `ada-block-label-re'.
13427 (ada-indent-on-previous-lines): Improve handling of goto labels.
13428 (ada-get-indent-block-start): Special-case block label.
13429 (ada-get-indent-label): Split into `ada-indent-block-label' and
13430 `ada-indent-goto-label'.
13431 (ada-goto-stmt-start, ada-goto-next-non-ws):
13432 Optionally ignore goto labels.
13433 (ada-goto-next-word): Simplify.
13434 (ada-indent-newline-indent-conditional): Insert newline before
13435 trying to fix indentation; doc fix.
13437 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13439 * calc/calc.el (calc-command-flags): Give it an initial value.
13441 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13443 * files.el (minibuffer-with-setup-hook):
13444 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13445 (artist-key-draw-continously, artist-key-do-continously-continously)
13446 (artist-key-set-point-continously, artist-mouse-draw-continously):
13447 Fix typos in docstrings.
13449 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13451 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13452 Never return t (Bug#3898).
13454 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13456 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13457 can parse the output of the external commands (Bug#5279).
13459 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13461 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13463 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13465 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13467 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13469 * startup.el (command-line): Remove unused --icon-type arg.
13470 Handle --display arg, passing it to command-line-1 (Bug#5392).
13472 2010-01-16 Mario Lang <mlang@delysid.org>
13474 * emacs-lisp/chart.el (chart-translate-namezone):
13475 * textmodes/artist.el (artist-compute-popup-menu-table):
13476 Remove duplicated words in doc-strings.
13478 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13480 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13481 to mairix-search to suppress threading (Bug#5342).
13483 2010-01-15 Kenichi Handa <handa@m17n.org>
13485 * international/mule-cmds.el (canonicalize-coding-system-name):
13486 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13488 2010-01-15 Glenn Morris <rgm@gnu.org>
13490 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13492 * wid-edit.el (widget-keymap): Doc fix.
13494 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13495 former seems to be more widely accepted by various svn versions.
13497 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13499 * find-cmd.el (find-constituents):
13500 * vc-arch.el (vc-arch-root):
13501 * window.el (window-body-height, pop-up-frames):
13502 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13503 * progmodes/ada-stmt.el (ada-if):
13504 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13505 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13506 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13507 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13509 * progmodes/flymake.el (flymake-post-syntax-check):
13510 Fix typo in error message.
13512 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13514 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13515 which is always a string. (Bug#5313)
13517 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13519 * progmodes/ada-xref.el (ada-default-prj-properties):
13520 Simplify previous change.
13522 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13524 * progmodes/ada-xref.el (ada-default-prj-properties):
13525 Default ada_project_path to $ADA_PROJECT_PATH.
13527 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13529 * progmodes/ada-mode.el (ada-create-keymap):
13530 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13532 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13534 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13535 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13536 (ada-get-current-indent, ada-imenu-generic-expression)
13537 (ada-which-function): Check for it.
13539 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13541 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13542 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13544 2010-01-14 Glenn Morris <rgm@gnu.org>
13546 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13548 2010-01-14 Kenichi Handa <handa@m17n.org>
13550 * composite.el (auto-composition-mode): Make it a buffer local
13551 variable (permanent-local).
13552 (auto-composition-function): Set the default value to
13553 auto-compose-chars.
13554 (auto-composition-mode): Make it a simple function, not a minor mode.
13555 (global-auto-composition-mode): Likewise.
13556 (turn-on-auto-composition-if-enabled): Delete it.
13558 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13560 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13562 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13564 * files.el (copy-directory): Compute target for recursive
13565 directories with identical names. (Bug#5343)
13567 2010-01-12 Glenn Morris <rgm@gnu.org>
13569 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13570 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13572 2010-01-11 Sam Steingold <sds@gnu.org>
13574 * imenu.el (imenu-default-create-index-function): Detect infinite
13575 loops caused by imenu-prev-index-position-function.
13577 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13579 * htmlfontify.el (htmlfontify-load-rgb-file)
13580 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13581 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13582 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13583 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13584 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13585 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13586 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13587 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13588 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13589 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13590 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13591 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13592 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13593 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13594 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13595 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13596 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13597 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13598 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13599 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13600 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13601 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13602 backslash-quoting from parentheses, etc.
13604 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13606 * progmodes/js.el: Autoload javascript-mode alias.
13608 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13610 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13611 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13612 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13613 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13614 Fix typos in docstrings.
13615 (ffap-url-regexp): Doc fix.
13616 (ffap-at-mouse): Fix typo in message.
13618 2010-01-11 Glenn Morris <rgm@gnu.org>
13620 * version.el (emacs-copyright): Set copyright year to 2010.
13622 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13624 * format.el (format-annotate-function): Only set
13625 write-region-post-annotation-function after running to-fn so as not to
13626 affect nested write-region calls (bug#5273).
13628 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13630 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13633 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13635 * man.el (Man-goto-section): Signal error if the section is not
13638 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13640 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13641 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13643 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13645 * progmodes/compile.el: Don't treat compile-command as safe if
13646 compilation-read-command might be nil (Bug#4218).
13648 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13650 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13653 2010-01-08 Kenichi Handa <handa@m17n.org>
13655 * international/fontset.el (build-default-fontset-data):
13656 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13658 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13660 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13661 to `create-file-buffer' as it expects, not just a buffer name.
13662 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13663 to help uniquify. (Bug#3224)
13665 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13667 * font-setting.el (font-setting-change-default-font): Use user-spec
13670 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13672 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13674 2010-01-05 Tom Tromey <tromey@redhat.com>
13676 * progmodes/python.el (python-font-lock-keywords):
13677 Handle qualified decorators (Bug#881).
13679 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13681 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13682 in a lightweight checkout.
13684 2010-01-05 Kenichi Handa <handa@m17n.org>
13686 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13688 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13690 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13692 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13694 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13695 checkouts. (Bug#618)
13696 (vc-bzr-log-view-mode): Also highlight the author.
13697 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13698 (vc-bzr-shelve-menu-map):
13699 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13700 (vc-bzr-shelve-apply): Make prompt more explicit.
13702 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13704 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13705 They are valid characters in URL paths (rfc3986), and at least
13706 Firefox does not understand the encoded version (Bug#3166).
13708 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13710 * progmodes/octave-mod.el (octave-end-keywords)
13711 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13712 Add "end" keyword (Bug#3061).
13713 (octave-end-as-array-index-p): New function.
13714 (calculate-octave-indent): Use it.
13716 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13718 * bookmark.el: Consistently put the text property on the bookmark name.
13719 (bookmark-bmenu-marks-width): Bump back to 2, to include
13721 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13722 property on the bookmark name, instead of not putting it at all.
13723 (bookmark-bmenu-list): Fix where we put the text property.
13725 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13727 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13728 for showing buffer modified state (as added in the previous change).
13730 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13732 * bookmark.el: Show modified state of bookmark buffer more accurately.
13733 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13734 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13735 (with-buffer-modified-unmodified): New macro.
13736 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13737 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13738 Use new macro to preserve the buffer modified state.
13740 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13742 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13743 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13744 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13745 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13746 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13747 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13748 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13750 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13752 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13753 Make the lines in the generated doc string shorter. (Bug#4668)
13755 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13757 * net/rcirc.el: Add follow-link binding (Bug#4738).
13759 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13761 * Makefile.in (bzr-update): Rename from cvs-update.
13762 (cvs-update): New target for backward compatibility.
13764 * makefile.w32-in (bzr-update): Rename from cvs-update.
13765 (cvs-update): New target for backward compatibility.
13767 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13769 * bookmark.el: Remove gratuitous gratitude.
13771 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13773 * bookmark.el (bookmark-bmenu-any-marks): New function.
13774 (bookmark-bmenu-save): Clear buffer modification if no marks.
13776 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13778 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13779 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13780 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13781 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13783 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13784 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13785 To: emacs-devel {_AT_} gnu.org
13786 Subject: bookmark.el bug report
13787 Date: Mon, 28 Dec 2009 14:19:16 +0800
13788 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13790 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13792 * bookmark.el: Improvements suggested by Drew Adams:
13793 (bookmark-bmenu-ensure-position): New name for
13794 `bookmark-bmenu-check-position'. Just ensure the position,
13795 don't return any meaningful value.
13796 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13799 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13801 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13802 (bookmark-yank-point, bookmark-bmenu-check-position):
13803 Fix typos in docstrings.
13804 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13805 (bookmark-name-from-full-record, bookmark-get-position)
13806 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13807 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13808 Remove useless quoting of parenthesis, etc. in docstrings.
13810 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13811 (ediff-append-custom-diff): Fix typo in error message.
13812 (ediff-meta-mark-equal-files): Fix typos in messages.
13814 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13816 * net/imap-hash.el (imap-hash-make): Doc fix.
13817 (imap-hash-test): Fix typo in error message; reflow docstring.
13818 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13819 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13820 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13821 Fix typos in docstrings.
13822 (imap-hash-open-connection): Fix typo in error message.
13824 * play/gomoku.el (gomoku): Fix typos in docstring.
13826 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13827 (gdb-jsonify-buffer): Fix typos in docstring.
13828 (gdb-goto-breakpoint): Fix typo in error message.
13829 ("Display Other Windows"): Fix typo in help message.
13830 (gdb-speedbar-expand-node): Fix typo in question.
13832 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13833 (idlwave-html-system-help-location, idlwave-html-help-location)
13834 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13835 (idlwave-help-browser-generic-args, idlwave-help-directory)
13836 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13837 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13838 (idlwave-online-help, idlwave-help-html-link)
13839 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13840 Fix typos in docstrings.
13841 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13843 (idlwave-help-assistant-start): Fix typo in error message.
13845 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13846 (octave-electric-space): Fix typos in docstrings.
13848 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13850 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13852 2010-01-01 Juri Linkov <juri@jurta.org>
13854 * comint.el (comint-input-ring-size): Make it a defcustom and
13855 increase the default to 500 (Bug#5148).
13857 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13859 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13860 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13861 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13863 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13865 Show working revision correctly for mercurial.
13866 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13867 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13869 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13871 Declare some functions for the byte-compiler.
13872 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13873 (speedbar-timer-fn, speedbar-change-expand-button-char)
13874 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13876 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13878 This changeset reverts GDB Graphical Interface to use annotations.
13879 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13881 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13883 Make vc-dir work on subdirectories of the bzr root.
13884 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13885 Return file names relative to it.
13886 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13887 relative directory to vc-bzr-after-dir-status.
13889 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13891 * font-lock.el (font-lock-refresh-defaults): New function, which
13892 can be used to let font-lock react to external changes in
13893 variables like font-lock-defaults and keywords.
13894 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13896 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13898 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13900 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13902 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13904 Supersede color.diff settings in git log (bug#5211).
13906 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13907 escape chars in its output when the user has color.diff set to `always'.
13908 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13910 2009-12-26 Kevin Ryde <user42@zip.com.au>
13912 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13913 node. Keep previous "Index" name to work with past coreutils too.
13915 * man.el (man): Revise docstring a bit to show -a and -l as
13916 examples. Add -k description since support for it has otherwise
13917 been a secret. (Further to bug#3717.)
13918 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13919 "no matches" rather than "Can't find manpage", as the latter reads
13920 like -k was interpreted as a page name, which is not so. (Bug#5431)
13922 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13924 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13925 switches. Check also for //SUBDIRED// line.
13927 2009-12-25 Kenichi Handa <handa@m17n.org>
13929 * language/indian.el (devanagari-composable-pattern): Fix to
13930 handle ZWNJ and ZWJ. Use it in composition-function-table for
13932 (malayalam-composable-pattern): Fix previous change.
13934 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13936 * ps-print.el (ps-face-attributes): It was not returning the
13937 attribute face for faces specified as string. Reported by harven
13938 <harven@free.fr>. (Bug#5254)
13939 (ps-print-version): New version 7.3.5.
13941 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13943 * calendar/icalendar.el (icalendar--convert-tz-offset):
13944 Fix timezone names.
13945 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13946 (icalendar--add-diary-entry): Remove the trailing blank that
13947 diary-make-entry inserts.
13949 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13951 Make `file-expand-wildcards' work for remote files.
13953 * files.el (file-expand-wildcards): In case of remote files, check
13954 only local file name part for wildcards. Provide feature 'files
13955 and subfeature 'remote-wildcards. (Bug#5198)
13957 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13958 if there is already an established connection.
13959 (tramp-advice-file-expand-wildcards): Remove it.
13961 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13962 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13963 Activate advice for older GNU Emacs versions. (Bug#5237)
13965 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13967 Some doc fixes (more needed).
13969 * find-cmd.el (find-constituents): Reflow docstring.
13970 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13971 (find-generic): Doc fix.
13973 2009-12-17 Juri Linkov <juri@jurta.org>
13975 Fix regression from 23.1 to allow multiple modes in Local Variables.
13977 * files.el (hack-local-variables-filter): While ignoring duplicates,
13978 don't take `mode' into account.
13979 (hack-local-variables-filter, hack-dir-local-variables):
13980 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13982 2009-12-17 Juri Linkov <juri@jurta.org>
13984 Make `dired-diff' safer. (Bug#5225)
13986 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13987 `current' or when `file' is a directory of the `current' file.
13989 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13991 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13992 unconditionally preloaded files.
13994 2009-12-16 Juri Linkov <juri@jurta.org>
13996 Revert to old 23.1 logic of using the file at the mark as default.
13997 * dired-aux.el (dired-diff): Use the file at the mark as default
13998 if it's not the same as the current file, and the target dir is
13999 the current dir or the mark is active. Add the current file
14000 as the arg of `dired-dwim-target-defaults'. Use the default file
14001 in the prompt. (Bug#5225)
14003 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14005 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14006 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14007 (tramp-check-for-regexp): Check also, when an echoing shell stops
14008 to echo sent commands.
14010 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14012 * Makefile.in: Revert last change (Bug#5191).
14014 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14016 * vc-hg.el (vc-hg-print-log): Fix argument order.
14017 (vc-hg-working-revision): Make sure the command is executed in a
14018 known environment so that we can parse the output. (Bug#4417)
14020 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14022 * progmodes/python.el (python-symbol-completions): Remove text
14023 properties from symbol string before calling python-send-receive.
14025 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14027 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14028 when there are values for both file and line. (Bug#5060)
14030 2009-12-14 Juri Linkov <juri@jurta.org>
14032 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14033 whitespace after the file name of the first line of unified format,
14034 because git-diff doesn't output whitespace and file modification time
14035 after the file name.
14037 2009-12-14 David Kastrup <dak@gnu.org>
14039 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14040 check if it already has the `display' property added by
14041 `Info-display-images-node', and not put the `invisible' property
14044 2009-12-13 Glenn Morris <rgm@gnu.org>
14046 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14047 (report-emacs-bug): In message-mode, sort manually before storing
14048 original report text. (Bug#5178)
14049 Remove superfluous save-excursion.
14051 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14053 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14054 when responding to "GetAll" properties.
14056 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14058 * simple.el (compose-mail): Remove mail-setup-with-from from
14059 customization checks.
14061 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14063 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14064 RAR archives created on Unix systems.
14066 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14068 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14069 the varalias that was accidentally removed by the 2009-11-19 change
14072 2009-12-12 Kenichi Handa <handa@m17n.org>
14074 * language/indian.el (indian-compose-regexp): New function.
14075 (malayalam-composable-pattern): Fix the pattern.
14076 (composition-function-table): Set malayalam-composable-pattern for
14077 Malayalam characters.
14079 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14081 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14082 rather than down-mouse-1, based on follow-link conventions.
14084 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14087 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14089 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14090 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14091 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14092 (verilog-leap-to-head, verilog-backward-token):
14093 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14095 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14097 * progmodes/verilog-mode.el (verilog-auto-lineup)
14098 (verilog-nameable-item-re): Cleanup user-visible spelling and
14099 documentation errors. One reported by Gary Delp.
14100 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14101 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14102 package, bug195. Reported by Pierre-David Pfister.
14104 2009-12-11 Glenn Morris <rgm@gnu.org>
14106 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14108 * mail/emacsbug.el: No longer require sendmail.
14109 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14110 (report-emacs-bug-orig-text): Doc fix.
14111 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14112 New local variables, to adapt to different mail-user-agents.
14113 (report-emacs-bug): Fix test for a gnu.org address.
14114 Use overlays for emphasis, since font-lock defeats 'face property.
14115 Pretest bugs also end up at the newsgroup these days.
14116 Stop message-mode stripping text properties.
14117 Set and use the new buffer-local variables.
14118 (report-emacs-bug-hook): Add doc-string.
14119 Remove some unnecessary save-excursions and simplify.
14120 Use the appropriate hook and send-command.
14122 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14123 capitalization of some menu entries.
14125 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14127 * whitespace.el (whitespace-display-char-on):
14128 Ensure `buffer-display-table' is unique when two or more windows are
14129 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14132 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14134 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14135 characters in the Attribute field.
14137 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14139 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14141 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14143 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14144 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14145 Disregard autoload-excludes.
14146 (update-directory-autoloads): Obey autoload-excludes here instead.
14147 But don't store its contents in no-autoloads and remove entries that
14148 refer to excludes files.
14150 2009-12-10 Glenn Morris <rgm@gnu.org>
14152 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14153 (expand-mail-aliases): Define for compiler.
14155 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14156 Define for compiler.
14158 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14159 appropriate for the mail-user-agent in use.
14161 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14163 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14165 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14167 Fix short log parsing and fontification.
14168 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14169 Fix fontification for the [merge] label.
14171 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14173 Drop some properties to avoid surprises (bug#5002).
14174 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14175 (hfy-fontify-buffer): Use it.
14177 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14180 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14181 Adjust all callers.
14182 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14183 args compulsory. Adjust callers.
14184 (ffap-gopher-at-point): Remove unused var `name'.
14186 Get rid of the ELCFILES abomination.
14187 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14188 (compile-elcfiles): New phony target.
14189 (compile-main): Compute ELCFILES dynamically.
14190 (compile-clean): New target to remove left-over elc files.
14191 (compile, all): Use it.
14193 2009-12-09 Kenichi Handa <handa@etlken>
14195 * international/mule-diag.el: Require help-mode instead of help-fns.
14197 2009-12-09 Kenichi Handa <handa@m17n.org>
14199 * international/mule-cmds.el (ucs-names): Supply sufficiently
14200 fine ranges instead of pre-calculating accurate ranges.
14201 Iterate with bigger gc-cons-threshold.
14203 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14205 Add support for stashing a snapshot of the current tree.
14206 * vc-git.el (vc-git-stash-snapshot): New function.
14207 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14209 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14211 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14212 instead of `(beginning|end)-of-line'.
14214 2009-12-08 Glenn Morris <rgm@gnu.org>
14216 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14218 * Makefile.in (ELCFILES): Regenerate.
14220 2009-12-07 Juri Linkov <juri@jurta.org>
14222 Don't lazy-highlight the comint output in history Isearch mode.
14224 * comint.el (comint-history-isearch-search): Instead of
14225 `comint-line-beginning-position', use `comint-after-pmark-p'
14226 to check if point if before the process mark, and go to
14227 `process-mark' in this case.
14229 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14231 * textmodes/tex-mode.el (latex-complete)
14232 (latex-indent-or-complete): Remove.
14233 (latex-mode): Set completion-at-point-functions instead.
14235 Provide a standard completion command and hook it into TAB.
14236 * minibuffer.el (completion-at-point-functions): New var.
14237 (completion-at-point): New command.
14238 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14239 * progmodes/python.el (python-mode-map): Use completion-at-point.
14240 (python-completion-at-point): Rename from python-partial-symbol and
14241 adjust for use in completion-at-point-functions.
14242 (python-mode): Setup completion-at-point for Python completion.
14243 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14244 extracted from lisp-complete-symbol.
14245 (lisp-complete-symbol): Use it.
14246 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14247 setup completion-at-point for Elisp completion.
14248 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14249 Use completion-at-point.
14250 * ielm.el (ielm-map): Use completion-at-point.
14251 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14252 * progmodes/sym-comp.el: Move to...
14253 * obsolete/sym-comp.el: Move from progmodes.
14255 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14257 Prevent save-buffer in Rmail buffers from using the coding-system
14258 of the current message, and from clobbering the encoding mnemonics
14259 in the mode line (Bug#4623).
14261 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14263 (rmail-message-encoding): New variable.
14264 (rmail-write-region-annotate): Record the encoding of the current
14265 message in rmail-message-encoding.
14266 (rmail-after-save-hook): New function, restores the encoding of
14267 the current message after the message collection is saved.
14269 2009-12-07 Juri Linkov <juri@jurta.org>
14271 * progmodes/grep.el (grep-read-files): Use `completing-read'
14272 instead of `read-string'. Set its `collection' arg to
14273 `read-file-name-internal'. (Bug#4301)
14275 2009-12-07 Juri Linkov <juri@jurta.org>
14277 Correctly restore original Isearch point. (Bug#4994)
14279 * isearch.el (isearch-mode): Move `isearch-push-state' after
14280 `(run-hooks 'isearch-mode-hook)'.
14281 (isearch-cancel): When `isearch-push-state-function' is defined,
14282 let-bind `isearch-cmds' to the first state (the last element of
14283 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14284 function and restores the original point). Otherwise, move point
14285 to `isearch-opoint'.
14287 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14289 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14290 chars that don't have names, so the table can be built much faster at
14293 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14295 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14296 change. Suggested by David Kastrup.
14298 * simple.el (compose-mail): Check for incompatibilities and warn.
14299 (compose-mail-user-agent-warnings): New option.
14301 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14303 Support showing a single log entry from vc-annotate.
14304 * vc.el (print-log): Add a new argument: START-REVISION.
14305 (vc-print-log-internal): Add a new optional argument and
14306 pass it to the backend.
14307 (vc-print-log, vc-print-root-log): Adjust callers.
14308 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14309 buffer already displays the requested log entry, use it.
14310 Otherwise display only the log entry in question.
14311 * vc-svn.el (vc-svn-print-log):
14312 * vc-mtn.el (vc-mtn-print-log):
14313 * vc-hg.el (vc-hg-state):
14314 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14315 (vc-git-show-log-entry): Return t on success.
14316 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14317 (vc-bzr-show-log-entry): Return t on success.
14318 * vc-rcs.el (vc-rcs-print-log):
14319 * vc-sccs.el (vc-sccs-print-log):
14320 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14322 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14324 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14325 Add menus to the meta mode. (Bug#5043)
14327 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14329 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14332 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14334 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14336 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14337 Berbain <raphael.berbain@gmail.com>.
14339 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14341 (tramp-initial-end-of-output): New defconst.
14342 (tramp-methods, tramp-find-shell)
14343 (tramp-open-connection-setup-interactive-shell)
14344 (tramp-maybe-open-connection): Use it.
14345 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14346 Handle existence of `#' and `$'.
14348 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14349 Use `tramp-initial-end-of-output'.
14351 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14353 Get the background mode from the terminal for xterm, and set
14355 * term/xterm.el (xterm-set-background-mode): New function.
14356 (terminal-init-xterm): Use it in case xterm supports background
14357 color queries. Recompute faces after getting the background
14360 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14362 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14363 number comment back on its own line, for easier parsing.
14365 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14367 Make it work for non-file buffers (bug#5102).
14368 * doc-view.el (doc-view-current-cache-dir):
14369 Use doc-view-buffer-file-name rather than buffer-file-name.
14370 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14372 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14374 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14375 author field is too short.
14377 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14379 * vc-git.el (vc-git-print-log): Handle a limit argument.
14380 Display the short log in graph form and with labels.
14381 (vc-git-log-view-mode): Handle labels.
14383 Make vc-revert change VC state from 'added to 'unregistered.
14384 * vc-git.el (vc-git-revert): Call git reset first.
14386 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14388 * net/newst-backend.el, net/newst-plainview.el:
14389 * net/newst-reader.el, net/newst-ticker.el:
14390 * net/newst-treeview.el, net/newsticker.el:
14391 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14393 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14395 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14397 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14398 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14399 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14400 Update annotation regexp.
14402 * simple.el (beginning-of-visual-line): Constrain to field
14403 boundaries (Bug#5106).
14405 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14407 * xml.el (xml-substitute-numeric-entities):
14408 Move newsticker--decode-numeric-entities in newst-backend.el to
14409 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14410 * net/newst-backend.el (newsticker--parse-generic-feed)
14411 (newsticker--parse-generic-items)
14412 (newsticker--decode-numeric-entities):
14413 Move newsticker--decode-numeric-entities in newst-backend.el to
14414 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14416 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14418 * progmodes/js.el (js--js-not): Add null to the list of values.
14420 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14422 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14424 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14426 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14427 delimiter if it is at the end of the current line.
14428 (bibtex-generate-url-list): Fix docstring.
14430 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14432 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14433 minibuffer's content with itself.
14434 Fold the confirm-after-completion case into the `confirm' case.
14435 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14437 2009-12-06 Kevin Ryde <user42@zip.com.au>
14439 * ffap.el (ffap-rfc-path): Make this a defcustom since
14440 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14442 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14443 manuals, similar to existing setup for help-mode. (Bug#3913.)
14445 2009-12-05 Juri Linkov <juri@jurta.org>
14447 Save and restore dired buffer's point positions too. (Bug#4880)
14449 * dired.el (dired-save-positions): Return in the first element
14450 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14452 (dired-restore-positions): First restore buffer's position.
14453 While restoring window's positions, check if window still displays
14454 the original buffer.
14456 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14458 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14461 * shell.el (shell): Require ansi-color (Bug#5113).
14463 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14465 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14467 2009-12-05 Alan Mackenzie <acm@muc.de>
14469 * progmodes/cc-mode.el (c-before-hack-hook)
14470 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14471 `c-file-style' to work again. This reversion restores the current
14472 software to its state in Emacs 23.1. (Bug#4146)
14474 2009-12-05 Kevin Ryde <user42@zip.com.au>
14476 * textmodes/sgml-mode.el (sgml-lexical-context):
14477 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14479 2009-12-05 Juri Linkov <juri@jurta.org>
14481 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14482 for virtual nodes. (Bug#4147)
14483 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14484 when moving from a virtual node.
14485 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14486 (Info-mode): Add `Info-virtual-index' to the docstring.
14488 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14490 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14491 track of the buffer position of the end of a BibTeX entry as this
14492 position may change during reformatting.
14493 (bibtex-format-entry): Remove whitespace before processing
14494 numerical fields so that we recognize the latter properly.
14495 (bibtex-reformat): Do not use push which changes the global value
14496 of bibtex-entry-format.
14497 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14498 (bibtex-field-re-init): Replace only space characters by regexp
14500 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14501 (bibtex-initialize): Also update bibtex-strings.
14502 (bibtex-kill-field): Preserve white space at end of entry.
14503 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14504 Update bibtex-reference-keys.
14506 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14508 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14509 point after a star, if that's the only place where modifications can
14512 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14514 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14517 2009-12-04 Juri Linkov <juri@jurta.org>
14519 * proced.el (proced): Call `(proced-update t)' to update process
14520 information instead of only running proced-post-display-hook.
14521 (proced-send-signal): Add a leading space to the buffer name
14522 " *Marked Processes*" to make this buffer ephemeral.
14524 2009-12-04 Juri Linkov <juri@jurta.org>
14526 * dired.el (dired-auto-revert-buffer): New defcustom.
14527 (dired-internal-noselect): Use it.
14529 2009-12-04 Juri Linkov <juri@jurta.org>
14531 Change roles of modes and functions in image-mode.el (Bug#5062).
14533 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14534 in `auto-mode-alist'.
14535 (image-mode-previous-major-mode): New variable.
14536 (image-minor-mode-map): Rename from `image-mode-text-map'.
14537 (image-mode): Move graceful error-handling code from
14538 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14539 (image-minor-mode): Remove all image-handling code.
14540 Replace `image-mode-text-map' with `image-minor-mode-map'.
14541 Check for `image-type' in mode-line format string.
14542 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14543 (image-mode-as-text): New function with most code from
14544 `image-mode-maybe'.
14545 (image-toggle-display-text): Move code that removes image
14546 properties from `image-toggle-display' to here.
14547 (image-toggle-display-image): New function with code that adds
14548 image properties copied from `image-toggle-display'.
14549 (image-toggle-display): Remove most code with leaving only code
14550 that toggles between `image-mode-as-text' and `image-mode'.
14552 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14554 * net/newst-treeview.el
14555 (newsticker--treeview-list-highlight-start): Restored call to
14556 save-excursion: Selected item was stuck.
14557 (newsticker--treeview-list-select): New.
14558 (newsticker--treeview-item-show-text)
14559 (newsticker--treeview-item-show)
14560 (newsticker--treeview-item-update): Use new
14561 newsticker-treeview-item-mode.
14562 (newsticker-treeview-update): Keep current item.
14563 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14564 (newsticker--treeview-first-feed): Doc change.
14565 (newsticker-treeview-list-menu)
14566 (newsticker-treeview-item-menu): Add menu entries.
14567 (newsticker-treeview-item-mode): New.
14569 * net/newst-backend.el (newsticker-customize): Delete other
14572 2009-12-04 Sam Steingold <sds@gnu.org>
14574 * log-view.el (log-view-mode-map): "q" calls quit-window,
14575 like in all the other non-self-insert buffers.
14577 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14580 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14581 key decoding rather than do it manually via last-input-event +
14583 (term-exec): Use delete-and-extract-region.
14584 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14585 (term-process-pager): Remove unused var `i'.
14586 (term-dynamic-simple-complete): Make obsolete.
14587 (serial-update-config-menu): Remove unused vars `y' and `str'.
14588 (term-update-mode-line): Remove unused var `temp'.
14590 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14592 Limit the number of log entries displayed by default.
14593 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14594 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14595 using a prefix argument.
14597 2009-12-03 Glenn Morris <rgm@gnu.org>
14599 * progmodes/idlwave.el (class): Restore still useful declaration.
14601 2009-12-03 Alan Mackenzie <acm@muc.de>
14603 Enhance `c-parse-state' to run efficiently in "brace deserts".
14605 * progmodes/cc-mode.el (c-basic-common-init):
14606 Call c-state-cache-init.
14607 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14608 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14609 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14611 * progmodes/cc-langs.el (c-before-font-lock-function):
14612 c-extend-and-neutralize-syntax-in-CPP has been renamed
14613 c-neutralize-syntax-in-and-mark-CPP.
14615 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14616 with `category' properties now, not `syntax-table' ones.
14618 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14619 enhanced (but slower) version of c-end-of-macro that won't land
14620 inside a literal or on another awkward character.
14621 (c-state-cache-too-far, c-state-cache-start)
14622 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14623 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14624 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14625 (c-state-min-scan-pos, c-state-brace-pair-desert)
14626 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14627 buffer local variables.
14628 (c-state-literal-at, c-state-lit-beg)
14629 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14630 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14631 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14632 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14633 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14634 (c-renarrow-state-cache)
14635 (c-append-lower-brace-pair-to-state-cache)
14636 (c-state-push-any-brace-pair, c-append-to-state-cache)
14637 (c-remove-stale-state-cache)
14638 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14639 (c-invalidate-state-cache-1, c-parse-state-1)
14640 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14641 (c-parse-state): Enhance and refactor.
14642 (c-debug-parse-state): Amend to deal with all the new variables.
14644 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14645 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14646 modify to use category text properties rather than syntax-table ones.
14647 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14648 to switch off/on the syntactic paren property of C++ template
14649 delimiters using the category property.
14650 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14651 template delims suppressed.
14652 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14653 New constant/macros which apply category properties to the start
14654 and end of preprocessor constructs.
14655 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14656 "comment out" the syntactic value of characters in preprocessor
14658 (c-with-cpps-commented-out)
14659 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14660 with characters in all or all but one preprocessor constructs
14663 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14665 * proced.el (proced-filter-alist): Use regexp-quote.
14667 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14670 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14671 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14672 arguments. Expand `default-directory'.
14674 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14675 the benefit of returning an expanded localname.
14676 (tramp-tramp-file-p): Handle the case NAME is not a string.
14678 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14680 Add support for bzr shelve/unshelve.
14681 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14682 (vc-bzr-extra-menu-map): New variables.
14683 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14684 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14685 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14686 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14687 (vc-bzr-dir-extra-headers): Display shelves.
14689 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14691 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14693 * textmodes/bibtex.el (bibtex-complete-internal):
14694 Use completion-in-region.
14695 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14697 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14699 Support applying stashes. Improve UI.
14700 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14701 (vc-git-stash-apply, vc-git-stash-pop)
14702 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14703 (vc-git-stash-menu): New functions.
14704 (vc-git-stash-menu-map): New variable.
14705 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14707 2009-12-03 Glenn Morris <rgm@gnu.org>
14709 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14710 (vc-print-log-internal): Fix previous change.
14711 (vc-revert): Correct pluralization.
14713 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14715 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14716 it to be an alist any more.
14717 (makefile-complete): Use completion-in-region.
14719 * progmodes/octave-mod.el (octave-complete-symbol):
14720 Use completion-in-region.
14723 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14724 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14725 (idlwave-complete-class): Don't quote lambda.
14726 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14727 (idlwave-mode-map): Move initialization into declaration.
14728 (idlwave-action-and-binding): Use backquotes.
14729 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14731 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14732 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14733 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14734 `parts', and `all-parts'.
14735 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14736 (idlwave-convert-xml-system-routine-info): Remove unused string
14738 (idlwave-display-user-catalog-widget): Use dolist.
14739 (idlwave-scanning-lib): Declare dynamically-scoped var.
14740 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14741 (completion-highlight-first-word-only): Declare to silence bytecomp.
14742 (idlwave-popup-select): Tighten scope of `resp'.
14743 (idlwave-find-struct-tag): Remove unused var `beg'.
14744 (idlwave-after-load-rinfo-hook): Declare.
14745 (idlwave-sintern-class-info): Remove unused var `taglist'.
14746 (idlwave-find-class-definition): Remove unused var `list'.
14747 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14748 (idlwave-what-module-find-class): Remove unused var `classes'.
14750 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14752 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14754 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14756 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14757 buffers visited. Remove redundant current-buffer-saving.
14759 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14761 Use completion-in-buffer and remove uses of dynamic scoping.
14762 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14763 (pascal-buffer-to-use, pascal-flag): Don't declare.
14764 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14765 (pascal-get-completion-decl, pascal-keyword-completion):
14766 Add `pascal-str' argument, save-excursion,
14767 return the found completions, and don't filter with pascal-pred.
14768 (pascal-completion-cache): New var.
14769 (pascal-completion): Don't switch buffer any more (it was never
14770 necessary). Don't save-excursion any more (it's done by the called
14771 subroutines). Use a cache to avoid redundant computations.
14772 Use complete-with-action rather than pascal-completion-response and
14773 let it apply the predicate as well.
14774 (pascal-complete-word): Use completion-in-buffer when
14775 pascal-toggle-completions is nil.
14776 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14778 (pascal-comp-defun): Don't change buffer any more.
14779 Use complete-with-action rather than pascal-completion-response and
14780 let it apply the predicate as well.
14781 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14784 2009-12-02 Kenichi Handa <handa@m17n.org>
14786 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14787 shape for all Indic scripts.
14789 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14791 Use completion-in-buffer.
14792 * wid-edit.el (widget-field-text-end): New function.
14793 (widget-field-value-get): Use it.
14794 (widget-string-complete, widget-file-complete)
14795 (widget-color-complete): Use it and completion-in-region.
14796 (widget-complete): Don't narrow the buffer.
14798 2009-12-02 Glenn Morris <rgm@gnu.org>
14800 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14801 (rmail-select-summary): Use rmail-pop-to-buffer.
14802 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14803 rmail-pop-to-buffer, to prevent horizontal splits.
14805 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14806 save-excursion with save-current-buffer.
14807 Widen before searching. (Bug#5093)
14808 (diary-list-sexp-entries): Remove superfluous save-excursion.
14810 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14812 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14815 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14817 * ido.el (ido-file-internal): Handle filenames at point that do
14818 not have a directory part. (Bug#5049)
14820 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14822 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14823 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14825 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14827 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14828 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14831 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14833 * comint.el (comint-insert-input): Ignore clicks to the right of
14834 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14836 * vc.el (vc-print-log-internal): Don't wait for the process to
14837 terminate before setting up the major mode.
14839 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14842 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14845 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14847 2009-12-01 Glenn Morris <rgm@gnu.org>
14849 * window.el (window--display-buffer-2): Fix previous changes.
14851 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14853 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14855 2009-12-01 Glenn Morris <rgm@gnu.org>
14857 * Makefile.in (ELCFILES): Add mpc.elc.
14859 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14861 * mpc.el: New file.
14863 2009-12-01 Glenn Morris <rgm@gnu.org>
14865 * window.el (window-to-use): Define for compiler.
14867 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14868 consistent with others (no final period).
14870 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14871 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14873 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14875 Make vc-print-log buttons work.
14876 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14878 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14880 * savehist.el (savehist-autosave-interval): Allow setting to nil
14881 through customize. (Bug#5056)
14883 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14885 Fix references to jit-lock properties.
14886 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14887 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14888 (perl-font-lock-special-syntactic-constructs):
14889 Quote jit-lock-defer-multiline property.
14891 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14893 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14895 2009-11-30 Juri Linkov <juri@jurta.org>
14897 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14898 value `buffer' of `multi-isearch-next-buffer-current-function'.
14899 Use `(current-buffer)' when `buffer' is nil.
14900 (multi-isearch-next-buffer-from-list): Don't fallback to
14901 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14903 2009-11-30 Juri Linkov <juri@jurta.org>
14905 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14906 of buffers with `get-buffer' to `multi-isearch-buffers'.
14907 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14908 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14909 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14910 FILES with `expand-file-name' converting relative file names
14911 to absolute. Doc fix. (Bug#4727)
14913 2009-11-30 Juri Linkov <juri@jurta.org>
14915 * misearch.el (multi-isearch-read-buffers)
14916 (multi-isearch-read-matching-buffers): New functions.
14917 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14918 Use them in the `interactive' spec. Doc fix.
14919 (multi-isearch-read-files, multi-isearch-read-matching-files):
14921 (multi-isearch-files, multi-isearch-files-regexp):
14922 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14924 2009-11-30 Juri Linkov <juri@jurta.org>
14926 * doc-view.el (doc-view-continuous):
14927 Rename from `doc-view-continuous-mode'.
14928 (doc-view-menu): Move "Toggle display" to the top.
14929 Add submenu "Continuous" with radio buttons "Off"/"On"
14930 and "Save as Default".
14931 (doc-view-scroll-up-or-next-page)
14932 (doc-view-scroll-down-or-previous-page)
14933 (doc-view-next-line-or-next-page)
14934 (doc-view-previous-line-or-previous-page):
14935 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14937 2009-11-30 Juri Linkov <juri@jurta.org>
14939 * comint.el (comint-mode-map): Rebind `M-r' from
14940 `comint-previous-matching-input' to
14941 `comint-history-isearch-backward-regexp'.
14942 Unbind `M-s' to allow global key binding `M-s'.
14943 Add menu items for `comint-history-isearch-backward' and
14944 `comint-history-isearch-backward-regexp'. (Bug#3746)
14946 2009-11-30 Juri Linkov <juri@jurta.org>
14948 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14949 For def=recenter, replace `recenter' with `recenter-top-bottom'
14950 that is called with `this-command' and `last-command' let-bound
14951 to `recenter-top-bottom'. When the last `def' was not `recenter',
14952 set `recenter-last-op' to nil. (Bug#4981)
14954 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14956 Minor cleanup and simplification.
14957 * filecache.el (file-cache-add-directory)
14958 (file-cache-add-directory-recursively)
14959 (file-cache-add-from-file-cache-buffer)
14960 (file-cache-delete-file-regexp, file-cache-delete-directory)
14961 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14962 (file-cache-temp-minibuffer-message): Delete function.
14963 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14965 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14966 Don't signal an error when bumping into EOB in tr, s, or y.
14968 2009-11-29 Juri Linkov <juri@jurta.org>
14970 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14973 * descr-text.el (describe-char-unidata-list): Use lowercase name
14974 for "Unicode name" like in other tags.
14976 2009-11-29 Juri Linkov <juri@jurta.org>
14978 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14979 New compatibility macro.
14980 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14982 2009-11-29 Juri Linkov <juri@jurta.org>
14984 Add defcustom to define the cycling order of `recenter-top-bottom'.
14987 * window.el (recenter-last-op): Doc fix.
14988 (recenter-positions): New defcustom.
14989 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14990 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14992 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14994 Improve integration of Tramp and ange-ftp in eshell.
14996 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14997 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14998 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15000 * eshell/esh-util.el (top): Require also Tramp when compiling.
15001 (eshell-directory-files-and-attributes): Check for FTP remote
15003 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15004 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15005 (eshell-file-attributes): Handle ".". Return `entry'.
15007 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15008 (ange-ftp-directory-files-and-attributes)
15009 (ange-ftp-real-directory-files-and-attributes): New defuns.
15011 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15012 shell with "exec" when possible. This prevents trailing prompts
15013 in `start-file-process'.
15015 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15017 Try and remove assumptions about point-min==1.
15018 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15019 (rng-compute-mode-line-string): Show the validation percentage in
15020 terms of the narrowed text, not the widened text.
15021 (rng-do-some-validation): Don't catch internal errors when debugging.
15022 (rng-first-error): Simplify.
15023 (rng-after-change-function): Remove work around. AFAIK the bug has
15024 been fixed a while ago.
15026 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15027 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15029 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15031 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15032 `cd' doesn't always do it for us (bug#5067).
15034 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15035 on 2009-10-25 as part of some other change (bug#5067).
15037 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15039 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15041 (byte-compile-warnings): Use byte-compile-warning-types.
15042 (byte-compile-save-excursion): Warn about use of set-buffer right
15043 after save-excursion.
15045 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15046 the excursion as well.
15048 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15050 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15051 providing a Tramp related implementation of "su" and "sudo".
15052 (eshell-unix-initialize): Add "su" and "sudo".
15054 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15056 * net/socks.el (socks-send-command): Convert binary request to
15057 unibyte before sending. This fixes mishandling of some port
15058 numbers such as 129.
15060 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15062 * help.el (describe-bindings-internal): Remove `interactive'.
15064 * man.el (Man-completion-table): Trim a terminating "(".
15065 Remove the space between name page a section.
15066 Add the command's description on the `help-echo' property.
15067 Remove `process-connection-type' binding since it's unused by
15069 Provide completion for the "<section> <name>" format as well.
15070 (Man-default-man-entry): Remove spurious var shadowing the argument.
15072 2009-11-26 Kevin Ryde <user42@zip.com.au>
15074 * log-view.el: Add "Keywords: tools", since its other keywords
15075 aren't in finder-known-keywords, and following vc.el.
15077 * sha1.el (sha1-string-external): default-directory "/" in case
15078 otherwise non-existent. process-connection-type pipe for touch of
15079 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15081 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15083 Misc coding convention cleanups.
15084 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15085 hfy-init-kludge-hooks.
15086 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15087 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15088 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15090 (hfy-slant, hfy-weight): Use tables rather than code.
15091 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15092 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15093 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15094 (hfy-face-to-css): Remove `nconc' with single arg.
15095 (hfy-p-to-face-lennart): Use `or'.
15096 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15097 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15098 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15099 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15100 (hfy-force-fontification): Use run-hooks.
15102 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15104 Various minor fixes.
15105 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15106 Javascript belongs in the header, not the body.
15107 (hfy-javascript): Remove.
15108 (hfy-fontify-buffer): Don't insert it any more.
15109 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15110 Fix bug in invis handling when there were no invis props in a chunk.
15112 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15114 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15116 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15118 * finder.el (finder-mode-map): Add a menu.
15120 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15122 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15123 "unsigned" structs.
15125 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15126 fork" statement better.
15128 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15130 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15131 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15132 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15133 Reported by Clay Douglass.
15135 (verilog-auto-inst, verilog-auto-star-safe)
15136 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15137 Fix removing "// Interfaces" when saving .* expansions.
15138 Reported by Pierre-David Pfister.
15140 2009-11-26 Glenn Morris <rgm@gnu.org>
15142 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15145 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15147 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15148 Really use previous revision.
15150 2009-11-25 Kevin Ryde <user42@zip.com.au>
15152 * man.el (Man-completion-table): default-directory "/" in case
15153 doesn't otherwise exist. process-environment COLUMNS=999 so as
15154 not to truncate long names. process-connection-type pipe to avoid
15155 any chance of hitting the pseudo-tty TIOCGWINSZ.
15156 (man): completion-ignore-case t for friendliness and since man
15157 itself is case-insensitive on the command line.
15158 Further to Bug#3717.
15160 * arc-mode.el: Add "Keywords: files", so the details in its
15161 commentary can be reached from finder-by-keyword.
15162 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15163 editing mode, but it's comms related and sgml-mode.el has "comm"
15165 * textmodes/bibtex-style.el: Add "Keywords: tex".
15166 * international/isearch-x.el, international/ja-dic-cnv.el:
15167 * international/ja-dic-utl.el, international/kkc.el:
15168 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15170 2009-11-25 Juri Linkov <juri@jurta.org>
15172 * man.el (Man-completion-table): Modify regexp to include
15173 section names to completion strings. (Bug#3717)
15175 2009-11-25 Juri Linkov <juri@jurta.org>
15177 Search recursively in gzipped files. (Bug#4982)
15179 * progmodes/grep.el (grep-highlight-matches): Add new options
15180 `always' and `auto'. Doc fix.
15181 (grep-process-setup): Check `grep-highlight-matches' for
15182 `auto-detect' to determine the need to compute grep defaults.
15183 Move Windows/DOS specific --colors settings handling
15184 to `grep-compute-defaults'. Check `grep-highlight-matches'
15185 to get the value of "--color=".
15186 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15187 has the value `auto-detect'. Move Windows/DOS specific settings
15188 from `grep-process-setup'.
15189 (zrgrep): New command with alias `rzgrep'.
15191 2009-11-25 Juri Linkov <juri@jurta.org>
15193 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15194 to nil instead of switching off view-mode. (Bug#4896)
15196 2009-11-25 Juri Linkov <juri@jurta.org>
15198 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15200 * mwheel.el (mwheel-scroll-up-function)
15201 (mwheel-scroll-down-function): New defvars.
15202 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15203 `scroll-up', and `mwheel-scroll-down-function' instead of
15206 * doc-view.el (doc-view-scroll-up-or-next-page)
15207 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15208 Use this ARG in the call to image-scroll-up/image-scroll-down.
15209 Change `interactive' spec to "P". Goto next/previous page only
15210 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15211 SPC/DEL case). Doc fix.
15212 (doc-view-next-line-or-next-page)
15213 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15215 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15216 `doc-view-scroll-up-or-next-page', and buffer-local
15217 `mwheel-scroll-down-function' to
15218 `doc-view-scroll-down-or-previous-page'.
15220 2009-11-25 Juri Linkov <juri@jurta.org>
15222 Provide additional default values (directories at other Dired
15223 windows) via M-n in the minibuffer of some Dired commands.
15225 * dired-aux.el (dired-diff, dired-compare-directories)
15226 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15227 `minibuffer-default' in `minibuffer-with-setup-hook'.
15228 (dired-dwim-target-directory): Find a window that displays Dired
15229 buffer instead of failing when the next window is not Dired.
15230 Use `get-window-with-predicate' to find for the next Dired window.
15231 (dired-dwim-target-defaults): New function.
15233 * ediff-util.el (ediff-read-file-name):
15234 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15235 in `minibuffer-with-setup-hook'.
15237 2009-11-25 Juri Linkov <juri@jurta.org>
15239 Provide additional default values (file name at point or at the
15240 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15242 * minibuffer.el (read-file-name-defaults): New function.
15243 (read-file-name): Reset `minibuffer-default' to nil when
15244 it duplicates initial input `insdef'.
15245 Bind `minibuffer-default-add-function' to lambda that
15246 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15247 (minibuffer-insert-file-name-at-point): New command.
15249 * files.el (file-name-at-point-functions): New defcustom.
15250 (find-file-default): Remove defvar.
15251 (find-file-read-args): Don't use `find-file-default'.
15252 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15253 to `read-file-name'.
15254 (find-file-literally): Use `read-file-name' with
15255 `confirm-nonexistent-file-or-buffer'.
15257 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15259 * dired.el (dired-read-dir-and-switches):
15260 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15261 to `read-file-name'.
15262 (dired-file-name-at-point): New function.
15263 (dired-mode): Add hook `dired-file-name-at-point' to
15264 `file-name-at-point-functions'.
15266 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15268 Really make the *Completions* window soft-dedicated (bug#5030).
15269 * window.el (window--display-buffer-2): Add `dedicated' argument.
15270 (display-buffer): Pass it when needed so the dedicated flag is set
15271 after calling set-window-buffer, which would otherwise reset it.
15273 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15275 * progmodes/meta-mode.el (meta-complete-symbol):
15276 * progmodes/etags.el (complete-tag):
15277 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15278 Use completion-in-region.
15280 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15281 (dabbrev-completion): Use completion-in-region.
15282 (dabbrev--abbrev-at-point): Simplify regexp.
15284 * abbrev.el (abbrev--before-point): Use word-motion functions
15285 if :regexp is not specified (bug#5031).
15287 * subr.el (string-prefix-p): New function.
15289 * man.el (Man-completion-cache): New var.
15290 (Man-completion-table): Use it.
15292 * vc.el (vc-print-log-internal): Make `limit' optional for better
15293 compatibility (e.g. with vc-annotate.el).
15295 2009-11-24 Kevin Ryde <user42@zip.com.au>
15297 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15298 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15300 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15301 when .el source file not found or other error.
15303 2009-11-24 Markus Triska <markus.triska@gmx.at>
15305 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15307 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15309 Handle the [back] button properly (bug#4979).
15310 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15311 Use help-setup-xref, help-buffer, and with-help-window.
15312 (describe-char): Add `buffer' argument.
15313 Pass proper command to help-setup-xref. Don't meddle with
15314 help-xref-stack-item directly.
15315 (describe-text-category): Use with-help-window and help-buffer.
15317 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15318 for the displayed buffer (bug#4887).
15320 * man.el (Man-completion-table): New function.
15323 2009-11-24 David Reitter <david.reitter@gmail.com>
15325 * vc-git.el (vc-git-registered): Use checkout directory (where
15326 .git is) rather than the file's directory and a relative path spec
15327 to work around a bug in git.
15329 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15331 Improve handling of processes on remote hosts.
15333 * eshell/esh-util.el (eshell-path-env): New defvar.
15334 (eshell-parse-colon-path): New defun.
15335 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15337 * eshell/esh-ext.el (eshell-search-path):
15338 Use `eshell-parse-colon-path'.
15339 (eshell-remote-command): Remove argument HANDLER.
15340 (eshell-external-command): Check for FTP remote connection.
15342 * eshell/esh-proc.el (eshell-gather-process-output):
15343 Use `file-truename', in order to start also symlinked files.
15344 Apply `start-file-process' instead of `start-process'.
15345 Shorten `command' to the local file name part.
15347 * eshell/em-cmpl.el (eshell-complete-commands-list):
15348 Use `eshell-parse-colon-path'.
15350 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15352 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15353 to `eshell-directory-change-hook'.
15355 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15357 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15358 because it could be enabled automatically if view-read-only is non-nil.
15360 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15362 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15363 made on 2009-11-22.
15365 2009-11-24 Glenn Morris <rgm@gnu.org>
15367 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15368 deleted variable bookmark-bmenu-bookmark-column.
15370 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15372 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15374 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15376 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15377 two slashes to the "file:" prefix.
15378 (browse-url-file-url): De-munge Cygwin filenames before passing
15379 them to Windows browser.
15380 (browse-url-default-windows-browser): Use call-process.
15382 2009-11-23 Juri Linkov <juri@jurta.org>
15384 Implement DocView Continuous mode. (Bug#4896)
15385 * doc-view.el (doc-view-continuous-mode): New defcustom.
15386 (doc-view-mode-map): Bind C-n/<down> to
15387 `doc-view-next-line-or-next-page', C-p/<up> to
15388 `doc-view-previous-line-or-previous-page'.
15389 (doc-view-next-line-or-next-page)
15390 (doc-view-previous-line-or-previous-page): New commands.
15392 2009-11-23 Juri Linkov <juri@jurta.org>
15394 Implement Isearch in comint input history. (Bug#3746)
15395 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15396 `isearch-mode-hook'.
15397 (comint-history-isearch): New defcustom.
15398 (comint-history-isearch-backward)
15399 (comint-history-isearch-backward-regexp): New commands.
15400 (comint-history-isearch-message-overlay): New buffer-local variable.
15401 (comint-history-isearch-setup, comint-history-isearch-end)
15402 (comint-goto-input, comint-history-isearch-search)
15403 (comint-history-isearch-message, comint-history-isearch-wrap)
15404 (comint-history-isearch-push-state)
15405 (comint-history-isearch-pop-state): New functions.
15407 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15409 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15411 (tramp-handle-make-symbolic-link)
15412 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15414 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15415 (tramp-handle-process-file): Use it.
15417 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15419 * window.el (move-to-window-line-last-op): Remove.
15420 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15422 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15424 Make M-r mirror the new cycling behavior of C-l.
15425 * window.el (move-to-window-line-last-op): New var.
15426 (move-to-window-line-top-bottom): New command.
15427 (global-map): Bind M-r move-to-window-line-top-bottom.
15429 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15431 * dired-x.el (dired-guess-shell-alist-default):
15432 Support xz format. (Bug#4953)
15434 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15436 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15437 last-command-char/last-command-event.
15438 (viper-prefix-arg-value): Do correct conversion of event-char for
15441 * emulation/viper-util.el, emulation/viper.el:
15442 Use viper-last-command-char instead of
15443 last-command-char/last-command-event.
15445 * ediff-init.el, ediff-mult.el, ediff-util.el:
15446 Replace last-command-char and last-command-event
15447 with (ediff-last-command-char) everywhere.
15449 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15450 created in fundamental mode.
15452 * ediff.el (ediff-version): Revert the change of interactive-p to
15453 called-interactively-p.
15455 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15457 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15458 generation from word-movement command names.
15460 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15462 * cus-start.el (all): Add native condition for font-use-system-font.
15464 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15466 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15467 Correct the patch from 2009-11-18. (Bug#3910)
15469 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15471 * progmodes/subword.el: Rename from lisp/subword.el.
15473 * subword.el: Rename to progmodes/subword.el.
15475 * Makefile.in (ELCFILES): Adapt to subword.el move.
15477 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15478 Stefan Monnier <monnier@iro.umontreal.ca>
15480 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15481 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15482 (bookmark-bmenu-show-filenames): Use push.
15483 (bookmark-bmenu-hide-filenames): Use local var instead of
15484 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15485 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15486 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15487 filenames now that the bookmark names are always available.
15489 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15491 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15492 (bookmark-search-pattern): Move and leave unbound.
15493 (bookmark-bmenu-mode-map): Change binding.
15494 (bookmark-read-search-input): Simplify.
15495 Don't use text-char-description. Don't error on non-char events.
15496 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15497 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15498 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15499 Use a local var for the timer.
15500 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15501 (i.e. bookmark-bmenu-search).
15503 2009-11-21 Glenn Morris <rgm@gnu.org>
15505 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15507 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15509 * net/browse-url.el (browse-url-default-windows-browser):
15510 Use cygstart for cygwin.
15512 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15514 * bookmark.el: Formatting and doc fixes only:
15515 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15516 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15517 Minor grammar and punctuation fixes in doc string.
15518 (bookmark-read-search-input): Adjust to fit within 80 columns.
15520 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15522 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15523 (c-backward-into-nomenclature): Adapt to subword renaming.
15525 * subword.el (subword-forward, subword-backward, subword-mark)
15526 (subword-kill, subword-backward-kill, subword-transpose)
15527 (subword-downcase, subword-upcase, subword-capitalize)
15528 (subword-forward-internal, subword-backward-internal):
15529 Rename from forward-subword, backward-subword, mark-subword,
15530 kill-subword, backward-kill-subword, transpose-subwords,
15531 downcase-subword, upcase-subword, capitalize-subword,
15532 forward-subword-internal, backward-subword-internal.
15534 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15536 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15538 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15540 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15541 (bookmark-bmenu-filter-alist-by-regexp)
15542 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15543 (bookmark-bmenu-search): New command.
15544 (bookmark-bmenu-mode-map): Bind it.
15546 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15548 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15549 backward-subword to quit the byte-compiler.
15551 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15553 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15555 * progmodes/cc-cmds.el (c-update-modeline)
15556 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15557 Refer to subword.el functions instead of cc-subword.el.
15559 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15560 subword.el functions instead of cc-subword.el.
15562 * progmodes/cc-subword.el: Rename to subword.el.
15563 * subword.el: Rename from progmodes/cc-subword.el.
15564 (subword-mode-map): Rename from c-subword-mode-map.
15565 (subword-mode): Rename from c-subword-mode.
15566 (global-subword-mode): New global minor mode.
15567 (forward-subword): Rename from c-forward-subword.
15568 (backward-subword): Rename from c-backward-subword.
15569 (mark-subword): Rename from c-mark-subword.
15570 (kill-subword): Rename from c-kill-subword.
15571 (backward-kill-subword): Rename from c-backward-kill-subword.
15572 (transpose-subwords): Rename from c-tranpose-subword.
15573 (downcase-subword): Rename from c-downcase-subword.
15574 (capitalize-subword): Rename from c-capitalize-subword.
15575 (forward-subword-internal): Rename from c-forward-subword-internal.
15576 (backward-subword-internal): Rename from c-backward-subword-internal.
15578 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15580 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15581 from a dired buffer.
15582 (vc-dired-deduce-fileset): New function.
15583 (vc-root-diff, vc-print-root-log): Use it.
15585 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15586 nil LIMIT argument to vc-print-log-internal.
15588 2009-11-20 Glenn Morris <rgm@gnu.org>
15590 * Makefile.in (ELCFILES): Regenerate.
15592 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15594 * calc/calc.el (calc-set-mode-line):
15595 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15596 (math-format-number): Rename `math-format-complement-signed' to
15597 `math-format-twos-complement'.
15599 * calc/calc-bin.el (math-format-twos-complement): Rename from
15600 math-format-complement-signed.
15601 (calc-radix): Rename `calc-complement-signed-mode' to
15602 `calc-twos-complement-mode'.
15603 (calc-octal-radix, calc-hex-radix): Add an argument for
15606 * calc/calc-embed.el (calc-embedded-mode-vars):
15607 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15609 * calc/calc-ext.el (calc-init-extensions):
15610 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15611 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15613 * calc/calc-units.el (math-build-units-table-buffer):
15614 Let `calc-twos-complement-mode' be nil.
15616 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15619 * calc/calc-vec.el (calcFunc-vunpack):
15620 * calc/calc-aent.el (calc-do-calc-eval):
15621 * calc/calc-forms.el (math-format-date):
15622 * calc/calc-graph.el (calc-graph-plot):
15623 * calc/calc-math.el (math-use-emacs-fn):
15624 * calc/calccomp.el (math-compose-expr):
15625 Let `calc-twos-complement-mode' be nil.
15627 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15629 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15630 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15631 * minibuffer.el (completion-in-region-functions): New hook.
15632 (completion-in-region): New function.
15633 * emacs-lisp/lisp.el (lisp-complete-symbol):
15634 * pcomplete.el (pcomplete-std-complete): Use it.
15636 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15638 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15639 (latex-complete-alist): New vars.
15640 (latex-string-prefix-p, latex-complete-bibtex-keys)
15641 (latex-complete-envnames, latex-complete-refkeys)
15642 (latex-complete-data): New functions.
15643 (latex-complete, latex-indent-or-complete): New commands.
15645 * window.el (display-buffer-mark-dedicated): New var.
15646 (display-buffer): Obey it.
15647 * minibuffer.el (minibuffer-completion-help): Use it.
15649 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15651 * filecache.el (file-cache-add-file): Use push and cons.
15652 (file-cache-delete-file-regexp): Use push.
15653 (file-cache-complete): Use completion-in-region.
15655 * simple.el (with-wrapper-hook): Fix thinko.
15657 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15658 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15659 Use with-current-buffer and string-to-number.
15660 (hfy-fallback-colour-values): Use assoc-string.
15661 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15662 (hfy-face-at): Remove unused var `found-face'.
15663 (hfy-compile-stylesheet): Remove unused var `css'.
15664 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15666 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15667 Use with-current-buffer.
15668 (hfy-text-p): Use expand-file-name and fewer setq.
15670 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15672 * htmlfontify.el, hfy-cmap.el: New files.
15674 2009-11-19 Juri Linkov <juri@jurta.org>
15676 * minibuffer.el (completions-format): New defcustom.
15677 (completion--insert-strings): Implement vertical format.
15679 * simple.el (switch-to-completions): Move point to the first
15680 completion when point was at the beginning of the buffer.
15682 2009-11-19 Juri Linkov <juri@jurta.org>
15684 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15686 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15688 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15690 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15691 (mail-signature): Change default to t.
15692 (mail-from-style): Deprecate `system-default' value.
15693 (mail-insert-from-field): For default value of mail-from-style,
15694 default to `angles' unless `angles' needs quoting and `parens'
15696 (mail-citation-prefix-regexp): Use citation regexp from
15699 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15701 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15702 Set variables for computing the prompt for reading password.
15704 2009-11-19 Glenn Morris <rgm@gnu.org>
15706 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15708 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15710 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15711 (newsticker-treeview-listwindow-height): Fix custom type.
15713 2009-11-19 Kenichi Handa <handa@m17n.org>
15715 * descr-text.el (describe-char-padded-string): Compose with TAB
15716 only if there's a font for CH.
15717 (describe-char): Fix the condition for detecting a trivial composition.
15719 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15721 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15722 more accurate version of the regexp. (Bug#3910)
15724 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15726 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15728 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15730 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15731 (font-setting-change-default-font): Fix typo in docstring.
15733 2009-11-18 Alan Mackenzie <acm@muc.de>
15735 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15737 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15739 * font-setting.el (font-use-system-font): Move ...
15741 * cus-start.el (all): ... to here.
15743 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15745 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15746 Don't set `ad-return-value' if `ad-do-it' doesn't.
15748 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15751 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15753 * menu-bar.el: Put "Use system font" in Option-menu.
15754 (menu-bar-options-save): Add font-use-system-font.
15756 * loadup.el: If feature system-font-setting or font-render-setting is
15757 there, load font-setting.
15759 * Makefile.in (ELCFILES): Add font-settings.el.
15760 * font-setting.el: New file.
15762 2009-11-17 Glenn Morris <rgm@gnu.org>
15764 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15766 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15767 Preserve point in the list buffer. (Bug#4939)
15769 (newsticker--treeview-list-update-highlight)
15770 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15772 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15774 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15777 * calc/calc-ext.el (calc-init-extensions): Remove references to
15780 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15782 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15783 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15786 2009-11-16 Kevin Ryde <user42@zip.com.au>
15788 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15789 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15791 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15792 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15793 Ignore trailing spaces by omit-nulls to split-string (fixing
15794 regression from Emacs 21 due to the incompatible split-string
15795 change). (Bug #4928.)
15797 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15799 * vc.el (vc-log-show-limit): Default to 2000.
15800 (vc-print-log-internal): Insert buttons to request more entries
15801 when limiting the output.
15803 * vc-sccs.el (vc-sccs-print-log):
15804 * vc-rcs.el (vc-rcs-print-log):
15805 * vc-cvs.el (vc-cvs-print-log):
15806 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15809 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15811 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15812 error when `tramp-gvfs-dbus-event-vector' is set.
15813 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15815 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15817 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15819 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15821 * net/dbus.el (dbus-unregister-service): New defun.
15822 (dbus-register-property): Register the handlers of
15823 "org.freedesktop.DBus.Properties" for SERVICE.
15824 (dbus-property-handler): Fix docstring.
15826 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15828 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15829 Quote doc string reference in defvaralias as it is not in special form.
15830 (byte-compile-output-docform): Doc fix.
15832 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15834 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15835 (calc-complement-signed-mode): New variables.
15836 (calc-set-mode-line): Add indicator for twos-complements.
15837 (math-format-number): Format twos-complement notation.
15839 * calc/calc-bin.el (calc-word-size): Reset the variables
15840 `math-2-word-size' and `math-half-2-word-size'.
15841 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15842 (calc-symclip): New functions.
15844 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15846 * calc/calc-embed.el (calc-embedded-mode-vars):
15847 Add `calc-complement-signed-mode' to the list of modes.
15849 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15850 (calc-b-oper-keys): Add `calc-symclip' to list.
15852 * calc/calc-ext.el (math-read-number-fancy): Read complement
15854 (calc-init-extensions): Add binding for `calc-symclip'.
15855 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15857 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15859 (calc-modes-menu): Add item for twos complement mode.
15861 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15863 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15865 * register.el (jump-to-register, insert-register): Handle Semantic
15866 tags. From commented-out advice in semantic/senator.el.
15868 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15870 * vc.el (vc-log-show-limit): New variable.
15871 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15872 when using a prefix argument.
15873 (vc-print-log-internal): Add new argument LIMIT.
15875 * vc-svn.el (vc-svn-print-log):
15876 * vc-mtn.el (vc-mtn-print-log):
15877 * vc-hg.el (vc-hg-print-log):
15878 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15879 pass it to the log command when set. Make the BUFFER argument
15882 * vc-sccs.el (vc-sccs-print-log):
15883 * vc-rcs.el (vc-rcs-print-log):
15884 * vc-git.el (vc-git-print-log):
15885 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15886 ignore it. Make the BUFFER argument non-optional
15888 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15890 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15892 * dired.el (dired-mode-map): Move encryption items to "Operate"
15895 * strokes.el (strokes-update-window-configuration): Make strokes
15896 buffer current before erasing (Bug#4906).
15898 2009-11-15 Juri Linkov <juri@jurta.org>
15900 * simple.el (set-mark-default-inactive): Add :type, :group
15901 and :version. (Bug#4876)
15903 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15905 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15906 (archive-unique-fname): ... here. (Bug#4929)
15908 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15910 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15913 * novice.el (disabled-command-function): Add useful args.
15914 Setup the help buffer so that [back] works.
15915 Remove redundant call to help-mode.
15916 (disabled-command-function): Use `case'.
15917 (en/disable-command): New function extracted from enable-command.
15918 (enable-command, disable-command): Use it.
15920 2009-11-14 Glenn Morris <rgm@gnu.org>
15922 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15923 constants. (Bug#4913)
15925 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15927 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15929 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15930 defined in C that have no doc-strings. (Bug#1063)
15932 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15934 * cus-edit.el (data, files):
15935 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15937 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15939 * simple.el (shell-command): Doc fix (Bug#4891).
15941 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15943 2009-11-14 Glenn Morris <rgm@gnu.org>
15945 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15946 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15947 If they are already loaded, eval-after-load will do the right thing.
15949 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15952 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15954 * simple.el (x-selection-owner-p): Declare.
15955 (read-mail-command): Use custom radio type rather than choice.
15956 (completion-no-auto-exit): Doc fix.
15958 * custom.el (defgroup):
15959 * epg-config.el (epg): Doc fixes.
15961 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15963 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15964 * international/ccl.el (define-ccl-program): Do not purecopy the
15965 docstring, defconst does it anyway.
15967 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15969 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15972 * x-dnd.el (x-dnd-maybe-call-test-function):
15973 * window.el (split-window-vertically):
15974 * whitespace.el (whitespace-help-on):
15975 * vc-rcs.el (vc-rcs-consult-headers):
15976 * userlock.el (ask-user-about-lock-help)
15977 (ask-user-about-supersession-help):
15978 * type-break.el (type-break-force-mode-line-update):
15979 * time-stamp.el (time-stamp-conv-warn):
15980 * terminal.el (te-set-output-log, te-more-break, te-filter)
15981 (te-sentinel, terminal-emulator):
15982 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15983 (term-write-input-ring, term-check-source, term-start-output-log):
15984 (term-display-buffer-line, term-dynamic-list-completions):
15985 (term-ansi-make-term, serial-term):
15986 * subr.el (selective-display):
15987 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15988 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15989 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15990 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15991 (speedbar-remove-localized-speedbar-support)
15992 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15993 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15994 (speedbar-buffers-line-directory):
15995 * simple.el (shell-command-on-region, append-to-buffer)
15996 (prepend-to-buffer):
15997 * shadowfile.el (shadow-save-todo-file):
15998 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15999 (scroll-bar-maybe-set-window-start):
16000 * sb-image.el (speedbar-image-dump):
16001 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16002 (load-save-place-alist-from-file):
16003 * ps-samp.el (ps-print-message-from-summary):
16004 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16005 (ps-background-image, ps-begin-job, ps-do-despool):
16006 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16007 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16008 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16009 (pr-call-process, pr-file-list, pr-interface-save):
16010 * novice.el (disabled-command-function)
16011 (enable-command, disable-command):
16012 * mouse.el (mouse-buffer-menu-alist):
16013 * mouse-copy.el (mouse-kill-preserving-secondary):
16014 * macros.el (kbd-macro-query):
16015 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16016 * informat.el (batch-info-validate):
16017 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16018 * hippie-exp.el (try-expand-dabbrev-visible):
16019 * help-mode.el (help-make-xrefs):
16020 * help-fns.el (describe-variable):
16021 * generic-x.el (bat-generic-mode-run-as-comint):
16022 * finder.el (finder-mouse-select):
16023 * find-dired.el (find-dired-sentinel):
16024 * filesets.el (filesets-file-close):
16025 * files.el (list-directory):
16026 * faces.el (list-faces-display, describe-face):
16027 * facemenu.el (list-colors-display):
16028 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16029 * epg.el (epg--process-filter, epg-cancel):
16030 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16031 (epa--read-signature-type):
16032 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16033 (emerge-file-names):
16034 * ehelp.el (electric-helpify):
16035 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16036 * ediff-vers.el (rcs-ediff-view-revision):
16037 * ediff-util.el (ediff-setup):
16038 * ediff-mult.el (ediff-append-custom-diff):
16039 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16041 * echistory.el (Electric-command-history-redo-expression):
16042 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16043 * disp-table.el (describe-display-table):
16044 * dired.el (dired-find-buffer-nocreate):
16045 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16046 * dabbrev.el (dabbrev--same-major-mode-p):
16047 * chistory.el (list-command-history):
16048 * apropos.el (apropos-documentation):
16049 * allout.el (allout-obtain-passphrase):
16050 (allout-copy-exposed-to-buffer):
16051 (allout-verify-passphrase): Use with-current-buffer.
16053 2009-11-13 Glenn Morris <rgm@gnu.org>
16055 * Makefile.in (ELCFILES): Regenerate.
16057 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16059 * net/dbus.el (dbus-registered-objects-table): Rename from
16060 `dbus-registered-functions-table', because it contains also properties.
16061 (dbus-unregister-object): Unregister also properties.
16062 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16063 Use a timeout of 500 msec, in order to not block.
16064 (dbus-register-property, dbus-property-handler): New defuns.
16066 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16068 * simple.el (minibuffer-default-add-completions): Drop deprecated
16071 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16073 * textmodes/artist.el (artist-mouse-choose-operation):
16074 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16075 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16076 (artist-compute-up-event-key): New function.
16077 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16079 2009-11-13 Kenichi Handa <handa@m17n.org>
16081 * language/japan-util.el: Make sure that the value of jisx0208
16082 property is jisx0208 character.
16084 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16086 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16087 car or each item, not the whole list.
16089 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16091 * minibuffer.el (minibuffer-completion-help):
16092 Use minibuffer-hide-completions.
16094 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16096 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16097 (dired-revert): Use them (bug#4880).
16099 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16101 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16103 2009-11-12 Juri Linkov <juri@jurta.org>
16105 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16107 (find-file-literally-at-point): Alias of `ffap-literally'.
16109 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16111 * textmodes/ispell.el (ispell-skip-region-alist):
16112 * textmodes/css-mode.el (auto-mode-alist):
16113 * progmodes/compile.el (auto-mode-alist):
16114 * international/mule.el (ctext-non-standard-encodings-alist)
16115 (ctext-non-standard-encodings-regexp):
16116 * simple.el (shell-command-switch, text-read-only):
16117 * replace.el (occur-mode-map):
16118 * paths.el (rmail-file-name):
16119 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16120 * find-file.el (ff-special-constructs):
16121 * files.el (file-name-handler-alist):
16122 * composite.el: Purecopy strings.
16124 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16126 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16128 * widget.el (define-widget): Purecopy the docstring.
16129 * international/mule-cmds.el (charset): Do not purecopy the
16130 docstring here, define-widget does it.
16132 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16133 * textmodes/bibtex-style.el (auto-mode-alist):
16134 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16135 * progmodes/compile.el (compile-command):
16136 * language/korea-util.el (default-korean-keyboard):
16137 * international/mule-conf.el (file-coding-system-alist):
16138 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16139 * tooltip.el (tooltip-frame-parameters):
16140 * newcomment.el (comment-end, comment-padding):
16141 * dired.el (dired-trivial-filenames):
16142 * comint.el (comint-file-name-prefix): Purecopy initial values.
16144 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16146 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16147 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16149 (tramp-advice-make-auto-save-file-name)
16150 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16151 after removing the advice.
16153 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16155 * progmodes/grep.el (grep-regexp-alist):
16156 * international/mule-cmds.el (iso-2022-control-alist):
16157 * emacs-lisp/timer.el (timer-duration-words):
16158 * subr.el (version-separator, version-regexp-alist):
16159 * minibuffer.el (completion-styles-alist):
16160 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16161 Change defvars to defconsts.
16163 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16164 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16165 * international/mule-conf.el: Allow to be byte compiled.
16167 * international/mule.el (define-charset): Purecopy props.
16168 (load-with-code-conversion): Purecopy doc string and file name.
16169 (put-charset-property): Purecopy strings.
16170 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16172 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16173 (define-char-code-property): Correctly purecopy the table.
16175 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16177 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16179 * subr.el (add-hook): Purecopy strings.
16180 (eval-after-load): Purecopy load-history-regexp and the form.
16182 * custom.el (custom-declare-group): Purecopy load-file-name.
16184 * subr.el (menu-bar-separator): New defconst.
16185 * net/eudc.el (eudc-tools-menu):
16186 * international/mule-cmds.el (set-coding-system-map)
16187 (mule-menu-keymap):
16188 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16189 * vc-hooks.el (vc-menu-map):
16190 * replace.el (occur-mode-map):
16191 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16192 (menu-bar-edit-menu, menu-bar-goto-menu)
16193 (menu-bar-custom-menu, menu-bar-showhide-menu)
16194 (menu-bar-options-menu, menu-bar-tools-menu)
16195 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16196 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16197 (menu-bar-help-menu):
16198 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16199 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16201 * term/x-win.el (x-gtk-stock-map):
16202 * progmodes/vera-mode.el (auto-mode-alist):
16203 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16204 (inferior-lisp-program, inferior-lisp-load-command):
16205 * progmodes/hideshow.el (hs-special-modes-alist):
16206 * progmodes/gud.el (same-window-regexps):
16207 * progmodes/grep.el (grep-program, find-program, xargs-program):
16208 * net/telnet.el (same-window-regexps):
16209 * net/rlogin.el (same-window-regexps):
16210 * language/ethiopic.el (font-ccl-encoder-alist):
16211 * vc-sccs.el (vc-sccs-master-templates):
16212 * vc-rcs.el (vc-rcs-master-templates):
16213 * subr.el (cl-assertion-failed):
16214 * simple.el (next-error-overlay-arrow-position):
16215 * lpr.el (lpr-command):
16216 * locate.el (locate-ls-subdir-switches):
16217 * info.el (same-window-regexps, info)
16218 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16219 * image-mode.el (image-mode, auto-mode-alist):
16220 * hippie-exp.el (hippie-expand-ignore-buffers):
16221 * format.el (format-alist):
16222 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16224 * facemenu.el (facemenu-keybindings):
16225 * dired.el (dired-listing-switches, dired-chown-program):
16226 * diff.el (diff-switches, diff-command):
16227 * cus-edit.el (same-window-regexps):
16228 * bindings.el (mode-line-mule-info)
16229 (mode-line-buffer-identification): Purecopy strings.
16231 2009-11-11 Juri Linkov <juri@jurta.org>
16233 * simple.el (dired-get-filename) <declare-function>:
16234 Tell the byte-compiler about dired-get-filename.
16235 (shell-command): In Dired mode, get filename from the current line
16236 as the default value.
16238 2009-11-10 Glenn Morris <rgm@gnu.org>
16240 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16241 * calendar/holidays.el, progmodes/cperl-mode.el:
16242 Update x-popup-menu declarations.
16244 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16245 (list-load-path-shadows): Use dolist.
16246 (list-load-path-shadows): Use with-current-buffer.
16248 2009-11-10 Juri Linkov <juri@jurta.org>
16250 * minibuffer.el (read-file-name): Support a list of default values
16251 in `default-filename'. Use the first file name where only one
16252 element is required. Doc fix.
16254 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16256 * net/dbus.el (dbus-unregister-object): Release service, if no
16257 other method is registered for it.
16259 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16261 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16262 bookmark-sort-flag is non-nil (Bug#4653).
16264 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16266 * emulation/cua-base.el: Add CUA property to some CC mode commands
16269 2009-11-08 Kevin Ryde <user42@zip.com.au>
16271 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16272 at end of sentence (Bug#4818).
16274 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16276 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16277 Handle "see declaration of" MSFT statements (Bug#4100).
16279 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16281 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16282 (tramp-advice-file-expand-wildcards): Unload via
16283 `ad-remove-advice'.
16285 * net/trampver.el: Update release number.
16287 2009-11-08 Kevin Ryde <user42@zip.com.au>
16289 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16292 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16294 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16295 in order to keep context in SELinux.
16297 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16299 * dired-aux.el (dired-query): Place cursor in echo area and allow
16302 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16303 menu item if not on a directory (Bug#4701).
16305 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16307 Sync with Tramp 2.1.17.
16309 * net/tramp.el (tramp-handle-copy-directory): Don't use
16310 `file-remote-p' (due to compatibility).
16312 * net/tramp-compat.el (tramp-compat-copy-directory)
16313 (tramp-compat-delete-directory): New defuns.
16315 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16316 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16317 Use `tramp-compat-delete-directory'.
16319 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16320 (tramp-smb-handle-delete-directory):
16321 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16323 * net/trampver.el: Update release number.
16325 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16327 * tar-mode.el (tar-copy): Call write-region on the right buffer
16330 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16331 by hand, if necessary (Bug#4878).
16333 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16335 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16336 align size column (Bug#4839).
16338 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16341 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16343 * progmodes/ld-script.el (auto-mode-alist):
16344 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16346 * cus-face.el (custom-declare-face): Purecopy face spec.
16348 2009-11-06 Kenichi Handa <handa@m17n.org>
16350 * international/uni-bidi.el: Re-generated.
16351 * international/uni-category.el: Re-generated.
16352 * international/uni-combining.el: Re-generated.
16353 * international/uni-mirrored.el: Re-generated.
16355 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16357 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16358 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16359 (tex-start-options, slitex-run-command, latex-run-command)
16360 (tex-run-command, tex-directory):
16361 * textmodes/ispell.el (ispell-html-skip-alists)
16362 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16363 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16364 (adaptive-fill-regexp):
16365 * textmodes/dns-mode.el (auto-mode-alist):
16366 * progmodes/python.el (interpreter-mode-alist):
16367 * progmodes/etags.el (tags-compression-info-list):
16368 * progmodes/etags.el (tags-file-name):
16369 * net/browse-url.el (browse-url-galeon-program)
16370 (browse-url-firefox-program):
16371 * mail/sendmail.el (mail-signature-file)
16372 (mail-citation-prefix-regexp):
16373 * international/mule-conf.el (eight-bit):
16374 * international/latexenc.el (latex-inputenc-coding-alist):
16375 * international/fontset.el (x-pixel-size-width-font-regexp):
16376 * emacs-lisp/warnings.el (warning-type-format):
16377 * emacs-lisp/trace.el (trace-buffer):
16378 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16379 (emacs-lisp-mode-map):
16380 * calendar/holidays.el (holiday-solar-holidays)
16381 (holiday-bahai-holidays, holiday-islamic-holidays)
16382 (holiday-christian-holidays, holiday-hebrew-holidays)
16383 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16384 (hebrew-holidays-1, holiday-oriental-holidays)
16385 (holiday-general-holidays):
16386 * x-dnd.el (x-dnd-known-types):
16387 * tool-bar.el (tool-bar):
16388 * startup.el (site-run-file):
16389 * shell.el (shell-dumb-shell-regexp):
16390 * rfn-eshadow.el (file-name-shadow-tty-properties)
16391 (file-name-shadow-properties):
16392 * paths.el (remote-shell-program, news-directory):
16393 * mouse.el ([C-down-mouse-3]):
16394 * menu-bar.el (menu-bar-tools-menu):
16395 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16396 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16397 (jka-compr-compression-info-list):
16398 * isearch.el (search-whitespace-regexp):
16399 * image-file.el (image-file-name-extensions):
16400 * find-dired.el (find-ls-option):
16401 * files.el (directory-listing-before-filename-regexp)
16402 (directory-free-space-args, insert-directory-program)
16403 (list-directory-brief-switches, magic-fallback-mode-alist)
16404 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16405 (automount-dir-prefix):
16406 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16407 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16408 (face-font-registry-alternatives, face-font-registry-alternatives)
16409 (face-font-family-alternatives):
16410 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16411 (facemenu-foreground-menu, facemenu-face-menu):
16412 * epa-hook.el (epa-file-name-regexp):
16413 * dnd.el (dnd-protocol-alist):
16414 * textmodes/rst.el (auto-mode-alist):
16415 * button.el (default-button): Purecopy strings.
16417 2009-11-06 Glenn Morris <rgm@gnu.org>
16419 * Makefile.in (ELCFILES): Update.
16421 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16423 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16424 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16426 * nxml/xsd-regexp.el (xsdre-gen-categories):
16427 * nxml/xmltok.el (xmltok-parse-entity):
16428 * nxml/rng-parse.el (rng-parse-validate-file):
16429 * nxml/rng-maint.el (rng-format-manual)
16430 (rng-manual-output-force-new-line):
16431 * nxml/rng-loc.el (rng-save-schema-location-1):
16432 * nxml/rng-cmpct.el (rng-c-parse-file):
16433 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16434 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16436 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16438 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16439 Remove extra save-excursions and make-variable-buffer-local's.
16440 Suggested by Stefan Monnier.
16442 (verilog-getopt-file, verilog-module-inside-filename-p)
16443 (verilog-set-define): Merge GNU 1.35 and repair changes from
16444 switching to using with-current-buffer.
16446 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16447 being treated as a number and confusing AUTORESET.
16448 Reported by Dan Dever.
16450 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16451 Add verilog-auto-ignore-concat to fix backward compatibility with
16452 older verilog-modes. Reported by Dan Katz.
16454 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16455 containing closing anchors "...$".
16457 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16458 Reported by Wade Smith.
16460 (verilog-batch-execute-func): Comment on function usage.
16462 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16464 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16467 (verilog-label-re, verilog-calc-1): Support proper indent of named
16470 (verilog-backward-token, verilog-basic-complete-re)
16471 (verilog-beg-of-statement, verilog-indent-re): Support proper
16472 indent of the assert statement at the beginning of a block of text.
16474 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16475 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16478 2009-11-05 Glenn Morris <rgm@gnu.org>
16480 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16481 Emacs 19. (Bug#1531)
16482 (byte-compile-fix-header): Update for the above change.
16483 Drop test for epoch::version.
16485 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16486 * cus-dep.el (custom-make-dependencies):
16487 * finder.el (finder-compile-keywords):
16488 Use autoload-rubric's feature argument.
16490 * calendar/diary-lib.el (top-level): Make load behave more like require.
16492 * vc-git.el (vc-git-stash-map): Move definition before use.
16494 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16496 * custom.el (custom-declare-group): Purecopy standard-value.
16497 (custom-declare-group): Purecopy custom-prefix.
16499 * international/mule.el (load-with-code-conversion):
16500 Call do-after-load-evaluation unconditionally.
16502 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16504 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16506 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16508 2009-11-04 Glenn Morris <rgm@gnu.org>
16510 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16511 (byte-compile-compatibility): Remove option.
16512 (byte-compile-close-variables, byte-compile-fix-header)
16513 (byte-compile-insert-header, byte-compile-output-docform)
16514 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16515 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16516 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16517 (byte-compile-insert, byte-compile-defun):
16518 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16519 (byte-defop-compiler19): Remove.
16520 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16521 used by anything. Replace all calls with byte-defop-compiler.
16523 2009-11-04 Juri Linkov <juri@jurta.org>
16525 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16526 (menu-bar-options-menu): Don't quote the `prop' arg of
16527 `menu-bar-make-mm-toggle'.
16529 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16531 * calendar/calendar.el (cal-loaddefs):
16532 * calendar/diary-lib.el (diary-loaddefs):
16533 * calendar/holidays.el (hol-loaddefs):
16534 * eshell/esh-module.el (esh-groups): Load rather than require.
16536 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16538 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16540 (todo-top-priorities): Only display-buffer when called interactively.
16541 (todo-item-start): Don't save excursion point.
16542 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16543 (todo-insert-item-here, todo-file-item, todo-remove-item):
16544 Adjust uses of todo-item-start and todo-item-end.
16546 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16547 (autoload-rubric): Don't use any more.
16549 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16550 and only put a prop if it is non-nil.
16552 2009-11-03 Juri Linkov <juri@jurta.org>
16554 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16555 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16557 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16558 and "Menu" to make top-level menu item visually one unit (like
16559 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16560 multi-word menu items). Fix :help string for quit-window.
16562 2009-11-03 Glenn Morris <rgm@gnu.org>
16564 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16565 (byte-compile-file-form-define-abbrev-table)
16566 (byte-compile-file-form-custom-declare-variable)
16567 (byte-compile-variable-ref, byte-compile-defvar):
16568 Whether or not a warning is enabled should only affect whether we issue
16569 the warning, not whether or not we collect the relevant data.
16570 Eg warnings can be turned on and off throughout the course of a file.
16572 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16573 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16575 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16577 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16578 * play/mpuz.el (mpuz-create-buffer):
16579 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16580 (lm-print-y,s,noise, lm-print-w0, lm-init):
16581 * play/gomoku.el (gomoku-prompt-for-move):
16582 * play/fortune.el (fortune-in-buffer):
16583 * play/dissociate.el (dissociated-press):
16584 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16585 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16586 * mail/supercite.el (sc-eref-show):
16587 * mail/smtpmail.el (smtpmail-send-it):
16588 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16589 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16590 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16591 (rmail-summary-goto-msg, rmail-summary-expunge)
16592 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16593 (rmail-summary-add-label, rmail-summary-output-menu)
16594 (rmail-summary-output-body):
16595 * mail/rfc822.el (rfc822-addresses):
16596 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16597 * mail/mailpost.el (post-mail-send-it):
16598 * mail/hashcash.el (hashcash-generate-payment):
16599 * mail/feedmail.el (feedmail-run-the-queue)
16600 (feedmail-queue-send-edit-prompt-help-first)
16601 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16602 (feedmail-deduce-address-list):
16603 * eshell/esh-ext.el (eshell-remote-command):
16604 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16605 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16606 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16607 (viper-save-string-in-file, viper-valid-marker):
16608 * emulation/viper-keym.el (viper-toggle-key):
16609 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16610 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16611 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16612 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16613 (viper-exec-form-in-emacs, viper-brac-function):
16614 * emulation/viper.el (viper-delocalize-var):
16615 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16616 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16617 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16618 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16619 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16620 * emulation/edt.el (edt-electric-helpify):
16621 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16622 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16623 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16624 (cua-indent-to-global-mark-column):
16625 * calendar/diary-lib.el (calendar-mark-1):
16626 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16627 Use with-current-buffer.
16628 * emulation/viper.el (viper-delocalize-var): Use dolist.
16630 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16632 * comint.el (comint-replace-by-expanded-history-before-point):
16633 Replace !! with the previous input string literally (Bug#1795).
16635 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16637 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16638 to be made up of whitespace.
16640 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16642 * minibuffer.el (read-file-name): Don't use file dialogs for
16643 remote directories (Bug#99).
16645 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16647 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16649 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16651 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16652 instead of deleting the window or frame.
16654 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16656 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16657 Support face colors.
16659 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16660 New function. Support face colors (Bug#1168).
16661 (tex-common-initialization): Use it.
16663 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16664 mode allows it (Bug#1168).
16666 2009-10-31 Juri Linkov <juri@jurta.org>
16668 * facemenu.el (list-colors-display): Don't mark buffer as
16669 modified (Bug#3948).
16671 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16673 * international/mule-diag.el (list-character-sets-1):
16674 Minor message fix (Bug#3526).
16676 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16677 Fix face property (Bug#4834).
16678 (etags-list-tags, etags-tags-apropos-additional)
16679 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16682 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16685 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16687 * textmodes/two-column.el (2C-split):
16688 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16689 * textmodes/tex-mode.el (tex-set-buffer-directory):
16690 * textmodes/spell.el (spell-region, spell-string):
16691 * textmodes/reftex.el (reftex-erase-buffer):
16692 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16693 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16694 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16695 (reftex-select-item):
16696 * textmodes/reftex-ref.el (reftex-label-info-update)
16697 (reftex-offer-label-menu):
16698 * textmodes/reftex-index.el (reftex-index-change-entry)
16699 (reftex-index-phrases-info):
16700 * textmodes/reftex-global.el (reftex-create-tags-file)
16701 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16702 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16703 (reftex-view-crossref-from-bibtex):
16704 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16705 (reftex-extract-bib-entries-from-thebibliography)
16706 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16707 * textmodes/refbib.el (r2b-capitalize-title):
16708 (r2b-convert-buffer, r2b-help):
16709 * textmodes/page-ext.el (pages-directory)
16710 (pages-directory-goto-with-mouse):
16711 * textmodes/bibtex.el (bibtex-validate-globally):
16712 * textmodes/bib-mode.el (bib-capitalize-title):
16713 * textmodes/artist.el (artist-clear-buffer, artist-system):
16714 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16715 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16716 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16717 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16718 (xscheme-send-control-g-interrupt, xscheme-start-process)
16719 (xscheme-process-sentinel, xscheme-cd):
16720 * progmodes/verilog-mode.el (verilog-read-always-signals)
16721 (verilog-set-define, verilog-getopt-file)
16722 (verilog-module-inside-filename-p):
16723 * progmodes/sh-script.el:
16724 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16725 (python-pdbtrack-grub-for-buffer, python-execute-file):
16726 * progmodes/octave-inf.el (inferior-octave):
16727 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16728 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16729 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16730 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16731 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16732 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16733 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16734 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16735 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16736 (idlwave-shell-examine-display, idlwave-shell-run-region)
16737 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16738 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16739 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16740 (idlwave-help-get-help-buffer):
16741 * progmodes/gud.el (gud-basic-call, gud-find-class)
16742 (gud-tooltip-activate-mouse-motions-if-enabled):
16743 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16744 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16745 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16746 (ebrowse-tags-next-file):
16747 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16748 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16749 (ebnf-eps-finish-and-write):
16750 * progmodes/cpp.el (cpp-edit-save):
16751 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16752 * progmodes/cc-defs.el (c-emacs-features):
16753 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16754 (antlr-directory-dependencies):
16755 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16756 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16757 (ada-find-any-references, ada-make-filename-from-adaname)
16758 (ada-make-body-gnatstub):
16759 * obsolete/rnews.el (news-list-news-groups):
16760 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16761 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16762 * net/rcirc.el (rcirc-debug):
16763 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16764 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16765 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16766 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16767 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16768 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16769 (newsticker--treeview-list-clear-highlight)
16770 (newsticker--treeview-list-update-highlight)
16771 (newsticker--treeview-list-highlight-start)
16772 (newsticker--treeview-tree-update-highlight)
16773 (newsticker--treeview-get-selected-item)
16774 (newsticker-treeview-mark-list-items-old)
16775 (newsticker--treeview-set-current-node):
16776 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16777 * net/newst-backend.el (newsticker--get-news-by-funcall)
16778 (newsticker--get-news-by-wget, newsticker--image-get)
16779 (newsticker--image-sentinel):
16780 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16781 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16782 (eudc-ph-close-session):
16783 * net/eudc.el (eudc-save-options):
16784 * language/thai-word.el (thai-update-word-table):
16785 * language/japan-util.el (japanese-string-conversion):
16786 * international/titdic-cnv.el (tsang-quick-converter)
16787 (ziranma-converter, ctlau-converter):
16788 * international/mule-cmds.el (describe-language-environment):
16789 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16790 (skkdic-convert-postfix, skkdic-convert-prefix):
16791 (skkdic-convert-okuri-nasi, skkdic-convert):
16792 * emacs-lisp/re-builder.el (reb-update-overlays):
16793 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16794 * emacs-lisp/gulp.el (gulp-send-requests):
16795 * emacs-lisp/find-gc.el (trace-call-tree):
16796 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16797 (eieio-describe-generic):
16798 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16799 * emacs-lisp/edebug.el (edebug-outside-excursion):
16800 * emacs-lisp/debug.el (debugger-make-xrefs):
16801 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16802 * emacs-lisp/chart.el (chart-new-buffer):
16803 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16804 Use with-current-buffer.
16805 * textmodes/artist.el (artist-system): Don't call
16806 copy-sequence on a fresh string.
16807 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16809 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16811 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16812 is no item to edit. (Bug#4820)
16813 (todo-top-priorities): Restore point and restore narrowing in Todo
16816 2009-10-31 Glenn Morris <rgm@gnu.org>
16818 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16819 (comint-last-output-start, comint-last-input-start)
16820 (comint-last-input-end): Don't defvar when compiling.
16821 (ange-ftp-process-file): Use bound-and-true-p.
16823 * pcmpl-rpm.el (top-level): Move provide statement to end.
16824 (pcmpl-rpm): Remove unused custom group.
16826 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16828 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16830 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16831 (byte-compile-warnings): Add `constants' as an option.
16832 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16833 (display-call-tree): Update for byte-compile-fdefinition possibly
16834 returning `(macro lambda ...)'. (Bug#4778)
16835 (byte-compile-variable-ref, byte-compile-setq-default):
16836 Respect `constants' member of byte-compile-warnings.
16838 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16840 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16841 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16844 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16846 * textmodes/ispell.el (ispell-skip-region-alist):
16847 * international/mule-conf.el (eight-bit):
16848 * international/fontset.el (font-encoding-alist):
16849 * startup.el (pure-space-overflow-message):
16850 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16851 * paths.el (gnus-nntp-service, rmail-spool-directory)
16852 (term-file-prefix):
16853 * files.el (save-some-buffers-action-alist):
16854 * cmuscheme.el (same-window-buffer-names):
16855 * ielm.el (same-window-buffer-names):
16856 * shell.el (same-window-buffer-names):
16857 * mail/sendmail.el (same-window-buffer-names):
16858 * progmodes/inf-lisp.el (same-window-buffer-names):
16859 * bindings.el (mode-line-client)
16860 (mode-line-column-line-number-mode-map):
16861 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16862 (tibetan-precomposed-regexp): Purecopy string arguments.
16864 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16866 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16867 (calcDigit-nondigit):
16868 * calc/calc-yank.el (calc-copy-to-buffer):
16869 * calc/calc-units.el (calc-invalidate-units-table):
16870 * calc/calc-trail.el (calc-trail-yank):
16871 * calc/calc-store.el (calc-insert-variables):
16872 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16873 * calc/calc-prog.el (calc-read-parse-table):
16874 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16875 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16876 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16877 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16878 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16879 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16880 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16881 * calc/calc-ext.el (calc-realign):
16882 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16883 (calc-embedded-finish-edit, calc-embedded-make-info)
16884 (calc-embedded-finish-command, calc-embedded-stack-change):
16885 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16887 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16888 shell-dynamic-complete-filename in preference to
16889 comint-dynamic-complete-filename.
16891 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16892 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16893 Don't consider whether the display supports colors.
16894 (bookmark-import-new-list): Use dolist.
16895 (bookmark-bmenu-mode-map): Move initialization into declaration.
16896 (bookmark-bmenu-list): Use dolist, simplify.
16897 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16898 (menu-bar-final-items): Use push.
16900 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16902 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16903 it works on remote files.
16904 (vc-hg-diff): Don't pass any `--cwd' argument.
16906 2009-10-27 Kevin Ryde <user42@zip.com.au>
16908 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16909 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16910 (Further to Bug#3921).
16912 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16914 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16915 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16916 calling `tramp-imap-put-file'. Add file size to the call.
16917 (tramp-imap-get-file-entries): Compute also user name, file size,
16919 (tramp-imap-handle-insert-directory): Insert uid and gid.
16920 (tramp-imap-handle-file-attributes): Transform uid and gid
16921 according to `id-format'.
16922 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16923 size in header X-Size.
16925 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16927 * simple.el (transpose-subr): Give clearer error when the mark
16928 is not set. (Bug#4807)
16930 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16932 * net/tramp.el (tramp-perl-file-truename): New defconst.
16933 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16934 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16935 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16936 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16938 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16939 Ignore `dired-call-process'.
16940 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16942 2009-10-26 Julian Scheid <julians37@gmail.com>
16944 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16945 (tramp-get-remote-readlink): New defun.
16946 (tramp-handle-file-truename): Use it.
16947 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16948 file exists if cache value present.
16949 (tramp-check-cached-permissions): New defun.
16950 (tramp-handle-file-readable-p): Use it.
16951 (tramp-handle-file-writable-p): Likewise.
16952 (tramp-handle-file-executable-p): Likewise.
16953 (tramp-handle-file-name-all-completions): Try using Perl to get
16954 partial completions. When perl not available, combine `cd' and
16955 `ls' into single remote operation and use shell expansion to get
16956 partial remote directory contents. Set `file-exists-p' cache for
16957 directory and any files returned by ls. Change cache handling to
16958 support partial directory contents. Use error message emitted by
16959 remote `cd' or Perl code for local tramp-error.
16960 (tramp-do-copy-or-rename-file-directly): Avoid separate
16961 tramp-send-command-and-check call.
16962 (tramp-handle-process-file): Merge three remote ops into one.
16963 Do not flush all caches when `process-file-side-effects' is set.
16964 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16965 file-attributes shows uid/gid to be set already.
16967 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16969 * textmodes/tex-mode.el (tex-dvi-view-command)
16970 (tex-show-queue-command, tex-open-quote):
16971 * progmodes/ruby-mode.el (auto-mode-alist)
16972 (interpreter-mode-alist): Purecopy strings.
16974 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16976 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16977 string for the hook, keymap and abbrev table.
16979 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16981 * x-dnd.el (x-dnd-xdnd-to-action):
16982 * startup.el (fancy-startup-text, fancy-about-text): Change to
16983 defconst from defvar.
16985 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16987 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16988 Purecopy initialization strings.
16990 * mail/sendmail.el (mail-header-separator)
16991 (mail-personal-alias-file):
16992 * mail/rmail.el (rmail-default-dont-reply-to-names)
16993 (rmail-ignored-headers, rmail-retry-ignored-headers)
16994 (rmail-highlighted-headers, rmail-secondary-file-directory)
16995 (rmail-secondary-file-regexp):
16996 * files.el (null-device, file-name-invalid-regexp)
16997 (locate-dominating-stop-dir-regexp)
16998 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16999 (interpreter-mode-alist): Use mapcar instead of mapc.
17001 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17003 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17004 (completion-ignored-extensions):
17005 (debug-ignored-errors): Purecopy strings.
17007 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17009 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17010 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17011 (pcomplete--here): Use push.
17013 * subr.el (all-completions): Declare the 4th arg obsolete.
17015 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17017 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17018 (pcomplete-unquote-argument): New function.
17019 (pcomplete--common-suffix): Always pay attention to case.
17020 (pcomplete--table-subvert): Quote and unquote the text.
17021 (pcomplete--common-quoted-suffix): New function.
17022 (pcomplete-std-complete): Use it and pcomplete-begin.
17024 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17025 we're inside a dedicated or minibuffer window.
17027 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17029 * bookmark.el: Update documentation, especially documentation
17030 of `bookmark-alist' and of the bookmark file format.
17031 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17033 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17035 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17036 keybindings apply to the mail buffer (Bug#4003). Shrink help
17039 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17040 (global-whitespace-mode, global-whitespace-newline-mode)
17041 (whitespace-toggle-options, global-whitespace-toggle-options):
17042 Doc fix (Bug#3660).
17044 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17045 of xmltok-start before the end tag was inserted (Bug#2840).
17047 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17048 patterns that are preceded by an open-paren (Bug#1320).
17050 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17052 * files.el (delete-directory): Delete symlinks to directories with
17053 delete-file (Bug#4739).
17055 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17057 * vc.el (vc-backend-for-registration): Rename from
17058 vc-get-backend-for-registration. Update callers.
17060 * international/mule-cmds.el (set-language-info-alist):
17062 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17063 (charset): Purecopy the name.
17064 (define-char-code-property): Purecopy string arguments.
17066 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17067 Purecopy string arguments.
17069 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17070 * ediff-hook.el (menu-bar-ediff-menu):
17071 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17072 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17074 2009-10-24 Glenn Morris <rgm@gnu.org>
17076 * comint.el (comint-dynamic-list-completions):
17077 * term.el (term-dynamic-list-completions): Use choose-completion rather
17078 than obsolete alias mouse-choose-completion.
17080 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17081 file-cache-choose-completion.
17082 (file-cache-choose-completion): Handle an optional event argument.
17083 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17085 * progmodes/octave-mod.el (octave-complete-symbol):
17086 Use choose-completion if mouse-choose-completion is ever removed.
17088 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17091 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17094 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17096 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17098 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17099 Ignore `pred' now that we receive one.
17100 Handle test-completion specially.
17102 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17104 * vc.el (vc-responsible-backend): Throw an error if not backend is
17105 found. Remove the REGISTER argument. Move the code dealing with
17107 (vc-get-backend-for-registration): ... here. New function.
17108 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17109 of vc-responsible-backend, pass the file name instead of the
17112 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17114 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17116 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17117 (pcomplete-comint-setup): Don't modify a global var via
17118 accidental side-effects.
17119 (pcomplete-shell-setup): Adjust call accordingly.
17120 (pcomplete-parse-comint-arguments): Use push.
17122 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17124 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17125 Allow uncapitalized info node names (Bug#3921).
17127 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17128 to the DEBUG file (Bug#3781).
17130 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17132 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17133 dictionary entry (Bug#4579).
17135 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17137 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17138 from `rfn-eshadow-update-overlay-hook' when unloading.
17139 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17140 "rsyncc". Adjust doc string.
17141 (tramp-temp-buffer-file-name): New buffer-local defvar.
17142 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17143 Keep temporary file when indicated by method ("rsync" and
17145 (tramp-handle-write-region): Handle APPEND.
17146 (tramp-delete-temp-file-function): New defun. Added to
17147 `kill-buffer-hook'.
17149 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17151 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17153 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17155 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17156 (color-name-rgb-alist, tty-standard-colors)
17157 (tty-color-mode-alist): Change to defconst.
17159 * simple.el (mark-inactive): Purecopy message.
17161 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17162 (global-map, yank-menu):
17163 * textmodes/ispell.el (ispell-menu-map):
17164 * net/eudc.el (eudc-tools-menu):
17165 * international/mule-cmds.el (describe-language-environment-map)
17166 (setup-language-environment-map, set-coding-system-map)
17167 (mule-menu-keymap):
17168 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17169 * replace.el (occur-mode-map):
17170 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17172 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17174 * calc/calc.el (math-read-number, math-read-number-simple):
17175 Use `save-match-data'.
17177 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17179 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17180 rather than fiddling with global-map bindings, since it should only
17181 affect per-terminal settings.
17182 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17184 * minibuffer.el (completion-table-with-terminator): Allow to specify
17185 the terminator-regexp.
17187 * simple.el (switch-to-completions): Look for *Completions* in other
17190 * pcomplete.el: Allow the use of completion-tables.
17191 (pcomplete-std-complete): New command.
17192 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17193 (pcomplete--here): Use a function for `form' rather than an expression,
17194 so it can be byte-compiled.
17195 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17196 Add edebug declaration.
17197 (pcomplete-show-completions): Remove unused var `curbuf'.
17198 (pcomplete-do-complete, pcomplete-stub):
17199 Don't assume `completions' is a list of strings any more.
17201 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17203 * find-dired.el (find-name-arg): Fix typo in docstring.
17205 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17207 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17208 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17210 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17213 * comint.el (comint-read-input-ring, comint-write-input-ring)
17214 (comint-substitute-in-file-name)
17215 (comint-dynamic-complete-as-filename)
17216 (comint-dynamic-simple-complete)
17217 (comint-dynamic-list-filename-completions)
17218 (comint-dynamic-list-completions)
17219 (comint-redirect-results-list-from-process): Minor simplifications.
17221 2009-10-21 Kevin Ryde <user42@zip.com.au>
17223 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17224 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17225 the first form. And insert a blank line after ";;; Code" since
17226 that's usual style. (Bug#4612)
17228 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17230 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17232 * minibuffer.el (completion-table-with-terminator): Properly implement
17233 boundaries, in case `terminator' appears in the suffix.
17234 (completion--embedded-envvar-table): Don't return boundaries if
17235 there's no valid completion. Simplify.
17236 (completion-file-name-table): New completion table extracted from
17237 completion--file-name-table.
17238 (completion--file-name-table): Use it.
17239 (read-file-name-predicate): Declare obsolete.
17240 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17241 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17242 completion-file-name-table, and use the `pred' argument.
17243 * files.el (locate-file-completion-table): Use the `pred' arg rather
17244 than read-file-name-predicate.
17245 (abbreviate-file-name): Use \` rather than ^ for BOS.
17247 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17249 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17250 vc-responsible-backend to register, it causes problems.
17252 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17254 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17256 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17258 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17259 (tramp-smb-handle-file-attributes): Use it.
17260 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17261 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17262 `mapcar'. Use `tramp-smb-get-stat-capability'.
17263 Add `dired-filename' text properties.
17264 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17265 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17268 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17270 * subr.el (read-key-delay): Reduce to 0.01.
17271 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17274 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17276 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17278 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17279 (Info-menu): Remove unused vars `last' and `completions'.
17280 (Info-index-nodes): Remove unused var `node'.
17282 * info.el (Info-complete-menu-item): Use complete-with-action.
17284 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17286 Make vc-annotate work through copies and renames.
17287 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17288 Return the file name too.
17289 (vc-annotate-revision-at-line)
17290 (vc-annotate-find-revision-at-line)
17291 (vc-annotate-revision-previous-to-line)
17292 (vc-annotate-show-log-revision-at-line): Update to get the file
17293 name from vc-annotate-extract-revision-at-line.
17294 (vc-annotate-show-diff-revision-at-line-internal): Change the
17295 argument to mean whether to show a file diff or not. Get the file
17296 name from vc-annotate-extract-revision-at-line.
17297 (vc-annotate-show-diff-revision-at-line):
17298 Update vc-annotate-show-diff-revision-at-line call.
17299 (vc-annotate-warp-revision): Add an optional file argument.
17301 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17302 (vc-git-annotate-extract-revision-at-line): Also return the file
17305 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17306 command. Remove unused code.
17307 (vc-hg-annotate-re): Update to match --follow output.
17308 (vc-hg-annotate-extract-revision-at-line): Also return the file
17311 * vc.el: Update annotate-extract-revision-at-line documentation.
17313 2009-10-18 Kevin Ryde <user42@zip.com.au>
17315 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17316 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17318 * net/browse-url.el (browse-url): Identify alist with "consp and
17319 not functionp" and let all other things go down the `apply' leg,
17320 as suggested by Stefan. (Further to bug#4531.)
17322 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17324 * minibuffer.el (read-file-name): Check for repeat before putting
17325 a default argument in file-name-history (Bug#4657).
17327 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17328 read syntax (Bug#4737).
17330 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17332 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17334 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17335 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17336 entries and make note of obsolete tags.
17338 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17340 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17342 2009-10-18 Glenn Morris <rgm@gnu.org>
17344 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17345 grep, so that binary files (eg international/uni-bidi.el) can match.
17346 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17347 now, and in any case the file header format has changed.
17349 2009-10-17 Glenn Morris <rgm@gnu.org>
17351 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17352 (flyspell-get-word, flyspell-large-region)
17353 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17355 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17357 * Makefile.in (ELCFILES): Add ede/shell.
17359 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17361 * term/common-win.el (x-colors): Purecopy it.
17363 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17365 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17366 permissive for when the buffer is empty.
17367 (tar-header-block-tokenize): Decode the username and groupname.
17368 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17370 2009-10-17 Eric Ludlam <zappo@gnu.org>
17372 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17373 contains multibyte characters, choose first applicable coding
17374 system automatically.
17376 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17378 * international/mule-cmds.el (select-safe-coding-system): If the file
17379 has a coding cookie, use it regardless of any other setting (bug#4712).
17381 2009-10-17 Glenn Morris <rgm@gnu.org>
17383 * foldout.el (foldout-mouse-swallow-events):
17384 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17386 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17387 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17388 (dired-keep-marker-symlink, dired-dwim-target)
17389 (dired-copy-preserve-time): Do not autoload these defcustoms.
17391 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17392 messages from messing up the file coding. (Bug#4623)
17394 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17396 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17397 if no match is found for the current dictionary. (Bug#4578)
17399 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17400 optional, since that is how it is documented, and this is often called
17401 with a nil argument. (Bug#4577)
17402 (flyspell-external-point-words, flyspell-auto-correct-word)
17403 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17404 (flyspell-word-search-backward): Remove nil argument in calls to
17405 flyspell-get-word, since it is not needed now.
17407 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17409 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17411 2009-10-16 Glenn Morris <rgm@gnu.org>
17413 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17415 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17417 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17418 (ange-ftp-file-size): New function.
17419 (ange-ftp-file-attributes): Use it.
17421 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17423 * net/tramp-smb.el (tramp-smb-version): New defvar.
17424 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17427 2009-10-16 Glenn Morris <rgm@gnu.org>
17429 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17430 Maybe copy some custom properties from old to new name. (Bug#4706)
17432 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17434 * subr.el (error, sit-for, start-process-shell-command)
17435 (start-file-process-shell-command): Set the calling convention
17436 after the function definition.
17438 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17440 * subr.el (error, sit-for, start-process-shell-command)
17441 (start-file-process-shell-command): Use the new
17442 set-advertised-calling-convention feature.
17444 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17446 * international/ucs-normalize.el (ucs-normalize-version):
17448 (check-range): Adjust for Unicode 5.2.
17450 2009-10-15 Juri Linkov <juri@jurta.org>
17452 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17453 to the `menu-item' format.
17455 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17457 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17458 if the environment variable does not exist.
17460 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17461 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17463 (tramp-smb-handle-add-name-to-file)
17464 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17465 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17466 (tramp-smb-handle-file-attributes)
17467 (tramp-smb-do-file-attributes-with-stat)
17468 (tramp-smb-handle-file-local-copy)
17469 (tramp-smb-handle-insert-directory)
17470 (tramp-smb-handle-make-directory)
17471 (tramp-smb-handle-make-directory-internal)
17472 (tramp-smb-handle-make-symbolic-link)
17473 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17474 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17475 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17476 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17477 Handle long file names.
17478 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17479 process is running.
17480 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17481 Read share names with "-g" option.
17483 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17485 * net/rcirc.el (rcirc-view-log-file): New command.
17486 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17487 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17490 2009-10-15 Glenn Morris <rgm@gnu.org>
17492 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17493 from the second command-line argument.
17494 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17495 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17496 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17497 w32-batch-update-autoloads.
17498 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17499 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17501 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17502 the headers cannot be located. Simplify, subtracting superflous
17505 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17507 Replace completion-base-size by completion-base-position to fix bugs
17508 such as (bug#4699).
17509 * simple.el (completion-base-position): New var.
17510 (completion-base-size): Mark as obsolete.
17511 (choose-completion): Make it work for mouse events as well.
17512 Pass the new base-position to choose-completion-string.
17513 (choose-completion-guess-base-position): New function, extracted from
17514 choose-completion-delete-max-match.
17515 (choose-completion-delete-max-match): Use it. Make obsolete.
17516 (choose-completion-string): Use the new base-position info.
17517 (completion-root-regexp): Delete.
17518 (completion-setup-function): Preserve completion-base-position.
17519 Eliminate obsolete base-size manipulation.
17520 * minibuffer.el (display-completion-list): Don't mess with base-size.
17521 (minibuffer-completion-help): Set completion-base-position instead.
17522 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17524 * textmodes/bibtex.el (bibtex-complete):
17525 * emacs-lisp/crm.el (crm--choose-completion-string):
17526 Adjust to new calling convention.
17527 * complete.el (partial-completion-mode): Use minibufferp to avoid
17528 bumping into incompatible change to choose-completion-string-functions.
17529 * ido.el (ido-choose-completion-string): Make its calling convention
17531 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17532 base-size manipulation.
17533 (comint-dynamic-list-input-ring): Use dotimes and push.
17534 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17535 fundamental-mode. Use `or'.
17537 2009-10-14 Juri Linkov <juri@jurta.org>
17539 * misearch.el (multi-isearch-next-buffer-from-list)
17540 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17542 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17544 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17547 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17548 string we return is all made up of text from the completions rather
17549 than part from the completions and part from the input (bug#4219).
17551 * ido.el (ido-everywhere): Use define-minor-mode.
17553 * buff-menu.el (list-buffers, ctl-x-map):
17554 Mark the entry points with ;;;###autoload cookies.
17556 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17558 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17559 correctly in the detached head case.
17560 (vc-git-print-log): Remove unused binding.
17562 * vc.el (vc-responsible-backend): When a directory is passed for
17563 for registration create a VC repository if no backend is
17564 responsible for the directory argument.
17565 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17567 * vc.el: Move comments about RCS and SCCS ...
17569 * vc-sccs.el: ... here, respectively.
17571 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17573 * minibuffer.el (completion--file-name-table): Return nil if there's
17574 no file completion, even if substitute-in-file-name changed
17575 the string (bug#4708).
17577 2009-10-13 Juri Linkov <juri@jurta.org>
17579 * files-x.el (read-file-local-variable-value): Don't filter out
17580 minor modes from mode name completion (bug#4664).
17582 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17584 * international/mule-cmds.el (ucs-names): Remove exclusion of
17585 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17587 2009-10-13 Kenichi Handa <handa@m17n.org>
17589 * international/uni-name.el: Regenerated.
17591 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17593 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17594 should be automatically buffer-local, but isn't.)
17596 2009-10-12 Sam Steingold <sds@gnu.org>
17598 * progmodes/compile.el (compilation-next-error-function): Fix the
17599 timestamps if the buffer has been visited before.
17600 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17601 non-anchored patterns, like the perl one (bug#3928).
17603 2009-10-12 Glenn Morris <rgm@gnu.org>
17605 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17608 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17610 * proced.el (proced-unload-function): New function.
17612 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17613 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17616 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17618 2009-10-11 Juri Linkov <juri@jurta.org>
17620 * files-x.el (read-file-local-variable-value):
17621 Provide default value only for bound variables (bug#4664).
17623 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17625 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17626 connection methods like smb.
17628 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17631 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17632 (tramp-smb-file-name-handler-alist): Add handlers for
17633 `add-name-to-file', `make-symbolic-link'.
17634 (tramp-smb-handle-add-name-to-file)
17635 (tramp-smb-do-file-attributes-with-stat)
17636 (tramp-smb-handle-make-symbolic-link)
17637 (tramp-smb-get-cifs-capabilities): New defuns.
17638 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17639 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17640 (tramp-smb-handle-file-local-copy)
17641 (tramp-smb-handle-make-directory-internal)
17642 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17643 The file name syntax depends on cifs capabilities.
17644 (tramp-smb-handle-file-attributes):
17645 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17646 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17647 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17649 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17651 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17652 (eieio-defclass): Apply deftype handler and setf-method properties
17654 (eieio-add-new-slot): Avoid union function from cl library.
17655 (eieio--typep): New function.
17656 (eieio-perform-slot-validation): Use it.
17658 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17660 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17661 Update documentation to refer to the variables documented in r1.135.
17664 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17666 * bookmark.el (Info-suffix-list): Remove this unused variable.
17667 (bookmark-current-point): Remove this obsolete variable.
17668 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17669 Adjust for removal of bookmark-current-point.
17671 (bookmarks-already-loaded, bookmark-current-buffer)
17672 (bookmark-yank-point): Document. (Bug#4188)
17674 2009-10-10 Glenn Morris <rgm@gnu.org>
17676 * frame.el (frame-height): Doc fix.
17678 * calendar/calendar.el (calendar-split-width-threshold): New option.
17679 (calendar-basic-setup): Use calendar-split-width-threshold.
17681 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17683 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17684 Ideographic Supplement" range (U+1F200..U+1F2FF).
17686 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17688 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17689 since the list will have been rebuilt anyway. (Bug#4349)
17691 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17693 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17694 (bookmark-bmenu-execute-deletions): Don't save here, as
17695 bookmark-delete will now do so if necessary.
17696 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17699 2009-10-09 Glenn Morris <rgm@gnu.org>
17701 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17703 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17705 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17706 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17707 argument now, so the two function's behaviors will match. (Bug#3645)
17709 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17711 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17712 (tramp-file-name-real-host, tramp-file-name-port):
17713 Apply `save-match-data'.
17715 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17716 case both directories are remote.
17717 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17718 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17720 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17722 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17724 2009-10-07 Glenn Morris <rgm@gnu.org>
17726 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17729 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17731 * files-x.el (read-file-local-variable): Include some
17732 non-user-variables in the completion table (bug#4664).
17734 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17736 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17739 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17740 (tramp-smb-file-name-handler-alist): Add handler for
17741 `copy-directory', `expand-file-name', `set-file-modes'.
17742 (tramp-smb-handle-copy-directory)
17743 (tramp-smb-handle-expand-file-name)
17744 (tramp-smb-handle-set-file-modes): New defuns.
17745 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17746 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17748 (tramp-smb-handle-insert-directory): Don't flush the cache.
17749 (tramp-smb-maybe-open-connection): Check for samba client and
17752 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17754 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17755 to not error out of search for "^lisp=" fails.
17757 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17759 * makefile.w32-in (WINS_UPDATES): New macro.
17760 (custom-deps, finder-data, autoloads): Use it.
17762 2009-10-07 Glenn Morris <rgm@gnu.org>
17764 * Makefile.in (autoloads): Revert previous change.
17765 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17766 the list of preloaded files passed on the command-line, get
17767 it from src/Makefile.
17769 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17770 show the original buffer rather than a random one.
17772 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17774 * help.el (describe-no-warranty): Place point in a slightly better
17775 position in the GPLv3 text.
17777 2009-10-06 Sam Steingold <sds@gnu.org>
17779 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17780 the comm attribute is present before calling regexp-quote.
17782 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17784 * play/animate.el (animate-string): For good effect, make sure
17785 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17787 * play/animate.el (animate-sequence, animate-birthday-present):
17788 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17790 2009-10-06 Glenn Morris <rgm@gnu.org>
17792 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17794 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17795 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17796 (batch-update-autoloads): Process a string value of autoload-excludes,
17797 set during the build process.
17798 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17800 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17801 inside with-parsed... macro so that `v' is defined.
17803 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17804 * progmodes/fortran.el (fortran-end-of-block)
17805 (fortran-beginning-of-block):
17806 Also push mark in the macro case.
17808 * emerge.el (emerge-show-file-name):
17809 * calc/calc.el (calc-quit):
17810 * calc/calc-misc.el (calc-big-or-small):
17811 * calc/calc-graph.el (calc-graph-view):
17812 * calc/calc-ext.el (calc-reset):
17813 * calendar/calendar.el (calendar-basic-setup):
17814 Use window-full-height-p.
17816 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17817 header we don't understand, don't insert another. (Bug#4624)
17818 If changing mime charset, insert the new one in the right place.
17820 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17822 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17823 (cal-tex-cursor-month): Correctly increment the end date for diary and
17824 holiday listing. (Bug#4626)
17826 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17828 * help-fns.el (describe-function-1): Don't burp if the function is not
17831 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17833 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17834 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17835 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17836 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17838 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17839 (eieio-default-superclass): Reflow docstrings.
17840 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17841 (eieio-unbind-method-implementations, defmethod)
17842 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17843 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17844 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17845 (eieio-slot-originating-class-p, eieio-slot-name-index)
17846 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17847 (constructor, initialize-instance, no-next-method, object-print)
17848 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17849 Fix typos in docstrings.
17850 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17851 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17852 (next-method-p): Doc fixes.
17853 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17854 Fix typos in error messages.
17855 (eieio-defmethod): Fix typo in description of generic method.
17857 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17858 (eieio-persistent-save-interactive, slot-missing):
17859 Fix typos in docstrings.
17860 (eieio-instance-inheritor-slot-boundp): Doc fix.
17862 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17863 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17865 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17866 (eieio-custom-object-apply-reset):
17867 Fix typos in docstrings and error messages.
17869 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17870 Fix typo in docstring.
17872 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17873 (eieio-browse-tree): Doc fix.
17874 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17875 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17876 Fix typos in docstrings.
17878 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17879 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17880 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17881 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17884 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17886 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17887 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17888 Set log-view-vc-backend so that diff can work.
17890 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17892 (vc-diff-internal): Autoload this instead of vc-version-diff.
17894 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17896 * simple.el (eval-expression): Doc fix.
17898 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17900 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17902 * files.el (directory-files-no-dot-files-regexp): New defconst.
17903 (delete-directory): Use it.
17904 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17906 * net/tramp.el (tramp-verbose): Fix docstring.
17907 (tramp-methods): Add recursive option to `tramp-copy-args'.
17908 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17909 "scp1_old", "scp2_old", "rsync", "rsyncc".
17910 (tramp-default-method): Check also for `auth-source-user-or-password'.
17911 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17912 Add handler for `copy-directory'.
17913 (tramp-handle-copy-directory): New defun.
17914 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17915 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17916 Optimize sent command.
17918 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17920 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17921 window if necessary.
17923 * calendar/calendar.el (calendar-basic-setup): Don't call
17924 switch-to-buffer in a dedicated window.
17926 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17928 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17929 don't do anything related to relocating, just return nil.
17930 (bookmark-error-no-filename): New error.
17931 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17932 bookmark has no file. Don't even attempt to handle things that
17933 are not files; the whole point of custom handlers is to keep that
17934 knowledge elsewhere anyway. Tighten some comments.
17935 (bookmark-file-or-variation-thereof): Remove now-unused function.
17936 (bookmark-location): Doc string fix.
17939 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17941 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17942 don't use a file dialog, because they usually don't know how to read
17943 a directory target from the user. (Bug#4230)
17944 Also, make sure the prompt can display directories as well as files.
17946 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17948 * bookmark.el (bookmark-set, bookmark-buffer-name):
17949 Improve doc strings. (Bug#1193)
17951 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17953 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17954 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17955 (bookmark-get-annotation, bookmark-set-annotation)
17956 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17957 (bookmark-set-position, bookmark-get-front-context-string)
17958 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17959 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17960 (bookmark-jump-other-window, bookmark-handle-bookmark)
17961 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17962 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17963 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17964 Improve doc strings to say whether bookmark can be a string or
17965 a record or both, and make other consistency and clarity fixes.
17966 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17967 (bookmark-default-annotation-text, bookmark-yank-word)
17968 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17969 (bookmark-import-new-list, bookmark-maybe-rename)
17970 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17971 (bookmark-bmenu-bookmark): Give these doc strings.
17972 (bookmark-bmenu-check-position): Give this a doc string, but also
17973 add a FIXME comment about how the function may be pointless.
17974 (bookmark-default-handler): Rework doc string and change a
17975 parameter name, to clarify that this takes a bookmark record
17976 not a bookmark name.
17977 (bookmark-set): Change a parameter name to indicate its meaning,
17978 and improve the doc string a bit.
17981 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17983 * bookmark.el (bookmark-alist): Document the new `handler' element
17984 in the param alist.
17985 (bookmark-make-record-function): Adjust documentation for above.
17988 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17990 * info.el (Info-bookmark-make-record): Document this function.
17991 (Info-bookmark-jump): Document with a doc string, not just a comment.
17994 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17996 * files.el (copy-directory): New defun.
17998 * dired-aux.el (dired-copy-file-recursive): Use it.
18000 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18002 * files-x.el (modify-dir-local-variable)
18003 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18006 * recentf.el (recentf-unload-function): New function.
18008 2009-10-04 Glenn Morris <rgm@gnu.org>
18010 * window.el (window-full-height-p): Add doc string.
18012 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18014 * window.el (window-full-height-p): New function. (Bug#4543)
18016 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18018 * vc.el: Remove commented out code.
18019 (vc-derived-from-dir-mode): Remove, unused.
18020 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18022 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18024 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18025 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18026 there could be recursive loading when `default-directory' is a
18027 remote file name. (Bug#4614)
18029 2009-10-03 Glenn Morris <rgm@gnu.org>
18031 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18033 (calendar-generate-window): Test for shrinkability rather than width.
18035 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18036 reusing existing buffers, in case we happen to visit two files with the
18037 same basename. (Bug#4593)
18039 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18041 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18042 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18043 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18044 subdirs of cedet as well.
18045 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18047 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18049 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18050 Obey advertised-signature-table.
18052 * help-fns.el (help-function-arglist): Don't check
18053 advertised-signature-table.
18054 (describe-function-1): Do it here instead so it also applies to subrs.
18056 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18058 * simple.el (start-file-process): Say in the doc-string, that file
18059 handlers might not support pty association, if PROGRAM is nil.
18061 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18062 HOST and USER are strings. They are nil, when there are
18063 incomplete entries in ~/.netrc, for example.
18064 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18065 root directory ("device busy" error otherwise).
18067 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18068 Flush file properties of created directory.
18070 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18072 * makefile.w32-in (WINS_BASIC): Remove cedet.
18073 (WINS_CEDET): Add cedet.
18074 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18076 2009-10-02 Kevin Ryde <user42@zip.com.au>
18078 * net/browse-url.el (browse-url): Pass any symbol in
18079 browse-url-browser-function to `apply', since if you've mistakenly put
18080 an unbound symbol then the error is clearer. (Bug#4531)
18082 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18084 * allout.el (allout-init, allout-back-to-current-heading)
18085 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18086 (allout-ascend, allout-up-current-level, allout-end-of-level)
18087 (allout-previous-visible-heading, allout-forward-current-level)
18088 (allout-backward-current-level, allout-show-children):
18089 * apropos.el (apropos-describe-plist):
18090 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18091 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18092 * completion.el (add-completion, add-permanent-completion):
18093 * descr-text.el (describe-text-category, describe-char):
18094 * desktop.el (desktop-lazy-abort):
18095 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18096 * dired.el (dired-build-subdir-alist):
18097 * ediff.el (ediff-version):
18098 * elide-head.el (elide-head, elide-head-show):
18099 * emerge.el (emerge-version):
18101 * face-remap.el (variable-pitch-mode):
18102 * faces.el (describe-face):
18103 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18105 * files.el (find-file-existing, auto-save-mode):
18106 * font-lock.el (font-lock-fontify-buffer):
18107 * help-fns.el (describe-function, describe-variable)
18108 (describe-syntax, describe-categories):
18109 * help.el (view-lossage, describe-bindings, describe-key)
18111 * hexl.el (hexl-current-address):
18112 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18113 * info.el (Info-goto-emacs-key-command-node):
18114 * log-edit.el (log-edit-insert-cvs-template)
18115 (log-edit-insert-cvs-rcstemplate):
18116 * menu-bar.el (menu-bar-mode):
18117 * mouse.el (mouse-appearance-menu):
18118 * newcomment.el (comment-indent-new-line):
18119 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18120 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18121 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18122 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18123 * recentf.el (recentf-mode):
18124 * savehist.el (savehist-mode, savehist-save):
18125 * shadowfile.el (shadow-copy-files):
18126 * simple.el (kill-ring-save, next-line, previous-line)
18127 (normal-erase-is-backspace-mode):
18128 * strokes.el (strokes-update-window-configuration)
18129 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18130 (strokes-xpm-for-stroke):
18131 * time.el (emacs-uptime, emacs-init-time):
18132 * tutorial.el (tutorial--describe-nonstandard-key)
18133 (tutorial--detailed-help):
18134 * type-break.el (type-break-mode)
18135 (type-break-mode-line-message-mode, type-break-query-mode)
18136 (type-break-guesstimate-keystroke-threshold):
18137 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18138 * version.el (emacs-version):
18139 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18140 * winner.el (winner-mode):
18141 * calendar/timeclock.el (timeclock-in, timeclock-out)
18142 (timeclock-status-string, timeclock-change)
18143 (timeclock-workday-remaining-string)
18144 (timeclock-workday-elapsed-string)
18145 (timeclock-when-to-leave-string):
18146 * calendar/todo-mode.el (todo-add-category):
18147 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18148 * emacs-lisp/autoload.el (update-file-autoloads):
18149 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18150 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18151 (checkdoc-message-text, checkdoc-defun):
18152 * emacs-lisp/debug.el (debugger-list-functions):
18153 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18154 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18155 (eieio-describe-generic):
18156 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18157 * emacs-lisp/shadow.el (list-load-path-shadows):
18158 * emulation/cua-base.el (cua-mode):
18159 * emulation/edt.el (edt-set-scroll-margins):
18160 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18161 (tpu-toggle-regexp, tpu-toggle-search-direction)
18162 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18163 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18164 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18165 (viper-set-parsing-style-toggling-macro)
18166 (viper-set-emacs-state-searchstyle-macros):
18167 * emulation/viper.el (viper-set-hooks):
18168 * eshell/esh-mode.el (eshell-truncate-buffer):
18169 * international/mule-cmds.el (prefer-coding-system)
18170 (describe-input-method, describe-language-environment):
18171 * international/mule-diag.el (list-character-sets)
18172 (describe-character-set, describe-coding-system)
18173 (describe-fontset, list-fontsets, list-input-methods):
18174 * mail/sendmail.el (mail-signature):
18175 * net/ange-ftp.el (ange-ftp-copy-file):
18176 * net/browse-url.el (browse-url):
18177 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18178 * net/quickurl.el (quickurl-add-url):
18179 * net/rcirc.el (names, topic):
18180 * net/xesam.el (xesam-mode):
18181 * play/5x5.el (5x5-new-game):
18182 * play/yow.el (apropos-zippy):
18183 * progmodes/ada-mode.el (ada-mode-version):
18184 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18186 (f90-beginning-of-block):
18187 * progmodes/fortran.el (fortran-end-of-block)
18188 (fortran-beginning-of-block):
18189 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18190 * progmodes/python.el (python-describe-symbol, python-shell):
18191 * term/ns-win.el (ns-print-buffer):
18192 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18193 * textmodes/flyspell.el (flyspell-mode-on):
18194 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18195 (pages-directory-for-addresses):
18196 * textmodes/table.el (table-recognize-cell)
18197 (table-query-dimension, table-generate-source)
18198 (table-insert-sequence, table--warn-incompatibility):
18199 * textmodes/tex-mode.el (tex-validate-buffer):
18200 * textmodes/texinfmt.el (texinfmt-version)
18201 (texinfo-format-buffer):
18202 Use `called-interactively-p' instead of `interactive-p'.
18204 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18206 * image-mode.el (image-toggle-display):
18207 * emacs-lisp/elp.el (elp-instrument-function):
18208 * emacs-lisp/advice.el (ad-make-advised-definition):
18209 * emacs-lisp/easy-mmode.el (define-minor-mode):
18210 * net/browse-url.el (browse-url-maybe-new-window):
18211 * progmodes/sh-script.el (sh-learn-buffer-indent):
18212 Pass new argument 'any to `called-interactively-p'.
18214 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18216 * international/uni-bidi.el:
18217 * international/uni-category.el:
18218 * international/uni-combining.el:
18219 * international/uni-comment.el:
18220 * international/uni-decimal.el:
18221 * international/uni-decomposition.el:
18222 * international/uni-digit.el:
18223 * international/uni-lowercase.el:
18224 * international/uni-mirrored.el:
18225 * international/uni-name.el:
18226 * international/uni-numeric.el:
18227 * international/uni-old-name.el:
18228 * international/uni-titlecase.el:
18229 * international/uni-uppercase.el:
18230 Regenerate from Unicode 5.2.0 data.
18232 2009-10-01 Glenn Morris <rgm@gnu.org>
18234 * Makefile.in (ELCFILES): Regenerate.
18236 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18238 * subr.el (interactive-p): Mark obsolete.
18239 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18240 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18241 advertised-signature-table for subroutines as well.
18243 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18244 (set-advertised-calling-convention): New function.
18245 (make-obsolete, define-obsolete-function-alias)
18246 (make-obsolete-variable, define-obsolete-variable-alias):
18247 Make the optional-ness of `when' obsolete.
18248 (define-obsolete-face-alias): Make `when' non-optional.
18249 * help-fns.el (help-function-arglist):
18250 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18251 Use advertised-signature-table.
18253 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18255 * files.el (delete-directory): New defun. The original function
18256 in fileio.c has been renamed to `delete-directory-internal'.
18258 * dired.el (dired-delete-file): Call `delete-directory' with
18259 RECURSIVE parameter.
18261 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18262 parameter RECURSIVE. Implementation is missing.
18264 * net/tramp.el (tramp-handle-make-directory): Flush upper
18265 directory's file properties.
18266 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18267 (tramp-handle-dired-recursive-delete-directory): Flush directory
18268 properties after the remove command only.
18270 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18271 Handle optional parameter RECURSIVE.
18273 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18274 Handle optional parameter RECURSIVE.
18276 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18277 connection timeout.
18278 (tramp-smb-handle-delete-directory): Handle optional parameter
18281 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18283 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18284 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18285 (byte-compile-defmacro): Use backquotes.
18287 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18289 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18290 has no associated file.
18291 (vc-resynch-buffer): Use vc-dir-buffers.
18293 2009-10-01 Glenn Morris <rgm@gnu.org>
18295 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18296 (chart-file-count):
18297 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18298 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18299 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18300 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18301 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18302 (eieio-copy-parents-into-subclass, make-instance, class-children)
18303 (eieio-generic-form):
18305 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18306 match-data. (Bug#4555).
18308 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18309 rather than parsing it as a regexp. This relaxes the layout
18310 requirements and makes errors easier to detect.
18311 (check-declare-verify): Check file is regular.
18312 (check-declare-directory): Doc fix.
18313 * subr.el (declare-function): Doc fix.
18315 * ibuffer.el (ibuffer-format-qualifier):
18316 * isearch.el (hi-lock-regexp-okay):
18317 * calc/calc.el (math-zerop):
18318 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18319 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18320 Remove unused declarations.
18322 2009-09-30 Eric Ludlam <zappo@gnu.org>
18324 * emacs-lisp/eieio.el (boolean-p): Delete.
18326 2009-09-30 Glenn Morris <rgm@gnu.org>
18328 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18330 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18331 filename is not a string.
18333 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18335 * files.el (safe-local-eval-forms): Fix typo.
18337 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18339 * vc-hooks.el (vc-dir-buffers): New var.
18340 (vc-state-refresh): New function.
18341 (vc-state): Use it.
18342 (vc-after-save): Always ask the backend to recompute the new state.
18343 Always call vc-dir if necessary, using vc-dir-buffers.
18344 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18345 Use vc-dir-buffers.
18346 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18347 (vc-dir-prepare-status-buffer, vc-dir-update)
18348 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18349 Don't call expand-file-name on default-directory.
18351 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18353 * speedbar.el (speedbar-item-delete):
18354 * calc/calc-prog.el (calc-kbd-if):
18355 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18357 * epa.el (epa-key-list-mode-map):
18358 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18360 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18361 (hs-show-hook): Fix typo in docstring.
18363 2009-09-29 Glenn Morris <rgm@gnu.org>
18365 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18366 file-name-nondirectory call preventing location of cedet files.
18367 (check-declare-verify): Use literal search rather than re-search.
18368 Add basic defmethod and defclass, and define-overloadable-function.
18370 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18371 Use tramp-compat-file-attributes rather than nonexistent
18372 tramp-compat-handle-file-attributes.
18374 * Makefile.in (lisptagsfiles4): New.
18375 (AUTOGENEL): Add cedet loaddefs files.
18376 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18377 (update-elclist, compile-always, backup-compiled-files)
18378 (bootstrap-clean): Add yet another directory level.
18379 (update-elclist): Use LC_COLLATE rather than COLLATE.
18380 (ELCFILES): Update, via `make update-elclist'.
18382 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18384 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18385 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18386 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18388 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18390 * Makefile.in (lisptagsfiles3): Define.
18391 (TAGS, TAGS-LISP): Use it.
18392 (update-elclist): Add third directory level to look for elc files.
18393 (compile-always): Likewise.
18394 (backup-compiled-files): Likewise.
18395 (bootstrap-clean): Likewise.
18396 (ELCFILES): Update.
18398 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18400 * Makefile.in (ELCFILES): Add CEDET files.
18402 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18404 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18406 * net/tramp.el (top): Require tramp-imap.
18408 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18409 Use `tramp-compat-handle-file-attributes'.
18411 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18413 * net/tramp-imap.el: New package.
18415 2009-09-28 Eric Ludlam <zappo@gnu.org>
18417 * emacs-lisp/chart.el:
18418 * emacs-lisp/eieio-base.el:
18419 * emacs-lisp/eieio-comp.el:
18420 * emacs-lisp/eieio-custom.el:
18421 * emacs-lisp/eieio-datadebug.el:
18422 * emacs-lisp/eieio-opt.el:
18423 * emacs-lisp/eieio-speedbar.el:
18424 * emacs-lisp/eieio.el: New files.
18426 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18428 * whitespace.el (whitespace-trailing-regexp)
18429 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18432 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18434 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18437 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18438 menu-bar-ediff-menu.
18440 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18441 define-overloadable-function.
18443 * progmodes/autoconf.el: Provide autoconf as well, so that this
18444 file can be `require'd.
18446 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18448 * emacs-lisp/autoload.el (generated-autoload-feature)
18449 (generated-autoload-load-name): New vars.
18450 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18451 (make-autoload): Recognize define-overloadable-function and
18452 defclass forms (for EIEIO).
18454 * Makefile.in (update-subdirs): Exclude cedet directory.
18456 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18458 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18460 * faces.el: Default light-background background for region face to
18461 ns_selection_color under NS.
18463 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18465 * net/imap-hash.el: New library, see NEWS.
18467 * Makefile.in (ELCFILES): Add imap-hash.el.
18469 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18471 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18472 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18473 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18474 definition where the docstring could be taken for the return value.
18476 2009-09-26 Glenn Morris <rgm@gnu.org>
18478 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18479 Add option to only show images below a certain size.
18480 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18481 save-excursion calls.
18483 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18485 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18486 subdirectories) and eieio.
18488 2009-09-26 Alan Mackenzie <acm@muc.de>
18490 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18491 Correct buggy bracketing. (Bug#4289)
18493 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18494 character constants (as case labels). (Bug#4289)
18496 2009-09-25 Juri Linkov <juri@jurta.org>
18498 * files.el (safe-local-eval-forms): Allow time-stamp in
18499 before-save-hook (Bug#4554).
18501 2009-09-25 Drew Adams <drew.adams@oracle.com>
18503 * menu-bar.el (list-buffers-directory): Doc fix.
18505 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18507 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18508 Try and avoid copying twice the same paragraph.
18509 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18510 Remove save-excursion.
18511 (log-edit-changelog-entry): Do it here instead.
18513 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18515 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18516 when available, instead of hardcoding mode names. Doc fix.
18518 * menu-bar.el (list-buffers-directory): Add docstring.
18519 Make automatically buffer-local.
18521 * dired.el (dired-mode):
18522 * files.el (cd-absolute):
18523 * pcvs.el (cvs-temp-buffer):
18524 * pcvs-util.el (cvs-get-buffer-create):
18525 * shell.el (shell-mode):
18526 * vc-dir.el (vc-dir-mode):
18527 Don't make `list-buffers-directory' buffer local.
18529 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18531 * comint.el (comint-exec, comint-run, make-comint):
18532 Doc fixes (Bug#4542).
18534 2009-09-25 Glenn Morris <rgm@gnu.org>
18536 * mail/rmailmm.el (rmail-mime): New custom group.
18537 Move all defcustoms in this file into this group.
18538 (rmail-mime-media-type-handlers-alist): Revert previous change.
18539 (rmail-mime-show-images): New option.
18540 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18541 references to it, since it wasn't actually used for anything.
18542 (rmail-mime-insert-image): New function.
18543 (rmail-mime-image): Use rmail-mime-insert-image.
18544 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18545 obey the value of `rmail-mime-show-images' option. Print the size of
18548 2009-09-25 David Engster <deng@randomsample.de>
18550 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18552 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18554 * whitespace.el: Does not highlight trailing spaces While point is
18555 at end of line. Does not highligt spaces at beginning of buffer
18556 while point is at beginning of buffer. Does not highlight spaces
18557 at end of buffer while point is at end of buffer. (Bug#4177)
18559 (whitespace-display-mappings): Adjust initialization.
18560 (whitespace-point, whitespace-font-lock-refontify): New vars.
18561 (whitespace-color-on, whitespace-color-off): Adjust code.
18562 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18563 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18564 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18566 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18568 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18570 * textmodes/sgml-mode.el: Remove xml-mode alias.
18572 * files.el (auto-mode-alist, conf-mode-maybe)
18573 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18575 2009-09-24 Alan Mackenzie <acm@muc.de>
18577 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18578 c-forward-conditionals, but it doesn't move point and doesn't set
18580 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18581 (c-down-conditional-with-else, c-backward-conditional)
18582 (c-forward-conditional): Refactor to use c-scan-conditionals.
18584 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18586 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18587 (help-default-arg-highlight): Remove.
18588 (help-highlight-arg): New function.
18589 (help-do-arg-highlight): Use it.
18590 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18592 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18594 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18595 Undo last change, which didn't fix the problem and introduced others.
18597 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18599 * progmodes/gdb-mi.el: Don't require speedbar.
18600 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18602 2009-09-24 Glenn Morris <rgm@gnu.org>
18604 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18606 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18608 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18609 there is no newline after the final mime boundary. (Bug#4539)
18610 Move markers on insertion so that any buttons inserted don't end up in
18611 the next part of a multipart message.
18612 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18613 (rmail-mime-bulk-handler): Optionally handle images.
18614 (rmail-mime-image): New button action.
18615 (rmail-mime-image-handler): New function.
18616 (rmail-mime-mode): New mode.
18617 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18619 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18621 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18622 than just dropping elements from it (bug#4504).
18624 * term.el (term-set-scroll-region): Don't move cursor any more.
18625 (term-handle-ansi-escape): Call term-goto here instead.
18626 Suggested by Ivan Kanis <apple@kanis.eu>.
18628 * term.el: Require CL.
18629 (term-ansi-reset): New function.
18630 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18631 (term-handle-colors-array): Simplify.
18633 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18635 * allout.el (allout-overlay-interior-modification-handler)
18636 (allout-obtain-passphrase):
18637 * epa-file.el (epa-file-write-region):
18638 * ps-print.el (ps-begin-job):
18639 * vc-hooks.el (vc-toggle-read-only):
18640 * vc-rcs.el (vc-rcs-rollback):
18641 * vc-sccs.el (vc-sccs-rollback):
18642 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18643 (vc-version-diff, vc-revert, vc-rollback):
18644 * wdired.el (wdired-check-kill-buffer):
18645 * emacs-lisp/authors.el (authors):
18646 * net/socks.el (socks-open-connection):
18647 * net/zeroconf.el (zeroconf-service-add-hook):
18648 * obsolete/vc-mcvs.el (vc-mcvs-register):
18649 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18650 (gdb-select-frame):
18651 * progmodes/grep.el (lgrep, rgrep):
18652 * progmodes/idlw-help.el (idlwave-help-check-locations)
18653 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18654 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18655 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18656 (reftex-toc-rename-label): Fix typos in error messages.
18658 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18659 (dired-copy-how-to-fn): Doc fix.
18660 (dired-files-attributes, dired-read-shell-command):
18661 Fix typos in docstrings.
18663 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18664 (dired-x-find-file-other-window): Reflow docstrings.
18665 (dired-omit-marker-char, dired-read-shell-command)
18666 (dired-x-submit-report): Fix typos in docstrings.
18668 * shell.el (shell-mode-hook):
18669 * view.el (View-scroll-line-forward):
18670 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18671 Fix typos in docstrings.
18673 * net/dig.el (dig-invoke): Fix typo in docstring.
18674 (query-dig): Reflow docstring.
18676 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18677 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18678 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18679 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18680 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18681 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18682 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18683 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18684 (idlwave-completion-map, idlwave-current-indent)
18685 (idlwave-custom-ampersand-surround, idlwave-customize)
18686 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18687 (idlwave-define-abbrev, idlwave-determine-class-special)
18688 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18689 (idlwave-end-block-reg, idlwave-end-of-statement)
18690 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18691 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18692 (idlwave-explicit-class-listed, idlwave-file-header)
18693 (idlwave-fill-paragraph, idlwave-find-class-definition)
18694 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18695 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18696 (idlwave-in-quote, idlwave-indent-action-table)
18697 (idlwave-indent-expand-table, idlwave-indent-line)
18698 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18699 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18700 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18701 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18702 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18703 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18704 (idlwave-outlawed-buffers, idlwave-popup-select)
18705 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18706 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18707 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18708 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18709 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18710 (idlwave-statement-type, idlwave-struct-skip)
18711 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18712 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18713 (idlwave-what-module-find-class): Fix typos in docstrings.
18714 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18715 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18716 (idlwave-find-module, idlwave-find-structure-definition)
18717 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18718 (idlwave-list-load-path-shadows, idlwave-next-statement)
18719 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18720 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18721 (idlwave-template): Reflow docstrings.
18723 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18724 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18725 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18726 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18727 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18728 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18729 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18730 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18731 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18732 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18733 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18734 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18735 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18736 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18737 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18738 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18739 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18740 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18741 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18742 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18743 Fix typos in docstrings.
18744 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18745 (idlwave-shell-hide-output, idlwave-shell-mode)
18746 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18749 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18751 2009-09-24 Ivan Kanis <apple@kanis.eu>
18753 * term.el (term-bold-attribute): New var.
18754 (term-handle-colors-array): Use it.
18756 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18758 * progmodes/gdb-mi.el (gdb-version): New variable.
18759 (gdb-non-stop-handler): Set gdb-version.
18760 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18761 Condition "--thread" option on gdb-version.
18762 (gdb-invalidate-threads): Remove unused argument.
18764 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18766 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18767 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18769 2009-09-23 Glenn Morris <rgm@gnu.org>
18771 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18772 replying to mail without References or Message-Id. (Bug#4525)
18774 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18776 * term/ns-win.el (ns-reg-to-script): New variable.
18778 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18780 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18782 2009-09-22 Sam Steingold <sds@gnu.org>
18784 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18785 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18786 to 1 because hg returns status 1 when nothing is found.
18787 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18789 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18791 * textmodes/fill.el: Convert to utf-8 encoding.
18792 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18795 * add-log.el (change-log-fill-forward-paragraph): New function.
18796 (change-log-mode): Use it so fill-region DTRT.
18797 Set fill-indent-according-to-mode here rather than in
18798 change-log-fill-paragraph.
18799 (change-log-fill-paragraph): Remove.
18801 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18803 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18804 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18806 2009-09-22 Glenn Morris <rgm@gnu.org>
18808 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18809 the scroll-bar scroll the calendar window rather than the buffer.
18811 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18812 commands that move point (as opposed to scrolling).
18814 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18816 * emacs-lisp/elint.el (elint): New custom group.
18817 (elint-log-buffer): Make it a defcustom.
18818 (elint-scan-preloaded, elint-ignored-warnings)
18819 (elint-directory-skip-re): New options.
18820 (elint-builtin-variables): Doc fix.
18821 (elint-preloaded-env): New variable.
18822 (elint-unknown-builtin-args): Add an entry for encode-time.
18823 (elint-extra-errors): Make it a variable rather than a constant.
18824 (elint-preloaded-skip-re): New constant.
18825 (elint-directory): Skip files matching elint-directory-skip-re.
18826 (elint-features): New variable, local to linted buffers.
18827 (elint-update-env): Initialize elint-features. Possibly add
18828 elint-preloaded-env to the buffer's environment.
18829 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18831 (elint-init-form): New function, extracted from elint-init-env.
18832 Make non-list forms a warning rather than an error.
18833 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18834 easy-menu-define, put that adds an error-condition, and provide.
18835 When requiring cl, also require cl-macs. Really require cl, to handle
18836 some cl macros. Store required libraries in the list elint-features,
18837 so as not to re-load them. Treat cc-require like require.
18838 (elint-init-env): Call elint-init-form to do the work.
18839 Handle eval-and-compile and such like.
18840 (elint-add-required-env): Do not clear messages.
18841 (elint-special-forms): Add handlers for function, defalias, if, when,
18843 (elint-form): Add optional argument to ignore elint-special-forms,
18844 useful to prevent recursive calls from handlers. Doc fix.
18845 Respect elint-ignored-warnings.
18846 (elint-form): Respect elint-ignored-warnings.
18847 (elint-bound-variable, elint-bound-function): New variables.
18848 (elint-unbound-variable): Respect elint-bound-variable.
18849 (elint-get-args): Respect elint-bound-function.
18850 (elint-check-cond-form): Add some simple handling for (f)boundp and
18852 (elint-check-defalias-form): New handler.
18853 (elint-check-let-form): Make an empty let a warning rather than an
18855 (elint-check-setq-form): Make an empty setq a warning rather than an
18856 error. Respect elint-ignored-warnings.
18857 (elint-check-defvar-form): Accept null doc-strings.
18858 (elint-check-conditional-form): New handler. Does some simple-minded
18859 checking of featurep and (f)boundp tests.
18860 (elint-put-function-args): New function.
18861 (elint-initialize): Use elint-scan-doc-file rather than
18862 elint-find-builtin-variables. Use elint-put-function-args.
18863 Possibly scan preloaded-file-list.
18864 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18865 extend to handle functions as well.
18867 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18869 * linum.el (linum-delete-overlays, linum-update-window):
18870 Do not modify the right margin. (Bug#3971)
18872 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18874 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18875 Use nxml-mode instead of xml-mode.
18877 2009-09-21 Kevin Ryde <user42@zip.com.au>
18879 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18881 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18883 * net/dig.el (dig-mode): Use define-derived-mode.
18885 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18887 * vc-dispatcher.el (vc-do-command): Return the process object in
18888 the asynchronous case. Use when instead of if. Do not run
18889 vc-exec-after to display a message if not enabled. (Bug#4463)
18891 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18892 properties to the stash strings.
18893 (vc-git-stash-list): Return a list of strings.
18894 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18895 (vc-git-stash-show-at-point): New functions.
18896 (vc-git-stash-map): New keymap.
18898 * register.el (ctl-x-r-map): Define the keys here instead of
18901 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18903 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18904 list, to workaround performance problem (bug#4485).
18906 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18908 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18910 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18912 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18913 Document that this option is not recommended to use.
18915 2009-09-19 Glenn Morris <rgm@gnu.org>
18917 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18920 * calc/calc-alg.el (var):
18921 * calc/calcalg2.el (var): Define for compiler.
18923 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18925 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18926 Doc fix (Bug#3932).
18928 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18930 * time-stamp.el (time-stamp-month-dd-yyyy)
18931 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18932 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18933 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18934 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18935 Remove functions that have been obsolete since 1995 (Bug#4436).
18937 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18938 indent buffer only if called interactively (Bug#4452).
18940 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18941 Eli Zaretskii <eliz@gnu.org>
18943 This fixes bug#4197 (merged to bug#865, though not identical).
18944 * server.el (server-auth-dir): Add docstring note about FAT32.
18945 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18946 but warn against using them.
18948 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18950 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18951 older GDB where there is no has_more field.
18953 2009-09-19 Glenn Morris <rgm@gnu.org>
18955 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18957 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18959 * files.el (auto-mode-alist): Change default for XML files to nXML
18962 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18964 * server.el (server-ensure-safe-dir): Pass 'integer
18965 to `file-attributes', as suggested.
18967 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18969 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18970 (dired-query): Use read-key.
18972 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18974 * cus-start.el (ns-use-qd-smoothing): Remove.
18976 2009-09-18 Glenn Morris <rgm@gnu.org>
18978 * allout.el (top-level): Remove unnecessary progn.
18980 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18982 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18983 definition of abbrev table.
18985 * speedbar.el (speedbar-track-mouse):
18986 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18987 * net/eudc.el (eudc-expand-inline):
18988 * net/newst-backend.el (newsticker--cache-read-feed):
18989 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18990 condition-case handlers.
18992 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18994 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18995 (gdb-var-list): Add an element for has_more field.
18996 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18997 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18998 (gdb-var-update-handler-1): Parse output of dynamic variable
18999 objects (STL containers).
19000 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19001 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19003 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19005 (gud-speedbar-buttons): Make node expandable if expression "has more"
19008 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19010 * startup.el (emacs-quick-startup): Remove variable and all uses.
19011 (command-line): Set `inhibit-x-resources' instead.
19012 (command-line-1): Use `inhibit-x-resources' instead.
19014 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19016 * subr.el: Fix last change to avoid using the `unless' macro,
19017 which breaks bootstrapping.
19019 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19021 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19022 extended definitions, in case we reload subr.el after having
19024 (eval-next-after-load): Mark as obsolete.
19026 2009-09-17 Juri Linkov <juri@jurta.org>
19028 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19029 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19030 (menu-bar-showhide-menu, menu-bar-tools-menu)
19031 (menu-bar-describe-menu, menu-bar-help-menu)
19032 (minibuffer-local-completion-map, minibuffer-local-map):
19035 2009-09-17 Glenn Morris <rgm@gnu.org>
19037 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19038 arguments, whether or not it has a handler.
19040 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19042 * simple.el (hard-newline): Give it a doc-string.
19044 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19045 (lisp-mode-syntax-table): Give them doc-strings.
19047 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19049 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19050 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19051 (menu-bar-options-menu, menu-bar-showhide-menu)
19052 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19053 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19054 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19055 (menu-bar-options-menu, menu-bar-tools-menu)
19056 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19057 (menu-bar-help-menu):
19058 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19061 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19062 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19063 calls for the menu names and :help.
19065 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19067 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19068 to :minor-mode-function (bug#4455).
19070 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19072 * startup.el (command-line): Initialize the window-system after
19073 processing the command-line.
19075 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19076 page-delimiter matches the empty string.
19078 2009-09-16 Glenn Morris <rgm@gnu.org>
19080 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19081 byte-compile-not-obsolete-var. It's a list now.
19082 (byte-compile-not-obsolete-funcs): New variable.
19083 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19084 byte-compile-not-obsolete-funcs.
19085 (byte-compile-variable-ref, byte-compile-defvar): Update for
19086 byte-compile-not-obsolete-vars name-change and list nature.
19087 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19088 and variables behind (f)boundp tests.
19089 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19091 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19093 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19095 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19097 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19098 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19101 2009-09-15 Stephen Eglen <stephen@gnu.org>
19103 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19104 the virtual-buffers, use the name of the buffer specified by
19105 find-file-noselect, as the match may be a symlink. (This was a
19106 problem if the target and the symlink had different names.)
19108 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19110 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19112 * desktop.el (desktop-path): Check user-emacs-directory.
19114 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19116 * loadup.el: Use after-load-functions to GC after loading each file.
19117 Remove the explicit GC calls that used to be sprinkled around.
19119 * subr.el (after-load-functions): New hook.
19120 (do-after-load-evaluation): Run it. Use string-match-p to detect
19121 `obsolete' packages, rather than painfully extracting the relevant
19124 2009-09-15 Glenn Morris <rgm@gnu.org>
19126 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19127 free variable `doc'.
19129 * dired.el (dired-mode-map): Add menu entry for async shell command.
19131 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19132 variables, also consider the .elc files, since the .el files are
19133 normally gzipped (subsequent code locates the .el.gz from the .elc).
19135 * calc/calc-prog.el (arglist): Define for compiler.
19137 * calendar/diary-lib.el (diary-display-function): Change the default to
19139 (body): Define for compiler.
19141 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19142 (byte-compile-file-form, byte-compile-lambda)
19143 (byte-compile-top-level-body, byte-compile-form)
19144 (byte-compile-variable-ref, byte-compile-setq)
19145 (byte-compile-setq-default, byte-compile-body)
19146 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19147 (batch-byte-compile): Give some more local variables with common names
19148 a "bytecomp-" prefix to avoid masking warnings about free variables.
19150 * startup.el (command-line-1): Give local variables with common names a
19151 distinguishing prefix, so as not to hide free variable warnings during
19154 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19155 clever and add a suffix to make a unique name, just let the user decide
19156 whether or not to overwrite it. If the input is a directory, write the
19157 default filename to that directory. (Bug#4388)
19158 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19159 is a filename-as-a-directory.
19161 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19163 * textmodes/page.el (what-page): Don't move to beginning of line.
19164 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19166 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19168 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19170 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19172 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19173 * help.el (help-for-help-internal): Add purecopy calls for text.
19175 * vc.el (top): print-log method now takes an optional SHORTLOG
19176 argument. Add a new method: root.
19177 (vc-root-diff, vc-print-root-log): New functions.
19178 (vc-log-short-style): New variable.
19179 (vc-print-log-internal): Add support for showing short logs.
19181 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19182 vc-print-root-log and vc-print-root-diff.
19184 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19185 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19186 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19189 * vc-cvs.el (vc-cvs-print-log):
19190 * vc-mtn.el (vc-mtn-print-log):
19191 * vc-rcs.el (vc-rcs-print-log):
19192 * vc-sccs.el (vc-sccs-print-log):
19193 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19194 that is ignored for now.
19196 * vc-mtn.el (vc-mtn-annotate-command):
19197 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19199 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19201 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19202 to function-key-map, and give them ascii-character property.
19203 * term/x-win.el (x-alternatives-map):
19204 * term/ns-win.el (ns-alternatives-map):
19205 * term/internal.el (msdos-key-remapping-map):
19206 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19208 2009-09-14 Glenn Morris <rgm@gnu.org>
19210 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19211 temp-buffers (2009-09-12).
19213 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19215 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19216 the new read-key function.
19218 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19220 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19221 is defined (Bug#4405).
19223 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19225 * recentf.el (recentf-cleanup): Use a hash table to find
19226 duplicates (Bug#4407).
19228 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19230 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19231 kp-0 to ascii equivalents (Bug#4325).
19233 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19235 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19237 * eshell/em-hist.el:
19238 * eshell/em-dirs.el (eshell-complete-user-reference):
19239 Declare pcomplete functions and variables to avoid compiler warnings.
19241 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19243 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19244 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19245 * eshell/em-alias.el (eshell-aliases-file):
19246 * eshell/em-hist.el (eshell-history-file-name):
19247 Use expand-file-name instead of concat to make file names (Bug#4308).
19249 2009-09-13 Glenn Morris <rgm@gnu.org>
19251 * ediff-merg.el (ediff-do-merge):
19252 * filesets.el (filesets-run-cmd):
19253 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19254 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19255 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19256 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19257 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19258 Replace empty `let's with `progn'.
19260 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19262 * mail/sendmail.el (send-mail-function):
19263 * tooltip.el (tooltip-mode):
19264 * simple.el (transient-mark-mode):
19265 * rfn-eshadow.el (file-name-shadow-mode):
19266 * frame.el (blink-cursor-mode):
19267 * font-core.el (global-font-lock-mode):
19268 * files.el (temporary-file-directory)
19269 (small-temporary-file-directory, auto-save-file-name-transforms):
19270 * epa-hook.el (auto-encryption-mode):
19271 * composite.el (global-auto-composition-mode):
19272 Use custom-initialize-delay.
19273 * startup.el (command-line): Don't explicitly call
19274 custom-reevaluate-setting for all the above vars.
19275 * custom.el (custom-initialize-safe-set)
19276 (custom-initialize-safe-default): Delete.
19278 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19280 * term/x-win.el (x-initialize-window-system):
19281 * term/w32-win.el (w32-initialize-window-system):
19282 * term/ns-win.el (ns-initialize-window-system): Don't call
19283 mouse-wheel-mode since it's enabled globally by default already.
19285 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19286 actually define the variable, but only silences the byte-compiler.
19287 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19288 before looking it up.
19289 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19292 2009-09-12 Glenn Morris <rgm@gnu.org>
19294 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19296 (elint-add-required-env): Don't beep on error.
19297 (elint-forms): In case of error, return ENV unchanged.
19298 (elint-init-env): Skip non-list forms.
19299 (elint-log): Handle unknown file positions.
19301 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19303 * epg.el (epg-make-context): Add autoload cookie.
19304 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19305 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19306 (epg-verify-string, epg-start-sign, epg-sign-file)
19307 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19308 (epg-encrypt-string, epg-start-export-keys)
19309 (epg-export-keys-to-file, epg-export-keys-to-string)
19310 (epg-start-import-keys, epg-import-keys-from-file)
19311 (epg-import-keys-from-string, epg-start-receive-keys)
19312 (epg-receive-keys, epg-import-keys-from-server)
19313 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19314 (epg-sign-keys, epg-start-generate-key)
19315 (epg-generate-key-from-file, epg-generate-key-from-string):
19316 Remove autoload cookie.
19318 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19320 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19321 reevaluation of trash-directory.
19323 * mwheel.el: Fix last change.
19324 (mouse-wheel-mode): New defvar.
19325 (mouse-wheel-mode): Remove autoload cookie.
19327 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19329 * mwheel.el (mwheel-installed-bindings): New var.
19330 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19331 the bindings we set last time. Use custom-initialize-delay.
19332 * loadup.el: Load mwheel after term/*-win.el.
19333 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19334 and mouse-wheel-up-event now that their first evaluation is done
19335 sufficiently late to be correct.
19337 * startup.el (tutorial-directory): Make it a defcustom.
19338 Use custom-initialize-delay rather than eval-at-startup to set it.
19339 * image.el (image-load-path): Make it a defcustom.
19340 Use custom-initialize-delay rather than eval-at-startup to set it.
19341 * subr.el (eval-at-startup): Remove.
19342 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19344 * subr.el (do-after-load-evaluation): Warn the user after loading an
19347 2009-09-12 Glenn Morris <rgm@gnu.org>
19349 * proced.el (proced-mark-alt): Remove alias.
19350 (proced-mode-map): Remove proced-mark-alt.
19352 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19353 Elint file and directory. Remove initialization entry.
19355 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19357 (elint-current-buffer): Set mode-line-process.
19358 (elint-init-env): Handle define-derived-mode.
19359 Fix declare-function with unspecified arglist. Guard against odd
19360 defalias statements (eg iso-insert's 8859-1-map).
19361 (elint-add-required-env): Use a temp buffer.
19362 (elint-form): Just print the function/macro name, not the whole form.
19363 Return env unchanged if we fail to parse a macro.
19364 (elint-forms): Guard against parse errors.
19365 (elint-output): New function, to handle batch mode.
19366 (elint-log-message): Add optional argument. Use elint-output.
19367 (elint-set-mode-line): New function.
19369 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19371 * emacs-lisp/elp.el (elp-not-profilable): Add more
19372 functions (Bug#4233).
19374 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19376 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19377 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19379 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19381 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19382 (gdb-var-list-children): Use json parsing.
19384 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19386 * progmodes/js.el (js--proper-indentation): Handle the case where
19387 char-before is null. Reported by Deniz Dogan.
19389 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19391 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19393 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19395 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19396 (epg-digest-algorithm-alist): Add SHA224.
19397 (epg-context-set-passphrase-callback)
19398 (epg-context-set-progress-callback): Add description about
19401 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19403 * custom.el (custom-delayed-init-variables): New var.
19404 (custom-initialize-delay): New function.
19405 * startup.el (command-line): "Re"evaluate all vars in
19406 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19407 explicitly any more.
19408 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19409 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19411 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19413 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19415 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19416 (gdb-var-update-handler): Use json parsing.
19418 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19420 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19421 decode annotated text, regardless of language environment. (Bug#2741)
19423 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19425 * Makefile.in (autoloads): Make rmail.el writable as well.
19427 2009-09-11 Glenn Morris <rgm@gnu.org>
19429 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19431 * dired.el: Regenerate with extracted autoloads.
19432 * Makefile.in (autoloads): Make dired.el writable.
19434 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19435 * ibuffer.el: Regenerate with extracted autoloads.
19436 * Makefile.in (autoloads): Make ibuffer.el writable.
19438 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19439 * version.el (emacs-copyright, emacs-major-version)
19440 (emacs-minor-version): Reformat doc-strings for make-docfile.
19442 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19443 functions and variables, since they must be stuff specific to some other
19445 (apropos-print): Make mouse-click message less specific about button.
19447 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19448 that records where a macro was defined.
19449 * help-fns.el (describe-function-1): Mention if a function has a
19451 * help-mode.el (help-function-cmacro): New button.
19453 * locate.el (top-level): Always require dired.
19454 (locate-mode-map): Initialize inside the defvar.
19456 * net/ange-ftp.el (dired-compress-file): Declare.
19457 (ange-ftp-dired-compress-file): Add doc string.
19459 * term/ns-win.el (x-display-name, x-setup-function-keys):
19460 Unify doc-strings with X versions.
19462 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19464 * emulation/crisp.el (crisp-mode-map): Move initialization
19466 (crisp-mode): Use define-minor-mode.
19468 * progmodes/xscheme.el (xscheme-evaluation-commands):
19469 Put a :advertised-binding property rather than using
19470 advertised-xscheme-send-previous-expression.
19471 (advertised-xscheme-send-previous-expression): Declare obsolete.
19472 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19474 (crisp-mode): Add corresponding bindings to
19475 undo's :advertised-binding instead.
19476 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19477 than using dired-advertised-find-file.
19478 (dired-advertised-find-file):
19479 * simple.el (advertised-undo):
19480 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19481 (widget-keymap): Put a :advertised-binding property rather
19482 than using advertised-widget-backward.
19483 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19484 than using advertised-undo.
19485 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19487 2009-09-10 Simon South <ssouth@slowcomputing.org>
19489 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19490 Mark mode is enabled and region is active; otherwise indent or
19491 insert TAB as usual.
19492 (delphi-mode): Update description of TAB-key binding.
19494 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19496 * subr.el (define-key-rebound-commands): Mark obsolete.
19497 * startup.el (precompute-menubar-bindings): Remove.
19498 (normal-top-level): Remove obsolete code that tried to precompute
19500 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19501 define-key-rebound-commands and precompute-menubar-bindings.
19503 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19505 * net/imap.el (imap-interactive-login): Better messages.
19506 (imap-open): Fix bug with renamed buffer on reconnect.
19507 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19508 for easier debugging and cleaner code. On successful (guessed based on
19509 server capabilities) secondary authentication, set imap-state
19511 (imap-last-authenticator): Define imap-last-authenticator as a variable
19514 2009-09-10 Glenn Morris <rgm@gnu.org>
19516 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19518 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19519 (byte-compile-file-form-autoload): Don't warn about unknown functions
19520 where the autoload statement comes after the use.
19521 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19522 that any handlers inside the body (eg require) are in turn respected.
19524 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19527 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19528 and syntax and abbrev tables basic docs, if they don't have any.
19530 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19532 * international/mule-cmds.el (top-level): Require cl when compiling.
19533 (view-hello-file): Use default-value rather than
19534 default-enable-multibyte-characters.
19536 * progmodes/fortran.el: Move all safe and risky properties into the
19539 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19540 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19541 * mail/undigest.el:
19542 Put autoloads in rmail.el rather than loaddefs.el.
19543 * mail/rmail.el: Regenerate with extracted autoloads.
19545 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19546 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19548 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19550 Reported in thread for Bug#4375.
19551 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19552 "-data-evaluate-expression" instead of print.
19553 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19554 (gdb-tooltip-print): Parse output from above MI command.
19555 (gdb): Revert 2009-08-11 change. User should detach inferior
19558 Remove the word "separate" from IO functions as inferior
19559 output is now never displayed in the GUD buffer.
19561 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19563 * startup.el (command-line-normalize-file-name): On Windows and
19564 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19566 2009-09-10 Juri Linkov <juri@jurta.org>
19568 * isearch.el (isearch-text-char-description): Propertize escape
19569 character sequences with the `escape-glyph' face. (Bug#4344)
19571 * simple.el (shell-command): Set asynchronous process filter to
19572 `comint-output-filter'. (Bug#4343)
19574 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19575 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19576 the list. Move "asm" to the bottom.
19577 (grep-find-ignored-directories): Add `choice' with nil value
19578 to empty the list easily.
19579 (grep-find-ignored-files): New option.
19580 (grep-files-history): Set to nil by default instead of '("ch" "el").
19581 (grep-compute-defaults): Add "<X>" to `grep-template'.
19582 (grep-read-files): Bind new local variables `default-alias' and
19583 `default-extension'. Use a list of default values for the file prompt.
19584 (lgrep): Add `--exclude=' command line options composed from
19585 `grep-find-ignored-files'.
19586 (rgrep): Add `-name' command line options composed from
19587 `grep-find-ignored-files'. (Bug#4301)
19589 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19591 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19594 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19596 * calendar/time-date.el (autoload):
19597 Expand define-obsolete-function-alias into defalias and make-obsolete
19598 for old Emacsen that Gnus supports.
19599 (with-no-warnings): Define it for old Emacsen.
19600 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19602 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19603 float-time is available; suppress compile warning for time-to-seconds.
19605 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19607 * net/imap.el (imap-message-map): Docstring fix.
19609 2009-09-09 Glenn Morris <rgm@gnu.org>
19611 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19612 line numbers too. (Bug#4374)
19614 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19616 * smerge-mode.el (smerge-remove-props, smerge-refine):
19617 Use with-silent-modifications (bug#4342).
19619 * subr.el (with-silent-modifications): New macro.
19621 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19623 * files.el (top-level): Require `cl' when compiling.
19625 2009-09-07 Glenn Morris <rgm@gnu.org>
19627 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19629 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19630 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19632 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19634 * vc-git.el (vc-git-annotate-command): Use separator to parse
19635 arguments correctly.
19637 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19639 * proced.el (proced-mode): Doc fix.
19641 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19643 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19645 (tramp-do-file-attributes-with-ls): Check for file existence at
19647 (tramp-do-file-attributes-with-stat): Likewise.
19648 (tramp-convert-file-attributes): Return nil when attr is nil.
19650 2009-09-05 Glenn Morris <rgm@gnu.org>
19652 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19653 properties to this button.
19654 (diary-fancy-display): Don't extend the button to the final newline.
19655 (diary-fancy-display-mode): Continue to define "q" as a local key.
19657 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19660 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19662 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19663 (byte-compile-dest-file-function): New option.
19664 (byte-compile-dest-file): Doc fix.
19665 Obey byte-compile-dest-file-function.
19666 (byte-compile-cl-file-p): New function.
19667 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19668 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19669 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19670 than for file being previously loaded.
19671 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19672 (byte-compile-file-form-require): Handle the case where requiring a file
19673 indirectly causes CL to be loaded.
19675 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19677 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19678 before killing the old buffer, since by the time `kill-buffer' is
19679 run so many buffer variables have been set to nil that it may not
19680 behave as expected. (Bug#4061)
19682 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19684 * files.el (find-alternate-file): If the old buffer is modified
19685 and visiting a file, behave similarly to `kill-buffer' when
19686 killing it, thus reverting to the pre-1.878 behavior; see
19687 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19688 for discussion. Also, consult `buffer-file-name' as a variable
19689 not as a function, for consistency with the rest of the code.
19691 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19693 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19694 also when adding a new directory.
19696 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19699 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19701 * files.el (locate-file-completion-table): Make it provide boundary
19702 information, so partial-completion works better.
19704 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19706 * mail/footnote.el (Footnote-text-under-cursor):
19707 Check footnote-text-marker-alist before using it (bug#4324).
19709 2009-09-04 Glenn Morris <rgm@gnu.org>
19711 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19712 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19713 * play/solitaire.el, play/tetris.el:
19714 Remove leading * from defcustom and defface docs.
19716 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19718 (diary-fancy-overriding-map): New variable.
19719 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19722 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19725 2009-09-03 Glenn Morris <rgm@gnu.org>
19727 * arc-mode.el (archive-mode):
19728 * dos-fns.el (set-default-process-coding-system):
19729 * man.el (Man-getpage-in-background):
19730 * menu-bar.el (menu-bar-describe-menu):
19731 * server.el (server-process-filter):
19732 * startup.el (command-line):
19733 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19734 * w32-fns.el (set-default-process-coding-system):
19735 * x-dnd.el (x-dnd-handle-file-name):
19736 * international/mule-cmds.el (mule-menu-keymap)
19737 (set-default-coding-systems, language-info-alist, set-language-info)
19738 (set-language-environment, standard-display-european-internal)
19739 (set-locale-environment):
19740 * international/mule-diag.el (mule-diag):
19741 * mail/emacsbug.el (report-emacs-bug):
19742 * mail/rmail.el (rmail-mode):
19743 * mail/sendmail.el (mail-setup):
19744 Use default-value rather than default-enable-multibyte-characters.
19746 * progmodes/f90.el: Move all safe properties into the defcustoms.
19747 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19749 * calendar/appt.el (appt-check):
19750 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19751 (diary-check-diary-file, diary-list-entries)
19752 (diary-include-other-diary-files, diary-simple-display)
19753 (diary-fancy-display, diary-print-entries)
19754 (diary-mark-included-diary-files, diary-make-entry):
19755 Don't call substitute-in-file-name on diary-file.
19757 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19758 Stefan Monnier <monnier@iro.umontreal.ca>
19760 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19761 (footnote-mode-map): Move initialization into the declaration.
19762 (footnote-minor-mode-map): Define it rather than changing global-map.
19763 (footnote-mode): Use define-minor-mode.
19765 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19767 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19768 (tramp-do-file-attributes-with-perl)
19769 (tramp-do-file-attributes-with-stat): Rename from
19770 `tramp-handle-file-attributes-with-*'.
19771 (tramp-handle-file-attributes): Use them.
19772 (tramp-do-directory-files-and-attributes-with-perl)
19773 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19774 `tramp-handle-directory-files-and-attributes-with-*'.
19775 (tramp-handle-directory-files-and-attributes): Use them.
19776 (tramp-method-out-of-band-p): Additional parameter SIZE.
19777 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19778 (tramp-handle-write-region): Use it.
19779 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19780 (tramp-handle-vc-registered): Check, whether the first run did
19781 return files to be tested.
19782 (tramp-advice-make-auto-save-file-name): Do not call directly
19783 `tramp-handle-make-auto-save-file-name', because this would bypass
19784 the locking mechanism.
19786 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19787 (file-remote-p, process-file, start-file-process, set-file-times)
19788 (tramp-compat-file-attributes): Compatibility functions shall not
19789 call directly `tramp-handle-*', because this would bypass the
19791 (tramp-compat-number-sequence): New defun.
19793 2009-09-02 Glenn Morris <rgm@gnu.org>
19795 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19796 alias for float-time.
19797 (time-to-number-of-days): In Emacs, use float-time.
19798 * net/newst-backend.el (time-add): Suppress warnings from compat
19800 * time.el (emacs-uptime, emacs-init-time):
19801 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19802 Use float-time rather than time-to-seconds.
19804 * minibuffer.el (completion-initials-expand): Fix typo.
19806 * faces.el (modeline, modeline-inactive, modeline-highlight)
19807 (modeline-buffer-id):
19808 * info.el (info-menu-5): Mark these face aliases as obsolete.
19810 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19812 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19814 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19815 no "--thread" option.
19816 (gdb-stopped): Don't print "Switched to thread" message when it is
19819 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19821 * minibuffer.el (completion-try-completion)
19822 (completion-all-completions): Remove ill-defined (and
19823 mistakenly installed and luckily never used nor documented)
19824 `completion-styles' property.
19825 (completion-initials-expand, completion-initials-all-completions)
19826 (completion-initials-try-completion): New functions.
19827 (completion-styles-alist): Add doc to each entry.
19828 Add new `initials' entry.
19830 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19832 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19833 MI command -var-evaluate-expression.
19834 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19835 and tweak for case of string child.
19836 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19838 2009-09-01 Glenn Morris <rgm@gnu.org>
19840 * add-log.el (change-log-date-face, change-log-name-face)
19841 (change-log-email-face, change-log-file-face, change-log-list-face)
19842 (change-log-conditionals-face, change-log-function-face)
19843 (change-log-acknowledgement-face):
19844 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19845 (custom-modified-face, custom-set-face, custom-changed-face)
19846 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19847 (custom-documentation-face, custom-state-face, custom-comment-face)
19848 (custom-comment-tag-face, custom-variable-tag-face)
19849 (custom-variable-button-face, custom-face-tag-face)
19850 (custom-group-tag-face-1, custom-group-tag-face):
19851 * diff-mode.el (diff-header-face, diff-file-header-face)
19852 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19853 (diff-added-face, diff-changed-face, diff-function-face)
19854 (diff-context-face, diff-nonexistent-face):
19855 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19856 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19857 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19858 (Info-title-4-face):
19859 * isearch.el (isearch-lazy-highlight-face):
19860 * log-view.el (log-view-file-face, log-view-message-face):
19861 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19862 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19863 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19865 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19866 (smerge-base-face, smerge-markers-face):
19867 * wid-edit.el (widget-documentation-face, widget-button-face)
19868 (widget-field-face, widget-single-line-field-face)
19869 (widget-inactive-face, widget-button-pressed-face):
19870 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19871 (woman-addition-face):
19872 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19873 (eshell-ls-executable-face, eshell-ls-readonly-face)
19874 (eshell-ls-unreadable-face, eshell-ls-special-face)
19875 (eshell-ls-missing-face, eshell-ls-archive-face)
19876 (eshell-ls-backup-face, eshell-ls-product-face)
19877 (eshell-ls-clutter-face):
19878 * eshell/em-prompt.el (eshell-prompt-face):
19879 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19880 * obsolete/old-whitespace.el (whitespace-highlight-face):
19881 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19882 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19883 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19884 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19885 (antlr-font-lock-literal-face):
19886 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19887 (ebrowse-root-class-face, ebrowse-file-name-face)
19888 (ebrowse-default-face, ebrowse-member-attribute-face)
19889 (ebrowse-member-class-face, ebrowse-progress-face):
19890 * progmodes/make-mode.el (makefile-space-face):
19891 * progmodes/sh-script.el (sh-heredoc-face):
19892 * textmodes/flyspell.el (flyspell-incorrect-face)
19893 (flyspell-duplicate-face):
19894 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19895 * textmodes/texinfo.el (texinfo-heading-face):
19896 Mark face aliases with "-face" suffix as obsolete.
19898 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19901 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19902 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19903 easy-menu-define wants to modify these.
19905 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19907 * net/browse-url.el (browse-url-file-url):
19908 * term/internal.el (dos-codepage-setup):
19909 Use default-value rather than default-enable-multibyte-characters.
19911 * progmodes/etags.el (etags-goto-tag-location):
19912 * progmodes/flymake.el (flymake-highlight-line)
19913 (flymake-goto-file-and-line, flymake-goto-line):
19914 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19915 (gdb-goto-breakpoint):
19916 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19917 * progmodes/python.el (python-find-function)
19918 (python-pdbtrack-track-stack-file):
19919 * progmodes/verilog-mode.el (verilog-surelint-off):
19920 * term/ns-win.el (ns-open-file-select-line):
19921 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19922 Use forward-line rather than goto-line.
19924 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19925 * textmodes/reftex-index.el (reftex-display-index):
19926 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19927 * textmodes/reftex-toc.el (reftex-toc):
19928 Remove unnecessary bindings of default-major-mode (all are followed by
19929 major-mode check and possible mode switch).
19931 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19933 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19934 Handle watchpoints (bug#4282).
19935 (def-gdb-thread-buffer-command): Enable thread to be selected by
19936 clicking without selecting threads buffer first.
19937 (gdb-current-context-command): Use selected frame so that "up",
19938 "down" etc work in the GUD buffer.
19939 (gdb-update): Find selected frame before rendering stack buffer.
19940 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19942 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19944 * progmodes/sym-comp.el (displayed-completions): Remove.
19945 (symbol-complete): Use minibuffer-complete.
19947 2009-08-31 Glenn Morris <rgm@gnu.org>
19949 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19951 * apropos.el (apropos-symbols-internal):
19952 Handle (obsolete) face aliases.
19954 * faces.el (describe-face): Adjust the output format to be more like
19955 describe-variable, and to mention (obsolete) face aliases.
19956 Adjust the whitespace so that help-setup-xref works.
19958 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19959 * calendar/diary-lib.el (diary-button-face):
19960 Mark these face aliases as obsolete.
19962 * calendar/calendar.el (calendar-today): Doc fix.
19964 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19966 * progmodes/gdb-mi.el (gdb-control-all-threads)
19967 (gdb-control-current-thread): Force tool bar update.
19968 (gdb-non-stop-handler): New function.
19969 (gdb-init-1): Use it to test if non-stop mode is supported.
19970 Remove unused gdbmi buffer type.
19972 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19974 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19975 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19977 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19979 * comint.el (comint-exec-1): Check command is non-null first.
19980 Part of gdb-mi.el change (2009-08-28).
19982 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19984 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19986 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19988 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19989 instead of `dolist' to avoid a recursive require when bootstrapping.
19991 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19993 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19995 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19997 * net/imap.el (imap-send-command): Simplify.
19998 (imap-wait-for-tag): point-max -> buffer-size.
20000 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20002 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20003 with constant argument.
20005 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20007 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20009 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20010 Change default, since most of our files don't have a history.
20011 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20014 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20017 * calc/calc.el: Improve commenting convention.
20018 (calc-digit-map, toplevel): Simplify.
20020 * comint.el (comint-insert-input): Be careful to only set point if we
20021 don't delegate to some other command.
20023 * proced.el (proced-signal-list): Make it an alist.
20024 (proced-grammar-alist): Capitalize names.
20025 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20026 Disable undo manually and make it read-only.
20027 Use completion-annotate-function.
20029 * minibuffer.el (minibuffer-message): If the current buffer is not
20030 a minibuffer, insert the message in the echo area rather than at the
20032 (completion-annotate-function): New variable.
20033 (minibuffer-completion-help): Use it.
20034 (completion--embedded-envvar-table): Environment vars are
20035 always case-sensitive.
20037 2009-08-30 Glenn Morris <rgm@gnu.org>
20039 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20040 from fortran-current-defun.
20041 (fortran-beginning-of-subprogram): Be more precise about finding the
20042 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20043 (fortran-end-of-subprogram): Simplify.
20044 (fortran-current-defun): Use fortran-start-prog-re.
20046 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20048 * subr.el (do-after-load-evaluation): Simplify.
20050 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20052 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20054 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20055 (vc-rcs-print-log): Use it.
20057 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20059 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20061 * paths.el (abbrev-file-name): Move to abbrev.el.
20062 * abbrev.el (abbrev-file-name): Move from paths.el.
20063 Obey user-emacs-directory.
20064 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20065 user-emacs-directory.
20066 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20067 abbrev-file-name and calc-settings-file any more.
20068 * startup.el (command-line): Recompute abbrev-file-name and
20069 abbreviated-home-dir.
20070 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20071 of the special code for when C-h bindings haven't been changed.
20072 (display-startup-echo-area-message): Use with-current-buffer.
20073 (command-line-1): Use a list of strings, rather than a list of lists
20074 of strings for longopts.
20076 * files.el (get-free-disk-space): Use / for default-directory.
20078 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20079 Use with-current-buffer.
20081 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20082 Recognize immutable variables like most-positive-fixnum.
20083 (byte-compile-setq-default): Check and warn if trying to assign
20084 to an immutable variable, or a non-variable.
20086 * progmodes/cc-vars.el (c-comment-continuation-stars):
20087 * progmodes/cc-engine.el (c-looking-at-bos):
20088 * progmodes/cc-cmds.el (c-toggle-auto-state)
20089 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20090 (c-comment-line-break-function): Add version of obsolescence.
20092 2009-08-28 Juri Linkov <juri@jurta.org>
20094 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20095 associated with `archive-mode'.
20097 * image.el (image-type-header-regexps): Use only JPEG magic number
20098 to determine JPEG images, and don't use `image-jpeg-p' because
20099 Emacs can display non-JFIF non-Exif JPEG images.
20101 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20103 * arc-mode.el (archive-mode):
20104 * emacs-lisp/re-builder.el (re-builder-unload-function):
20105 Protect against the default value of `major-mode' being nil.
20107 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20109 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20110 Fix typos in docstrings.
20112 * progmodes/js.el (js--macro-decl-re): Doc fix.
20113 (js--plain-method-re, js--split-name): Refloc docstring.
20114 (js--class-styles, js--make-merged-item, js--splice-into-items):
20115 Fix typos in docstrings; reflow docstrings.
20116 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20117 (js--variable-decl-matcher, js--inside-pitem-p)
20118 (js--parse-state-at-point, js--get-all-known-symbols)
20119 (js--symbol-history, js-find-symbol, js--js-references)
20120 (js--moz-interactor, js--js-encode-value, js--read-tab):
20121 Fix typos in docstrings.
20123 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20125 * textmodes/reftex.el (reftex-get-file-buffer-force):
20126 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20127 * emulation/viper.el (viper-go-away, viper-set-hooks):
20128 * emacs-lisp/re-builder.el (re-builder-unload-function):
20129 * emacs-lisp/bytecomp.el (byte-compile-file):
20130 * ses.el (ses-unload-function):
20131 * hexl.el (hexl-find-file):
20132 * files.el (normal-mode):
20133 * ehelp.el (with-electric-help):
20134 * autoinsert.el (auto-insert-alist):
20135 * arc-mode.el (archive-mode):
20136 Use (default-value 'major-mode) instead of default-major-mode.
20138 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20139 * international/mule.el (load-with-code-conversion):
20140 * emacs-lisp/debug.el (debug):
20141 * ediff-vers.el (ediff-rcs-get-output-buffer):
20142 * dired.el (dired-internal-noselect): Don't let-bind
20143 default-major-mode around code that doesn't use it.
20144 E.g. buffer creation via get-buffer-create doesn't use it.
20146 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20148 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20149 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20150 when writing the temp file. Otherwise, epa-file gets confused.
20151 (tramp-register-file-name-handlers): Make it a defun. Move also
20152 `epa-file-handler' to the front of `file-name-handler-alist'.
20154 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20156 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20157 start right after a ^M.
20158 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20159 (tramp-completion-file-name-regexp-separate)
20160 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20161 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20162 Don't modify last-coding-system-used by accident.
20163 (tramp-completion-file-name-handler): Apply the checks here,
20164 instead during registration.
20165 (tramp-register-file-name-handlers): Rename from
20166 `tramp-register-file-name-handler'. Register both
20167 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20168 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20170 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20172 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20173 Remove variable ...
20174 (gdb-init-1, gdb-display-separate-io-buffer)
20175 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20177 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20178 (gdb-inferior-filter): Use comint-output-filter to stop
20179 echoing and remove ^M characters.
20181 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20183 * emulation/viper-init.el (viper-restore-cursor-type):
20184 * emulation/cua-base.el (cua--update-indications):
20185 Replace default-cursor-type with (default-value 'cursor-type).
20187 * mail/sendmail.el (mail-recover-1):
20188 * international/mule-diag.el (describe-current-coding-system-briefly)
20189 (describe-current-coding-system):
20190 * international/mule-cmds.el (select-safe-coding-system)
20191 (select-message-coding-system)
20192 (set-language-environment-coding-systems, set-locale-environment):
20193 * hexl.el (hexl-insert-multibyte-char):
20194 * dos-w32.el (find-buffer-file-type-coding-system):
20195 * simple.el (what-cursor-position):
20196 Replace uses of default-buffer-file-coding-system
20197 with (default-value 'buffer-file-coding-system).
20199 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20200 Replace uses of default-cursor-in-non-selected-windows
20201 with (default-value 'cursor-in-non-selected-windows).
20202 Use with-current-buffer.
20204 * mail/feedmail.el: Use CL macros.
20205 (feedmail-run-the-queue, feedmail-send-it-immediately):
20206 * dos-w32.el (find-buffer-file-type): Replace uses of
20207 default-buffer-file-type with (default-value 'buffer-file-type).
20209 2009-08-28 Glenn Morris <rgm@gnu.org>
20211 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20212 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20213 Use default-value of major-mode rather than default-major-mode.
20215 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20217 * Makefile.in (update-elcfiles): Report left over elc files.
20219 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20220 expand-file-name and with-current-buffer.
20221 (mail-get-names, mail-directory): Use with-current-buffer.
20223 * vc.el (vc-read-revision): New function.
20224 (vc-version-diff, vc-merge): Use it.
20226 2009-08-27 Sam Steingold <sds@gnu.org>
20228 * simple.el (kill-do-not-save-duplicates): New user option.
20229 (kill-new): When it is non-nil, and the new string is the same as
20230 the latest kill, set replace to t to avoid duplicates in kill-ring.
20232 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20234 * net/tramp.el (tramp-handle-process-file): Do not flush all
20235 caches when `process-file-side-effects' is set.
20236 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20237 instead of `tramp-find-file-exists-command'.
20238 Unset `process-file-side-effects'.
20240 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20242 * net/tramp.el (tramp-methods): New method "rsyncc".
20243 (top): Add completion function for "rsyncc".
20244 (tramp-message-show-message): New defvar.
20245 (tramp-message, tramp-error): Use it.
20246 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20248 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20249 `tramp-methods' entry `copy-env' of "rsyncc".
20250 (tramp-vc-registered-read-file-names): New defconst.
20251 (tramp-vc-registered-file-names): New defvar.
20252 (tramp-handle-vc-registered): Implement optimization strategy.
20253 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20254 (tramp-vc-file-name-handler): New defun.
20255 (tramp-get-ls-command, tramp-get-test-command)
20256 (tramp-get-file-exists-command, tramp-get-remote-ln)
20257 (tramp-get-remote-perl, tramp-get-remote-stat)
20258 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20260 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20261 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20263 (tramp-get-file-property): Check for timestamps in
20264 `tramp-cache-inhibit-cache'.
20265 (tramp-set-file-property): Write timestamp.
20267 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20269 * language/japan-util.el (japanese-symbol-table): Add entries for
20272 * international/characters.el: Add category `j' to cp932-2-byte.
20274 2009-08-27 Kenichi Handa <handa@m17n.org>
20276 * international/fontset.el (build-default-fontset-data): New macro.
20277 (setup-default-fontset): Use build-default-fontset-data for CJK,
20278 tibetan, ethiopic, and ipa.
20280 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20282 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20283 (enable-multibyte-characters): Not customizable any more.
20285 * subr.el (default-mode-line-format, default-header-line-format)
20286 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20287 (default-direction-reversed, default-truncate-lines)
20288 (default-left-margin, default-tab-width, default-case-fold-search)
20289 (default-left-margin-width, default-right-margin-width)
20290 (default-left-fringe-width, default-right-fringe-width)
20291 (default-fringes-outside-margins, default-scroll-bar-width)
20292 (default-vertical-scroll-bar, default-indicate-empty-lines)
20293 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20294 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20295 (default-scroll-down-aggressively, default-fill-column)
20296 (default-cursor-type, default-buffer-file-type)
20297 (default-cursor-in-non-selected-windows)
20298 (default-buffer-file-coding-system, default-major-mode)
20299 (default-enable-multibyte-characters): Mark as obsolete.
20301 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20303 * vc-dir.el (vc-dir-update): Remove debug helper.
20305 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20307 2009-08-26 Sam Steingold <sds@gnu.org>
20309 * simple.el (save-interprogram-paste-before-kill): New user option.
20310 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20311 save the interprogram-paste into kill-ring before overriding it
20312 with the Emacs kill.
20314 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20316 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20317 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20318 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20319 and move to vc-rcs.el.
20320 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20322 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20323 (vc-rcs-update-changelog): Remove.
20324 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20325 and move to vc-rcs.el.
20327 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20328 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20330 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20331 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20332 vc.el, renamed to be RCS specific.
20334 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20336 (vc-cvs-update-changelog): Move here from vc.el.
20338 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20341 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20343 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20345 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20347 * vc-git.el (vc-git-register): Use "git add" for directories.
20348 (vc-git-stash, vc-git-stash-show): New functions.
20349 (vc-git-extra-menu-map): Bind them.
20351 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20352 directory correctly in case the item is a directory itself.
20354 * vc.el: Document the desired behavior for reverted files in the
20356 (vc-default-prettify-state-info): Remove function, unused.
20358 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20360 2009-08-26 Glenn Morris <rgm@gnu.org>
20362 * bindings.el (standard-mode-line-format): Reposition dashes in
20363 which-func entry. (Bug#4217)
20365 * files.el (enable-local-variables, enable-local-eval)
20366 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20368 (auto-mode-alist, ignored-local-variables)
20369 (save-some-buffers-action-alist): Move risky declarations to the
20371 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20372 (font-lock-defaults, format-alist, imenu--index-alist)
20373 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20374 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20375 (mode-line-modified, mode-line-mule-info, mode-line-position)
20376 (mode-line-process, mode-line-remote, outline-level)
20377 (parse-time-rules, rmail-output-file-alist)
20378 (special-display-buffer-names, vc-mode):
20379 Move risky declarations to the relevant files.
20380 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20381 (mode-line-modified, mode-line-process, mode-line-position)
20382 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20383 * font-core.el (font-lock-defaults):
20384 * format.el (format-alist):
20385 * vc-hooks.el (vc-mode):
20386 * window.el (special-display-buffer-names):
20387 * international/mule-cmds.el (input-method-alist):
20388 Define riskiness here (dumped file) rather than in files.el.
20389 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20390 * imenu.el (imenu-generic-expression, imenu--index-alist):
20391 * outline.el (outline-level):
20392 * time.el (display-time-string):
20393 * calendar/parse-time.el (parse-time-rules):
20394 * mail/rmailout.el (rmail-output-file-alist):
20395 Autoload riskiness here, rather than placing in files.el.
20397 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20399 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20401 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20403 * simple.el (process-file-side-effects): New defvar.
20405 * dired-aux.el (dired-show-file-type):
20406 * vc.el (vc-diff-internal):
20407 * vc-arch.el (vc-arch-diff):
20408 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20409 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20410 * vc-git.el (vc-git-registered, vc-git-working-revision)
20411 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20412 (vc-git--empty-db-p):
20413 * vc-hooks.el (vc-user-login-name):
20414 * vc-svn.el (vc-svn-registered, vc-svn-state)
20415 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20416 * progmodes/grep.el (grep-probe): Let-bind
20417 `process-file-side-effects' with nil.
20419 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20421 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20422 daemon. Replace ping by checking for running service for bluez
20423 and zeroconf. (Bug#4239)
20425 2009-08-25 Kevin Ryde <user42@zip.com.au>
20427 * net/dig.el (dig): Add autoload cookie.
20429 2009-08-25 Glenn Morris <rgm@gnu.org>
20431 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20432 load-history for absolute file-names.
20433 (byte-compile-file-form-require): Warn about use of the cl package.
20435 * format.el (format-alist): Doc fix.
20437 * play/bubbles.el (top-level): Don't require cl at run-time.
20439 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20442 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20444 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20446 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20448 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20450 * calc/calc-alg.el (math-trig-rewrite)
20451 (math-hyperbolic-trig-rewrite): New functions.
20452 (calc-simplify): Simplify trig functions when asked.
20454 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20456 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20458 2009-08-24 Kenichi Handa <handa@m17n.org>
20460 * language/ind-util.el (mapthread): Delete it.
20461 (combinatorial): New function.
20462 (indian--puthash-cv): Use combinatorial instead of mapthread.
20464 2009-08-22 Kevin Ryde <user42@zip.com.au>
20466 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20467 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20468 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20469 Clarify docstring that the value is strings not symbols.
20470 (checkdoc-list-of-strings-p): New function.
20472 2009-08-22 Glenn Morris <rgm@gnu.org>
20474 * files.el (auto-mode-alist):
20475 * hippie-exp.el (he-concat-directory-file-name):
20476 * lpr.el (lpr-windows-system, printer-name):
20477 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20478 * ps-print.el (ps-windows-system):
20479 * startup.el (command-line):
20480 * emulation/viper-ex.el (viper-glob-function):
20481 * international/mule-cmds.el (set-language-environment-coding-systems):
20482 * net/ange-ftp.el (ange-ftp-write-region):
20483 * obsolete/fast-lock.el (fast-lock-cache-name):
20484 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20485 unisoft-unix, vax-vms, win32, w32.
20487 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20488 given name if the pattern is not more specific.
20490 * calendar/lunar.el (lunar-phase-names): New option.
20491 (lunar-phase): Doc fix.
20492 (lunar-cycles-per-year): New constant.
20493 (lunar-index): New function.
20494 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20495 (lunar-phase-name): Use lunar-phase-names.
20496 (calendar-lunar-phases): Use format.
20497 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20499 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20500 Copy imenu-example--name-and-position function here for own use.
20501 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20503 * bs.el (bs--redisplay):
20504 * cus-edit.el (custom-redraw):
20505 * ibuffer.el (ibuffer-bury-buffer):
20506 * server.el (server-goto-line-column):
20507 * startup.el (command-line-1):
20508 * strokes.el (strokes-xpm-for-stroke):
20509 * term.el (term-display-buffer-line):
20510 * view.el (View-goto-line):
20511 * calc/calc.el (calc-do, calc-trail-buffer):
20512 * play/gamegrid.el (gamegrid-add-score-insecure):
20513 * progmodes/ada-mode.el (ada-compile-goto-error):
20514 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20515 (ebrowse-select-1st-to-9nth):
20516 * progmodes/cperl-mode.el (cperl-time-fontification):
20517 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20518 * progmodes/gud.el (gud-display-line):
20519 (idlwave-shell-display-line):
20520 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20521 * progmodes/make-mode.el (makefile-browser-toggle):
20522 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20523 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20524 * textmodes/picture.el (picture-draw-rectangle):
20525 * textmodes/reftex-index.el (reftex-index-goto-letter):
20526 (reftex-select-jump-to-previous):
20527 * textmodes/reftex-sel.el (reftex-find-start-point)
20528 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20529 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20530 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20531 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20532 * textmodes/two-column.el (2C-associated-buffer):
20533 Use forward-line rather than goto-line.
20535 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20538 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20539 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20540 (quick-check-list-to-regexp): Declare.
20542 * progmodes/make-mode.el (makefile-browser-insert-selection):
20543 Use goto-char rather than goto-line.
20545 * progmodes/prolog.el (compilation-error-regexp-alist)
20546 (compilation-forget-errors): Declare.
20548 2009-08-22 Juri Linkov <juri@jurta.org>
20550 * progmodes/grep.el (lgrep, rgrep): At the beginning
20551 set `dir' to `default-directory' unless `dir' is a non-nil
20552 readable directory. (Bug#4052)
20553 (lgrep, rgrep): Change a weird way to report an error
20554 from using `read-string' to using `error'.
20555 Instead of using interactive arguments in the function body,
20556 add new argument `confirm'.
20558 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20560 * textmodes/remember.el (remember-buffer):
20561 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20562 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20563 (icalendar-extract-ical-from-buffer):
20564 * net/newst-treeview.el (newsticker-groups-filename):
20565 * net/newst-backend.el (newsticker-cache-filename):
20566 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20567 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20568 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20569 (speedbar-buffers-line-path, speedbar-path-line)
20570 (speedbar-buffers-line-path):
20571 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20573 * epa.el (epa-display-verify-result):
20574 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20576 2009-08-21 Glenn Morris <rgm@gnu.org>
20578 * progmodes/js.el (inferior-moz-process): Fix declaration.
20580 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20582 * obsolete/rnewspost.el (news-mail-reply):
20583 Use goto-char rather than goto-line.
20585 * term/ns-win.el (ns-open-file-select-line):
20586 Use line-beginning-position rather than goto-line.
20588 * apropos.el (apropos-command):
20589 * ehelp.el (electric-helpify):
20590 * printing.el (pr-show-setup):
20591 * strokes.el (strokes-help):
20592 * tutorial.el (tutorial--describe-nonstandard-key)
20593 (tutorial--detailed-help):
20594 * woman.el (woman-mini-help, woman-display-extended-fonts):
20595 * calc/calc-help.el (calc-describe-key):
20596 * emulation/edt.el (edt-electric-helpify):
20597 * international/mule-diag.el (mule-diag):
20598 * play/yow.el (apropos-zippy):
20599 * progmodes/python.el (python-describe-symbol):
20600 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20601 * textmodes/table.el (*table--cell-describe-mode)
20602 (*table--cell-describe-bindings):
20603 Use help-print-return-message rather than the now obsolete alias.
20605 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20606 (calendar-cursor-to-visible-date):
20607 * play/5x5.el (5x5-position-cursor):
20608 * play/decipher.el (decipher):
20609 * play/gomoku.el (gomoku-goto-xy):
20610 * play/landmark.el (lm-goto-xy):
20611 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20612 (mpuz-paint-digit):
20613 Use forward-line, not goto-line.
20615 * mail/rmail.el (rmail-obsolete): Delete custom group.
20616 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20617 (rmail-remote-password, rmail-remote-password-required):
20618 Remove unneeded :set-after and :set properties.
20620 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20622 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20624 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20626 * loadup.el: Remove leftover macos code.
20628 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20629 Explicitly pass the date format to git blame so that user local
20630 so that the output format can be parsed.
20632 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20634 * net/dbus.el (top): Don't check for (getenv
20635 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20637 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20639 * log-edit.el (log-edit-strip-single-file-name): New var.
20640 (log-edit-insert-changelog): Use it. Bug#3571
20642 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20644 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20647 * help.el (help-print-return-message): Rename from
20648 print-help-return-message.
20650 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20651 cvs-mode-map parent hack.
20652 (log-view-mode): Derive from special-mode.
20654 * linum.el (linum-mode): window-size-change-functions is redundant.
20655 Adapt to new window-configuration-change-hook behavior.
20656 (linum-after-size, linum-after-config): Remove.
20658 * imenu.el (imenu-example--name-and-position)
20659 (imenu-example--lisp-extract-index-name)
20660 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20663 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20664 (inferior-prolog-mode): Use it.
20665 (inferior-prolog-load-file): Reset list of errors.
20667 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20669 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20671 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20673 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20675 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20676 is running already.
20678 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20680 * subr.el (listify-key-sequence-1): Use normal syntax since those
20681 integers are nowadays always represented by the same (positive) number
20683 (read-key-empty-map): New const.
20684 (read-key-delay): New var.
20685 (read-key): New function.
20686 (force-mode-line-update): Use with-current-buffer.
20687 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20688 (start-process-shell-command, start-file-process-shell-command):
20689 Discourage the use of command-args.
20691 2009-08-19 Glenn Morris <rgm@gnu.org>
20693 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20695 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20697 * simple.el (choose-completion-string): Don't rely on
20698 minibuffer-completing-file-name and ad-hoc checks to decide whether
20699 to continue completion or not.
20701 * minibuffer.el (minibuffer-hide-completions): New function.
20702 (completion--do-completion): Use it.
20703 (completions-annotations): New face.
20704 (completion--insert-strings): Use it.
20705 (completion-pcm--delim-wild-regex): Add docstring.
20706 (completion-pcm--string->pattern): Add support for 0-width delimiters
20707 in completion-pcm--delim-wild-regex.
20709 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20711 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20712 Remove unused var `buffer-modified-p'.
20714 * minibuffer.el (completion--do-completion): Move point for the #b001
20715 case as well (bug#4176).
20716 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20718 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20720 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20721 and :session buses.
20723 2009-08-18 Kenichi Handa <handa@m17n.org>
20725 * international/ucs-normalize.el (ucs-normalize-version):
20727 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20728 (utf-8-hfs): Make it perform normalization on encoding too.
20730 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20731 (sentence-end-without-space): Delete duplicated chars.
20732 (sentence-end-base): Likewise.
20734 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20735 (html-mode): Delete duplicated chars from sentence-end-base.
20737 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20738 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20740 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20742 * files.el (hack-one-local-variable): If the mode function is for
20743 a minor mode, pass it an argument (Bug#4148).
20745 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20747 * net/tramp.el (tramp-register-completion-file-name-handler):
20748 Check also for (member 'partial-completion completion-styles).
20750 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20752 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20755 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20757 * progmodes/cperl-mode.el: Merge upstream 6.2.
20758 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20759 (cperl-forward-re): Check cperl-brace-recursing.
20760 (cperl-highlight-charclass): New function.
20761 (cperl-find-pods-heres): Use it.
20762 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20763 (cperl-beautify-regexp-piece): Fix column calculation.
20764 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20765 (cperl-beautify-level): Don't process entire regexp.
20766 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20768 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20769 (cperl-init-faces): Build a list in the normal way.
20771 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20773 * calendar/parse-time.el (parse-time-string-chars): Save match
20776 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20778 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20779 (sql-product): Use it.
20780 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20781 (sql-set-product): Add completion.
20782 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20783 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20784 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20785 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20786 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20787 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20788 (sql-highlight-db2-keywords): Remove.
20789 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20790 (sql-highlight-product): Use derived-mode-p.
20791 (sql-set-sqli-buffer): Use with-current-buffer.
20792 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20795 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20797 * term.el: Fix commenting convention, turn comments into docstrings.
20799 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20801 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20803 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20805 * calendar/parse-time.el (parse-time-string-chars): Compute using
20806 character classes, to handle non-ascii characters (Bug#3190).
20808 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20810 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20811 another heredoc if the user adds another < (Bug#3226).
20813 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20814 Don't initialize based on window-system (Bug#4124).
20816 * facemenu.el (facemenu-read-color): Use a completion function
20817 that accepts any defined color, such as RGB triplets (Bug#3677).
20819 * files.el (get-free-disk-space): Change fallback default
20820 directory to /. Expand DIR argument before switching to fallback.
20821 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20823 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20825 * files.el (load-library): Doc fix.
20827 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20829 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20830 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20831 incremental search string.
20833 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20836 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20837 (ediff-merge-region-is-non-clash)
20838 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20839 Also check if the job is really a merge job.
20841 * ediff.el (ediff-current-file): New function.
20843 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20845 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20847 (js-insert-and-indent): Delete function.
20848 (js-mode-map): Don't bind keys to js-insert-and-indent.
20849 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20850 (js-end-of-defun): Rename from js--end-of-defun.
20851 (js-auto-indent-flag): Delete variable.
20853 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20855 * progmodes/js.el: Remove proclaim statement.
20856 Defvar which-func-imenu-joiner-function to silence compiler.
20858 * files.el (auto-mode-alist): Use js-mode for .js files.
20860 * progmodes/js2-mode.el: Remove file.
20862 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20864 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20866 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20868 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20869 Karl Landstrom <karl.landstrom@brgeight.se>
20871 * progmodes/js.el: New file.
20873 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20875 * timezone.el (timezone-parse-date): Add ability to understand ISO
20876 basic format (minimal separators) dates in addition to the
20877 already-supported extended format dates.
20879 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20881 * international/ucs-normalize.el: Add a `coding' file variable.
20883 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20885 2009-08-14 Sam Steingold <sds@gnu.org>
20887 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20889 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20891 * faces.el (help-argument-name): Define it here instead of
20892 help-fns.el, because in daemon mode help-fns.el may be loaded when
20893 faces are still uninitialized (Bug#1078).
20895 * help-fns.el (help-argument-name): Move defface to faces.el.
20897 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20899 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20900 create buffer with a pty but no process so that GDB can make the
20901 inferior the controlling process.
20903 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20905 * international/ucs-normalize.el: New file.
20907 2009-08-13 Richard Stallman <rms@gnu.org>
20909 * mail/rmail.el (rmail-get-attr-names):
20910 Accept an attribute header that is too short.
20912 * mail/rmail.el (rmail-forget-messages):
20913 Ignore nil elt in rmail-message-vector. Use dotimes.
20915 * progmodes/compile.el (compilation-goto-locus):
20916 Use next-error-move-function.
20918 * simple.el (next-error-move-function): New variable.
20920 2009-08-12 Juri Linkov <juri@jurta.org>
20922 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20923 always non-nil. (Bug#4052)
20925 * replace.el (read-regexp): Return empty string when
20926 `default-value' is nil.
20927 (keep-lines-read-args): Don't use empty string as the
20928 default value for `read-regexp'. (Bug#2495)
20930 2009-08-12 Juri Linkov <juri@jurta.org>
20932 * international/mule-cmds.el (ucs-insert): Change arguments
20933 from `arg' to `character', `count', `inherit' to be the same
20934 as in `insert-char'. Doc fix. (Bug#4039)
20936 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20938 2009-08-12 Juri Linkov <juri@jurta.org>
20940 * files-x.el: New file.
20942 * files.el: Move code that deals with adding/deleting
20943 file/directory-local variables to files-x.el.
20945 * Makefile.in (ELCFILES): Add files-x.elc.
20947 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20949 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20950 to use `goto-line'.
20951 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20953 (gdb-invalidate-disassembly): Do not refresh upon receiving
20954 'update signal. Instead, update all disassembly buffers only after
20956 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20957 (gdb-starting): Move -data-list-register-names...
20958 (gdb-stopped): ...here so it's sent when first thread stops.
20959 (gdb-registers-handler-custom): Do nothing if register names are
20962 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20963 from `gdb-mi.el' to avoid extra tangling.
20965 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20966 change which breaks `gud-def' definitions used in `gdb'.
20967 (gdb-update-gud-running): No extra fuss for updating frame number.
20969 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20971 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20972 (describe-language-environment-map, setup-language-environment-map)
20973 (set-coding-system-map): Move initialization into declaration.
20974 (set-language-info-alist): Last arg to define-key-after can be skipped.
20976 * international/quail.el (quail-completion-1): Simplify.
20977 (quail-define-rules): Use slightly more compact code.
20978 (quail-insert-decode-map): Propertize keys, compact columns.
20980 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20983 2009-08-10 Miles Bader <miles@gnu.org>
20985 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20986 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20987 (js2-instance-member, js2-private-member, js2-private-function-call)
20988 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20989 (js2-magic-paren, js2-external-variable):
20990 Remove "-face" suffix from face names.
20991 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20992 (js2-highlight-undeclared-vars, js2-peek-token)
20993 (js2-parse-function-params, js2-mode-show-errors)
20994 (js2-mode-show-warnings, js2-make-magic-delimiter)
20995 (js2-mode-highlight-magic-parens): Update to use new face names.
20997 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20999 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21000 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21002 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21004 * subr.el: Provide hashtable-print-readable.
21006 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21007 hs-c-like-adjust-block-beginning.
21008 (hs-hide-block-at-point): Stop hiding at the beginning of
21009 hs-block-end-regexp (Bug#700).
21011 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21013 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21015 (gdb-registers-handler-custom): Do not fail when register names
21018 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21020 * progmodes/gdb-mi.el (gdb-control-all-threads)
21021 (gdb-control-current-thread): Interactive setters for
21022 `gdb-gud-control-all-threads' to use in menu.
21023 (gdb-show-run-p): Show «Go» when process is not active.
21024 (gud-tool-bar-map): Add non-stop/A,T indicator.
21025 Uses gud/thread.xpm and gud/all.xpm.
21027 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21029 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21030 (nslookup-font-lock-keywords): Make it a variable.
21031 (net-utils-mode): New mode for viewing diagnostic network output.
21032 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21033 (net-utils-run-simple): New function.
21034 (ifconfig, iwconfig, netstat, arp, route): Use it.
21036 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21038 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21039 (gdb-memory-set-address, def-gdb-set-positive-number)
21040 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21041 after changing settings.
21042 (gdb-invalidate-disassembly): Update when first shown.
21043 (gdb-edit-locals-value): Fix.
21044 (gdb-registers-handler-custom): Print registers in right order and
21045 allow changing register values (only for current thread yet).
21046 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21047 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21048 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21049 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21050 Thread info in mode name.
21051 (gdb-registers-mode-map): TAB to switch to locals.
21053 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21055 * mail/rmail.el (rmail-add-mbox-headers)
21056 (rmail-set-message-counters-counter): Search for
21057 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21059 2009-08-08 Glenn Morris <rgm@gnu.org>
21061 * Makefile.in (ELCFILES): Update.
21063 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21065 * mail/sendmail.el (mail-yank-original):
21066 Set buffer-file-coding-system from the one used by the message whose
21069 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21070 to "windows" when "pgnuplot" is used.
21071 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21072 Don't call accept-process-output if "pgnuplot" is used.
21073 (calc-graph-init): Don't send -display and -geometry to
21074 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21075 running "pgnuplot -V" with shell-command-to-string.
21077 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21080 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21082 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21085 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21087 * vc-dispatcher.el (vc-resynch-window): Update comment.
21089 * term.el (term-handle-ansi-escape): Add comments with the
21090 terminfo capabilities implemented.
21092 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21094 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21095 (gdb-var-create-handler): Rewritten using JSON parser.
21096 (gdb-propertize-header): Move earlier.
21097 (gdb-set-header): Remove to avoid duplication.
21098 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21099 Refresh disassembly buffers only after threads list have been
21101 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21104 2009-08-04 Juri Linkov <juri@jurta.org>
21106 * files.el: Commands to add/delete file/directory-local variables.
21107 (read-file-local-variable, read-file-local-variable-value)
21108 (read-file-local-variable-mode, modify-file-local-variable)
21109 (modify-file-local-variable-prop-line)
21110 (modify-dir-local-variable): New functions.
21111 (add-file-local-variable, delete-file-local-variable)
21112 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21113 (add-dir-local-variable, delete-dir-local-variable)
21114 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21115 (copy-dir-locals-to-file-locals-prop-line): New commands.
21117 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21119 * abbrev.el (insert-abbrev-table-description): Prettify output.
21120 Suggested by Karl Chen.
21122 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21124 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21125 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21126 (gdb-overlay-arrow-position, gdb-thread-position)
21127 (gdb-disassembly-position): Declare variables.
21128 (gdb-wait-for-pending): Function now.
21129 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21130 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21131 compilation goes smoothly.
21132 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21133 (gdb-non-stop-setting): New customization setting which replaces
21134 `gdb-non-stop' so changing it doesn't break active GDB session.
21135 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21136 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21137 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21138 (gdb-show-threads-by-default): New customization options.
21139 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21141 (gdb-get-buffer-create): Send buffers update signal when they are
21143 (gdb-invalidate-locals, gdb-invalidate-registers)
21144 (gdb-invalidate-breakpoints)
21145 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21146 (gdb-invalidate-memory): Accept update signal.
21147 (gdb-current-context-command): Use --frame option.
21148 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21149 Implement `gdb-frame-number' selection logic.
21150 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21151 whether to show GUD toolbar buttons.
21152 (gdb-thread-exited): Unselect current thread when it exits.
21153 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21154 (gdb-mark-line): Routine which sets overlay arrow or inverses
21155 video on fringeless displays.
21156 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21157 to build aligned columns of data in GDB buffers and set text
21158 properties line-by-line.
21159 (gdb-invalidate-breakpoints)
21160 (gdb-breakpoints-list-handler-custom)
21161 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21162 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21163 (gdb-registers-handler-custom): Align data columns.
21164 (gdb-locals-handler-custom): Now prints data like in variable
21166 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21167 Remove confusing buttons.
21168 (gdb-invalidate-threads): Append --frame.
21169 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21170 between breakpoints/threads buffers.
21171 (gdb-set-window-buffer): Now can ignore dedicated windows.
21172 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21173 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21174 (def-gdb-thread-buffer-gud-command): Replaces
21175 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21176 for fine thread control.
21177 (gdb-preempt-existing-or-display-buffer): New function used to
21178 display bound buffers without breaking window layout.
21179 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21180 (gdb-select-frame): New version of `gdb-frames-select' which now
21181 sets `gdb-frame-number' so commands may use --frame option instead
21182 of inner debugger state.
21183 (gdb-frame-handler): Do not set `gdb-frame-number'.
21184 (gdb-threads-mode-map): Select threads with mouse.
21186 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21187 avoid compilation warning.
21188 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21191 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21192 Argument `key' renamed to `buffer-type'.
21193 (gdb-current-context-buffer-name): Do not add thread info to
21194 buffer name when no thread is selected.
21195 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21196 command (bug 3794).
21197 (gdb-thread-selected): Handle `=thread-selected' notification.
21198 (gdb-wait-for-pending): New macro to deal with congestion problems.
21199 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21201 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21202 This fixes problem similar to one described in bug 3947.
21203 (gud-menu-map): More menu items.
21204 (gdb-init-1): Reset `gdb-thread-number' to nil.
21206 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21209 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21210 (gdb-current-context-command): Do not append --thread if
21211 `gdb-thread-number' is nil.
21212 (gdb-running-threads-count, gdb-stopped-threads-count):
21214 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21215 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21216 New customization options.
21217 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21219 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21220 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21221 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21222 set `gdb-thread-number' and update `gud-running' properly.
21223 (gdb-running): Update threads list when new threads appear.
21224 (gdb-stopped): Support non-stop operation and new thread switching
21226 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21227 (gdb-json-partial-output): New set of JSON routines.
21228 (def-gdb-auto-update-trigger): New `signal-list' optional
21230 (gdb-thread-list-handler-custom): Update `gud-running',
21231 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21232 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21233 (gdb-continue-thread, gdb-step-thread): New commands for fine
21234 thread execution control.
21235 (gud-menu-map): New menu items to switch non-stop options.
21236 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21237 (gdb-send): Mimic RET properly (bug 3794).
21239 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21240 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21242 (def-gdb-auto-update-handler): New nopreserve optional argument.
21243 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21245 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21246 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21247 (gdb-parent-mode): New mode to derive other GDB modes from.
21248 (gdb-display-disassembly-for-thread)
21249 (gdb-frame-disassembly-for-thread): New commands for threads
21252 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21253 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21254 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21255 (gdb-update): We now store all GDB buffers in a list so that they
21256 can be updated by traversing a list instead of calling invalidate
21257 triggers explicitly.
21258 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21259 pair for GDB buffer.
21260 (gdb-stack-buffer-name): Add thread information.
21261 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21262 handle pending triggers.
21263 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21264 (def-gdb-thread-buffer-simple-command)
21265 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21266 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21267 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21268 New commands which show buffers bound to thread.
21269 (gdb-stack-list-locals-regexp): Remove unused regexp.
21271 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21272 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21273 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21274 to (gud-comint-buffer) in *-buffer-name functions
21275 because (gdb-get-target-string) already does that.
21276 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21277 (gdb-changed-registers-handler): Rewritten without regexps.
21279 * progmodes/gdb-mi.el: Basic thread selection support.
21280 (gdb-thread-number): New variable.
21281 (gdb-current-context-command): New macro which adds --thread
21283 (gdb-threads-mode-map): Select thread with SPC.
21284 (gdb-thread-list-handler-custom): Mark current thread with overlay
21285 arrow. Synchronize GDB thread and Emacs thread.
21286 (gdb-select-thread): New command which selects current thread.
21287 (gdb-invalidate-frames, gdb-invalidate-locals)
21288 (gdb-invalidate-registers): Use --thread option.
21290 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21292 * net/tramp.el (top): Make check for tramp-gvfs loading more
21294 (tramp-handle-insert-file-contents): `unwind-protect' must be
21295 inside `with-parsed-tramp-file-name'.
21297 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21300 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21302 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21303 directory if CLASSPATH is not set.
21305 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21307 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21309 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21311 2009-08-02 Kevin Ryde <user42@zip.com.au>
21313 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21314 Update freshmeat link. Delete newsforge.com as it seems gone.
21316 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21318 * select.el (x-set-selection): Doc fix (Bug#4021).
21320 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21322 * help-fns.el (describe-variable): Treat list return values from
21323 dir-locals-find-file properly (Bug#4005).
21325 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21327 * net/tramp.el (tramp-debug-message): Print also microseconds.
21329 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21331 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21333 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21334 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21337 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21338 (tramp-get-file-property): Use it.
21340 * autorevert.el (auto-revert-handler):
21341 Allow `auto-revert-tail-mode' for remote files.
21343 2009-08-02 Jason Rumney <jasonr@gnu.org>
21345 * minibuffer.el (read-file-name): Treat confirm options to
21346 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21348 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21350 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21351 (font-lock-variable-name-face, font-lock-constant-face):
21352 Darken the colors for light backgrounds.
21354 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21356 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21357 month names. (Bug#3987)
21359 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21361 * simple.el (line-move-finish): Pass whole number to
21362 line-move-to-column.
21363 (line-move-visual): Perform hscroll to the recorded position.
21365 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21367 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21369 2009-07-29 Alan Mackenzie <acm@muc.de>
21371 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21373 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21375 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21376 (gdb-place-breakpoints): Use full path when setting breakpoints.
21378 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21380 * calc/calc.el (calc-mode-map): Add keybinding for
21381 `calc-transpose-lines'.
21383 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21385 * calc/calc-misc.el (calc-transpose-lines): New function.
21387 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21389 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21390 Simplify check for out-of-band methods.
21391 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21392 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21394 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21396 * vc-git.el (vc-git-checkin): Fix typo.
21398 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21400 * progmodes/js2-mode.el: New file.
21402 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21404 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21405 (gud-menu-map): Adjust tooltip accordingly.
21407 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21409 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21410 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21412 * add-log.el (change-log-mode-map): Add a menu.
21414 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21416 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21417 function returns nil.
21418 (dbus-handle-event): Handle special return value :ignore.
21419 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21421 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21423 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21426 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21430 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21432 * term/pc-win.el (x-display-name, x-colors)
21433 (x-select-enable-clipboard, x-select-text): Doc fix.
21435 * term/common-win.el (x-display-name, x-colors): Doc fix.
21437 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21438 (xw-defined-colors): Doc fix.
21440 * w32-fns.el (x-select-text, x-setup-function-keys)
21441 (x-get-selection, x-set-selection): Doc fix.
21443 * term/x-win.el (x-select-text, x-setup-function-keys)
21444 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21446 * select.el (x-set-selection): Doc fix.
21448 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21450 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21451 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21452 "IsNSSSupportAvailable" method is not available.
21453 Reported by Steve Youngs <steve@sxemacs.org>.
21455 2009-07-24 Kenichi Handa <handa@m17n.org>
21457 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21458 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21459 (build-unicode-category-table): Fix range checks.
21461 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21463 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21464 the buffer we try to sync is current when calling
21467 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21468 not show up to date files.
21470 2009-07-24 Glenn Morris <rgm@gnu.org>
21472 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21473 Add autoload cookies. If necessary, initialize.
21474 (elint-log): Handle non-file buffers.
21475 (elint-initialize): Add optional argument to reinitialize.
21476 (elint-find-builtin-variables): Save excursion.
21478 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21480 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21483 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21485 * vc.el (vc-print-log-internal): New function, split out from ...
21486 (vc-print-log): ... here.
21487 (vc-dir-move-to-goal-column): Declare.
21489 * vc-git.el (vc-git-add-signoff): New variable.
21490 (vc-git-checkin): Use it.
21491 (vc-git-toggle-signoff): New function.
21492 (vc-git-extra-menu-map): Bind it to menu.
21493 (vc-git--run-command-string): Accept a nil FILE argument.
21494 (vc-git-stash-list): New function.
21495 (vc-git-dir-extra-headers): Use it.
21497 2009-07-23 Glenn Morris <rgm@gnu.org>
21499 * help-fns.el (describe-variable): Describe ignored and risky local
21500 variables in a similar way to that in which we describe safe ones.
21502 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21503 (byte-compile-output-file-form, byte-compile-output-docform)
21504 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21505 Give some more local variables with common names a "bytecomp-" prefix,
21506 so as not to shadow things during compilation.
21507 * emacs-lisp/cl-macs.el (load-time-value)
21508 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21509 `outbuffer' to `bytecomp-outbuffer'.
21511 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21512 since the next two variables cover them automatically now.
21513 (elint-builtin-variables, elint-autoloaded-variables): New.
21514 (elint-unknown-builtin-args): Remove all members, since they can be
21515 parsed automatically now.
21516 (elint-extra-errors): New.
21517 (elint-env-add-env, elint-env-add-macro): Use cadr.
21518 (elint-current-buffer): Use or. Change final message.
21519 (elint-get-top-forms): Use line-end-position.
21520 (elint-init-env): Use cadr. Handle autoload, declare-function,
21522 (elint-add-required-env): Doc fix. Use or. Standardize error.
21523 (regexp-assoc): Remove unused function.
21524 (elint-top-form): Set elint-current-pos, to record the start of the
21525 top-level form, for compilation-mode.
21526 (elint-form): Trap errors in macro expansion. Use dolist.
21527 (elint-unbound-variable): Use elint-builtin-variables and
21528 elint-autoloaded-variables.
21529 (elint-get-args): Use cadr, or.
21530 (elint-check-cond-form): Use dolist, cadr.
21531 (elint-check-condition-case-form): Doc fix. Use cadr.
21532 Use elint-extra-errors.
21533 (elint-log): New function.
21534 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21535 Distinguish errors and warnings.
21536 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21537 Use a bytecomp-style format.
21538 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21539 (elint-get-log-buffer): Use compilation mode. Disable undo.
21540 Don't truncate lines.
21541 (elint-initialize): Set builtin and autoloaded variable lists.
21542 Only process elint-unknown-builtin-args if non-nil.
21543 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21545 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21547 2009-07-22 Kevin Ryde <user42@zip.com.au>
21549 * net/newst-backend.el (newsticker--parse-atom-1.0)
21550 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21551 (newsticker--parse-rss-1.0):
21552 * progmodes/idlwave.el (idlwave-mode):
21553 * progmodes/idlw-shell.el (idlwave-shell-mode):
21554 * progmodes/vera-mode.el (vera-mode):
21555 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21556 * progmodes/vhdl-mode.el (vhdl-mode):
21557 * textmodes/table.el (table-generate-source)
21558 (table--warn-incompatibility):
21559 Hyperlink urls in docstrings with URL `...'.
21561 2009-07-22 Glenn Morris <rgm@gnu.org>
21563 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21564 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21565 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21566 Remove leading * from defcustom docs.
21568 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21570 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21572 (list-load-path-shadows): Optionally, just return shadows as a string.
21574 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21576 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21578 * mail/rmailedit.el (rmail-edit-mode):
21579 Use auto-save-include-big-deletions.
21581 * mail/rmail.el (rmail-variables):
21582 Use auto-save-include-big-deletions.
21584 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21587 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21589 * calc/calc.el (calc-undo-length): New variable.
21590 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21592 2009-07-21 Richard Stallman <rms@gnu.org>
21594 * files.el (auto-save-mode): Handle buffer-save-size = -2
21597 2009-07-21 Glenn Morris <rgm@gnu.org>
21599 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21601 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21603 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21604 silence compiler. Instead...
21605 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21606 (ps-print-ensure-fontified): Update for above function name changes.
21608 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21609 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21610 silence compiler. Instead...
21611 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21612 (mh-show-buffer): Only define for compiler.
21613 (pr-mh-current-message): Update for above function name changes.
21615 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21617 (find-file-noselect, insert-file-1): Update for above change.
21619 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21621 * mail/mailclient.el (mailclient-send-it): Fix message.
21623 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21624 (edebug-eval): Check cl-debug-env is bound.
21625 (print-level, print-circle): Don't redefine built-in variables.
21627 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21628 (custom-print-vectors): Remove old comments from doc.
21630 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21631 (emerge-version): Make the variable an obsolete alias for the
21632 emacs-version variable. Make the function obsolete.
21633 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21634 Emerge options, rather than merging in into the main Options menu.
21635 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21636 and auto advance modes. Disable edit/fast items when not relevant.
21638 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21640 * term/vt420.el (terminal-init-vt420): Fix typo.
21642 2009-07-20 Sam Steingold <sds@gnu.org>
21644 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21645 variable (removed from compile.el on 2004-03-11).
21647 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21649 * files.el (hack-local-variables-filter): Fix last change.
21651 2009-07-19 Juri Linkov <juri@jurta.org>
21653 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21654 (dir-local-variables-alist): New buffer-local variable.
21655 (hack-local-variables-filter): If variable is not dir-local,
21656 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21657 because file-local overrides dir-local.
21658 (c-postprocess-file-styles) <declare-function>:
21659 Remove obsolete declaration.
21660 (hack-dir-local-variables): Add dir-local variable/value pair to
21661 `dir-local-variables-alist' and remove duplicates. Doc fix.
21663 * help-fns.el (describe-variable): Add information about
21664 file-local and dir-local variables.
21666 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21668 * files.el (hack-local-variables-filter): Rewrite.
21670 2009-07-19 Glenn Morris <rgm@gnu.org>
21672 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21673 Silence compiler by only defining on XEmacs.
21675 * international/mule.el (auto-coding-regexp-alist): Only match
21676 BABYL... at the start of buffer, not of lines. (Bug#3790)
21678 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21679 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21680 (cal-menu-context-mouse-menu): Doc fix.
21682 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21684 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21686 2009-07-18 Juri Linkov <juri@jurta.org>
21688 * info.el: Virtual Info keyword finder.
21689 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21690 (Info-finder-file): New variable.
21691 (Info-finder-find-file): New function.
21692 (finder-known-keywords, finder-package-info)
21693 (find-library-name, lm-commentary): Use defvar and
21694 declare-function to silence compiler warnings.
21695 (Info-finder-find-node): New function.
21696 (info-finder): New command.
21698 * subr.el (process-kill-buffer-query-function): New function.
21699 (add-hook)<kill-buffer-query-functions>: Add hook
21700 `process-kill-buffer-query-function'.
21702 2009-07-18 Alan Mackenzie <acm@muc.de>
21704 * progmodes/cc-mode.el (c-before-hack-hook)
21705 (c-postprocess-file-styles): Give invocation of `c-set-style'
21706 DONT-OVERRIDE parameter of t. Already set style variables will
21707 thus not be overridden by style settings given by `c-file-syle'.
21709 * files.el (hack-local-variables-filter): Remove entries with
21710 duplicate keys from `file-local-variables-alist'.
21712 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21714 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21715 x-set-selection if display-selections-p returns nil for the
21718 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21720 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21722 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21724 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21725 Accept nil in addition to a regexp.
21726 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21727 Accept nil in addition to a regexp.
21728 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21729 buffers that have an associated file. Handle nil values of
21730 desktop-buffers-not-to-save and desktop-files-not-to-save.
21733 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21734 (x-disown-selection-internal): New functions.
21736 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21738 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21740 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21741 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21743 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21745 * simple.el (set-mark): Revert last change.
21747 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21749 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21750 rendering of pngs is not possible instead of messaging a long
21753 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21755 * w32-fns.el (x-selection-owner-p): New function.
21757 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21758 (mouse-yank-at-click, mouse-yank-primary):
21759 If select-active-regions is non-nil, deactivate the mark before
21762 * simple.el (deactivate-mark, set-mark): Only save selection if we
21765 2009-07-17 Kenichi Handa <handa@m17n.org>
21767 * case-table.el (describe-buffer-case-table): Fix for the case
21768 that KEY is a cons.
21770 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21772 * vc-rcs.el (vc-rcs-find-file-hook):
21773 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21775 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21777 * net/tramp.el (tramp-wait-for-output): Handle the case when
21778 commands do not return a newline but a null byte before the shell
21781 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21783 * term/ns-win.el (ns-set-alpha): Don't declare.
21784 (ns-set-background-alpha): Remove function.
21786 2009-07-16 Kevin Ryde <user42@zip.com.au>
21788 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21789 y-or-n-p, for safety.
21791 2009-07-16 Richard Stallman <rms@gnu.org>
21793 * files.el (auto-save-mode): If buffer-saved-size is -2,
21796 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21797 (rmail-retry-ignored-headers): Add more uninteresting fields.
21799 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21801 * net/rcirc.el (rcirc): Use history variables.
21802 (rcirc-server-name-history, rcirc-nick-name-history)
21803 (rcirc-server-port-history): New variables.
21805 2009-07-15 Kenichi Handa <handa@m17n.org>
21807 * international/mule-cmds.el (set-language-environment-charset):
21808 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21811 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21812 Delete unibyte-display.
21814 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21816 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21818 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21820 * simple.el (deactivate-mark): Optional argument FORCE.
21821 (set-mark): Use deactivate-mark.
21823 * info.el (Info-search): No need to check transient-mark-mode
21824 before calling deactivate-mark.
21826 * select.el (x-set-selection): Doc fix.
21827 (x-valid-simple-selection-p): Allow buffer values.
21828 (xselect--selection-bounds): Handle buffer values.
21829 Suggested by David De La Harpe Golden.
21831 * mouse.el (mouse-set-region, mouse-drag-track):
21832 Call copy-region-as-kill before setting the mark, to let
21833 select-active-regions work.
21835 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21837 * simple.el (deactivate-mark): If select-active-regions is
21838 non-nil, copy the selection data into a string.
21839 (activate-mark): If select-active-regions is non-nil, set the
21840 selection to the current buffer.
21841 (set-mark): Update selection if select-active-regions is non-nil.
21843 * select.el (x-valid-simple-selection-p): Allow buffer values.
21845 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21847 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21848 and more featureful message-mode.
21850 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21852 * select.el (x-set-selection): Doc fix.
21853 (x-valid-simple-selection-p): Disallow selection data consisting
21854 of a list or cons of integers, since that is not used.
21855 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21856 (xselect-convert-to-string, xselect-convert-to-length)
21857 (xselect-convert-to-filename, xselect-convert-to-charpos)
21858 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21860 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21862 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21863 output in -break-info command (Emacs bug #3794).
21865 2009-07-14 Glenn Morris <rgm@gnu.org>
21867 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21868 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21869 (edebug-print-length, edebug-print-level, edebug-print-circle)
21870 (edebug-sit-for-seconds, edebug-view-outside)
21871 (edebug-bounce-point, edebug-set-global-break-condition)
21872 (edebug-Go-nonstop-mode, edebug-trace-mode)
21873 (edebug-Trace-fast-mode, edebug-continue-mode)
21874 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21875 (edebug-visit-eval-list): Doc fixes.
21877 * subr.el (def-edebug-spec): Doc fix.
21879 2009-07-14 Kenichi Handa <handa@m17n.org>
21881 * international/characters.el: Fix setting of category ?C.
21883 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21885 * term/ns-win.el (x-select-font): defalias x-select-font to
21886 ns-popup-font-panel instead of generate-fontset-menu.
21888 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21890 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21892 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21894 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21895 the PK\003\004 header (Bug#3770).
21897 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21899 * pcomplete.el (pcomplete-comint-setup): Check for
21900 shell-dynamic-complete-filename too.
21902 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21904 * simple.el (temporary-goal-column): Change the value for
21905 line-move-visual to a cons cell.
21906 (line-move-visual): Record or set the window hscroll, if
21907 necessary (Bug#3494).
21908 (line-move-1): Handle cons value of temporary-goal-column.
21910 2009-07-11 Kenichi Handa <handa@m17n.org>
21912 * international/mule-diag.el (describe-character-set): Don't show
21915 2009-07-10 Sam Steingold <sds@gnu.org>
21917 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21918 Omake sometimes indents the errors it prints, so allow all
21919 regexps to start with spaces.
21921 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21923 * cus-edit.el (customize-changed-options-previous-release):
21924 Bump value to 22.1. (Bug#3804)
21926 2009-07-08 Sam Steingold <sds@gnu.org>
21928 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21929 to be a cons cell (test . ignored-directory) to selectively ignore
21930 some directories depending on the location of the search.
21932 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21934 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21935 remote user is root, on the local host.
21936 (tramp-local-host-p): Either the local user or the remote user
21937 must be root. (Bug#3771)
21939 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21941 * progmodes/gdb-mi.el (gdb): Remove description of
21942 gdb-use-separate-io-buffer.
21943 (menu): Don't allow toggling of or enable
21944 gdb-use-separate-io-buffer from menubar.
21946 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21948 * mail/unrmail.el (unrmail): Make sure the message ends with two
21949 newlines (Bug#3769).
21951 2009-07-08 Glenn Morris <rgm@gnu.org>
21953 * calendar/calendar.el (calendar-current-date): Rework previous change.
21955 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21957 * calendar/calendar.el (calendar-current-date):
21958 Add an optional argument giving an offset from today.
21960 2009-07-08 Glenn Morris <rgm@gnu.org>
21962 * tutorial.el (tutorial--describe-nonstandard-key):
21963 Adjust the message for when a key has been unbound.
21964 (help-with-tutorial): Hide the arch-tag.
21966 2009-07-08 Kenichi Handa <handa@m17n.org>
21968 * international/fontset.el (setup-default-fontset): For each
21969 script, append (not set) font-specs.
21971 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21974 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21976 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21977 -data-list-register-names to ...
21978 (gdb-starting): ... here because GDB 7.0 requires execution to
21979 have started when using this MI command.
21980 (gdb-set-header): New function to distinguish select and
21981 unselected tabs in gdb buffers.
21982 (gdb-propertize-header): New macro that uses gdb-set-header.
21983 (gdb-breakpoints-header, gdb-locals-header): Use it.
21984 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21986 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21988 * Makefile.in (ELCFILES): Remove fadr.elc.
21990 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21992 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21993 may contain frame information, so `string-match' should be used.
21994 (gdb-update): Disassembly is invalidated through
21995 `gdb-get-selected-frame'.
21996 (gdb-pad-string): New function to pad string with spaces.
21997 (gdb-invalidate-disassembly): Invalidate only if the buffer
21999 (gdb-disassembly-handler-custom): Column alignment.
22000 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22002 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22004 (gdb-frame-handler): Match convention to for disassembly buffer
22006 (gdb-stack-list-frames-handler): Rewritten without regexps.
22007 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22008 not highlight breakpoints without line information.
22009 (gdb-input): Add trailing newline to command.
22011 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22013 (gdb-breakpoints-list-handler-custom): Replacement for
22014 `gdb-break-list-handler'. Using real parser instead of regexps
22016 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22017 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22018 to place breakpoints.
22019 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22021 (gdb-disassembly-handler-custom): Show overlay arrow.
22022 (gdb-disassembly-place-breakpoints): Show breakpoints in
22023 disassembly buffer.
22024 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22025 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22026 instead of parsing breakpoints buffer. Fixed old menu references
22031 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22032 (gdb-memory-address): New variable which holds top address of
22033 memory page shown in memory buffer.
22034 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22035 New customization variables.
22037 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22038 display the memory buffer.
22039 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22040 buffer display parameters.
22041 (def-gdb-memory-format, gdb-memory-format-binary)
22042 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22043 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22044 Functions for setting memory buffer format.
22045 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22046 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22047 unit size used in memory buffer.
22048 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22049 Switch to next/previous page of memory buffer.
22050 Now using (bindat-get-field) instead of fadr functions.
22052 2009-07-07 Sam Steingold <sds@gnu.org>
22054 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22055 non-top-level files.
22057 2009-07-07 Kenichi Handa <handa@m17n.org>
22059 * international/mule-cmds.el (reset-language-environment):
22060 Put the highset priority to the charset iso-8859-1.
22062 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22064 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22065 to the end of the line when locating the block (Bug#700).
22067 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22069 * net/tramp.el (tramp-handle-write-region): Flush file properties
22070 in case of short track.
22072 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22074 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22075 Coded custom representation of verilog error regular expressions
22076 to work with Emacs-22's new format.
22077 (verilog-error-regexp-xemacs-alist): Coded custom representation
22078 of verilog error regular expressions to work with XEmacs format.
22079 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22080 error recognition into XEmacs.
22081 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22082 error recognition into Emacs-22.
22084 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22086 * woman.el: Remove stand-alone closing parentheses.
22087 (woman-file-name, woman2-format-paragraphs)
22088 (woman-leave-blank-lines): Code cleanup.
22089 (woman-use-own-frame): Change default to nil.
22090 (woman-italic, woman-bold, woman-unknown, woman-addition):
22091 Change defaults to inherit from default faces.
22092 (woman2-process-escapes): Consume the newline after a stand-alone
22093 filler character (Bug#3651).
22095 2009-07-06 Glenn Morris <rgm@gnu.org>
22097 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22098 (top-level): Move provide to the end.
22099 (ffap): Remove defunct URL from custom group.
22101 * subr.el (eval-after-load): Doc fix.
22103 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22105 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22106 `calc-embedded-word' is called twice.
22108 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22110 * files.el (find-alternate-file-other-window, find-alternate-file):
22111 Obey confirm-nonexistent-file-or-buffer.
22113 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22115 * dired-aux.el (dired-show-file-type): Handle remote files.
22117 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22119 * desktop.el (desktop-globals-to-save):
22120 Add file-name-history (Bug#2750).
22122 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22124 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22126 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22128 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22129 property on entire argument since this is what eshell-lisp-command
22132 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22134 * net/tramp-gvfs.el (tramp-gvfs-methods)
22135 (tramp-gvfs-zeroconf-domain)
22136 (tramp-bluez-discover-devices-timeout): Add version flag.
22137 (tramp-gvfs-handler-mounted-unmounted)
22138 (tramp-gvfs-connection-mounted-p): Polish handling of
22139 incompatibilities between GVFS 0.2 and 1.0.
22141 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22143 * cus-start.el (all): Add make-pointer-invisible.
22145 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22147 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22148 formatted correctly.
22150 2009-07-02 Juri Linkov <juri@jurta.org>
22152 * info.el: Virtual Info files and nodes.
22153 (Info-virtual-files, Info-virtual-nodes): New variables.
22154 (Info-current-node-virtual): New variable.
22155 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22157 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22158 to check for a virtual file instead of checking a fixed list
22160 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22161 instead of ad-hoc processing of "dir" and (apropos history toc).
22162 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22163 instead of ad-hoc processing of "dir" and (apropos history toc).
22164 Reread a file when moving from a virtual node.
22165 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22166 (Info-directory-toc-nodes, Info-directory-find-file)
22167 (Info-directory-find-node): New functions.
22168 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22169 (Info-history): Move part of code to
22170 `Info-history-find-node'.
22171 (Info-history-toc-nodes, Info-history-find-file)
22172 (Info-history-find-node): New functions.
22173 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22174 (Info-toc): Move part of code to `Info-toc-find-node'.
22175 (Info-toc-find-node): New function.
22176 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22177 the current Info file name to references because now the node
22178 "*TOC*" belongs to the same Info manual.
22179 (Info-toc-build): Rename from `Info-build-toc'.
22180 (Info-toc-nodes): Rename input argument `file' to `filename'.
22181 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22182 instead of ad-hoc processing of ("dir" apropos history toc).
22183 (Info-index-nodes): Use Info-virtual-file-p
22184 to check for a virtual file instead of checking a fixed list
22186 (Info-index-node): Add check for `Info-current-node-virtual'.
22187 Raise `save-match-data' higher up the tree to contain
22188 `search-forward' too (bug fix).
22189 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22190 (Info-virtual-index-nodes): New variable.
22191 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22192 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22193 (Info-apropos-file, Info-apropos-nodes): New variables.
22194 (Info-apropos-toc-nodes, Info-apropos-find-file)
22195 (Info-apropos-find-node, Info-apropos-matches): New functions.
22196 (info-apropos): Move part of code to `Info-apropos-find-node' and
22197 `Info-apropos-matches'.
22198 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22199 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22200 for a virtual file instead of checking a fixed list of node names.
22202 * simple.el (async-shell-command): New command.
22204 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22206 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22207 instead of `mount-info'.
22209 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22211 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22212 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22214 2009-07-02 Kenichi Handa <handa@m17n.org>
22216 * international/mule.el (set-keyboard-coding-system): Force *-unix
22217 coding-system to avoid eol conversion.
22219 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22221 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22222 Add handler for `process-file', `shell-command' and
22223 `start-file-process'.
22224 (tramp-gvfs-handle-shell-command)
22225 (tramp-gvfs-handle-start-file-process)
22226 (tramp-gvfs-handle-process-file): New defuns.
22227 (tramp-synce-list-devices): Simplify check for existence of property.
22229 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22231 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22233 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22235 * language/korean.el (set-language-info-alist): Add korean-cp949,
22238 2009-07-01 Kenichi Handa <handa@m17n.org>
22240 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22242 * international/encoded-kb.el: Deleted.
22244 * international/mule.el (set-keyboard-coding-system): Perform the
22245 necessary setup here instead of calling encoded-kbd-setup-display.
22247 2009-07-01 Glenn Morris <rgm@gnu.org>
22249 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22251 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22253 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22255 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22257 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22258 Handle also the 'rename case, when setting file modes. (Bug#3712)
22259 (tramp-default-file-modes): Remove execute permissions.
22261 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22262 (top): Add a default for "synce" in `tramp-default-user-alist'.
22263 Add completion function for "synce" method.
22264 (tramp-hal-service, tramp-hal-path-manager)
22265 (tramp-hal-interface-manager, tramp-hal-interface-device):
22267 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22268 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22271 * net/trampver.el: Update release number.
22273 2009-06-30 Kenichi Handa <handa@m17n.org>
22275 * international/fontset.el (setup-default-fontset): Add CJK fonts
22276 for symbols and the other miscellaneous characters.
22278 * language/korea-util.el (setup-korean-environment-internal):
22279 Make char-width-table suitable for Korean environments.
22280 (exit-korean-environment): Cancel above.
22282 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22283 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22284 setup-function to make char-width-table suitable for respective
22285 environments, and an exit-function to cancel that.
22287 * language/japan-util.el (setup-japanese-environment-internal):
22288 Call use-cjk-char-width-table with arg `ja_JP'.
22290 * international/characters.el (cjk-char-width-table): Delete it.
22291 (cjk-char-width-table-list): New variable.
22292 (use-cjk-char-width-table): New arg local-name.
22293 (use-default-char-width-table): Fix for the case that Emacs is
22294 already using the default char-width-table.
22296 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22298 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22299 modes mandatory. (Bug#3712)
22301 2009-06-29 Alan Mackenzie <acm@muc.de>
22303 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22304 correction between the visible width of TABs and their number of bytes.
22306 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22308 * server.el (server-buffer-done): Prevent kill-buffer from
22309 prompting by clearing the buffer modification flag (Bug#3696).
22311 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22313 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22314 (verilog-endcomment-reason-re): Support unique case and priority case.
22315 (verilog-basic-complete-re): Support localparam lineup.
22316 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22317 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22319 (verilog-leap-to-case-head): Now support *nested* unique &
22320 priority case statements.
22321 (verilog-auto-lineup): Make just declarations the default (as it
22323 (verilog-leap-to-case-head): Support priority/unique case statements.
22324 (verilog-auto-lineup): Rework to give users radio buttons to
22325 select the various styles of automatic lineup.
22326 (verilog-error-regexp-alist): Rework to support the XEmacs style
22327 of error regular expressions from compilers, lint tools &
22328 simulators. Note that GNU Emacs has made it impossible for a mode
22329 to load such things.
22330 (electric-verilog-terminate-line, verilog-indent-declaration)
22331 (verilog-auto-wiure): Rework for radio button selection of
22332 auto-lineup selection of specification of auto lineup.
22333 (verilog-beg-of-statement-1): Redesign to support proper operation
22334 in additional code, based on testing with auto-lineup.
22335 (verilog-calculate-indent, assignments & declarations)
22336 (verilog-backward-token): Enhance to support auto-lineup of
22337 assignments & declarations.
22338 (verilog-in-directive-p, verilog-at-struct-p): New function for
22339 easy test of whether we are.
22340 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22341 to support safe execution at almost anyline.
22342 (verilog-calc-1): Properly support indenting deep inside generate
22344 (verilog-init-font): Remove definition & use of verilog-init-font,
22345 as it is redundant with font-lock-defaults.
22346 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22347 to avoid circular calls if syntax-ppss is a function (as is the
22348 case now in 22.x GNU Emacs) as that function would sometimes call
22349 itself, leading to (nearly) infinite recursion.
22350 (verilog-ovm-begin-re, verilog-ovm-end-re)
22351 (verilog-ovm-statement-re, verilog-leap-to-head)
22352 (verilog-backward-token): Add support for OVM macros. Some are
22353 complete statements, and others open and close scopes like begin
22355 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22356 (verilog-defun-level-generate-only-re): Really fix the defun-list
22358 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22359 coverpoint, constraint and cross statements.
22360 (verilog-defun-level-list, verilog-generate-defun-level-list)
22361 (verilog-all-defun-level-list): Redo these specifications - it is
22362 too hard to support eval-when compile aggregation of lists also
22363 built at when-compile time.
22364 (verilog-defun-level-list): Place defconsts of variables used in
22365 building regular expressions which are built in eval-when-compile
22366 bodies in the same eval-when-compile body to facilitate compile
22368 (verilog-beg-block-re-ordered): Support indenting
22369 virtual/protected tasks and functions.
22370 (verilog-defun-level-list, verilog-in-generate-region-p)
22371 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22372 indentation of some module items (generate items).
22373 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22374 across virtual/protected tasks and functions.
22376 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22378 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22379 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22380 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22381 in concatenations. Reported by Yishay Belkind.
22382 (verilog-auto-ascii-enum): Support one-hot state machines in
22383 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22384 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22385 modport in AUTOINST and add vl-modport for users.
22386 Reported by David Rogoff.
22387 (verilog-auto-inout-module, verilog-auto-inst)
22388 (verilog-decls-get-interfaces, verilog-insert-definition)
22389 (verilog-insert-one-definition, verilog-read-decls)
22390 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22391 (verilog-sig-modport, verilog-signals-combine-bus)
22392 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22393 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22394 Suggested by David Rogoff.
22395 (verilog-repair-open-comma): Fix non-insertion of comma when
22396 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22397 (verilog-make-width-expression): Simplify [A-1:0] expression
22398 widths to just {A{1'b0}}.
22399 (verilog-mode): Cleanup checkdoc warnings.
22400 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22401 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22402 inputs/outputs or data type. Suggested by Vasu Kandadi.
22403 (next-error-last-buffer): Fix byte-compiler warning.
22404 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22405 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22406 or shell command text during AUTO expansion. Suggested by Tad Truex.
22407 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22408 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22409 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
22410 in AUTOINOUT. Reported by Matthew Lovell.
22411 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22412 causing use of <= assignments. Reported by Alex Reed.
22413 (verilog-read-decls): Fix triand, trior, wand, wor to be
22414 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22415 (verilog-extended-complete-re): Support import "DPI-C" functions.
22416 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22417 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22418 (verilog-insert-date, verilog-insert-year)
22419 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22420 Windows systems. Reported by Michael Potts.
22421 (verilog-read-module-name): Fix AUTOINST when the child module
22422 declaration's name is a tick define. Reported by Elliot Mednick.
22423 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22424 passed to next parameter's definition. Reported by Bruce T.
22425 (verilog-read-decls): Fix detecting "parameter int" when using
22426 AUTOINSTPARAM. Reported by Bruce T.
22427 (verilog-goto-defun): Fix goto not finding modules unless first
22428 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22429 (verilog-mode): Expand -f flag arguments on entry to mode so
22430 verilog-goto-defun will work. Reported by Lawrence Butcher.
22431 (verilog-getopt): Expand environment variables in -f file
22432 arguments. Suggested by Lawrence Butcher.
22433 (verilog-set-define): Fix "Symbol's value as variable is void"
22434 when reading enumerations.
22435 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22436 Suggested by Stephen Peltan.
22437 (verilog-read-defines): Fix reading of enumerations in include
22438 files. Reported by Steve Peltan.
22440 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22442 * files.el (trash-directory): Fix defcustom type.
22444 2009-06-28 Juri Linkov <juri@jurta.org>
22446 * help-fns.el (describe-function-1): Correctly locate adviced
22447 functions in hyperlink (Bug#2438).
22449 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22451 * files.el (trash-directory): Change default to nil.
22452 (move-file-to-trash): If trash-directory is nil and
22453 system-move-file-to-trash is unbound, perform freedesktop-style
22456 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22458 * files.el (move-file-to-trash): Add freedesktop trash
22461 2009-06-28 Glenn Morris <rgm@gnu.org>
22463 * autorevert.el (global-auto-revert-non-file-buffers)
22464 (global-auto-revert-mode): Doc fixes.
22466 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22468 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22470 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22472 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22473 opened an X connection before calling x-get-resource (Bug#3194).
22475 * play/doctor.el: Remove reference to obsolete website.
22476 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22478 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22480 Remove find-file-not-found-hook VC method. (Bug#2757)
22481 * vc-hooks.el (vc-file-not-found-hook)
22482 (vc-default-find-file-not-found-hook): Remove functions.
22483 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22484 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22487 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22489 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22491 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22492 compatibility function for `looking-back'.
22494 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22495 Use `ispell-looking-back'.
22497 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22499 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22500 rather than `filename'.
22502 2009-06-23 Miles Bader <miles@gnu.org>
22504 * face-remap.el (text-scale-set): New function.
22506 2009-06-23 Glenn Morris <rgm@gnu.org>
22508 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22510 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22512 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22514 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22516 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22517 Simplify Persian conditionals.
22519 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22520 variable `filename'.
22522 * comint.el (comint-insert-input): Doc fix.
22524 * Makefile.in (ELCFILES): Fix typo in previous change.
22526 2009-06-23 Miles Bader <miles@gnu.org>
22528 * cus-start.el: Add entry for `recenter-redisplay'.
22530 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22532 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22533 Add an optional argument for the backend, use it instead of
22534 calling vc-backend.
22535 (vc-mode-line): Add an optional argument for the backend.
22536 Pass the backend to vc-state and vc-working-revision. Move code for
22537 special handling for vc-state being a buffer to ...
22539 * vc-rcs.el (vc-rcs-find-file-hook):
22540 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22542 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22543 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22544 vc-stay-local-p and vc-mode-line calls.
22546 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22547 (vc-cvs-diff, vc-cvs-annotate-command)
22548 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22549 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22550 vc-mode-line calls.
22552 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22554 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22555 backend when calling vc-mode-line.
22556 (vc-register): Do not create a closure for calling the vc register
22557 function, call it directly.
22559 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22561 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22562 to make it obvious item can be clicked.
22564 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22566 2009-06-23 Kenichi Handa <handa@m17n.org>
22568 * language/korea-util.el (korean-key-bindings): Change the binding
22569 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22572 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22574 Sync with Tramp 2.1.16.
22576 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22578 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22579 when a loading of a package fails. Completion function for rsync
22580 is `tramp-completion-function-alist-ssh'.
22581 (all): Replace all calls of `split-string' and
22582 `tramp-split-string' by `tramp-compat-split-string'.
22583 (tramp-default-method): Use `tramp-compat-process-running-p'.
22584 (tramp-default-proxies-alist): Allow also Lisp forms.
22585 (tramp-remote-path): Add choice "Private Directories".
22586 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22587 (tramp-domain-regexp): Allow also "-", "_" and ".".
22588 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22589 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22590 (tramp-debug-message): Insert header line in debug buffer.
22591 (tramp-handle-directory-files-and-attributes-with-stat):
22592 Care about filenames with spaces, or starting with "-".
22593 (tramp-handle-dired-uncache): New defun.
22594 (tramp-handle-insert-directory): Don't flush the directory from
22595 cache, this is handled by `dired-uncache' now.
22596 (tramp-handle-insert-file-contents): Improve error handling.
22597 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22598 Quote `tramp-end-of-output'.
22599 (tramp-action-password): Improve trace message.
22600 (tramp-check-for-regexp): Both echoes must be present, before removing.
22601 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22602 (tramp-compute-multi-hops): Eval cons cells of
22603 `tramp-default-proxies-alist'.
22604 (tramp-maybe-open-connection): Use the same command pattern for
22605 first hop and further hops.
22606 (tramp-wait-for-output): Remove handling of newlines.
22607 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22608 (tramp-split-string): Remove function. It is handled in
22611 * net/tramp-cmds.el (tramp-bug):
22612 Recommend `tramp-cleanup-all-connections' in the bug mail.
22614 * net/tramp-compat.el (tramp-compat-split-string)
22615 (tramp-compat-process-running-p): New defuns.
22617 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22618 for `dired-uncache'.
22620 * net/tramp-gvfs.el: New package.
22622 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22623 Add handler for `dired-uncache'.
22624 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22626 * net/trampver.el: Update release number. Make version check fit
22629 2009-06-22 Jim Meyering <meyering@redhat.com>
22631 Automatically handle .xz suffix (XZ-compressed files), too.
22632 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22633 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22635 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22636 Nick Roberts <nickrob@snap.net.nz>
22638 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22639 repository (http://sphinx.net.ru/hg/gdb-mi/).
22641 2009-06-22 Glenn Morris <rgm@gnu.org>
22643 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22644 `mode' and `eval' entries. (Bug#3430)
22646 * Makefile.in (ELCFILES): Add fadr.elc.
22648 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22649 differing behavior of \n and ^ in strings. (Bug#3385)
22651 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22653 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22655 (lisp-indent-function): Make it a defcustom.
22657 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22659 * progmodes/gdb-ui.el: Replace with ...
22660 * progmodes/gdb-mi.el: ... this file.
22661 * progmodes/gud.el: Modify for gdb-mi.el.
22663 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22665 * fadr.el: New file.
22667 See ChangeLog.14 for earlier changes.
22669 ;; Local Variables:
22673 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22675 This file is part of GNU Emacs.
22677 GNU Emacs is free software: you can redistribute it and/or modify
22678 it under the terms of the GNU General Public License as published by
22679 the Free Software Foundation, either version 3 of the License, or
22680 (at your option) any later version.
22682 GNU Emacs is distributed in the hope that it will be useful,
22683 but WITHOUT ANY WARRANTY; without even the implied warranty of
22684 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22685 GNU General Public License for more details.
22687 You should have received a copy of the GNU General Public License
22688 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.