Update copyright year to 2014 by running admin/update-copyright.
[emacs.git] / lisp / ChangeLog.15
blob8570b44dd42484a49fb102ec682b368b1935273b
1 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
3         * Version 23.3 released.
5 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
7         * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
8         application of patch from Alan Mackenzie (Bug#7595).
10 2011-03-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
12         * net/rcirc.el (rcirc-connect): Fix PASS bug.
14 2011-03-07  Glenn Morris  <rgm@gnu.org>
16         * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
17         Give an explicit error if failed to make writable.  (Bug#6146)
19 2011-03-07  Ed Reingold  <reingold@emr.cs.iit.edu>
21         * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
22         Add optional `after-sunset' argument.  (Bug#8190)
24 2011-03-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
26         * play/morse.el (nato-alphabet, nato-region, denato-region):
27         New variable and functions.  (Bug#2288)
28         (morse-region, unmorse-region): Barf if read-only.
30 2011-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
32         * progmodes/gud.el (gdb-script-syntax-propertize-function):
33         Don't change the syntax of a \n that closes a comment (bug#8169).
35 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
37         * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
38         defcustom.
39         (package--update-file): Doc fix.  Accept relative file names.
40         (package--archive-contents-from-file): Remove the argument, since
41         it's necessarily always "archive-contents".
42         (package-maint-add-news-item): Pass relative file name args to
43         package--update-file.
44         (package-upload-buffer-internal): Prompt for a destination if
45         package-archive-upload-base is invalid.  Create the directory if
46         it does not exist.
47         (package-upload-buffer, package-upload-file): Doc fix.
49 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
51         * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
52         and move isearch-yank-line to M-s C-e (Bug#8183).
54 2011-03-06  Alan Mackenzie  <acm@muc.de>
56         * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
57         (c-guess-basic-syntax): Move CASE 19 to a different place,
58         correctly to process template-args-cont lines.
60 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
62         * calc/calc-ext.el (calc-init-extensions):
63         Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
64         and calc-nplevel, respectively.  Add keybindings for calc-spn,
65         calc-midi and calc-freq.  Add autoloads for calcFunc-spn,
66         calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
68         * calc/calc-units.el (calc-dblevel): Rename from
69         calc-logunits-dblevel.
70         (calc-nplevel): Rename from calc-logunits-nplevel.
71         (math-midi-round, math-freqp, math-midip, math-spnp)
72         (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
73         (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
74         (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
75         (math-notes): New variable.
77         * calc/calc.el (calc-note-threshold): New variable.
79 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
81         * emacs-lisp/package.el (package-archives): Accept either ordinary
82         directory names, in addition to HTTP URLs.
83         (package--with-work-buffer): New macro.   Handle normal directories.
84         (package-handle-response): Don't display the failing buffer.
85         (package-download-single, package-download-tar)
86         (package--download-one-archive): Use package--with-work-buffer.
87         (package-archive-base): Rename from package-archive-url.
89 2011-03-06  Glenn Morris  <rgm@gnu.org>
91         * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
92         (xmodmap-generic-mode): Respect generic-extras-enable-list.
94 2011-03-06  Daniel Clemente  <dcl441-bugs@yahoo.com>  (tiny change)
96         * generic-x.el (xmodmap-generic-mode): New.  (Bug#2065)
98 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
100         * allout.el (allout-init, allout-prefixed-keybindings)
101         (allout-unprefixed-keybindings):
102         * progmodes/prolog.el (prolog-find-term):
103         Fix typos in docstrings.
105 2011-03-06  Nikolaj Schumacher  <me@nschum.de>  (tiny change)
107         * emacs-lisp/elp.el (elp-results): Fix off-by-one in header.  (Bug#2746)
109 2011-03-06  Kevin Ryde  <user42@zip.com.au>
111         * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc.  (Bug#5326)
113 2011-03-06  Michael Shields  <shields@msrl.com>  (tiny change)
115         * window.el (one-window-p, walk-windows, display-buffer):
116         Doc fixes.  (Bug#5567)
118 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
120         * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
121         of the variable if it exists.
123 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
125         * bookmark.el:
126         * desktop.el:
127         * emacs-lock.el:
128         * ps-print.el:
129         * saveplace.el:
130         * net/tramp-cache.el:
131         * obsolete/fast-lock.el:
132         * textmodes/reftex.el:
133         Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
135 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
137         * files.el (delete-directory, copy-directory, list-directory):
138         Use read-directory-name.
140         * find-file.el (ff-find-the-other-file):
141         * net/ange-ftp.el (ange-ftp-make-directory):
142         * printing.el (pr-interactive-dir):
143         * progmodes/ada-prj.el (ada-prj-load-directory):
144         * progmodes/ebnf2ps.el (ebnf-print-directory)
145         (ebnf-spool-directory, ebnf-eps-directory)
146         (ebnf-syntax-directory):
147         * shell.el (shell):
148         * speedbar.el (speedbar-create-directory):
149         * vc/emerge.el (emerge-merge-directories):
150         * vc/vc-dir.el (vc-dir):
151         * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
153 2011-03-05  Chong Yidong  <cyd@stupidchicken.com>
155         * help-mode.el (help-buffer): If we are to return the current
156         buffer, signal an error if it's not in Help mode (Bug#8147).
158 2011-03-05  Reuben Thomas  <rrt@sc3d.org>
160         * files.el (file-name-version-regexp): Handle backup files of the
161         form `foo.js.~HEAD~1~' (Bug#8159).
163 2011-03-05  Glenn Morris  <rgm@gnu.org>
165         * eshell/esh-var.el: Don't require esh-test when compiling.
166         * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
167         * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
168         * eshell/esh-test.el: Move to ../../test/eshell.el.
170 2011-03-05  David Engster  <deng@randomsample.de>
172         * files.el (save-some-buffers): Report the names of buffers saved
173         automatically due to buffer-save-without-query (Bug#8134).
175 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
177         * net/rcirc.el: Add QuakeNet authentication support.
178         (rcirc-authinfo, rcirc-check-auth-status)
179         (rcirc-authenticate): Support QuakeNet.
181 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
183         * net/rcirc.el: Add functionality to authenticate before
184         autojoining channels.
185         (rcirc-authenticate-before-join): New option.
186         (rcirc-authenticated-hook): New variable.
187         (rcirc-connect): Make local variable rcirc-user-authenticated.
188         (rcirc-handler-001): Respect rcirc-authenticate-before-join.
189         (rcirc-check-auth-status, rcirc-join-channels-post-auth):
190         New functions.
191         (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
192         Call rcirc-check-auth-status.
194 2011-03-05  Alex Harsanyi  <AlexHarsanyi@gmail.com>
196         * net/soap-client.el (soap-namespace-put-link): Check if the target
197         name is fully qualified -- use only the name part.
198         (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
199         types, treated the same as xsd:sequence.  (Bug#8166)
201 2011-03-05  Eli Zaretskii  <eliz@gnu.org>
203         * files.el (find-file-noselect): Don't ask about re-visiting
204         non-literally if the file is already visited in image-mode.
205         (Bug#8177)
207 2011-03-05  Glenn Morris  <rgm@gnu.org>
209         * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
210         (eshell-mode): Use eshell-kill-buffer-function.
211         Run the -initialize functions independently of the -load-hooks.
212         * eshell/esh-proc.el (eshell-kill-process-function): New function.
213         (eshell-gather-process-output, eshell-sentinel)
214         (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
215         Use eshell-kill-process-function.
216         * eshell/em-alias.el (eshell-alias-load-hook):
217         * eshell/em-banner.el (eshell-banner-load-hook):
218         * eshell/em-cmpl.el (eshell-cmpl-load-hook):
219         * eshell/em-dirs.el (eshell-dirs-load-hook):
220         * eshell/em-glob.el (eshell-glob-load-hook):
221         * eshell/em-hist.el (eshell-hist-load-hook):
222         * eshell/em-pred.el (eshell-pred-load-hook):
223         * eshell/em-prompt.el (eshell-prompt-load-hook):
224         * eshell/em-rebind.el (eshell-rebind-load-hook):
225         * eshell/em-script.el (eshell-script-load-hook):
226         * eshell/em-smart.el (eshell-smart-load-hook):
227         * eshell/em-term.el (eshell-term-load-hook):
228         * eshell/em-unix.el (eshell-unix-load-hook):
229         * eshell/esh-arg.el (eshell-arg-load-hook):
230         * eshell/esh-cmd.el (eshell-cmd-load-hook):
231         * eshell/esh-ext.el (eshell-ext-load-hook):
232         * eshell/esh-io.el (eshell-io-load-hook):
233         * eshell/esh-mode.el (eshell-exit-hook):
234         * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
235         * eshell/esh-var.el (eshell-var-load-hook):
236         Set default hook values to nil.  (Bug#5375)
238         * eshell/esh-module.el (eshell-module-unload-hook)
239         (eshell-modules-list): Remove leading * from defcustom docs.
241         * eshell/esh-util.el (eshell-for): Make it obsolete.
242         * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
243         * eshell/em-dirs.el (eshell-save-some-last-dir):
244         * eshell/em-hist.el (eshell-save-some-history)
245         (eshell-hist-parse-modifier):
246         * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
247         (eshell-ls-entries):
248         * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
249         * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
250         (eshell/which):
251         * eshell/esh-ext.el (eshell-find-interpreter):
252         * eshell/esh-mode.el (eshell-mode):
253         * eshell/esh-module.el (eshell-unload-extension-modules):
254         * eshell/esh-proc.el (eshell-process-interact):
255         * eshell/esh-test.el (eshell-test):
256         * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
257         * eshell/esh-var.el (eshell/env, eshell-environment-variables)
258         (eshell-variables-list):
259         * eshell/eshell.el (eshell-unload-all-modules):
260         Replace eshell-for with dolist.
262 2011-03-04  Glenn Morris  <rgm@gnu.org>
264         * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0.  (Bug#8170)
266 2011-03-04  Tom Tromey  <tromey@redhat.com>
268         * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
270 2011-03-04  Glenn Morris  <rgm@gnu.org>
272         * outline.el (outline-regexp): No longer allow nil.
273         (outline-heading-end-regexp): Add safety predicate.  (Bug#7619)
275         * net/browse-url.el (browse-url):
276         Handle deleted default-directory.  (Bug#6077)
278         * recentf.el (recentf-include-p): In case of a buggy predicate,
279         err on the side of including, not excluding.  (Bug#5843)
281 2011-03-04  Jay Belanger  <jay.p.belanger@gmail.com>
283         * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
284         variables as units.
286 2011-03-04  Bob Rogers  <rogers@rgrjr.dyndns.org>
288         * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
289         if there is no node.  (Bug#3261)
291 2011-03-04  Leo Liu  <sdl.web@gmail.com>
293         * vc/diff-mode.el (diff-mode): Fix whitespace-style.  (Bug#8139)
295         * time.el (display-time-world-list): Fix typo.  (Bug#7571)
297 2011-03-04  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
299         * cus-edit.el (custom-buffer-create-internal):
300         Split search string before passing it to `customize-apropos' (bug#8136).
302 2011-03-04  Drew Adams  <drew.adams@oracle.com>
304         * image-dired.el (image-dired-cmd-read-exif-data-options):
305         Fix typo in docstring (bug#8156).
307 2011-03-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
309         * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
311 2011-03-03  Christian Ohler  <ohler@gnu.org>
313         * emacs-lisp/ert.el (ert--explain-equal): New function.
314         (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
315         All callers changed.
316         (ert--explain-equal-including-properties): Rename from
317         `ert--explain-not-equal-including-properties'.  All callers
318         changed.
320 2011-03-03  Christian Ohler  <ohler@gnu.org>
322         * emacs-lisp/ert.el (ert--stats-set-test-and-result)
323         (ert-char-for-test-result, ert-string-for-test-result)
324         (ert-run-tests-batch, ert--print-test-for-ewoc):
325         Handle `ert-test-quit'.
327 2011-03-03  David Abrahams  <dave@boostpro.com>
329         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
330         Move ediff-defvar-local calls after defcustoms.  (Bug#1821)
332 2011-03-03  Glenn Morris  <rgm@gnu.org>
334         * files.el (file-truename): Doc fix.  (Bug#2341)
336 2011-03-03  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
338         * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
340 2011-03-03  Vagn Johansen  <gonz808@hotmail.com>  (tiny change)
342         * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
343         programs output backslashes.  (Bug#7663)
345 2011-03-03  Glenn Morris  <rgm@gnu.org>
347         * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
348         (mail-mode): Remove mail-sent-via from the doc.
349         (mail-sent-via): Make it obsolete.  (Bug#1776)
351         * progmodes/grep.el (grep-highlight-matches): Doc fix.
352         (grep-process-setup): No highlighting without font-lock.  (Bug#8084)
354         * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
355         with no parents.  (Bug#8025)
357 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
359         * password-cache.el (password-in-cache-p): Add autoload.
361 2011-03-02  Glenn Morris  <rgm@gnu.org>
363         * man.el (Man-support-local-filenames): Also handle Red Hat's man.
364         * dired-x.el (Man-support-local-filenames): Autoload it.
365         (dired-guess-shell-alist-default): Also handle Red Hat's man.
367         * dired-x.el (dired-default-directory-alist, dired-default-directory):
368         Mark as obsolete.
369         (dired-smart-shell-command): Just call dired-current-directory.
371         * dired-x.el (dired-jump-other-window): Add autoload.
372         (dired-default-directory-alist, dired-default-directory): Doc fixes.
373         (dired-default-directory-alist): Mark as risky.
375         * dired-x.el (dired-omit-here-always): Make it obsolete.
377 2011-03-02  Chong Yidong  <cyd@stupidchicken.com>
379         * textmodes/artist.el (artist-curr-go): Default to pen-line.
380         (artist-select-op-pen-line): New function.
381         (artist-menu-map): New variable.
382         (artist-mode-map): Add a menu to the menu-bar.
384 2011-03-02  Jay Belanger  <jay.p.belanger@gmail.com>
386         * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
387         when evaluating.
389         * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
390         New function.
391         (math-logunits-add, math-logunits-mul, math-logunits-divide):
392         (math-logunits-quant, math-logunits-level):
393         Use `math-conditional-apply' and `math-conditional-pow' to evaluate
394         functions.
395         (math-logunits-level): Extract units from ratio.
397 2011-03-01  Juanma Barranquero  <lekktu@gmail.com>
399         * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
401 2011-03-01  Glenn Morris  <rgm@gnu.org>
403         * calendar/cal-hebrew.el (calendar-hebrew-birthday)
404         (diary-hebrew-birthday): Rename and rework functions added
405         in previous change.
407 2011-03-01  Ed Reingold  <reingold@emr.cs.iit.edu>
409         * calendar/cal-hebrew.el (hebrew-calendar-birthday)
410         (diary-hebrew-birthday): New functions.
412 2011-03-01  Glenn Morris  <rgm@gnu.org>
414         * dired.el (dired-safe-switches-p): Beef it up.
415         (dired-actual-switches): Use it for the safe-local prop.  (Bug#3230)
417 2011-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
419         * dired.el (dired-safe-switches-p): New function.
421 2011-03-01  Glenn Morris  <rgm@gnu.org>
423         * files.el (dir-locals-collect-variables):
424         Add the ability to exclude subdirectories.  (Bug#8100)
426         * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
428 2011-02-28  Christoph Scholtes  <cschol2112@googlemail.com>
430         * ido.el (ido-everywhere): Doc fix.
431         (ido-mode): Doc fix.
433 2011-02-28  Glenn Morris  <rgm@gnu.org>
435         * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
437 2011-02-28  Michael Albinus  <michael.albinus@gmx.de>
439         * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
440         shadows.
442 2011-02-28  Antoine Levitt  <antoine.levitt@gmail.com>
444         * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
446 2011-02-28  Juanma Barranquero  <lekktu@gmail.com>
448         * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
449         Fix typos in docstrings.
451 2011-02-28  Stephen Berman  <stephen.berman@gmx.net>
453         * dired-aux.el (dired-update-file-line):
454         Fix 2010-11-09 change.  (Bug#8131)
456 2011-02-28  Eli Zaretskii  <eliz@gnu.org>
458         * international/mule-cmds.el (set-default-coding-systems): Use the
459         -unix variant of encoding in default-keyboard-coding-system.
460         (Bug#8122)
462 2011-02-27  Chong Yidong  <cyd@stupidchicken.com>
464         * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
466 2011-02-27  Prestoo Ten  <prestooten@gmail.com>  (tiny change)
468         * term/screen.el: New file (Bug#2650).
470 2011-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
472         * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
473         (pcase-mutually-exclusive-predicates): New var.
474         (pcase--split-consp, pcase--split-pred): Use it.
475         (pcase--split-equal, pcase--split-member): When splitting against
476         a pure predicate, run it to know the outcome.
477         (pcase--u1): Mark vars that are actually used.
478         (pcase--q1): Avoid introducing unused vars.
480 2011-02-27  Jay Belanger  <jay.p.belanger@gmail.com>
482         * calc/calc-ext.el (calc-init-extensions):
483         Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
485         * calc/calc-math.el (calcFunc-log10): Don't signal an error in
486         symbolic mode.
488         * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
489         argument is a variable.
491 2011-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
493         * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
494         (aput, adelete, amake): Replace `eval' -> `symbol-value'.
495         Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
497 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
499         * password-cache.el (password-in-cache-p): Convenience function to
500         check if a key is in the cache, even if the value is nil.
502 2011-02-25  Jambunathan K  <kjambunathan@gmail.com>
504         * emacs-lisp/package-x.el (package--archive-contents-from-url)
505         (package--archive-contents-from-file): New functions.
506         (package-update-news-on-upload): New var.
507         (package-upload-buffer-internal): Extract archive-contents from
508         package-archive-upload-base if it is not found at archive-url.
509         Obey package-update-news-on-upload.
510         (package-upload-buffer, package-upload-file): Doc fix.
512 2011-02-24  Glenn Morris  <rgm@gnu.org>
514         * files-x.el (modify-dir-local-variable): Handle dir-locals from
515         the cache, and from non-file sources.
517         * help-fns.el (describe-variable): Return consistent results when a
518         dir-local from a file came from the cache or did not.  (Bug#8095)
519         If a dir-local has no associated file, say it came from a "directory".
521         * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
522         (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
524         * files.el (dir-locals-find-file): Doc fix.
525         Fix the check for cache elements that have no associated file,
526         and the mtime check for those that do.  (Bug#8095)
528         * dired-x.el (dired-hack-local-variables):
529         Handle interrupts during hacking local variables.  (Bug#5216)
531         * emacs-lisp/autoload.el (autoload-save-buffers)
532         (autoload-find-destination, update-directory-autoloads):
533         Avoid prompts when updating autoloads.
535 2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
537         * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
539 2011-02-23  Kenichi Handa  <handa@m17n.org>
541         * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
542         error when a multipart boundary in the nested multipart is found.
544         * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
545         header components.
547 2011-02-23  Glenn Morris  <rgm@gnu.org>
549         * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
550         * dired-x.el (dired-omit-mode): Safe if boolean.
551         (dired-enable-local-variables): Fix doc and custom type.
552         (dired-enable-local-variables, dired-local-variables-file)
553         (dired-hack-local-variables): Make obsolete.
554         (dired-omit-here-always): Use dir-locals.el instead.
556         * files.el (safe-local-eval-forms): Add the write-file-hooks version.
558 2011-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
560         * help-fns.el (describe-function-1): Don't signal an error just because
561         the DOC file disappeared.
563 2011-02-22  Seppo Sade  <sepposade1@gmail.com>  (tiny change)
565         * eshell/esh-ext.el (eshell-external-command): Do not restrict
566         remote check to "ftp".  (Bug#8089)
568 2011-02-21  Alan Mackenzie  <acm@muc.de>
570         Fix bug #7930.
571         * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
572         in macros finding their way into c-state-nonlit-pos-cache.
573         Strengthen the comments.
574         (c-state-dump): New commented out diagnostic routine.
576 2011-02-21  Michael Albinus  <michael.albinus@gmx.de>
578         * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
579         `field' property of `rfn-eshadow-overlay'.
581 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
583         * net/netrc.el (netrc-parse): Comment fix.
585 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
587         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
588         Autoload.  Add optional arg FRAME, and pass it to color-values.
589         (color-complement): Caller changed.  Doc fix.
590         (color-gradient): Rewrite for better clarity and efficiency.
592         * faces.el (color-values): Use cond for clarity.  Doc fix.
594         * facemenu.el (color-rgb-to-hsv): Delete; use the version in
595         color.el instead.
596         (list-colors-sort-key, list-colors-print):
597         Use color-normalized-values.
599 2011-02-20  Drew Adams  <drew.adams@oracle.com>
601         * color.el: First part of merge from hexrgb.el.
602         (color-rgb-to-hex): Rename from color-rgb->hex.
603         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
604         saturation to zero if the value is too small.
605         (color-rgb-to-hsl): Rename from color-rgb->hsl.
606         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
607         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
608         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
609         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
610         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
611         (color-cie-de2000): Doc fix.
613 2011-02-20  Alan Mackenzie  <acm@muc.de>
615         * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
616         locating the beginning of a macro.  (Bug#7595)
618 2011-02-20  Glenn Morris  <rgm@gnu.org>
620         * edmacro.el (edmacro-eight-bits): Make it a defcustom.
621         Don't autoload it.
623         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
624         (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
626 2011-02-19  Dmitry Bolshakov  <dmitry.bolshakov@bridge-quest.com>
627             Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
629         * progmodes/hideshow.el (hs-find-block-beginning)
630         (hs-hide-level-recursive): Ignore comments when parsing braces
631         (Bug#8036).
633 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
635         * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
636         (vc-bzr-pull): Use it.
638 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
640         * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
641         (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
642         but returning an alist.  Ignore comments in bzr conffile.
643         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
644         (vc-bzr-error-regex-alist): New var.
645         (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
647         * vc/vc-dispatcher.el (vc-do-async-command):
648         Bind inhibit-read-only to t.
650         * progmodes/compile.el (compilation--flush-directory-cache):
651         Handle the case where cdr of compilation--flush-directory-cache
652         points to no buffer, which can occur if we previously switched to
653         compilation-mode in a pregenerated buffer.
655 2011-02-19  Kenichi Handa  <handa@m17n.org>
657         * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
658         get the header copy into the temporary buffer.
659         (rmail-mime-insert-decoded-text): Ignore us-ascii.
660         (rmail-show-mime): When rmail-mime-coding-system is nil, set
661         buffer-file-coding-system to undecided.
663 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
665         * international/mule-cmds.el (read-char-by-name, ucs-insert):
666         Document completion with asterisk and a substring.
668 2011-02-19  Glenn Morris  <rgm@gnu.org>
670         * files.el (find-file-literally): Doc fix.
672         * simple.el (rfc822-goto-eoh): Give it a doc-string.
674         * log-edit.el (log-edit-insert-changelog):
675         Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
677 2011-02-19  Glenn Morris  <rgm@gnu.org>
679         * dired-x.el: Don't require dired-aux.
680         (dired-do-create-files, dired-mark-read-regexp)
681         (dired-do-create-files-regexp): Autoload from dired-aux.
683         * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
684         * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
686         * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
687         * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
689         * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
690         * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
691         (dired-clean-up-buffers-too): Declare.
693         * dired-x.el (dired-initial-position): Merge into dired.el's version.
694         * dired.el (dired-initial-position): Merge dired-x's version here.
695         (dired-find-subdir): Declare.
697         * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
698         * dired-aux.el (dired-add-entry): Give it a doc-string.
699         Merge dired-x's dired-omit handling here.
700         (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
702         * international/mule-diag.el (list-input-methods-1):
703         Indent all lines of multi-line doc-strings.  (Bug#8066)
705 2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
707         Fix 2011-02-02 changes.
709         * apropos.el (apropos-print): Call apropos-mode before setting up
710         buffer variables.  Use inhibit-read-only.
712         * emacs-lisp/package.el (package--list-packages):
713         Call package-menu-mode before setting up buffer variables.
715         * play/solitaire.el (solitaire): Call solitaire-mode before
716         setting up buffer variables.  Use inhibit-read-only.
718 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
720         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
721         Bind case-fold-search to nil when looking for end of here-doc.
723 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
725         * image-mode.el (image-toggle-display-image):
726         Set find-file-literally non-nil in buffers visiting binary image
727         files.  (Bug#8047)
729 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
731         * files.el (cd): Make completion obey cd-path (bug#7924).
733 2011-02-18  Glenn Morris  <rgm@gnu.org>
735         * progmodes/prolog.el: Don't require compile when compiling.
736         (compilation-shell-minor-mode, compilation-error-regexp-alist)
737         (compilation-forget-errors, compilation-fake-loc)
738         (compilation-parse-errors-function, compilation-error-list): Declare.
739         (prolog-inferior-mode): Require 'compile.
741         * emulation/cua-base.el (pc-selection-mode): Declare.
743         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
744         (customize-object): Add autoload cookie.
745         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
746         (eieio-browse, describe-class, eieio-describe-class)
747         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
748         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
749         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
750         * Makefile.in (autoloads): Make eieio.el writable.
752         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
753         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
754         (dired-hack-local-variables): Use inhibit-read-only.
755         (dired-guess-default): Simplify.
756         (dired-make-relative-symlink): Use dotimes.
757         (dired-simultaneous-find-file): Use dolist.
758         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
759         (dired-x-hands-off-my-keys): Doc fix.
760         (dired-x-bind-find-file): Doc fix.  Use remapping.
761         (after-init-hook): No need to add dired-x-bind-find-file.
762         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
763         No need to call expand-file-name.
764         (dired-filename-at-point): Remove unused locals `end', `filename'.
766 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
768         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
770 2011-02-18  Christian Ohler  <ohler@gnu.org>
772         * emacs-lisp/ert.el (ert--setup-results-buffer)
773         (ert-results-pop-to-backtrace-for-test-at-point)
774         (ert-results-pop-to-messages-for-test-at-point)
775         (ert-results-pop-to-should-forms-for-test-at-point)
776         (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
777         were incorrect and unnecessary.  This should make `make check'
778         pass again.
780 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
782         * allout-widgets.el (allout-widgets-icons-light-subdir)
783         (allout-widgets-icons-dark-subdir): Track relocations of icons.
784         * allout.el: Remove commentary about remove encryption
785         passphrase mnemonic support and verification.
786         (allout-encrypt-string): Recognize epg failure to decrypt gpg2
787         armored text using gpg1, and indicate that the gpg version *might*
788         be the problem in the error message.
790 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
792         * net/rcirc.el (rcirc-float-time): New function.
793         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
794         (rcirc-ctcp-sender-PING): Use it.
796 2011-02-17  Glenn Morris  <rgm@gnu.org>
798         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
799         (speedbar-update-flag, speedbar-fetch-etags-command)
800         (speedbar-fetch-etags-arguments):
801         * term.el (term-buffer-maximum-size, term-input-chunk-size)
802         (term-completion-autolist, term-completion-addsuffix)
803         (term-completion-recexact, term-completion-fignore):
804         * term/sup-mouse.el (sup-mouse-fast-select-window):
805         * term/x-win.el (x-select-request-type):
806         Convert some defvars with "*" to defcustoms.
808         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
810         * vc/vc.el (vc-default-previous-version):
811         Remove alias that points nowhere.  (Bug#4496)
813         * dired-x.el (dired-clean-up-after-deletion):
814         kill-buffer does not need save-excursion.
815         (dired-do-run-mail): Doc fix.
816         (dired-filename-at-point): Doc fix.
817         Use looking-at, and skip-chars rather than re search.
819         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
821 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
823         * allout-widgets.el: New allout extension that shows allout
824         outline structure with graphical widgets.  'allout-widgets'
825         customize group is an 'allout' subgroup, for easy discovery.
827         * allout.el: Include PGP and GnuPG in Keywords, and other
828         commentary refinements.
829         (allout-abbreviate-flattened-numbering): Rename to
830         allout-flattened-numbering-abbreviation, and
831         define-obsolete-variable-alias the old name.
832         (allout-flattened-numbering-abbreviation): Rename from
833         allout-abbreviate-flattened-numbering.
834         (allout-mode-p): Include among autoloads, for use by other modes
835         with impunity.
836         (allout-listify-exposed):
837         Use allout-flattened-numbering-abbreviation.
838         (allout-encrypt-string): Use set-buffer-multibyte directly.
839         (allout-set-buffer-multibyte): Remove.
841 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
843         * simple.el (just-one-space): Remove useless `or' call.
845 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
847         * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
848         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
849         (soap-decoded-multi-refs, soap-current-wsdl)
850         (soap-encoded-namespaces): Rename CL-style *...* variables.
852 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
854         * net/soap-client.el: Add "comm" and "hypermedia" to the
855         keywords.  Reflow too long lines.
857         * net/soap-inspect.el: Ditto.  Require 'cl.
859 2011-02-16  Bastien Guerry  <bzg@altern.org>
861         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
862         in a `doctor-type' argument.
864 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
866         * net/soap-client.el:
867         * net/soap-inspect.el: New files.
869 2011-02-16  Leo Liu  <sdl.web@gmail.com>
871         * dired-x.el (dired-mode-map, dired-extra-startup):
872         Remove dired-copy-filename-as-kill since it's already in dired.el.
874 2011-02-16  Glenn Morris  <rgm@gnu.org>
876         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
877         Doc fixes.  Add :set property, replacing top-level calls.
878         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
879         (dired-guess-shell-gnutar): Test tar version rather than system-type.
880         (dired-extra-startup, dired-man, dired-info): Doc fixes.
881         (dired-clean-up-after-deletion): Use when and dolist.
882         (dired-jump): Use unless and when.
883         (dired-virtual): Use line-end-position.
884         (dired-default-directory-alist): Rename from default-directory-alist.
885         (dired-default-directory): Update for above name change.
886         (dired-vm): Drop VM < 5 and simplify.
887         (dired-buffer-more-recently-used-p): Rewrite.
888         (dired-filename-at-point): Use when and or.
889         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
890         Update callers.
892 2011-02-15  Glenn Morris  <rgm@gnu.org>
894         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
896 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
898         * vc/vc-git.el (vc-git-root-log-format): New option for
899         customizing log format.
900         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
901         (vc-git-log-view-mode): Use it.
902         (vc-git-expanded-log-entry): New function.
903         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
905         * vc/vc-hg.el (vc-hg-root-log-template): New option for
906         customizing log format.
907         (vc-hg-print-log): Use it.
908         (vc-hg-expanded-log-entry): New function.
909         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
910         vc-hg-expanded-log-entry.  Truncate lines in root log.
912         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
914         * vc/log-view.el (log-view-mode-menu):
915         Add log-view-toggle-entry-display.
917 2011-02-14  Glenn Morris  <rgm@gnu.org>
919         * dired-x.el: Don't require man when compiling.
920         (dired-omit-extensions, dired-local-variables-file)
921         (dired-x-hands-off-my-keys): Make them defcustoms.
922         (Man-support-local-filenames, Man-getpage-in-background): Declare.
923         (vm-visit-folder): Declare rather than defining.
924         (dired-x-help-address, dired-x-variable-list): Remove.
925         (dired-x-submit-report): Make it an obsolete alias.
927 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
929         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
931 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
933         * net/imap.el: Bring it back.
935 2011-02-13  Alan Mackenzie  <acm@muc.de>
937         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
938         narrow-to-region call that cuts context off the end (Bug#7722).
940         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
941         Refactor nested if-forms with a simple cond.
942         (c-forward-<>-arglist): Revert 2011-01-31 change.
944 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
946         * vc/log-view.el: New command log-view-toggle-entry-display for
947         toggling log entries between concise and detailed forms.
948         (log-view-toggle-entry-display): New command.
949         (log-view-mode-map): Bind RET to it.
950         (log-view-expanded-log-entry-function): New variable.
951         (log-view-current-entry, log-view-inside-comment-p)
952         (log-view-current-tag): New functions.
953         (log-view-toggle-mark-entry): Use log-view-current-entry and
954         log-view-end-of-defun instead of searching directly with
955         log-view-message-re.
956         (log-view-end-of-defun): Likewise.  Add optional ARG for
957         compatibility with end-of-defun.
958         (log-view-end-of-defun): Ignore comments and VC buttons.
960         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
961         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
963 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
965         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
967         * net/imap-hash.el: Remove file.
969 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
971         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
973         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
974         call.
976         * net/tramp-imap.el: Remove file.
978 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
980         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
981         widget library for buttons, just use button.el.
983         * vc/log-view.el (log-view-mode-map): Don't inherit from
984         widget-keymap.
986 2011-02-12  Glenn Morris  <rgm@gnu.org>
988         * emacs-lisp/cl-seq.el (union, nunion, intersection)
989         (nintersection, set-difference, nset-difference)
990         (set-exclusive-or, nset-exclusive-or): Doc fix.
992         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
994         * faces.el (face-attr-match-p): Handle the obsolete :bold and
995         :italic props, so that frame-set-background-mode works.  (Bug#7966)
997         * simple.el (next-error): Doc fix.
999 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1001         * dired-aux.el (dired-create-files): Adapt destination name to
1002         match the new behavior of copy-directory.
1004 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
1006         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1007         from rmail-dont-reply-to-names.  Callers changed.
1008         (mail-dont-reply-to): Rename from mail-dont-reply-to.
1009         (rmail-dont-reply-to): Make it an obsolete alias.
1011         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1012         nil, and make obsolete (Bug#7888).
1013         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1015         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1017         * mail/rmailsort.el (rmail-sort-by-correspondent)
1018         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
1020         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1022 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1024         * files.el (copy-directory): New argument COPY-CONTENTS for
1025         copying directory contents into another existing directory.
1027 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
1029         * minibuffer.el (completion-table-case-fold): New function for
1030         creating a case-insensitive completion table.
1032 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
1034         * net/tramp.el (tramp-default-method): Also check if
1035         `auth-source-search' is bound.
1036         (tramp-read-passwd): Use `auth-source-search' instead of
1037         `auto-source-user-or-password'.
1039         * net/tramp-imap.el: Autoload `auto-source-search' instead of
1040         `auto-source-user-or-password.
1041         (tramp-imap-passphrase-callback-function): Use it.
1043         * net/imap-hash.el: Autoload `auto-source-search' instead of
1044         `auto-source-user-or-password.
1045         (imap-hash-open-connection): Use it.
1047         * mail/smtpmail.el: Autoload `auto-source-search' instead of
1048         `auto-source-user-or-password.
1049         (smtpmail-try-auth-methods): Use it.
1051 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
1053         * emacs-lisp/package.el: Allow packages to be reinstalled.
1054         (package--write-file-no-coding): Remove EXCL arg.
1055         (package-unpack-single): Don't use it.
1057 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
1059         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1060         in each sub directory.
1061         (vc-svn-registered): Use vc-svn-root.
1062         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
1063         (vc-svn-repository-hostname): Use "svn info".
1065 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1067         * simple.el (delete-trailing-whitespace): New optional buffer
1068         bound parameters.
1070 2011-02-11  Bastien Guerry  <bzg@altern.org>
1072         * files.el (basic-save-buffer): save unmodified buffers when
1073         the file pointed by buffer-file-name doesn't exist.
1075 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1077         * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1079 2011-02-11  Glenn Morris  <rgm@gnu.org>
1081         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1083 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
1085         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1087 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1089         * server.el (server-process-filter): Use pcase.
1091         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1092         conflicting ways.
1093         (smie-indent--parent): Extend to "parent of arg".
1094         (smie-indent-inside-string): New function.
1095         (smie-indent-functions): Use it.
1097         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1098         bzr locking race condition.
1100         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1101         still valid before using it.
1103         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1104         `message' -> `compilation-message' rename (bug#8004).
1106         Move keymap initialization into declaration.
1107         * textmodes/enriched.el (enriched-mode-map):
1108         * textmodes/bib-mode.el (bib-mode-map):
1109         * term/lk201.el (lk201-function-map):
1110         * tar-mode.el (tar-mode-map):
1111         * replace.el (occur-mode-map):
1112         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1113         * progmodes/idlw-help.el (idlwave-help-mode-map):
1114         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1115         * play/solitaire.el (solitaire-mode-map):
1116         * play/snake.el (snake-mode-map, snake-null-map):
1117         * play/pong.el (pong-mode-map):
1118         * play/handwrite.el (menu-bar-handwrite-map):
1119         * play/gametree.el (gametree-mode-map):
1120         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1121         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1122         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1123         (newsticker--url-keymap):
1124         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1125         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1126         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1127         (menu-bar-edit-menu, menu-bar-custom-menu)
1128         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1129         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1130         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1131         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1132         (menu-bar-tools-menu, menu-bar-describe-menu)
1133         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1134         (menu-bar-help-menu):
1135         * mail/rmailsum.el (rmail-summary-mode-map):
1136         * kmacro.el (kmacro-step-edit-map):
1137         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1138         (ibuffer-mode-operate-map):
1139         * hi-lock.el (hi-lock-menu, hi-lock-map):
1140         * emulation/vip.el (vip-mode-map):
1141         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1142         * bookmark.el (bookmark-bmenu-mode-map):
1143         * help-mode.el (help-mode-map): Move initialization into declaration.
1145 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1147         * net/rcirc.el: Add PRIVMSG and CTCP functions.
1148         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1149         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1150         (rcirc-cmd-me, rcirc-authenticate): Use them.
1152 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
1154         * allout.el: Synopsis: Change allout user configuration so
1155         auto-activation is controlled solely by customization
1156         `allout-auto-activation'.
1158         (allout-auto-activation-helper, allout-setup): New autoloads
1159         implement new custom set procedure for allout-auto-activation.
1160         Also, explicitly invoke (allout-setup) after allout-auto-activation
1161         is custom-defined, to affect the settings in emacs sessions besides
1162         the few where allout-auto-activation customization is done.
1163         (allout-auto-activation): Use allout-auto-activation-helper to
1164         :set.  Revise the docstring.
1165         (allout-init): Reduce functionality to just customizing
1166         allout-auto-activation, and mark obsolete.
1167         (allout-mode): Respect string values for allout-auto-activation.
1168         Run allout-after-copy-or-kill-hook without any args.
1169         (allout-mode, allout-layout, allout-default-layout)
1170         (outlineify-sticky): Adjust docstring for new scheme.
1171         (allout-after-copy-or-kill-hook): No arguments - hook implementers
1172         should concentrate on the kill ring.
1174 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
1176         * password-cache.el (password-cache-remove): Accept secrets that are
1177         not strings.
1179 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1181         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1182         of here-doc that immediately follows a comment.
1184 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1186         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1188         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1189         available.
1190         (rcirc-ctcp-sender-PING): New function.
1192 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1194         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1195         Remove the mark/nomark handling, and activate shift-select-mode instead.
1197         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1199 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
1201         * calc/calc-units.el (math-logunits-quant): Add support for
1202         non-logarithmic units.
1204 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
1206         * allout.el (allout-after-copy-or-kill-hook): New hook for
1207         extension-specific processing of killed text.
1208         (allout-mode): Include new allout-after-copy-or-kill-hook among
1209         mentioned hooks.
1210         (allout-kill-line, allout-kill-topic): Ensure that processing
1211         after kill happens even if barf-if-buffer-read-only is raised.
1212         Include new allout-after-copy-or-kill-hook among that subsequent
1213         processing.
1214         (allout-deannotate-hidden): Actually remove the annotation text
1215         properties.
1217         * allout.el (allout-listify-exposed): Copy text sans text properties.
1219 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
1221         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1223 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1225         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1227 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
1229         * calc/calc.el (calc-logunits-field-reference): Rename from
1230         `calc-default-field-reference-level'.
1231         (calc-logunits-power-reference): Rename from
1232         `calc-default-power-reference-level'.
1234         * calc/calc-units.el (math-logunits-quant): Rename from
1235         `math-logunits-level'
1236         (math-logunits-plus): Rename from math-logcombine.
1237         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1238         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1239         (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1240         New functions.
1241         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1242         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1243         (calc-logunits-quantity): Rename from `calc-level'.
1244         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1245         (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1246         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1247         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1248         (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1249         New functions.
1251         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1252         (calc-ul-prefix-help): Remove.
1253         (calc-l-prefix-help): New function.
1254         (calc-full-help): Add reference to `calc-l-prefix-help'.
1256         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1258         * calc/README: Mention logarithmic units.
1260 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
1262         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1263         non-ASCII characters (Bug#7925).
1265 2011-02-05  Glenn Morris  <rgm@gnu.org>
1267         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1269         * calendar/diary-lib.el (diary-font-lock-keywords):
1270         Tweak diary-time-regexp match.  (Bug#7891)
1272         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
1273         (f90-mode): Use it for mode's `find-tag-default-function' property.
1275         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
1277         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
1279 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1281         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1282         (Bug#6386).
1284 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1286         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1287         font-lock-syntax-table remappings.
1288         (sh-here-doc-markers, sh-here-doc-re): Remove.
1289         (sh-font-lock-close-heredoc): Remove.
1290         (sh-syntax-propertize-here-doc): New function.
1291         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1292         instead of the sh-here-doc-re.
1293         (sh-font-lock-paren): Don't do anything in comments or strings.
1294         Handle line continuations.  Accept a few more chars.
1295         Don't rely on the font-lock-syntax-table remappings.
1296         `esac' is not a valid pattern.
1297         (sh-syntax-propertize-function): Handle here-docs differently, so we
1298         don't bother syntax-propertizing the insides.
1300         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1301         Handle new bashisms ";&" and ";;&" (bug#7947).
1303 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
1305         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1306         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1308 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
1310         * net/tramp.el (tramp-postfix-method-format)
1311         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1312         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1313         (tramp-postfix-user-regexp, tramp-prefix-port-format)
1314         (tramp-prefix-port-regexp, tramp-postfix-host-format)
1315         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1316         Doc fix.
1318 2011-02-04  Sam Steingold  <sds@gnu.org>
1320         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1322 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
1324         * international/mule-util.el (with-coding-priority): Doc fix.
1326 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1328         * arc-mode.el (archive-mode-map): Fix a typo in last change.
1330 2011-02-03  Sam Steingold  <sds@gnu.org>
1332         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1333         Do not error out when `func' is nil.
1335 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
1337         * net/tramp-sh.el (tramp-remote-path): Add default settings for
1338         `tramp-default-remote-path' to the docstring.
1339         (tramp-get-remote-path): Suppress error message when `getconf
1340         PATH' fails.
1342         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1344 2011-02-03  Glenn Morris  <rgm@gnu.org>
1346         * vc/vc-hg.el (vc-hg-command): Doc fix.
1348         * term/w32-win.el (libpng-version): Declare for compiler.
1350         * msb.el: No need to load dired while compiling.
1352         * emacs-lisp/elint.el (elint-standard-variables):
1353         Remove a couple of built-ins that now have doc-strings.
1355         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1356         `require' is automatically `eval-and-compile'd.
1358         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1359         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1361         * strokes.el (strokes-fill-current-buffer-with-whitespace):
1362         Move definition before use.
1363         (strokes-report-bug): Make it obsolete.
1365 2011-02-02  Sam Steingold  <sds@gnu.org>
1367         * apropos.el (apropos-print): Now that `apropos-mode' inherits
1368         from `special-mode', entering it makes the buffer read-only, so
1369         call it only when everything has been already inserted.
1370         * emacs-lisp/ert.el (ert--setup-results-buffer)
1371         (ert-results-pop-to-backtrace-for-test-at-point)
1372         (ert-results-pop-to-messages-for-test-at-point)
1373         (ert-results-pop-to-timings): Ditto.
1374         * emacs-lisp/package.el (package--list-packages): Ditto.
1375         * play/solitaire.el (solitaire): Ditto.
1377 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
1379         * progmodes/compile.el: Make all faces inherit.
1380         (compilation-warning): Inherit from font-lock-variable-name-face.
1381         (compilation-info): Inherit from font-lock-type-face.
1382         (compilation-line-number): Reassign to font-lock-keyword-face.
1383         (compilation-column-number): Reassign to font-lock-doc-face.
1384         (compilation-leave-directory-face): Reassign to
1385         font-lock-builtin-face.
1387 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
1389         * dired.el (dired-insert-directory): Don't invoke `ls' when
1390         ls-lisp.el is used to emulate it.
1392 2011-02-01  Julien Danjou  <julien@danjou.info>
1394         * color.el (color-gradient): Add a color-gradient function.
1396 2011-02-01  Sam Steingold  <sds@gnu.org>
1398         * simple.el (special-mode-map): Bind "h" to `describe-mode';
1399         bind "z" to `kill-this-buffer'.
1400         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1401         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1402         (apropos-mode): Inherit from `special-mode'.
1403         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1404         * bookmark.el (bookmark-bmenu-mode): Define using
1405         `define-derived-mode' inheriting from `special-mode'.
1406         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1407         * image-mode.el (image-mode-map): Ditto.
1408         * replace.el (occur-mode): Define using
1409         `define-derived-mode' inheriting from `special-mode'.
1410         * tar-mode.el (tar-mode): Inherit from `special-mode'.
1411         * calendar/diary-lib.el (diary-fancy-display-mode):
1412         Inherit from `special-mode-map'.
1413         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1414         Inherit from `special-mode'.
1415         * emacs-lisp/package.el (package-menu-mode-map): Copy from
1416         `special-mode-map'.
1417         (package-menu-mode): Define using `define-derived-mode'
1418         inheriting from `special-mode'.
1419         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1420         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1421         (xesam-mode-map): Define separately.
1422         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1423         * progmodes/compile.el (compilation-minor-mode-map)
1424         (compilation-mode-map): Inherit from `special-mode-map'.
1425         * vc/diff-mode.el (diff-mode-shared-map):
1426         Inherit from `special-mode-map'.
1427         * vc/log-view.el (log-view-mode-map): Add a comment.
1429 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
1431         * custom.el (load-theme): Define return value.  Drop use of
1432         unsafep; call custom-theme-load-confirm for non-known-safe themes.
1433         (custom-theme-load-confirm): Scroll in the correct window.
1434         (custom-enabled-themes): Add custom-safe-themes to :set-after.
1436         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1437         checkbox if load-theme fails.
1439 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1441         * progmodes/compile.el (compilation-next-error): Check there's
1442         a message before using it (bug#7941).
1444 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
1446         * calc/calc-mtx.el (math-lud-pivot-check): New function.
1447         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1448         of potential pivots.
1450 2011-01-31  Alan Mackenzie  <acm@muc.de>
1452         * progmodes/cc-cmds.el (c-forward-over-illiterals):
1453         Continue parsing if we encounter a naked # (Bug#7595).
1454         (c-beginning-of-statement): Avoid loop in locating the beginning
1455         of a macro.  (Not actually committed until 2011-02-20, see above).
1457 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1459         * files.el (copy-directory): Fix arguments to recursive call.
1461 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1463         * files.el (copy-directory): If destination is an existing
1464         directory, copy into a subdirectory there.
1466 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
1468         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1469         files.
1471 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1473         * image-dired.el (image-dired-mouse-display-image): No-op if no
1474         file is found (Bug#7817).
1476         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1478 2011-01-31  Kenichi Handa  <handa@m17n.org>
1480         * international/quail.el (quail-keyboard-layout-alist):
1481         Remove superfluous SPC for "pc105-uk" (bug#7927).
1483 2011-01-31  Glenn Morris  <rgm@gnu.org>
1485         * msb.el (msb-menu-bar-update-buffers): Update for changed
1486         argument handling of menu-bar-select-frame.  (Bug#7902)
1488 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1490         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1491         to the recursion depth (Bug#7722).
1493 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
1495         * term/ns-win.el (ns-find-file): Expand ns-input-file with
1496         command-line-default-directory (Bug#7872).
1498 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1500         * progmodes/compile.el (compilation--flush-directory-cache):
1501         New function, extracted from compilation--remove-properties.
1502         (compilation--remove-properties, compilation--parse-region): Use it.
1503         (compilation--previous-directory): Handle one more case.
1504         (compilation-enable-debug-messages): Remove.
1505         (compilation-parse-errors, compilation--flush-parse): Just remove the
1506         left over debug messages.
1508 2011-01-31  Sam Steingold  <sds@gnu.org>
1510         * progmodes/compile.el (compilation-enable-debug-messages):
1511         Add a variable to make the parsing messages introduced in
1512         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1513         (compilation-parse-errors, compilation--flush-parse): Use it.
1515 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1517         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
1518         (rcirc-nick-completion-format): New defcustom.
1519         (rcirc-complete): Use it.
1521 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1523         * net/rcirc.el: Clean log filenames (Bug#7933).
1524         (rcirc-log-write): Use convert-standard-filename.
1525         (rcirc-log-filename-function): Documentation updates.
1527 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
1529         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1530         Check report-emacs-bug-can-use-osx-open and use that if t.
1531         (report-emacs-bug-can-use-osx-open): New function.
1532         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1533         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1535 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1537         * vc/vc-dispatcher.el (vc-set-async-update): New function for
1538         updating Dired or VC-dir buffers after async command completes.
1540         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1541         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1543         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1544         completions if it exists.  Use vc-set-async-update.
1545         (vc-git-pull): Use vc-set-async-update.
1547         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1548         read-shell-command.  Use vc-set-async-update.
1549         (vc-hg-merge-branch): Use vc-set-async-update.
1551 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
1553         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1554         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1555         (Bug#7931).
1557 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1559         * progmodes/compile.el: Avoid an N² behavior in grep.
1560         (compilation--previous-directory): New fun.
1561         (compilation--previous-directory-cache): New var.
1562         (compilation--remove-properties): Flush it.
1563         (compilation-directory-properties, compilation-error-properties):
1564         Use the new fun to speed up looking for the current directory.
1566 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1568         * vc/vc-hg.el (vc-hg-history): New var.
1569         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1570         (vc-hg-merge-branch): New function.
1572         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1573         the other way around.
1575         * vc/vc-git.el (vc-git-branches, vc-git-pull)
1576         (vc-git-merge-branch): New functions.
1577         (vc-git-history): New var.
1579 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1581         * vc/vc-dispatcher.el (vc-do-async-command): New function.
1583         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1584         vc-do-async-command.
1586         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1587         Callers changed.
1589 2011-01-28  Leo Liu  <sdl.web@gmail.com>
1591         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1592         highlighting to the "this function is advised" message.
1594         * help-mode.el (help-mode-finish): Apply highlighting here, to
1595         avoid clobbering by substitute-command-keys (Bug#6304).
1597 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1599         * woman.el (woman0-roff-buffer): Process roff escape sequences
1600         occurring prior to the first request (Bug#7843).
1602 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1604         * progmodes/compile.el: Don't use font-lock any more.
1605         (compilation-error-regexp-alist-alist): Change handling of makepp
1606         so it preserves the warning/error distinction on subsequent files.
1607         Simplify various rules.
1608         (compilation-directory-properties): Use font-lock-face.
1609         Add a compilation-message property.
1610         (compilation-internal-error-properties): Use font-lock-face.
1611         Don't set the compilation-debug property here.
1612         (compilation--put-prop, compilation--remove-properties)
1613         (compilation--parse-region, compilation--ensure-parse)
1614         (compilation--ensure-parse): New functions.
1615         (compilation-parse-errors): New function, largely inspired of
1616         compilation-mode-font-lock-keywords.  Set compilation-debug here.
1617         (compilation--parsed): New var.
1618         (compilation--flush-parse): Use compilation--ensure-parse.
1619         (compilation-start): Don't call font-lock.
1620         (compilation-turn-on-font-lock): Remove.
1621         (compilation-setup): Don't set font-lock-extra-managed-props not change
1622         other font-lock settings, other than keywords.
1623         Don't activate font-lock-mode.
1624         Set change-major-mode-hook and before-change-functions.
1625         (compilation--unsetup): Remove properties and hooks.
1626         (compilation-next-single-property-change): New function.
1627         (compilation-next-error): Use it to parse when needed.
1628         (compile-goto-error): Parse buffer as needed.
1629         (compilation--compat-error-properties): Don't need a dummy `face'
1630         property any more.
1632 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1634         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1635         (compilation-process-setup-function): Fix docstring's false promises.
1636         (compilation-error-regexp-alist-alist): Catch omake's continuous
1637         recompilation message and avoid reuse of old markers.
1638         (compilation-parse-errors-function): Declare obsolete.
1639         (compilation-buffer-modtime): Remove.
1640         (compilation--make-cdrloc, compilation--loc->col)
1641         (compilation--loc->line, compilation--loc->file-struct)
1642         (compilation--loc->marker, compilation--loc->visited)
1643         (compilation--make-file-struct, compilation--file-struct->file-spec)
1644         (compilation--file-struct->formats)
1645         (compilation--file-struct->loc-tree): New macros.  Use them.
1646         (compilation--message): New defstruct.  Use them.
1647         (compilation-next-error-function): Don't mess with timestamps to try
1648         and guess when to reparse.
1650 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1652         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1653         (tex-old-error-file-name): New function,
1654         extracted from tex-compilation-parse-errors.
1655         (tex-compilation-parse-errors): Remove.
1656         (tex-error-regexp-alist): New var.
1657         (tex-shell): Use it to avoid compilation-parse-errors-function.
1659         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1660         (grep-mode-font-lock-keywords): Remove regexp that seems like
1661         a left-over from before we used compile.el.
1662         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1663         modifying the buffer within with-silent-modifications.
1665         * progmodes/compile.el: Cleanup text-properties namespace by using
1666         `compilation-message' instead of `message', `compilation-directory'
1667         instead of `directory', and `compilation-debug' instead of `debug'.
1668         (compilation-last-buffer, compilation-parsing-end)
1669         (compilation-error-list, compilation-old-error-list): Move to the
1670         compatibility part of the code.
1671         (compilation-error-properties): If `file' is a function, let it return
1672         a file name.
1673         (compilation-mode-font-lock-keywords): Be more conservative with the
1674         omake "^ *" pattern prefix, to try and minimize the risk of
1675         pathologically slow regexp matching.
1676         (compilation-start): Use inhibit-read-only.
1677         (compilation--unsetup): New function.
1678         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1679         (compilation-filter): Minor tweaks.
1680         (compilation-next-error-function): Try and avoid abusing variables.
1681         (compilation--flush-file-structure): New fun.
1682         (compilation-fake-loc): Use it to improve behavior when file is reused.
1683         (debug-ignored-errors): Add "Moved past last ...".
1684         (compilation--compat-error-properties)
1685         (compilation--compat-parse-errors): Rename by doubling the "-".
1687         Port features from the previous prolog.el to the new one.
1688         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1689         (prolog-program-name, prolog-program-switches, prolog-consult-string)
1690         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1691         variable and use a function to compute the value dynamically.
1692         (prolog-prompt-regexp): Add regexp for GNU Prolog.
1693         (prolog-continued-prompt-regexp): Remove, unused.
1694         (prolog-find-value-by-system): Try and use the value of prolog-system
1695         in the *prolog* buffer if it helps.
1696         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1697         (prolog-zip-on): ..and check prolog-system and version here instead.
1698         (prolog-inferior-self-insert-command): New command.
1699         (prolog-inferior-mode-map): Use it.
1700         (prolog-inferior-error-regexp-alist): New var.
1701         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1702         (prolog-input-filter): Use derived-mode-p.
1703         (prolog-inferior-guess-flavor): New function.
1704         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
1705         make-comint to avoid running comint-mode twice.
1706         (prolog-inferior-buffer): New fun.
1707         (prolog-old-process-region, prolog-old-process-file):
1708         Don't call prolog-bsts here...
1709         (prolog-build-prolog-command): ...do it here instead.
1710         (prolog-old-process-region, prolog-old-process-file):
1711         Use compilation-fake-loc and compilation-forget-errors.
1712         (prolog-consult-compile-region): Use bolp.
1714 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1716         * image-mode.el (image-display-size): Doc fix (Bug#7820).
1718 2011-01-27  Sam Steingold  <sds@gnu.org>
1720         * midnight.el (clean-buffer-list-kill-never-buffer-names):
1721         Remove "*server*" which is never created by emacs server.
1723 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1725         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1726         there are some diff switches.
1728 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1730         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1731         Copy change made to ruby-font-lock-syntactic-keywords.
1733         * htmlfontify.el: Make it obey the font-lock-face text property.
1734         Miscellaneous cleanup such as:
1735         - Don't hide expressions after a closing paren.
1736         - Move initial setq into let.
1737         - Hoist common parts out of ifs.
1738         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1739         (hfy-face-at): Use get-text-property instead.
1740         (hfy-prop-invisible-p): Use invisible-p if available.
1741         (htmlfontify-manual): Use \\[...].
1742         (hfy-html-quote-regex): Use [...].
1743         (hfy-combined-face-spec): Simplify.
1744         (hfy-compile-face-map): Don't presume point-min==1.
1745         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1746         match end of string.
1747         (hfy-text-p): η-reduce.
1748         (hfy-tags-for-file): Receive cache-hash directly.
1749         (hfy-mark-tag-names): Adjust call.
1751 2011-01-27  Glenn Morris  <rgm@gnu.org>
1753         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1754         (msb-after-load-hook): Remove eval-after-load wackiness.
1756 2011-01-25  Sam Steingold  <sds@gnu.org>
1758         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1759         literal "diff" (important for windows-nt).
1761 2011-01-25  Glenn Morris  <rgm@gnu.org>
1763         * emacs-lisp/copyright.el (copyright-at-end-flag)
1764         (copyright-names-regexp): Add safety properties.
1765         (copyright-year-ranges): New option.
1766         (copyright-find-end): New function, split from copyright-update-year.
1767         (copyright-update-year): Use copyright-find-end.
1768         (copyright-fix-years): Optionally, convert years to ranges.
1769         Handle years continued over comment lines.
1770         Do not mess with the fill-prefix.
1771         Do not call copyright-update.
1772         (copyright-update-directory): Optionally, fix years rather than update.
1773         Skip directories.  Find files with only safe local vars.
1775 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1777         * files.el (file-name-non-special): Only change buffer-file-name after
1778         insert-file-contents if it's `visit'ing the file (bug#7854).
1780 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1782         * dired.el (dired-revert): Doc fix (Bug#7758).
1784         * simple.el (line-move-visual): Doc fix (Bug#7594).
1786 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1788         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1789         here-doc which ends with an underscore.
1790         (ruby-mode-set-encoding): Skip shebang line always.
1791         (ruby-mode-map): Bind C-c C-c to comment-region.
1792         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1793         (ruby-forward-sexp): Stop after literal hash key labels.
1794         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1795         bracket.
1797 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
1799         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1800         the correct buffer (Bug#7650).
1802 2011-01-25  Glenn Morris  <rgm@gnu.org>
1804         * comint.el (comint-mode): Doc fix.  (Bug#7897)
1806         * simple.el (do-auto-fill): Give it a doc string.
1808         * button.el (make-text-button): Doc fix.  (See bug#7881)
1810 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1812         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1813         Don't move backward, so as not to fall in an inf-loop (bug#7736).
1815         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1816         Handle ?" and friends differently (e.g. don't use backrefs).
1818 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
1820         * calc/calc.el (calc-default-power-reference-level)
1821         (calc-default-field-reference-level): New variables.
1822         * calc/calc-units.el (math-standard-units): Add dB and Np.
1823         (math-logunits): New variable.
1824         (math-extract-logunits, math-logcombine, calcFunc-luplus)
1825         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1826         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1827         New functions.
1828         (math-find-base-units-rec): Add entry for ln(10).
1829         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1830         (calc-ul-prefix-help): New function.
1831         * calc/calc-ext.el (calc-init-extensions): Autoload new units
1832         functions.  Add keybindings for new units functions.
1834 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
1836         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1837         rcirc buffers.  (Bug#4940)
1839 2011-01-22  Glenn Morris  <rgm@gnu.org>
1841         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1842         split out from copyright-update-year.
1843         (copyright-update): Don't mess with the GPL version if we don't own the
1844         copyright.  Update license regexp, and remove no longer needed
1845         Esperanto stuff.
1846         (copyright-fix-years): Use copyright-find-copyright.
1848 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1850         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1852 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1854         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1855         (lm): Rename to landmark.
1856         (lm-test-run): Rename to landmark-test-run.
1858 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1860         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1861         "Case sensitive" menu item.
1863 2011-01-22  Roland McGrath  <roland@frob.com>
1865         * comint.el (comint-replace-by-expanded-history-before-point): Fix
1866         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1868 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1870         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1872 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1874         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1875         Assume foo(bar) is a manpage reference rather than some unquoted
1876         symbol (bug#7705).
1878 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1880         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1881         Suggested by Flo <sensorflo@gmail.com>.
1883 2011-01-22  Glenn Morris  <rgm@gnu.org>
1885         * progmodes/compile.el (compilation-error-regexp-alist):
1886         Fix custom type.  (Bug#7812)
1888 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
1890         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1891         allout-number-siblings, in keeping with what obtained due to
1892         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
1893         (prefixed) ?i.
1894         (allout-before-change-handler): Better expose spots affected by
1895         undo.
1897 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1899         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1901 2011-01-22  Phil Hagelberg  <phil@evri.com>
1903         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1904         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1905         (pcmpl-ssh-config-hosts): New function.
1906         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1907         pcmpl-ssh-known-hosts.
1909 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1911         * calc/calc-undo.el (calc-undo): Autoload it.
1912         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1913         and autoload for `calc-undo'.
1914         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1915         * calc/calc-prog.el:
1916         * calc/calc-graph.el:
1917         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1919 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
1921         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1922         keybindings to `calc-undo'.
1924 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1926         Don't mess with *temp*.
1927         * obsolete/spell.el: Move from textmodes/spell.el.
1928         (spell-string):
1929         * term.el (term-read-input-ring):
1930         * startup.el (display-startup-echo-area-message):
1931         * progmodes/antlr-mode.el (antlr-directory-dependencies):
1932         * comint.el (comint-read-input-ring): Use with-temp-buffer.
1933         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1934         point-min==1.
1936 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
1938         * allout.el (allout-institute-keymap): Use fset instead of
1939         reapplying defalias.
1941         (allout-hotspot-key-handler): Check for non-control-modified
1942         bindings for hotspot characters if there are no control-modified
1943         versions.
1945         * allout.el: Summary - migrate to defining allout mode using
1946         define-minor-mode instead of defun.  Significantly clean-up
1947         internal keymap provisions, refactoring and, in the process,
1948         removing a lot of accumulated cruft.
1950         allout-mode-map is now a keymap by virtue of being a defalias to
1951         allout-mode-map-value, which contains the actual keymap structure.
1953         (allout-mode): Use define-minor-mode rather than defun.
1954         Remove now-unnecessary minor-mode setup activities from the body.
1955         Specify :keymap as allout-mode-map so the minor-mode-map-alist
1956         entry will be '(allout-mode . allout-mode-map) - see
1957         allout-mode-map-value, below.  Adjust docstring to track changes.
1958         (allout-minor-mode): Remove this defalias, now that we're using
1959         define-minor-mode.
1960         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
1961         keymap is allout-mode-map-value, via defalias.
1962         (allout-mode-map-value): The variable holding the actual mode
1963         keymap structure, by virtue of defalias from allout-mode-map.
1964         (allout-compose-and-institute-keymap): Rename from
1965         allout-bind-keys, and including the binding-composition
1966         functionality of the former produce-allout-mode-map and
1967         allout-setup-mode-map.
1968         (allout-institute-keymap): Take over the "setup" part of the former
1969         allout-setup-mode-map.  Reassign allout-mode-map-value value and
1970         update the defalias.
1971         (allout-command-prefix, allout-prefixed-keybindings)
1972         (allout-unprefixed-keybindings):
1973         Use allout-compose-and-institute-keymap to process the bindings.
1974         (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
1975         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1976         user can customize if they want to use that binding.
1977         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1978         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
1979         elided that, previously, instead of the one for \C-h.)
1980         (allout-hotspot-key-handler): Remove attempt to resolve the key
1981         through the literal key-string lookup on allout-keybindings-list.
1982         That probably hasn't worked for a Long Time, and removal of
1983         allout-keybindings-list further simplifies the keybindings situation.
1984         (allout-pre-command-business): Use allout-mode-map-value instead
1985         of allout-mode-map.
1986         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
1987         the bindings if they want to use a keybinding having a trailing
1988         \C-h.  No deprecation needed since this feature was never in a release.
1989         (allout-keybindings-list): Remove.  It's not been useful for a
1990         while.  (See allout-hotspot-key-handler changes, above.)
1991         (produce-allout-mode-map): Remove.  Consolidate into
1992         allout-compose-and-institute-keymap.
1993         (allout-mode-map-adjustments): Remove.  No longer necessary with
1994         removal of allout-preempt-trailing-ctrl-h.
1995         (allout-setup-mode-map): Remove.  Consolidate into
1996         allout-compose-and-institute-keymap and allout-institute-keymap.
1998 2011-01-20  Glenn Morris  <rgm@gnu.org>
2000         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2002         * simple.el (read-expression-history): Remove, it's in minibuf.c.
2004 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
2006         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2008         * files.el (find-alternate-file, basic-save-buffer)
2009         (basic-save-buffer-2, revert-buffer, recover-file)
2010         (kill-buffer-ask, abort-if-file-too-large)
2011         (set-visited-file-name, write-file, backup-buffer)
2012         (basic-save-buffer, save-some-buffers):
2013         * dired-aux.el (dired-compress-file): Callers changed.
2015 2011-01-19  Glenn Morris  <rgm@gnu.org>
2017         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2018         Also check the property status.  (Bug#7861)
2020 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
2022         * net/tramp.el (tramp-debug-message): Extend function exclude
2023         list.  Use `regexp-opt'.
2025 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2027         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2028         highlighting doesn't spill over subsequent lines.
2030         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2031         keymap expression.  Improve docstring.
2033         * electric.el (electric-indent-post-self-insert-function):
2034         Don't auto-indent for indent-to-left-margin, it's too often
2035         counter-productive.
2037 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
2039         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2040         spaces if the frame was resized, so that the full visible buffer
2041         serves as canvas for strokes.
2043 2011-01-16  Glenn Morris  <rgm@gnu.org>
2045         * info-xref.el (info-xref-docstrings): Replace cl function.
2046         Also skip directories.
2048 2011-01-16  Kevin Ryde  <user42@zip.com.au>
2050         * info-xref.el: Version 3.
2051         (info-xref-check, info-xref-check-all): Move commentary details
2052         into docstrings for better visibility.
2053         Use compilation-mode for the results buffer.
2054         (info-xref-output, info-xref-output-error, info-xref-with-output)
2055         (info-xref-filename, info-xref-in-progress):
2056         New internals for this.
2057         (info-xref-check-list, info-xref-check-buffer)
2058         (info-xref-check-all-custom): Use those.
2059         (info-xref-output-buffer): Rename from info-xref-results-buffer.
2060         (info-xref-output-heading): Rename from info-xref-filename-heading.
2061         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2062         (info-xref-filename-heading): Move to output managing section.
2063         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2064         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2065         (info-xref-subfile-p): Move to generic section with those two.
2066         (info-xref-check-node): New function split from
2067         info-xref-check-buffer, shared by info-xref-docstrings.
2068         (info-xref-goto-node-p): Move to a checking section with that func.
2069         (info-xref-unavail): New counter.
2070         (info-xref-check-node): Use it.
2071         (info-xref-with-output): Show count of unavailables at end of output.
2072         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
2073         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
2074         (info-xref-check-all-custom): Fix quietening viper-mode and
2075         gnus-registry-install -- use setq not let so as not to unbind
2076         after load.
2078 2011-01-16  Juri Linkov  <juri@jurta.org>
2080         * isearch.el (isearch-abort): Don't quit if search has
2081         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
2083 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
2085         * files.el (backup-buffer): Make last-resort backup file in
2086         .emacs.d (Bug#6953).
2088         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2089         make it with permission 700.
2091 2011-01-15  Kenichi Handa  <handa@m17n.org>
2093         * mail/rmailmm.el (rmail-mime-insert-header):
2094         Set rmail-mime-coding-system to a cons whose car is the last coding
2095         system used to decode the header.
2096         (rmail-mime-find-header-encoding): New function.
2097         (rmail-mime-insert-decoded-text):
2098         Override rmail-mime-coding-system if it is a cons.
2099         (rmail-show-mime): If only a header part was decoded, find the
2100         coding system while ignoring mm-charset-override-alist.
2102 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
2104         * subr.el (event-start, event-end): Doc fix (Bug#7826).
2106 2011-01-15  Kenichi Handa  <handa@m17n.org>
2108         * mail/rmailmm.el (rmail-mime-next-item)
2109         (rmail-mime-previous-item): Delete them.
2110         (rmail-mime-shown-mode): Recursively call for children.
2111         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2112         Callers changed.
2113         (rmail-mime-raw-mode): Recursively call for children.
2114         (rmail-mode-map): Change mapping of tab and backtab to
2115         forward-button and backward-button respectively.
2116         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2117         button.
2118         (rmail-mime-update-tagline): New function.
2119         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2120         body display is changed.
2121         (rmail-mime-toggle-button): Rename from rmail-mime-image.
2122         (rmail-mime-image): Delete this button type.
2123         (rmail-mime-toggle): New button type.
2124         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2125         body display is changed.  Change the save button label to "Save".
2126         Don't process show/hide button here.
2127         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2128         the body display is changed.  Unconditionally call
2129         rmail-mime-insert for children.
2130         (rmail-mime-handle): Update `display' vector of the just inserted
2131         entity.
2132         (rmail-mime-process): If mail-header-parse-content-type returns
2133         nil, use "text/plain" as the fallback type.
2134         (rmail-mime-insert): For raw-mode, recursively call
2135         rmail-mim-insert for children.
2136         (rmail-mime): Handle the case that the current buffer is not rmail
2137         buffer (e.g. in summary buffer).
2139 2011-01-15  Kenichi Handa  <handa@m17n.org>
2141         * mail/rmailmm.el (rmail-mime-next-item)
2142         (rmail-mime-previous-item): Skip the body of a non-multipart
2143         entity if a tagline is shown.
2145 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2147         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2148         (tmm-prompt): Simplify.
2149         (tmm-add-prompt): Remove unused var `win'.
2151         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2152         to minor mode which used nil accidentally to mean "turn off".
2154 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2156         * net/tramp-sh.el (tramp-find-inline-compress)
2157         (tramp-get-inline-coding): Quote command after pipe symbol for
2158         local calls under W32.  (Bug#6784)
2160 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2162         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2163         only when running under W32.
2165 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2167         * progmodes/grep.el (grep-compute-defaults): Quote the program
2168         file name after the pipe symbol in Grep templates.  (Bug#6784)
2169         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2171 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
2173         * buff-menu.el (Buffer-menu-buffer-list): New var.
2174         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2175         restricted buffer list is not lost on revert (Bug#7749).
2177 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
2179         * net/ldap.el (ldap-search-internal): Discard stderr output.
2181 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2183         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
2185 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2187         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2189 2011-01-15  Kenichi Handa  <handa@m17n.org>
2191         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2192         part as a plain text.
2193         (rmail-mime-process-multipart): Set the default content-type to
2194         nil for unknown multipart subtypes (bug#7651).
2196 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2198         * hexl.el (hexl-mode-old-*): Remove.
2199         (hexl-mode--old-var-vals): New var to replace them.
2200         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2201         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2202         Use them to set local vars (bug#7846).
2203         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2204         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2205         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2207         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2208         (smerge-resolve--normalize-re): New var.
2209         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2210         (smerge-resolve): Use them.
2211         * newcomment.el (comment-only-p): New function.
2212         (comment-or-uncomment-region): Use it.
2214 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
2216         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2217         table, get the value before switching to the output buffer.  (Bug#7733)
2219 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2221         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2223 2011-01-14  Kim F. Storm  <storm@cua.dk>
2225         * emulation/cua-base.el (cua--init-keymaps):
2226         Remap exchange-point-and-mark in cua-global-keymap.
2228 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
2230         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2231         loop keyword.
2233 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2235         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2236         Require CL.
2237         (easy-menu-create-menu, easy-menu-convert-item-1):
2238         Use :label rather than nil for labels.  Use `case'.
2239         Add :enable as alias for :active.
2240         (easy-menu-binding): Obey :label.
2242 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2244         Use run-mode-hooks for major mode hooks (bug#513).
2245         * textmodes/reftex-toc.el (reftex-toc-mode-map):
2246         Rename from reftex-toc-map.
2247         (reftex-toc-mode): Use define-derived-mode.
2248         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2249         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2250         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
2251         (reftex-select-label-mode, reftex-select-bib-mode):
2252         Use define-derived-mode.
2253         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2254         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2255         Move init into declaration.
2256         (reftex-index-mode, reftex-index-phrases-mode):
2257         Use define-derived-mode.
2258         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2259         speedbar-syntax-table.  Move init into declaration.
2260         (speedbar-mode-map): Rename from speedbar-key-map.
2261         Move init into declaration.
2262         (speedbar-file-key-map): Move init into declaration.
2263         (speedbar-mode): Use define-derived-mode.
2264         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2265         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2266         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2267         (chart-face-list): Move initialization into declaration.
2268         (chart-mode): Use define-derived-mode.
2269         * calculator.el (calculator-mode-map): Move init into declaration.
2270         (calculator-mode): Use define-derived-mode.
2272         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2273         work for nested comments.
2275         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
2276         (prolog-use-prolog-tokenizer-flag): Change default when
2277         syntax-propertize can be used.
2278         (prolog-syntax-propertize-function): New var.
2279         (prolog-mode-variables): Move make-local-variable into `set'.
2280         Don't make comment-column local since we don't set it.
2281         Set comment-add (as it was in previous prolog.el).  Use dolist.
2282         Set syntax-propertize-function.
2283         (prolog-mode, prolog-inferior-mode):
2284         Call prolog(-inferior)-menu directly, not through the mode-hook.
2285         (prolog-buffer-module, prolog-indent-level)
2286         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2287         (prolog-comment-limits, prolog-goto-comment-column):
2288         Use line-(end|beginning)-position.
2289         (prolog-build-prolog-command): Tighten up regexp.
2290         (prolog-consult-compile): Move make-local-variable into `set'.
2291         (prolog-consult-compile-filter, prolog-goto-next-paren)
2292         (prolog-help-on-predicate, prolog-clause-info)
2293         (prolog-mark-predicate): Don't let+setq.
2294         (prolog-indent-line): Use indent-line-to.
2295         Only call prolog-goto-comment-column if necessary.
2296         (prolog-indent-level): Use bobp.
2297         (prolog-first-pos-on-line): Remove, not used any more.
2298         (prolog-in-string-or-comment): Use syntax-ppss if available.
2299         (prolog-help-on-predicate): Use read-string.
2300         (prolog-goto-predicate-info): Simplify.
2301         (prolog-read-predicate): Use `default' rather than `initial'.
2302         (prolog-temporary-file): Use make-temp-file to close a security hole.
2303         (prolog-toggle-sicstus-sd): New command.
2304         (prolog-electric-underscore, prolog-variables-to-anonymous):
2305         Use dynamic-scoping as it was meant.
2306         (prolog-menu): Move menu definitions to top-level.
2307         Use a toggle-button for Sicstus's source debugger.
2308         Change "Code" to the more usual "Prolog", and hence change "Prolog"
2309         to "System".
2310         (prolog-inferior-menu): Reuse prolog-menu's help menu.
2311         Move other menu definition to top-level.
2313 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2315         * doc-view.el (doc-view-open-text): Use meaningful text buffer
2316         name.  Keep original document's directory as default-directory
2317         (bug#6446).
2318         (doc-view-initiate-display): Fall back to normal mode when
2319         doc-view-mode cannot be enabled, also when extracting the document
2320         text into a separate buffer (bug#6446).
2322         * simple.el (shell-command): Don't error out if shell command
2323         buffer contains text with non-nil read-only property when erasing
2324         the buffer.
2326 2011-01-13  Kim F. Storm  <storm@cua.dk>
2328         * ido.el (ido-may-cache-directory): Move "too-big" check later.
2329         (ido-next-match, ido-prev-match): Fix stray reordering of matching
2330         items when cycling through the matches.
2332 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2334         * dired-x.el (dired-omit-verbose): New defcustom that allows
2335         disabling the omit messages.
2336         (dired-omit-expunge): Use it.
2338 2011-01-13  Christian Ohler  <ohler@gnu.org>
2340         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2342 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2344         * font-lock.el (font-lock-verbose): Default to nil.
2346 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2348         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2349         (compose-mail): New arg RETURN-ACTION.
2350         (compose-mail-other-window, compose-mail-other-frame): Likewise.
2352         * mail/sendmail.el (mail-return-action): New var.
2353         (mail-mode): Make it buffer-local.
2354         (mail-bury): Obey it.  Move special Rmail window handling to
2355         rmail-mail-return.
2356         (mail, mail-setup): New arg RETURN-ACTION.
2357         (sendmail-user-agent-compose): Move from simple.el.
2359         * mail/rmail.el (rmail-mail-return): New function.
2360         (rmail-start-mail): Pass it to compose-mail.
2362 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
2364         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2365         menus.  Add menu item for customize-themes.
2367         * cus-theme.el (customize-themes):
2368         * emacs-lisp/package.el (package--list-packages):
2369         Use switch-to-buffer.
2371 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
2373         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2375 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2377         * progmodes/prolog.el: Fix up coding convention and such.
2378         (prolog-indent-width): Use the same default as in
2379         previous prolog.el rather than tab-width which depends on which buffer
2380         is current when the file is loaded.
2381         (prolog-electric-newline-flag): Only enable if electric-indent-mode
2382         is not available.
2383         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
2384         (prolog-known-systems): Remove.
2385         (prolog-mode-syntax-table, prolog-inferior-mode-map):
2386         Move initialization into declaration.
2387         (prolog-mode-map): Move initialization into declaration.
2388         Remove system-specific mode-map vars, since they referred to the same
2389         keymap anyway.
2390         (prolog-mode-variables): Obey the user's preference w.r.t
2391         adaptive-fill-mode.  Prefer symbol-value to `eval'.
2392         (prolog-mode-keybindings-edit): Add compatibility bindings.
2393         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
2394         (mercury-mode-map): New var.
2395         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2396         (prolog-ensure-process, prolog-process-insert-string)
2397         (prolog-consult-compile): Use with-current-buffer.
2398         (prolog-guess-fill-prefix): Simplify data flow.
2399         (prolog-replace-in-string): New function to use instead of
2400         replace-in-string.
2401         (prolog-enable-sicstus-sd): Don't abuse `eval'.
2402         (prolog-uncomment-region): Use `uncomment-region' when available.
2403         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2404         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2405         of int-to-char and char-to-int.
2406         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2408 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
2410         * progmodes/prolog.el: Replace by a whole new file.
2412 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2414         * subr.el (eval-after-load): Fix timing for features (bug#7769).
2415         (declare-function, undefined, insert-for-yank)
2416         (replace-regexp-in-string): Follow checkdoc's recommendations.
2418 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2420         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2421         refreshing the diary buffer.
2423 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
2425         * allout.el: Add 2011 to the file copyright.
2426         (allout-encrypt-string): Prevent encryption from adding an extra
2427         newline at the end of the topic body.
2428         (allout-version): Increment to 2.3.
2430 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
2432         * net/dbus.el (dbus-unregister-service): Complete doc.
2433         Fix call of dbus-error signal.
2434         (dbus-register-property): Use `dont-register' keyword.
2436 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2438         * net/dbus.el (dbus-unregister-service): Translate returned
2439         integer into a symbol.
2440         (dbus-register-property): Use `dbus-register-service' to do the
2441         name registration.
2443 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2445         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2446         Suggested by Joakim Verona.
2448         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2450         * wid-edit.el (visibility): Replace :on-image and :off-image
2451         widget properties with :on-glyph and :off-glyph, for consistency
2452         with the `visibility' widget.
2453         (widget-toggle-value-create, widget-visibility-value-create):
2454         Merge into a single function `widget-toggle-value-create'.
2456         * cus-edit.el (custom-variable-value-create, custom-visibility)
2457         (custom-face-edit-value-create, custom-face-value-create):
2458         Replace :on-image and :off-image widget properties with :on-glyph and
2459         :off-glyph, for consistency with the `visibility' widget.
2461 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
2463         * net/ldap.el (ldap-search-internal): Don't use eval.
2465 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2467         * subr.el (read-char-choice): Use read-key.
2469         * custom.el (custom-safe-themes): Rename from
2470         custom-safe-theme-files.  Add :risky tag.
2471         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2472         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
2474 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2476         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
2477         from Search and add a label to Undo.
2479         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2480         inappropriate buttons and adding :vert-only tags.
2482         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2483         removal of Help tool-bar button.  Remove Undo button for space.
2485         * info.el (info-tool-bar-map): Add :vert-only tags.
2487 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
2489         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2490         image backend support.  Either of them is fine.
2492 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
2494         * subr.el (y-or-n-p): Doc fix.
2496         * custom.el (custom-safe-theme-files): New defcustom.
2497         (custom-theme-load-confirm): New function.
2498         (load-theme): Load theme using `load', confirming with
2499         custom-theme-load-confirm if necessary.
2501         * subr.el (read-char-choice): New function, factored out from
2502         dired-query and hack-local-variables-confirm.
2504         * dired-aux.el (dired-query):
2505         * files.el (hack-local-variables-confirm): Use it.
2507         * dired-aux.el (dired-compress-file):
2508         * files.el (abort-if-file-too-large, find-alternate-file)
2509         (set-visited-file-name, write-file, backup-buffer)
2510         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2511         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2512         Use new format string args for y-or-n-p and yes-or-no-p.
2514 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
2516         * progmodes/compile.el (compilation-error-regexp-alist-alist)
2517         [gcc-include]: Tighten file name match, add match for column
2518         number.  (Bug#7806)
2519         [gnu]: Remove unused group.
2521 2011-01-08  Glenn Morris  <rgm@gnu.org>
2523         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2525         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2527 2011-01-07  Sam Steingold  <sds@gnu.org>
2529         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2530         the `explicit-shell-file-name' because that is the
2531         non-interactive shell.
2533 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
2535         * subr.el (y-or-n-p): Accept format string args.
2537 2011-01-07  Glenn Morris  <rgm@gnu.org>
2539         * Makefile.in (EMACSOPT): Add --no-site-lisp.
2541 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
2543         * allout.el (allout-back-to-current-heading): Ensure return to
2544         the visible containing topic, rather than a collapsed one.
2545         (allout-view-change-hook): Remove hook that was deprecated long ago.
2546         (allout-exposure-change-hook): Remove documentation remarks
2547         concerning removed allout-view-change-hook.
2548         (allout-flag-region): Remove invocation of and documentation
2549         remarks concerning allout-view-change-hook.
2551 2011-01-06  Glenn Morris  <rgm@gnu.org>
2553         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2554         (vc-bzr-annotate-extract-revision-at-line):
2555         Handle authors with embedded spaces.  (Bug#7792)
2557 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
2559         * doc-view.el (doc-view-image-width): New variable.
2560         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2561         backend for PNG images, and do dynamic rescaling instead of
2562         reconverting the whole doc.
2564 2011-01-05  Glenn Morris  <rgm@gnu.org>
2566         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2568 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
2570         * allout.el: Reconcile with changes in line movement behavior for
2571         long text lines that cross more than a single physical window
2572         line, ie when truncate-lines is nil.
2573         (allout-next-visible-heading): Provide for change in line-move
2574         behavior on long lines when truncate-lines is nil.  In that case,
2575         line-move can wind up on the same textual line when it moves to
2576         the next window line, and moving to the bullet position after the
2577         move yields zero advancement.  Add logic to detect and compensate
2578         for the lack of progress.
2579         (allout-current-topic-collapsed-p): move-end-of-line respect for
2580         field boundaries is different when operating with body lines
2581         shorter than window width versus ones greater than window width,
2582         which can yield false negatives in this function.  Avoid
2583         difference by applying move-end-of-line while field-text-motion is
2584         inhibited.
2586 2011-01-04  Glenn Morris  <rgm@gnu.org>
2588         * textmodes/rst.el (rst-compile-toolsets):
2589         Add pdf and s5 to option alist.
2591 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2593         * net/dbus.el (dbus-register-property): Add optional parameter
2594         dont-register-service.  Updated docstring accordingly.
2596 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2598         * textmodes/rst.el (rst-compile-pdf-preview)
2599         (rst-compile-slides-preview): Remove extra line.
2601 2011-01-04  Glenn Morris  <rgm@gnu.org>
2603         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2604         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
2605         default to `prog' without a .py extension.
2606         (rst-compile-pdf-preview, rst-compile-slides-preview):
2607         Use program names from rst-compile-toolsets, rather than hard-coding.
2608         (rst-portable-mark-active-p): Fix presumed typo.
2610 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2612         * term/w32-win.el (dynamic-library-alist): Set up correctly for
2613         libpng versions both before and after 1.4.0.  (Bug#7716)
2615 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2617         * time.el (display-time-mode): Mention display-time-interval in
2618         the doc string.  (Bug#7713)
2620 2011-01-02  Kenichi Handa  <handa@m17n.org>
2622         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2623         condition-case and return an error message string if something
2624         goes wrong.
2625         (rmail-show-mime): Adjust for the above change.  Insert the
2626         header by rmail-mime-insert-header.
2628 2011-01-02  Kenichi Handa  <handa@m17n.org>
2630         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2631         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2632         (rmail-mime-mbox-buffer)
2633         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2634         (rmail-mime-entity): Argument changed.  All codes handling an
2635         entity object are changed.
2636         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2637         the above change.
2638         (rmail-mime-entity-children, rmail-mime-entity-handler)
2639         (rmail-mime-entity-tagline): New functions.
2640         (rmail-mime-message-p): New function.
2641         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2642         (rmail-mime-entity-segment, rmail-mime-next-item)
2643         (rmail-mime-previous-item, rmail-mime-shown-mode)
2644         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2645         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2646         (rmail-mime-insert-tagline, rmail-mime-insert-header):
2647         New functions.
2648         (rmail-mime-text-handler): Call rmail-mime-insert-text.
2649         (rmail-mime-insert-decoded-text): New function.
2650         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2651         (rmail-mime-insert-image): Argument changed.  Caller changed.
2652         (rmail-mime-image): Call rmail-mime-toggle-hidden.
2653         (rmail-mime-set-bulk-data): New function.
2654         (rmail-mime-insert-bulk): Argument changed.
2655         (rmail-mime-multipart-handler): Return t.
2656         (rmail-mime-process-multipart): Argument changed.
2657         Handle "multipart/alternative" here.
2658         (rmail-mime-process): Argument changed.
2659         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2660         (rmail-mime-insert): Argument changed.  Handle raw display mode.
2661         (rmail-mime): Argument changed.  Handle toggling of raw display
2662         mode.
2663         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2664         rmail-mime-view-buffer.
2665         (rmail-insert-mime-forwarded-message): Likewise.
2666         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
2668         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2669         non-nil, handle the header in rmail-show-mime-function.
2671 2011-01-02  Leo Liu  <sdl.web@gmail.com>
2673         * help-fns.el (describe-variable): Fix previous change.
2675 2011-01-02  Juri Linkov  <juri@jurta.org>
2677         * isearch.el (isearch-lazy-highlight-error): New variable.
2678         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2679         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
2680         to the current value of `isearch-error' (Bug#7468).
2682 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2684         * help-fns.el (describe-variable): Don't emit trailing whitespace
2685         (Bug#7511).
2687 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2689         * textmodes/rst.el (rst-compile-pdf-preview)
2690         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2692 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
2694         * emulation/edt-mapper.el: Override mapping of function keys so
2695         that the later call to read-key-sequence works.
2697 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2699         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2700         Unix EOLs.  (Bug#7589)
2702 2011-01-02  Leo Liu  <sdl.web@gmail.com>
2704         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2705         if point is not behind eshell-last-output-end (Bug#7585).
2707 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2709         * files.el (file-local-variables-alist):
2710         Make permanent-local (bug#7767).
2712 2011-01-02  Glenn Morris  <rgm@gnu.org>
2714         * version.el (emacs-copyright): Set short copyright year to 2011.
2716 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2718         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2719         an existing temp buffer.  (Bug#7746)
2721 2011-01-02  Glenn Morris  <rgm@gnu.org>
2723         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2724         multiple addresses.  (Bug#7760)
2726 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
2728         * allout.el (allout-auto-fill): Do not infinitely recurse - use
2729         do-auto-fill if everything points back to allout-auto-fill.
2730         (allout-mode-deactivate-hook): Declare obsolete, in favor of
2731         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2733 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
2735         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2736         and "scpx".
2738 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2740         * doc-view.el (doc-view-set-doc-type): New function refactored
2741         from doc-view-mode.
2742         (doc-view-fallback-mode): New function.
2743         (doc-view-mode): Use it.
2744         (doc-view-mode-maybe): New function that checks if doc-view-mode
2745         can be used and falls back to the next best mode otherwise.
2747         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2748         DVI, OpenDocument, and MS Office files.
2750 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
2752         * emacs-lisp/rx.el (rx-syntax): Fix typo.
2754 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2756         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2757         on a copy of auto-mode-alist, because that deletes with side
2758         effects.
2760 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2762         * doc-view.el (doc-view-mode, doc-view-toggle-display):
2763         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2764         fallback instead of hard coding fundamental mode.
2766 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2768         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2769         Office) files also for searching.
2771 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2773         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2774         Office) files.  Not yet enabled via auto-mode-list.
2775         (doc-view-unoconv-program): New custom variable.
2776         (doc-view-mode-p): Handle new odf document type.
2777         (doc-view-odf->pdf): New conversion function.
2778         (doc-view-convert-current-doc): Call it for odf files.
2779         (doc-view-mode): Recognize newly supported file extensions.
2781 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
2783         * net/tramp.el (tramp-default-method-alist)
2784         (tramp-default-user-alist)
2785         (tramp-local-host-regexp, tramp-prefix-domain-format)
2786         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2788         * net/tramp-ftp.el:
2789         * net/tramp-gvfs.el:
2790         * net/tramp-gw.el:
2791         * net/tramp-imap.el:
2792         * net/tramp-sh.el:
2793         * net/tramp-smb.el: Add tramp-autoload cookie for initialization
2794         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2796 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
2798         * saveplace.el (save-place-alist-to-file): Save list sorted and
2799         pretty-printed, so that it is mergable by line-based text merging,
2800         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2802 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
2804         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2805         (allout-mode): Argument "toggle" => "force".
2806         Refine the docstring.
2807         Remove special provisions for reactivation, besides the 'force'
2808         argument.
2809         Consolidate layout provisions coce directly into the activation
2810         condition branch, now that we've removed those provisions.
2811         (allout-unload-function): Explicitly activate the mode before
2812         deactivating, if it's initially inactive.
2813         (allout-set-buffer-multibyte): Properly prevent byte-compiler
2814         warnings for version of function used only where
2815         set-buffer-multibyte is unavailable.
2817 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
2819         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2820         are handled by the menu-bar entries.  As before, don't use
2821         :visible to avoid changing the tool-bar.
2823 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2825         * net/secrets.el (secrets-delete-alias): New defun.
2827 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2829         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2830         methods, otherwise ~/.ssh/config would be ignored.
2832 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2834         * emacs-lisp/rx.el: Make it a superset of sregex.
2835         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2836         of args, add `regex' alias.
2837         (rx-info): Add arg to distinguish head and standalone forms.
2838         (rx-check, rx-form): Pass the corresponding arg.
2839         (rx-**): Simplify.
2840         (rx-repeat): Make it work for any number of args.
2841         (rx-syntax): Make it accept syntax chars as is.
2842         * obsolete/sregex.el: Move from emacs-lisp/.
2843         * emacs-lisp/re-builder.el: Remove sregex support.
2844         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2846 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
2848         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2849         PRIMARY first, then the clipboard.  (Bug#7699)
2851 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2853         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2854         print-number-table.
2856 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
2858         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2859         .emacs.elc (Bug#7530).
2861         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2862         image spec (Bug#7480).
2864 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
2866         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2867         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2868         Move from lisp/.
2870 2010-12-20  Leo Liu  <sdl.web@gmail.com>
2872         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2873         always be performed (Bug#7680).
2875 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
2877         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2878         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
2879         mouse-region-match.
2881         * color.el: Move from gnus/.
2883         * vc/diff.el (diff-better-file-name): Function deleted.
2884         abbreviating file names causes problems with shell-quote-argument.
2885         (diff-no-select): Just use expand-file-name.
2887         * tool-bar.el (tool-bar--image-expression): New function.
2888         (tool-bar-local-item, tool-bar--image-exp): Use it.
2889         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2890         Use :enable instead of :visible to avoid changing the tool-bar
2891         configuration unnecessarily.
2893         * info.el (info-tool-bar-map): Add separators.
2895 2010-12-17  Ken Brown  <kbrown@cornell.edu>
2897         * loadup.el: Use version numbers in Cygwin build.
2899 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
2901         * ido.el (ido-file-internal): Ask for confirmation before
2902         overwriting an existing file (Bug#1238).
2904 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
2906         * tool-bar.el (tool-bar-setup): Add separators.
2908         * menu-bar.el (featurep): Use menu-bar-separator.
2910 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
2912         Migrate allout encryption provisions from pgg to epg.
2914         * allout.el (allout-toggle-current-subtree-encryption)
2915         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2916         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
2917         for simpler universal argument interpretation.
2918         (allout-toggle-subtree-encryption): Adjust docstring to describe
2919         changed encryption provisions.  Change fetch-pass to keymode-cue, for
2920         simpler universal argument interpretation.  Remove provisions for
2921         handling key type and identity - they'll all be within
2922         allout-encrypt-string or epg/epg or even contained all the way in gpg.
2923         (allout-encrypt-string): Include keymode-cue, for optionally prompting
2924         for keypair recipients (universal argument > 1) and, in addition,
2925         associating the specified recipients with the outline (universal
2926         argument > 4) using a file local variable setting for
2927         'epa-file-encrypt-to'.
2928         Require epa, for recipients handling.
2929         Change how regexp filtering elements are named.
2930         Describe the problem with caching of incorrect symmetric-decryption
2931         keys.
2932         Use the epa-passphrase-callback-function, in case the user is using
2933         GnuPG v1.
2934         Support saving of the selected keypair recipients when invoked with a
2935         keymode-cue > 4.
2936         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2937         Require 'epa.
2938         Establish epg-context with armoring and default epg-protocol.
2939         Remove all passphrase cache, verification, and hinting code.
2940         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2941         No longer used, delete.
2942         (allout-mode): Adjust docstring to describe changed encryption
2943         provisions.  Describe the problem with caching of incorrect
2944         symmetric-decryption keys.
2945         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2946         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2947         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2948         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2949         Obsolete, remove.
2951 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
2953         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2954         key selection prompt; make 'silent as default (Bug#7487).
2956 2010-12-16  Leo Liu  <sdl.web@gmail.com>
2958         * eshell/eshell.el (eshell-directory-name):
2959         Use locate-user-emacs-file (Bug#7578).
2961 2010-12-15  Glenn Morris  <rgm@gnu.org>
2963         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2965 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
2966             Scott Evans  <gse@antisleep.com>
2968         * rect.el (rectange--default-line-number-format)
2969         (rectangle-number-line-callback): New functions.
2970         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2972 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
2974         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2975         Delete unused variables.
2976         (move-to-column-force): Remove function obsolete since 21.2.
2978 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
2980         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2981         (tramp-handle-insert-file-contents): Do not set permanent-local
2982         property.
2984         * net/tramp-cache.el (tramp-persistency-file-name):
2985         Use `locate-user-emacs-file' if fboundp.
2987         * net/tramp-sh.el (tramp-methods): Add "ksu".
2988         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
2989         method list.
2991 2010-12-14  Glenn Morris  <rgm@gnu.org>
2993         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2994         (find-tag-marker-ring): Declare.
2995         (js-find-symbol): Require etags.
2997         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2998         Require mail-utils.
2999         (mail-alias-file): Don't autoload.  Doc fix.
3000         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3001         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
3002         Mark as obsolete, and risky.
3003         (mail-setup): Simplify.
3005         * mail/mailalias.el (build-mail-aliases): Make it interactive.
3006         * mail/sendmail.el (build-mail-aliases): Update autoload.
3008         * dired.el (dired-trivial-filenames, dired-chown-program)
3009         (dired-auto-revert-buffer): Remove autoload cookies.
3010         * mail/sendmail.el (mail-recover-1): Require 'dired.
3012         * dired.el (dired-subdir-switches, dired-chown-program)
3013         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3014         Make into defcustoms.
3015         (dired-chown-program): Simplify initialization.
3017         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3019 2010-12-13  Romain Francoise  <romain@orebokech.com>
3021         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3023 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3025         * net/netrc.el (netrc-point-at-eol): Remove the unused
3026         netrc-point-at-old and netrc-bound-and-true-p bindings.
3027         (netrc-parse): Cache the netrc contents.
3029 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3031         * subr.el (posn-col-row): Evaluate header-line-format in the
3032         context of the POSITION window's buffer.
3034 2010-12-13  Glenn Morris  <rgm@gnu.org>
3036         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3037         (with-silent-modifications): Doc fixes.
3039 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3041         * net/tramp.el (tramp-action-password, tramp-process-actions):
3042         Revert previous from.  Use `save-restriction'.
3044 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
3046         * calendar/diary-lib.el (diary-list-sexp-entries):
3047         Handle case of no newline at end of file.  (Bug#7536)
3049 2010-12-13  Glenn Morris  <rgm@gnu.org>
3051         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3053 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3055         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3056         (tramp-process-actions): Do not widen.
3058         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3059         Protect buffer-modified value.  (Bug#7557)
3061 2010-12-13  Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
3063         * log-edit.el (log-edit-changelog-entries):
3064         Regexp quote filename.  (Bug#7505)
3066 2010-12-13  Tom Breton  <tehom@panix.com>
3068         * cus-edit.el (custom-save-all):
3069         Bind print-length and print-level to nil.  (Bug#7581)
3071 2010-12-13  Glenn Morris  <rgm@gnu.org>
3073         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3074         Run hooks to update menu contents.  (Bug#7586)
3076         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3077         file names, for the sake of MS Windows.  (Bug#7588)
3079 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3081         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3082         empty lines without a leading space.
3084 2010-12-13  Leo Liu  <sdl.web@gmail.com>
3086         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3087         while mapping over marks (Bug#6810).
3089 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3091         * image-dired.el (image-dired-db-file)
3092         (image-dired-temp-image-file, image-dired-gallery-dir)
3093         (image-dired-temp-rotate-image-file): Set default values relative
3094         to image-dired-dir (Bug#7518).
3096 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
3098         * format.el (format-decode-run-method): Pass args FROM and TO, not
3099         point-min and point-max, to shell-command-on-region (Bug#7488).
3101 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
3103         * frame.el (blink-cursor-mode): Make default t for ns.
3105 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3107         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3109 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3111         * comint.el (comint-dynamic-list-input-ring)
3112         (comint-dynamic-complete-filename)
3113         (comint-replace-by-expanded-filename)
3114         (comint-dynamic-simple-complete)
3115         (comint-dynamic-list-filename-completions)
3116         (comint-dynamic-list-completions): Doc fix (Bug#7499).
3118         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3119         Doc fix (Bug#7471).
3121 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
3123         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3124         (Bug#7533).
3126 2010-12-13  W. Martin Borgert  <debacle@debian.org>  (tiny change)
3128         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3129         (Bug#7491).
3131 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3133         * files.el (file-relative-name): Handle UNC file names on
3134         DOS/Windows.  (Bug#4674)
3136 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
3138         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3139         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3140         (epg-context-set-passphrase-callback): Mention that the callback
3141         is not called when used with GnuPG 2.x.
3143 2010-12-13  Glenn Morris  <rgm@gnu.org>
3145         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3146         Ensure ps-footer-font-size-internal is initialized.
3147         Call ps-get-page-dimensions before trying to use ps-font-for-text.
3149 2010-12-13  Kenichi Handa  <handa@m17n.org>
3151         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3152         within condition-case.
3153         (rmail-show-mime): Don't use condition-case.
3154         (rmail-search-mime-message): New function.
3155         (rmail-search-mime-message-function): Set to
3156         rmail-search-mime-message.
3158 2010-12-13  Leo Liu  <sdl.web@gmail.com>
3160         * ido.el (ido-common-initialization): New function.  (bug#3274)
3161         (ido-mode): Use it.
3162         (ido-completing-read): Call it.
3164 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
3166         * bookmark.el (bookmark-name-from-full-record): Rename back to
3167         this original name from `bookmark-name-from-record' reverting part
3168         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3169         As Drew Adams pointed out, there was no reason to cause churn for
3170         third-party callers.  (Bug#7609)
3172 2010-12-12  Alan Mackenzie  <acm@muc.de>
3174         * progmodes/cc-engine.el (c-forward-type): Before scanning a
3175         template arglist, check that the current language supports this.
3177 2010-12-11  Glenn Morris  <rgm@gnu.org>
3179         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3180         state of the file matches.  (Bug#7544)
3181         (vc-bzr-register, vc-bzr-checkin)
3182         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3183         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3185         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3187 2010-12-11  Karel Klíč  <kklic@redhat.com>
3189         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
3191 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3193         Derive from prog-mode, use derived-mode-p, and fix up various
3194         minor style issues in lisp/progmodes.
3196         * progmodes/vhdl-mode.el (vhdl-mode):
3197         * progmodes/verilog-mode.el (verilog-mode):
3198         * progmodes/vera-mode.el (vera-mode):
3199         * progmodes/sql.el (sql-mode):
3200         * progmodes/scheme.el (scheme-mode):
3201         * progmodes/perl-mode.el (perl-mode):
3202         * progmodes/octave-inf.el (inferior-octave-mode):
3203         * progmodes/autoconf.el (autoconf-mode):
3204         * progmodes/m4-mode.el (m4-mode):
3205         * progmodes/inf-lisp.el (inferior-lisp-mode):
3206         * progmodes/idlwave.el (idlwave-mode):
3207         * progmodes/icon.el (icon-mode):
3208         * progmodes/idlw-help.el (idlwave-help-mode):
3209         * progmodes/dcl-mode.el (dcl-mode):
3210         * progmodes/idlw-shell.el (idlwave-shell-mode):
3211         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3212         (ebrowse-member-mode, ebrowse-electric-position-mode):
3213         Use define-derived-mode.
3215         * progmodes/xscheme.el (exit-scheme-interaction-mode)
3216         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3217         (xscheme-debugger-mode-p, xscheme-send-string-1):
3218         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3219         (tcl-load-file, tcl-restart-with-file):
3220         * progmodes/ps-mode.el (ps-run-running):
3221         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3222         * progmodes/js.el (js--get-all-known-symbols):
3223         * progmodes/inf-lisp.el (inferior-lisp-proc):
3224         * progmodes/idlwave.el (idlwave-beginning-of-statement)
3225         (idlwave-template, idlwave-update-buffer-routine-info)
3226         (idlwave-update-current-buffer-info)
3227         (idlwave-get-routine-info-from-buffers, idlwave-choose)
3228         (idlwave-scan-class-info, idlwave-fix-keywords)
3229         (idlwave-list-buffer-load-path-shadows):
3230         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3231         (idlwave-toolbar-remove):
3232         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3233         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3234         (idlwave-shell-menu-def):
3235         * progmodes/idlw-complete-structtag.el
3236         (idlwave-prepare-structure-tag-completion):
3237         * progmodes/gud.el (gud-set-buffer):
3238         * progmodes/f90.el (f90-backslash-not-special):
3239         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3241         * progmodes/xscheme.el (xscheme-start)
3242         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3243         * progmodes/which-func.el (which-function):
3244         * progmodes/vhdl-mode.el (vhdl-set-style):
3245         * progmodes/verilog-mode.el (verilog-set-compile-command)
3246         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3247         (verilog-set-define, verilog-auto-reeval-locals):
3248         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3249         * progmodes/simula.el (simula-mode):
3250         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3251         * progmodes/python.el (python-check, python-mode):
3252         * progmodes/prolog.el (prolog-mode-variables):
3253         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3254         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3255         * progmodes/delphi.el (delphi-mode):
3256         * progmodes/cc-styles.el (c-setup-paragraph-variables):
3257         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3258         (c-font-lock-init): Move make-local-variable to their setq.
3260         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3261         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3262         make-local-hook.
3263         * progmodes/sh-script.el (sh-require-final-newline): Remove.
3264         (sh-set-shell): Don't set require-final-newline since it's already done
3265         by prog-mode.
3266         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3267         since we never set it.
3268         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3269         Use read-string and standard prompt.
3270         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3271         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3272         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3273         (meta-common-mode-map): Rename from meta-mode-map.
3274         Remove C-m binding, which is a user preference, not mode specific.
3275         (meta-common-mode): New major mode; replace meta-common-initialization.
3276         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3277         around with font-lock.
3278         * progmodes/etags.el (select-tags-table-mode):
3279         Derive from special-mode.
3280         * progmodes/octave-mod.el (octave-mode):
3281         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3282         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3283         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3284         Let define-derived-mode do its job.
3285         * progmodes/cpp.el (cpp-edit-mode-map):
3286         Move initialization into declaration.
3287         (cpp-edit-mode): Use define-derived-mode.
3288         (cpp-edit-load): Use derived-mode-p.
3289         * progmodes/mixal-mode.el (mixal-mode):
3290         * progmodes/f90.el (f90-mode):
3291         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3292         require-final-newline since prog-mode does it already.
3293         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3294         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3295         * progmodes/antlr-mode.el: Require cc-mode upfront.
3296         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3297         the declaration.
3298         (antlr-directory-dependencies, antlr-show-makefile-rules):
3299         Use derived-mode-p.
3300         (antlr-language-option): Don't assume point-min==1.
3301         (antlr-mode): Use define-derived-mode.
3302         * progmodes/ada-mode.el: Use derived-mode-p.
3303         (ada-mode): Use define-derived-mode.
3304         Use hack-local-variables-hook.
3306 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3308         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3309         (texinfo-mode): Don't disable adaptive-fill-mode.
3310         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3311         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3312         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3313         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3314         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3315         (texinfo-insert-@quotation, texinfo-insert-@samp)
3316         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3317         (texinfo-insert-@uref): Use define-skeleton.
3318         (texinfo-insert-@-with-arg): Delete.
3320 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
3322         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3323         nil, do quote archive member names.  (Bug#6144)
3325 2010-12-10  Glenn Morris  <rgm@gnu.org>
3327         * files.el (diff-no-select): Declare.
3329         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3330         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3332         * comint.el (comint-input-ring-file-name): Doc fix.
3334 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
3336         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3337         New functions.
3338         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3339         Use them instead of `nil' and `>', respectively.
3340         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3341         instead of `nil'.
3342         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3343         and menu-bar-positive-p instead of `nil' and `>', respectively.
3344         (Bug#1077)
3346 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3348         * whitespace.el (whitespace-newline-mode): Code fix.
3350 2010-12-09  Glenn Morris  <rgm@gnu.org>
3352         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3353         Rename functions without commas, update callers.
3355 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
3357         * whitespace.el (whitespace-cleanup-region):
3358         Clean up spaces before tabs.  (Bug#7582)
3360 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
3362         * bookmark.el: Adjust parameter names and doc strings to resolve
3363         confusion over whether "bookmark" meant a bookmark name or a
3364         bookmark record.  Along the way, shorten one function's name for
3365         similar reasons.  (Issue #7548)
3366         (bookmark-name-from-record): New name for
3367         `bookmark-name-from-full-record'.  All callers changed.
3368         (bookmark-get-bookmark, bookmark-get-bookmark-record)
3369         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3370         (bookmark-get-annotation, bookmark-set-annotation)
3371         (bookmark-get-filename, bookmark-set-filename)
3372         (bookmark-get-position, bookmark-set-position)
3373         (bookmark-get-front-context-string, bookmark-set-front-context-string)
3374         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3375         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3376         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3377         Rename `bookmark' parameter to `bookmark-name-or-record', to
3378         clearly show its role, and shorten or adjust doc strings accordingly.
3379         (bookmark-set-name): Same, and pass the parameter directly to
3380         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3381         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3382         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3383         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3384         and in some cases shorten doc string accordingly.
3385         (bookmark-rename): Change `old' and `new' parameters to `old-name'
3386         and `new-name', and adjust an internal variable to avoid confusion.
3387         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3388         parameter in doc string.
3390 2010-12-08  Glenn Morris  <rgm@gnu.org>
3392         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3393         from gdb's history file.  (Bug#7575)
3395         * mail/emacsbug.el (report-emacs-bug):
3396         Try to handle some other mail clients.
3398 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3400         * files.el (dir-locals-collect-variables): Don't let errors stop us.
3401         Use string-prefix-p.
3402         (file-name-version-regexp): New var.
3403         (file-name-sans-versions):
3404         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3405         (jka-compr-get-compression-info): Use dolist.
3406         (jka-compr-compression-info-list): Don't bother specifying
3407         version/backup regexps.
3409 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
3411         * simple.el (just-one-space): Make argument n default to 1 if
3412         omitted.
3414 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3416         * electric.el (electric-indent-post-self-insert-function):
3417         Delete trailing newlines even if we don't reindent.
3419 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3421         * minibuffer.el (completion-at-point): Remove the `arg'.
3422         * bindings.el (complete-symbol): Move back from minibuffer.el.
3424 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3426         * simple.el (just-one-space): Delete newlines for negative arg.
3428 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3430         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3431         (ansi-color-filter-apply): Simplify.
3432         (ansi-color-apply): Use `font-lock-face' rather than `face'.
3434 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3436         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3438 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
3440         * dired.el (dired-use-ls-dired): Set default to a special
3441         "unspecified" value.
3442         (dired-insert-directory): When called the first time, check
3443         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3445 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
3447         * replace.el: Add "collect" feature to occur.
3448         (occur-collect-regexp-history): New var.
3449         (occur-read-primary-args): Return a replace string for nlines,
3450         if needed.
3451         (occur): Extend the meaning of nlines.
3453 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3455         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3456         (which-func-update-1): Distinguish symbols from strings.
3457         (which-function): Stay within 80 columns.
3459 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3461         * subr.el (with-demoted-errors): Distinguish symbols from strings.
3463         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3464         Improve docstring.
3465         (comment-style): Use comment-styles's docs to describe values.
3467 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
3469         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3470         and ns-show-prefs (Bug#7535).
3472         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3473         bindings (Bug#7535).
3475 2010-12-03  Glenn Morris  <rgm@gnu.org>
3477         * nxml/nxml-mode.el: Require rng-nxml.
3478         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3479         Remove declarations.
3481         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3482         * nxml/rng-nxml.el, nxml/rng-valid.el:
3483         Remove leading `*' from defcustom docs.
3485         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3486         (normal-top-level-add-to-load-path, tty-handle-args):
3487         Convert comments to basic doc-strings.
3489         * net/browse-url.el (browse-url-url-at-point)
3490         (browse-url-default-browser): Remove autoload cookies.
3492         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3493         Remove more undefined cl functions.
3495         * vc/diff.el (diff-sentinel): Make new arguments optional.
3496         * ibuf-ext.el (diff-sentinel): Update declaration.
3498 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
3500         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3501         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3502         (epg-context-set-passphrase-callback): Mention that the callback
3503         is not called when used with GnuPG 2.x.
3505 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
3507         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3508         (tramp-file-name-port): Check also for `tramp-default-port'.
3509         (tramp-get-connection-name): New defun.
3510         (tramp-get-connection-process): Use it.
3511         (tramp-debug-message): Extend function exclude list.
3512         (tramp-drop-volume-letter): Fix doc string.
3514         * net/tramp-cmds.el: Remove solved todo item.
3516         * net/tramp-ftp.el:
3517         * net/tramp-gvfs.el:
3518         * net/tramp-gw.el:
3519         * net/tramp-imap.el:
3520         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3521         and `tramp-default-user-alist', respectively.
3523         * net/tramp-gw.el (tramp-gw-open-connection):
3524         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3526         * net/tramp-imap.el (tramp-imap-make-iht): Use just
3527         `tramp-file-name-port'.
3529         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3530         and "psftp".  Exchange "%k" marker with options.
3531         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3532         Compute size of link target.
3533         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3534         `tramp-current-*' up due to gateway methods.  Optimize computing of
3535         copy arguments.  Use `tramp-get-connection-name' and
3536         `tramp-get-connection-buffer'.  Improve debug messages.
3537         (tramp-compute-multi-hops): Remove port determination.
3538         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3540         * net/trampver.el: Update release number.
3542 2010-12-02  Glenn Morris  <rgm@gnu.org>
3544         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3545         Avoid infinite loop over windows.  (Bug#7492)
3547         * progmodes/flymake.el (flymake-check-file-limit):
3548         Allow nil to mean "no limit".
3549         (flymake-check-patch-master-file-buffer): Update for above change.
3550         Allow a .tex file-name extension to be optional.
3551         (flymake-master-tex-init): Also match \include statements.
3553 2010-11-30  Sam Steingold  <sds@gnu.org>
3555         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3556         (nxml-parent-document-set): A function to set `nxml-parent-document'.
3557         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3558         (nxml-mode-hook): Remove `defcustom' (auto-defined by
3559         define-derived-mode').
3560         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3561         users who want to call `nxml-parent-document-set'.
3563 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3565         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3566         stand-alone lines, since that is handled by log-edit-match-to-eoh
3567         (Bug#6465).
3569 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
3571         * dired.el (dired-get-filename): Replace backslashes with slashes
3572         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
3573         * locate.el (locate-default-make-command-line): Don't consider
3574         drive letter and root directory part of
3575         `directory-listing-before-filename-regexp'.  (Bug#7308)
3576         (locate-post-command-hook, locate-mode-hook): New defcustoms.
3578 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3580         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3581         of :smie-open/close-alist.
3582         (smie-next-sexp): Make it accept a "start token" as argument.
3583         (smie-indent-keyword): Be careful not to misidentify tokens that span
3584         more than one line, as empty lines.  Add argument `token'.
3586 2010-11-27  Kenichi Handa  <handa@m17n.org>
3588         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3589         multipart subtypes, insert all as usual.
3591         * mail/rmail.el: Require rfc2047.
3593 2010-11-27  Kenichi Handa  <handa@m17n.org>
3595         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3596         (rmail-mime-entity-disposition)
3597         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3598         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3599         (rmail-mime-save): Handle the case that the button's `data' is a
3600         MIME entity.
3601         (rmail-mime-insert-text): New function.
3602         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3603         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3604         (rmail-mime-insert-bulk): New function mostly copied from the old
3605         rmail-mime-bulk-handler.
3606         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3607         (rmail-mime-process-multipart): New function mostly copied from
3608         the old rmail-mime-multipart-handler.
3609         (rmail-mime-show): Just call rmail-mime-process.
3610         (rmail-mime-process): New function mostly copied from the old
3611         rmail-mime-show.
3612         (rmail-mime-insert-multipart, rmail-mime-parse)
3613         (rmail-mime-insert, rmail-show-mime)
3614         (rmail-insert-mime-forwarded-message)
3615         (rmail-insert-mime-resent-message): New functions.
3616         (rmail-insert-mime-forwarded-message-function): Set to
3617         rmail-insert-mime-forwarded-message.
3618         (rmail-insert-mime-resent-message-function): Set to
3619         rmail-insert-mime-resent-message.
3621         * mail/rmailsum.el: Require rfc2047.
3622         (rmail-header-summary): Handle multiline Subject: field.
3623         (rmail-summary-line-decoder): Change the default to
3624         rfc2047-decode-string.
3626         * mail/rmail.el (rmail-enable-mime): Change the default to t.
3627         (rmail-mime-feature): Change the default to `rmailmm'.
3628         (rmail-quit): Delete the specifal code for rmail-enable-mime.
3629         (rmail-display-labels): Likewise.
3630         (rmail-show-message-1): Check rmail-enable-mime, and use
3631         rmail-show-mime-function for a MIME message.  Decode the headers
3632         according to RFC2047.
3634 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3636         * progmodes/which-func.el (which-func-imenu-joiner-function):
3637         Return a string, as expected.
3638         (which-function-mode): Make sure we stop any previous timer before
3639         starting a new one.
3641 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
3643         * net/tramp.el (tramp-default-method-alist)
3644         (tramp-default-user-alist, tramp-default-proxies-alist):
3645         Adapt custom options type.  (Bug#7445)
3647 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3649         * progmodes/python.el: Add Ipython support (Bug#5390).
3650         (python-shell-prompt-alist)
3651         (python-shell-continuation-prompt-alist): New options.
3652         (python--set-prompt-regexp): New function.
3653         (inferior-python-mode, run-python, python-shell):
3654         Require ansi-color.  Use python--set-prompt-regexp to set the comint
3655         prompt based on the Python interpreter.
3656         (python--prompt-regexp): New var.
3657         (python-check-comint-prompt)
3658         (python-comint-output-filter-function): Use it.
3659         (run-python): Use a pipe (Bug#5694).
3661 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3663         * progmodes/python.el (run-python): Doc fix.
3664         (python-keep-current-directory-in-path): New var (Bug#7454).
3666 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3668         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3669         Prompt user before actually printing.
3671 2010-11-27  Glenn Morris  <rgm@gnu.org>
3673         * startup.el (package-enable-at-startup, package-initialize):
3674         Remove unnecessary declarations.
3676 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
3678         * international/characters.el (glyphless-char-display-control):
3679         Exclude newline and TAB from the c0-control group.
3681 2010-11-27  Glenn Morris  <rgm@gnu.org>
3683         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3684         (expand-mail-aliases): Remove unnecessary autoload.
3686         * allout.el (allout-command-prefix, allout-mode-map): Declare.
3688         * shell.el (shell-dir-cookie-re): Move definition before use.
3690         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3691         Replace undefined CL functions.
3693 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
3695         * simple.el (prog-mode): Set bidi-paragraph-direction to
3696         left-to-right.
3698         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3700 2010-11-26  Glenn Morris  <rgm@gnu.org>
3702         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3703         diary-outlook-formats can be sensitive to calendar-date-style.
3704         (diary-outlook-formats): Simplify the default setting.
3705         (diary-from-outlook-internal): Pass subject and body as arguments.
3706         Use dolist rather than dotimes.  Don't save the diary buffer.
3707         (diary-from-outlook-gnus, diary-from-outlook-rmail):
3708         Pass subject and body as explicit arguments to the -internal function.
3710 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3712         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3713         parsing them.  This makes mailto:...?subject=foo\nbar work.
3715 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3717         * vc/diff.el (diff): Fix last change.
3719 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3721         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
3722         (pcase--dontcare-upats): New var.
3723         (pcase-let, pcase-let*): Generate better code.
3724         Accept the same bodies as `let'.
3725         (pcase-dolist): New macro.
3726         (pcase--trivial-upat-p): New helper function.
3727         (pcase--expand): Strip leading "(let nil" if any.
3729 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3731         * mail/mailclient.el (browse-url): Require.
3732         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3733         use the external browser function to send the mail (bug#7469).
3735         * net/browse-url.el (browse-url-browser-function): Revert the
3736         default back to the previous value, since the new value broke
3737         mailclient.el.
3738         (browse-url-mailto-function): New variable for mailto: URLs.
3739         (browse-url): Use the new variable for mailto: URLs.
3741 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3743         * eshell/esh-cmd.el (eshell-parse-command):
3744         * eshell/esh-arg.el (eshell-parse-arguments):
3745         * eshell/em-script.el (eshell-source-file):
3746         Use with-silent-modifications.
3748 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3750         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
3751         for a merge location.
3753         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3754         (vc-bzr-merge-branch): Always prompt.
3755         (vc-bzr-async-command): Use the full branch filename.
3757 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3759         * shell.el (shell): Use current-buffer by default if it's already
3760         a shell mode buffer and its process is dead.
3761         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3763 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
3765         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3766         Mention that the keywords should be comma separated.
3768 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3770         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3771         Accept optional prefix arg meaning to prompt for a command.
3772         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
3773         prefix arg meaning to prompt for a command.
3774         (vc-pull): Alias for vc-update.
3776         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3777         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3778         (vc-bzr-merge-branch): New functions, implementing merge-branch
3779         and pull operations.
3781 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3783         * Makefile.in: Fix up last merge.
3785         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3786         (diff-sentinel): Get them as arguments instead.
3787         (diff-old-file, diff-new-file, diff-extra-args): Remove.
3788         (diff-file-local-copy, diff-better-file-name): New funs.
3789         (diff-no-select): Rename from diff-into-buffer.
3790         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
3791         Prefer closures to buffer-local variables.
3792         (diff): Adjust accordingly.
3793         (diff-buffer-with-file): Move from files.el.
3794         * files.el (diff-buffer-with-file): Move to vc/diff.el.
3795         (diff-buffer-internal): Remove.
3796         (diff-buffer-buffer): Remove.
3797         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3798         the buffer name used, and so as not to mess up windows and frames.
3800 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3802         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3803         (diff-buffer-internal): New function extracted from diff-buffer-with-file
3804         (diff-buffer-with-file): Use it.
3805         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3806         (diff): Use it.
3808 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
3810         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3811         \ref's or \pageref's value as default instead of initial input.
3813 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
3815         * files.el (backup-by-copying-when-mismatch): The default value is
3816         now t.
3818         * startup.el (normal-top-level):
3819         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3820         `backup-by-copying-when-mismatch'.
3822 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3824         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3826 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3828         * progmodes/python.el (python-font-lock-keywords):
3829         Highlight top-level augmented assignments (Bug#6445).
3831 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3833         * term/ns-win.el (ns-right-control-modifier)
3834         (ns-right-command-modifier): Defvar them.
3836         * cus-start.el (all): Add ns-right-control-modifier and
3837         ns-right-command-modifier (Bug#7458).
3839 2010-11-20  Glenn Morris  <rgm@gnu.org>
3841         * emacs-lisp/authors.el (authors-ignored-files)
3842         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3844 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3846         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3847         (report-emacs-bug-parse-query-results)
3848         (report-emacs-bug-create-existing-bugs-buffer): Pass through
3849         keywords used for querying the bug database to show them in the
3850         existing bugs buffer.
3852 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
3854         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3856         * info.el (info-tool-bar-map): Add some :vert-only keywords.
3858 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3860         * international/characters.el (glyphless-char-display-control):
3861         Make it a defcustom, with update-glyphless-char-display as its
3862         :set attribute.
3863         (top level): Don't call update-glyphless-char-display.
3865 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
3867         Sync with Tramp 2.2.0.
3869         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3870         `file-remote-p' (due to compatibility).
3872         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3873         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3875         * net/trampver.el: Update release number.
3877 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3879         * faces.el (glyphless-char): Define value for `pc'.
3881 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3883         Implemented a bug querying mechanism.
3884         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3885         (report-emacs-bug-create-existing-bugs-buffer)
3886         (report-emacs-bug-parse-query-results)
3887         (report-emacs-bug-query-existing-bugs): New functions.
3889 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
3891         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3892         a \ref{} or \pageref{} macro, then use its value as initial input.
3894 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
3896         * calc/calc-units.el (math-build-units-table-buffer):
3897         calc/README: Mention that the TeX specific units won't use the
3898         `tex' prefix in TeX mode.
3899         calc/calc-lang.el (math-variable-table): Don't use the `tex'
3900         prefix for units in TeX mode.
3902 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3904         * simple.el (kill-new, kill-append, kill-region):
3905         * comint.el (comint-kill-region): Make the yank-handler argument
3906         obsolete.
3908 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3910         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3911         that are both openers (resp. closers) and something else.
3912         (smie-grammar): Loosen definition of valid values.
3913         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3914         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3915         (smie-indent-after-keyword): Adjust users.
3916         (smie-indent-keyword): Don't indent empty lines.
3918         * vc-hg.el (vc-hg-program): New var.
3919         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3920         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3922 2010-11-18  Glenn Morris  <rgm@gnu.org>
3924         * emacs-lisp/autoload.el (autoload-find-destination): The function
3925         coding-system-eol-type may return non-numeric values.  (Bug#7414)
3927 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
3929         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3931 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
3933         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
3935 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
3937         * textmodes/picture.el (picture-mouse-set-point): Don't use
3938         posn-col-row; explicitly compute the motion based on the posn at
3939         the window-start (Bug#7390).
3941 2010-11-18  Glenn Morris  <rgm@gnu.org>
3943         * novice.el (disabled-command-function):
3944         Fix 2009-11-15 change.  (Bug#7384)
3946 2010-11-18  Glenn Morris  <rgm@gnu.org>
3948         * calendar/calendar.el (diary-iso-date-forms): Make elements
3949         mutually exclusive.  (Bug#7377)
3951 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3953         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3954         when filling the remaining "unconstrained" values.
3956 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3958         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3959         safety predicate.
3961         * files.el (safe-local-variable-p): Gracefully handle errors.
3963         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3964         Use smie-indent-virtual when indenting relative to an opener.
3965         (smie-rule-separator): Use smie-rule-parent.
3966         (smie-indent-keyword): Consult rules, even for openers at bol.
3967         (smie-indent-comment-close): Try to align closer's content.
3969 2010-11-18  Glenn Morris  <rgm@gnu.org>
3971         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3973 2010-11-18  Glenn Morris  <rgm@gnu.org>
3975         * printing.el (pr-menu-bind): Doc fix.
3977         * speedbar.el (speedbar-toggle-images): Doc fix.
3979         * progmodes/python.el (python-shell): Doc fix.
3981         * wid-edit.el (widget-field-use-before-change)
3982         (widget-use-overlay-change): Doc fixes.
3984 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3986         Minor cleanup to improve style.
3987         * textmodes/rst.el (rst-update-section): Use point-marker.
3988         (rst-get-decoration): Eliminate unneeded assignment.
3989         (rst-promote-region, rst-straighten-decorations)
3990         (rst-section-tree, rst-adjust): Use point-marker.
3991         (rst-toc-mode-mouse-goto): Avoid setq.
3992         (rst-shift-region-guts, rst-shift-region-left)
3993         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3994         (rst-convert-bullets-to-enumeration): Use copy-marker.
3996         * minibuffer.el (completion-fail-discreetly): New var.
3997         (completion--do-completion): Use it.
3999         * electric.el (electric-pair-pairs): New var.
4000         (electric-pair-post-self-insert-function): Use it.
4001         (electric-layout-post-self-insert-function): Don't insert a before
4002         newline unless it's actually needed.
4004 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4006         * progmodes/python.el (run-python): Explain why we remove the current
4007         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
4009         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4011 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4013         * progmodes/octave-mod.el: Rely on elecric-*-modes.
4014         (octave-mode-map): Don't bind ;, SPC, and LF.
4015         (octave-auto-indent, octave-auto-newline): Remove.
4016         (electric-layout-rules): Declare.
4017         (octave-mode): Set electric-layout-rules.
4018         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4019         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4020         (octave-electric-space): Remove.
4022         * electric.el (electric-layout-mode): New minor mode.
4023         (electric--after-char-pos): New function.
4024         (electric-indent-post-self-insert-function): Use it.
4025         (electric-layout-rules): New var.
4026         (electric-layout-post-self-insert-function): New function.
4027         (electric-indent-mode): Make them interact better.
4029 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4031         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4032         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4033         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4035 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
4037         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4038         Make sure to check inside the word (Bug#6761).
4040 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
4042         * startup.el (command-line): If the cursorColor resource is set,
4043         change the cursor face-spec (Bug#7392).
4045 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
4047         The main features of the following allout.el changes are:
4048         - implement user customization for the allout key bindings
4049         - add a customization control by which the user can inhibit use of
4050           a trailing Ctrl-H, so by default it's reserved for use with
4051           describe-prefix-bindings
4052         - adapt to new version of called-interactively-p, while
4053           maintaining backwards compatibility with old version
4054         - fix hotspot navigation so i works properly with meta-modified keys.
4056         * allout.el (allout-keybindings, allout-bind-keys)
4057         (allout-keybindings-binding, allout-prefixed-keybindings)
4058         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4059         (allout-keybindings-list, allout-mode-map-adjustments)
4060         (allout-setup-mode-map): Establish allout-mode keymaps as user
4061         customizable settings, and also establish a customizable setting which
4062         regulates whether or not a trailing control-h is reserved for use with
4063         describe-prefix-bindings - and inhibit it by default, so that control-h
4064         *is* reserved for describe-prefix-bindings unless the user changes it.
4066         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4067         and accurately between modified and unmodified events, and handle
4068         modified events more comprehensively.
4070         * allout.el (allout-substring-no-properties):
4071         Alias to use or provide version of `substring-no-properties'.
4072         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4074         * allout.el (allout-next-single-char-property-change):
4075         Alias to use or provide version of `next-single-char-property-change'.
4076         (allout-annotate-hidden, allout-hide-by-annotation):
4077         Use `allout-next-single-char-property-change'.
4079         * allout.el (allout-select-safe-coding-system):
4080         Alias to use or provide version of `select-safe-coding-system'.
4081         (allout-toggle-subtree-encryption):
4082         Use `allout-select-safe-coding-system'.
4084         * allout.el (allout-set-buffer-multibyte):
4085         Alias to use or provide version of `set-buffer-multibyte'.
4086         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4088         * allout.el (allout-called-interactively-p): Macro for using the
4089         different versions of called-interactively-p identically, depending on
4090         the subroutine's argument signature.
4091         (allout-back-to-current-heading, allout-beginning-of-current-entry):
4092         Use `(interactive "p")' instead of `(called-interactively-p)'.
4094         * allout.el (allout-init, allout-ascend, allout-end-of-level)
4095         (allout-previous-visible-heading, allout-forward-current-level)
4096         (allout-backward-current-level, allout-show-children):
4097         Use `allout-called-interactively-p' instead of `called-interactively-p'.
4099         * allout.el (allout-before-change-handler):
4100         Exempt edits to the (overlaid) character after the allout outline
4101         bullet from edit confirmation prompt.
4103         * allout.el (allout-add-resumptions):
4104         Ensure that it respects correct buffer for keybindings.
4106         * allout.el (allout-beginning-of-line):
4107         Use `allout-previous-single-char-property-change' alias for the sake of
4108         diverse compatibility.
4110         * allout.el (allout-end-of-line):
4111         Use `allout-mark-active-p' to encapsulate respect for mark activity.
4113 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
4115         * frame.el (frame-notice-user-settings): Don't clobber other
4116         user-set parameters when calling face-set-after-frame-default in
4117         response to background-color parameter (Bug#7373).
4119 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
4121         * international/characters.el (glyphless-char-display-control):
4122         Rename from glyphless-char-control; all users changed.  Doc fix.
4123         Signal an error if display method is not one of the recognized
4124         symbols.
4126 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
4128         * net/tramp-compat.el (tramp-compat-line-beginning-position)
4129         (tramp-compat-line-end-position): Remove them.
4131         * net/tramp.el (tramp-parse-rhosts-group)
4132         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4133         (tramp-parse-hosts-group, tramp-parse-passwd-group)
4134         (tramp-parse-netrc-group, tramp-parse-putty-group)
4135         * net/tramp-cmds.el (tramp-append-tramp-buffers)
4136         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4137         (tramp-sh-handle-file-selinux-context)
4138         (tramp-sh-handle-file-name-all-completions)
4139         (tramp-sh-handle-insert-directory)
4140         (tramp-sh-handle-expand-file-name, tramp-find-executable)
4141         (tramp-wait-for-output, tramp-send-command-and-read)
4142         * net/tramp-smb.el (tramp-smb-read-file-entry)
4143         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4145         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4146         `point-at-bol'.
4147         (tramp-remote-coding-commands): Add an alternative using "base64
4148         -d -i".  This is needed for older base64 versions from GNU
4149         coreutils.  Reported by Klaus Reichl
4150         <Klaus.Reichl@thalesgroup.com>.
4152 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
4154         * simple.el (count-words-region): New function.
4156 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4158         * shell.el (shell-dir-cookie-re): New custom variable.
4159         (shell-dir-cookie-watcher): New function.
4161         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4162         and compilation-mode (bug#7350).
4164         * vc/smerge-mode.el (smerge-refine): Choose better default part to
4165         highlight when one of them is empty.
4167         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4168         trailing space.
4169         (skeleton-newline): New function.
4170         (skeleton-internal-1): Use it.
4172         * simple.el (open-line): `newline' may strip trailing space.
4174 2010-11-12  Kevin Ryde  <user42@zip.com.au>
4176         * international/mule-cmds.el (princ-list): Use mapc.
4178 2010-11-12  Glenn Morris  <rgm@gnu.org>
4180         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4181         Use it to replace all instances of "*Compile-Log*".
4183 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4185         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4186         indentation specs.
4188 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4190         * progmodes/modula2.el: Use SMIE and skeleton.
4191         (m2-mode-syntax-table): (*..*) can be nested.
4192         Add //...\n.  Fix paren syntax.
4193         (m2-mode-map): Remove LF and TAB bindings.
4194         (m2-indent): Add safety property.
4195         (m2-smie-grammar): New var.
4196         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4197         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4198         (m2-mode): Use define-derived-mode.
4199         (m2-newline, m2-tab): Remove.
4200         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4201         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4202         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4203         (m2-import): Use define-skeleton.
4205 2010-11-11  Glenn Morris  <rgm@gnu.org>
4207         * obsolete/lucid.el: Don't warn about any CL functions in this file.
4209         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4210         (ls-lisp-verbosity): Add custom :set-after property.
4211         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4212         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4213         (ls-lisp-insert-directory): Update caller.
4214         (ls-lisp-set-options): New function.
4215         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4216         Doc fix.
4218         * play/landmark.el (lm-prompt-for-move):
4219         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4221         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4223         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4224         (idlwave-study-twins): Prefix dynamic local variable `name'.
4225         (idlwave-routine-twin-compare): Update for above change.
4227         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4228         Prefix dynamic local variables `name', `kwd', and `link'.
4229         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4230         * progmodes/idlw-complete-structtag.el
4231         (idlwave-complete-structure-tag-help):
4232         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4233         (idlwave-complete-sysvar-tag-help)
4234         (idlwave-complete-class-structure-tag-help):
4235         Update for above name changes.
4237 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4239         * net/browse-url.el (browse-url-browser-function): Change the
4240         default to use `browse-url-mail' on mailto: URLs.
4242 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
4244         * emacs-lisp/package.el (package-read-all-archive-contents):
4245         Reset package-archive-contents to nil before re-reading.
4247 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
4249         * textmodes/flyspell.el (flyspell-word): Do not re-check words
4250         already found as misspellings by (flyspell-large-region), just
4251         do highlighting (bug#7322).
4253 2010-11-10  Glenn Morris  <rgm@gnu.org>
4255         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4257         * emulation/edt.el (edt-with-position): New macro.
4258         (edt-find-forward, edt-find-backward, edt-find-next-forward)
4259         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4260         (edt-paragraph-forward, edt-paragraph-backward): Use it.
4262         * emulation/tpu-extras.el (tpu-with-position): New macro.
4263         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4265         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4267         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4268         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4269         (texinfo-master-menu, texinfo-insert-node-lines)
4270         (texinfo-multiple-files-update):
4271         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4272         Use line-beginning-position.
4274         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4275         No recent Emacs supports system-type `emx'.
4277         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4278         (ada-command-separator, ada-default-prj-properties)
4279         (ada-find-any-references): Update for above name change.
4281         * dirtrack.el (dirtrack-directory-function)
4282         (dirtrack-canonicalize-function):
4283         * filecache.el (file-cache-completion-ignore-case)
4284         (file-cache-case-fold-search, file-cache-ignore-case):
4285         * term.el (serial-port-is-file-p): Cosmetic change.
4287         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4288         Remove non-existent `windows-95' system-type.
4289         * dired.el (dired-chown-program): Remove non-existent `linux'
4290         system-type.
4292         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4293         (ping-program-options): Remove non-existent `linux' system-type.
4295         * startup.el (package-initialize): Update declaration.
4297         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4298         (ls-lisp-handle-switches): Use time-less-p.
4299         (ls-lisp-format-time): Use float-time.
4301         * textmodes/remember.el (remember-time-to-seconds): Remove.
4302         (remember-store-in-mailbox): Use float-time.
4304         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4306         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4307         never a real function.
4308         (with-no-warnings): Remove compat stub, now unused.
4309         (time-less-p): Doc fix.
4310         (time-to-number-of-days): Simplify.
4312         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4313         Remove.
4314         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4315         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4316         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4317         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4318         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4320         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4321         (eshell-shuffle-files, eshell-shorthand-tar-command)
4322         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4323         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4324         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4325         Prefix dynamic local variable `matches'.
4327         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4328         Prefix dynamic local variable `skeleton'.
4330 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4332         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4333         in mail buffer; make yank-action always a command that yanks original
4334         buffer.
4336 2010-11-09  Glenn Morris  <rgm@gnu.org>
4338         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4340 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4342         * minibuffer.el (minibuffer-completion-help): Specify the end of the
4343         completion field (bug#7211).
4345         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4346         Fix handling of backslash escapes.
4347         (python-quote-syntax): Adjust accordingly.
4349 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
4351         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4352         (vc-mtn-workfile-branch): Adjust to new output format.
4354 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4356         * international/mule-cmds.el (princ-list): Mark as obsolete.
4358 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4360         * emacs-lisp/smie.el: New package.
4362 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
4364         * files.el (backup-by-copying-when-mismatch):
4365         Set `permanent-local' property.
4367         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4368         `permanent-local' property for `backup-by-copying-when-mismatch'.
4370 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
4372         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
4374 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
4376         * progmodes/verilog-mode.el (verilog-insert-one-definition)
4377         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4378         AUTOINOUT for SV style multidimensional arrays, bug294.
4379         Reported by Eric Mastromarchi.
4380         (verilog-preprocess): Use with-current-buffer and
4381         font-lock-fontify-buffer to cleanup style issues.
4383 2010-11-09  Glenn Morris  <rgm@gnu.org>
4385         * locate.el (locate, locate-mode): Doc fixes.
4387 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
4389         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4390         user for confirmation.
4391         (server-force-stop): Use it.
4392         (server-start): Use server-force-stop for kill-emacs-hook, to
4393         avoid user interaction while killing Emacs.
4395 2010-11-09  Glenn Morris  <rgm@gnu.org>
4397         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4398         (meta-indent-line): Simplify.
4400         * vc/emerge.el (emerge-line-number-in-buf):
4401         * textmodes/ispell.el (ispell-region):
4402         * textmodes/fill.el (current-fill-column):
4403         * progmodes/xscheme.el (xscheme-send-current-line):
4404         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4405         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4406         * progmodes/sh-script.el (sh-handle-prev-do):
4407         * progmodes/meta-mode.el (meta-indent-line):
4408         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4409         (idlwave-in-quote):
4410         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4411         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4412         * progmodes/fortran.el (fortran-looking-at-if-then):
4413         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4414         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4415         (cperl-find-pods-heres):
4416         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4417         * net/quickurl.el (quickurl-list-insert):
4418         * net/ldap.el (ldap-search-internal):
4419         * net/eudc.el (eudc-expand-inline):
4420         * mail/sendmail.el (sendmail-send-it):
4421         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4422         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4423         (viper-brac-function):
4424         * calc/calc-yank.el (calc-do-grab-region):
4425         * calc/calc-keypd.el (calc-keypad-press):
4426         * term.el (term-move-columns, term-insert-spaces):
4427         * speedbar.el (speedbar-highlight-one-tag-line):
4428         * simple.el (current-word):
4429         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4430         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4431         (Info-scroll-down):
4432         * hippie-exp.el (he-line-beg):
4433         * epa.el (epa--marked-keys):
4434         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4435         (dired-update-file-line, dired-add-entry, dired-remove-entry)
4436         (dired-relist-entry):
4437         * buff-menu.el (Buffer-menu-buffer):
4438         * array.el (current-line):
4439         * allout.el (allout-resolve-xref)
4440         (allout-latex-verbatim-quote-curr-line):
4441         Replace yet more uses of end-of-line etc with line-end-position, etc.
4443 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4445         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4446         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4447         (checkdoc-syntax-table): Initialize in the declaration.
4448         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4449         the mode on unconditionally.
4451         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4452         (extent-end-position, extent-start-position): Remove setf method for
4453         non-existing functions (bug#7319).
4455 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4457         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4458         (smie-precs->prec2): Rename from smie-precs-precedence-table.
4459         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4460         (smie-prec2->grammar): Rename from smie-prec2-levels.
4461         (smie-grammar): Rename from smie-op-levels.
4462         (smie-indent--hanging-p): Rename from smie-hanging-p.
4463         (smie-rule-hanging-p): New alias.
4464         (smie-indent--bolp): Rename from smie-bolp.
4465         (smie-indent--hanging-p): New alias.
4466         (smie--token): New dynamically bound variable.
4467         (smie-indent--parent): New function.
4468         (smie-rule-parent-p): Use it; rename from smie-parent-p.
4469         (smie-rule-next-p): Rename from smie-next-p.
4470         (smie-rule-prev-p): Rename from smie-prev-p.
4471         (smie-rule-sibling-p, smie-rule-parent)
4472         (smie-indent--separator-outdent, smie-rule-separator): New functions.
4473         (smie-rule-separator-outdent): New var.
4474         (smie-indent--rule): Merge with smie-indent--column.
4475         (smie-indent-forward-token, smie-indent-backward-token):
4476         Also recognize close parens.
4477         (smie-indent-keyword): Don't use smie-indent--column any more.
4478         (smie-indent-after-keyword): Ignore closers by default.
4479         (smie-indent-line): Use with-demoted-errors.
4480         * progmodes/octave-mod.el (octave-smie-grammar):
4481         Rename from octave-smie-op-levels.
4482         (octave-smie-rules): Adjust to new behavior.
4483         * progmodes/prolog.el (prolog-smie-grammar):
4484         Rename from prolog-smie-op-levels.
4486 2010-11-07  Glenn Morris  <rgm@gnu.org>
4488         * eshell/esh-util.el (subst-char-in-string)
4489         (directory-files-and-attributes): These compatibility definitions are
4490         not needed on any version of Emacs since at least 21.4.
4492         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4493         (verilog-get-end-of-line): Remove.
4494         (verilog-within-string, verilog-re-search-forward-substr)
4495         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4496         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4497         Use point-at-bol, point-at-eol.
4498         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4499         Remove.
4500         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4501         (electric-pascal-terminate-line, pascal-set-auto-comments)
4502         (pascal-indent-paramlist, pascal-indent-declaration)
4503         (pascal-get-lineup-indent, pascal-func-completion)
4504         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4505         Use point-at-bol, point-at-eol.
4506         * progmodes/flymake.el (flymake-line-beginning-position)
4507         (flymake-line-end-position): Remove.
4508         (flymake-highlight-line): Use point-at-bol, point-at-eol.
4509         * eshell/esh-util.el (line-end-position, line-beginning-position):
4510         Remove compat definitions.
4512         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4513         Use end-of-line N.
4514         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4515         Use line-end-position.
4517         * emacs-lisp/chart.el (chart-zap-chars):
4518         * play/decipher.el (decipher-set-map):
4519         * progmodes/ada-mode.el (ada-get-current-indent)
4520         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4521         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4522         * progmodes/ada-xref.el (ada-initialize-runtime-library)
4523         (ada-get-all-references):
4524         * progmodes/cperl-mode.el (cperl-electric-paren)
4525         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4526         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4527         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4528         (cperl-word-at-point-hard):
4529         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4530         (idlwave-shell-filename-string, idlwave-shell-batch-command)
4531         (idlwave-shell-display-line):
4532         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4533         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4534         * progmodes/js.el (js--re-search-forward-inner)
4535         (js--re-search-backward-inner):
4536         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4537         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4538         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4539         * textmodes/flyspell.el (flyspell-process-localwords):
4540         * textmodes/ispell.el (ispell-buffer-local-parsing)
4541         (ispell-buffer-local-dict, ispell-buffer-local-words):
4542         Use point-at-bol and point-at-eol.
4544         * speedbar.el (speedbar-generic-item-info)
4545         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4546         (speedbar-add-indicator, speedbar-check-vc-this-line)
4547         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4548         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4549         Replace more uses of end-of-line etc with line-end-position.
4551 2010-11-06  Glenn Morris  <rgm@gnu.org>
4553         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4554         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4555         (texinfo-delete-existing-pointers, texinfo-find-pointer)
4556         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4557         (texinfo-multiple-files-update):
4558         * textmodes/table.el (table--probe-cell-left-up)
4559         (table--probe-cell-right-bottom):
4560         * textmodes/picture.el (picture-tab-search):
4561         * textmodes/page-ext.el (pages-copy-header-and-position)
4562         (pages-directory-for-addresses):
4563         * progmodes/vera-mode.el (vera-get-offset):
4564         * progmodes/simula.el (simula-calculate-indent):
4565         * progmodes/python.el (python-pdbtrack-overlay-arrow):
4566         * progmodes/prolog.el (end-of-prolog-clause):
4567         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4568         * progmodes/icon.el (indent-icon-exp):
4569         * progmodes/etags.el (tag-re-match-p):
4570         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4571         * progmodes/ebnf2ps.el (ebnf-begin-file):
4572         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4573         (dcl-save-local-variable):
4574         * play/life.el (life-setup):
4575         * play/gametree.el (gametree-looking-at-ply):
4576         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4577         * mail/sendmail.el (mail-mode-auto-fill):
4578         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4579         * emacs-lisp/edebug.el (edebug-overlay-arrow):
4580         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4581         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4582         (woman-tab-to-tab-stop, WoMan-warn-ignored):
4583         * type-break.el (type-break-file-keystroke-count):
4584         * term.el (term-replace-by-expanded-history-before-point)
4585         (term-skip-prompt, term-extract-string):
4586         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4587         (speedbar-contract-line, speedbar-toggle-line-expansion)
4588         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4589         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4590         * sort.el (sort-skip-fields):
4591         * skeleton.el (skeleton-internal-list):
4592         * simple.el (line-move-finish, line-move-to-column):
4593         * shell.el (shell-forward-command):
4594         * misc.el (copy-from-above-command):
4595         * makesum.el (double-column):
4596         * ebuff-menu.el (electric-buffer-update-highlight):
4597         * dired.el (dired-move-to-end-of-filename):
4598         * dframe.el (dframe-popup-kludge):
4599         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4600         * arc-mode.el (archive-get-lineno):
4601         Use line-end-position and line-beginning-position.
4603         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4604         (idlwave-study-twins): Prefix dynamic local `class'.
4605         (idlwave-routine-twin-compare): Update for above name change.
4607         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4608         Use boundp tests to silence compiler.  Update for changed name of
4609         bytecomp-filename variable.
4611         * emulation/viper-cmd.el (viper-read-string-with-history):
4612         Prefix dynamic local `initial'.
4613         (viper-minibuffer-standard-hook): Update for above name change.
4615         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4616         (elint-init-form): Update for above name change.
4618         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4619         local variables `cbeg' and `cend' a prefix.
4620         (mail-extr-voodoo): Update for above name change.
4622         * textmodes/reftex-toc.el (reftex-toc-do-promote)
4623         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4624         (reftex-toc-promote-action): Doc fix.
4626         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4627         `prompt', `data' a prefix.
4628         (reftex-select-post-command-hook, reftex-select-callback)
4629         (reftex-select-mouse-accept, reftex-select-read-cite):
4630         Update for above name changes.
4632         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4633         `refstyle' to reftex-refstyle.
4634         (reftex-offer-label-menu): Update for above name change.
4635         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4636         `refstyle' name change.
4638         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4639         with with-current-buffer.
4640         (diff, template): Give dynamic local variables a prefix.
4641         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4642         (emerge-line-number-in-buf): Update for above name change.
4643         (emerge-combine-versions-internal): Rename local `template' to
4644         emerge-combine-template.
4645         (emerge-combine-versions-edit): Update for above name change.
4647 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
4649         * textmodes/reftex-cite.el
4650         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4651         entries with whitespace after \bibitem.
4652         (reftex-create-bibtex-file): Match entries containing numbers and
4653         symbol constituents.  Make sure that entries with whitespace at
4654         various places are found.
4656 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
4658         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4660 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
4662         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4664 2010-11-05  Glenn Morris  <rgm@gnu.org>
4666         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4667         (woman2-roff-buffer): Give local variable `request' a prefix.
4668         (woman0-macro): Rename argument `request' in the same way.
4669         (woman-request): New name for `request' dynamic variable.
4670         (woman-unquote, woman-forward-arg): Update for above name change.
4671         (woman1-roff-buffer): Give local variable `unquote' a prefix.
4672         (woman1-unquote): New name for `unquote' dynamic variable.
4673         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4674         (woman-translations): Rename from `translations'.  No longer global.
4675         (woman2-tr, woman-translate): Update for above name change.
4676         (woman-translate): Check for bound variable.
4677         (woman2-roff-buffer): Give local variable `translations' a prefix.
4679         * play/doctor.el: Give all local variables a prefix.  Update callers.
4680         (doc$, doctor-put-meaning): Use backquote.
4682         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4683         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4685         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4686         variables bytes, ptr, op a prefix.
4687         (disassemble-offset): Update for above change.
4689 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4691         * emacs-lisp/package.el (package-unpack): Remove no-op.
4692         (package--builtins, package--dir): Doc fix.
4693         (package-activate-1, package-activate, package-install)
4694         (package-compute-transaction): Fix error message.
4695         (package-delete): Use delete-directory.  Omit system packages.
4696         (package-initialize): Set package-alist to nil first.
4697         (package-menu-mark-delete, package-menu-mark-install): Don't add
4698         symbols that are inconsistent with the package state.
4699         (package-menu-execute): Perform deletions and installations as
4700         single batch operations.
4702 2010-11-03  Glenn Morris  <rgm@gnu.org>
4704         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4705         (props): Remove unnecessary declaration.
4707         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4708         set-process-query-on-exit-flag.
4710         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4711         (reftex-toc-do-promote): Remove unused local `mpos'.
4712         (reftex-toc-restore-region): Make `mpos' local to this function.
4714         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4716         * play/landmark.el (lm-losing-threshold): Correct spelling.
4717         (lm-human-plays): Use new name.
4719         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4720         (gomoku-human-plays): Use new name.
4722         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4723         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4724         (gomoku-score-trans-table, gomoku-winning-threshold)
4725         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4727 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4729         * emacs-lisp/package.el: Don't put built-in packages in
4730         package-alist, to avoid loading inefficiencies.
4731         (package-built-in-p): Make VERSION optional, and treat it as a
4732         minimum acceptable version.
4733         (package-activate): Search separately for built-in packages.
4734         Emit a warning if a dependency fails.
4735         (define-package): Handle most common case, where there is no
4736         obsolete package, first.
4737         (package-compute-transaction): Print required version in error.
4738         (package--initialized): New variable.
4739         (list-packages): Use it.
4740         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
4741         built-in packages in packages-alist; keep it separate.
4742         Set package--initialized.
4743         (describe-package): Avoid activating packages as a side-effect.
4744         Search separately for built-in packages.
4745         (describe-package-1): Handle the case where an elpa package is
4746         simultaneously built-in and available/installed.
4747         (package-installed-p, package--generate-package-list):
4748         Search separately for built-in packages.
4749         (package-load-descriptor): Doc fix.
4751 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4753         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4754         Handle __DATA__ and __END__.
4756 2010-11-02  Noah Friedman  <friedman@splode.com>
4758         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4759         nil, do not ask to recompile files that are not already compiled,
4760         and do not recompile them.
4762 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
4764         * emacs-lisp/package.el (package-initialize): Ensure that
4765         obsoleted built-in packages are not in package-activated-list
4766         during activation.
4767         (describe-package-1): Make the "installed" status override
4768         "built-in".
4770 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4772         * subr.el (version-separator, version-regexp-alist): Remove '*'
4773         from docstring.
4774         (version-list-<=, version<=, version=): Doc fix.
4776 2010-11-01  Kenichi Handa  <handa@m17n.org>
4778         * faces.el (glyphless-char): Inherit underline for tty.
4780 2010-11-01  Kenichi Handa  <handa@m17n.org>
4782         Implement various display methods for glyphless characters.
4784         * international/characters.el (char-acronym-table): New variable.
4785         (glyphless-char-control): New variable.
4786         (update-glyphless-char-display): New function.
4788         * faces.el (glyphless-char): New face.
4790 2010-11-01  Glenn Morris  <rgm@gnu.org>
4792         * calendar/holidays.el (general-holidays, oriental-holidays)
4793         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4794         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4795         the definitions of their targets.
4797         * emacs-lisp/smie.el (smie): New custom group.
4798         (smie-blink-matching-inners, smie-indent-basic): Add :group.
4800         * faces.el (xw-defined-colors, x-setup-function-keys):
4801         * mouse-sel.el (x-select-text):
4802         * term/w32console.el (x-setup-function-keys): Update declarations.
4804         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4806         * textmodes/ispell.el (comment-add): Declare.
4808         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4809         Declare.
4811         * info.el (finder-keywords-hash, package-alist): Declare.
4813 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4815         * finder.el (finder-compile-keywords): Don't use intern-soft,
4816         since package names may not yet exist in the obarray.
4818 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4820         * vc/vc-arch.el (vc-arch-checkin):
4821         * vc/vc-cvs.el (vc-cvs-checkin):
4822         * vc/vc-mtn.el (vc-mtn-checkin):
4823         * vc/vc-rcs.el (vc-rcs-checkin):
4824         * vc/vc-sccs.el (vc-sccs-checkin):
4825         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4826         since 2010-04-21 commit by Stefan Monnier.
4828 2010-11-01  Glenn Morris  <rgm@gnu.org>
4830         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4832         * startup.el (package-enable-at-startup, package-initialize):
4833         Silence compiler.
4835         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4836         Silence compiler.
4838 2010-10-31  Julien Danjou  <julien@danjou.info>
4840         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4841         (byte-recompile-directory):
4842         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4843         Use `byte-recompile-file'.
4845 2010-10-31  Glenn Morris  <rgm@gnu.org>
4847         * cus-start.el: Handle standard values via a keyword.
4848         Only set version property if specified.
4849         (cursor-in-non-selected-windows, menu-bar-mode)
4850         (tool-bar-mode, show-trailing-whitespace):
4851         Do not specify standard values.
4852         (transient-mark-mode, temporary-file-directory): Use :standard.
4854 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
4856         * term/x-win.el (x-get-selection-value): New function that gets
4857         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
4859 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
4861         * net/tramp.el (tramp-handle-insert-file-contents): For root,
4862         preserve owner and group when editing files.  (Bug#7289)
4864 2010-10-31  Glenn Morris  <rgm@gnu.org>
4866         * speedbar.el (speedbar-mode):
4867         * play/fortune.el (fortune-in-buffer, fortune):
4868         * play/gomoku.el (gomoku-mode):
4869         * play/landmark.el (lm-mode):
4870         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4871         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
4873         * select.el (x-selection): Mark it as an obsolete alias.
4875 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4877         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4878         major-mode (bug#7284).
4880 2010-10-31  Glenn Morris  <rgm@gnu.org>
4882         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4883         rather than just an unused variable that inherits from the real one.
4885 2010-10-31  Alan Mackenzie  <acm@muc.de>
4887         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4888         This fixes bug #7185.
4890 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
4892         * startup.el (command-line): Search for package directories, and
4893         don't load package.el if none are found.
4895         * emacs-lisp/package.el (describe-package, list-packages):
4896         Call package-initialize if it has not been called yet.
4898 2010-10-30  Alan Mackenzie  <acm@muc.de>
4900         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4901         which fontifies the tail of an enum.
4902         (c-basic-matchers-after): Insert a call to the above new function.
4903         This fixes bug #7264.
4905 2010-10-30  Glenn Morris  <rgm@gnu.org>
4907         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4908         tool-bar-mode, transient-mark-mode.  (Bug#7306)
4909         Include the :set property in the dumped Emacs.
4911 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4913         SMIE: change indent rules format, improve smie-setup.
4914         * emacs-lisp/smie.el (smie-precs-precedence-table)
4915         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4916         Mark them pure so the tables gets built at compile time.
4917         (smie-bnf-precedence-table): Store the closer-alist in the table.
4918         (smie-prec2-levels): Preserve the closer-alist.
4919         (smie-blink-matching-open): Be more forgiving in case of indentation.
4920         (smie-hanging-p): Rename from smie-indent--hanging-p.
4921         (smie-bolp): Rename from smie-indent--bolp.
4922         (smie--parent, smie--after): New dynamic vars.
4923         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4924         (smie-indent-rules): Remove.
4925         (smie-indent--offset-rule): Remove fun.
4926         (smie-rules-function): New var.
4927         (smie-indent--rule): New fun.
4928         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4929         (smie-indent-exps): Use it.
4930         (smie-setup): Setup paren blinking; add keyword args for token
4931         functions; extract closer-alist from op-levels.
4932         (smie-indent-debug-log): Remove var.
4933         (smie-indent-debug): Remove fun.
4934         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4935         (prolog-smie-rules): New fun to replace it.
4936         (prolog-mode-variables): Simplify.
4937         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4938         it's setup automatically.
4939         (octave-smie-indent-rules): Remove.
4940         (octave-smie-rules): New fun to replace it.
4941         (octave-mode): Simplify.
4943 2010-10-29  Glenn Morris  <rgm@gnu.org>
4945         * files.el (temporary-file-directory): Remove (already defined in C).
4946         * cus-start.el: Add temporary-file-directory.
4948         * abbrev.el (abbrev-mode):
4949         * composite.el (auto-composition-mode):
4950         * menu-bar.el (menu-bar-mode):
4951         * simple.el (transient-mark-mode):
4952         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4953         that they do not define the associated variables twice.
4954         * simple.el (transient-mark-mode): Remove defvar.
4955         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4956         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4957         Handle multiple groups, and also custom-delayed-init-variables.
4958         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4960 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4962         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4963         (pcase-if): Add one minor optimization.
4964         (pcase-split-equal): Rename from pcase-split-eq.
4965         (pcase-split-member): Rename from pcase-split-memq.
4966         (pcase-u1): Add strings to the member optimization.
4967         Add `guard' variant of predicates.
4968         (pcase-q1): Add string patterns.
4970 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4972         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4974 2010-10-28  Glenn Morris  <rgm@gnu.org>
4976         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4977         Move menu-bar related settings to ../menu-bar.el.
4978         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4979         Move ns-specific settings here from term/ns-win.el.
4981         * simple.el (x-selection-owner-p): Remove unused declaration.
4983 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4985         * minibuffer.el (completion-cycling): New var (bug#7266).
4986         (minibuffer-complete, completion--do-completion):
4987         Use completion--flush-all-sorted-completions.
4988         (minibuffer-complete): Only cycle if completion-cycling is set.
4989         (completion--flush-all-sorted-completions): Unset completion-cycling.
4990         (minibuffer-force-complete): Set completion-cycling.
4991         (completion-all-sorted-completions): Move declaration before first use.
4993 2010-10-28  Leo Liu  <sdl.web@gmail.com>
4995         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4996         which changes the order of matches seen by users (bug#7231).
4998 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
5000         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5001         Don't confuse -omega as "-o mega".
5003 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5005         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5006         (log-edit-author): New dynamic var.
5007         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5008         to return the author if different from committer.
5009         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5011         * play/landmark.el: Adjust commenting convention.
5012         (lm-nil-score): Rename from nil-score.
5013         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5014         (OOOOscore): Move into a let in lm-score-trans-table.
5015         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5017         * electric.el (electric-indent-chars): Autoload.
5018         * progmodes/octave-mod.el (octave-mode):
5019         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5020         (ruby-mode-abbrev-table): Merge initialization and declaration.
5022 2010-10-27  Glenn Morris  <rgm@gnu.org>
5024         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5025         variable.
5027         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5029         * term/ns-win.el: Restore require of cl when compiling.
5030         (menu-bar-final-items): Remove non-existent `windows' menu.
5031         (ns-handle-nxopen): Optionally handle the temp-case.
5032         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5033         (ns-insert-file, ns-find-file): Use `pop'.
5035 2010-10-26  Glenn Morris  <rgm@gnu.org>
5037         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5039 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
5041         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5042         global map.
5043         * term/common-win.el (x-setup-function-keys): Remove most of the
5044         keymappings.  Comment on the remaining ones.
5046 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
5048         * server.el (server-port): New option.  (Bug#854)
5049         (server-start): Use server-port.
5051 2010-10-26  Glenn Morris  <rgm@gnu.org>
5053         * term/ns-win.el (ns-version-string): Remove unused declaration.
5054         (ns-invocation-args): Change to x-invocation-args.
5055         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5056         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5057         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5058         Use x-invocation-args instead of ns-invocation-args.
5059         (ns-initialize-window-system, handle-args-function-alist):
5060         Use x-handle-args instead of ns-handle-args.
5061         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5062         * startup.el (command-line-ns-option-alist): Replace
5063         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5064         ns-handle-iconic with the x- equivalents.
5066         * term/common-win.el (x-select-enable-clipboard):
5067         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5069         * term/ns-win.el: No need to require cl when compiling.
5070         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5071         (xw-defined-colors): Use the common-win definitions.
5072         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5073         (ns-handle-iconic): Make it an alias for x-handle-iconic.
5074         * term/common-win.el (x-select-text, x-alternatives-map)
5075         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5076         * loadup.el [ns]: Load common-win.
5078 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
5080         * epa-mail.el (epa-mail-encrypt): Handle local-part only
5081         recipients; expand mail aliases (Bug#7280).
5083 2010-10-25  Glenn Morris  <rgm@gnu.org>
5085         * term/common-win.el (x-handle-switch): Simplify with pop.
5086         Optionally handle numeric switches.
5087         (x-handle-numeric-switch): Just call x-handle-switch.
5088         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5089         (x-handle-name-switch, x-handle-display, x-handle-args):
5090         Simplify with pop.
5092         * term/ns-win.el: Do not require easymenu.
5093         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5094         <spell>: Move adjustments to menu-bar.el.
5095         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5096         <separator-undo, spell>: Move ns-win's adjustments here.
5097         * loadup.el [ns]: Do not load easymenu.
5099 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5101         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5102         Delete (Bug#7222).
5104         * startup.el (fancy-startup-tail): Instead of using inline images,
5105         refer to image files from etc/.
5107         * wid-edit.el (checkbox): Likewise.
5108         (widget-image-find): Center image specs.
5110 2010-10-24  Glenn Morris  <rgm@gnu.org>
5112         * term/ns-win.el (x-select-text): Doc fix.
5113         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5114         (x-select-text): Move to term/common-win.
5115         * term/w32-win.el (xw-defined-colors): Move to common-win.
5116         * term/x-win.el (xw-defined-colors, x-alternatives-map)
5117         (x-setup-function-keys, x-select-text): Move to common-win.
5118         * term/common-win.el (x-select-text, x-alternatives-map)
5119         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5120         definitions here.
5122 2010-10-24  T. V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
5124         * net/mairix.el (mairix-searches-mode-map):
5125         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5127 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
5129         * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5130         auto-built for efficiency of execution and updating.
5131         (verilog-extended-complete-re): Support 'pure' fucntion & task
5132         declarations (these have no bodies).
5133         (verilog-beg-of-statement): General cleanup to enable support of
5134         'pure' fucntion & task declarations (these have no bodies).
5135         These efforts together fix Verilog bug210 from veripool; which was also
5136         noticed by Steve Pearlmutter.
5137         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5138         (verilog-directive-nest-re, verilog-set-auto-endcomments):
5139         Support `elsif.  Reported by Shankar Giri.
5140         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5141         attribute handling for lining up declarations and assignments.
5142         (verilog-beg-of-statement-1): Fix issue where continued declaration
5143         is indented differently if it is after a begin..end clock.
5144         (verilog-in-attribute-p, verilog-skip-backward-comments)
5145         (verilog-skip-forward-comment-p): Support proper treatment of
5146         attributes by indent code.  Reported by Jeff Steele.
5147         (verilog-in-directive-p): Fix comment to correctly describe function.
5148         (verilog-backward-up-list, verilog-in-struct-region-p)
5149         (verilog-backward-token, verilog-in-struct-p)
5150         (verilog-in-coverage-p, verilog-do-indent)
5151         (verilog-pretty-declarations): Use verilog-backward-up-list as
5152         wrapper around backward-up-list inorder to properly skip comments.
5153         Reported by David Rogoff.
5154         (verilog-property-re, verilog-endcomment-reason-re)
5155         (verilog-beg-of-statement, verilog-set-auto-endcomments)
5156         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5157         of if).  Reported by Max Bjurling and
5158         (verilog-calc-1): Fix for clocking block in modport
5159         declaration.  Reported by Brian Hunter.
5161 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
5163         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5164         (verilog-gate-keywords, verilog-read-sub-decls)
5165         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5166         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5167         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
5168         (verilog-read-decls): Fix spaces in V2K module parameters causing
5169         mis-identification as interfaces, bug287.
5170         (verilog-read-decls): Fix not treating "parameter string" as a
5171         parameter in AUTOINSTPARAM.
5172         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5173         treating `elsif similar to `endif inside AUTOSENSE.
5174         (verilog-do-indent): Implement correct automatic or static task or
5175         function end comment highlight.  Reported by Steve Pearlmutter.
5176         (verilog-font-lock-keywords-2): Fix highlighting of single
5177         character pins, bug264.  Reported by Michael Laajanen.
5178         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5179         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5180         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5181         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
5182         (verilog-pretty-expr): Fix interactive arguments, bug272.
5183         Reported by Mark Johnson.
5184         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5185         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5186         bug269.  Suggested by Gary Delp.
5187         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5188         (verilog-preprocessor, verilog-set-compile-command):
5189         Create verilog-preprocess and verilog-preprocessor to show
5190         preprocessed output.
5191         (verilog-get-beg-of-line, verilog-get-end-of-line)
5192         (verilog-modi-file-or-buffer, verilog-modi-name)
5193         (verilog-modi-point, verilog-within-string): Move defmacro's
5194         before first use to avoid warning.  Reported by Steve Pearlmutter.
5195         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5196         (verilog-colorize-region, verilog-highlight-buffer)
5197         (verilog-highlight-includes, verilog-highlight-modules)
5198         (verilog-highlight-region, verilog-mode): Rename colorize to
5199         highlight to match other packages.  Disable module highlighting,
5200         as received speed complaints, reenable for experimentation only
5201         using new verilog-highlight-modules.
5202         (verilog-read-decls): Fix regexp stack overflow in very large
5203         AUTO_TEMPLATEs, bug250.
5204         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5205         (verilog-scan): Create verilog-save-buffer-state to standardize
5206         making insignificant changes that shouldn't call hooks.
5207         (verilog-save-no-change-functions, verilog-save-scan-cache)
5208         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5209         Create verilog-save-no-change-functions to wrap verilog-scan
5210         preservation, and fix to work with nested preserved calls.
5211         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5212         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5213         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
5214         (verilog-submit-bug-report): Update variable list to be complete.
5215         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5216         breaking on-the-fly font-locking.
5217         (verilog-colorize-buffer, verilog-colorize-include-files)
5218         (verilog-colorize-include-files-buffer, verilog-colorize-region)
5219         (verilog-load-file-at-mouse, verilog-load-file-at-point)
5220         (verilog-mode, verilog-read-inst-module-matcher): With point on a
5221         AUTOINST cell instance name, middle mouse button now finds-file on
5222         it.  Suggested by Brad Dobbie.
5223         (verilog-alw-get-temps, verilog-auto-reset)
5224         (verilog-auto-sense-sigs, verilog-read-always-signals)
5225         (verilog-read-always-signals-recurse): Fix loop indexes being
5226         AUTORESET.  AUTORESET now assumes any variables in the
5227         initialization section of a for() should be ignored.
5228         Reported by Dan Dever.
5229         (verilog-error-font-lock-keywords)
5230         (verilog-error-regexp-emacs-alist)
5231         (verilog-error-regexp-xemacs-alist): Fix error detection of
5232         Cadence HAL, reported by David Asher.  Repair drift between the
5233         three similar error variables.
5234         (verilog-modi-lookup, verilog-modi-lookup-cache)
5235         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5236         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5237         Fix slow verilog-auto expansion on very large files.
5238         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5239         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5240         "{1*2{...".  Broke in last revision.
5241         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5242         submodule connections with replications "{#{a},#{b}}".
5244 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
5246         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5247         Fix typo in docstring.
5249 2010-10-24  Kenichi Handa  <handa@m17n.org>
5251         * face-remap.el (text-scale-adjust): Call read-event with a proper
5252         prompt.
5254 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5256         * emacs-lisp/unsafep.el: Don't mark functions that display
5257         messages as safe.  Suggested by Johan Bockgård.
5259 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5261         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5262         Turn comments into docstrings.
5264         * minibuffer.el (completion--replace): Move point where it belongs
5265         when there's a common suffix (bug#7215).
5267 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5269         Merge read-color and facemenu-read-color (Bug#7242).
5271         * faces.el (read-color): Use the completion code from
5272         facemenu-read-color.  Require match in completion.  Doc fix.
5274         * facemenu.el (facemenu-read-color): Alias for read-color.
5275         (facemenu-set-foreground, facemenu-set-background):
5276         Use read-color.
5278         * frame.el (set-background-color, set-foreground-color)
5279         (set-cursor-color, set-mouse-color, set-border-color):
5280         Use read-color.
5282 2010-10-24  Leo Liu  <sdl.web@gmail.com>
5284         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5285         argument of delete-file and delete-directory (Bug#7011).
5287 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5289         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5290         button-buffer-map.
5292 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
5294         * emacs-lisp/package.el (package--generate-package-list): Make the
5295         *Packages* buffer read-only.
5297 2010-10-24  Alan Mackenzie  <acm@muc.de>
5299         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5300         result of `c-beginning-of-decl-1' between invocations of a lambda
5301         function (Bug #7265).
5303 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
5305         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5306         executable is not available on the system (Bug#7268).
5308 2010-10-24  Glenn Morris  <rgm@gnu.org>
5310         * select.el (selection-coding-system, next-selection-coding-system):
5311         Sync doc with C versions.
5313         * w32-vars.el (x-select-enable-clipboard):
5314         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5315         * term/common-win.el (x-select-enable-clipboard): Move here.
5317         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5318         definition of C variable.
5320         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5321         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5322         Don't redefine things that are defined in C.
5323         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5324         (show-trailing-whitespace, auto-hscroll-mode)
5325         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5326         Set up the appropriate custom properties.
5328 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5330         Bind "C-c ]" to ...
5331         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5332         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5333         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5334         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5336 2010-10-23  Glenn Morris  <rgm@gnu.org>
5338         * textmodes/flyspell.el (flyspell-mode): If there was an error,
5339         say what it was.
5341         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5342         Sync docs with C version.
5344         * term/ns-win.el (xw-defined-colors):
5345         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5347         * term/pc-win.el (x-select-enable-clipboard):
5348         * term/x-win.el (x-select-enable-clipboard):
5349         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5351         * comint.el (comint-password-prompt-regexp): Make it less vague.
5352         Bump version.
5354         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5356         * help.el (finder-by-keyword): Remove unnecessary autoload.
5358 2010-10-22  Glenn Morris  <rgm@gnu.org>
5360         * loadup.el: Unconditionally load float-sup.
5361         * paren.el (show-paren-delay):
5362         * emacs-lisp/float-sup.el:
5363         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5364         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5365         (lazy-lock-stealth-verbose): Assume float support.
5366         * ps-print.el: Assume float support on Emacs.
5367         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5368         Remove non-float branch.
5370         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5371         src/Makefile no longer being pre-processed.
5373 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5375         * emacs-lisp/find-func.el (find-library): Use test-completion.
5377 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5379         * newcomment.el (comment-dwim): Fix the indentation in the doc string.
5381 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
5383         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5384         space in stat format string.
5385         (tramp-send-command): Unset $PS1 when using here documents, in
5386         order not to get several prompts.
5387         (tramp-get-inline-coding): Return `nil' in case of errors.
5389 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
5391         * hexl.el (hexl-mode, hexl-mode-exit):
5392         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5393         (hexl-revert-buffer-function): New function.
5394         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5396 2010-10-19  Alan Mackenzie  <acm@muc.de>
5398         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5399         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5400         that these keywords aren't wrongly matched as identifiers.
5402         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5403         setting of c-new-BEG and c-new-END from c-before-change to
5404         c-after-change.  (Bug#7181)
5406 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5408         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5409         Don't mark as safe.
5411         * custom.el (custom-theme-set-variables): Likewise.
5412         (load-theme): Add custom-theme-set-faces and
5413         custom-theme-set-variables to safe-functions while loading.
5414         (custom-enabled-themes): Mark as risky.
5416 2010-10-18  Julien Danjou  <julien@danjou.info>
5418         * bindings.el: Remove end dashes in default mode-line-format.
5420 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5422         * bindings.el (global-map): Bind C-d to delete-char and deletechar
5423         to delete-forward-char.
5425         * simple.el (normal-erase-is-backspace-mode): Remap delete to
5426         deletechar, and hence delete-forward-char.
5428 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5430         * repeat.el (repeat): Use read-key (bug#6256).
5432 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5434         * emacs-lisp/unsafep.el: Don't mark functions that display
5435         messages as safe.  Suggested by Johan Bockgård.
5437 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5439         * minibuffer.el (completion--replace): Move point where it belongs
5440         when there's a common suffix (bug#7215).
5442 2010-10-19  Kenichi Handa  <handa@m17n.org>
5444         * international/characters.el: Add category '|' (word breakable)
5445         to fullwidth characters.
5447 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
5449         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5450         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5451         order to make stat results a float.  Patch by Andreas Schwab
5452         <schwab@linux-m68k.org>.
5454 2010-10-18  Julien Danjou  <julien@danjou.info>
5456         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5457         hidden by `make-pointer-invisible'.
5459 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5461         * files.el (locate-file-completion-table): Strip non-matching elements
5462         before checking length of list (bug#7238).
5464 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
5466         * custom.el (custom-theme-set-variables): Mark as a safe function.
5467         (load-theme): Check forms using unsafep.
5469         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5471 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
5473         * textmodes/ispell.el (ispell-aspell-find-dictionary):
5474         Fix aspell data file searching (bug#7230).
5476 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5478         * cus-theme.el (custom-theme--migrate-settings): New var.
5479         (customize-create-theme): Allow editing the `user' theme.
5480         (custom-theme-add-variable, custom-theme-add-var-1)
5481         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5482         to the front of each variable or face widget.
5483         (custom-theme-write): Save theme settings in the correct order.
5484         Optionally, remove saved settings from user customizations.
5485         (custom-theme-write-variables, custom-theme-write-faces):
5486         Save only the checked widgets.
5487         (customize-themes): Add a link for migrating custom settings.
5489         * custom.el (custom-declare-theme, provide-theme):
5490         Use custom-theme-name-valid-p.
5491         (custom-theme-name-valid-p): Remove checks that are now
5492         unnecessary since themes no longer obey load-path.
5494         * cus-edit.el (custom-variable-value-create): For the simple
5495         style, hide documentation string when hidden.
5497 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5499         * cus-edit.el (custom-variable, custom-face): Combine the
5500         :inhibit-magic and :display-style properties into a single
5501         :custom-style property.
5502         (custom-toggle-hide-variable, custom-toggle-hide-face):
5503         New functions.  If hiding an edited value, save it to :shown-value.
5504         (custom-variable-value-create, custom-face-value-create): Use them.
5505         (custom-magic-reset): Allow magic property to be unset.
5507         * custom.el: Custom themes no longer use load-path.
5508         (custom-theme-load-path): New option.  Change built-in theme
5509         directory to etc/.
5510         (custom-enabled-themes): Add custom-theme-load-path dependency.
5511         (custom-theme--load-path): New function.
5512         (load-theme, custom-available-themes): Use it.
5514         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5515         (customize-themes): Link to custom-theme-load-path variable.
5516         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5517         :custom-style property.
5519         * themes/*.el: Moved to etc/.
5521 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
5523         * textmodes/reftex-cite.el
5524         (reftex-extract-bib-entries-from-thebibliography): Do not move
5525         point when searching for \bibitem entries.  Match entries with
5526         spaces or tabs in front of arguments.
5528 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5530         * cus-theme.el (customize-create-theme): Delete overlays after
5531         erasing.  If given a THEME arg, display only the faces of that arg
5532         instead of custom-theme--listed-faces.
5533         (custom-theme-variable-menu, custom-theme-variable-action)
5534         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5535         (custom-theme-add-variable, custom-theme-add-face): Apply value
5536         from the theme settings, instead of the current value.
5537         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5538         (custom-theme-visit-theme): Allow calling outside theme buffers.
5539         (custom-theme-merge-theme): Don't enable the theme when merging.
5540         (custom-theme-write-variables, custom-theme-write-faces): Use the
5541         :shown-value properties to save buffer values, not global ones.
5542         (customize-themes): Display a warning about user customizations.
5544         * cus-edit.el (custom-variable-value-create)
5545         (custom-face-value-create): Obey new special properties
5546         :shown-value and :inhibit-magic.
5548 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
5550         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5551         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
5552         <dale@codefu.org>.
5554 2010-10-14  Kenichi Handa  <handa@m17n.org>
5556         * mail/rmail.el (rmail-show-message-1): Catch an error of
5557         base64-decode-region and just show an error message (bug#7165).
5559         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
5560         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5561         a font-spec (bug#7197).
5563 2010-10-14  Glenn Morris  <rgm@gnu.org>
5565         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5567 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
5569         * international/mule.el (define-coding-system):
5570         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5571         * composite.el (compose-region): Fix typo in docstring.
5573 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
5575         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5576         only after checking the theme-face property.
5578         * faces.el (face-spec-reset-face): Reset all attributes in one
5579         single call to set-face-attribute.
5580         (face-spec-match-p): Make it a defsubst.
5581         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5582         (x-create-frame-with-faces, tty-create-frame-with-faces)
5583         (tty-set-up-initial-frame-faces): Don't recompute face specs in
5584         frame-set-background-mode, since they are recomputed immediately
5585         afterwards in face-set-after-frame-default.
5586         (face-set-after-frame-default): Minor optimization.
5587         (cursor): Provide non-trivial defface spec.
5589         * custom.el (custom-theme-recalc-face): Simplify.
5591 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
5593         * calc/calc-alg.el (math-var): Rename from `var'.
5594         (math-is-polynomial, math-is-poly-rec): Replace `var'
5595         with `math-var'.
5597         * calc/calcalg2.el (math-var): Rename from `var'.
5598         (calcFunc-table, math-scan-for-limits): Replace `var'
5599         with `math-var'.
5601 2010-10-13  Glenn Morris  <rgm@gnu.org>
5603         * subr.el (last): Deal with dotted lists (reported in bug#7174).
5605 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
5607         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5609 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5611         * net/tls.el (tls-program): Remove spurious %s from openssl.
5612         (tls-starttls-switches): Remove starttls hack.
5613         (open-tls-stream): Ditto.
5614         (tls-find-starttls-argument): Ditto.
5616 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
5618         * image.el (image-library-alist): Declare as obsolete alias.
5619         (image-type-available-p): Use `dynamic-library-alist'.
5621         * term/w32-win.el (dynamic-library-alist):
5622         Use instead of `image-library-alist'.
5624 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
5626         * subr.el (last): Make it faster.  (Bug#7174)
5628 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
5630         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
5632 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5634         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5635         (describe-theme-1): Extract doc from unloaded themes.
5637         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5639         * themes/tango-theme.el:
5640         * themes/tango-dark-theme.el:
5641         * themes/wheatgrass-theme.el: New files.
5643 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5645         * cus-theme.el (describe-theme, customize-themes)
5646         (custom-theme-save): New commands.
5647         (custom-new-theme-mode-map): Bind C-x C-s.
5648         (custom-new-theme-mode): Use custom--initialize-widget-variables.
5649         (customize-create-theme): New optional arg THEME.
5650         (custom-theme-revert): Use it.
5651         (custom-theme-visit-theme): Remove dead code.
5652         (custom-theme-merge-theme): Use custom-available-themes.
5653         (custom-theme-write): Make interactive.
5654         (custom-theme-write): Use custom-theme-name-valid-p.
5655         (describe-theme-1, custom-theme-choose-revert)
5656         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5657         New funs.
5658         (custom-theme-allow-multiple-selections): New option.
5659         (custom-theme-choose-mode): New major mode.
5661         * custom.el (custom-theme-set-variables): Remove dead code.
5662         Obey custom--inhibit-theme-enable.
5663         (custom--inhibit-theme-enable): New var.
5664         (provide-theme): Obey it.
5665         (load-theme): Replace load with manual read/eval, in order to
5666         check for correctness.  Use custom-theme-name-valid-p.
5667         (custom-theme-name-valid-p): New function.
5668         (custom-available-themes): Use it.
5670         * cus-edit.el (custom--initialize-widget-variables): New function.
5671         (Custom-mode): Use it.
5673         * cus-face.el (custom-theme-set-faces): Remove dead code.
5674         Obey custom--inhibit-theme-enable.
5676         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5678 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
5680         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5682 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
5684         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5685         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5686         (mac-right-option-modifier): New alias for ns-right-option-modifier.
5688         * cus-start.el (all): ns-right-alternate-modifier is new.
5690 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5692         * emacs-lisp/lisp.el (lisp-completion-at-point):
5693         Use emacs-lisp-mode-syntax-table for the whole function.
5695 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
5697         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5698         instead of font-lock-mode before adding keywords.
5699         Remove hi-lock-mode off code.  Remove inhibit hack.
5700         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5701         non-nil; removed hook inhibit hack.
5703 2010-10-12  Glenn Morris  <rgm@gnu.org>
5705         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5706         (load-path-shadows-find): ... to this.
5707         (list-load-path-shadows): Update for above change.
5709         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5711 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
5713         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5714         Fix comment for declare-function.
5716 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
5718         * custom.el (custom-fix-face-spec): New function; code moved from
5719         custom-face-edit-fix-value.
5720         (custom-push-theme): Use it when checking if a face has been
5721         changed outside customize.
5722         (custom-available-themes): New function.
5723         (load-theme): Use it.
5725         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5727         * custom.el (custom-push-theme): Cleanup (use cond).
5728         (disable-theme): Recompute the saved-face property.
5729         (custom-theme-recalc-face): Follow face alias before setting prop.
5731         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5732         New variables, containing checkbox images.
5734         * startup.el (fancy-startup-tail):
5735         * wid-edit.el (checkbox): Use them.
5737 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
5739         * shell.el (shell-mode-map):
5740         * progmodes/modula2.el (m2-mode-map):
5741         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5742         * play/mpuz.el (mpuz-mode-map):
5743         * play/landmark.el (lm-mode-map):
5744         * play/decipher.el (decipher-mode-map):
5745         * play/5x5.el (5x5-mode-map):
5746         * net/telnet.el (telnet-mode-map):
5747         * net/quickurl.el (quickurl-list-mode-map):
5748         * net/mairix.el (mairix-searches-mode-map):
5749         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5750         * net/dig.el (dig-mode-map):
5751         * mail/mspools.el (mspools-mode-map):
5752         * hexl.el (hexl-mode-map):
5753         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5754         (wordstar-C-o-map, wordstar-C-q-map):
5755         * emacs-lisp/edebug.el (edebug-eval-mode-map):
5756         * emacs-lisp/chart.el (chart-map):
5757         * edmacro.el (edmacro-mode-map):
5758         * erc/erc-list.el (erc-list-menu-mode-map):
5759         * array.el (array-mode-map): Declare and define in one step.
5761         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5763 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
5765         * epa.el (epa-passphrase-callback-function): Display filename
5766         passed as the 3rd arg.
5767         * epa-file.el (epa-file-passphrase-callback-function):
5768         Pass filename to epa-passphrase-callback-function.
5770 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
5772         * cus-edit.el (custom-face-widget-to-spec)
5773         (custom-face-get-current-spec, custom-face-state): New functions.
5774         (custom-face-set, custom-face-mark-to-save)
5775         (custom-face-value-create, custom-face-state-set): Use them.
5777         * cus-theme.el (custom-theme--listed-faces): New var.
5778         (customize-create-theme): Use *Custom Theme* as the buffer name.
5779         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
5780         faces listed in custom-theme--listed-faces.
5781         (custom-theme-revert): New function.
5782         (custom-theme-add-variable, custom-theme-add-face): Insert at the
5783         bottom of the list.
5784         (custom-theme-write): Prompt for theme name if empty.
5785         (custom-theme-write-variables): Use dolist.
5786         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5788 2010-10-09  Alan Mackenzie  <acm@muc.de>
5790         Enhance fontification of declarators to take account of the
5791         presence/absence of "typedef".
5793         * cc-engine.el (c-forward-type): New &optional param
5794         "brace-block-too".
5795         (c-forward-decl-or-cast-1): cdr of return value now indicates the
5796         presence of either or both of a "struct"-like keyword and "typedef".
5798         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5799         fontification of declarators which follow a "}".
5800         (c-font-lock-declarations): Fontify declarators according to the
5801         presence/absence of "typedef".
5803         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5804         for "typedef".
5805         (c-typedef-decl-key): New lang variable built from
5806         c-typedef-decl-kwds.
5808 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5810         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5811         since that's too annoying.  Move the filter groups commands to
5812         TAB/backtab.
5814         * epa.el (epa-passphrase-callback-function): Say what we're
5815         querying the password for.
5817         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5818         behavior, don't bury the ibuffer buffer when visiting other buffers.
5820 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5822         * cus-edit.el (custom-commands, custom-buffer-create-internal)
5823         (custom-magic-value-create): Pad button tags with spaces.
5824         (custom-face-edit): New variable.
5825         (custom-face-value-create): Determine whether to use the usual
5826         face editor here, instead of using custom-face-selected.
5827         Pass face defaults to custom-face-edit widget.
5828         (custom-face-selected, custom-display-unselected): Delete widgets.
5829         (custom-display-unselected-match): Function removed.
5830         (custom-face-set, custom-face-mark-to-save):
5831         Accept custom-face-edit widgets as the direct widget child.
5833         * wid-edit.el (widget--completing-widget): New var.
5834         (widget-default-complete): Bind it when doing completion.
5835         (widget-string-complete, widget-file-complete): Use it.
5837 2010-10-09  Glenn Morris  <rgm@gnu.org>
5839         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5840         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5841         (holiday-hebrew-misc): Small simplifications.
5843         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5845         * net/browse-url.el: Don't require thingatpt, term, dired,
5846         executable, or w3-auto when compiling.
5847         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5848         Declare.
5849         (browse-url-text-emacs): Require term.
5851 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
5853         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5855 2010-10-08  Glenn Morris  <rgm@gnu.org>
5857         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5859         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5860         (shadows-compare-text-p): Make it an obsolete alias for...
5861         (load-path-shadows-compare-text): ... new name.
5862         (find-emacs-lisp-shadows): Update for above name change.
5863         (load-path-shadows-same-file-or-nonexistent): New name for the old
5864         shadow-same-file-or-nonexistent.
5866 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5868         * minibuffer.el (completion--some, completion--do-completion)
5869         (minibuffer-complete-and-exit, minibuffer-completion-help)
5870         (completion-basic-try-completion)
5871         (completion-basic-all-completions)
5872         (completion-pcm--find-all-completions): Use lexical-let to
5873         avoid some false matches in variable completion (Bug#7056)
5875 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
5877         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
5879 2010-10-08  Leo Liu  <sdl.web@gmail.com>
5881         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5882         return non-nil if the file exists (Bug#7090).
5884 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5886         * minibuffer.el (completion--replace):
5887         Better preserve markers (bug#7138).
5889 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
5891         * server.el (server-process-filter): Doc fix.
5893 2010-10-08  Drew Adams  <drew.adams@oracle.com>
5895         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
5897 2010-10-08  Glenn Morris  <rgm@gnu.org>
5899         * vc/ediff-wind.el (ediff-setup-control-frame):
5900         * vc/ediff-ptch.el (ediff-default-backup-extension):
5901         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5902         (ediff-exec-process): Remove system-types emx, windows-95.
5904         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
5906 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
5908         * cus-edit.el (custom-variable, custom-face): Doc fix.
5909         (custom-face-edit): Add value-create attribute.
5910         (custom-face-edit-value-create)
5911         (custom-face-edit-value-visibility-action): New functions.
5912         Hide unused face attributes by default, and add a visibility toggle.
5913         (custom-face-edit-deactivate): Show empty values with shadow face.
5914         (custom-face-selected): Only use this for face specs with default
5915         attributes.
5916         (custom-face-value-create): Cleanup.
5918         * wid-edit.el (widget-checklist-value-create): Use dolist.
5919         (widget-checklist-match-find): Make second arg optional.
5921 2010-10-07  Glenn Morris  <rgm@gnu.org>
5923         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5924         Prefix things.
5926         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5927         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5928         load-path-shadows-mode, update references.
5929         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5930         Rename variable and button.
5931         (list-load-path-shadows): Update button caller.
5933 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5935         * emacs-lisp/smie.el (smie-bnf-classify): New function.
5936         (smie-bnf-precedence-table): Use it to remember the closers/openers.
5937         (smie-merge-prec2s): Handle those new entries.
5938         (smie-prec2-levels): Only set precedence to nil for actual
5939         openers/closers.
5940         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5941         that is now unnecessary.
5943 2010-10-07  Miles Bader  <miles@gnu.org>
5945         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5947 2010-10-07  Glenn Morris  <rgm@gnu.org>
5949         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5950         (mail-position-on-field): Remove declarations.
5951         (mail-position-on-field): Autoload it.
5952         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5953         and mail-header-end.  Don't require sendmail.
5955         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5956         (shadow-mode): New mode.
5957         (shadow-find-file): New button.
5958         (list-load-path-shadows): Use shadow-mode and buttons.
5960         * iimage.el (iimage-version): Remove.
5961         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5962         Turn into defcustoms.
5963         (iimage-mode-map): Give it a doc string.
5965         * calendar/appt.el (appt-activate): Give a warning rather than an error
5966         if there is no diary-file.
5968 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
5970         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5971         Use `tramp-handle-find-backup-file-name'.
5973 2010-10-06  Glenn Morris  <rgm@gnu.org>
5975         * font-core.el (font-lock-defaults-alist): Remove variable.
5976         (font-lock-mode): Doc fix.
5977         (font-lock-default-function): Do not consult font-lock-defaults-alist.
5978         * font-lock.el (font-lock-refresh-defaults): Doc fix.
5979         (font-lock-set-defaults): Doc fix.
5980         Do not consult font-lock-defaults-alist.
5982         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5984         * emacs-lisp/cl.el: No longer provide cl-19.
5986 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
5988         * net/tramp.el (tramp-handle-directory-files-and-attributes)
5989         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5990         New defuns, taken from tramp-smb.el.
5991         (tramp-coding-system-change-eol-conversion)
5992         (tramp-set-process-query-on-exit-flag): Remove.
5994         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5995         (tramp-compat-coding-system-change-eol-conversion)
5996         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5997         from tramp.el.
5999         * net/tramp-gvfs.el:
6000         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6001         by `tramp-compat-set-process-query-on-exit-flag'.
6003         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6004         Use `tramp-handle-directory-files-and-attributes',
6005         `tramp-handle-file-exists-p' and
6006         `tramp-handle-file-newer-than-file-p'.
6007         (tramp-imap-handle-file-exists-p)
6008         (tramp-imap-handle-file-executable-p)
6009         (tramp-imap-handle-file-readable-p)
6010         (tramp-imap-handle-directory-files-and-attributes)
6011         (tramp-imap-handle-file-newer-than-file-p): Remove.
6013         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6014         by `tramp-compat-set-process-query-on-exit-flag' and
6015         `tramp-coding-system-change-eol-conversion' by
6016         `tramp-compat-coding-system-change-eol-conversion'.
6018         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6019         Use `tramp-handle-directory-files-and-attributes',
6020         `tramp-handle-file-exists-p' and
6021         `tramp-handle-file-newer-than-file-p'.
6022         (tramp-smb-handle-directory-files-and-attributes)
6023         (tramp-smb-handle-file-exists-p)
6024         (tramp-smb-handle-file-newer-than-file-p): Remove.
6025         (tramp-smb-maybe-open-connection):
6026         Replace `tramp-set-process-query-on-exit-flag' by
6027         `tramp-compat-set-process-query-on-exit-flag'.
6029 2010-10-05  Glenn Morris  <rgm@gnu.org>
6031         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6033 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
6035         Continue reorganization of load dependencies.  (Bug#7156)
6037         * net/tramp.el (tramp-handle-file-local-copy-hook)
6038         (tramp-delete-temp-file-function): Move down.
6039         (tramp-exists-file-name-handler): Move up.
6040         (tramp-register-file-name-handlers): Simplify autoload.
6041         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6042         (tramp-handle-directory-files, tramp-handle-dired-uncache)
6043         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6044         (tramp-handle-file-name-completion)
6045         (tramp-handle-file-name-directory)
6046         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6047         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6048         (tramp-handle-find-backup-file-name)
6049         (tramp-handle-insert-file-contents, tramp-handle-load)
6050         (tramp-handle-substitute-in-file-name)
6051         (tramp-handle-unhandled-file-name-directory)
6052         (tramp-mode-string-to-int, tramp-local-host-p)
6053         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6055         * net/tramp-gvfs.el (top):
6056         * net/tramp-smb.el (top): Do not require 'tramp-sh.
6058         * net/tramp-sh.el (all): Move several objects to tramp.el, see
6059         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6061 2010-10-04  Glenn Morris  <rgm@gnu.org>
6063         * calendar/appt.el (appt-add): Ensure reminders are enabled.
6064         (appt-activate): Give status messages.
6066 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6068         * net/gnutls.el: Improve docs.  Remove STARTTLS and SSL emulation.
6069         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6070         `gnutls-negotiate' (formerly `starttls-negotiate').
6071         Remove trivial wrapper `starttls-open-stream'.
6073 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
6075         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6076         log-outgoing commands.
6077         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6078         to create a buffer local revert-buffer-function variable.
6079         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6080         revert-buffer-function lambda.
6082 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6084         * net/gnutls.el (starttls-negotiate): Use the plist interface to
6085         `gnutls-boot'.  Make TYPE the only required parameter.
6086         Allow TRUSTFILES and KEYFILES to be lists.
6087         (open-ssl-stream): Use it.
6089 2010-10-03  Glenn Morris  <rgm@gnu.org>
6091         * subr.el (directory-sep-char): Remove obsolete variable.
6092         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6093         it is "necessary".
6095         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6096         * vc/vc.el (vc-static-header-alist): Doc fix.
6097         * vc/vc-cvs.el (vc-cvs-header):
6098         * vc/vc-rcs.el (vc-rcs-header):
6099         * vc/vc-sccs.el (vc-sccs-header):
6100         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6101         * obsolete/vc-mcvs.el (vc-mcvs-header):
6102         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6103         on XEmacs.
6105 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6107         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6108         Remove obsolete use of binary-overwrite-mode (Bug#7001).
6110 2010-10-03  Glenn Morris  <rgm@gnu.org>
6112         * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6114         * textmodes/rst.el (rst-font-lock-keywords-function):
6115         Drop Emacs 20 code.
6117         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6119         * printing.el: Drop Emacs 20 code.
6121         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6122         without having used appt.el already).
6124         * subr.el (make-local-hook): Remove function obsolete since 21.1.
6125         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6126         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6127         XEmacs.
6128         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6129         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6131         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6132         (charset-width, find-charset-region, chars-in-region, forward-point)
6133         (encode-coding-string, coding-system-p, ccl-execute-on-string)
6134         (define-ccl-program, multibyte-string-p, string-make-multibyte):
6135         Remove compatibility cruft (none of these are used by ps*.el).
6137 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
6139         * subr.el (booleanp): Return t instead of a list (Bug#7086).
6141 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6143         * server.el (server-process-filter, server-return-error):
6144         Give emacsclient time to shut down after receiving an error string.
6146 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
6148         * files.el (remote-file-name-inhibit-cache): New defcustom.
6150         * time.el (display-time-file-nonempty-p):
6151         Use `remote-file-name-inhibit-cache'.
6153         * net/tramp.el (tramp-completion-reread-directory-timeout):
6154         Fix docstring.
6156         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6157         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6158         `remote-file-name-inhibit-cache'.  Check also for an integer
6159         value.  Add/increase counter when `tramp-verbose' >= 10.
6160         (tramp-set-file-property): Add/increase counter when
6161         `tramp-verbose' >= 10.
6163         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6164         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6165         (tramp-bug): Set tramp-autoload cookie.  Report all interned
6166         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
6167         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
6168         characters only in strings.
6170         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6171         to backward compatibility.
6173         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6174         (tramp-handle-file-name-all-completions)
6175         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6176         (tramp-open-connection-setup-interactive-shell):
6177         Call `tramp-cleanup-connection' directly.
6179 2010-10-02  Glenn Morris  <rgm@gnu.org>
6181         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6183         * subr.el (char-bytes): Remove obsolete function.
6185         * isearch.el (isearch-return-char): Remove obsolete function.
6187         * mouse.el: No longer provide mldrag.
6188         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6189         Remove obsolete aliases.
6191         * comint.el (comint-kill-output): Remove obsolete alias.
6193         * composite.el (decompose-composite-char): Remove obsolete function.
6194         * ps-def.el (decompose-composite-char): Remove unused function.
6196         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6198         * outline.el (outline-visible): Remove obsolete function.
6200         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6201         * faces.el (internal-find-face, internal-get-face)
6202         (frame-update-faces, frame-update-face-colors)
6203         (x-frob-font-weight, x-frob-font-slant)
6204         (internal-frob-font-weight, internal-frob-font-slant)
6205         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6206         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6207         (x-make-font-bold-italic): Remove functions and aliases, obsolete
6208         since Emacs 21.1.
6209         * emulation/viper-util.el (viper-get-face):
6210         * obsolete/lucid.el (find-face, get-face): Use facep.
6211         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6212         Remove unused functions.
6213         * vc/ediff-util.el (ediff-submit-report): Doc fix.
6215         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6216         delete tempfile if interrupted during compilation.
6218 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6220         * net/tls.el (tls-starttls-switches): Give up on using STARTTLS with
6221         gnutls-cli.
6222         (tls-program): Add --insecure to be consistent with the defaults from
6223         openssl s_client.  Now all three commands are insecure.
6225 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
6227         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6228         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6229         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6231 2010-10-01  Glenn Morris  <rgm@gnu.org>
6233         * obsolete/sc.el: Remove file.
6235         * files.el (temporary-file-directory): On darwin, also try
6236         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6238 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
6240         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6241         Let's not break compatibility gratuitously, shall we?
6243 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6245         * net/tls.el (tls-starttls-switches): New variable.
6246         (tls-find-starttls-argument): Use it.
6247         (open-tls-stream): Ditto.
6249         * net/netrc.el (netrc-credentials): Return the value of the "default"
6250         entry.
6251         (netrc-machine): Ditto.
6253 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
6255         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6257 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
6259         * server.el (server-start): Don't write pid to the authentication file.
6260         (server-create-tty-frame): Don't send pid.
6261         (server-process-filter): Send pid at the start of every connection.
6263 2010-09-30  Glenn Morris  <rgm@gnu.org>
6265         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6266         (show-all-diary-entries): Remove obsolete function aliases.
6268         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6269         Remove options, obsolete since 22.1.
6270         (appt-display-format, appt-display-message):
6271         Remove backwards-compatibility code.
6272         (appt-check): No longer check appt-issue-message.
6273         (appt-make-list): No longer autoload it.  Doc fix.  No longer
6274         activate the package.
6276 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6278         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6279         (starttls-negotiate): Just call boot, and let the handshake be
6280         triggered from the read loop.
6282 2010-09-29  Glenn Morris  <rgm@gnu.org>
6284         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6285         not displaying the diary.
6286         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6287         * calendar/appt.el (appt-check): No longer need to kill diary.
6289         * calendar/diary-lib.el (diary-list-entries): Move the
6290         "Preparing..." message entirely here.
6291         (diary-simple-display, diary-fancy-display): Move "Preparing..."
6292         messages to diary-list-entries.
6293         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6294         diary-display-function.
6296         * calendar/diary-lib.el (diary-include-other-diary-files):
6297         Trap some recursive includes.
6299         * calendar/appt.el (appt-activate): Check diary file.
6301 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
6303         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6304         construction.
6306         * calendar/time-date.el: No need to require cl for Emacs 21.
6308 2010-09-28  Glenn Morris  <rgm@gnu.org>
6310         * calendar/appt.el (appt-check): Minor simplification.
6312 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6314         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6315         citation prefix.
6317 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
6319         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6320         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
6322 2010-09-27  Kenichi Handa  <handa@m17n.org>
6324         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6325         "ustar" format.
6327 2010-09-27  Kenichi Handa  <handa@m17n.org>
6329         * international/mule.el (define-coding-system): Docstring fixed.
6331         * international/mule-diag.el (describe-character-set): Use princ
6332         with proper print-length and print-level instead of insert.
6334 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
6336         * window.el (walk-windows): Doc fix (bug#7105).
6338 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6340         * emacs-lisp/float-sup.el (e): Remove.
6342 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
6344         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6345         variable.
6346         (starttls-negotiate): Use it.
6348 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6350         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6351         back.
6353 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6355         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6357 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6359         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6361         * net/netrc.el (netrc-store-data): New function.
6363 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
6365         * net/gnutls.el: GnuTLS glue code to set up a connection.
6367 2010-09-25  Julien Danjou  <julien@danjou.info>
6369         * notifications.el: Call dbus-register-signal only if it is bound.
6371 2010-09-25  Glenn Morris  <rgm@gnu.org>
6373         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6374         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6375         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6376         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6377         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6378         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6379         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6380         * eshell/esh-util.el, eshell/esh-var.el:
6381         Remove leading `*' from docs of faces and defcustoms.
6383 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
6385         * eshell/em-ls.el (eshell-ls-archive-regexp):
6386         * eshell/esh-util.el (eshell-tar-regexp):
6387         * ibuffer.el (ibuffer-compressed-file-name-regexp):
6388         * info.el (Info-suffix-list):
6389         * international/mule.el (auto-coding-alist):
6390         * woman.el (woman-file-regexp, woman-file-compression-regexp):
6391         * progmodes/etags.el (tags-compression-info-list):
6392         Support xz compression.
6394 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
6396         * files.el (get-free-disk-space): Don't assume the "df" output
6397         columns line up (Bug#6995).
6399 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6401         * finder.el (finder-unknown-keywords):
6402         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6403         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6405 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6407         * server.el (server-start): Revert part of 2010-08-08 change.  Using
6408         address 127.0.0.1 for local host is now done in Fmake_network_process.
6410 2010-09-24  Glenn Morris  <rgm@gnu.org>
6412         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6413         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6414         * textmodes/css-mode.el, textmodes/dns-mode.el:
6415         Move autoloaded auto-mode-alist entries to files.el.
6416         * files.el (auto-mode-alist): Move entries here.
6418 2010-09-23  Glenn Morris  <rgm@gnu.org>
6420         * isearch.el (isearch-lazy-highlight-cleanup)
6421         (isearch-lazy-highlight-initial-delay)
6422         (isearch-lazy-highlight-interval)
6423         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6424         * net/net-utils.el (ipconfig-program-options):
6425         Move aliases to options before the associated definitions.
6427 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6429         * newcomment.el (comment-normalize-vars): Better test validity of
6430         comment-end-skip.
6432 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6434         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6435         (float-e): New name for `e'.
6436         (degrees-to-radians, radians-to-degrees):
6437         * calendar/solar.el (solar-longitude):
6438         * calculator.el (calculator-registers, calculator-funcall):
6439         * textmodes/artist.el (artist-spray-random-points):
6440         * play/bubbles.el (bubbles--initialize-images): Use new names.
6442 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
6444         Update to CEDET 1.0's version of EIEIO.
6446         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6447         New function.
6448         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6449         (eieio-default-eval-maybe): Eval val instead of unquoting only.
6450         (class-precedence-list): If class is nil, return nil.
6451         (eieio-generic-call): If class of first input arg is nil, don't
6452         look up static methods, and do check for primary methods.
6453         (initialize-instance): See if the default needs to be evaluated
6454         during the constructor.
6455         (eieio-perform-slot-validation-for-default): Don't do the check
6456         for values that will eventually be evaluated.
6457         (eieio-eval-default-p): New function.
6458         (eieio-default-eval-maybe): Use it.
6460 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6462         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6463         method-invocation-order.
6464         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6465         (eieio-class-precedence-dfs): Compute class precedence list using
6466         dfs algorithm.
6467         (eieio-class-precedence-bfs): Compute class precedence list using
6468         bfs algorithm.
6469         (eieio-class-precedence-c3): Compute class precedence list using
6470         c3 algorithm.
6471         (class-precedence-list): New function.
6472         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6473         (inconsistent-class-hierarchy): New error symbol.
6474         (call-next-method): Stow the replacement argument list for future
6475         call-next-method invocations.
6477 2010-09-23  Glenn Morris  <rgm@gnu.org>
6479         * calendar/appt.el (appt-check): If not displaying the diary,
6480         use (diary 1) to only get the entries we need.
6481         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6482         that it is in day order.  (Bug#7019)
6484         * calendar/appt.el (appt-check): Rather than showing the diary,
6485         just turn off invisible display, and only if needed.
6487         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
6489 2010-09-23  Glenn Morris  <rgm@gnu.org>
6491         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6492         (byte-compile-defvar, byte-compile-cl-warn):
6493         Start warnings with lower-case, like the majority.
6495         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6497         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
6499         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6500         * files.el (auto-mode-alist): Move ld-script entries here, further down
6501         the list.
6503         * vc/add-log.el: Don't require timezone when compiling.
6504         (timezone-make-date-sortable): Autoload it.
6505         (change-log-sortable-date-at): Don't require timezone.
6506         Use `ignore-errors'.
6508         * comint.el (comint-use-prompt-regexp-instead-of-fields):
6509         Move alias before definition, so it does not need autoloading.
6511         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6512         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6513         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6514         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6515         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6516         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6517         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6518         * textmodes/tex-mode.el, textmodes/two-column.el:
6519         Remove leading `*' from docs of defcustoms etc.
6521 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
6523         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6525 2010-09-22  Dan Christensen  <jdc@uwo.ca>
6527         * calendar/time-date.el (date-to-time): Try using parse-time-string
6528         first before using the slower timezone-make-date-arpa-standard.
6530 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
6532         * calendar/time-date.el (format-seconds): Comment fix.
6534 2010-09-22  Glenn Morris  <rgm@gnu.org>
6536         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6537         is not automatically buffer-local.
6539 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6541         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6542         (smie-indent-comment): Be more careful with comment-start-skip.
6543         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6544         (smie-indent-functions): Use them.
6546 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
6548         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6550 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
6552         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6553         tool-bar-position.  Don't modify frame parameters here.
6554         (menu-bar-options-save): Add tool-bar-position.
6556         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6558 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6560         * textmodes/reftex-parse.el (reftex-what-macro)
6561         (reftex-context-substring): Let-bind forward-sexp-function to nil
6562         since we don't need/want to treat \begin...\end as a block (bug#7053).
6564         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6566         * simple.el (blink-matching-open): Use syntax-class.
6568         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6569         Set invisibility spec for pascal's outline mode.
6570         (pascal-outline-change): Clean up calling convention.
6571         (pascal-show-all, pascal-hide-other-defuns): Update callers.
6573         * progmodes/prolog.el (prolog-smie-forward-token)
6574         (prolog-smie-backward-token): New functions.
6575         (prolog-mode-variables): Use them to parse "!," correctly.
6576         Set up smie-blink-matching for ".".
6578         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6579         and `end'.
6580         (ispell-region, ispell-process-line): Update users.
6582         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6583         point-min==1.
6585         * textmodes/ispell.el: Fix commenting convention.
6586         (ispell-parse-output): Simplify, use push.
6587         (ispell-region): Use match-string-no-properties.
6588         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6589         (ispell-minor-mode): Use define-minor-mode.
6590         (ispell-message): Remove unused var `skip-regexp'.
6591         (ispell-add-per-file-word-list): Use dynamic let-binding.
6592         Try and use the proper comment marker.
6594         * mail/sendmail.el: Fix commenting convention.
6595         (sendmail-send-it): Use line-beginning-position.
6597         * help-fns.el (describe-variable): Add original value, if applicable.
6599 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
6601         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6603         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6605 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6607         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6608         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6609         (smie-prec2-levels): Use them to better diagnose precedence cycles.
6610         (smie-blink-matching-check): Don't signal a mismatch if car is t.
6611         (smie-blink-matching-open): Rewrite to remove assumptions, so that
6612         something like "." can also be a closer.
6613         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6614         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6615         Rename internal functions to use "--".  Update callers.
6617         * frame.el (make-frame-names-alist): Don't list frames on other displays.
6619         * fringe.el (fringe-styles): New var.
6620         (fringe-mode, fringe-query-style): Use it.
6622 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
6624         * progmodes/sql.el: Version 2.8
6625         (sql-login-params): Update widget structure; changes still needed.
6626         (sql-product-alist): Add :list-all and :list-table features for
6627         SQLite, Postgres and MySQL products.
6628         (sql-redirect): Handle default value.
6629         (sql-execute, sql-execute-feature): New functions.
6630         (sql-read-table-name): New function.
6631         (sql-list-all, sql-list-table): New functions.  User API.
6632         (sql-mode-map, sql-interactive-mode-map): Add key definitions
6633         for above functions.
6634         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6635         for above functions.
6636         (sql-postgres-login-params): Add user and database defaults.
6637         (sql-buffer-live-p): Bug fix.
6638         (sql-product-history): New variable.
6639         (sql-read-product): New function.  Use it.
6640         (sql-set-product, sql-product-interactive): Use it.
6641         (sql-connection-history): New variable.
6642         (sql-read-connection): New function.  Use it.
6643         (sql-connect): New function.
6644         (sql-for-each-login): Redesign function interface.
6645         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6646         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
6647         (sql-comint): Check for program.  Existing live buffer.
6648         (sql-comint-postgres): Add port parameter.
6650 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6652         * emacs-lisp/warnings.el: Fix commenting convention.
6653         (display-warning): Use special mode and make the buffer read-only.
6655 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
6657         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6658         empty string when it follows a repeated or optional pattern.
6660 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6662         * indent.el (indent-according-to-mode): Apply syntax-propertize.
6663         (indent-region): Use indent-according-to-mode.
6665 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
6667         * fringe.el (fringe-mode): Doc fix.
6669 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
6671         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6672         refreshing the preview buffer.
6674 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6676         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6677         (latex-syntax-propertize-rules): New consts; replace
6678         tex-font-lock-syntactic-keywords.
6679         (tex-env-mark, latex-env-before-change): New functions.
6680         (latex-electric-env-pair-mode): New minor mode.
6681         (tex-font-lock-verb): Change arguments; do move point.
6682         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6683         representation as a form of comment.
6684         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6685         (doctex-syntax-propertize-rules): New const; replaces
6686         doctex-font-lock-syntactic-keywords.
6687         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6689         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6690         (fortran-make-syntax-propertize-function): New function; replaces
6691         fortran-font-lock-syntactic-keywords.
6692         (fortran-mode): Use it.
6693         (fortran-line-length): Use it.  Improve interactive spec.
6695         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6696         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
6697         when adding surrounding \(..\).
6699         * progmodes/js.el (js-mode): Fix last change (bug#7054).
6701 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6703         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6704         Use with-current-buffer.
6706         * isearch.el (isearch-face): Rename from `isearch'.
6707         (isearch-highlight): Use new name.
6709 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
6711         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6712         5, for `half' width fringes.  (Bug#6933)
6714 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6716         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6717         (byte-compile-defvar): "foo/bar" does not lack a prefix.
6719         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6721 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
6723         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6724         in calculating new frame position.  Add more space between new and
6725         parent on the left (Bug#7048).
6727 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
6729         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6730         defmacro.
6732 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
6734         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6736         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6737         obsolete alias for x-selection-value.
6739         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6741 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
6743         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6744         cookie.
6746 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
6748         * net/tramp-compat.el (tramp-compat-with-temp-message)
6749         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6750         (tramp-compat-process-put): New defuns.
6752         * net/tramp.el (top):
6753         * net/tramp-gvfs.el (top):
6754         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6756         * net/tramp.el (tramp-progress-reporter-update):
6757         Use `tramp-compat-funcall'.
6759         * net/tramp.el (tramp-process-actions):
6760         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6761         * net/tramp-sh.el (tramp-handle-vc-registered)
6762         (tramp-get-remote-stat, tramp-get-remote-readlink):
6763         Use `tramp-compat-with-temp-message'.
6765         * net/tramp-sh.el (top): Require 'cl.
6766         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6767         (tramp-open-connection-setup-interactive-shell):
6768         Use `tramp-compat-process-put'.
6770 2010-09-15  Alan Mackenzie  <acm@muc.de>
6772         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6773         indentation.
6774         (c-forward-<>-arglist-recur): Fix an infinite recursion.
6776 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6778         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6779         `lexical' for warnings related to lexical scoping.
6780         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6781         global vars which don't have a prefix and could hence affect lexical
6782         scoping in unrelated files.
6784 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6786         * net/imap.el: Revert back to version
6787         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6788         seem problematic.
6790 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
6792         * obsolete/old-whitespace.el (whitespace-unload-function):
6793         Explicitly pass `obarray' to `unintern' to avoid a warning.
6795 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6797         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6798         Add `when' argument.  Update callers.
6800         * subr.el (unintern): Declare the obarray arg mandatory.
6802 2010-09-14  Glenn Morris  <rgm@gnu.org>
6804         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6805         Doc fixes.
6807         * calendar/diary-lib.el (diary-included-files): New variable.
6808         (diary-list-entries): Maybe initialize diary-included-files.
6809         (diary-include-other-diary-files): Append to diary-included-files.
6810         * calendar/appt.el (appt-update-list): Also check the members of
6811         diary-included-files.  (Bug#6999)
6812         (appt-check): Doc fix.
6814 2010-09-14  David Reitter  <david.reitter@gmail.com>
6816         * simple.el (line-move-visual): Do not truncate goal column to
6817         integer size.  (Bug#7020)
6819 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6821         * repeat.el (repeat): Allow repeating when the last event is a click.
6822         Suggested by Drew Adams (bug#6256).
6824 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
6826         * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
6827         Replace setting HGRCPATH to "" by some less invasive --config options.
6829 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6831         * font-lock.el (font-lock-beginning-of-syntax-function):
6832         Mark as obsolete.
6834 2010-09-14  Glenn Morris  <rgm@gnu.org>
6836         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6837         and tool-bar modes.  (Bug#6211)
6838         (menu-bar-mode): Move setting of standard-value after the
6839         minor-mode definition, otherwise it seems to have no effect.
6841 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
6843         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6844         Fix typo.  (Bug#6976)
6846 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6848         * whitespace.el: Allow cleaning up blanks without blank
6849         visualization (Bug#6651).  Adjust help window for
6850         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6851         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
6852         (whitespace-style): Add new value 'face.  Adjust docstring.
6853         (whitespace-space, whitespace-hspace, whitespace-tab):
6854         Adjust foreground property face.
6855         (whitespace-line-column): Adjust docstring and type declaration.
6856         (whitespace-style-value-list, whitespace-toggle-option-alist)
6857         (whitespace-help-text): Adjust const initialization.
6858         (whitespace-toggle-options, global-whitespace-toggle-options):
6859         Adjust docstring.
6860         (whitespace-display-window, whitespace-interactive-char)
6861         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6862         (whitespace-help-scroll): New fun.
6864 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6866         * calendar/time-date.el (format-seconds): Comment fix.
6868 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
6870         * progmodes/sql.el: Version 2.7.
6871         (sql-buffer-live-p): Improve detection.
6872         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6873         (sql-set-sqli-buffer): Use it.
6874         (sql-product-interactive): Run `sql-set-sqli-hook'.
6875         (sql-rename-buffer): Code cleanup.
6876         (sql-redirect, sql-redirect-value): New functions.  More to come.
6878 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
6880         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.
6881         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6882         (TRAMP_SRC): New macro.
6883         ($(lisp)/net/tramp-loaddefs.el): New target.
6885 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
6887         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
6889         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
6891         * net/tramp.el (top): Don't show loading message.  Require just
6892         'tramp-compat, everything else is required there.
6893         Use `ignore-errors' where appropriate.
6894         (tramp-inline-compress-start-size, tramp-copy-size-limit)
6895         (tramp-terminal-type, tramp-end-of-output)
6896         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6897         (tramp-completion-function-alist-ssh)
6898         (tramp-completion-function-alist-telnet)
6899         (tramp-completion-function-alist-su)
6900         (tramp-completion-function-alist-putty, tramp-remote-path)
6901         (tramp-remote-process-environment, tramp-sh-extra-args)
6902         (tramp-actions-before-shell, tramp-uudecode)
6903         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6904         (tramp-perl-file-attributes)
6905         (tramp-perl-directory-files-and-attributes)
6906         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6907         (tramp-perl-encode, tramp-perl-decode)
6908         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6909         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6910         (tramp-handle-make-symbolic-link, tramp-handle-load)
6911         (tramp-handle-file-name-as-directory)
6912         (tramp-handle-file-name-directory)
6913         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6914         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6915         (tramp-do-file-attributes-with-ls)
6916         (tramp-do-file-attributes-with-perl)
6917         (tramp-do-file-attributes-with-stat)
6918         (tramp-handle-set-visited-file-modtime)
6919         (tramp-handle-verify-visited-file-modtime)
6920         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6921         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6922         (tramp-handle-file-selinux-context)
6923         (tramp-handle-set-file-selinux-context)
6924         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6925         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6926         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6927         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6928         (tramp-handle-file-ownership-preserved-p)
6929         (tramp-handle-directory-file-name, tramp-handle-directory-files)
6930         (tramp-handle-directory-files-and-attributes)
6931         (tramp-do-directory-files-and-attributes-with-perl)
6932         (tramp-do-directory-files-and-attributes-with-stat)
6933         (tramp-handle-file-name-all-completions)
6934         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6935         (tramp-handle-copy-file, tramp-handle-copy-directory)
6936         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6937         (tramp-do-copy-or-rename-file-via-buffer)
6938         (tramp-do-copy-or-rename-file-directly)
6939         (tramp-do-copy-or-rename-file-out-of-band)
6940         (tramp-handle-make-directory, tramp-handle-delete-directory)
6941         (tramp-handle-delete-file)
6942         (tramp-handle-dired-recursive-delete-directory)
6943         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6944         (tramp-handle-insert-directory)
6945         (tramp-handle-unhandled-file-name-directory)
6946         (tramp-handle-expand-file-name)
6947         (tramp-handle-substitute-in-file-name)
6948         (tramp-handle-executable-find, tramp-process-sentinel)
6949         (tramp-handle-start-file-process, tramp-handle-process-file)
6950         (tramp-handle-call-process-region, tramp-handle-shell-command)
6951         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6952         (tramp-handle-insert-file-contents)
6953         (tramp-handle-insert-file-contents-literally)
6954         (tramp-handle-find-backup-file-name)
6955         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6956         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6957         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6958         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6959         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6960         (tramp-find-file-exists-command, tramp-open-shell)
6961         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6962         (tramp-open-connection-setup-interactive-shell)
6963         (tramp-local-coding-commands, tramp-remote-coding-commands)
6964         (tramp-find-inline-encoding, tramp-call-local-coding-command)
6965         (tramp-inline-compress-commands, tramp-find-inline-compress)
6966         (tramp-compute-multi-hops, tramp-maybe-open-connection)
6967         (tramp-send-command, tramp-wait-for-output)
6968         (tramp-send-command-and-check, tramp-barf-unless-okay)
6969         (tramp-send-command-and-read, tramp-mode-string-to-int)
6970         (tramp-convert-file-attributes, tramp-check-cached-permissions)
6971         (tramp-file-mode-from-int, tramp-file-mode-permissions)
6972         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6973         (tramp-method-out-of-band-p, tramp-local-host-p)
6974         (tramp-get-remote-path, tramp-get-remote-tmpdir)
6975         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6976         (tramp-get-test-command, tramp-get-test-nt-command)
6977         (tramp-get-file-exists-command, tramp-get-remote-ln)
6978         (tramp-get-remote-perl, tramp-get-remote-stat)
6979         (tramp-get-remote-readlink, tramp-get-remote-trash)
6980         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6981         (tramp-get-local-uid, tramp-get-local-gid)
6982         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6983         tramp-sh.el.
6984         (tramp-methods, tramp-default-method-alist)
6985         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6986         Move initialization to tramp-sh.el.
6987         (tramp-temp-name-prefix): Make it a defconst.
6988         (tramp-dissect-file-name): Don't check anymore for multi-hop
6989         methods.
6990         (tramp-debug-outline-regexp): Add a docstring.
6991         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6992         (tramp-get-debug-buffer): Use it.
6994         * net/tramp-cache.el (top): Set tramp-autoload cookie for
6995         initialization forms.
6996         (tramp-set-connection-property): Don't protect `tramp-message'
6997         call, it isn't necessary any longer.
6998         (tramp-dump-connection-properties): Use `ignore-errors'.
7000         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7001         'password-cache and 'auth-source.
7003         * net/tramp-gvfs.el (top):
7004         * net/tramp-smb.el (top): Require 'tramp-sh.
7006         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7008         * net/tramp-sh.el: New file, derived from tramp.el.
7009         (top): Initialize `tramp-methods', `tramp-default-method-alist',
7010         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7011         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7012         Use `ignore-errors' where appropriate.
7013         (tramp-sh-file-name-handler-alist): Rename from
7014         `tramp-file-name-handler-alist'.
7015         (tramp-send-command-and-check): Return t or nil.  Remove all
7016         `zerop' checks, where called.
7017         (tramp-handle-set-file-modes)
7018         (tramp-do-copy-or-rename-file-directly)
7019         (tramp-handle-delete-directory, tramp-handle-delete-file)
7020         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7021         (tramp-sh-file-name-handler, tramp-send-command-and-check)
7022         (tramp-get-remote-ln): Set tramp-autoload cookie.
7024         * net/tramp-fish.el: Remove file.
7026 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
7028         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7029         buffer-file-name to avoid file-locking.  (Bug#7026)
7031 2010-09-13  Julien Danjou  <julien@danjou.info>
7033         * notifications.el (notifications-notify): Add support for
7034         image-path and sound-name.
7035         (notifications-specification-version): Add this variable.
7037 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7039         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7041 2010-09-12  Leo Liu  <sdl.web@gmail.com>
7043         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7044         (rcirc-completion-start): New variables.
7045         (rcirc-nick-completions): Rename to rcirc-completions.
7046         (rcirc-nick-completion-start-offset): Delete.
7047         (rcirc-completion-at-point): New function for constructing
7048         completion data for both nicks and irc commands.  Add to
7049         completion-at-point-functions in rcirc mode.
7050         (rcirc-complete): Rename from rcirc-nick-complete; use
7051         rcirc-completion-at-point.
7052         (defun-rcirc-command): Update rcirc-client-commands.
7054 2010-09-11  Glenn Morris  <rgm@gnu.org>
7056         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7057         atomically, to avoid parallel build errors.  (Bug#4196)
7059 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
7061         * progmodes/sql.el: Version 2.6
7062         (sql-dialect): Synonym for "sql-product".
7063         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7064         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7065         Set "sql-buffer" to buffer name not buffer object so multiple sql
7066         interactive buffers work properly.  Reverts misguided changes in
7067         earlier work.
7068         (sql-comint): Make sure different buffer name is used if "*SQL*"
7069         buffer is for a different product.
7070         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7071         login param.
7072         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7073         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7074         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7075         Accept new buffer name or prompt for one.
7076         (sql-port): Default to zero.
7077         (sql-comint-mysql): Handle "sql-port" as a numeric.
7078         (sql-port-history): Delete unused variable.
7079         (sql-get-login): Default "sql-port" to a number.
7080         (sql-product-alist): Correct Postgres prompt and terminator regexp.
7081         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7082         "sqlite3" executables.
7083         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7084         (sql-buffer-live-p): New function.
7085         (sql-mode-menu, sql-send-string): Use it.
7086         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7087         syntax pattern.
7088         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7089         (sql-mode-sqlite-font-lock-keywords): Highlight sqlite commands.
7091 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7093         * net/netrc.el (netrc-credentials): New convenience function.
7095 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7097         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7098         to replace texinfo-font-lock-syntactic-keywords.
7099         (texinfo-mode): Use it.
7101         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7102         Use syntax-propertize-function.
7104         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7105         replace sgml-font-lock-syntactic-keywords.
7106         (sgml-mode): Use it.
7108         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7109         since we don't use it.
7111         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7113         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7114         if available.
7115         (vhdl-fontify-buffer): Adjust.
7117         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7118         replace tcl-font-lock-syntactic-keywords.
7119         (tcl-mode): Use it.
7121         * progmodes/simula.el (simula-syntax-propertize-function): New var to
7122         replace simula-font-lock-syntactic-keywords.
7123         (simula-mode): Use it.
7125         * progmodes/sh-script.el (sh-st-symbol): Remove.
7126         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7127         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7128         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7129         (sh-font-lock-paren): Set syntax-multiline.
7130         (sh-font-lock-syntactic-keywords): Remove.
7131         (sh-syntax-propertize-function): New function to replace it.
7132         (sh-mode): Use it.
7134         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7135         Define while compiling.
7136         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7137         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7138         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7139         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7140         (ruby-here-doc-end-syntax): Only define when
7141         syntax-propertize is not available.
7142         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7143         New functions.
7144         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7145         (electric-indent-chars): Silence bytecompiler.
7146         (ruby-mode): Use prog-mode, syntax-propertize-function, and
7147         electric-indent-chars.
7149         * progmodes/python.el (python-syntax-propertize-function): New var to
7150         replace python-font-lock-syntactic-keywords.
7151         (python-mode): Use it.
7152         (python-quote-syntax): Simplify and adjust to new use.
7154         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7155         replace perl-font-lock-syntactic-keywords.
7156         (perl-syntax-propertize-special-constructs): New fun to replace
7157         perl-font-lock-special-syntactic-constructs.
7158         (perl-font-lock-syntactic-face-function): New fun.
7159         (perl-mode): Use it.
7161         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7162         to replace octave-font-lock-close-quotes.
7163         (octave-syntax-propertize-function): New function to replace
7164         octave-font-lock-syntactic-keywords.
7165         (octave-mode): Use it.
7167         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7168         replaces mixal-font-lock-syntactic-keywords.
7169         (mixal-mode): Use it.
7171         * progmodes/make-mode.el (makefile-syntax-propertize-function):
7172         New var; replaces makefile-font-lock-syntactic-keywords.
7173         (makefile-mode): Use it.
7174         (makefile-imake-mode): Adjust.
7176         * progmodes/js.el (js--regexp-literal): Define while compiling.
7177         (js-syntax-propertize-function): New var; replaces
7178         js-font-lock-syntactic-keywords.
7179         (js-mode): Use it.
7181         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7182         replaces gdb-script-font-lock-syntactic-keywords.
7183         (gdb-script-mode): Use it.
7185         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7186         (fortran--font-lock-syntactic-keywords): New var.
7187         (fortran-line-length): Update syntax-propertize-function and
7188         fortran--font-lock-syntactic-keywords.
7190         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7192         * progmodes/cfengine.el (cfengine-mode):
7193         Use syntax-propertize-function.
7194         (cfengine-font-lock-syntactic-keywords): Remove.
7196         * progmodes/autoconf.el (autoconf-mode):
7197         Use syntax-propertize-function.
7198         (autoconf-font-lock-syntactic-keywords): Remove.
7200         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7201         (ada-after-change-function, ada-initialize-syntax-table-properties)
7202         (ada-handle-syntax-table-properties): Only define when
7203         syntax-propertize is not available.
7204         (ada-mode): Use syntax-propertize-function.
7206         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7207         (font-lock-fontify-syntactic-keywords-region): Move handling of
7208         font-lock-syntactically-fontified to...
7209         (font-lock-default-fontify-region): ...here.
7210         Let syntax-propertize-function take precedence.
7211         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7213         * emacs-lisp/syntax.el (syntax-propertize-function)
7214         (syntax-propertize-chunk-size, syntax-propertize--done)
7215         (syntax-propertize-extend-region-functions): New vars.
7216         (syntax-propertize-wholelines, syntax-propertize-multiline)
7217         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7218         (syntax-propertize): New functions.
7219         (syntax-propertize-rules): New macro.
7220         (syntax-ppss-flush-cache): Set syntax-propertize--done.
7221         (syntax-ppss): Call syntax-propertize.
7223         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7225 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
7227         * textmodes/ispell.el (ispell-init-process): Improve comments.
7228         XEmacs compatibility changes regarding (add-hook) 'local option
7229         and (set-process-query-on-exit-flag).
7231 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
7233         * net/tramp-cache.el (tramp-parse-connection-properties):
7234         Set tramp-autoload cookie.
7236 2010-09-09  Glenn Morris  <rgm@gnu.org>
7238         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7239         (imagemagick-register-types): Doc fix.
7241 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7243         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7245         * progmodes/js.el (require): Require is already "eval-and-compile".
7246         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
7247         (js--re-search-backward): Use js--re-search-forward.
7249         * progmodes/fortran.el (fortran-line-length): Don't recompute
7250         syntactic keywords redundantly a second time.
7252         * progmodes/ada-mode.el: Replace "(set '" with setq.
7253         (ada-mode): Simplify.
7254         (ada-create-case-exception, ada-adjust-case-interactive)
7255         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7256         (ada-search-ignore-string-comment, ada-move-to-start)
7257         (ada-move-to-end): Use with-syntax-table.
7259         * font-lock.el (save-buffer-state): Remove `varlist' arg.
7260         (font-lock-unfontify-region, font-lock-default-fontify-region):
7261         Update usage correspondingly.
7262         (font-lock-fontify-syntactic-keywords-region):
7263         Set parse-sexp-lookup-properties buffer-locally here.
7264         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7266         * simple.el (blink-matching-open): Don't burp if we can't find a match.
7268 2010-09-08  Glenn Morris  <rgm@gnu.org>
7270         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7271         Error if not compiled with -DBYTE_CODE_METER.
7273         * emacs-lisp/bytecomp.el (byte-recompile-directory):
7274         Ignore dir-locals-file.
7276 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7278         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7279         Not a const.
7280         (compilation-error-regexp-alist-alist): Rule out ": " in file names
7281         for the `gnu' messages.
7282         (compilation-set-skip-threshold): New command.
7283         (compilation-start): Use \' rather than $.
7284         (compilation-forget-errors): Use clrhash.
7286 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
7288         * textmodes/ispell.el (ispell-valid-dictionary-list):
7289         Simplify logic.
7291 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
7293         Migrate to Tramp 2.2.  Rearrange load dependencies.
7294         (Bug#1529, Bug#5448, Bug#5705)
7296         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7297         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7298         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7300         * net/tramp.el (top): Remove all other tramp-* loads except
7301         tramp-compat.el.  Remove all changes to tramp-unload-hook for
7302         other tramp-* packages.  Rearrange defun order.  Change calls of
7303         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7304         `tramp-compat-octal-to-decimal' to new function names.
7305         (tramp-terminal-type, tramp-initial-end-of-output)
7306         (tramp-methods, tramp-foreign-file-name-handler-alist)
7307         (tramp-tramp-file-p, tramp-completion-mode-p)
7308         (tramp-send-command-and-check, tramp-get-remote-path)
7309         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7310         (tramp-shell-quote-argument): Set tramp-autoload cookie.
7311         (with-file-property, with-connection-property): Move to
7312         tramp-cache.el.
7313         (tramp-local-call-process, tramp-decimal-to-octal)
7314         (tramp-octal-to-decimal): Move to tramp-compat.el.
7315         (tramp-handle-shell-command): Do not require 'shell.
7316         (tramp-compute-multi-hops): No special handling for tramp-gw-*
7317         symbols.
7318         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7320         * net/tramp-cache.el (top): Require 'tramp.  Add to
7321         `tramp-unload-hook'.
7322         (tramp-cache-data, tramp-get-file-property)
7323         (tramp-set-file-property, tramp-flush-file-property)
7324         (tramp-flush-directory-property, tramp-get-connection-property)
7325         (tramp-set-connection-property, tramp-flush-connection-property)
7326         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7327         cookie.
7328         (with-file-property, with-connection-property): New defuns, moved
7329         from tramp.el.
7330         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7331         macro.
7333         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7334         (tramp-version): Set tramp-autoload cookie.
7336         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
7337         changes to tramp-unload-hook for other tramp-* packages.  Add to
7338         `tramp-unload-hook'.
7339         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7340         (tramp-compat-call-process): New defuns, moved from tramp.el.
7342         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
7343         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7344         Add to `tramp-unload-hook'.  Change call of
7345         `tramp-compat-decimal-to-octal' to new function name.
7346         (tramp-fish-method): Make it a defconst.
7347         (tramp-fish-file-name-p): Make it a defsubst.
7348         (tramp-fish-method, tramp-fish-file-name-handler)
7349         (tramp-fish-file-name-p): Set tramp-autoload cookie.
7351         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7352         `tramp-foreign-file-name-handler-alist'.  Add to
7353         `tramp-unload-hook'.
7354         (tramp-ftp-method): Make it a defconst.
7355         (tramp-ftp-file-name-p): Make it a defsubst.
7356         (tramp-ftp-method, tramp-ftp-file-name-handler)
7357         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7359         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7360         `tramp-foreign-file-name-handler-alist'.  Add to
7361         `tramp-unload-hook'.  Change checks, whether package can be
7362         loaded.
7363         (tramp-gvfs-file-name-p): Make it a defsubst.
7364         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7365         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7366         (tramp-gvfs-handle-file-directory-p): New defun.
7367         (tramp-gvfs-file-name-handler-alist): Use it.
7369         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7370         `tramp-foreign-file-name-handler-alist'.  Add to
7371         `tramp-unload-hook'.
7372         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7373         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7374         defconst.
7375         (tramp-gw-tunnel-method, tramp-gw-socks-method)
7376         (tramp-gw-open-connection): Set tramp-autoload cookie.
7378         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
7379         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7380         Add to `tramp-unload-hook'.  Change checks, whether package can be
7381         loaded.
7382         (tramp-imap-file-name-p): Make it a defsubst.
7383         (tramp-imap-method, tramp-imaps-method)
7384         (tramp-imap-file-name-handler)
7385         (tramp-imap-file-name-p): Set tramp-autoload cookie.
7387         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
7388         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7389         Add to `tramp-unload-hook'.  Change checks, whether package can be
7390         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
7391         function name.
7392         (tramp-smb-tunnel-method): Make it a defconst.
7393         (tramp-smb-file-name-p): Make it a defsubst.
7394         (tramp-smb-method, tramp-smb-file-name-handler)
7395         (tramp-smb-file-name-p): Set tramp-autoload cookie.
7397         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7398         (tramp-uuencode-region): Set tramp-autoload cookie.
7400         * net/trampver.el (top) Add to `tramp-unload-hook'.
7401         (tramp-version, tramp-bug-report-address): Set tramp-autoload
7402         cookie.  Update release number.
7404 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
7406         * textmodes/ispell.el (ispell-start-process): Make sure original
7407         arg list is properly initialized (Bug#6993, Bug#6994).
7409 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7411         * files.el (directory-abbrev-alist): Use \` as default regexp.
7413         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7414         chars like - or ] (bug#6984).
7415         (rx-any-condense-range): Explode 2-char ranges.
7417 2010-09-06  Glenn Morris  <rgm@gnu.org>
7419         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7421 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7423         * textmodes/bibtex.el:
7424         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7426 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7428         * net/imap.el (imap-message-map): Remove optional buffer parameter,
7429         since no callers use it.
7430         (imap-message-get): Ditto.
7431         (imap-message-put): Ditto.
7432         (imap-mailbox-map): Ditto.
7433         (imap-mailbox-put): Ditto.
7434         (imap-mailbox-get): Ditto.
7435         (imap-mailbox-get): Revert last change for this function.
7437 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7439         * net/imap.el (imap-fetch-safe): Remove function, and alter all
7440         callers to use `imap-fetch' instead.  According to the comments, this
7441         should be safe, since all other IMAP clients use the 1:* syntax.
7442         (imap-enable-exchange-bug-workaround): Remove.
7443         (imap-debug): Remove -- doesn't seem very useful.
7445 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7447         * net/imap.el (imap-log): New convenience function used throughout
7448         instead of repeating the same code all over the place.
7450 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
7452         * mouse.el (mouse-save-then-kill): Save region to kill-ring
7453         when mouse-drag-copy-region is non-nil (Bug#6956).
7455 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
7457         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7458         Improve regexps (Bug#6987).
7459         (dired-sort-toggle): Search more robustly for -t flag.
7461         * files.el (get-free-disk-space): Search more robustly for
7462         "available" column.  Suggested by Ehud Karni
7463         <ehud@unix.mvs.co.il>.
7465 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
7467         * international/uni-bidi.el:
7468         * international/uni-category.el:
7469         * international/uni-combining.el:
7470         * international/uni-decimal.el:
7471         * international/uni-mirrored.el:
7472         * international/uni-name.el: Regenerate.
7474 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7476         * electric.el (electric-indent-post-self-insert-function):
7477         Don't reindent with a sloppy indentation function.
7479         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7480         border case in change-log-mode.
7482 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
7484         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7485         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7486         Recognize leading tab in gcc-include regexp.  Ignore names with
7487         leading "from" or "in" in gnu regexp (Bug#6937).
7489 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7491         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7492         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7493         (ispell-start-process): Avoid setq and simplify logic.
7494         (ispell-init-process): Setup kill-buffer-hook locally when needed.
7495         (kill-buffer-hook): Don't use it globally with code that uses
7496         expand-file-name since that may call kill-buffer via
7497         code_conversion_restore.
7499 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
7501         * emacs-lisp/package.el (package-directory-list): Only call
7502         file-name-nondirectory on a string.
7504 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7506         * emacs-lisp/package.el (package--download-one-archive):
7507         Ensure that archive-contents is valid before saving it.
7508         (package-activate-1, package-mark-obsolete, define-package)
7509         (package-compute-transaction, package-list-maybe-add): Use push.
7511 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7513         Use SMIE's blink-paren for octave-mode.
7514         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7515         Backslashes do not escape single-quotes, single-quotes do.
7516         (octave-block-else-regexp, octave-block-end-regexp)
7517         (octave-block-match-alist): Remove.
7518         (octave-smie-bnf-table): New var, with old content.
7519         (octave-smie-op-levels): Use it.
7520         (octave-smie-closer-alist): New var.
7521         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
7522         (octave-blink-matching-block-open): Remove.
7523         (octave-reindent-then-newline-and-indent, octave-electric-semi)
7524         (octave-electric-space): Let self-insert-command run expand-abbrev and
7525         blink parens.
7527         * electric.el (electricity): New group.
7528         (electric-indent-chars): New var.
7529         (electric-indent-post-self-insert-function): New fun.
7530         (electric-indent-mode): New minor mode.
7531         (electric-pair-skip-self): New custom.
7532         (electric-pair-post-self-insert-function): New function.
7533         (electric-pair-mode): New minor mode.
7535         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7536         calcAlg-blink-matching-open.
7537         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7538         (calc-do-alg-entry): Only touch the part of the keymap that varies.
7539         Use the new blink-matching-check-function.
7541         Provide blink-matching support to SMIE.
7542         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7543         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7544         (smie-blink-matching-check, smie-blink-matching-open): New functions.
7546         * simple.el (newline): Fix last change to properly remove itself from
7547         the hook.
7549 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7551         * simple.el (newline): Eliminate optimization.
7552         Use post-self-insert-hook to set hard-newline and things before
7553         running post-self-insert-hook.
7554         (blink-matching-check-mismatch): New function.
7555         (blink-matching-check-function): New variable.
7556         (blink-matching-open): Use them.
7557         Skip back forward over prefix chars skipped by forward-sexp.
7558         Don't check if the parens are backslash escaped.
7559         (blink-paren-post-self-insert-function): Check backslash escaping here.
7561 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7563         * emacs-lisp/package.el (package-menu-mode-map):
7564         Change package-menu-revert bindings to revert-buffer.
7565         (package-menu-mode): Set revert-buffer-function.
7566         (package-menu-revert): Doc fix.
7568 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
7570         * textmodes/ispell.el (ispell-init-process): Use "~/" as
7571         `default-directory' unless using Ispell per-directory personal
7572         dictionaries and not in a mini-buffer under XEmacs.
7573         (kill-buffer-hook): Do not kill ispell process on exit when
7574         `ispell-process-directory' is "~/".  (Bug#6143)
7576 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
7578         * simple.el (kill-new): Call interprogram-cut-function with only
7579         one argument.
7581         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7582         Remove cut buffer from error message.
7584         * term/x-win.el (x-select-text):
7585         * term/pc-win.el (x-selection-value):
7586         * term/ns-win.el (x-selection-value):
7587         * eshell/em-term.el:
7588         * w32-fns.el (x-get-selection-value):
7589         * mouse-sel.el (mouse-sel-set-selection-function):
7590         * frame.el (display-selections-p): Remove cut-buffer in documentation.
7592         * term/x-win.el: Update documentation for x-last-selected-text-*.
7593         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7594         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7595         (x-select-text): Remove argument PUSH, update documentation.
7596         Remove cut-buffer code.
7597         (x-selection-value-internal): Was previously x-selection-value.
7598         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7599         Update documentation, remove cut-buffer code.
7600         Call x-selection-value-internal.
7601         (x-clipboard-yank): Call x-selection-value-internal.
7602         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7604         * term/pc-win.el (x-last-selected-text):
7605         x-cut-buffer-or-selection-value renamed to x-selection-value
7606         (x-select-text): Remove argument PUSH, update documentation.
7608         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7609         x-cut-buffer-or-selection-value renamed to x-selection-value
7610         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7611         (x-select-text): Remove argument PUSH, update documentation.
7613         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7615         * w32-fns.el (x-last-selected-text):
7616         x-cut-buffer-or-selection-value renamed to x-selection-value.
7617         (x-cut-buffer-max): Remove.
7618         (x-select-text): Remove argument PUSH, update documentation.
7620         * simple.el (interprogram-cut-function): Remove mention of PUSH.
7622         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7624         * mouse-sel.el (mouse-sel-get-selection-function):
7625         x-cut-buffer-or-selection-value renamed to x-selection-value.
7626         (x-select-text): Remove optional push.
7628 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7630         * simple.el (blink-paren-function): Move from C to here.
7631         (blink-paren-post-self-insert-function): New function.
7632         (post-self-insert-hook): Use it.
7634         * emacs-lisp/pcase.el (pcase-split-memq):
7635         Fix overenthusiastic optimization.
7636         (pcase-u1): Handle the case of a lambda pred.
7638 2010-08-31  Kenichi Handa  <handa@m17n.org>
7640         * international/mule-cmds.el (standard-display-european-internal):
7641         Setup standard-display-table for 8-bit characters by storing 8-bit
7642         characters in the element vector.
7644         * disp-table.el (standard-display-8bit):
7645         Setup standard-display-table for 8-bit characters by storing 8-bit
7646         characters in the element vector.
7647         (standard-display-european): Likewise.
7649 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
7651         * textmodes/nroff-mode.el (nroff-view): New command.
7652         (nroff-mode-map): Bind it to C-c C-c.
7654 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7656         * emacs-lisp/smie.el (smie-down-list): New command.
7658         Remove old indentation and navigation code on octave-mode.
7659         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7660         smie-down-list rather than add a binding for octave-down-block.
7661         (octave-mark-block, octave-blink-matching-block-open):
7662         Rely on forward-sexp-function.
7663         (octave-fill-paragraph): Don't narrow, so you can use
7664         indent-according-to-mode.
7665         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7666         (octave-in-block-p, octave-re-search-forward-kw)
7667         (octave-re-search-backward-kw, octave-indent-calculate)
7668         (octave-end-as-array-index-p, octave-block-end-offset)
7669         (octave-scan-blocks, octave-forward-block, octave-backward-block)
7670         (octave-down-block, octave-backward-up-block, octave-up-block)
7671         (octave-before-magic-comment-p, octave-indent-line): Remove.
7673 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
7675         * emacs-lisp/package.el (package--read-archive-file): Just use
7676         `read', to avoid copying an additional string.
7677         (package-menu-mode): Set header-line-format here.
7678         (package-menu-refresh, package-menu-revert): Signal an error if
7679         not in the Package Menu.
7680         (package-menu-package-list): New var.
7681         (package--generate-package-list): Operate on the current buffer;
7682         don't assume that it is *Packages*, since the user may rename it.
7683         Allow persistent package listings and sort keys using
7684         package-menu-package-list and package-menu-package-sort-key.
7685         (package-menu--version-predicate): Fix version calculation.
7686         (package-menu-sort-by-column): Don't select the window.
7687         (package--list-packages): Create the *Packages* buffer.
7688         Set package-menu-package-list-key.
7689         (list-packages): Sorting by status is now the default.
7690         (package-buffer-info): Use match-string-no-properties.
7691         (define-package): Add a &rest argument for future proofing, but
7692         don't use it yet.
7693         (package-install-from-buffer, package-install-buffer-internal):
7694         Merge into a single function, package-install-from-buffer.
7695         (package-install-file): Change caller.
7697         * finder.el: Load finder-inf using `require'.
7698         (finder-list-matches): Sorting by status is now the default.
7699         (finder-compile-keywords): Simpify printing.
7701 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7703         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7704         (octave-mode-map): Remove special bindings for forward/backward-block
7705         and octave-backward-up-block.  Use smie-close-block.
7706         (octave-continuation-marker-regexp): New var.
7707         (octave-continuation-regexp): Use it.
7708         (octave-operator-table, octave-smie-op-levels)
7709         (octave-operator-regexp, octave-smie-indent-rules): New vars.
7710         (octave-smie-backward-token, octave-smie-forward-token): New funs.
7711         (octave-mode): Use SMIE.
7712         (octave-close-block): Delete.
7714 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
7716         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7717         CLIPBOARD, not in PRIMARY.  (Bug#6944)
7719 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7721         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7722         a list of parents.
7723         (smie-indent-column): Allow indirection through variables.
7725         * composite.el (save-buffer-state): Delete, unused.
7726         * font-lock.el (save-buffer-state): Use with-silent-modifications.
7727         (font-lock-default-fontify-region): Use with-syntax-table.
7728         * jit-lock.el (with-buffer-unmodified): Remove.
7729         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7731         Use `declare' in defmacros.
7732         * window.el (save-selected-window):
7733         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7734         * progmodes/python.el (def-python-skeleton):
7735         * net/dbus.el (dbus-ignore-errors):
7736         * jka-cmpr-hook.el (with-auto-compression-mode):
7737         * international/mule.el (with-category-table):
7738         * emacs-lisp/timer.el (with-timeout):
7739         * emacs-lisp/lisp-mnt.el (lm-with-file):
7740         * emacs-lisp/eieio.el (with-slots):
7741         * emacs-lisp/easymenu.el (easy-menu-define):
7742         * emacs-lisp/debug.el (debugger-env-macro):
7743         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7744         (Multiple-value-call, Multiple-value-prog1):
7745         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7746         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7747         edebug rule to definition.
7748         * emacs-lisp/lisp-mode.el (save-selected-window)
7749         (with-current-buffer, combine-after-change-calls)
7750         (with-output-to-string, with-temp-file, with-temp-buffer)
7751         (with-temp-message, with-syntax-table, read-if, eval-after-load)
7752         (dolist, dotimes, when, unless):
7753         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7755 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7757         * finder.el: Require `package'.
7758         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
7759         (finder-package-info): Var deleted.
7760         (finder-keywords-hash, finder--builtins-alist): New vars.
7761         (finder-compile-keywords): Compute package--builtins and
7762         finder-keywords-hash instead of finder-keywords-hash, respecting
7763         the "Package" header.
7764         (finder-unknown-keywords, finder-list-matches):
7765         Use finder-keywords-hash and package--list-packages.
7766         (finder-mode): Don't set font-lock-defaults.
7767         (finder-exit): We don't use "*Finder-package*" and "*Finder
7768         Category*" buffers anymore.
7770         * emacs-lisp/package.el (package--builtins-base): Var deleted.
7771         (package--builtins): Set default value to nil.
7772         (package-initialize): Load precomputed value of package--builtins
7773         from finder-inf.el.
7774         (package-alist, package-compute-transaction)
7775         (package-download-transaction): Improve docstring.
7776         (package-read-all-archive-contents): Do not change
7777         package--builtins here.
7778         (list-packages): Make package-list-packages an alias for this.
7779         Sort by status by default.
7780         (package--list-packages): Add optional PACKAGES arg.
7781         (describe-package-1): Use font-lock-face property.  For built-in
7782         packages, insert file commentary.
7783         (package--generate-package-list): Rename from
7784         package-list-packages-internal; all callers changed.  Add optional
7785         PACKAGES arg.  Add alphabetical sort fallbacks.
7786         (package-menu--version-predicate, package-menu--status-predicate)
7787         (package-menu--description-predicate)
7788         (package-menu--name-predicate): New functions.
7790         * info.el (Info-finder-find-node): Search package-alist instead of
7791         finder-package-info.
7793 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7795         * subr.el (version-regexp-alist): Don't use "a" and "b" for
7796         "alpha" and "beta".
7797         (version-to-list): Handle versions like "10.3d".
7799 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7801         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7802         (macroexp-accumulate): Use `declare'.
7804 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7806         * whitespace.el (whitespace-style): Adjust type declaration.
7808 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
7810         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7812 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7814         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7815         (Bug#6907).
7817 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
7819         * progmodes/js.el: Make indentation more customizable (Bug#6914).
7820         (js-paren-indent-offset, js-square-indent-offset)
7821         (js-curly-indent-offset): New options.
7822         (js--proper-indentation): Use them.
7824 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
7826         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7827         instead of inspecting font-lock properties (Bug#6916).
7829 2010-08-26  David Reitter  <david.reitter@gmail.com>
7831         * server.el (server-visit-files): Run pre-command-hook and
7832         post-command-hook for each buffer while it is current (Bug#6910).
7833         (server-execute): Do not run hooks here.
7835 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
7837         Sync with Tramp 2.1.19.
7839         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
7840         Protect deleting tmpfile.
7841         (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7843         * net/tramp.el (tramp-handle-expand-file-name)
7844         (tramp-completion-handle-file-name-all-completions)
7845         (tramp-completion-handle-file-name-completion):
7846         Use `tramp-connectable-p'.
7848         * net/trampver.el: Update release number.
7850 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7852         * help.el (help-map): Bind `C-h P' to describe-package.
7854         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7856         * emacs-lisp/package.el (package-refresh-contents): Catch errors
7857         when downloading archives.
7858         (describe-package-1): Add package commentary.
7859         (package-install-button-action): New function.
7860         (package-menu-mode-map): Bind ? to package-menu-describe-package.
7861         (package-menu-view-commentary): Function removed.
7862         (package-list-packages-internal): Hide the `package' package too.
7864 2010-08-25  Kenichi Handa  <handa@m17n.org>
7866         * language/misc-lang.el ("Arabic"): New language environment.
7867         Setup composition-function-table for Arabic characters.
7869         * international/fontset.el (setup-default-fontset): Fix typo for
7870         arabic OTF spec (fini->fina).
7872 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
7874         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7875         on all frames.
7877 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7879         * whitespace.el: Allow cleaning up blanks without blank
7880         visualization (Bug#6651).  Adjust help window for
7881         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7882         instead of whitespace-line-column (from EmacsWiki).  New version
7883         13.1.
7884         (whitespace-style): Add new value 'face.  Adjust docstring.
7885         (whitespace-space, whitespace-hspace, whitespace-tab):
7886         Adjust foreground property face.
7887         (whitespace-line-column): Adjust docstring and type declaration.
7888         (whitespace-style-value-list, whitespace-toggle-option-alist)
7889         (whitespace-help-text): Adjust const initialization.
7890         (whitespace-toggle-options, global-whitespace-toggle-options):
7891         Adjust docstring.
7892         (whitespace-display-window, whitespace-interactive-char)
7893         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7894         (whitespace-help-scroll): New fun.
7896 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7898         * emacs-lisp/package.el (list-packages): Alias for
7899         package-list-packages.
7901 2010-08-24  Kevin Ryde  <user42@zip.com.au>
7903         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7904         (Bug#5651).
7906         * progmodes/ruby-mode.el (ruby): Add defgroup.
7908 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7910         * progmodes/python.el: Add Ipython support (Bug#5390).
7911         (python-shell-prompt-alist)
7912         (python-shell-continuation-prompt-alist): New options.
7913         (python--set-prompt-regexp): New function.
7914         (inferior-python-mode, run-python, python-shell):
7915         Require ansi-color.  Use python--set-prompt-regexp to set the comint
7916         prompt based on the Python interpreter.
7917         (python--prompt-regexp): New var.
7918         (python-check-comint-prompt)
7919         (python-comint-output-filter-function): Use it.
7920         (run-python): Use a pipe (Bug#5694).
7922 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
7924         * progmodes/python.el (python-send-region): Send a different
7925         Python command if Ipython is in use.
7926         (python-check-version): Use a Python command to find the version.
7928 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7930         * mouse.el (mouse-yank-primary): Avoid setting primary when
7931         deactivating the mark (Bug#6872).
7933 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
7935         * progmodes/python.el (python-block-pairs): Allow use of "finally"
7936         with "else" (Bug#3991).
7938 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
7940         * net/dbus.el: Accept UNIX domain sockets as bus address.
7941         (top): Don't initialize `dbus-registered-objects-table' anymore,
7942         this is done in dbusbind.c.
7943         (dbus-check-event): Adapt test for bus.
7944         (dbus-return-values-table, dbus-unregister-service)
7945         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7946         Adapt doc string.
7948 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
7950         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7952 2010-08-22  Juri Linkov  <juri@jurta.org>
7954         * simple.el (read-extended-command): New function with the logic
7955         for `completing-read' moved to Elisp from `execute-extended-command'.
7956         Use `function-called-at-point' in `minibuffer-default-add-function'
7957         to get a command name for M-n (bug#5364, bug#5214).
7959 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7961         * startup.el (command-line-1): Issue warning for ignored arguments
7962         --unibyte, etc (Bug#6886).
7964 2010-08-22  Leo Liu  <sdl.web@gmail.com>
7966         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7967         (ignore, bright, dim, keyword): Split list of nicknames before
7968         passing to rcirc-add-or-remove (Bug#6894).
7970 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7972         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7974 2010-08-22  Leo Liu  <sdl.web@gmail.com>
7976         Fix buffer-list rename&refresh after killing a buffer in ido.
7977         * ido.el: Revert Óscar's.
7978         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7979         Remember the buffers at head, rather than their name.
7980         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7982 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>
7983             Stefan Monnier  <monnier@iro.umontreal.ca>
7985         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7986         extra backslash added to each line (bug#6890).
7988 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7990         * subr.el (read-key): Don't echo keystrokes (bug#6883).
7992 2010-08-22  Glenn Morris  <rgm@gnu.org>
7994         * menu-bar.el (menu-bar-games-menu): Add landmark.
7996 2010-08-22  Glenn Morris  <rgm@gnu.org>
7998         * align.el (align-regexp): Make group and spacing arguments
7999         use the interactive defaults when non-interactive.  (Bug#6698)
8001         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8002         expansion, so as not to need sendmail.
8003         (mail-text-start): Remove declaration.
8004         (rmail-retry-failure): Require sendmail.
8006 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8008         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8010 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
8012         * progmodes/flymake.el (flymake-start-syntax-check-process):
8013         Use `start-file-process' in order to let it run also on remote hosts.
8015 2010-08-22  Kenichi Handa  <handa@m17n.org>
8017         * files.el: Add `word-wrap' as safe local variable.
8019 2010-08-22  Glenn Morris  <rgm@gnu.org>
8021         * woman.el (woman-translate): Case matters.  (Bug#6849)
8023 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8025         * simple.el (kill-region): Doc fix (Bug#6787).
8027 2010-08-22  Glenn Morris  <rgm@gnu.org>
8029         * calendar/diary-lib.el (diary-header-line-format):
8030         Fit it to the window, not the frame.
8032 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
8034         * subr.el (ignore-errors): Add debug declaration.
8036 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
8038         * whitespace.el (whitespace-color-off): Remove post-command-hook
8039         locally.
8041 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8043         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8045 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8047         * cus-edit.el (custom-group-value-create): Add extra newline
8048         before end line (Bug#6876).
8050 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8052         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8053         when extending it.  Before killing on the second click, check if
8054         the buffer is the correct one.  Doc fix.
8055         (mouse-secondary-save-then-kill): Allow usage without first
8056         calling mouse-start-secondary, by defaulting to point.  Don't save
8057         an empty secondary selection.  Doc fix.
8059 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8061         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
8062         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8063         New version 13.0.
8064         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8065         Adjust initialization.
8066         (whitespace-bob-marker, whitespace-eob-marker)
8067         (whitespace-buffer-changed): New vars.
8068         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8069         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8070         (whitespace-post-command-hook, whitespace-display-char-on):
8071         Adjust code.
8072         (whitespace-looking-back, whitespace-buffer-changed): New funs.
8073         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8075 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8077         * files.el (locate-file-completion-table): Only list the .el and .elc
8078         extensions if there's no other choice (bug#5955).
8080         * facemenu.el (facemenu-self-insert-data): New var.
8081         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8082         New functions.
8083         (facemenu-add-face): Use them.
8085         * simple.el (blink-matching-open): Obey forward-sexp-function.
8087 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8089         * simple.el (prog-mode-map): New var.
8090         (prog-indent-sexp): New command.
8092         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8094         * progmodes/prolog.el (smie): Require.
8096         * emacs-lisp/smie.el (smie-default-backward-token)
8097         (smie-default-forward-token): Strip properties.
8098         (smie-next-sexp): Be more careful with associative operators.
8099         (smie-forward-sexp-command): Generalize.
8100         (smie-backward-sexp-command): Simplify.
8101         (smie-closer-alist): New var.
8102         (smie-close-block): New command.
8103         (smie-indent-debug-log): New var.
8104         (smie-indent-offset-rule): Add a few more cases.
8105         (smie-indent-column): New function.
8106         (smie-indent-after-keyword): Use it.
8107         (smie-indent-keyword): Use it.
8108         Fix up the opener code's point position.
8109         (smie-indent-comment): Only applies at BOL.
8110         (smie-indent-debug): New command.
8112         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8113         declarations that are useful before running the macro.
8115 2010-08-18  Joakim Verona  <joakim@verona.se>
8117         * image.el (imagemagick-types-inhibit): New variable.
8118         (imagemagick-register-types): New function.
8119         * image-mode.el (image-transform-properties): New function.
8120         (image-transform-set-scale, image-transform-fit-to-height)
8121         (image-transform-set-rotation, image-transform-set-resize)
8122         (image-transform-fit-to-width, image-transform-fit-to-height):
8123         New functions.
8124         (image-toggle-display-image): Support image transforms.
8126 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
8128         * image.el (create-animated-image): Don't add heuristic mask to image
8129         (Bug#6839).
8131 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
8133         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8134         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8136 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8138         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8140         Font-lock '...' strings, plus various simplifications and fixes.
8141         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8142         (octave-font-lock-close-quotes): New function.
8143         (octave-font-lock-syntactic-keywords): New var.
8144         (octave-mode): Use it.  Set beginning-of-defun-function.
8145         (octave-mode-map): Don't override the <foo>-defun commands.
8146         (octave-mode-menu): Pass it directly to easy-menu-define;
8147         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8148         (octave-block-match-alist): Fix up last change so that
8149         octave-close-block uses the more specific keyword.
8150         (info-lookup-mode): Silence byte-compiler.
8151         (octave-beginning-of-defun): Not interactive any more.
8152         Optimize slightly.
8153         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8154         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8155         (octave-completion-at-point-function): Make sure point is within
8156         beg..end.
8157         (octave-reindent-then-newline-and-indent):
8158         Use reindent-then-newline-and-indent.
8159         (octave-add-octave-menu): Remove.
8161 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
8163         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8164         (report-emacs-bug-can-use-xdg-email): New functions.
8165         (report-emacs-bug): Set can-xdg-email to result of
8166         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
8167         \C-cm to report-emacs-bug-insert-to-mailer and add help text
8168         about it.
8170         * net/browse-url.el (browse-url-default-browser): Add cond
8171         for browse-url-xdg-open.
8172         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8174 2010-08-17  Glenn Morris  <rgm@gnu.org>
8176         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8177         (c-fontify-recorded-types-and-refs): Define for compiler.
8178         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8179         before use.
8181         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8182         Fix format call.
8184 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
8186         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8187         properties.
8188         (tramp-handle-process-file): Call the program in a subshell, in
8189         order to preserve working directory.
8190         (tramp-action-password): Hide password prompt before next run.
8191         (tramp-process-actions): Widen connection buffer for the trace.
8193 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8195         * net/rcirc.el (rcirc-log-process-buffers): New option.
8196         (rcirc-print): Use it.
8197         (rcirc-generate-log-filename): New function.
8198         (rcirc-log-filename-function): Change default to
8199         rcirc-generate-log-filename (Bug#6828).
8201 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
8203         * simple.el (deactivate-mark): If select-active-regions is `only',
8204         only set selection for temporarily active regions.
8206         * cus-start.el: Change defcustom for select-active-regions.
8208 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8210         * mouse.el (mouse--drag-set-mark-and-point): New function.
8211         (mouse-drag-track): Use LOCATION arg to push-mark.
8212         Use mouse--drag-set-mark-and-point to take click-count into
8213         consideration when updating point and mark (Bug#6840).
8215 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8217         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8218         Give the Ruby rule a lower priority than Gnu (Bug#6778).
8220 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8222         * font-lock.el (lisp-font-lock-keywords-2):
8223         Add combine-after-change-calls, condition-case-no-debug,
8224         with-demoted-errors, and with-silent-modifications (Bug#6025).
8226 2010-08-14  Kevin Ryde  <user42@zip.com.au>
8228         * emacs-lisp/copyright.el (copyright-update-year)
8229         (copyright-update): Temporary switch-to-buffer to ensure the
8230         buffer change being queried is visible (Bug#5394).
8232 2010-08-14  Tom Tromey  <tromey@redhat.com>
8234         * progmodes/etags.el (tags-file-name): Mark safe if stringp
8235         (Bug#6733).
8237 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
8239         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8240         MS-DOS.  (Bug#6689)
8242 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
8244         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8245         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8246         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8247         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8248         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8249         Call menu-bar-set-tool-bar-position.
8251 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8253         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8254         comment style (bug#6834).
8255         * progmodes/scheme.el (scheme-mode-syntax-table):
8256         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8257         "b" flag in "' 14b" syntax.
8259         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8260         for (un)commenting the region and performing completion.
8261         (octave-mode-menu): Use standard commands for help and completion.
8262         (octave-mode-syntax-table): Support %{..%} comments (sort of).
8263         (octave-mode): Use define-derived-mode.
8264         Set completion-at-point-functions and don't set columns.
8265         Don't disable adaptive-fill-regexp.
8266         (octave-describe-major-mode, octave-comment-region)
8267         (octave-uncomment-region, octave-comment-indent)
8268         (octave-indent-for-comment): Remove.
8269         (octave-indent-calculate): Rename from calculate-octave-indent.
8270         (octave-indent-line, octave-fill-paragraph): Update caller.
8271         (octave-initialize-completions): No need to make an alist.
8272         (octave-completion-at-point-function): New function.
8273         (octave-complete-symbol): Use it.
8274         (octave-insert-defun): Use define-skeleton.
8276         * progmodes/octave-mod.el (octave-mode): Set comment-add.
8277         (octave-mode-map): Use comment-dwim (bug#6829).
8279 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>
8281         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8282         indentation of inserted comment.
8284 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
8286         * faces.el (region): Add type gtk that uses gtk colors.
8288         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8289         Handle theme-name change.
8291 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
8293         * progmodes/sql.el: Version 2.5
8294         (sql-product-alist): Add :prompt-cont-regexp property for several
8295         database products.
8296         (sql-prompt-cont-regexp): New variable.
8297         (sql-output-newline-count, sql-output-by-send):
8298         New variables.  Record number of newlines in input text.
8299         (sql-send-string): Handle multiple filters and count newlines.
8300         (sql-send-magic-terminator): Count terminator newline.
8301         (sql-interactive-remove-continuation-prompt): Filters output to
8302         remove continuation prompts; one for each newline.
8303         (sql-interactive-mode): Set up new variables, prompt regexp and
8304         output filter.
8305         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8306         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8308 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8310         * emacs-lisp/pcase.el: New file.
8312 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
8314         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8315         as here-document, otherwise the command could exceed maximum
8316         length of command line.
8317         (tramp-handle-vc-registered): Call script accordingly.
8318         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8320 2010-08-10  Kenichi Handa  <handa@m17n.org>
8322         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8323         composable pattern.
8325 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
8327         * emacs-lisp/package.el (package-version-split)
8328         (package--version-first-nonzero, package-version-compare):
8329         Functions removed.
8330         (package-directory-list, package-load-all-descriptors)
8331         (package--built-in, package-activate, define-package)
8332         (package-installed-p, package-compute-transaction)
8333         (package-read-all-archive-contents)
8334         (package--add-to-archive-contents, package-buffer-info)
8335         (package-tar-file-info, package-list-packages-internal):
8336         Use version-to-list and version-list-*.
8338         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8339         Use version-to-list.
8340         (package-upload-buffer-internal): Use version-list-<=.
8342 2010-08-09  Kenichi Handa  <handa@m17n.org>
8344         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8345         composable pattern.
8347 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
8349         * tutorial.el (tutorial--default-keys): C-d is now bound to
8350         delete-forward-char (Bug#6826).
8352         * mouse.el (mouse-drag-track): Remove accidentally-removed check
8353         for `double' value of mouse-1-click-follows-link (Bug#6807).
8355 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
8357         * replace.el (replace-highlight): Bind isearch-forward and
8358         isearch-error, ensuring that highlighting is updated if the user
8359         switches the search direction (Bug#6808).
8361         * isearch.el (isearch-lazy-highlight-forward): New var.
8362         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8363         (isearch-lazy-highlight-update): Use it.
8365 2010-08-08  Kenichi Handa  <handa@m17n.org>
8367         * international/mule.el (define-charset): Store NAME as :base property.
8368         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8369         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8370         current priority.  Force using the designation of the specific
8371         charset by adding `charset' text property.  Improve the whole algorithm.
8373 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8375         * emulation/pc-select.el (pc-selection-mode-hook)
8376         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8377         (pc-selection-mode): Fix typos in docstrings.
8379 2010-08-08  Kenichi Handa  <handa@m17n.org>
8381         * language/cyrillic.el: Don't add "microsoft-cp1251" to
8382         ctext-non-standard-encodings-alist here.
8384         * international/mule.el (ctext-non-standard-encodings-alist):
8385         Add "koi8-r" and "microsoft-cp1251".
8386         (ctext-standard-encodings): New variable.
8387         (ctext-non-standard-encodings-table): List only elements for
8388         non-standard encodings.
8389         (ctext-pre-write-conversion): Adjust for the above change.
8390         Check ctext-standard-encodings.
8392         * international/mule-conf.el (compound-text): Doc fix.
8393         (ctext-no-compositions): Doc fix.
8394         (compound-text-with-extensions): Doc fix.
8396 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8398         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8400 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8402         * progmodes/which-func.el (which-func-format): Split help-echo text
8403         into lines, like other mode-line tooltips.
8405         * server.el (server-start): When using TCP sockets, force IPv4
8406         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
8408 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8410         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8412 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8414         * term.el (term-delimiter-argument-list): Reflow docstring.
8415         (term-read-input-ring, term-write-input-ring, term-send-input)
8416         (term-bol, term-erase-in-display, serial-supported-or-barf):
8417         Fix typos in docstrings.
8419 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8421         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8423 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8425         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8427 2010-08-08  MON KEY  <monkey@sandpframing.com>
8429         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8430         Fix typo in docstring (bug#6747).
8432 2010-08-08  Leo Liu  <sdl.web@gmail.com>
8434         * eshell/esh-io.el (eshell-get-target): Better detection of
8435         read-only file (Bug#6762).
8437 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8439         * align.el (align-default-spacing): Doc fix.
8440         (align-region-heuristic, align-regexp): Fix typos in docstrings.
8442 2010-08-08  Stephen Peters  <speters@itasoftware.com>
8444         * calendar/icalendar.el
8445         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
8446         (icalendar--get-weekday-numbers): New.
8447         (icalendar--convert-recurring-to-diary): Handle multiple byday
8448         values in weekly rules.  (Bug#6766)
8450 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
8452         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8453         (icalendar--create-uid, icalendar-export-region)
8454         (icalendar--parse-summary-and-rest): Code formatting.
8456 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
8458         * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8459         to italicize headers.
8460         (calc-highlight-selections-with-faces): New variable.
8461         (calc-selected-face, calc-nonselected-face): New faces.
8463         * calc/calccomp.el (math-comp-highlight-string): Use
8464         `calc-highlight-selections-with-faces' to determine how to highlight
8465         sub-formulas.
8467         * calc/calc-sel.el (calc-show-selections): Change message to when
8468         using faces to highlight selections.
8470 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
8472         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8473         Add SQLite 3 keywords, functions and datatypes.
8474         (sql-interactive-mode): Remove `comint-process-echoes' set to t
8475         (Bug#6686).
8477 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
8479         * simple.el (select-active-regions): Move to keyboard.c.
8480         (deactivate-mark): Used saved-region-selection.
8481         (select-active-region): Function removed.
8482         (activate-mark, set-mark, push-mark-command)
8483         (handle-shift-selection): Don't call it.
8484         (keyboard-quit): Avoid adding the region to the window selection.
8486         * mouse.el (mouse-drag-track): Remove hacks to deal with old
8487         select-active-regions implementation.
8488         (mouse-yank-at-click): Doc fix.
8490         * cus-start.el: Add custom declaration for select-active-regions.
8492 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
8494         * simple.el (delete-forward-char): Doc fix.
8496         * tutorial.el (help-with-tutorial): Hack safe file-local variables
8497         after reading the tutorial.
8499 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
8501         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8502         Fix for the case that a C style comment has its delimiters alone on
8503         their respective lines.  (Bug#193)
8505 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
8507         * net/tramp.el (tramp-handle-start-file-process): Set connection
8508         property "vec".
8509         (tramp-process-sentinel): Use it for flushing the cache.
8510         We cannot do it via the process buffer, the buffer could be deleted
8511         already when running the sentinel.
8513 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
8515         * comint.el (comint-mode): Make directory tracking functions
8516         functional on remote files.  (Bug#6764)
8518 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
8520         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8522 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
8524         * emacs-lisp/find-gc.el (find-gc-source-files):
8525         Rename unexec.c => unexcoff.c.
8527         * emacs-lisp/authors.el (authors-fixed-entries):
8528         Rename unexec.c => unexcoff.c.
8530 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
8532         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8533         cache, not only file cache.
8534         (tramp-process-sentinel): New defun.
8535         (tramp-handle-start-file-process): Use it, in order to invalidate
8536         file caches.
8538 2010-08-03  Leo Liu  <sdl.web@gmail.com>
8540         * server.el (server-start): Simplify loop.
8542 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8544         * frame.el (screen-height, screen-width, set-screen-width)
8545         (set-screen-height): Remove ancient compatibility aliases.
8547         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8548         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
8550         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8551         that change current buffer.
8553 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8555         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8556         beginning of the string.  Use `string-match-p'.  (Bug#6765)
8558 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
8560         * cus-start.el (x-gtk-use-system-tooltips): New variable.
8562 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
8564         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8565         (package--builtins): Tweak descriptions.
8566         (package-print-package): Upcase descriptions if necessary.
8567         Show all built-in packages in font-lock-builtin-face.
8568         (package-list-packages-internal): Omit "emacs" package.
8569         Show status of built-in packages as "built-in".
8571 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
8573         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
8574         before killing to preserve the primary selection (Bug#6701).
8576         * term/x-win.el (x-select-text): Doc fix.
8578 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
8580         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8581         (objc-font-lock-extra-types):
8582         * progmodes/cc-mode.el (c-basic-common-init):
8583         * progmodes/cc-langs.el (c-make-mode-syntax-table)
8584         (c++-make-template-syntax-table)
8585         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8586         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8587         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8588         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8589         * progmodes/cc-fonts.el (c-make-inverse-face)
8590         (c-basic-matchers-after):
8591         * progmodes/cc-engine.el (c-forward-keyword-clause)
8592         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8593         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8594         (c-guess-continued-construct, c-guess-basic-syntax):
8595         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8596         The above functions were modified or created.
8598 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
8600         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8602 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
8604         * files.el (bidi-paragraph-direction): Define safe local values.
8606         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8607         language-info-alist.  Remove outdated FIXME in a comment.
8609 2010-07-31  Alan Mackenzie  <acm@muc.de>
8611         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8612         Auto-fill broken in C/C++ modes.
8614 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
8616         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8617         (menu-bar-showhide-tool-bar-menu-customize-disable)
8618         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8619         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8620         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8621         (menu-bar-showhide-tool-bar-menu): If tool bar is movable,
8622         make a menu for Options => toolbar that can move it.
8624 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
8626         * emacs-lisp/package-x.el (package--make-rss-entry):
8627         (package-maint-add-news-item, package--update-news)
8628         (package-upload-buffer-internal): New arg ARCHIVE-URL.
8630         * emacs-lisp/package.el (package-archive-url): Rename from
8631         package-archive-id.
8632         (package-install): Doc fix.
8633         (package-download-single, package-download-tar, package-install)
8634         (package-menu-view-commentary): Callers changed.
8636 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
8638         * net/tramp.el (tramp-handle-start-file-process): Check only for
8639         `remote-tty' process property.
8640         (tramp-open-shell): Don't check for tty.
8641         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8642         process property.
8644         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8645         host.
8647 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
8649         * emacs-lisp/package.el (package-load-list, package-archives)
8650         (package-archive-contents, package-user-dir)
8651         (package-directory-list, package--builtins, package-alist)
8652         (package-activated-list, package-obsolete-alist): Mark as risky.
8654 2010-07-28  Phil Hagelberg  <phil@evri.com>
8656         Add support for non-default package repositories.
8657         * emacs-lisp/package.el (package-archive-base): Var deleted.
8658         (package-archives): New variable.
8659         (package-archive-contents): Doc fix.
8660         (package-load-descriptor): Do nothing if descriptor file is missing.
8661         (package--write-file-no-coding): New function.
8662         (package-unpack-single): Use it.
8663         (package-archive-id): New function.
8664         (package-download-single, package-download-tar)
8665         (package-menu-view-commentary): Use it.
8666         (package-installed-p): Make second argument optional.
8667         (package-read-all-archive-contents): New function.
8668         (package-initialize): Use it.
8669         (package-read-archive-contents): Add ARCHIVE argument.
8670         (package--add-to-archive-contents): New function.
8671         (package-install): Don't call package-read-archive-contents.
8672         (package--download-one-archive): Store archive file in a
8673         subdirectory of package-user-dir.
8674         (package-menu-execute): Remove spurious line movement.
8676 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
8678         * cus-start.el (tool-bar-style): Add text-image-horiz.
8680 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8682         * progmodes/gud.el (gud-common-init): Check for remoteness of
8683         `file', and not of `default-directory'.
8685 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8687         * net/tramp.el (tramp-methods): Move hostname to the end in all
8688         ssh `tramp-login-args'.
8689         (tramp-verbose): Describe verbose level 9.
8690         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8691         (tramp-open-connection-setup-interactive-shell): Trace stty
8692         settings if `tramp-verbose' >= 9.
8693         (tramp-handle-start-file-process): Implement tty setting.
8694         (Bug#4604, Bug#6360)
8696         * net/tramp-cmds.el (tramp-bug): Recommend setting of
8697         `tramp-verbose' to 9.
8699 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
8701         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8702         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8703         Remove references to package `lisp-re' (bug#4369).
8705 2010-07-27  Tom Tromey  <tromey@redhat.com>
8707         * progmodes/js.el (js-mode):
8708         * progmodes/make-mode.el (makefile-mode):
8709         * progmodes/simula.el (simula-mode):
8710         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8712 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
8714         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8716         * time.el (display-time-day-and-date): Remove spurious * in docstring.
8717         (display-time-world-buffer-name, display-time-world-mode-map):
8718         Fix typos in docstrings.
8720 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
8722         * image-mode.el (image-display-size): New function.
8723         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8724         (image-mode-fit-frame): Use it (Bug#6639).
8726 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
8728         * dired.el (dired-buffers-for-dir): Handle list values of
8729         dired-directory (Bug#6636).
8731 2010-07-26  Sam Steingold  <sds@gnu.org>
8733         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8734         Do not call `x-get-selection' the second time, reuse the value.
8736 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
8738         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8739         which consist of control chars only.  Suggested by Richard Stallman.
8741 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
8743         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8744         exists before passing an error to find-file-not-found-functions
8745         (bug#6723).
8747 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
8749         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8750         Remove leading nil element, adjust values.
8751         (tetris-shapes, tetris-shape-scores):
8752         Change representation of shapes and remove some redundancy.
8753         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8754         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8755         Adjust for working with new representation of shapes.
8756         (tetris-shape-rotations): New function.
8757         (tetris-move-bottom, tetris-move-left, tetris-move-right)
8758         (tetris-rotate-prev, tetris-rotate-next):
8759         Adjust for working with the new version of tetris-test-shape.
8761 2010-07-23  Markus Triska  <markus.triska@gmx.at>
8763         * progmodes/ps-mode.el: Use comint (bug#5954).
8764         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8765         (ps-mode-other-newline): Simplify.
8766         (ps-run-mode): Derive from comint-mode instead of
8767         fundamental-mode, yielding input history etc.
8768         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8769         (ps-run-send-string): Adapt for comint-mode.
8770         (ps-run-newline): Remove now unneeded function.
8772 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8774         * net/tramp.el (tramp-methods): Move hostname to the end in all
8775         plink `tramp-login-args'.
8777 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8779         * net/tramp.el (tramp-open-shell): New defun.
8780         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8781         Use it.
8783 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8785         * net/tramp.el (tramp-file-name-regexp-unified)
8786         (tramp-completion-file-name-regexp-unified): On W32 systems, do
8787         not regard the volume letter as remote filename.  (Bug#5447)
8789 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
8791         * custom.el (custom-declare-variable): Give a clearer error message
8792         when the docstring is missing (bug#6476).
8794 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
8796         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
8797         (sql-login-params): New widget definition.
8798         (sql-oracle-login-params, sql-mysql-login-params)
8799         (sql-solid-login-params, sql-sybase-login-params)
8800         (sql-informix-login-params, sql-ingres-login-params)
8801         (sql-ms-login-params, sql-postgres-login-params)
8802         (sql-interbase-login-params, sql-db2-login-params)
8803         (sql-linter-login-params): Use it.
8804         (sql-sqlite-login-params): Use it; Define "database" parameter as
8805         a file name.
8806         (sql-sqlite-program): Change to "sqlite3".
8807         (sql-comint-sqlite): Make sure database name is complete.
8808         (sql-for-each-login): New function.
8809         (sql-connect, sql-save-connection): Use it.
8810         (sql-get-login-ext): New function.
8811         (sql-get-login): Use it.
8812         (sql-make-alternate-buffer-name): Handle :file parameters.
8814 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
8816         * dired.el (dired-no-confirm): Document value t and fix defcustom to
8817         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
8819 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
8821         * dired.el (dired-mode-map): Use command remapping (bug#6632).
8823 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
8825         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8827 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
8829         * net/tramp.el (tramp-get-ls-command)
8830         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8831         instead of "/".
8833 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
8835         * progmodes/sql.el: Version 2.3.
8836         (sql-connection-alist): Change keys from symbols to strings;
8837         enhanced the widget definition.
8838         (sql-mode-menu): Add submenu to select connections.
8839         (sql-interactive-mode-menu): Add "Save Connection" item.
8840         (sql-add-product): Fix menu item.
8841         (sql-get-product-feature): Improved error handling.
8842         (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8843         (sql-make-alternate-buffer-name): Simplified.
8844         (sql-product-interactive): Handle missing product.
8845         (sql-connect): Support string keys, minor improvements.
8846         (sql-save-connection): New function.
8847         (sql-connection-menu-filter): New function.
8849 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8851         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8852         (tramp-open-connection-setup-interactive-shell):
8853         Apply workaround for IRIX64 bug.  Move argument of last
8854         `tramp-send-command' where it belongs to.
8856 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8858         * net/tramp.el (tramp-perl-file-attributes)
8859         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8860         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8861         front of `login-args'.
8863 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
8865         * time.el (display-time-world-mode): Define with `define-derived-mode'.
8866         Set `show-trailing-whitespace' to nil.
8867         (display-time-world-display): Simplify.
8869 2010-07-18  Alan Mackenzie  <acm@muc.de>
8871         Enhance `c-file-style' in file/directory local variables.
8872         * progmodes/cc-mode.el (c-count-cfss): New function.
8873         (c-before-hack-hook): Call `c-set-style' differently according to
8874         whether c-file-style was set in file or directory local
8875         variables.
8877 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
8879         * progmodes/sql.el: Version 2.2.
8880         (sql-product, sql-user, sql-database, sql-server, sql-port):
8881         Use defcustom :safe keyword rather than putting safe-local-variable
8882         property.
8883         (sql-password): Use defcustom :risky keyword rather than putting
8884         risky-local-variable property.
8885         (sql-oracle-login-params, sql-sqlite-login-params)
8886         (sql-solid-login-params, sql-sybase-login-params)
8887         (sql-informix-login-params, sql-ingres-login-params)
8888         (sql-ms-login-params, sql-postgres-login-params)
8889         (sql-interbase-login-params, sql-db2-login-params)
8890         (sql-linter-login-params): Add `port' option.
8891         (sql-get-product-feature): Add NO-INDIRECT parameter.
8892         (sql-comint-oracle, sql-comint-sybase)
8893         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8894         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8895         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8896         (sql-comint-linter): Rename sql-connect-* functions to
8897         sql-comint-*.
8898         (sql-product-alist, sql-mode-menu): Rename as above and
8899         :sqli-connect-func to :sqli-comint-func.
8900         (sql-connection): New variable.
8901         (sql-interactive-mode): Set it.
8902         (sql-connection-alist): New variable.
8903         (sql-connect): New function.
8904         (sql--alt-buffer-part, sql--alt-if-not-empty)
8905         (sql-make-alternate-buffer-name): Improved alternative buffer name.
8907 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8909         * image-mode.el (image-bookmark-make-record): Do not set context
8910         in an image (Bug#6650).
8912 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8914         * simple.el (select-active-region): New function.
8915         (push-mark-command, set-mark, activate-mark)
8916         (handle-shift-selection): Use it.
8917         (deactivate-mark): Don't check for size of region.
8919         * mouse.el (mouse-drag-track): Use select-active-region.
8921 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
8923         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8924         "--dired" stronger.
8926 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8928         * term/x-win.el (x-select-enable-primary): Change default to nil.
8929         (x-select-enable-clipboard): Add :version keyword.
8931         * mouse.el (mouse-drag-copy-region):
8932         * simple.el (select-active-regions): Likewise.
8934 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
8936         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8937         (vc-coding-system-for-diff): Use it to decide whether to inherit
8938         from the file the EOL format for reading the diffs of that file.
8939         (Bug#4451)
8941 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
8943         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8944         unibyte, so compressed attachments are not compressed again.
8946 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
8948         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8949         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8950         (tramp-find-shell): Simplify setting connection property.
8951         (tramp-get-ls-command): Make test for "--color=never" stronger.
8953 2010-07-15  Simon South  <ssouth@member.fsf.org>
8955         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8956         blocks within record declarations (i.e. variant parts) correctly.
8958 2010-07-15  Simon South  <ssouth@member.fsf.org>
8960         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8961         over literal tokens when parsing so newlines aren't "absorbed" by
8962         single-line comments.  Corrects the indentation of case blocks
8963         that have a comment on the first line.
8965 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
8967         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8968         by Drew Adams (Bug#5504).
8970 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
8972         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8973         now that Unicode is used (Bug#6594).
8975 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
8977         * term/x-win.el (x-select-enable-clipboard): Default to t.
8978         (x-initialize-window-system): Don't overwrite Paste menu item.
8980         * simple.el (select-active-regions): Default to t.
8981         (push-mark-command): Don't overwrite primary with empty string.
8983         * mouse.el: Bind mouse-2 to mouse-yank-primary.
8984         (mouse-drag-copy-region): Default to nil.
8986         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8987         Cut/Copy/Paste menu bar items.
8989 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8991         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8992         Patch applied by Karl Fogel.
8994         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8995         and `bookmark-current-buffer' if they have been already set in
8996         another buffer (e.g gnus-art).
8998 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
8999             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9001         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9003         * bookmark.el (bookmark-make-record-default): Allow unneeded
9004         information to be omitted from the record.
9006         Adjust declarations and calls:
9008         * info.el (bookmark-make-record-default): Adjust declaration.
9009         (Info-bookmark-make-record): Adjust call.
9011         * woman.el (bookmark-make-record-default): Adjust declaration.
9012         (woman-bookmark-make-record): Adjust call.
9014         * man.el (bookmark-make-record-default): Adjust declaration.
9015         (Man-bookmark-make-record): Adjust call.
9017         * image-mode.el (bookmark-make-record-default): Adjust declaration.
9019         * doc-view.el (bookmark-make-record-default): Adjust declaration.
9021 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9023         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9024         This is also from Thierry Volpiatto's patch in bug #6444.  However,
9025         because it was extraneous to the functional change in that patch,
9026         and causes a re-indentation, I am committing it separately.
9028 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9030         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9031         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9032         Patch applied by Karl Fogel (Bug#6444).
9034 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
9036         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9038 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
9040         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9041         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
9042         (ns-alternatives-map): Change S-tab binding to backtab
9043         (bug#6616).
9045         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9046         under ns.
9048 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
9050         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9051         (Bug#5806)
9053         * language/tv-util.el (tai-viet-re): Remove format.
9055 2010-07-12  Kenichi Handa  <handa@m17n.org>
9057         * language/hebrew.el: Remove no-byte-compile declaration.
9058         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
9059         composition-function-table for 3-character looking back.
9060         (hebrew-font-get-precomposed): New function.
9061         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9063 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
9065         * mouse.el (mouse-drag-track): Handle select-active-regions
9066         (Bug#6612).
9068 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
9070         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9071         empty argument to gvfs-copy.
9073 2010-07-10  Glenn Morris  <rgm@gnu.org>
9075         * calendar/calendar.el (calendar-week-end-day): New function.
9076         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9077         Respect calendar-week-start-day.  (Bug#6606)
9078         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9079         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9080         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9081         respect calendar-week-start-day.
9083 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
9085         * simple.el (use-region-p): Doc fix (Bug#6607).
9087 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
9089         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9090         Add regexps for cucumber and ruby.
9092 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
9094         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9095         (epa-file-insert-file-contents): Hack to prevent
9096         find-file from opening empty buffer when decryption failed
9097         (bug#6568).
9099 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
9101         * textmodes/ispell.el (ispell-alternate-dictionary):
9102         Use file-readable-p.
9103         Return nil if no word-list is found at default locations.
9104         (ispell-complete-word-dict): Default to nil.
9105         (ispell-command-loop): Use 'word-list' when using lookup-words.
9106         (lookup-words): Use ispell-complete-word-dict or
9107         ispell-alternate-dictionary.  Check for word-list availability
9108         and handle errors if needed with better messages (Bug#6539).
9109         (ispell-complete-word): Use ispell-complete-word-dict or
9110         ispell-alternate-dictionary.
9112 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
9114         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9115         builtins (BufferError, BytesWarning, WindowsError; callables
9116         bin, bytearray, bytes, format, memoryview, next, print; __package__).
9118 2010-07-07  Glenn Morris  <rgm@gnu.org>
9120         * play/zone.el (top-level): Do not require timer, tabify, or cl.
9121         (zone-shift-left): Ignore intangibility, and any errors from
9122         forward-char.
9123         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
9124         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9125         deleting, and copying text properties.
9126         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9127         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9128         to point-max is hard.
9129         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9130         (zone-fill-out-screen): Ignore intangibility.
9132 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
9134         * menu-bar.el (menu-bar-mode):
9135         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9136         if it has been set.
9138         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9139         word/line selection (Bug#6565).
9141 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
9143         * net/dbus.el (dbus-send-signal): Declare function.
9145 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
9147         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9148         (dbus-register-property): New optional argument EMITS-SIGNAL.
9149         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9151 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
9153         * mouse.el (mouse-drag-overlay): Variable deleted.
9154         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9155         (mouse--remap-link-click-p): New function.
9156         (mouse-drag-track): Handle dragging by using temporary Transient
9157         Mark mode, instead of a special overlay.
9158         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9159         mouse-show-mark.
9161         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9162         deleted.
9164 2010-07-02  Juri Linkov  <juri@jurta.org>
9166         * autoinsert.el (auto-insert-alist): Fix readability
9167         by using dotted pair notation for lambda.
9169 2010-07-02  Juri Linkov  <juri@jurta.org>
9171         * faces.el (read-face-name): Rename arg `string-describing-default'
9172         to `default'.  Doc fix.  Display the default value in quotes
9173         in the prompt.  With empty input, return the `default' arg,
9174         unless the default value is a string (in which case return nil).
9175         (describe-face): Replace the string `default' arg of `read-face-name'
9176         with the symbol `default'.
9178 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
9180         * emulation/viper-cmd.el (viper-delete-backward-char)
9181         (viper-del-backward-char-in-insert)
9182         (viper-del-backward-char-in-replace, viper-change)
9183         (viper-backward-indent): Replace delete-backward-char with
9184         delete-char (Bug#6552).
9186 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
9188         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9190 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9192         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9193         argument passed to frame-creation-function (Bug#5378).
9195         * faces.el (x-handle-named-frame-geometry)
9196         (x-handle-reverse-video, x-create-frame-with-faces)
9197         (face-set-after-frame-default, tty-create-frame-with-faces):
9198         Don't separately consult default-frame-alist.  It is now passed as the
9199         PARAMETER argument.
9201 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
9203         * startup.el (command-line): Don't call tool-bar-setup in a
9204         tty-only build.
9206 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9208         * ruler-mode.el (ruler--save-header-line-format): New fun.
9209         (ruler-mode): Use it as a setter function, so as not to overwrite
9210         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9212 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
9214         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
9215         (vc-root-diff, vc-print-root-log, vc-log-incoming)
9216         (vc-log-outgoing): Use it.
9217         (vc-diff-internal): Set diff-vc-backend.
9219         * vc/diff-mode.el (diff-vc-backend): New var.
9221 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
9223         * dynamic-setting.el (font-setting-change-default-font):
9224         Remove call to message.
9226 2010-06-28  Kenichi Handa  <handa@m17n.org>
9228         * international/quail.el (quail-insert-kbd-layout): Fix the
9229         showing of untranslated characters.
9231 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
9233         * simple.el (delete-active-region): New option.
9234         (delete-backward-char): Implement in Lisp.
9235         (delete-forward-char): New command.
9237         * mouse.el (mouse-region-delete-keys): Delete.
9238         (mouse-show-mark): Simplify.
9240         * bindings.el (global-map): Bind delete and DEL, the former to
9241         delete-forward-char.
9243 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
9245         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9246         (ruby-mode): Bind indent-line-function (Bug#5119).
9248 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9250         * startup.el (command-line): Recognize "0" X resource value.
9252 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9254         * startup.el (command-line): Use X resources to set the value of
9255         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9257         * menu-bar.el (menu-bar-mode):
9258         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9259         Set init-value to t.
9261         * frame.el (frame-notice-user-settings): Don't change
9262         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9263         vice versa (Bug#2249).
9265 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
9267         * w32-fns.el (w32-convert-standard-filename): Doc fix.
9269 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
9271         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9272         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9274         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9275         default directories are expanded (Bug#6143).
9277 2010-06-24  Juri Linkov  <juri@jurta.org>
9279         * minibuffer.el (completions-format): Change default from nil to
9280         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
9282 2010-06-24  Juri Linkov  <juri@jurta.org>
9284         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9285         buffer-locally to lambda that re-runs the vc diff command.
9286         (Bug#6447)
9288 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
9290         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9291         echo area is in use (Bug#3412).
9293 2010-06-22  Glenn Morris  <rgm@gnu.org>
9295         * textmodes/texinfmt.el (texinfo-format-region)
9296         (texinfo-raise-lower-sections, texinfo-format-separate-node)
9297         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9298         (texinfo-format-option, texinfo-noindent):
9299         Use line-beginning-position and line-end-position.
9301         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9302         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9303         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9304         utf-8 characters.
9306 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
9308         * play/zone.el (zone-fall-through-ws): Fix next-line ->
9309         forward-line fallout.
9311 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
9313         * mouse.el (mouse-appearance-menu): Add docstring.
9315         * help.el (describe-key): Print up-event using key-description.
9317 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
9319         * net/zeroconf.el (zeroconf-resolve-service)
9320         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9321         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9323 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
9325         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9327 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
9329         Avoid displaying files with a nil state in vc-dir.
9330         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9331         cases that cause insertion.
9332         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9333         with a nil state.
9335 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9337         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9339 2010-06-29  Leo Liu  <sdl.web@gmail.com>
9341         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
9343 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9345         * generic-x.el (bat-generic-mode): Fix regexp for command line
9346         switches (Bug#5719).
9348 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
9350         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9351         of nconc to avoid pure storage error (Bug#6239).
9353 2010-06-27  Christoph Scholtes  <cschol2112@googlemail.com>
9355         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9356         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9357         bindings of bookmark-automatically-show-annotations (Bug#6515).
9359 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
9361         * arc-mode.el (archive-zip-extract): Don't quote the file name on
9362         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
9364 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9366         * comint.el (make-comint, make-comint-in-buffer): Mention return
9367         value in the docstrings.  (Bug#6498)
9369 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
9371         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9372         since it is not present when using some non-default switches.
9374 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
9376         * simple.el (compose-mail): Fix doc string to refer to
9377         `compose-mail-user-agent-warnings', instead of to the
9378         nonexistent `compose-mail-check-user-agent'.
9380 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
9382         Fix an indentation bug:
9384         * progmodes/cc-mode.el (c-common-init): Initialize c-new-BEG/END.
9385         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9386         of existing values.
9388         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9389         (c-clear->-pair-props-if-match-before): now return t when they've
9390         cleared properties, nil otherwise.
9391         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9392         by taking account of the existing value.
9394         * progmodes/cc-defs.el
9395         (c-clear-char-property-with-value-function): Fix this to clear the
9396         property rather than overwriting it with nil.
9398 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
9400         * emacs-lisp/package.el (package-print-package): Add link to
9401         package description via describe-package.
9402         (describe-package-1): List package requirements.  Add button to
9403         perform installation.
9404         (package-menu-describe-package): New command.
9406         * help-mode.el (help-package): New button type.
9408 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
9410         * emacs-lisp/package.el: Move package-list-packages binding to
9411         menu-bar.el.
9412         (describe-package, describe-package-1, package--dir): New funs.
9413         (package-activate-1): Use package--dir.
9415         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9417         * help-mode.el (help-package-def): New button type.
9419         * menu-bar.el: Move package-list-packages binding here from
9420         package.el.
9422 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
9424         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
9426 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9428         * emacs-lisp/edebug.el (edebug-read-list):
9429         Phase out old-style backquotes.
9431 2010-06-17  Juri Linkov  <juri@jurta.org>
9433         * help-mode.el (help-mode): Set buffer-local variable
9434         revert-buffer-function to help-mode-revert-buffer.
9435         (help-mode-revert-buffer): New function.
9437         * info.el (Info-revert-find-node): Check for major-mode Info-mode
9438         before popping to "*info*" (like in other Info functions).
9439         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
9440         old-history-forward.  Pop to old-buffer-name or "*info*" to
9441         recreate the killed buffer.  Set Info-history-forward from
9442         old-history-forward.
9443         (Info-breadcrumbs-depth): Add :group and :version.
9445 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
9447         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9449 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
9451         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9452         for languages like Portuguese with pt_{BR,PT} and no plain pt.
9454 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
9456         * emacs-lisp/package.el (package-menu-mode-map):
9457         Move initialization into declaration.
9459         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9461 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
9463         * emacs-lisp/package.el (package-archive-base): Point to
9464         elpa.gnu.org.
9465         (package-enable, package-load-list): New defcustoms.
9466         (package-user-dir, package-directory-list): Turn into defcustoms.
9467         Don't include package-user-dir in package-directory-list.
9468         (package--builtins-base): Don't include Emacs as a "package".
9469         (package-subdirectory-regexp): New var.
9470         (package-load-all-descriptors, package-compute-transaction)
9471         (package-download-transaction): Obey package-load-list.
9472         (package-activate-1): Rename from package-do-activate.
9473         (package-list-packages-internal): Check package-load-list.
9474         (package-load-descriptor, package-generate-autoloads)
9475         (package-unpack, package-unpack-single)
9476         (package--read-archive-file, package-delete):
9477         Use expand-file-name.
9479         * emacs-lisp/package-x.el: New file.  Package uploading
9480         functionality split out from package.el.
9482         * startup.el (command-line): Load packages after reading init file.
9484 2010-06-17  Tom Tromey  <tromey@redhat.com>
9486         * emacs-lisp/package.el: New file.
9488 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9490         Fix vc-annotate for renamed files when using Git.
9491         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9492         ls-files.  Doe not pass the object as a file name to cat-file, it
9493         is not a file name.
9494         (vc-git-annotate-command): Pass the file name using -- to avoid
9495         ambiguity with the revision.
9496         (vc-git-previous-revision): Pass a relative file name.
9498 2010-06-22  Glenn Morris  <rgm@gnu.org>
9500         * progmodes/js.el (js-mode-map): Use standard capitalization and
9501         ellipses for menu entries.
9503         * wid-edit.el (widget-complete): Doc fix.
9505 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
9507         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9509 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9511         Fix annotating other revisions for renamed files in vc-annotate.
9512         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9513         VC backend.  Use it when non-nil.
9514         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9515         (Bug#6487).
9517         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9518         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9519         Do not pass the file name to the 'previous-revision call when we
9520         don't want a file diff.  (Bug#6489)
9522 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9524         Fix finding revisions for renamed files in vc-annotate.
9525         * vc/vc.el (vc-find-revision): Add an optional argument for
9526         the VC backend.  Use it when non-nil.
9527         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9528         backend to vc-find-revision.  (Bug#6487)
9530 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9532         Fix reading file names in Git annotate buffers.
9533         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9534         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
9536 2010-06-20  Alan Mackenzie  <acm@muc.de>
9538         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9539         in file local variables, set it first.
9541 2010-06-19  Glenn Morris  <rgm@gnu.org>
9543         * descr-text.el (describe-char-unicode-data): Insert separating
9544         space when needed.  (Bug#6422)
9546         * progmodes/idlwave.el (idlwave-action-and-binding):
9547         Fix typo in 2009-12-03 change.  (Bug#6450)
9549 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9551         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9552         handling for `lambda' (misunderstanding).
9554 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
9556         * calc/calc-poly.el (math-accum-factors): Make sure that
9557         constants aren't distributed after they are factored out.
9559 2010-06-16  Juri Linkov  <juri@jurta.org>
9561         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9562         `list-colors-print'.  (Bug#6332)
9564         * subr.el (read-quoted-char): Fix up last change (bug#6290).
9566 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9568         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9569         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
9571         * font-lock.el (font-lock-major-mode): Rename from
9572         font-lock-mode-major-mode to distinguish it from
9573         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9574         (font-lock-set-defaults):
9575         * font-core.el (font-lock-default-function): Adjust users.
9576         (font-lock-mode): Don't set it at all.
9578 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9580         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9582 2010-06-16  Glenn Morris  <rgm@gnu.org>
9584         * calendar/appt.el (appt-time-msg-list): Doc fix.
9585         (appt-check): Let-bind appt-warn-time.
9586         (appt-add): Make the 3rd argument optional.
9587         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
9588         Only add WARNTIME to the output list if non-nil.
9590 2010-06-16  Ivan Kanis  <apple@kanis.eu>
9592         * calendar/appt.el (appt-check): Let the 3rd element of
9593         appt-time-msg-list specify the warning time.
9594         (appt-add): Add new argument with the warning time.  (Bug#5176)
9596 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9598         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9599         older than version 1.6.  (Bug#6361)
9601 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
9603         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9604         used by cl-do-arglist.  (Bug#6408)
9606 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
9608         * textmodes/ispell.el (ispell-dictionary-base-alist):
9609         Fix portuguese casechars/not-casechars for missing 'çÇ'.
9610         Suggested by Rolando Pereira (bug#6434).
9612 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
9614         * facemenu.el (list-colors-sort): Doc fix.
9616 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9618         * progmodes/sql.el (sql-connect-mysql): Fix typo.
9620 2010-06-14  Juri Linkov  <juri@jurta.org>
9622         Add sort option `list-colors-sort'.  (Bug#6332)
9623         * facemenu.el (color-rgb-to-hsv): New function.
9624         (list-colors-sort): New defcustom.
9625         (list-colors-sort-key): New function.
9626         (list-colors-display): Doc fix.  Sort list according to the option
9627         `list-colors-sort'.
9628         (list-colors-print): Add HSV values to `help-echo' property of
9629         RGB strings.
9631 2010-06-14  Juri Linkov  <juri@jurta.org>
9633         * compare-w.el: Move to the "vc" subdirectory.
9635 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9637         * image-mode.el (image-mode-map): Remap left-char and right-char.
9639         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9641 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
9643         * term/common-win.el (x-colors): Add all the color names defined
9644         in rgb.txt (Bug#6332).
9646         * facemenu.el (list-colors-print): Don't print extra names if it
9647         will overflow the window width.
9649         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9650         change (Bug#6343).
9652 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
9654         * files.el (make-directory): Doc fix (bug#6396).
9656 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
9658         * net/tramp.el (tramp-remote-process-environment): Protect version
9659         string by apostroph.
9660         (tramp-shell-prompt-pattern): Do not use a shy group in case of
9661         XEmacs.
9662         (tramp-file-name-for-operation): Add `call-process-region'.
9663         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9665         * net/tramp-compat.el (top): Do not autoload
9666         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
9667         only when `start-file-process' is not bound.
9668         (tramp-advice-file-expand-wildcards): Do not use
9669         `tramp-handle-file-remote-p'.
9670         (tramp-compat-make-temp-file): Handle the case, that
9671         `make-temp-file' has no third argument EXTENSION.
9673 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
9675         * makefile.w32-in (WINS_BASIC): Include new directory vc.
9677         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9679 2010-06-11  Juri Linkov  <juri@jurta.org>
9681         * finder.el (finder-known-keywords): Add keyword "vc"
9682         for version control.
9684         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9685         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9686         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9687         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9689 2010-06-11  Juri Linkov  <juri@jurta.org>
9691         Move version control related files to the "vc" subdirectory.
9692         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9693         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9694         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9695         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9696         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9697         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9698         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9699         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9700         Move files to the "vc" subdirectory.
9702 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
9704         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9705         (Bug#6367).
9707 2010-06-11  Stephen Eglen  <stephen@gnu.org>
9709         * shell.el: Bind `shell-resync-dirs' to M-RET.
9711 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
9713         * notifications.el: Move file from lisp/net, because it is
9714         supposed to talk locally to the user.
9716 2010-06-10  Julien Danjou  <julien@danjou.info>
9718         * net/notifications.el (notifications-on-action-signal)
9719         (notifications-on-closed-signal): Pass notification id as first
9720         argument to the callback functions.  Add docstrings.
9721         (notifications-notify): Fix docstring.
9723 2010-06-10  Glenn Morris  <rgm@gnu.org>
9725         * emacs-lisp/authors.el (authors-ignored-files)
9726         (authors-valid-file-names): Add some files.
9728 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9730         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9731         merge conflict, giving preference to the emacs-23 version of the code.
9733 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9735         * emacs-lisp/advice.el (ad-compile-function):
9736         Define warning-suppress-types before we let-bind it (bug#6275).
9738         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9739         declare it, make it buffer-local and permanent-local (bug#6324).
9740         (vc-resynch-window): Adjust name.
9741         * vc-hooks.el (vc-find-file-hook): Adjust name.
9743 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
9745         * net/notifications.el (notifications-notify): Fix docstring.
9747 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9749         Update to Unicode 6.0.0 beta.
9750         * international/charprop.el: Update copyright.
9751         * international/mule-cmds.el (ucs-names): Update character ranges.
9752         * international/uni-bidi.el:
9753         * international/uni-category.el:
9754         * international/uni-combining.el:
9755         * international/uni-comment.el:
9756         * international/uni-decimal.el:
9757         * international/uni-decomposition.el:
9758         * international/uni-digit.el:
9759         * international/uni-lowercase.el:
9760         * international/uni-mirrored.el:
9761         * international/uni-name.el:
9762         * international/uni-numeric.el:
9763         * international/uni-old-name.el:
9764         * international/uni-titlecase.el:
9765         * international/uni-uppercase.el: Regenerate.
9767 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9769         * emacs-lisp/smie.el (comment-string-strip): Declare function.
9770         (smie-precs-precedence-table): Fix typo in docstring.
9772         * vc-mtn.el (log-edit-extract-headers): Declare function.
9774         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9776         * net/notifications.el (dbus-register-signal): Declare function.
9777         (notifications-notify): Fix typos and reflow docstring.
9779 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9781         Improve VC create/retrieve tag/branch.
9782         * vc.el (vc-create-tag): Do not read the directory name for VCs
9783         with repository revision granularity.  Adjust the tag/branch
9784         prompt.  Reset VC properties.
9785         (vc-retrieve-tag): Do not read the directory name for VCs
9786         with repository revision granularity.  Reset VC properties.
9788 2010-06-09  Julien Danjou  <julien@danjou.info>
9790         * net/notifications.el: New file.
9792 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9794         Add optional support for resetting VC properties.
9795         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9796         call vc-file-clearprops when true.
9797         (vc-resynch-buffer): Add new optional argument, pass it down.
9798         (vc-resynch-buffers-in-directory): Likewise.
9800         Improve support for special markup in the VC commit message.
9801         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9802         * vc-hg.el (vc-hg-checkin): Add support for Date:.
9803         * vc-git.el (vc-git-checkin):
9804         * vc-bzr.el (vc-bzr-checkin): Likewise.
9806 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9808         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9809         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9811 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
9813         * iimage.el: Remove images as soon as the underlying text is modified.
9814         (iimage-modification-hook): New function.
9815         (iimage-mode-buffer): Use it.
9817 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9819         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9820         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
9821         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
9822         (smie-indent-keyword): Add handling of open-paren keywords.
9823         (smie-indent-comment-continue): Don't assume comment-continue.
9825 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
9827         * window.el (pop-to-buffer): Remove the conditional that
9828         compares new-window and old-window, so it will reselect
9829         the selected window unconditionally.
9830         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9832 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9834         * emacs-lisp/smie.el (smie-indent-offset-after)
9835         (smie-indent-forward-token, smie-indent-backward-token): New functions.
9836         (smie-indent-after-keyword): Use them.
9837         (smie-indent-fixindent): Only applies to the indentation of the BOL.
9838         (smie-indent-keyword): Tweak the black magic.
9839         (smie-indent-comment-continue): Strip comment-continue before use.
9840         (smie-indent-functions): Indent comments before keywords.
9842 2010-06-06  Juri Linkov  <juri@jurta.org>
9844         * isearch.el (isearch-lazy-highlight-search): Fix looping
9845         by checking for empty match.  This syncs this loop with the
9846         similar loop in `isearch-search'.  (Bug#6362)
9848 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
9850         * net/dbus.el (dbus-register-method): Declare function.
9851         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9852         (dbus-introspect): Doc fix.
9853         (dbus-event-bus-name, dbus-introspect-get-interface)
9854         (dbus-introspect-get-argument): Reflow docstrings.
9856 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
9858         vc-log-incoming/vc-log-outgoing fixes for Git.
9859         * vc-git.el (vc-git-log-view-mode): Fix font lock for
9860         incoming/outgoing logs.
9861         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9862         instead of vc-git-compute-remote.
9863         (vc-git-compute-remote): Remove.
9865 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
9867         * term/common-win.el (x-colors): Add "dark green" and "dark
9868         turquoise" (Bug#6332).
9870 2010-06-04  Juri Linkov  <juri@jurta.org>
9872         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9873         Instead of setting `replace' to t and replacing the same string
9874         with itself, don't do certain actions when
9875         kill-do-not-save-duplicates is non-nil and string is equal to car
9876         of kill-ring: don't call menu-bar-update-yank-menu, don't push
9877         interprogram-paste strings to kill-ring, and don't push the input
9878         argument `string' to kill-ring.
9879         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9881 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9883         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9885 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
9887         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9888         (tramp-gvfs-handler-mounted-unmounted)
9889         (tramp-gvfs-connection-mounted-p): Handle default-location.
9891         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9892         move files to trash.
9894 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9896         * international/mule-cmds.el (nonascii-insert-offset)
9897         (nonascii-translation-table): Add obsolescence information.
9899         * international/mule.el (make-translation-table-from-vector): Doc fix.
9901 2010-06-03  Glenn Morris  <rgm@gnu.org>
9903         * desktop.el (desktop-clear-preserve-buffers):
9904         Add "*Warnings*" buffer.  (Bug#6336)
9906 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
9908         vc-log-incoming/vc-log-outgoing improvements for Git.
9909         * vc-git.el (vc-git-log-outgoing): Use the same format as the
9910         short log.
9911         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
9913         Add bindings for vc-log-incoming and vc-log-outgoing.
9914         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9915         and vc-log-outgoing.
9916         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9917         and vc-log-outgoing.
9919 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9921         * net/rcirc.el (rcirc-sort-nicknames): Remove.
9922         (rcirc-handler-366): Always sort nicknames.
9924 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
9926         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9928 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9930         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9932 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9934         * net/rcirc.el (rcirc-sort-nicknames): Change default.
9935         (rcirc-sort-nicknames-join): Avoid setq.
9937 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9939         * net/rcirc.el (rcirc-sort-nicknames): New custom.
9940         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9941         (rcirc-handler-366): Use them.
9943 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9945         Split smie-indent-calculate into more manageable chunks.
9946         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9947         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9948         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9949         (smie-indent-exps): Extract from smie-indent-calculate.
9950         (smie-indent-functions): New var.
9951         (smie-indent-functions): Use them.
9953 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9955         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9956         (smie-indent-calculate): Simplify and cleanup.
9958 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
9960         * net/tramp-gvfs.el (top): Require url-util.
9961         (tramp-gvfs-mount-point): Remove.
9962         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9963         New defuns.
9964         (with-tramp-dbus-call-method): Format trace message.
9965         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9966         Implement backup call, when operation on local files fails.
9967         Use progress reporter.  Flush properties of changed files.
9968         (tramp-gvfs-handle-make-directory): Make more traces.
9969         (tramp-gvfs-url-file-name): Hexify file name in url.
9970         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9971         into account for the resulting file name.
9972         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9973         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
9974         (tramp-gvfs-handler-mounted-unmounted)
9975         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9976         attribute "default_location".  Set "prefix" property.
9977         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9978         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9979         exists.  Raise an error, if not (due to a corresponding answer
9980         "no" in interactive questions, for example).
9982 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
9984         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9986 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
9988         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9989         right-*.  (Bug#6265)
9991 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
9993         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9994         * vc-git.el (vc-git-compute-remote): New function.
9995         (vc-git-log-outgoing): Use it instead of hard coding a value.
9996         (vc-git-log-incoming): New function.
9998         Improve state updating for VC tag commands.
9999         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10000         to update the state of all buffers in the directory.
10002         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10004 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10006         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10007         `file-directory-p' to the filename part rather than to the whole text.
10009 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10011         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10013 2010-05-31  Drew Adams  <drew.adams@oracle.com>
10015         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10017 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
10019         * subr.el (momentary-string-display): Just use read-event to read
10020         the exit event (Bug#6238).
10022 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
10024         * international/mule.el (define-coding-system): Doc fix (bug#6313).
10026 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10028         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10029         Suggested by Eli Zaretskii <eliz@gnu.org>.
10031 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10033         * minibuffer.el (completion-file-name-table): Don't return a boundary
10034         past the end of `string' (bug#6299).
10035         (completion--file-name-table): Delegate to completion-file-name-table
10036         for the `boundaries' case.
10038 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10040         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10041         movement commands.
10043         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10044         `path-separator', but maintain compatibility with Emacs 20.2.
10046 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10048         * server.el (server-process-filter): Receive parent-id argument
10049         from emacsclient.
10050         (server-create-window-system-frame): New arg.  Pass parent-id as
10051         frame parameter.
10053 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
10055         Bidi-sensitive word movement with arrow keys.
10056         * subr.el (right-arrow-command, left-arrow-command): Move to
10057         bindings.el.
10059         * bindings.el (right-char, left-char): Move from subr.el and
10060         rename from right-arrow-command and left-arrow-command.
10061         (right-word, left-word): New functions.
10062         (global-map) <right>: Bind to right-char.
10063         (global-map) <left>: Bind to left-char.
10064         (global-map) <C-right>: Bind to right-word.
10065         (global-map) <C-left>: Bind to left-word.
10067         * ls-lisp.el (ls-lisp-classify-file): New function.
10068         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10069         (ls-lisp-classify): Call ls-lisp-classify-file.
10070         (insert-directory): Remove blanks from switches.
10072 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10074         * ansi-color.el: Delete unused escape sequences (Bug#6085).
10075         (ansi-color-drop-regexp): New constant.
10076         (ansi-color-apply, ansi-color-filter-region)
10077         (ansi-color-apply-on-region): Delete unrecognized control sequences.
10078         (ansi-color-apply): Build string list before calling concat.
10080 2010-05-28  Juri Linkov  <juri@jurta.org>
10082         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10083         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10084         (Bug#5270)
10086 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10088         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10089         to ignored backtrace functions.
10090         (with-progress-reporter): Expand docstring.
10091         (tramp-handle-delete-file): Implement TRASH argument.
10092         (tramp-get-remote-trash): New defun.
10094 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10096         * net/tramp-compat.el (tramp-compat-delete-file):
10097         Use `symbol-value' for backward compatibility.
10099         * net/tramp.el (tramp-handle-make-symbolic-link)
10100         (tramp-handle-load)
10101         (tramp-do-copy-or-rename-file-via-buffer)
10102         (tramp-do-copy-or-rename-file-directly)
10103         (tramp-do-copy-or-rename-file-out-of-band)
10104         (tramp-handle-process-file, tramp-handle-call-process-region)
10105         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10106         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10107         (tramp-delete-temp-file-function): Use `delete-file' instead
10108         of `tramp-compat-delete-file'.
10110         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10111         (tramp-fish-handle-make-symbolic-link)
10112         (tramp-fish-handle-process-file): Use `delete-file' instead
10113         of `tramp-compat-delete-file'.
10115         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10116         Use `delete-file' instead of `tramp-compat-delete-file'.
10118         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
10119         Use `delete-file' instead of `tramp-compat-delete-file'.
10121         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10122         Use `delete-file' instead of `tramp-compat-delete-file'.
10124         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10125         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10126         (tramp-smb-handle-write-region): Use `delete-file' instead of
10127         `tramp-compat-delete-file'.
10128         (tramp-smb-handle-delete-directory): Use 'trash as arg.
10130 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10132         * dired.el (dired-delete-file): New arg TRASH.
10133         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
10134         (dired-do-flagged-delete, dired-do-delete): Use trash.
10136         * speedbar.el (speedbar-item-delete): Allow trashing.
10138         * files.el (delete-directory): New arg TRASH.
10140         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10141         (ange-ftp-rename-remote-to-remote)
10142         (ange-ftp-rename-local-to-remote)
10143         (ange-ftp-rename-remote-to-local, ange-ftp-load)
10144         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10145         `delete-file'.
10146         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10147         allow trashing.
10149         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10150         handle new TRASH arg of `delete-file'.
10152         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10153         (tramp-handle-make-symbolic-link, tramp-handle-load)
10154         (tramp-do-copy-or-rename-file-via-buffer)
10155         (tramp-do-copy-or-rename-file-directly)
10156         (tramp-do-copy-or-rename-file-out-of-band)
10157         (tramp-handle-process-file, tramp-handle-call-process-region)
10158         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10159         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10160         (tramp-delete-temp-file-function): Use null TRASH arg in
10161         tramp-compat-delete-file call.
10163         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10164         (tramp-fish-handle-delete-file)
10165         (tramp-fish-handle-make-symbolic-link)
10166         (tramp-fish-handle-process-file): Use null TRASH arg in
10167         `tramp-compat-delete-file' call.
10169         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10170         arg in `tramp-compat-delete-file' call.
10172         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10173         (tramp-gvfs-handle-write-region): Use null TRASH arg in
10174         `tramp-compat-delete-file' call.
10176         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10177         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10178         `tramp-compat-delete-file' call.
10180         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10181         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10182         (tramp-smb-handle-write-region): Use null TRASH arg in
10183         tramp-compat-delete-file call.
10184         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10185         (tramp-smb-handle-delete-file): Rename arg.
10187         * diff.el (diff-sentinel):
10188         * epg.el (epg--make-temp-file, epg-decrypt-string)
10189         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10190         * jka-compr.el (jka-compr-partial-uncompress)
10191         (jka-compr-call-process, jka-compr-write-region):
10192         * server.el (server-sentinel): Remove optional arg from
10193         delete-file, reverting 2010-05-03 change.
10195 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10197         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10198         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10200 2010-05-27  Kenichi Handa  <handa@m17n.org>
10202         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10203         element of GSTRING is nil.
10205 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10207         * emacs-lisp/smie.el (smie-forward-token-function)
10208         (smie-backward-token-function): New vars.
10209         (smie-backward-sexp, smie-forward-sexp)
10210         (smie-indent-hanging-p, smie-indent-calculate): Use them.
10211         (smie-default-backward-token): Rename from smie-backward-token and
10212         skip comments.
10213         (smie-default-forward-token): Rename from smie-forward-token and
10214         skip comments.
10215         (smie-next-sexp): Handle nil results from next-token.
10216         (smie-indent-calculate): Add a new case for special `fixindent' comments.
10218 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10220         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10221         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10223 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
10225         * htmlfontify.el (hfy-face-resolve-face): New function.
10226         (hfy-face-to-style): Use it (Bug#6279).
10228 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10230         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10231         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10233 2010-05-26  Glenn Morris  <rgm@gnu.org>
10235         * emulation/edt.el (edt-load-keys): Use locate-library.
10237 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
10239         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10240         (log-edit-changelog-entries): Doc fix.
10241         (log-edit-changelog-insert-entries): Args changed.
10242         Rename relative filenames in ChangeLog entries.  Delete tabs.
10243         (log-edit-insert-changelog-entries): Reorganize return value of
10244         `log-edit-changelog-entries' to pass filenames to
10245         log-edit-changelog-insert-entries.
10247 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10249         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10250         `image-dired-dired-insert-marked-thumbs' to
10251         `image-dired-dired-toggle-marked-thumbs'.
10253         * image-dired.el: Require cl when compiling.
10254         (image-dired-dired-toggle-marked-thumbs): Rename from
10255         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
10256         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
10257         to 'no-dir.  Skip files whose names don't match
10258         `image-file-name-regexp'.  When file has a thumbnail overlay,
10259         delete it.  (Bug#5270)
10261 2010-05-25  Juri Linkov  <juri@jurta.org>
10263         * image-mode.el (image-mode): Add image-after-revert-hook to
10264         after-revert-hook.
10265         (image-after-revert-hook): New function.  (Bug#5669)
10267 2010-05-25  Juri Linkov  <juri@jurta.org>
10269         * image.el (image-animated-p): When delay between animated images
10270         is 0, set it to 10 (0.1 sec).  (Bug#6258)
10272 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
10274         * net/tramp.el (tramp-handle-insert-directory): Don't use
10275         `forward-word', its default syntax could be changed.
10277 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
10279         * net/tramp.el (tramp-progress-reporter-update): New defun.
10280         (with-progress-reporter): Use it.
10281         (tramp-process-actions):
10282         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10283         Preserve current message, in order to let progress reporter continue
10284         afterwards.  (Bug#6257)
10286 2010-05-25  Glenn Morris  <rgm@gnu.org>
10288         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10289         Add :version.
10291 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10293         * net/rcirc.el (rcirc-default-user-name): Change to "user".
10294         (rcirc-default-full-name): Change to "unknown".
10295         (rcirc-user-name-history): Add variable.
10297 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10298             Jonathan Rockway  <jon@jrock.us>
10300         * net/rcirc.el (rcirc-server-alist): Add :pass.
10301         (rcirc): When prompting for connection parameters, also prompt for
10302         username and password.
10303         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
10304         value to server when connecting.
10306 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10308         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10309         (smie-merge-prec2s): Pass the tables as separate args.
10310         (smie-bnf-precedence-table): Adjust call accordingly.
10311         (smie-prec2-levels): Set levels at the end.
10313         Replace Lisp calls to delete-backward-char by delete-char.
10314         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10315         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10316         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10317         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10318         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10319         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10320         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10321         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10322         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10323         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10324         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10325         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10326         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10327         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10328         delete-backward-char by calls to delete-char.
10330 2010-05-25  Kenichi Handa  <handa@m17n.org>
10332         * language/hebrew.el (hebrew-shape-gstring): New function.
10333         Register it in composition-function-table for all Hebrew combining
10334         characters.
10336 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10338         * epa.el (epa--select-keys): Don't explicitly delete the window since
10339         that can fail (e.g. sole window in frame).  Use dedication instead.
10341 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10343         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10345 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
10347         * image.el (image-refresh): Define as an alias for image-flush.
10349         * image-mode.el (image-toggle-display-image): Caller changed.
10351 2010-05-21  Juri Linkov  <juri@jurta.org>
10353         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10354         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
10355         whitespace, call wildcard-to-regexp on substrings and concat them
10356         with "\\|".  (Bug#6114)
10358 2010-05-21  Alan Mackenzie  <acm@muc.de>
10360         * progmodes/cc-engine.el (c-parse-state-get-strategy):
10361         Replace parameter `here' with `here-' and `here-plus', which sandwich
10362         any pertinent CPP construct.
10363         (c-remove-stale-state-cache-backwards): Fix a bug which happens
10364         when doing (c-parse-state) in a CPP construct: Exclude any "new"
10365         CPP construct from taking part in the scanning.
10367 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
10369         * net/tramp.el (tramp-do-copy-or-rename-file)
10370         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10371         Tune `with-progress-reporter' messages.
10372         (tramp-handle-vc-registered):
10373         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10374         (tramp-fish-handle-insert-file-contents)
10375         (tramp-fish-maybe-open-connection):
10376         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10377         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10378         (tramp-imap-handle-insert-file-contents)
10379         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10381 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
10383         * add-log.el (change-log-font-lock-keywords):
10384         Highlight all authors in multi-author entries.
10386         * smerge-mode.el (smerge-refine-ignore-whitespace)
10387         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10388         Fix typos in docstrings.
10389         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10391 2010-05-21  Glenn Morris  <rgm@gnu.org>
10393         * progmodes/fortran.el (fortran-mode):
10394         * progmodes/f90.el (f90-mode): Derive from prog-mode.
10396         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10397         having a relative path in src/Makefile.in.
10399 2010-05-20  Kevin Ryde  <user42@zip.com.au>
10401         * help-mode.el (help-make-xrefs): For Info node links turn
10402         newlines into spaces.  Link node names with newlines are matched
10403         by help-xref-info-regexp and buttonized, this change ensures they
10404         can be followed successfully with RET.  (Bug#6206)
10406 2010-05-20  Juri Linkov  <juri@jurta.org>
10408         * locate.el (locate): Use pop-to-buffer instead of
10409         switch-to-buffer-other-window.  (Bug#6204)
10411 2010-05-20  Juri Linkov  <juri@jurta.org>
10413         * replace.el (replace-highlight): Fix lazy-highlighting
10414         for `M-s w str M-% str RET'.
10416 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
10418         * isearch.el (isearch-yank-word-or-char): Pull next subword
10419         when `subword-mode' is activated.  (Bug#6220)
10421 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
10423         * isearch.el (isearch-update-post-hook): New hook.
10424         (isearch-update): Use the new hook.  (Bug#6225)
10426 2010-05-20  Juri Linkov  <juri@jurta.org>
10428         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10429         [f1], [help], and (char-to-string help-char) instead of "\C-h".
10430         (Bug#6222)
10432 2010-05-20  Juri Linkov  <juri@jurta.org>
10434         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10435         (Bug#6223)
10437 2010-05-20  Juri Linkov  <juri@jurta.org>
10439         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10440         FILE-NAME to read from the minibuffer when called interactively
10441         with prefix argument instead of using buffer-file-name.
10442         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10444         * dired.el: Update autoloads.
10446 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
10448         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10449         nxml-finish-element, for consistency with SGML mode.
10451         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10452         octave-close-block.
10454 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
10456         * composite.el: Require cl when compiling.
10457         (reference-point-alist, compose-gstring-for-graphic)
10458         (compose-gstring-for-terminal): Fix typos in docstrings.
10460 2010-05-19  Juri Linkov  <juri@jurta.org>
10462         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10463         set-window-parameter.
10465 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10467         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10468         where appropriate.
10469         (tramp-maybe-open-connection): Use it.
10471 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
10473         * simple.el (move-end-of-line): Make sure we are at line beginning
10474         before backing up to end of previous line.
10476 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10478         * password-cache.el (password-cache-remove): Fix docstring.
10480         * net/secrets.el: Autoload the widget functions.
10481         (secrets-search-items, secrets-create-item)
10482         (secrets-get-attributes, secrets-expand-item): Attributes will be
10483         stored on the password database without leading ":", as all other
10484         clients do as well.
10485         (secrets-mode): Fix docstring.
10486         (secrets-show-secrets): Provide it as autoloaded command only when
10487         D-Bus support is available.  Check existence of Secret Service API.
10489 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10491         * indent.el (indent-region): Deactivate region (bug#6200).
10493 2010-05-19  Glenn Morris  <rgm@gnu.org>
10495         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
10497 2010-05-19  Kenichi Handa  <handa@m17n.org>
10499         * composite.el: Register compose-gstring-for-graphic in
10500         composition-function-table only for combining characters (Mn, Mc, Me).
10502 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
10504         * calc/calc-trail.el (calc-trail-isearch-forward)
10505         (calc-trail-isearch-backward): Ensure that the new window
10506         point is set correctly.
10508 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10510         * subr.el (read-quoted-char): Resolve modifiers after key
10511         remapping (bug#6212).
10513 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
10515         Add visualization code for secrets.
10516         * net/secrets.el (secrets-mode): New major mode.
10517         (secrets-show-secrets, secrets-show-collections)
10518         (secrets-expand-collection, secrets-expand-item)
10519         (secrets-tree-widget-after-toggle-function)
10520         (secrets-tree-widget-show-password): New defuns.
10522 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10524         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10525         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10526         handled in smie-next-sexp.
10527         (smie-indent-calculate): Provide a starting indentation (so the
10528         recursion is well-founded ;-).
10530         Fix handling of non-associative equal levels.
10531         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10532         when it's not needed.
10533         (smie-op-left, smie-op-right): New functions.
10534         (smie-next-sexp): New function, extracted from smie-backward-sexp.
10535         Better handle equal levels to distinguish the associative case from
10536         the "multi-keyword construct" case.
10537         (smie-backward-sexp, smie-forward-sexp): Use it.
10539 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
10541         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10543         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10544         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10546 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10548         Provide a simple generic indentation engine and use it for Prolog.
10549         * emacs-lisp/smie.el: New file.
10550         * progmodes/prolog.el (prolog-smie-op-levels)
10551         (prolog-smie-indent-rules): New var.
10552         (prolog-mode-variables): Use them to configure SMIE.
10553         (prolog-indent-line, prolog-indent-level): Remove.
10555 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10557         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10558         order before computing the averages.
10560 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
10562         * calc/calc-vec.el (calc-histogram):
10563         (calcFunc-histogram): Allow vectors as inputs.
10564         (math-vector-avg): New function.
10566         * calc/calc-ext.el (math-group-float): Have the number of digits
10567         being grouped depend on the radix (Bug#6189).
10569 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
10571         * version.el (emacs-copyright, emacs-version): Don't define here,
10572         now that emacs.c defines it.
10574 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
10576         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10577         "Describe Language Environment" menu item.
10579         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10581         Bidi-sensitive movement with arrow keys.
10582         * subr.el (right-arrow-command, left-arrow-command): New functions.
10584         * bindings.el (global-map): Bind them to right and left arrow keys.
10586         Don't override standard definition of convert-standard-filename.
10587         * files.el (convert-standard-filename):
10588         Call w32-convert-standard-filename and dos-convert-standard-filename on
10589         the corresponding systems.
10591         * w32-fns.el (w32-convert-standard-filename): Rename from
10592         convert-standard-filename.  Doc fix.
10594         * dos-fns.el (dos-convert-standard-filename): Doc fix.
10595         (convert-standard-filename): Don't defalias.
10596         (register-name-alist, make-register, register-value)
10597         (set-register-value, intdos): Obsolete aliases for the
10598         corresponding dos-* functions and variables.
10599         (dos-intdos): Add a doc string.
10601 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
10603         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10604         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10605         (math-compose-tex-func):
10606         * calc/calccomp.el (math-compose-expr):
10607         * calc/calc-ext.el (math-format-flat-expr-fancy):
10608         * calc/calc-store.el (calc-read-var-name):
10609         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10611         * calc/calc.el (var-π, var-φ, var-γ): New variables.
10612         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10613         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10614         (math-standard-units): Add units.
10616 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10618         * progmodes/asm-mode.el (asm-mode):
10619         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10621         * pcomplete.el (pcomplete-completions-at-point): New function,
10622         extracted from pcomplete-std-complete.
10623         (pcomplete-std-complete): Use it.
10625 2010-05-15  Glenn Morris  <rgm@gnu.org>
10627         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10628         Remove references to CVS, RCS and Old directories.
10630 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
10632         * calc/calc-bin.el (math-format-twos-complement): Group digits when
10633         appropriate.
10635 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10637         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10638         (sh-mode-syntax-table): Give it a default value instead.
10639         (sh-header-marker): Make buffer-local.
10640         (sh-mode): Move make-local-variable to the corresponding setq.
10641         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10642         Use complete-with-action.
10644         * simple.el (prog-mode): New (abstract) major mode.
10645         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10646         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10648 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
10650         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10651         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10652         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10653         (sql-make-alternate-buffer-name, sql-placeholders-filter)
10654         (sql-escape-newlines-filter, sql-input-sender)
10655         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10657 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
10659         Add TeX open-block and close-block keybindings to SGML, and vice versa.
10661         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10662         latex-open-block and C-c / to latex-close-block.
10664         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10665         and C-c C-e to sgml-close-tag.
10667 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
10669         * net/tramp.el (with-progress-reporter): Create reporter object
10670         only when the message would be displayed.  Handle nested calls.
10671         (tramp-handle-load, tramp-handle-file-local-copy)
10672         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10673         (tramp-maybe-send-script, tramp-find-shell):
10674         Use `with-progress-reporter'.
10675         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10676         Fix message text.
10678         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10679         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10680         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10681         Use `with-progress-reporter'.
10683 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
10685         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10686         process everytime when spellchecking from the minibuffer (bug#6143).
10688 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10690         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10692         * dos-fns.el: Add "dos-" prefix for namespace control.
10693         (convert-standard-filename): Define as alias for
10694         dos-convert-standard-filename but only if applicable.
10696 2010-05-12  Alan Mackenzie  <acm@muc.de>
10698         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10699         Push the mark at the start of these functions when appropriate.
10701 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10703         * minibuffer.el (completion-cycle-threshold): New custom var.
10704         (completion--do-completion): Use it.
10705         (minibuffer-complete): Use cycling if appropriate.
10707 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
10709         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10710         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10712 2010-05-11  Juri Linkov  <juri@jurta.org>
10714         * scroll-all.el (scroll-all-check-to-scroll):
10715         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10717 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10719         * iimage.el (iimage-mode-map): Move initialization into declaration.
10720         (iimage-mode-buffer): Use with-silent-modifications.
10721         Simplify calling convention.  Adjust callers.
10722         (iimage-mode): Don't run hook redundantly.
10724         * minibuffer.el (completion-pcm--pattern->regex):
10725         Fix last change (bug#6160).
10727 2010-05-10  Juri Linkov  <juri@jurta.org>
10729         Remove nodes visited during Isearch from the Info history.
10730         * info.el (Info-isearch-initial-history)
10731         (Info-isearch-initial-history-list): New variables.
10732         (Info-isearch-start): Record initial values of
10733         Info-isearch-initial-history and Info-isearch-initial-history-list.
10734         Add Info-isearch-end to isearch-mode-end-hook.
10735         (Info-isearch-end): New function.
10737 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
10739         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10740         format string, in order to work around a bug in pdksh.
10741         Reported by Gilles Pion <gpion@lfdj.com>.
10742         (tramp-handle-verify-visited-file-modtime): Do not send a command
10743         when the connection is not established.
10744         (tramp-handle-set-file-times): Simplify the check for utc.
10746 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
10748         Fix use of `filter-buffer-substring' (rework previous change).
10749         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10750         (cua-repeat-replace-region):
10751         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10752         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10753         (cua-cut-region-to-global-mark): Use it.
10755 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
10757         * progmodes/sql.el: Version 2.1.
10758         (sql-product-alist): Redesign structure of product info.
10759         (sql-product, sql-user, sql-server, sql-database): Safe variables.
10760         (sql-port, sql-port-history): New variables.
10761         (sql-interactive-product): New variable.
10762         (sql-send-terminator): New variable.
10763         (sql-imenu-generic-expression): Add "Types" imenu entry.
10764         (sql-oracle-login-params, sql-sqlite-login-params)
10765         (sql-mysql-login-params, sql-solid-login-params)
10766         (sql-sybase-login-params, sql-informix-login-params)
10767         (sql-ingres-login-params, sql-ms-login-params)
10768         (sql-postgres-login-params, sql-interbase-login-params)
10769         (sql-db2-login-params, sql-linter-login-params)
10770         (sql-oracle-scan-on): New variables.
10771         (sql-mode-map): Add C-c C-i to start interactive mode.
10772         (sql-mode-menu): Update existing menu entries.
10773         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10774         (sql-mode-oracle-font-lock-keywords)
10775         (sql-mode-postgres-font-lock-keywords)
10776         (sql-mode-ms-font-lock-keywords)
10777         (sql-mode-sybase-font-lock-keywords)
10778         (sql-mode-informix-font-lock-keywords)
10779         (sql-mode-interbase-font-lock-keywords)
10780         (sql-mode-ingres-font-lock-keywords)
10781         (sql-mode-solid-font-lock-keywords)
10782         (sql-mode-mysql-font-lock-keywords)
10783         (sql-mode-sqlite-font-lock-keywords)
10784         (sql-mode-db2-font-lock-keywords)
10785         (sql-mode-linter-font-lock-keywords): Update initialization to
10786         reduce run-time complexity.
10787         (sql-add-product, sql-del-product): New functions.
10788         (sql-set-product-feature, sql-get-product-feature): New functions.
10789         (sql-product-font-lock): Update product API.
10790         (sql-add-product-keywords): New function.
10791         (sql-highlight-product): Update product API.
10792         (sql-help-list-products): New function.
10793         (sql-help): Dynamically lists free and non-free products.
10794         (sql-get-login): Correct bug in handling history and added
10795         prompt for port.
10796         (sql-copy-column): Copy without properties.
10797         (sqli-input-sender): Apply filters to SQLi input.
10798         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10799         Implement as a filter.
10800         (sql-escape-newlines-filter): Implement as a filter.
10801         (sql-remove-tabs-filter): New function.
10802         (sql-send-magic-terminator): New function.
10803         (sql-send-string): Implement magic terminator.
10804         (sql-send-region): Use `sql-send-string'.
10805         (sql-interactive-mode): Use product API.
10806         (sql-product-interactive): Use product API.
10807         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10808         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10809         (sql-db2, sql-linter): Use `sql-product-interactive'.
10810         (sql-connect): New function.
10811         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10812         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10813         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10814         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10815         Use `sql-connect'.
10817 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10819         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10820         New custom variable.
10821         (completion-pcm--string->pattern): Use it.
10822         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10823         Make it handle any symbol as `any'.
10824         (completion-pcm--merge-completions): Extract common suffix for the new
10825         `prefix' symbol as well.
10826         (completion-substring--all-completions): Use the new `prefix' symbol.
10828 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
10830         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10831         not bound.
10832         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10833         (tramp-compat-funcall): New defmacro.
10834         (tramp-compat-line-beginning-position)
10835         (tramp-compat-line-end-position)
10836         (tramp-compat-temporary-file-directory)
10837         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10838         (tramp-compat-copy-file, tramp-compat-copy-directory)
10839         (tramp-compat-delete-file, tramp-compat-delete-directory)
10840         (tramp-compat-number-sequence, tramp-compat-process-running-p)
10841         * net/tramp.el (top, with-progress-reporter)
10842         (tramp-rfn-eshadow-setup-minibuffer)
10843         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10844         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10845         (tramp-completion-mode-p, tramp-check-for-regexp)
10846         (tramp-open-connection-setup-interactive-shell)
10847         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10848         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10849         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10850         * net/tramp-cmds.el (tramp-cleanup-all-connections)
10851         (tramp-reporter-dump-variable, tramp-load-report-modules)
10852         (tramp-append-tramp-buffers)
10853         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10855         * net/tramp-imap.el (top): Autoload `epg-make-context'.
10857 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10859         * progmodes/compile.el (compilation-buffer-modtime): Rename from
10860         buffer-modtime.  Adjust users.
10862 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10864         * international/mule.el (auto-coding-alist): Only purecopy
10865         car of each item, not the whole list (Bug#6083).
10867 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10869         * progmodes/js.el (js-mode): Make paragraph variables local before
10870         calling c-setup-paragraph-variables (Bug#6071).
10872 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
10874         * composite.el (compose-region, reference-point-alist): Fix typos
10875         in the doc strings.
10877 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
10879         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10880         gnuplot's "set" command.
10882 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10884         * abbrev.el (last-abbrev-text): Doc fix.
10885         (abbrev-prefix-mark): Don't escape parenthesis.
10887 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
10889         * composite.el (find-composition): Doc fix.
10891 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10893         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10894         (sql-oracle-program, sql-sqlite-options)
10895         (sql-query-placeholders-and-send): Doc fixes.
10896         (sql-set-product, sql-interactive-mode): Reflow docstrings.
10897         (sql-imenu-generic-expression, sql-buffer)
10898         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10899         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10900         (sql-mode-sybase-font-lock-keywords)
10901         (sql-mode-informix-font-lock-keywords)
10902         (sql-mode-interbase-font-lock-keywords)
10903         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10904         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10905         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10906         (sql-product-feature, sql-highlight-product)
10907         (comint-line-beginning-position, sql-rename-buffer)
10908         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10909         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10910         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10911         Fix typos in docstrings.
10913 2010-05-08  Juri Linkov  <juri@jurta.org>
10915         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10916         property instead of `invisible' and `after-string' (bug#5998).
10918 2010-05-08  Juri Linkov  <juri@jurta.org>
10920         * image-mode.el (image-mode-as-text): Fix typo in docstring.
10922 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10924         * filecache.el (file-cache-add-directory-list)
10925         (file-cache-add-directory-recursively): Fix typos in docstrings.
10927 2010-05-08  Kenichi Handa  <handa@m17n.org>
10929         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10930         (gujarati-composable-pattern): Fix typo.
10932 2010-05-08  Kenichi Handa  <handa@m17n.org>
10934         * language/indian.el (oriya-composable-pattern)
10935         (tamil-composable-pattern, malayalam-composable-pattern):
10936         Add two-part vowels to "v" (vowel sign).
10938 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10940         * files.el (copy-directory): Handle symlinks (Bug#5982).
10942 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
10944         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10945         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
10946         (Bug#5846).
10948 2010-05-08  Glenn Morris  <rgm@gnu.org>
10950         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10952         * minibuffer.el (completion-at-point): Doc fix.
10954 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10956         * electric.el (Electric-command-loop): Minor tweak.
10958         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10959         better with dedicated windows.
10961 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
10963         * Version 23.2 released.
10965 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
10966             Stefan Monnier  <monnier@iro.umontreal.ca>
10968         Highlight vendor specific properties.
10969         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10970         (css-proprietary-property): New face.
10971         (css-font-lock-keywords): Use them.
10973 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
10975         * cus-start.el (all): Add native condition for tool-bar-* symbols.
10977 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10979         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10980         * files.el (auto-mode-alist): Remove redundant entries.
10982         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10983         * simple.el (auto-save-mode): Move from files.el.
10984         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10986 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
10988         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10990 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
10992         * mail/binhex.el (binhex-decode-region-internal)
10993         * mail/uudecode.el (uudecode-decode-region-internal)
10994         * net/dns.el (dns-read-string-name, dns-write, dns-read)
10995         (dns-read-type, dns-query)
10996         * pgg-parse.el (pgg-parse-armor)
10997         * pgg.el (pgg-verify-region)
10998         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10999         XEmacs.
11001         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11003 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
11005         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11007         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11008         * emulation/cua-base.el (cua-repeat-replace-region):
11009         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11010         (cua-cut-region-to-global-mark):
11011         Remove text properties with `set-text-properties'.
11013 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
11015         * net/tramp.el (top, with-progress-reporter):
11016         Use `symbol-function' inside `funcall'.
11018         * net/tramp-compat.el (tramp-compat-file-attributes)
11019         (tramp-compat-delete-file, tramp-compat-delete-directory):
11020         Handle only `wrong-number-of-arguments' error.
11022         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11023         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11024         inside `funcall'.
11026 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11028         * minibuffer.el (completion--sreverse, completion--common-suffix):
11029         New functions.
11030         (completion-pcm--merge-completions): Extract common suffix when safe.
11032         * emacs-lisp/easy-mmode.el (define-minor-mode):
11033         Make :variable more flexible.
11034         * files.el (auto-save-mode): Use it to define using define-minor-mode.
11036 2010-05-05  Juri Linkov  <juri@jurta.org>
11038         Add `slow' and `history' tags to the desktop data.
11040         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11041         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11042         (Info-finder-find-node): Require `finder.el' to be able
11043         to restore node from the desktop.
11044         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
11045         data `Info-history' and `slow' tag in the assoc list.
11046         (Info-restore-desktop-buffer): Don't restore nodes with the
11047         `slow' tag.  Restore `Info-history'.
11049 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
11051         Add FORCE argument to `delete-file'.
11053         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11054         forcing to delete the temporary file.
11055         (ange-ftp-delete-file): Add FORCE arg.
11056         (ange-ftp-rename-remote-to-remote)
11057         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11058         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11059         Force file deletion.
11061         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11063         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11064         (tramp-handle-make-symbolic-link, tramp-handle-load)
11065         (tramp-do-copy-or-rename-file-via-buffer)
11066         (tramp-do-copy-or-rename-file-directly)
11067         (tramp-do-copy-or-rename-file-out-of-band)
11068         (tramp-handle-process-file, tramp-handle-call-process-region)
11069         (tramp-handle-shell-command, tramp-handle-file-local-copy)
11070         (tramp-handle-insert-file-contents, tramp-handle-write-region)
11071         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11073         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11074         (tramp-fish-handle-make-symbolic-link)
11075         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11077         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11078         Use `tramp-compat-delete-file'.
11080         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11081         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11083         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11084         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11086         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11087         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11088         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11089         Use `tramp-compat-delete-file'.
11091 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11093         Minor cleanups.
11094         * subr.el (add-minor-mode): Use push.
11095         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11096         * emulation/edt.el (edt-select-mode): Simplify.
11098         Use define-minor-mode in more cases.
11099         * term/tvi970.el (tvi970-set-keypad-mode):
11100         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11101         (normal-erase-is-backspace-mode):
11102         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11103         (set-scroll-bar-mode-1): (Re)move to its sole caller.
11104         (get-scroll-bar-mode): New function.
11105         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11107         Use define-minor-mode for less obvious cases.
11108         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11109         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11110         * international/iso-ascii.el (iso-ascii-mode):
11111         * frame.el (auto-raise-mode, auto-lower-mode):
11112         * composite.el (global-auto-composition-mode): Use define-minor-mode.
11114 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
11116         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11117         in order to see error messages for failed logins.
11119 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
11121         * diff.el (diff-sentinel):
11123         * epg.el (epg--make-temp-file, epg-decrypt-string)
11124         (epg-verify-string, epg-sign-string, epg-encrypt-string):
11126         * jka-compr.el (jka-compr-partial-uncompress)
11127         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11129         * server.el (server-sentinel): Use delete-file's new FORCE arg
11130         (Bug#6070).
11132 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11134         Use define-minor-mode where applicable.
11135         * view.el (view-mode):
11136         * type-break.el (type-break-query-mode)
11137         (type-break-mode-line-message-mode):
11138         * textmodes/reftex.el (reftex-mode):
11139         * term/vt100.el (vt100-wide-mode):
11140         * tar-mode.el (tar-subfile-mode):
11141         * savehist.el (savehist-mode):
11142         * ibuf-ext.el (ibuffer-auto-mode):
11143         * composite.el (auto-composition-mode):
11144         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11145         Use define-minor-mode.
11146         (vhdl-mode): Use static mode-line format.
11147         (vhdl-mode-line-update): Delete.
11148         (vhdl-create-mode-menu, vhdl-activate-customizations)
11149         (vhdl-hs-minor-mode): Don't bother calling it.
11151 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11153         * simple.el (with-wrapper-hook): Move.
11154         (buffer-substring-filters): Mark obsolete.
11155         (filter-buffer-substring-functions): New variable.
11156         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
11158 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
11159             Michael Albinus  <michael.albinus@gmx.de>
11161         Implement compression for inline methods.
11163         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11164         (tramp-copy-size-limit): Allow also nil.
11165         (tramp-inline-compress-commands): New defconst.
11166         (tramp-find-inline-compress, tramp-get-inline-compress)
11167         (tramp-get-inline-coding): New defuns.
11168         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11169         replaced by `tramp-get-inline-coding'.
11170         (tramp-handle-file-local-copy, tramp-handle-write-region)
11171         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11173 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11175         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11176         Remove unused functions.
11178         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11179         Set find-tag-default-function as a variable rather than a property.
11181         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11182         * progmodes/etags.el (tags-completion-at-point-function):
11183         Remove left over interactive spec.  Add autoloading stub.
11184         (complete-tag): Use tags-completion-at-point-function.
11186 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
11188         * minibuffer.el (tags-completion-at-point-function): Fix return value.
11190 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11192         * ido.el (ido-init-completion-maps): Remove C-v binding.
11193         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11195 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11197         * minibuffer.el (tags-completion-at-point-function): New function.
11198         (completion-at-point-functions): Use it.
11200         * progmodes/etags.el (complete-tag): Revert last change.
11202 2010-04-29  Alan Mackenzie  <acm@muc.de>
11204         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11205         off-by-one error (in end of macro position).
11207 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11209         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11210         firefox is absent.  Don't autoload.
11211         (browse-url-galeon-program): Don't autoload.
11213 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11215         * bindings.el (complete-symbol): Move into minibuffer.el.
11217         * minibuffer.el (complete-tag): Move from etags.el.  If tags
11218         completion cannot be performed, return nil instead of signaling
11219         an error.
11220         (completion-at-point): Make it an alias for complete-symbol.
11221         (complete-symbol): Move from bindings.el, and replace with the
11222         body of completion-at-point.
11224         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11226 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
11228         * net/tramp.el (tramp-remote-selinux-p): New defun.
11229         (tramp-handle-file-selinux-context)
11230         (tramp-handle-set-file-selinux-context): Use it.
11232 2010-04-28  Sam Steingold  <sds@gnu.org>
11234         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11235         `safe-local-variable' if the value is a string or a symbol with
11236         the property `bug-reference-url-format'.
11238 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11240         * progmodes/bug-reference.el (bug-reference-url-format):
11241         Revert 2010-04-27 change due to security risk.
11243 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11245         Make it possible to locally disable a globally enabled mode.
11246         * simple.el (fundamental-mode): Run fundamental-mode-hook.
11247         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11248         rather than kill-all-local-variables so it runs fundamental-mode-hook.
11249         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11250         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11251         that subsequent hooks get a chance to disable it.
11253 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11255         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11256         Avoid re-enabling a minor mode after the user turned the minor mode
11257         off if MODE-enable-in-buffers is run twice (typically once from
11258         fundamental-mode's after-change-major-mode-hook and a second time from
11259         run-mode-hook's own after-change-major-mode-hook).
11261         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11263 2010-04-27  Sam Steingold  <sds@gnu.org>
11265         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11266         `safe-local-variable' if the value is a string or a function, as
11267         documented and implemented on 2010-04-02.
11269 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
11271         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11272         when method is 'kill.
11274 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
11276         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11277         condition in default directory check.
11278         (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11279         Kill ispell process when killing its associated buffer.
11281 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
11283         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11284         but we aren't using it.
11286 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
11288         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11289         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11291 2010-04-24  Glenn Morris  <rgm@gnu.org>
11293         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11294         Ignore VCS-ignore files, and deleted nextstep preferences files.
11295         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11296         (authors-ambiguous-files): New list.
11297         (authors-valid-file-names): Add some deleted files.
11298         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11299         (authors-disambiguate-file-name): New function.  (Bug#5501)
11300         (authors-canonical-file-name): Doc fix.
11301         Don't warn about obsolete files.
11302         (authors-canonical-file-name, authors-scan-el):
11303         Use authors-disambiguate-file-name.
11305         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11306         Add autoload cookies.
11307         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11308         (generated-autoload-file): Set file-local value to "htmlfontify.el".
11309         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11310         They have definitions / compiler macros in cl.el.
11311         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11312         Replace manual autoloads with generated ones.
11313         (htmlfontify-unload-rgb-file): Remove autoload.
11314         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11316 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11318         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11319         (byte-compile-setq-default): Optimize for the
11320         single-var case and don't call byte-compile-form in this case to avoid
11321         inf-loop with byte-compile-set-default.
11323         * progmodes/compile.el (compilation-start): Abbreviate default directory.
11325 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
11327         Implement SELINUX backends.
11329         * net/tramp.el (tramp-file-name-handler-alist):
11330         Add `file-selinux-context' and `set-file-selinux-context'.
11331         (tramp-handle-file-selinux-context)
11332         (tramp-handle-set-file-selinux-context): New defuns.
11333         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11334         Handle PRESERVE-SELINUX-CONTEXT.
11336         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11337         Add `file-selinux-context' and `set-file-selinux-context'.
11338         (tramp-gvfs-handle-file-selinux-context)
11339         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11340         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11342         * net/ange-ftp.el (ange-ftp-copy-file):
11343         * net/tramp-fish.el (tramp-fish-handle-copy-file):
11344         * net/tramp-imap.el (tramp-imap-handle-copy-file):
11345         * net/tramp-smb.el (tramp-smb-handle-copy-file):
11346         Add PRESERVE-SELINUX-CONTEXT.
11348 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11350         Synchronize with Tramp repository.
11352         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11353         (tramp-action-process-alive, tramp-action-out-of-band)
11354         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11355         (tramp-exists-file-name-handler): Fix docstring.
11356         (with-progress-reporter): New defmacro.
11357         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11358         (tramp-maybe-open-connection): Use it.
11360 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
11362         Detect ssh 'ControlMaster' argument automatically in some cases.
11364         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11365         (tramp-default-method): Use it.
11367 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11369         * net/tramp.el (tramp-handle-copy-file): Add new optional
11370         parameter `preserve-selinux-context'.
11371         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11373 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11375         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11376         Ensure, that non remote files are still checked.  Oops.
11378 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
11380         Fix Bug#5840.
11382         * icomplete.el (icomplete-completions): Use `non-essential'.
11384         * net/tramp.el (tramp-connectable-p): New defun.
11385         (tramp-handle-expand-file-name)
11386         (tramp-completion-handle-file-name-all-completions)
11387         (tramp-completion-handle-file-name-completion): Use it.
11389 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11391         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11393 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
11395         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11397         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11399         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11400         is present.
11402         * info.el (info-tool-bar-map): Add labels.
11404         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11406         * cus-edit.el (custom-commands): Add labels for tool bar.
11407         (custom-buffer-create-internal, Custom-mode): Adjust for
11408         labels in custom-commands.
11410         * dynamic-setting.el: Renamed from font-setting.el.
11412 2010-04-21  John Wiegley  <jwiegley@gmail.com>
11414         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11415         toggles the use of virtual buffers.
11416         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11417         (ido-toggle-virtual-buffers): New function.
11419 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
11421         Use `define-derived-mode'; fix window selection; doc fixes.
11422         * play/tetris.el (tetris, tetris-update-speed-function)
11423         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11424         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11425         (tetris-rotate-next, tetris-end-game, tetris-start-game)
11426         (tetris-pause-game): Fix typos in docstrings.
11427         (tetris-mode-map, tetris-null-map):
11428         Move initialization into declaration.
11429         (tetris-mode): Define with `define-derived-mode';
11430         set show-trailing-whitespace to nil.
11431         (tetris): Prefer window already displaying the "*Tetris*" buffer.
11433 2010-04-21  Karel Klíč  <kklic@redhat.com>
11435         * files.el (backup-buffer): Handle SELinux context, and return it
11436         if a backup was made by renaming.
11437         (backup-buffer-copy): Set SELinux context to the target file.
11438         (basic-save-buffer): Set SELinux context of the newly written file.
11439         (basic-save-buffer-1): Now it also returns any SELinux context.
11440         (basic-save-buffer-2): Set SELinux context of the newly created file,
11441         and return it.
11442         * net/tramp.el (tramp-file-name-for-operation):
11443         Add file-selinux-context.
11445 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11447         Make the log-edit comments use RFC822 format throughout.
11449         * vc.el (vc-checkin, vc-modify-change-comment):
11450         Adjust to new vc-start/finish-logentry.
11451         (vc-find-conflicted-file): New command.
11452         (vc-transfer-file): Adjust to new vc-checkin.
11453         (vc-next-action): Improve scoping.
11455         * vc-hg.el (vc-hg-log-edit-mode): Remove.
11456         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
11458         * vc-git.el (vc-git-log-edit-mode): Remove.
11459         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
11460         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11462         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11463         (vc-start-logentry): Remove argument `extra'.
11464         (vc-finish-logentry): Remove extra args.
11466         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11467         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
11468         (vc-bzr-conflicted-files): New function.
11470         * log-edit.el (log-edit-extra-flags)
11471         (log-edit-before-checkin-process): Remove.
11472         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11473         (log-edit-headers-alist): New var.
11474         (log-edit-header-contents-regexp): New const.
11475         (log-edit-match-to-eoh): New function.
11476         (log-edit-font-lock-keywords): Use them.
11477         (log-edit): Insert a "Summary:" header as default.
11478         (log-edit-mode): Mark font-lock rules as case-insensitive.
11479         (log-edit-done): Cleanup headers.
11480         (log-view-process-buffer): Remove.
11481         (log-edit-extract-headers): New function to replace it.
11483 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
11485         * subr.el (default-direction-reversed): Remove obsolescence info.
11487 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11489         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11490         windows/frames.
11492         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11493         I.e. include text after point in the completion region.
11494         Also, return nil when we're not after/in a symbol.
11496         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11497         default enable-multibyte-characters.
11499 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11501         * international/mule.el: Help the user choose a valid coding-system.
11502         (read-buffer-file-coding-system): New function.
11503         (set-buffer-file-coding-system): Use it.  Prompt the user if the
11504         coding-system cannot encode all the chars.
11506         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11507         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11508         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11509         Don't use *vc-bzr-shelve*.
11511 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
11513         Fix the version number for added files.
11514         * vc-hg.el (vc-hg-working-revision): Check if the file is
11515         registered after hg parent fails (Bug#5961).
11517 2010-04-19  Glenn Morris  <rgm@gnu.org>
11519         * htmlfontify.el (htmlfontify-buffer)
11520         (htmlfontify-copy-and-link-dir): Autoload entry points.
11522 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
11524         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11525         name relative to the project root (Bug#5960).
11527 2010-04-19  Glenn Morris  <rgm@gnu.org>
11529         * vc-git.el (vc-git-print-log): Doc fix.
11531 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
11533         * ido.el (ido-file-internal): Fix 2009-12-02 change.
11535 2010-04-19  Christoph Scholtes  <cschol2112@googlemail.com>
11537         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11538         default settings (Bug#5928).
11540 2010-04-19  Glenn Morris  <rgm@gnu.org>
11542         * progmodes/fortran.el (fortran-match-and-skip-declaration):
11543         New function.
11544         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
11546 2010-04-19  Kenichi Handa  <handa@m17n.org>
11548         * language/indian.el (malayalam-composable-pattern): Fix previous
11549         change (add U+0D4D "SIGN VIRAMA").
11550         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11551         (tamil-composable-pattern): Fix typo in the regexp.
11552         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11553         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11554         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11556 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11558         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11559         paragraph-separate (Bug#5821).
11561 2010-04-19  Juri Linkov  <juri@jurta.org>
11563         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11565         * info.el (Info-find-node-2): Comment out code that skips
11566         breadcrumbs line.
11567         (Info-mouse-follow-link): New command.
11568         (Info-link-keymap): New keymap.
11569         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11570         Return a string with links instead of inserting breadcrumbs
11571         to the Info buffer.
11572         (Info-fontify-node): Comment out code that inserts breadcrumbs.
11573         Instead of putting the `invisible' text property over the Info
11574         header, make an overlay over the Info header with the `invisible'
11575         property and `after-string' set to the string returned by
11576         `Info-breadcrumbs'.
11578 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11580         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11581         Reported by monkey@sandpframing.com.
11583 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11585         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11586         (tmm-get-keymap): Add key-binding shortcuts now that they're not
11587         available in the "keyseq cache" any more.
11589         * custom.el (defcustom): Add edebug spec.
11591 2010-04-18  Juri Linkov  <juri@jurta.org>
11593         Test for special mode-class in view-buffer instead of view-file (bug#5513).
11595         * view.el (view-file, view-buffer): Move test for special mode-class
11596         from view-file to view-buffer.
11598         * tar-mode.el (tar-extract): Turn if's into one cond
11599         like in arc-mode.el.
11601 2010-04-18  Juri Linkov  <juri@jurta.org>
11603         Add 7z archive format support (bug#5475).
11605         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11606         (archive-7z-extract): New defcustom.
11607         (archive-find-type): Add magic string for 7z.
11608         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11609         If `stderr-file' is non-nil, use `(t stderr-file)' for the
11610         `buffer' arg of `call-process'.
11611         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11612         call the function `archive-7z-extract' with the variable
11613         `archive-7z-extract' let-bound to `archive-zip-extract'.
11614         (archive-7z-summarize, archive-7z-extract): New functions.
11616         * international/mule.el (auto-coding-alist):
11617         * files.el (auto-mode-alist): Add 7z file extension.
11619 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11621         * loadup.el: Setup hash-cons for pure data.
11623         Fix duplicate entries in cedet's loaddefs.el files.
11624         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11625         Should make most file-local generated-autoload-file unnecessary.
11626         (print-readably): Silence warnings.
11627         (autoload-find-destination): Take load-name as an arg to make sure
11628         it's the same as the one that will be in the file.
11629         (autoload-generate-file-autoloads): Adjust to above changes.
11630         Try to make the dataflow a bit simpler.
11632         * cvs-status.el (cvs-refontify): Remove unused.
11634 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
11636         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11638         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11639         twos-complement mode.
11641 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
11643         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11644         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
11645         (calc-inverse): Add "Option" to message, as appropriate.
11646         (calc-hyperbolic): Add "Option" to message, as appropriate.
11647         (calc-option, calc-is-option): New functions.
11649         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11650         (calc-option-prefix-help): New function.
11652         * calc/calc-misc.el (calc-help): Add "Option" entry.
11654         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11655         (calc-option-flag): New variable.
11656         (calc-do): Set `calc-option-flag to nil.
11657         (calc-set-mode-line): Add "Opt " as appropriate.
11659 2010-04-16  Juri Linkov  <juri@jurta.org>
11661         Move scrolling commands from simple.el to window.el
11662         because their primitives are implemented in window.c.
11664         * simple.el (scroll-error-top-bottom)
11665         (scroll-up-command, scroll-down-command, scroll-up-line)
11666         (scroll-down-line, scroll-other-window-down)
11667         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11668         * window.el (scroll-error-top-bottom)
11669         (scroll-up-command, scroll-down-command, scroll-up-line)
11670         (scroll-down-line, scroll-other-window-down)
11671         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11672         Move from simple.el to window.el because their primitives are
11673         implemented in window.c.
11675 2010-04-16  Juri Linkov  <juri@jurta.org>
11677         * isearch.el (isearch-lookup-scroll-key): Check both
11678         `isearch-scroll' and `scroll-command' properties.
11679         (scroll-up, scroll-down): Remove `isearch-scroll' property.
11681         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11683         * simple.el (scroll-up-command, scroll-down-command)
11684         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11686 2010-04-15  Juri Linkov  <juri@jurta.org>
11688         * simple.el (scroll-up-command, scroll-down-command)
11689         (scroll-up-line, scroll-down-line): Put `scroll-command'
11690         property on the these symbols.  Remove them from
11691         `scroll-preserve-screen-position-commands'.
11693         * mwheel.el (mwheel-scroll): Put `scroll-command' and
11694         `isearch-scroll' properties on the `mwheel-scroll' symbol.
11695         Remove it from `scroll-preserve-screen-position-commands'.
11697         * isearch.el (isearch-allow-scroll): Doc fix.
11699 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
11701         * net/tramp.el (tramp-error-with-buffer): Don't show the
11702         connection buffer when we are in completion mode.
11703         (tramp-file-name-handler): Catch the error for some operations
11704         when we are in completion mode.  This gives the user the chance to
11705         correct the file name in the minibuffer.
11707 2010-04-15  Glenn Morris  <rgm@gnu.org>
11709         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11711 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
11713         Simplify by using `define-derived-mode'.
11714         * info.el (Info-mode):
11715         * calendar/todo-mode.el (todo-mode):
11716         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11717         (gomoku-mode-map): Move initialization into declaration.
11719 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
11721         Fix Bug#5840.
11722         * ido.el (ido-file-name-all-completions-1):
11723         * minibuffer.el (minibuffer-completion-help):
11724         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11726 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11728         * simple.el (non-essential): New var.
11730         Add a new field `location' to bookmarks for non-file bookmarks.
11731         * bookmark.el (bookmark-location): Use the new field, if present.
11732         (bookmark-insert-location): Undo last change, not needed any more.
11733         * man.el (Man-bookmark-make-record):
11734         * woman.el (woman-bookmark-make-record): Add `location' field.
11736 2010-04-14  Juri Linkov  <juri@jurta.org>
11738         * simple.el (scroll-error-top-bottom): New defcustom.
11739         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
11741         * emulation/pc-select.el (pc-select-override-scroll-error):
11742         Obsolete in favor of `scroll-error-top-bottom'.
11744 2010-04-14  Juri Linkov  <juri@jurta.org>
11746         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11747         `scroll-up-command' and `M-v' to `scroll-down-command'.
11749         * emulation/cua-rect.el (cua--init-rectangles):
11750         * forms.el (forms--change-commands):
11751         * image-mode.el (image-mode-map):
11752         Remap scroll-down-command and scroll-up-command
11753         in addition to scroll-down and scroll-up.
11755 2010-04-14  Juri Linkov  <juri@jurta.org>
11757         * mwheel.el (scroll-preserve-screen-position-commands):
11758         Add mwheel-scroll to this list of commands.
11760         * simple.el (scroll-preserve-screen-position-commands):
11761         Add scroll-up-command, scroll-down-command, scroll-up-line,
11762         scroll-down-line to this list of commands.
11764 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11766         * obsolete/complete.el: Move from lisp/complete.el.
11768         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11770         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11771         to the minor mode function now turns the mode ON unconditionally.
11773 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11775         * vc-dir.el (vc-dir-kill-line): New command.
11776         (vc-dir-mode-map): Bind it to C-k.
11778         * bookmark.el (bookmark-insert-location): Handle a nil filename.
11780         * woman.el: Add bookmark declarations to silence the compiler.
11781         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11782         step to compatibility between man and woman bookmarks.
11783         Adjust for Man-default-bookmark-title renaming.
11784         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
11786         * man.el: Add bookmark declarations to silence the compiler.
11787         (Man-name-local-regexp): Make it match NAME as well.
11788         (Man-getpage-in-background): Return the buffer.
11789         (Man-notify-when-ready): Use `case'.
11790         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11791         Don't hardcode "NAME".  Simplify.
11792         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11793         Rename from Man-bookmark-make-record.
11794         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
11795         we have the actual man-args.  Use Man-getpage-in-background rather
11796         than `man' since the arg is already processed.  Let bookmark.el do the
11797         window handling.  Only wait for the relevant process.
11798         Don't forget to autoload.
11800         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11802 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11804         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11805         New functions.
11806         (woman-mode): Setup bookmark support.
11808         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11809         (man-bookmark-jump): New functions.
11810         (Man-mode): Setup bookmark support.
11812 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
11814         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11815         recognize ssh-keygen prompt (Bug#2817).
11817 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11819         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11821 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11823         Synchronize with Tramp repository.
11825         * net/tramp.el (tramp-completion-function-alist)
11826         (tramp-file-name-regexp, tramp-chunksize)
11827         (tramp-local-coding-commands, tramp-remote-coding-commands):
11828         Fix docstring.
11829         (tramp-remote-process-environment): Use `format' instead of `concat'.
11830         (tramp-handle-directory-files-and-attributes)
11831         (tramp-get-remote-path): Use `copy-tree'.
11832         (tramp-handle-file-name-all-completions): Backward/ XEmacs
11833         compatibility: Use `completion-ignore-case' if
11834         `read-file-name-completion-ignore-case' does not exist.
11835         (tramp-do-copy-or-rename-file-directly): Do not use
11836         `tramp-handle-file-remote-p'.
11837         (tramp-do-copy-or-rename-file-out-of-band):
11838         Use `tramp-compat-delete-directory'.
11839         (tramp-do-copy-or-rename-file-out-of-band)
11840         (tramp-compute-multi-hops, tramp-maybe-open-connection):
11841         Use `format-spec-make'.
11842         (tramp-find-foreign-file-name-handler)
11843         (tramp-advice-make-auto-save-file-name)
11844         (tramp-set-auto-save-file-modes): Remove superfluous check for
11845         `stringp'.  This is done inside `tramp-tramp-file-p'.
11846         (tramp-debug-outline-regexp): New defconst.
11847         (tramp-get-debug-buffer): Use it.
11848         (tramp-check-for-regexp): Use (forward-line 1).
11849         (tramp-set-auto-save-file-modes): Adapt version check.
11851         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11852         Wrap call of `featurep' for 2nd argument.
11853         (tramp-compat-make-temp-file): Simplify fallback implementation.
11854         (tramp-compat-copy-tree): Remove function.
11855         (tramp-compat-delete-directory): Provide implementation for older
11856         Emacsen.
11858         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11859         Do not use `tramp-fish-handle-file-attributes.
11861         * net/trampver.el: Update release number.
11863 2010-04-10  Glenn Morris  <rgm@gnu.org>
11865         * progmodes/compile.el (compilation-save-buffers-predicate):
11866         Add missing :version tag.
11868 2010-04-09  Sam Steingold  <sds@gnu.org>
11870         * progmodes/compile.el (compilation-save-buffers-predicate):
11871         Remove the "autoload" cookie.
11873         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11874         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11875         and `bug-reference-prog-mode' can be used in hooks directly.
11877 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
11879         Add --author support to git commit.
11880         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11881         (vc-git-log-edit-mode): New minor mode.
11882         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11883         New declarations.
11885 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
11887         * vc-hooks.el, vc-git.el: Improve documentation comments.
11889 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11891         Fix some of the problems in defsubst* (bug#5728).
11892         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11893         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11895 2010-04-07  Sam Steingold  <sds@gnu.org>
11897         * progmodes/compile.el (compilation-save-buffers-predicate):
11898         New custom variable.
11899         (compile, recompile): Pass it to `save-some-buffers'.
11901 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
11903         * wid-edit.el (widget-choose): Move cursor to the second line of
11904         the buffer (Bug#5695).
11906 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11908         Add new VC methods: vc-log-incoming and vc-log-outgoing.
11909         * vc.el (vc-print-log-setup-buttons): New function split out from
11910         vc-print-log-internal.
11911         (vc-log-internal-common): New function, a parameterized version of
11912         vc-print-log-internal.
11913         (vc-print-log-internal): Just call vc-log-internal-common with the
11914         right arguments.
11915         (vc-incoming-outgoing-internal):
11916         (vc-log-incoming, vc-log-outgoing): New functions.
11917         (vc-log-view-type): New permanent local variable.
11919         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11921         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11922         of the dynamic bound vc-short-log.
11923         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11925         * vc-git.el (vc-git-log-outgoing): New function.
11926         (vc-git-log-view-mode): Use vc-log-view-type instead
11927         of the dynamic bound vc-short-log.
11929         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11930         of the dynamic bound vc-short-log.  Highlight the tag.
11931         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11932         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11933         (vc-hg-incoming-mode): Remove.
11934         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11936 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11938         Fix default-directory for vc-root-diff.
11939         * vc.el (vc-root-diff): Bind default-directory to the root
11940         directory for the diff command.
11942 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
11944         * progmodes/verilog-mode.el (verilog-forward-sexp):
11945         (verilog-calc-1): Support "disable fork" and "fork wait" multi
11946         word keywords, suggested by Steve Pearlmutter.
11947         (verilog-pretty-declarations): Support lineup of declarations in
11948         port lists.
11949         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11950         fix bug for /* / comments.
11951         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11952         Speed up and simplfy as this is never called with a bound.
11953         (verilog-pretty-declarations): Enhance to line up declarations
11954         inside a parameter list, suggested by Alan Morgan.
11955         (verilog-pretty-expr): Tune assignment regular expression match
11956         string for corner cases; also use markers instead of character
11957         number as indent changes the later.
11959 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
11961         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11962         as missing keyword.
11963         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11964         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
11965         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11966         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
11967         Tennant.
11968         (verilog-keywords):
11969         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11970         1800-2009 keywords, including "global.".
11972 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11974         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11975         appearing in buffer list (if a live buffer name matched a recentf
11976         file basename).  Should use uniquify to offer a real solution.
11978 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11980         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11981         comment to code, and add a :version tag.
11982         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11984 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
11986         Enable recentf-mode if using virtual buffers.
11987         * ido.el (recentf-list): Declare for byte-compiler.
11988         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
11989         (ido-make-buffer-list): Simplify.
11990         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
11992 2010-04-05  Juri Linkov  <juri@jurta.org>
11994         Scrolling commands which scroll a line instead of full screen.
11995         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11997         * simple.el (scroll-up-line, scroll-down-line): New commands.
11998         Put property isearch-scroll=t on them.
12000         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12001         Remove commands.
12003 2010-04-05  Juri Linkov  <juri@jurta.org>
12005         Scrolling commands which do not signal errors at top/bottom.
12006         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12008         * simple.el (scroll-up-command, scroll-down-command): New commands.
12009         Put property isearch-scroll=t on them.
12011         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12012         `scroll-down-command' and [next] from `scroll-up' to
12013         `scroll-up-command'.
12015         * emulation/cua-base.el: Put property CUA=move on
12016         `scroll-up-command' and `scroll-down-command'.
12017         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12018         and `scroll-down-command' to `cua-scroll-down'.
12020 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
12022         * help.el (describe-mode): Return nil.
12024 2010-04-04  John Wiegley  <jwiegley@gmail.com>
12026         * ido.el (ido-use-virtual-buffers): New variable to indicate
12027         whether "virtual buffer" support is enabled for IDO.
12028         (ido-virtual): Face used to indicate virtual buffers in the list.
12029         (ido-buffer-internal): If a buffer is chosen, and no such buffer
12030         exists, but a virtual buffer of that name does (which would be why
12031         it was in the list), recreate the buffer by reopening the file.
12032         (ido-make-buffer-list): If virtual buffers are being used, call
12033         `ido-add-virtual-buffers-to-list' before the make list hook.
12034         (ido-virtual-buffers): New variable which contains a copy of the
12035         current contents of the `recentf-list', albeit pared down for the
12036         sake of speed, and with proper faces applied.
12037         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12038         create a list of "virtual buffers" to present to the user in
12039         addition to the currently open set.  Note that this logic could
12040         get rather slow if that list is too large.  With the default
12041         `recentf-max-saved-items' of 200, there is little speed penalty.
12043 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12045         * font-lock.el: Require CL when compiling.
12046         (font-lock-turn-on-thing-lock): Use `case'.
12048 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
12050         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12051         Zaretskii.
12053 2010-04-02  Juri Linkov  <juri@jurta.org>
12055         * ehelp.el (electric-help-orig-major-mode):
12056         New buffer-local variable.
12057         (electric-help-mode): Set it to original major-mode.  Doc fix.
12058         (with-electric-help): Use `electric-help-orig-major-mode' instead
12059         of (default-value 'major-mode).  Doc fix.
12060         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12062 2010-04-02  Sam Steingold  <sds@gnu.org>
12064         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12065         `vc-hg-command' with a list of flags.
12067         * progmodes/bug-reference.el (bug-reference-bug-regexp):
12068         Also accept "patch" and "RFE".
12069         (bug-reference-fontify): `bug-reference-url-format' can also be a
12070         function to be able to handle the bug kind.
12071         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12073 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
12075         * tmm.el (tmm-get-keymap): Check with symbolp before passing
12076         value to fboundp, it may not be a symbol.
12078 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12080         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12082 2010-03-31  Juri Linkov  <juri@jurta.org>
12084         * simple.el (next-line, previous-line): Re-throw a signal
12085         with `signal' instead of using `ding'.
12086         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12088 2010-03-31  Juri Linkov  <juri@jurta.org>
12090         * simple.el (keyboard-escape-quit): Raise deselecting the active
12091         region higher than exiting the minibuffer.
12092         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12094 2010-03-31  Juri Linkov  <juri@jurta.org>
12096         * image.el (image-animated-p): Use `image-metadata' instead of
12097         `image-extension-data'.  Get GIF extenstion data from metadata
12098         property `extension-data'.
12100 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12102         * simple.el (append-to-buffer): Simplify.
12104 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
12106         * textmodes/artist.el (artist-mode): Fix typo in docstring.
12107         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
12109 2010-03-31  Kenichi Handa  <handa@m17n.org>
12111         * language/sinhala.el (composition-function-table): Fix regexp for
12112         the new Unicode specification.
12114         * language/indian.el (devanagari-composable-pattern)
12115         (tamil-composable-pattern, kannada-composable-pattern)
12116         (malayalam-composable-pattern): Adjust for the new Unicode
12117         specification.
12118         (bengali-composable-pattern, gurmukhi-composable-pattern)
12119         (gujarati-composable-pattern, oriya-composable-pattern)
12120         (telugu-composable-pattern): New variables to cope with the new
12121         Unicode specification.  Use them in composition-function-table.
12123 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12125         Make tmm-menubar work for the Buffers menu again (bug#5726).
12126         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12127         vectors rather than cons cells, as used in menu-bar-update-buffers.
12129 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12131         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12132         (js-insert-and-indent): Revert 2009-08-15 change, restoring
12133         electric punctuation for "{}();,:" (Bug#5586).
12135         * mail/sendmail.el (mail-default-directory): Doc fix.
12137 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12139         * mail/sendmail.el (mail-default-directory): Doc fix.
12141 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
12143         * subr.el (version-regexp-alist, version-to-list)
12144         (version-list-<, version-list-=, version-list-<=)
12145         (version-list-not-zero, version<, version<=, version=): Doc fix.
12146         (Bug#5744).
12148 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
12150         * vc.el (vc-root-diff): Doc fix.
12152 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12154         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12156         * simple.el (append-to-buffer): Fix last change.
12158 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12160         * simple.el (append-to-buffer): Ensure that point is preserved if
12161         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
12162         (Bug#5749)
12164 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12166         * files.el (auto-mode-case-fold): Change default to t.
12168 2010-03-30  Juri Linkov  <juri@jurta.org>
12170         * dired-x.el (dired-omit-mode): Doc fix.
12172 2010-03-30  Juri Linkov  <juri@jurta.org>
12174         * replace.el (occur-accumulate-lines): Move occur-engine related
12175         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12176         to be located after `occur-engine'.
12178 2010-03-30  Juri Linkov  <juri@jurta.org>
12180         Make occur handle multi-line matches cleanly with context.
12181         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12183         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12184         (occur-engine): Add local variables `ret', `prev-after-lines',
12185         `prev-lines'.  Use more arguments for `occur-context-lines'.
12186         Set first elem of its returned list to `data', and the second elem
12187         to `prev-after-lines'.  Don't print the separator line.
12188         In the end, print remaining context after-lines.
12189         (occur-context-lines): Add new arguments `begpt', `endpt',
12190         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
12191         after-lines of the previous match with before-lines of the
12192         current match and not overlap them.  Return a list with two
12193         values: the output line and the list of context after-lines.
12195 2010-03-30  Juri Linkov  <juri@jurta.org>
12197         * replace.el (occur-accumulate-lines): Fix a bug where the first
12198         context line at the beginning of the buffer was missing.
12200 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
12202         * files.el: Make bidi-display-reordering safe variable for boolean
12203         values.
12205 2010-03-29  Phil Hagelberg  <phil@evri.com>
12206             Chong Yidong  <cyd@stupidchicken.com>
12208         * subr.el: Extend progress reporters to perform "spinning".
12209         (progress-reporter-update, progress-reporter-do-update):
12210         Handle non-numeric value arguments.
12211         (progress-reporter--pulse-characters): New var.
12213 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
12215         * progmodes/compile.el (compilation-start): Fix regexp detection
12216         of initial cd command (Bug#5771).
12218 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
12220         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12222 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
12224         Restore GDB/MI functionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12225         * progmodes/gdb-mi.el: Restore.
12226         * progmodes/gdb-ui.el: Remove.
12227         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12229 2010-03-25  Glenn Morris  <rgm@gnu.org>
12231         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12232         all dired buffers, even tramp ones.  (Bug#5755)
12234 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12236         Add "union tags" in mpc.el.
12237         * mpc.el: Remove backward compatibility code.
12238         (mpc-browser-tags): Change default.
12239         (mpc--find-memoize-union-tags): New var.
12240         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12241         (mpc-cmd-find): Handle the case where the playlist does not exist.
12242         Handle union-tags.
12243         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
12244         (mpc-cmd-add): Use mpc-cmd-flush.
12245         (mpc-tagbrowser-tag-name): New fun.
12246         (mpc-tagbrowser-buf): Use it.
12247         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
12249 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12251         Misc cleanup.
12252         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12253         Use replace-regexp-in-string.
12254         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12255         (makefile-imake-mode-syntax-table): Move init into defvar.
12256         (makefile-mode): Use define-derived-mode.
12258         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12259         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12260         not be present any more.
12262 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12264         * faces.el (set-face-attribute): Fix typo in docstring.
12265         (face-valid-attribute-values): Reflow docstring.
12267 2010-03-24  Glenn Morris  <rgm@gnu.org>
12269         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12271 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12273         * indent.el (indent-for-tab-command): Doc fix.
12275 2010-03-24  Alan Mackenzie  <acm@muc.de>
12277         * progmodes/cc-engine.el (c-remove-stale-state-cache):
12278         Fix off-by-one error.  Fixes bug #5747.
12280 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12282         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12283         (image-dired-read-comment): Doc fix.
12285         * json.el (json-object-type, json-array-type, json-key-type)
12286         (json-false, json-null, json-read-number):
12287         * minibuffer.el (completion-in-region-functions):
12288         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12289         (cal-tex-cursor-week):
12290         * emacs-lisp/trace.el (trace-function):
12291         * eshell/em-basic.el (eshell/printnl):
12292         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12293         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12294         * obsolete/levents.el (allocate-event, event-key, event-object)
12295         (event-point, event-process, event-timestamp, event-to-character)
12296         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12297         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12298         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12299         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12300         (reftex-highlight-selection): Fix typos in docstrings.
12302 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12304         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12306 2010-03-24  Glenn Morris  <rgm@gnu.org>
12308         * mail/rmail.el (rmail-highlight-face): Restore option deleted
12309         2008-02-13 without comment; mark it obsolete.
12310         (rmail-highlight-headers): Use rmail-highlight-face once more.
12312 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12314         * woman.el (woman2-process-escapes): Only consume the newline if
12315         the filler character is on a line by itself (Bug#5729).
12317 2010-03-24  Kenichi Handa  <handa@m17n.org>
12319         * language/indian.el (devanagari-composable-pattern): Add more
12320         consonants.
12322 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12324         * net/trampver.el: Update release number.
12326 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12328         * net/tramp.el (tramp-find-executable):
12329         Use `tramp-get-connection-buffer'.  Make the regexp for checking
12330         output of "wc -l" more robust.
12331         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12332         (tramp-open-connection-setup-interactive-shell): Remove workaround
12333         for OpenSolaris bug, it is not needed anymore.
12335 2010-03-24  Glenn Morris  <rgm@gnu.org>
12337         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
12339 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
12341         * files.el (auto-mode-alist): Accept more verilog file patterns.
12343 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12345         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12347 2010-03-24  Glenn Morris  <rgm@gnu.org>
12349         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12350         log-edit-before-checkin-process.
12352         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12354         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12356         * vc-dispatcher.el (vc-start-logentry): Doc fix.
12357         (log-view-process-buffer, log-edit-extra-flags): Declare.
12359         * log-edit.el (log-edit-before-checkin-process): Doc fix.
12361 2010-03-23  Sam Steingold  <sds@gnu.org>
12363         Fix bug#5620: recalculate all markers on compilation buffer
12364         modifications, not on file modifications.
12365         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12366         variable: the buffer modification time, for buffers not associated with
12367         files.
12368         (compilation-mode): Create it.
12369         (compilation-filter): Update it.
12370         (compilation-next-error-function): Use it instead of
12371         `visited-file-modtime' for timestamp.
12373 2010-03-23  Juri Linkov  <juri@jurta.org>
12375         Implement Occur multi-line matches.
12376         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12378         * replace.el (occur): Doc fix.
12379         (occur-engine): Set `begpt' to the beginning of the first line.
12380         Set `endpt' to the end of the last match line.  At first, count
12381         line numbers between `origpt' and `begpt'.  Split out code from
12382         `out-line' variable to new let-bindings `match-prefix' and
12383         `match-str'.  In `out-line' add non-numeric prefix to all
12384         non-first lines of multi-line matches.  Finally, count lines
12385         between `begpt' and `endpt' and add to `lines'.
12387 2010-03-23  Juri Linkov  <juri@jurta.org>
12389         * replace.el (occur-accumulate-lines, occur-engine):
12390         Use `occur-engine-line' instead of duplicate code.
12391         (occur-engine-line): New function created from duplicate code
12392         in `occur-accumulate-lines' and `occur-engine'.
12394         * replace.el (occur-engine-line): Add optional arg `keep-props'.
12395         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12397 2010-03-23  Juri Linkov  <juri@jurta.org>
12399         * finder.el: Remove TODO tasks.
12401         * info.el (Info-finder-find-node): Add node "all"
12402         with all package info.  Handle a list of multiple keywords
12403         separated by comma.
12404         (info-finder): In interactive use with a prefix argument,
12405         use `completing-read-multiple' to read a list of keywords
12406         separated by comma.
12408 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12410         Add a new completion style `substring'.
12411         * minibuffer.el (completion-basic--pattern): New function.
12412         (completion-basic-try-completion, completion-basic-all-completions):
12413         Use it.
12414         (completion-substring--all-completions)
12415         (completion-substring-try-completion)
12416         (completion-substring-all-completions): New functions.
12417         (completion-styles-alist): New style `substring'.
12419 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12421         Get rid of .elc files after removal of the corresponding .el.
12422         * Makefile.in (compile-clean): New target.
12423         (compile-main): Use it.
12425 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
12427         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12428         don't do make there.  When compiling with separate object dir, there
12429         is no Makefile there.
12431 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12433         Get rid of the ELCFILES abomination, again.
12434         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12435         (all, compile): Don't call compile-last.
12436         (compile-main): Build the "elcfiles" list dynamically.
12437         (compile-targets): New (internal) target.
12439 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12441         * Makefile.in (top_srcdir): Define.
12442         (abs_top_builddir): Define.
12443         (srcdir): Don't append `/..'.
12444         (EMACS): Use ${abs_top_builddir}.
12445         (all, compile, compile-always, compile-last): Don't set emacswd.
12446         (update-subdirs, update-authors): Use $(top_srcdir) instead of
12447         $(srcdir).
12448         (lisp): Use $(srcdir) instead of @srcdir@.
12450 2010-03-21  Juri Linkov  <juri@jurta.org>
12452         Fix message of multi-line occur regexps and multi-buffer header lines.
12453         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12455         * replace.el (occur-1): Don't display regexp if it is longer
12456         than window-width.  Use `query-replace-descr' to display regexp.
12457         (occur-engine): Don't display regexp in the buffer header for
12458         multi-buffer occur.  Display a separate header line with total
12459         match count and regexp for multi-buffer occur.
12460         Use `query-replace-descr' to display regexp.
12462 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
12464         * net/secrets.el: Fix parenthesis.
12465         (secrets-enabled): Fix parenthesis.
12467 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12469         Use more relative file and directory names.
12470         * Makefile.in (EMACS): Arrange for it to work when we chdir.
12471         (setwins, setwins_almost, setwins_for_subdirs):
12472         Don't `cd'; output relative names.
12473         (all, compile, compile-always, compile-last): Set emacswd.
12474         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12475         Just cd to the lisp source dir so we can use relative file names.
12477         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12479 2010-03-20  Glenn Morris  <rgm@gnu.org>
12481         * textmodes/rst.el: Use faces for font-lock customization, and make the
12482         old -face variables obsolete.
12483         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12484         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12485         (rst-block-face, rst-external-face, rst-definition-face)
12486         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12487         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12488         Make obsolete.
12489         (rst-font-lock-keywords-function): Update for above changes.
12491 2010-03-20  Juri Linkov  <juri@jurta.org>
12493         * s-region.el:
12494         * obsolete/s-region.el: Move to obsolete.
12496 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
12498         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12500 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12502         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12504 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12506         Add special markup processing for commit logs.
12507         * log-edit.el (log-edit-extra-flags): New variable.
12508         (log-edit): Add new argument MODE.  Use that mode when non-nil
12509         instead of the log-view-mode.
12510         (log-view-process-buffer): New function.
12512         * vc.el: Document that the checkin method takes optional
12513         arguments.  Document new backend specific method: log-view-mode.
12514         (vc-default-log-edit-mode): New function.
12515         (vc-checkin): Use a backend specific log-view-mode.
12516         Pass extra arguments to the checkin method.
12517         (vc-modify-change-comment): Pass a dummy extra argument.
12519         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12520         log-edit.
12521         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12522         (vc-finish-logentry): Process the log buffer before passing it
12523         down.  Pass log-edit-extra-flags.
12525         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12526         command.
12527         (log-edit-extra-flags, log-edit-before-checkin-process):
12528         New declarations.
12530         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12531         command.
12532         (log-edit-extra-flags, log-edit-before-checkin-process):
12533         New declarations.
12534         (vc-hg-log-edit-mode): New derived mode.
12536         * vc-arch.el (vc-arch-checkin):
12537         * vc-cvs.el (vc-cvs-checkin):
12538         * vc-git.el (vc-git-checkin):
12539         * vc-mtn.el (vc-mtn-checkin):
12540         * vc-rcs.el (vc-rcs-checkin):
12541         * vc-sccs.el (vc-sccs-checkin):
12542         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12544 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12546         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12547         parent typo).
12549 2010-03-19  Glenn Morris  <rgm@gnu.org>
12551         * password-cache.el (password-cache, password-cache-expiry): Autoload.
12553 2010-03-18  Glenn Morris  <rgm@gnu.org>
12555         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12557         * replace.el (query-replace-history): Give it a doc string.
12558         (map-query-replace-regexp): Use query-replace-from-history-variable
12559         and query-replace-to-history-variable.
12561         * mail/hashcash.el (declare-function): Remove duplicate definition.
12563         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12564         Make it an obsolete alias for report-emacs-bug-address.
12565         (message-strip-special-text-properties): Declare.
12566         (report-emacs-bug): Remove test for a pretest bug address.
12567         Combine message-mode-specific code.
12569         * mail/supercite.el: Don't require sendmail.
12570         (mh-in-header-p): Declare rather than using with-no-warnings.
12571         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12572         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
12574         * calendar/cal-french.el: Convert to utf-8.
12576         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12577         Emacs scripts.
12579 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
12581         * net/secrets.el (secrets-enabled): New variable.  Use it instead
12582         of a subfeature.
12584 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
12586         * net/secrets.el (top): Register the D-Bus signals only when the
12587         service "org.freedesktop.secrets" can be pinged.
12588         Provide subfeature `enabled'.
12590 2010-03-14  Juri Linkov  <juri@jurta.org>
12592         Add finder unknown keywords.
12594         * finder.el (finder-unknown-keywords): New function.
12596         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12597         to create a Finder node with unknown keywords.
12599 2010-03-14  Juri Linkov  <juri@jurta.org>
12601         * finder.el (finder-compile-keywords): Replace `princ' with
12602         `prin1' on a list of symbols interned from keyword strings.
12604         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12605         a comma, then split keywords using a comma and optional whitespace.
12606         Otherwise, split by whitespace.
12608         * complete.el:
12609         * face-remap.el:
12610         * log-view.el:
12611         * net/hmac-def.el:
12612         * net/hmac-md5.el:
12613         * net/netrc.el:
12614         * progmodes/mixal-mode.el: Fix keywords.
12616 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
12618         * Makefile.in (ELCFILES): Add net/secrets.elc.
12620         * net/secrets.el: New file.
12622 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12624         * facemenu.el (list-colors-display, list-colors-print): New arg
12625         callback.  Use it to allow selecting colors.
12627         * wid-edit.el (widget-image-insert): Insert image prop even if the
12628         current display is non-graphic.
12629         (widget-field-value-set): New fun.
12630         (editable-field): Use it.
12631         (widget-field-value-get): Clean up unused var.
12632         (widget-color-value-create, widget-color--choose-action):
12633         New funs.  Allow using list-colors-display to choose color.
12635 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12637         * cus-edit.el: Resort topmost custom groups.
12638         (custom-buffer-sort-alphabetically): Default to t.
12639         (customize-apropos): Use apropos-parse-pattern.
12640         (custom-search-field): New var.
12641         (custom-buffer-create-internal): Add custom-apropos search field.
12642         (custom-add-parent-links): Don't display parent doc.
12643         (custom-group-value-create): Don't sort top-level custom group.
12644         (custom-magic-value-create): Show visibility button before option name.
12646         (custom-variable-state): New fun, from custom-variable-state-set.
12647         (custom-variable-state-set): Use it.
12648         (custom-group-value-create): Hide options with standard values
12649         using the :hidden-states property.  Use progress reporter.
12651         (custom-show): Simplify.
12652         (custom-visibility): Disable images by default.
12653         (custom-variable): New property :hidden-states.
12654         (custom-variable-value-create): Enable images for
12655         custom-visibility widgets.  Use :hidden-states property to
12656         determine initial visibility.
12658         * wid-edit.el (widget-image-find): Give images center ascent.
12659         (visibility): Add :on-image and :off-image properties.
12660         (widget-visibility-value-create): Use them.
12662 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12664         * cus-edit.el (processes): Remove from development group.
12665         (oop, hypermedia): Delete group.
12666         (comm): Promote to top-level group.
12668         * net/browse-url.el (browse-url):
12669         * net/xesam.el (xesam):
12670         * net/tramp.el (tramp):
12671         * net/goto-addr.el (goto-address):
12672         * net/ange-ftp.el (ange-ftp): Put in comm group.
12674         * view.el (view): Remove from editing group.
12676         * uniquify.el (uniquify): Put in files group.
12678         * net/browse-url.el (browse-url):
12679         * ps-print.el (postscript): Put in external group.
12681         * cus-edit.el (outlines):
12682         * textmodes/text-mode.el (text-mode-hook):
12683         * textmodes/table.el (table):
12684         * textmodes/picture.el (picture):
12685         * outline.el (outlines): Put in wp group.
12687         * nxml/nxml-mode.el (nxml): Remove from wp group.
12689         * net/tramp-imap.el (tramp-imap): Put in tramp group.
12691         * mail/metamail.el (metamail): Remove from hypermedia group.
12693         * cus-edit.el (abbrev):
12694         * whitespace.el (whitespace):
12695         * vcursor.el (vcursor):
12696         * reveal.el (reveal):
12697         * hl-line.el (hl-line): Put in convenience group.
12699         * epg-config.el (epg): Put in data group.
12701         * emulation/pc-select.el (pc-select): Put in emulations group.
12703         * calculator.el (calculator): Put in applications group.
12705 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12707         Add .dir-locals.el support for file-less buffers.
12708         * files.el (hack-local-variables): Split out code to apply local
12709         variable settings ...
12710         (hack-local-variables-apply): ... here.  New function.
12711         (hack-dir-local-variables): Use the default directory for when the
12712         buffer does not have an associated file.
12713         (hack-dir-local-variables-non-file-buffer): New function.
12714         * diff-mode.el (diff-mode):
12715         * vc-annotate.el (vc-annotate-mode):
12716         * vc-dir.el (vc-dir-mode):
12717         * log-edit.el (log-edit-mode):
12718         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12720 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12722         Add support for shelving snapshots and for showing shelves.
12723         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12724         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12725         New functions.
12726         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12727         (vc-bzr-extra-menu-map): Map them.
12729 2010-03-11  Glenn Morris  <rgm@gnu.org>
12731         * cus-edit.el (customize-changed-options-previous-release):
12732         Bump to 23.1.
12734         * image.el (image-animate-max-time): Fix :version tag.
12736 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
12738         * Branch for 23.2.
12740 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12742         * vc-git.el (vc-git-revision-table): Include remote branches.
12744 2010-03-10  Kim F. Storm  <storm@cua.dk>
12746         Animated image API.
12747         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12749         * image.el (image-animate-max-time): New defcustom.
12750         (image-animated-types): New defconst.
12751         (create-animated-image, image-animate-timer)
12752         (image-animate-start, image-animate-stop, image-animate-timeout)
12753         (image-animated-p): New functions.
12755         * image-mode.el (image-toggle-display-image):
12756         Replace `create-image' with `create-animated-image'.
12758 2010-03-09  Miles Bader  <miles@gnu.org>
12760         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12761         instead of "format:"; this ensures that the output is
12762         newline-terminated.
12764 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
12766         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12767         that all errors are caught, and that the return value is always a
12768         list (Bug#5692).
12770 2010-03-08  Kenichi Handa  <handa@m17n.org>
12772         * language/misc-lang.el (windows-1256): New coding system.
12773         (cp1256): New alias of windows-1256 (bug#5690).
12775 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
12777         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12778         call to rfc822-bad-address.  (Bug#5692)
12780 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12782         * vc-git.el (vc-git-annotate-extract-revision-at-line):
12783         Use vc-git-root as default directory for revision path (Bug#5657).
12785 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
12787         * calculator.el (calculator): Don't bind split-window-keep-point
12788         (Bug#5674).
12790 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12792         * vc-git.el: Re-flow to fit into 80 columns.
12793         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12794         Remove spurious `quote' element in each case alternative.
12795         (vc-git-show-log-entry): Use prog1.
12796         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12798 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12800         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12802 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
12804         * macros.el (insert-kbd-macro): Look up keyboard macro using the
12805         definition, not the name (Bug#5481).
12807 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12809         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12810         argument with a local variable.  (Bug#5670)
12812 2010-03-02  Juri Linkov  <juri@jurta.org>
12814         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
12816 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
12818         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12819         error when FILENAME and NEWNAME are existing remote directories.
12821         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12822         parameter DIR-FLAG.
12824 2010-03-02  Glenn Morris  <rgm@gnu.org>
12826         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12827         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12829 2010-03-01  Kenichi Handa  <handa@m17n.org>
12831         * language/burmese.el (burmese-composable-pattern): Rename from
12832         myanmar-composable-pattern.
12834         * international/characters.el (script-list):
12835         * international/fontset.el (script-representative-chars):
12836         Change myanmar to burmese.
12837         (otf-script-alist): Likewise.
12838         (setup-default-fontset): Likewise.  Re-fix :otf spec.
12840 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
12842         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12844 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
12846         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12848 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12850         * net/tramp.el (tramp-handle-write-region): START can be a string.
12851         Take care in the checks.  Reported by Dan Davison
12852         <davison@stats.ox.ac.uk>.
12854 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12856         * net/dbus.el (dbus-introspect, dbus-get-property)
12857         (dbus-set-property, dbus-get-all-properties):
12858         Use `dbus-call-method' when noninteractive.  (Bug#5645)
12860 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
12862         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12863         * emacs-lisp/elint.el (elint-add-required-env):
12864         * calendar/icalendar.el (icalendar--add-diary-entry):
12865         * calc/calcalg2.el (math-tracing-integral):
12866         * files.el (recover-session-finish): Use with-current-buffer
12867         instead of save-excursion.
12869 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12871         Fix in-buffer completion when after-change-functions modify the buffer.
12872         * minibuffer.el (completion--replace): New function.
12873         (completion--do-completion): Use it and use relative movement.
12875 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
12877         * international/fontset.el (setup-default-fontset): Fix :otf spec.
12879 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
12881         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12882         Allow the characters _<> in the stack entry (Bug#5653).
12884 2010-02-26  Kenichi Handa  <handa@m17n.org>
12886         * language/burmese.el: Fix entries in composition-function-table.
12887         (myanmar-composable-pattern): New variable.
12889         * international/fontset.el (setup-default-fontset): Add an entry
12890         for myanmar.
12892         * international/characters.el (script-list): Add Myanmar
12893         Extended-A.
12895 2010-02-26  Glenn Morris  <rgm@gnu.org>
12897         * custom.el (custom-initialize-delay): Doc fix.
12899         * mail/sendmail.el (send-mail-function): Autoload the call
12900         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12902 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
12904         * files.el (hack-local-variables-filter): For eval forms, also
12905         check safe-local-variable-p (Bug#5636).
12907 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
12909         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12910         setting the modes by `ignore-errors'.  It might fail, for example
12911         if the file is not owned by the user but the group.
12912         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12914 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
12916         * files.el (directory-listing-before-filename-regexp):
12917         Use stricter matching for iso-style dates, to avoid false matches with
12918         date-like filenames (Bug#5597).
12920         * htmlfontify.el (htmlfontify): Doc fix.
12922         * eshell/eshell.el (eshell): Doc fix.
12924         * startup.el (fancy-about-screen): In mode-line, apply
12925         mode-line-buffer-id face only to the buffer name (Bug#5613).
12927 2010-02-20  Kevin Ryde  <user42@zip.com.au>
12929         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12930         In `watcom' anchor regexp to start of line, to avoid slowness
12931         (Bug#5599).
12933 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
12935         * subr.el (remove-yank-excluded-properties): Explain in a comment
12936         why `category' property is removed.
12938 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
12940         * isearch.el (isearch-update-post-hook, isearch-update):
12941         Revert 2010-02-17 change.
12943 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
12945         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12946         (icalendar--convert-weekly-to-ical)
12947         (icalendar--convert-yearly-to-ical)
12948         (icalendar--convert-block-to-ical)
12949         (icalendar--convert-cyclic-to-ical)
12950         (icalendar--convert-anniversary-to-ical): Take care of time
12951         specifications where hour has 1-digit only (Bug#5549).
12953 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
12955         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12956         of disassemble output in GDB 7.1.
12958 2010-02-19  Glenn Morris  <rgm@gnu.org>
12960         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12961         property.  (Bug#5593)
12963 2010-02-18  Sam Steingold  <sds@gnu.org>
12965         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12967 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12969         Use abbreviated file names in bookmarks (bug#5591).
12970         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12971         calls to expand-file-name.
12972         (bookmark-relocate): Use abbreviated file names in bookmarks.
12973         (bookmark-load): Use abbreviated file names in messages.
12975 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12977         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12978         expand "." and "..".  Reported by Thierry Volpiatto
12979         <thierry.volpiatto@gmail.com>.
12981 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12983         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12984         permissions of the temporary file to "0600".  In case the remote
12985         file has no read permissions for the owner, there might be
12986         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
12988 2010-02-18  Glenn Morris  <rgm@gnu.org>
12990         * emacs-lisp/authors.el (authors-renamed-files-alist):
12991         Add entries for INSTALL.CVS.
12993 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
12995         * vc-bzr.el: Fix typo in Known Bugs section.
12997         * isearch.el (isearch-update-post-hook): New hook.
12998         (isearch-update): Use the new hook.
13000 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
13002         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13003         Fix errors in copying directories.
13004         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13005         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13006         (tramp-handle-delete-file)
13007         (tramp-handle-dired-recursive-delete-directory)
13008         (tramp-handle-write-region): Flush also the cache for the upper
13009         directory.
13011 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
13013         * simple.el (save-interprogram-paste-before-kill): Doc fix.
13015         * cus-edit.el (hardware): Doc fix.
13017         * man.el (man): Add to external custom group.
13019         * delim-col.el (columns): Move to wp custom group.
13021         * doc-view.el (doc-view): Add to data custom group.
13023         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13025         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13026         by ispell-parse-output (Bug#5575).
13028 2010-02-16  Kenichi Handa  <handa@m17n.org>
13030         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13031         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13032         (skkdic-convert): Use `euc-japan' coding system for writing.
13034 2010-02-16  Glenn Morris  <rgm@gnu.org>
13036         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13037         tex-main-file before using it.  (Bug#5562)
13039 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13041         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13042         warnings, since it is annoying for the user to see them each time he
13043         runs the code.
13045 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
13047         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13048         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13049         instead of PROC for caching "first-password-request".  Otherwise,
13050         new processes would not profit from passwords already entered.
13052         * net/tramp-cache.el (tramp-dump-connection-properties):
13053         Don't save "first-password-request" property.
13055 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
13057         * outline.el (outline-head-from-level):
13058         * simple.el (with-wrapper-hook):
13059         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13060         (elint-defun, elint-buffer-env, elint-top-form-logged)
13061         (elint-unbound-variable):
13062         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13063         Fix typos in docstrings.
13065 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
13067         * files.el (insert-directory): When WILDCARD-REGEXP and
13068         FULL-DIRECTORY-P are nil, insert the file entry instead of the
13069         whole directory.  (Bug#5551)
13071         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
13072         dired's alignment sanity.  (Bug#5516)
13074 2010-02-14  Juri Linkov  <juri@jurta.org>
13076         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13077         Remove remaining ^H with their preceding chars.  (Bug#5566)
13079 2010-02-13  Glenn Morris  <rgm@gnu.org>
13081         * simple.el (transpose-subr): Give it a doc-string.
13083         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13084         Doc fixes.
13086 2010-02-12  Juri Linkov  <juri@jurta.org>
13088         * arc-mode.el (archive-unique-fname): Make directories for nested
13089         archives.  (Bug#5540)
13091 2010-02-12  Juri Linkov  <juri@jurta.org>
13093         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
13095 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13097         * subr.el (copy-overlay): Handle deleted overlays.
13099         * man.el (Man-completion-table): Don't signal an error if we can't run
13100         manual-program (bug#4056).
13102 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
13104         * textmodes/artist.el (artist-mt): Fix typos in docstring.
13106 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13108         * info.el (Info-bookmark-jump): Simplify.
13110         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13111         (bookmark-default-handler): Accept new bookmark field `buffer'.
13113 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
13115         * iswitchb.el (iswitchb-completions): Revert last change.
13117 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
13119         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13120         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13121         This prevents file names like "~/" being listed literally.
13123 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
13125         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13126         Remove dead code.  (Bug#5546)
13128 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
13130         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13131         correctly (Bug#5548).
13133 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
13135         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13136         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13138 2010-02-08  Kenichi Handa  <handa@m17n.org>
13140         * international/mule-util.el (with-coding-priority): Add autoload
13141         cookie for putting `lisp-indent-function'.
13143 2010-02-07  Glenn Morris  <rgm@gnu.org>
13145         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13146         Move F2003 named interfaces from keywords-2 to keywords-1, and
13147         use function-name-face rather than constant-face.
13148         Simplify "abstract interface" regexp.
13150 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
13152         * eshell/esh-util.el (eshell-file-attributes): New optional arg
13153         ID-FORMAT.  Pass it to `file-attributes'.
13155         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13157 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
13159         * faces.el (set-face-attribute): Allow calling
13160         internal-set-lisp-face-attribute with 'unspecified family and
13161         foundry argument (Bug#5536).
13163 2010-02-07  Glenn Morris  <rgm@gnu.org>
13165         * progmodes/f90.el (f90-font-lock-keywords-2)
13166         (f90-looking-at-type-like, f90-looking-at-program-block-end):
13167         Handle F2003 named interfaces.
13169 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
13171         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13172         beg and end before calling c-get-state-before-change-functions.
13174 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
13176         * vc-bzr.el (vc-bzr-dir-extra-headers):
13177         Disable the pending merges header.
13179 2010-02-05  Juri Linkov  <juri@jurta.org>
13181         * doc-view.el (doc-view-mode):
13182         * image-mode.el (image-mode): Put property mode-class=special.
13183         (Bug#4896)
13185 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
13187         * vc-svn.el (vc-svn-revision-table): New function.
13189 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
13191         * net/ange-ftp.el (ange-ftp-insert-directory):
13192         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13193         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13194         Handle also directories.  (Bug#5478)
13196 2010-02-05  Glenn Morris  <rgm@gnu.org>
13198         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13200 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
13202         * startup.el (command-line-1): Convert options beginning with a
13203         single dash as well (Bug#5519).
13205 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13207         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13208         * minibuffer.el (completion-initials-expand): Only check the presence
13209         of delims *within* the boundaries, since otherwise the / delim is
13210         always found for files.
13212         Fix up various corner case problems.
13213         * doc-view.el (doc-view-last-page-number): New function.
13214         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13215         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13216         (doc-view-kill-proc): Avoid inf-loop in freak cases.
13217         (doc-view-reconvert-doc): Use the new recursive delete-directory.
13218         (doc-view-convert-current-doc): Don't create the resolution.el file
13219         here any more.
13220         (doc-view-pdf/ps->png): Do it here instead.
13221         (doc-view-already-converted-p): Check that resolution.el is present.
13222         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13223         windows that are not yet showing images.
13225 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
13227         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13228         `dired-uncache' for every element which is an absolute file name.
13230         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13231         directory, handle its directory component.
13232         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13233         function is called permanently and creates noise, otherwise.
13235         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13236         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13237         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
13239 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
13241         * macros.el (apply-macro-to-region-lines):
13242         Minor simplification.  (Bug#5485)
13244 2010-02-04  Glenn Morris  <rgm@gnu.org>
13246         * mail/rmail.el (rmail-show-message-1): Handle malformed
13247         quoted-printable text.  (Bug#5441)
13249         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13251         * simple.el (visual-line-mode): Capitalize lighter.
13253 2010-02-03  John Wiegley  <jwiegley@gmail.com>
13255         * iswitchb.el (iswitchb-completions): Add bookmark files to the
13256         list of files considered for "virtual buffer" completions.
13258 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
13260         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13261         also in case of (and (not full) (not wildcard)).  This is needed
13262         when dired is called with a list of files, which are not in
13263         `default-directory'.  (Bug#5478)
13265 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13267         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13269 2010-02-02  Juri Linkov  <juri@jurta.org>
13271         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13272         from unidiff to allow function-line after @@.
13274 2010-02-02  Juri Linkov  <juri@jurta.org>
13276         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13277         '(RCS SCCS) with inverted condition.
13279 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
13281         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13282         messages.
13284 2010-02-01  Juri Linkov  <juri@jurta.org>
13286         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13287         compare with "pkunzip" and "pkzip" instead of only "pkzip".
13288         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13289         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
13291 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13293         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13294         (doc-view-revert-buffer): New command.
13295         (doc-view-mode-map): Use it.
13297 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
13299         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13300         pending merge is detected.
13302 2010-01-31  Juri Linkov  <juri@jurta.org>
13304         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13305         beginning of interactive spec like all other grep commands do.
13306         Put "all" in front of "gz".  (Bug#5260)
13308 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
13310         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13312 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
13314         * dirtrack.el (dirtrack): Warn instead of signaling error if the
13315         regexp is incorrect (Bug#5476).
13317 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
13319         * net/tramp.el (tramp-handle-insert-directory): Handle also
13320         symlinks, when FILENAME is not in `default-directory'.
13322 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13324         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13325         FILE is not in `default-directory'.  (Bug#5478)
13327         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13328         of SWITCHES.  Handle the case, FILENAME is not in
13329         `default-directory'.  (Bug#5478)
13330         (tramp-register-file-name-handlers): Add safe-magic property.
13332 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
13334         * arc-mode.el (archive-zip-extract): Quote the argument passed to
13335         unzip (Bug#5475).
13337 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
13339         * progmodes/flymake.el (flymake-allowed-file-name-masks)
13340         (flymake-master-make-header-init): Add other C++ filename masks.
13341         (flymake-find-possible-master-files)
13342         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13344 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13346         Fix some busybox annoyances.
13348         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13349         not responding." string.
13350         (tramp-open-connection-setup-interactive-shell): Dump stty
13351         settings.  Enable "neveropen" arg for all `tramp-send-command'
13352         calls.  Handle "=" in variable values properly.
13353         (tramp-find-inline-encoding): Raise an error, when no encoding is
13354         found.
13355         (tramp-wait-for-output): Check, whether PROC buffer is available.
13356         Remove spurious " ^H" sequences, sent by busybox.
13357         (tramp-get-ls-command): Suppress coloring, if possible.
13359 2010-01-28  Glenn Morris  <rgm@gnu.org>
13361         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
13363         * log-edit.el (log-edit-strip-single-file-name): Add missing
13364         :safe, :group, and :version tags.
13366 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
13368         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13369         buffers.  (Bug#5477)
13371 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
13373         * files.el (delete-directory): Handle moving to trash without
13374         first doing recursion (Bug#5436).
13376 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
13378         * vc-hooks.el (vc-path): Mark as obsolete.
13380 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
13382         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13383         names too.
13385         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13386         for the short log.
13387         (vc-bzr-log-view-mode): Adjust regexp for the above change.
13389 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
13391         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13393         * vc-bzr.el (vc-bzr-revision-table): New function.
13395 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
13397         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13398         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
13400 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
13402         Remove support for adding --signoff on commit.
13403         Future support will use an incompatible generic mechanism.
13404         * vc-git.el (vc-git-add-signoff): Remove variable.
13405         (vc-git-toggle-signoff): Remove function.
13406         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13408         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13409         Rename from xterm-set-background-mode.  Return t if the background mode
13410         was set.
13411         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13412         earlier, call it again in case the background mode has changed.
13414 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
13416         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13417         (Bug#3541).
13419 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
13421         * emacs-lisp/assoc.el (aelement): Doc fix.
13422         (aput, adelete, amake): Use lexical-let (Bug#5450).
13424 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
13426         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13427         is the same as subprogram call, not declaration.  (Bug#5435).
13429 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
13431         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13432         (tramp-smb-maybe-open-connection): Use it.
13434 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
13436         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
13438 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13440         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13441         just because we see "encoding: 8bit".
13442         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13444 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
13446         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13448 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
13450         * jka-compr.el (jka-compr-load): If load-file is not in
13451         load-history, try its file-truename version.  (bug#5447)
13453 2010-01-21  Alan Mackenzie  <acm@muc.de>
13455         Fix a situation where deletion of a cpp construct throws an error.
13456         * progmodes/cc-engine.el (c-invalidate-state-cache):
13457         Before invoking c-with-all-but-one-cpps-commented-out, check that the
13458         special cpp construct is still in the buffer.
13459         (c-parse-state): Record the special cpp with markers, not numbers.
13461 2010-01-21  Kenichi Handa  <handa@m17n.org>
13463         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13464         process last-command-event, as it is now decoded first (Bug#5380).
13466 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
13468         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13470 2010-01-20  Glenn Morris  <rgm@gnu.org>
13472         * indent.el (tab-always-indent): Fix custom-type.
13474 2010-01-19  Alan Mackenzie  <acm@muc.de>
13476         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13477         buffer throws "args out of range".
13478         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13479         playing the role of delimiter.
13481 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
13483         * progmodes/ada-mode.el: Fix bug#5400.
13484         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13485         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13486         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
13487         Improve comments in "is" portion.  Handle null procedure declaration.
13488         (ada-move-to-end): Improve doc string.
13490 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
13492         * ido.el (ido-cur-list): Initialize to nil.
13493         Remove obsolete information from commentary.
13494         (ido-choice-list): Initialize to nil.
13495         (ido-get-bufname): Reject minibuffers.
13496         (ido-make-buffer-list): If "default" is a nonexistent
13497         buffer, ignore it, as per the function's comment.
13498         (ido-kill-buffer-internal): New function.
13499         (ido-kill-buffer-at-head): Use it.
13500         (ido-visit-buffer): Likewise.
13502 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
13504         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13506 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
13508         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13509         Fix typos in chart titles.
13511         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13512         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13513         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13514         (describe-class, eieio-describe-generic, describe-generic):
13515         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13516         (eieio-speedbar-expand):
13517         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13518         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13519         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13520         (viper-del-backward-char-in-replace, viper-backward-indent)
13521         (viper-brac-function, viper-register-to-point, viper-submit-report):
13522         * net/tramp.el (tramp-remote-coding-commands):
13523         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13524         Fix typos in docstrings.
13526 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
13528         * mail/sendmail.el (mail-yank-original): Set the mark if the
13529         specified function for yanking does not do it.
13531 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
13533         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
13535         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13536         resyncing a directory.
13538 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
13540         * progmodes/ada-mode.el: Fix bug#1920.
13541         (ada-ident-re): Delete ., allow multibyte characters.
13542         (ada-goto-label-re): New; matches goto labels.
13543         (ada-block-label-re): New; matches block labels.
13544         (ada-label-re): New; matches both.
13545         (ada-named-block-re): Delete; callers changed to use
13546         `ada-block-label-re' instead.
13547         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13548         Use `ada-block-label-re'.
13549         (ada-indent-on-previous-lines): Improve handling of goto labels.
13550         (ada-get-indent-block-start): Special-case block label.
13551         (ada-get-indent-label): Split into `ada-indent-block-label' and
13552         `ada-indent-goto-label'.
13553         (ada-goto-stmt-start, ada-goto-next-non-ws):
13554         Optionally ignore goto labels.
13555         (ada-goto-next-word): Simplify.
13556         (ada-indent-newline-indent-conditional): Insert newline before
13557         trying to fix indentation; doc fix.
13559 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
13561         * calc/calc.el (calc-command-flags): Give it an initial value.
13563 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
13565         * files.el (minibuffer-with-setup-hook):
13566         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13567         (artist-key-draw-continously, artist-key-do-continously-continously)
13568         (artist-key-set-point-continously, artist-mouse-draw-continously):
13569         Fix typos in docstrings.
13571 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
13573         * nxml/nxml-mode.el (nxml-extend-after-change-region):
13574         Never return t (Bug#3898).
13576 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
13578         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13579         can parse the output of the external commands (Bug#5279).
13581 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
13583         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13585 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
13587         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13589         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13591         * startup.el (command-line): Remove unused --icon-type arg.
13592         Handle --display arg, passing it to command-line-1 (Bug#5392).
13594 2010-01-16  Mario Lang  <mlang@delysid.org>
13596         * emacs-lisp/chart.el (chart-translate-namezone):
13597         * textmodes/artist.el (artist-compute-popup-menu-table):
13598         Remove duplicated words in doc-strings.
13600 2010-01-15  David Abrahams  <dave@boostpro.com>
13602         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13603         to mairix-search to suppress threading (Bug#5342).
13605 2010-01-15  Kenichi Handa  <handa@m17n.org>
13607         * international/mule-cmds.el (canonicalize-coding-system-name):
13608         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13610 2010-01-15  Glenn Morris  <rgm@gnu.org>
13612         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
13614         * wid-edit.el (widget-keymap): Doc fix.
13616         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13617         former seems to be more widely accepted by various svn versions.
13619 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13621         * find-cmd.el (find-constituents):
13622         * vc-arch.el (vc-arch-root):
13623         * window.el (window-body-height, pop-up-frames):
13624         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13625         * progmodes/ada-stmt.el (ada-if):
13626         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13627         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13628         (ispell-encoding8-command, ispell-aspell-supports-utf8)
13629         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13631         * progmodes/flymake.el (flymake-post-syntax-check):
13632         Fix typo in error message.
13634 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13636         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13637         which is always a string.  (Bug#5313)
13639 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13641         * progmodes/ada-xref.el (ada-default-prj-properties):
13642         Simplify previous change.
13644 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13646         * progmodes/ada-xref.el (ada-default-prj-properties):
13647         Default ada_project_path to $ADA_PROJECT_PATH.
13649 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13651         * progmodes/ada-mode.el (ada-create-keymap):
13652         Override `narrow-to-defun' with `ada-narrow-to-defun'.
13654 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13656         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13657         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13658         (ada-get-current-indent, ada-imenu-generic-expression)
13659         (ada-which-function): Check for it.
13661 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13663         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13664         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13666 2010-01-14  Glenn Morris  <rgm@gnu.org>
13668         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
13670 2010-01-14  Kenichi Handa  <handa@m17n.org>
13672         * composite.el (auto-composition-mode): Make it a buffer local
13673         variable (permanent-local).
13674         (auto-composition-function): Set the default value to
13675         auto-compose-chars.
13676         (auto-composition-mode): Make it a simple function, not a minor mode.
13677         (global-auto-composition-mode): Likewise.
13678         (turn-on-auto-composition-if-enabled): Delete it.
13680 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
13682         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13684 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
13686         * files.el (copy-directory): Compute target for recursive
13687         directories with identical names.  (Bug#5343)
13689 2010-01-12  Glenn Morris  <rgm@gnu.org>
13691         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13692         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13694 2010-01-11  Sam Steingold  <sds@gnu.org>
13696         * imenu.el (imenu-default-create-index-function): Detect infinite
13697         loops caused by imenu-prev-index-position-function.
13699 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13701         * htmlfontify.el (htmlfontify-load-rgb-file)
13702         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13703         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13704         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13705         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13706         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13707         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13708         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13709         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13710         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13711         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13712         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13713         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13714         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13715         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13716         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13717         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13718         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13719         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13720         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13721         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13722         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13723         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13724         backslash-quoting from parentheses, etc.
13726 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
13728         * progmodes/js.el: Autoload javascript-mode alias.
13730 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13732         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13733         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13734         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13735         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13736         Fix typos in docstrings.
13737         (ffap-url-regexp): Doc fix.
13738         (ffap-at-mouse): Fix typo in message.
13740 2010-01-11  Glenn Morris  <rgm@gnu.org>
13742         * version.el (emacs-copyright): Set copyright year to 2010.
13744 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13746         * format.el (format-annotate-function): Only set
13747         write-region-post-annotation-function after running to-fn so as not to
13748         affect nested write-region calls (bug#5273).
13750 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
13752         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13753         wisent/python.el.
13755 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13757         * man.el (Man-goto-section): Signal error if the section is not
13758         found (Bug#5317).
13760 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
13762         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13763         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
13765 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13767         * progmodes/compile.el: Don't treat compile-command as safe if
13768         compilation-read-command might be nil (Bug#4218).
13770 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
13772         * startup.el (command-line-1): Use orig-argi to check for ignored X and
13773         NS options.
13775 2010-01-08  Kenichi Handa  <handa@m17n.org>
13777         * international/fontset.el (build-default-fontset-data):
13778         Exclude characters in scripts kana, hangul, han, or cjk-misc.
13780 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
13782         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13783         to `create-file-buffer' as it expects, not just a buffer name.
13784         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13785         to help uniquify.  (Bug#3224)
13787 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
13789         * font-setting.el (font-setting-change-default-font): Use user-spec
13790         instead of name.
13792 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
13794         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13796 2010-01-05  Tom Tromey  <tromey@redhat.com>
13798         * progmodes/python.el (python-font-lock-keywords):
13799         Handle qualified decorators (Bug#881).
13801 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13803         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13804         in a lightweight checkout.
13806 2010-01-05  Kenichi Handa  <handa@m17n.org>
13808         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13810 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13812         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13814 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
13816         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13817         checkouts.  (Bug#618)
13818         (vc-bzr-log-view-mode): Also highlight the author.
13819         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13820         (vc-bzr-shelve-menu-map):
13821         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13822         (vc-bzr-shelve-apply): Make prompt more explicit.
13824 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
13826         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13827         They are valid characters in URL paths (rfc3986), and at least
13828         Firefox does not understand the encoded version (Bug#3166).
13830 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
13832         * progmodes/octave-mod.el (octave-end-keywords)
13833         (octave-block-begin-or-end-regexp, octave-block-match-alist):
13834         Add "end" keyword (Bug#3061).
13835         (octave-end-as-array-index-p): New function.
13836         (calculate-octave-indent): Use it.
13838 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13840         * bookmark.el: Consistently put the text property on the bookmark name.
13841         (bookmark-bmenu-marks-width): Bump back to 2, to include
13842         annotation marks.
13843         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13844         property on the bookmark name, instead of not putting it at all.
13845         (bookmark-bmenu-list): Fix where we put the text property.
13847 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13849         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13850         for showing buffer modified state (as added in the previous change).
13852 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13854         * bookmark.el: Show modified state of bookmark buffer more accurately.
13855         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13856         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13857         (with-buffer-modified-unmodified): New macro.
13858         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13859         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13860         Use new macro to preserve the buffer modified state.
13862 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13864         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13865         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13866         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13867         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13868         (bookmark-bmenu-rename, bookmark-bmenu-locate)
13869         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13870         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13872 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13874         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13875         Make the lines in the generated doc string shorter.  (Bug#4668)
13877 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
13879         * net/rcirc.el: Add follow-link binding (Bug#4738).
13881 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13883         * Makefile.in (bzr-update): Rename from cvs-update.
13884         (cvs-update): New target for backward compatibility.
13886         * makefile.w32-in (bzr-update): Rename from cvs-update.
13887         (cvs-update): New target for backward compatibility.
13889 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13891         * bookmark.el: Remove gratuitous gratitude.
13893 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13895         * bookmark.el (bookmark-bmenu-any-marks): New function.
13896         (bookmark-bmenu-save): Clear buffer modification if no marks.
13898 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13900         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13901         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13902         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13903         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13905         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13906         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13907         To: emacs-devel {_AT_} gnu.org
13908         Subject: bookmark.el bug report
13909         Date: Mon, 28 Dec 2009 14:19:16 +0800
13910         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13912 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13914         * bookmark.el: Improvements suggested by Drew Adams:
13915         (bookmark-bmenu-ensure-position): New name for
13916         `bookmark-bmenu-check-position'.  Just ensure the position,
13917         don't return any meaningful value.
13918         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13919         New constants.
13921 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
13923         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13924         (bookmark-yank-point, bookmark-bmenu-check-position):
13925         Fix typos in docstrings.
13926         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13927         (bookmark-name-from-full-record, bookmark-get-position)
13928         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13929         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13930         Remove useless quoting of parenthesis, etc. in docstrings.
13932         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13933         (ediff-append-custom-diff): Fix typo in error message.
13934         (ediff-meta-mark-equal-files): Fix typos in messages.
13936         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13938         * net/imap-hash.el (imap-hash-make): Doc fix.
13939         (imap-hash-test): Fix typo in error message; reflow docstring.
13940         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13941         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13942         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13943         Fix typos in docstrings.
13944         (imap-hash-open-connection): Fix typo in error message.
13946         * play/gomoku.el (gomoku): Fix typos in docstring.
13948         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13949         (gdb-jsonify-buffer): Fix typos in docstring.
13950         (gdb-goto-breakpoint): Fix typo in error message.
13951         ("Display Other Windows"): Fix typo in help message.
13952         (gdb-speedbar-expand-node): Fix typo in question.
13954         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13955         (idlwave-html-system-help-location, idlwave-html-help-location)
13956         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13957         (idlwave-help-browser-generic-args, idlwave-help-directory)
13958         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13959         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13960         (idlwave-online-help, idlwave-help-html-link)
13961         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13962         Fix typos in docstrings.
13963         (idlwave-help-with-source, idlwave-help-find-routine-definition):
13964         Reflow docstrings.
13965         (idlwave-help-assistant-start): Fix typo in error message.
13967         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13968         (octave-electric-space): Fix typos in docstrings.
13970 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
13972         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13974 2010-01-01  Juri Linkov  <juri@jurta.org>
13976         * comint.el (comint-input-ring-size): Make it a defcustom and
13977         increase the default to 500 (Bug#5148).
13979 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
13981         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13982         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13983         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13985 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
13987         Show working revision correctly for mercurial.
13988         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13989         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13991 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
13993         Declare some functions for the byte-compiler.
13994         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13995         (speedbar-timer-fn, speedbar-change-expand-button-char)
13996         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13998 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
14000         This changeset reverts GDB Graphical Interface to use annotations.
14001         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14003 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
14005         Make vc-dir work on subdirectories of the bzr root.
14006         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14007         Return file names relative to it.
14008         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14009         relative directory to vc-bzr-after-dir-status.
14011 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
14013         * font-lock.el (font-lock-refresh-defaults): New function, which
14014         can be used to let font-lock react to external changes in
14015         variables like font-lock-defaults and keywords.
14016         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14018 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
14020         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14022         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14024 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
14026         Supersede color.diff settings in git log (bug#5211).
14028         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14029         escape chars in its output when the user has color.diff set to `always'.
14030         This fix works on git 1.4.2 and newer (released on 2006-08-13).
14032 2009-12-26  Kevin Ryde  <user42@zip.com.au>
14034         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14035         node.  Keep previous "Index" name to work with past coreutils too.
14037         * man.el (man): Revise docstring a bit to show -a and -l as
14038         examples.  Add -k description since support for it has otherwise
14039         been a secret.  (Further to bug#3717.)
14040         (Man-bgproc-sentinel): When "-k foo" produces no output show error
14041         "no matches" rather than "Can't find manpage", as the latter reads
14042         like -k was interpreted as a page name, which is not so.  (Bug#5431)
14044 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
14046         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14047         switches.  Check also for //SUBDIRED// line.
14049 2009-12-25  Kenichi Handa  <handa@m17n.org>
14051         * language/indian.el (devanagari-composable-pattern): Fix to
14052         handle ZWNJ and ZWJ.  Use it in composition-function-table for
14053         Devanagari.
14054         (malayalam-composable-pattern): Fix previous change.
14056 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14058         * ps-print.el (ps-face-attributes): It was not returning the
14059         attribute face for faces specified as string.  Reported by harven
14060         <harven@free.fr>.  (Bug#5254)
14061         (ps-print-version): New version 7.3.5.
14063 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
14065         * calendar/icalendar.el (icalendar--convert-tz-offset):
14066         Fix timezone names.
14067         (icalendar--convert-tz-offset): Fix the "last-day-problem".
14068         (icalendar--add-diary-entry): Remove the trailing blank that
14069         diary-make-entry inserts.
14071 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
14073         Make `file-expand-wildcards' work for remote files.
14075         * files.el (file-expand-wildcards): In case of remote files, check
14076         only local file name part for wildcards.  Provide feature 'files
14077         and subfeature 'remote-wildcards.  (Bug#5198)
14079         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14080         if there is already an established connection.
14081         (tramp-advice-file-expand-wildcards): Remove it.
14083         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14084         (tramp-advice-file-expand-wildcards): Move from tramp.el.
14085         Activate advice for older GNU Emacs versions.  (Bug#5237)
14087 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
14089         Some doc fixes (more needed).
14091         * find-cmd.el (find-constituents): Reflow docstring.
14092         (find-cmd, find-prune, find-command): Fix typos in docstrings.
14093         (find-generic): Doc fix.
14095 2009-12-17  Juri Linkov  <juri@jurta.org>
14097         Fix regression from 23.1 to allow multiple modes in Local Variables.
14099         * files.el (hack-local-variables-filter): While ignoring duplicates,
14100         don't take `mode' into account.
14101         (hack-local-variables-filter, hack-dir-local-variables):
14102         Don't remove duplicate `mode' from local-variables-alist (like `eval').
14104 2009-12-17  Juri Linkov  <juri@jurta.org>
14106         Make `dired-diff' safer.  (Bug#5225)
14108         * dired-aux.el (dired-diff): Signal an error when `file' equals to
14109         `current' or when `file' is a directory of the `current' file.
14111 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
14113         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14114         unconditionally preloaded files.
14116 2009-12-16  Juri Linkov  <juri@jurta.org>
14118         Revert to old 23.1 logic of using the file at the mark as default.
14119         * dired-aux.el (dired-diff): Use the file at the mark as default
14120         if it's not the same as the current file, and the target dir is
14121         the current dir or the mark is active.  Add the current file
14122         as the arg of `dired-dwim-target-defaults'.  Use the default file
14123         in the prompt.  (Bug#5225)
14125 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
14127         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14128         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14129         (tramp-check-for-regexp): Check also, when an echoing shell stops
14130         to echo sent commands.
14132 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14134         * Makefile.in: Revert last change (Bug#5191).
14136 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
14138         * vc-hg.el (vc-hg-print-log): Fix argument order.
14139         (vc-hg-working-revision): Make sure the command is executed in a
14140         known environment so that we can parse the output.  (Bug#4417)
14142 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14144         * progmodes/python.el (python-symbol-completions): Remove text
14145         properties from symbol string before calling python-send-receive.
14147 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
14149         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14150         when there are values for both file and line.  (Bug#5060)
14152 2009-12-14  Juri Linkov  <juri@jurta.org>
14154         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14155         whitespace after the file name of the first line of unified format,
14156         because git-diff doesn't output whitespace and file modification time
14157         after the file name.
14159 2009-12-14  David Kastrup  <dak@gnu.org>
14161         * info.el (Info-hide-cookies-node): Before hiding a cookie,
14162         check if it already has the `display' property added by
14163         `Info-display-images-node', and not put the `invisible' property
14164         in this case.
14166 2009-12-13  Glenn Morris  <rgm@gnu.org>
14168         * mail/emacsbug.el (message-sort-headers): Define for compiler.
14169         (report-emacs-bug): In message-mode, sort manually before storing
14170         original report text.  (Bug#5178)
14171         Remove superfluous save-excursion.
14173 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
14175         * net/dbus.el (dbus-property-handler): Filter lambda forms out
14176         when responding to "GetAll" properties.
14178 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
14180         * simple.el (compose-mail): Remove mail-setup-with-from from
14181         customization checks.
14183 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
14185         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14186         RAR archives created on Unix systems.
14188 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14190         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14191         the varalias that was accidentally removed by the 2009-11-19 change
14192         (bug#5186).
14194 2009-12-12  Kenichi Handa  <handa@m17n.org>
14196         * language/indian.el (indian-compose-regexp): New function.
14197         (malayalam-composable-pattern): Fix the pattern.
14198         (composition-function-table): Set malayalam-composable-pattern for
14199         Malayalam characters.
14201 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
14203         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14204         rather than down-mouse-1, based on follow-link conventions.
14206         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14207         are compiled.
14209 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
14211         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14212         (verilog-vmm-statement-re, verilog-ovm-statement-re)
14213         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14214         (verilog-leap-to-head, verilog-backward-token):
14215         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
14217 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
14219         * progmodes/verilog-mode.el (verilog-auto-lineup)
14220         (verilog-nameable-item-re): Cleanup user-visible spelling and
14221         documentation errors.  One reported by Gary Delp.
14222         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14223         (verilog-read-decls): Fix AUTOWIRE with types declared in a
14224         package, bug195.  Reported by Pierre-David Pfister.
14226 2009-12-11  Glenn Morris  <rgm@gnu.org>
14228         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14230         * mail/emacsbug.el: No longer require sendmail.
14231         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
14232         (report-emacs-bug-orig-text): Doc fix.
14233         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14234         New local variables, to adapt to different mail-user-agents.
14235         (report-emacs-bug): Fix test for a gnu.org address.
14236         Use overlays for emphasis, since font-lock defeats 'face property.
14237         Pretest bugs also end up at the newsgroup these days.
14238         Stop message-mode stripping text properties.
14239         Set and use the new buffer-local variables.
14240         (report-emacs-bug-hook): Add doc-string.
14241         Remove some unnecessary save-excursions and simplify.
14242         Use the appropriate hook and send-command.
14244         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14245         capitalization of some menu entries.
14247 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14249         * whitespace.el (whitespace-display-char-on):
14250         Ensure `buffer-display-table' is unique when two or more windows are
14251         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14252         New version 12.1.
14254 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
14256         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14257         characters in the Attribute field.
14259 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
14261         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
14263 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14265         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14266         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14267         Disregard autoload-excludes.
14268         (update-directory-autoloads): Obey autoload-excludes here instead.
14269         But don't store its contents in no-autoloads and remove entries that
14270         refer to excludes files.
14272 2009-12-10  Glenn Morris  <rgm@gnu.org>
14274         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14275         (expand-mail-aliases): Define for compiler.
14277         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14278         Define for compiler.
14280         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14281         appropriate for the mail-user-agent in use.
14283 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
14285         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14287 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
14289         Fix short log parsing and fontification.
14290         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14291         Fix fontification for the [merge] label.
14293 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
14295         Drop some properties to avoid surprises (bug#5002).
14296         * htmlfontify.el (hfy-ignored-properties): New defcustom.
14297         (hfy-fontify-buffer): Use it.
14299 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14301         Minor cleanup.
14302         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14303         Adjust all callers.
14304         (ffap-locate-file): Remove unused arg `dir-ok' and make other
14305         args compulsory.  Adjust callers.
14306         (ffap-gopher-at-point): Remove unused var `name'.
14308         Get rid of the ELCFILES abomination.
14309         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14310         (compile-elcfiles): New phony target.
14311         (compile-main): Compute ELCFILES dynamically.
14312         (compile-clean): New target to remove left-over elc files.
14313         (compile, all): Use it.
14315 2009-12-09  Kenichi Handa  <handa@etlken>
14317         * international/mule-diag.el: Require help-mode instead of help-fns.
14319 2009-12-09  Kenichi Handa  <handa@m17n.org>
14321         * international/mule-cmds.el (ucs-names): Supply sufficiently
14322         fine ranges instead of pre-calculating accurate ranges.
14323         Iterate with bigger gc-cons-threshold.
14325 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
14327         Add support for stashing a snapshot of the current tree.
14328         * vc-git.el (vc-git-stash-snapshot): New function.
14329         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14331 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
14333         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14334         instead of `(beginning|end)-of-line'.
14336 2009-12-08  Glenn Morris  <rgm@gnu.org>
14338         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14340         * Makefile.in (ELCFILES): Regenerate.
14342 2009-12-07  Juri Linkov  <juri@jurta.org>
14344         Don't lazy-highlight the comint output in history Isearch mode.
14346         * comint.el (comint-history-isearch-search): Instead of
14347         `comint-line-beginning-position', use `comint-after-pmark-p'
14348         to check if point if before the process mark, and go to
14349         `process-mark' in this case.
14351 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14353         * textmodes/tex-mode.el (latex-complete)
14354         (latex-indent-or-complete): Remove.
14355         (latex-mode): Set completion-at-point-functions instead.
14357         Provide a standard completion command and hook it into TAB.
14358         * minibuffer.el (completion-at-point-functions): New var.
14359         (completion-at-point): New command.
14360         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14361         * progmodes/python.el (python-mode-map): Use completion-at-point.
14362         (python-completion-at-point): Rename from python-partial-symbol and
14363         adjust for use in completion-at-point-functions.
14364         (python-mode): Setup completion-at-point for Python completion.
14365         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14366         extracted from lisp-complete-symbol.
14367         (lisp-complete-symbol): Use it.
14368         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14369         setup completion-at-point for Elisp completion.
14370         (emacs-lisp-mode-map, lisp-interaction-mode-map):
14371         Use completion-at-point.
14372         * ielm.el (ielm-map): Use completion-at-point.
14373         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14374         * progmodes/sym-comp.el: Move to...
14375         * obsolete/sym-comp.el: Move from progmodes.
14377 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
14379         Prevent save-buffer in Rmail buffers from using the coding-system
14380         of the current message, and from clobbering the encoding mnemonics
14381         in the mode line (Bug#4623).
14383         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14384         flag, too.
14385         (rmail-message-encoding): New variable.
14386         (rmail-write-region-annotate): Record the encoding of the current
14387         message in rmail-message-encoding.
14388         (rmail-after-save-hook): New function, restores the encoding of
14389         the current message after the message collection is saved.
14391 2009-12-07  Juri Linkov  <juri@jurta.org>
14393         * progmodes/grep.el (grep-read-files): Use `completing-read'
14394         instead of `read-string'.  Set its `collection' arg to
14395         `read-file-name-internal'.  (Bug#4301)
14397 2009-12-07  Juri Linkov  <juri@jurta.org>
14399         Correctly restore original Isearch point.  (Bug#4994)
14401         * isearch.el (isearch-mode): Move `isearch-push-state' after
14402         `(run-hooks 'isearch-mode-hook)'.
14403         (isearch-cancel): When `isearch-push-state-function' is defined,
14404         let-bind `isearch-cmds' to the first state (the last element of
14405         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14406         function and restores the original point).  Otherwise, move point
14407         to `isearch-opoint'.
14409 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14411         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14412         chars that don't have names, so the table can be built much faster at
14413         run-time.
14415 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
14417         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14418         change.  Suggested by David Kastrup.
14420         * simple.el (compose-mail): Check for incompatibilities and warn.
14421         (compose-mail-user-agent-warnings): New option.
14423 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14425         Support showing a single log entry from vc-annotate.
14426         * vc.el (print-log): Add a new argument: START-REVISION.
14427         (vc-print-log-internal): Add a new optional argument and
14428         pass it to the backend.
14429         (vc-print-log, vc-print-root-log): Adjust callers.
14430         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14431         buffer already displays the requested log entry, use it.
14432         Otherwise display only the log entry in question.
14433         * vc-svn.el (vc-svn-print-log):
14434         * vc-mtn.el (vc-mtn-print-log):
14435         * vc-hg.el (vc-hg-state):
14436         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14437         (vc-git-show-log-entry): Return t on success.
14438         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14439         (vc-bzr-show-log-entry): Return t on success.
14440         * vc-rcs.el (vc-rcs-print-log):
14441         * vc-sccs.el (vc-sccs-print-log):
14442         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14444 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14446         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14447         Add menus to the meta mode.  (Bug#5043)
14449 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
14451         * ediff-init.el (ediff-event-key): Use event-to-character instead of
14452         event-key.
14454         * ediff.el (ediff-buffers-internal): Add unwind-protect.
14456 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
14458         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
14459         Berbain <raphael.berbain@gmail.com>.
14461         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
14462         characters.
14463         (tramp-initial-end-of-output): New defconst.
14464         (tramp-methods, tramp-find-shell)
14465         (tramp-open-connection-setup-interactive-shell)
14466         (tramp-maybe-open-connection): Use it.
14467         (tramp-shell-prompt-pattern, tramp-wait-for-output):
14468         Handle existence of `#' and `$'.
14470         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14471         Use `tramp-initial-end-of-output'.
14473 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14475         Get the background mode from the terminal for xterm, and set
14476         faces accordingly.
14477         * term/xterm.el (xterm-set-background-mode): New function.
14478         (terminal-init-xterm): Use it in case xterm supports background
14479         color queries.  Recompute faces after getting the background
14480         color.
14482 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
14484         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14485         number comment back on its own line, for easier parsing.
14487 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14489         Make it work for non-file buffers (bug#5102).
14490         * doc-view.el (doc-view-current-cache-dir):
14491         Use doc-view-buffer-file-name rather than buffer-file-name.
14492         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14494 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
14496         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14497         author field is too short.
14499 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
14501         * vc-git.el (vc-git-print-log): Handle a limit argument.
14502         Display the short log in graph form and with labels.
14503         (vc-git-log-view-mode): Handle labels.
14505         Make vc-revert change VC state from 'added to 'unregistered.
14506         * vc-git.el (vc-git-revert): Call git reset first.
14508 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14510         * net/newst-backend.el, net/newst-plainview.el:
14511         * net/newst-reader.el, net/newst-ticker.el:
14512         * net/newst-treeview.el, net/newsticker.el:
14513         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
14515 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14517         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14519         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14520         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
14521         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14522         Update annotation regexp.
14524         * simple.el (beginning-of-visual-line): Constrain to field
14525         boundaries (Bug#5106).
14527 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14529         * xml.el (xml-substitute-numeric-entities):
14530         Move newsticker--decode-numeric-entities in newst-backend.el to
14531         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14532         * net/newst-backend.el (newsticker--parse-generic-feed)
14533         (newsticker--parse-generic-items)
14534         (newsticker--decode-numeric-entities):
14535         Move newsticker--decode-numeric-entities in newst-backend.el to
14536         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14538 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
14540         * progmodes/js.el (js--js-not): Add null to the list of values.
14542 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14544         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14546 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14548         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14549         delimiter if it is at the end of the current line.
14550         (bibtex-generate-url-list): Fix docstring.
14552 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14554         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14555         minibuffer's content with itself.
14556         Fold the confirm-after-completion case into the `confirm' case.
14557         (completion-pcm-word-delimiters): Add : and / to the delimiters.
14559 2009-12-06  Kevin Ryde  <user42@zip.com.au>
14561         * ffap.el (ffap-rfc-path): Make this a defcustom since
14562         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
14564         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14565         manuals, similar to existing setup for help-mode.  (Bug#3913.)
14567 2009-12-05  Juri Linkov  <juri@jurta.org>
14569         Save and restore dired buffer's point positions too.  (Bug#4880)
14571         * dired.el (dired-save-positions): Return in the first element
14572         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14573         Doc fix.
14574         (dired-restore-positions): First restore buffer's position.
14575         While restoring window's positions, check if window still displays
14576         the original buffer.
14578 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
14580         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14581         if possible.
14583         * shell.el (shell): Require ansi-color (Bug#5113).
14585         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14587         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14589 2009-12-05  Alan Mackenzie  <acm@muc.de>
14591         * progmodes/cc-mode.el (c-before-hack-hook)
14592         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14593         `c-file-style' to work again.  This reversion restores the current
14594         software to its state in Emacs 23.1.  (Bug#4146)
14596 2009-12-05  Kevin Ryde  <user42@zip.com.au>
14598         * textmodes/sgml-mode.el (sgml-lexical-context):
14599         Recognize comment-start-skip to comment-end-skip as comment (Bug#4781).
14601 2009-12-05  Juri Linkov  <juri@jurta.org>
14603         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14604         for virtual nodes.  (Bug#4147)
14605         (Info-find-node-2): Set `Info-current-node-virtual' to nil
14606         when moving from a virtual node.
14607         (Info-mode-menu): Add `Info-virtual-index' to the menu.
14608         (Info-mode): Add `Info-virtual-index' to the docstring.
14610 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14612         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14613         track of the buffer position of the end of a BibTeX entry as this
14614         position may change during reformatting.
14615         (bibtex-format-entry): Remove whitespace before processing
14616         numerical fields so that we recognize the latter properly.
14617         (bibtex-reformat): Do not use push which changes the global value
14618         of bibtex-entry-format.
14619         (bibtex-field-braces-alist, bibtex-field-strings-alist)
14620         (bibtex-field-re-init): Replace only space characters by regexp
14621         for whitespace.
14622         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14623         (bibtex-initialize): Also update bibtex-strings.
14624         (bibtex-kill-field): Preserve white space at end of entry.
14625         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14626         Update bibtex-reference-keys.
14628 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14630         * minibuffer.el (completion-pcm--merge-try): Also consider placing
14631         point after a star, if that's the only place where modifications can
14632         make progress.
14634 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
14636         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14637         in docstrings.
14639 2009-12-04  Juri Linkov  <juri@jurta.org>
14641         * proced.el (proced): Call `(proced-update t)' to update process
14642         information instead of only running proced-post-display-hook.
14643         (proced-send-signal): Add a leading space to the buffer name
14644         " *Marked Processes*" to make this buffer ephemeral.
14646 2009-12-04  Juri Linkov  <juri@jurta.org>
14648         * dired.el (dired-auto-revert-buffer): New defcustom.
14649         (dired-internal-noselect): Use it.
14651 2009-12-04  Juri Linkov  <juri@jurta.org>
14653         Change roles of modes and functions in image-mode.el (Bug#5062).
14655         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14656         in `auto-mode-alist'.
14657         (image-mode-previous-major-mode): New variable.
14658         (image-minor-mode-map): Rename from `image-mode-text-map'.
14659         (image-mode): Move graceful error-handling code from
14660         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
14661         (image-minor-mode): Remove all image-handling code.
14662         Replace `image-mode-text-map' with `image-minor-mode-map'.
14663         Check for `image-type' in mode-line format string.
14664         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14665         (image-mode-as-text): New function with most code from
14666         `image-mode-maybe'.
14667         (image-toggle-display-text): Move code that removes image
14668         properties from `image-toggle-display' to here.
14669         (image-toggle-display-image): New function with code that adds
14670         image properties copied from `image-toggle-display'.
14671         (image-toggle-display): Remove most code with leaving only code
14672         that toggles between `image-mode-as-text' and `image-mode'.
14674 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
14676         * net/newst-treeview.el
14677         (newsticker--treeview-list-highlight-start): Restored call to
14678         save-excursion: Selected item was stuck.
14679         (newsticker--treeview-list-select): New.
14680         (newsticker--treeview-item-show-text)
14681         (newsticker--treeview-item-show)
14682         (newsticker--treeview-item-update): Use new
14683         newsticker-treeview-item-mode.
14684         (newsticker-treeview-update): Keep current item.
14685         (newsticker-treeview-next-new-or-immortal-item): Doc change.
14686         (newsticker--treeview-first-feed): Doc change.
14687         (newsticker-treeview-list-menu)
14688         (newsticker-treeview-item-menu): Add menu entries.
14689         (newsticker-treeview-item-mode): New.
14691         * net/newst-backend.el (newsticker-customize): Delete other
14692         windows.
14694 2009-12-04  Sam Steingold  <sds@gnu.org>
14696         * log-view.el (log-view-mode-map): "q" calls quit-window,
14697         like in all the other non-self-insert buffers.
14699 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14701         Minor cleanup.
14702         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14703         key decoding rather than do it manually via last-input-event +
14704         ascii-character.
14705         (term-exec): Use delete-and-extract-region.
14706         (term-handle-ansi-terminal-messages): Remove unused var `end'.
14707         (term-process-pager): Remove unused var `i'.
14708         (term-dynamic-simple-complete): Make obsolete.
14709         (serial-update-config-menu): Remove unused vars `y' and `str'.
14710         (term-update-mode-line): Remove unused var `temp'.
14712 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14714         Limit the number of log entries displayed by default.
14715         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14716         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14717         using a prefix argument.
14719 2009-12-03  Glenn Morris  <rgm@gnu.org>
14721         * progmodes/idlwave.el (class): Restore still useful declaration.
14723 2009-12-03  Alan Mackenzie  <acm@muc.de>
14725         Enhance `c-parse-state' to run efficiently in "brace deserts".
14727         * progmodes/cc-mode.el (c-basic-common-init):
14728         Call c-state-cache-init.
14729         (c-neutralize-syntax-in-and-mark-CPP): Rename from
14730         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
14731         placing `category' properties value 'c-cpp-delimiter at its boundaries.
14733         * progmodes/cc-langs.el (c-before-font-lock-function):
14734         c-extend-and-neutralize-syntax-in-CPP has been renamed
14735         c-neutralize-syntax-in-and-mark-CPP.
14737         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14738         with `category' properties now, not `syntax-table' ones.
14740         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14741         enhanced (but slower) version of c-end-of-macro that won't land
14742         inside a literal or on another awkward character.
14743         (c-state-cache-too-far, c-state-cache-start)
14744         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14745         (c-state-nonlit-pos-cache-limit, c-state-point-min)
14746         (c-state-point-min-lit-type, c-state-point-min-lit-start)
14747         (c-state-min-scan-pos, c-state-brace-pair-desert)
14748         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14749         buffer local variables.
14750         (c-state-literal-at, c-state-lit-beg)
14751         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14752         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14753         (c-state-cache-top-paren, c-state-cache-after-top-paren)
14754         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14755         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14756         (c-renarrow-state-cache)
14757         (c-append-lower-brace-pair-to-state-cache)
14758         (c-state-push-any-brace-pair, c-append-to-state-cache)
14759         (c-remove-stale-state-cache)
14760         (c-remove-stale-state-cache-backwards, c-state-cache-init)
14761         (c-invalidate-state-cache-1, c-parse-state-1)
14762         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14763         (c-parse-state): Enhance and refactor.
14764         (c-debug-parse-state): Amend to deal with all the new variables.
14766         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14767         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14768         modify to use category text properties rather than syntax-table ones.
14769         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14770         to switch off/on the syntactic paren property of C++ template
14771         delimiters using the category property.
14772         (c-with-<->-as-parens-suppressed): Macro to invoke code with
14773         template delims suppressed.
14774         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14775         New constant/macros which apply category properties to the start
14776         and end of preprocessor constructs.
14777         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14778         "comment out" the syntactic value of characters in preprocessor
14779         constructs.
14780         (c-with-cpps-commented-out)
14781         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14782         with characters in all or all but one preprocessor constructs
14783         "commented out".
14785 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14787         * proced.el (proced-filter-alist): Use regexp-quote.
14789 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
14791         Cleanup.
14792         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14793         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
14794         arguments.  Expand `default-directory'.
14796         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14797         the benefit of returning an expanded localname.
14798         (tramp-tramp-file-p): Handle the case NAME is not a string.
14800 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14802         Add support for bzr shelve/unshelve.
14803         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14804         (vc-bzr-extra-menu-map): New variables.
14805         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14806         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14807         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14808         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14809         (vc-bzr-dir-extra-headers): Display shelves.
14811         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14813 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14815         * textmodes/bibtex.el (bibtex-complete-internal):
14816         Use completion-in-region.
14817         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14819 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14821         Support applying stashes.  Improve UI.
14822         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14823         (vc-git-stash-apply, vc-git-stash-pop)
14824         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14825         (vc-git-stash-menu): New functions.
14826         (vc-git-stash-menu-map): New variable.
14827         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14829 2009-12-03  Glenn Morris  <rgm@gnu.org>
14831         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14832         (vc-print-log-internal): Fix previous change.
14833         (vc-revert): Correct pluralization.
14835 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14837         * progmodes/make-mode.el (makefile-special-targets-list): No need for
14838         it to be an alist any more.
14839         (makefile-complete): Use completion-in-region.
14841         * progmodes/octave-mod.el (octave-complete-symbol):
14842         Use completion-in-region.
14844         Misc cleanup.
14845         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14846         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14847         (idlwave-complete-class): Don't quote lambda.
14848         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14849         (idlwave-mode-map): Move initialization into declaration.
14850         (idlwave-action-and-binding): Use backquotes.
14851         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14852         Simplify.
14853         (idlwave-is-pointer-dereference): Remove unused var `pos'.
14854         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14855         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14856         `parts', and `all-parts'.
14857         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14858         (idlwave-convert-xml-system-routine-info): Remove unused string
14859         `version-string'.
14860         (idlwave-display-user-catalog-widget): Use dolist.
14861         (idlwave-scanning-lib): Declare dynamically-scoped var.
14862         (idlwave-scan-library-catalogs): Remove unused var `flags'.
14863         (completion-highlight-first-word-only): Declare to silence bytecomp.
14864         (idlwave-popup-select): Tighten scope of `resp'.
14865         (idlwave-find-struct-tag): Remove unused var `beg'.
14866         (idlwave-after-load-rinfo-hook): Declare.
14867         (idlwave-sintern-class-info): Remove unused var `taglist'.
14868         (idlwave-find-class-definition): Remove unused var `list'.
14869         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14870         (idlwave-what-module-find-class): Remove unused var `classes'.
14872 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
14874         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14876 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14878         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14879         buffers visited.  Remove redundant current-buffer-saving.
14881 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14883         Use completion-in-buffer and remove uses of dynamic scoping.
14884         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14885         (pascal-buffer-to-use, pascal-flag): Don't declare.
14886         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14887         (pascal-get-completion-decl, pascal-keyword-completion):
14888         Add `pascal-str' argument, save-excursion,
14889         return the found completions, and don't filter with pascal-pred.
14890         (pascal-completion-cache): New var.
14891         (pascal-completion): Don't switch buffer any more (it was never
14892         necessary).  Don't save-excursion any more (it's done by the called
14893         subroutines).  Use a cache to avoid redundant computations.
14894         Use complete-with-action rather than pascal-completion-response and
14895         let it apply the predicate as well.
14896         (pascal-complete-word): Use completion-in-buffer when
14897         pascal-toggle-completions is nil.
14898         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14899         not used any more.
14900         (pascal-comp-defun): Don't change buffer any more.
14901         Use complete-with-action rather than pascal-completion-response and
14902         let it apply the predicate as well.
14903         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14904         when neded.
14906 2009-12-02  Kenichi Handa  <handa@m17n.org>
14908         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14909         shape for all Indic scripts.
14911 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14913         Use completion-in-buffer.
14914         * wid-edit.el (widget-field-text-end): New function.
14915         (widget-field-value-get): Use it.
14916         (widget-string-complete, widget-file-complete)
14917         (widget-color-complete): Use it and completion-in-region.
14918         (widget-complete): Don't narrow the buffer.
14920 2009-12-02  Glenn Morris  <rgm@gnu.org>
14922         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
14923         (rmail-select-summary): Use rmail-pop-to-buffer.
14924         * mail/rmailsum.el: Replace all pop-to-buffer calls with
14925         rmail-pop-to-buffer, to prevent horizontal splits.
14927         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14928         save-excursion with save-current-buffer.
14929         Widen before searching.  (Bug#5093)
14930         (diary-list-sexp-entries): Remove superfluous save-excursion.
14932 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
14934         * woman.el (woman-make-bufname): Handle man-pages with "." in the
14935         name.  (Bug#5038)
14937 2009-12-02  Andreas Politz  <politza@fh-trier.de>
14939         * ido.el (ido-file-internal): Handle filenames at point that do
14940         not have a directory part.  (Bug#5049)
14942 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
14944         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14945         (mpc-songs-jump-to, mpc-resume): Doc fixes.
14947 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
14949         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14950         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14951         any more.
14953 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14955         * comint.el (comint-insert-input): Ignore clicks to the right of
14956         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14958         * vc.el (vc-print-log-internal): Don't wait for the process to
14959         terminate before setting up the major mode.
14961         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14962         in case.
14964         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14965         the last element.
14967         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14969 2009-12-01  Glenn Morris  <rgm@gnu.org>
14971         * window.el (window--display-buffer-2): Fix previous changes.
14973 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
14975         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14977 2009-12-01  Glenn Morris  <rgm@gnu.org>
14979         * Makefile.in (ELCFILES): Add mpc.elc.
14981 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14983         * mpc.el: New file.
14985 2009-12-01  Glenn Morris  <rgm@gnu.org>
14987         * window.el (window-to-use): Define for compiler.
14989         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14990         consistent with others (no final period).
14992         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14993         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
14995 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
14997         Make vc-print-log buttons work.
14998         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15000 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
15002         * savehist.el (savehist-autosave-interval): Allow setting to nil
15003         through customize.  (Bug#5056)
15005 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
15007         Fix references to jit-lock properties.
15008         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15009         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15010         (perl-font-lock-special-syntactic-constructs):
15011         Quote jit-lock-defer-multiline property.
15013 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
15015         * vc-git.el (vc-git-registered): Call vc-git-root only once.
15017 2009-11-30  Juri Linkov  <juri@jurta.org>
15019         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15020         value `buffer' of `multi-isearch-next-buffer-current-function'.
15021         Use `(current-buffer)' when `buffer' is nil.
15022         (multi-isearch-next-buffer-from-list): Don't fallback to
15023         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
15025 2009-11-30  Juri Linkov  <juri@jurta.org>
15027         * misearch.el (multi-isearch-read-buffers): Move canonicalization
15028         of buffers with `get-buffer' to `multi-isearch-buffers'.
15029         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15030         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
15031         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15032         FILES with `expand-file-name' converting relative file names
15033         to absolute.  Doc fix.  (Bug#4727)
15035 2009-11-30  Juri Linkov  <juri@jurta.org>
15037         * misearch.el (multi-isearch-read-buffers)
15038         (multi-isearch-read-matching-buffers): New functions.
15039         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15040         Use them in the `interactive' spec.  Doc fix.
15041         (multi-isearch-read-files, multi-isearch-read-matching-files):
15042         New functions.
15043         (multi-isearch-files, multi-isearch-files-regexp):
15044         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
15046 2009-11-30  Juri Linkov  <juri@jurta.org>
15048         * doc-view.el (doc-view-continuous):
15049         Rename from `doc-view-continuous-mode'.
15050         (doc-view-menu): Move "Toggle display" to the top.
15051         Add submenu "Continuous" with radio buttons "Off"/"On"
15052         and "Save as Default".
15053         (doc-view-scroll-up-or-next-page)
15054         (doc-view-scroll-down-or-previous-page)
15055         (doc-view-next-line-or-next-page)
15056         (doc-view-previous-line-or-previous-page):
15057         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
15059 2009-11-30  Juri Linkov  <juri@jurta.org>
15061         * comint.el (comint-mode-map): Rebind `M-r' from
15062         `comint-previous-matching-input' to
15063         `comint-history-isearch-backward-regexp'.
15064         Unbind `M-s' to allow global key binding `M-s'.
15065         Add menu items for `comint-history-isearch-backward' and
15066         `comint-history-isearch-backward-regexp'.  (Bug#3746)
15068 2009-11-30  Juri Linkov  <juri@jurta.org>
15070         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15071         For def=recenter, replace `recenter' with `recenter-top-bottom'
15072         that is called with `this-command' and `last-command' let-bound
15073         to `recenter-top-bottom'.  When the last `def' was not `recenter',
15074         set `recenter-last-op' to nil.  (Bug#4981)
15076 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15078         Minor cleanup and simplification.
15079         * filecache.el (file-cache-add-directory)
15080         (file-cache-add-directory-recursively)
15081         (file-cache-add-from-file-cache-buffer)
15082         (file-cache-delete-file-regexp, file-cache-delete-directory)
15083         (file-cache-files-matching-internal, file-cache-display): Use dolist.
15084         (file-cache-temp-minibuffer-message): Delete function.
15085         (file-cache-minibuffer-complete): Use minibuffer-message instead.
15087         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15088         Don't signal an error when bumping into EOB in tr, s, or y.
15090 2009-11-29  Juri Linkov  <juri@jurta.org>
15092         * startup.el (fancy-about-text): Fix wording of Guided Tour.
15093         (Bug#4960)
15095         * descr-text.el (describe-char-unidata-list): Use lowercase name
15096         for "Unicode name" like in other tags.
15098 2009-11-29  Juri Linkov  <juri@jurta.org>
15100         * ediff-util.el (ediff-minibuffer-with-setup-hook):
15101         New compatibility macro.
15102         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15104 2009-11-29  Juri Linkov  <juri@jurta.org>
15106         Add defcustom to define the cycling order of `recenter-top-bottom'.
15107         (Bug#4981)
15109         * window.el (recenter-last-op): Doc fix.
15110         (recenter-positions): New defcustom.
15111         (recenter-top-bottom): Rewrite to use `recenter-positions'.
15112         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15114 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
15116         Improve integration of Tramp and ange-ftp in eshell.
15118         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15119         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
15120         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
15122         * eshell/esh-util.el (top): Require also Tramp when compiling.
15123         (eshell-directory-files-and-attributes): Check for FTP remote
15124         connection.
15125         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15126         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15127         (eshell-file-attributes): Handle ".".  Return `entry'.
15129         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15130         (ange-ftp-directory-files-and-attributes)
15131         (ange-ftp-real-directory-files-and-attributes): New defuns.
15133         * net/tramp.el (tramp-maybe-open-connection): Open the remote
15134         shell with "exec" when possible.  This prevents trailing prompts
15135         in `start-file-process'.
15137 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15139         Try and remove assumptions about point-min==1.
15140         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15141         (rng-compute-mode-line-string): Show the validation percentage in
15142         terms of the narrowed text, not the widened text.
15143         (rng-do-some-validation): Don't catch internal errors when debugging.
15144         (rng-first-error): Simplify.
15145         (rng-after-change-function): Remove work around.  AFAIK the bug has
15146         been fixed a while ago.
15148         * image-mode.el (image-minor-mode): Exit more gracefully when the image
15149         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15151         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15153         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15154         `cd' doesn't always do it for us (bug#5067).
15156         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15157         on 2009-10-25 as part of some other change (bug#5067).
15159 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15161         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15162         `suspicious'.
15163         (byte-compile-warnings): Use byte-compile-warning-types.
15164         (byte-compile-save-excursion): Warn about use of set-buffer right
15165         after save-excursion.
15167         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15168         the excursion as well.
15170 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
15172         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15173         providing a Tramp related implementation of "su" and "sudo".
15174         (eshell-unix-initialize): Add "su" and "sudo".
15176 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
15178         * net/socks.el (socks-send-command): Convert binary request to
15179         unibyte before sending.  This fixes mishandling of some port
15180         numbers such as 129.
15182 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15184         * help.el (describe-bindings-internal): Remove `interactive'.
15186         * man.el (Man-completion-table): Trim a terminating "(".
15187         Remove the space between name page a section.
15188         Add the command's description on the `help-echo' property.
15189         Remove `process-connection-type' binding since it's unused by
15190         call-process.
15191         Provide completion for the "<section> <name>" format as well.
15192         (Man-default-man-entry): Remove spurious var shadowing the argument.
15194 2009-11-26  Kevin Ryde  <user42@zip.com.au>
15196         * log-view.el: Add "Keywords: tools", since its other keywords
15197         aren't in finder-known-keywords, and following vc.el.
15199         * sha1.el (sha1-string-external): default-directory "/" in case
15200         otherwise non-existent.  process-connection-type pipe for touch of
15201         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
15203 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15205         Misc coding convention cleanups.
15206         * htmlfontify.el (hfy-init-kludge-hook): Rename from
15207         hfy-init-kludge-hooks.
15208         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15209         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15210         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15211         and push.
15212         (hfy-slant, hfy-weight): Use tables rather than code.
15213         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15214         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15215         (hfy-face-attr-for-class): Initialize `face-spec' directly.
15216         (hfy-face-to-css): Remove `nconc' with single arg.
15217         (hfy-p-to-face-lennart): Use `or'.
15218         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
15219         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15220         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15221         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15222         (hfy-force-fontification): Use run-hooks.
15224 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
15226         Various minor fixes.
15227         * htmlfontify.el (hfy-default-header): Add toggle_invis since
15228         Javascript belongs in the header, not the body.
15229         (hfy-javascript): Remove.
15230         (hfy-fontify-buffer): Don't insert it any more.
15231         (hfy-face-at): Handle (face0 face1 face2) style face properties.
15232         Fix bug in invis handling when there were no invis props in a chunk.
15234 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15236         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15238 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
15240         * finder.el (finder-mode-map): Add a menu.
15242 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
15244         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15245         "unsigned" structs.
15247         (verilog-leap-to-head, verilog-backward-token): Handle "disable
15248         fork" statement better.
15250 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
15252         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15253         (verilog-delete-auto, verilog-delete-empty-auto-pair)
15254         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15255         Reported by Clay Douglass.
15257         (verilog-auto-inst, verilog-auto-star-safe)
15258         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15259         Fix removing "// Interfaces" when saving .* expansions.
15260         Reported by Pierre-David Pfister.
15262 2009-11-26  Glenn Morris  <rgm@gnu.org>
15264         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15265         the scope.
15267 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
15269         * vc-annotate.el (vc-annotate-revision-previous-to-line):
15270         Really use previous revision.
15272 2009-11-25  Kevin Ryde  <user42@zip.com.au>
15274         * man.el (Man-completion-table): default-directory "/" in case
15275         doesn't otherwise exist.  process-environment COLUMNS=999 so as
15276         not to truncate long names.  process-connection-type pipe to avoid
15277         any chance of hitting the pseudo-tty TIOCGWINSZ.
15278         (man): completion-ignore-case t for friendliness and since man
15279         itself is case-insensitive on the command line.
15280         Further to Bug#3717.
15282         * arc-mode.el: Add "Keywords: files", so the details in its
15283         commentary can be reached from finder-by-keyword.
15284         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
15285         editing mode, but it's comms related and sgml-mode.el has "comm"
15286         on that basis too.
15287         * textmodes/bibtex-style.el: Add "Keywords: tex".
15288         * international/isearch-x.el, international/ja-dic-cnv.el:
15289         * international/ja-dic-utl.el, international/kkc.el:
15290         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15292 2009-11-25  Juri Linkov  <juri@jurta.org>
15294         * man.el (Man-completion-table): Modify regexp to include
15295         section names to completion strings.  (Bug#3717)
15297 2009-11-25  Juri Linkov  <juri@jurta.org>
15299         Search recursively in gzipped files.  (Bug#4982)
15301         * progmodes/grep.el (grep-highlight-matches): Add new options
15302         `always' and `auto'.  Doc fix.
15303         (grep-process-setup): Check `grep-highlight-matches' for
15304         `auto-detect' to determine the need to compute grep defaults.
15305         Move Windows/DOS specific --colors settings handling
15306         to `grep-compute-defaults'.  Check `grep-highlight-matches'
15307         to get the value of "--color=".
15308         (grep-compute-defaults): Compute `grep-highlight-matches' when it
15309         has the value `auto-detect'.  Move Windows/DOS specific settings
15310         from `grep-process-setup'.
15311         (zrgrep): New command with alias `rzgrep'.
15313 2009-11-25  Juri Linkov  <juri@jurta.org>
15315         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15316         to nil instead of switching off view-mode.  (Bug#4896)
15318 2009-11-25  Juri Linkov  <juri@jurta.org>
15320         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
15322         * mwheel.el (mwheel-scroll-up-function)
15323         (mwheel-scroll-down-function): New defvars.
15324         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15325         `scroll-up', and `mwheel-scroll-down-function' instead of
15326         `scroll-down'.
15328         * doc-view.el (doc-view-scroll-up-or-next-page)
15329         (doc-view-scroll-down-or-previous-page): Add optional ARG.
15330         Use this ARG in the call to image-scroll-up/image-scroll-down.
15331         Change `interactive' spec to "P".  Goto next/previous page only
15332         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15333         SPC/DEL case).  Doc fix.
15334         (doc-view-next-line-or-next-page)
15335         (doc-view-previous-line-or-previous-page): Rename arg to ARG
15336         for consistency.
15337         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15338         `doc-view-scroll-up-or-next-page', and buffer-local
15339         `mwheel-scroll-down-function' to
15340         `doc-view-scroll-down-or-previous-page'.
15342 2009-11-25  Juri Linkov  <juri@jurta.org>
15344         Provide additional default values (directories at other Dired
15345         windows) via M-n in the minibuffer of some Dired commands.
15347         * dired-aux.el (dired-diff, dired-compare-directories)
15348         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15349         `minibuffer-default' in `minibuffer-with-setup-hook'.
15350         (dired-dwim-target-directory): Find a window that displays Dired
15351         buffer instead of failing when the next window is not Dired.
15352         Use `get-window-with-predicate' to find for the next Dired window.
15353         (dired-dwim-target-defaults): New function.
15355         * ediff-util.el (ediff-read-file-name):
15356         Use `dired-dwim-target-defaults' to set `minibuffer-default'
15357         in `minibuffer-with-setup-hook'.
15359 2009-11-25  Juri Linkov  <juri@jurta.org>
15361         Provide additional default values (file name at point or at the
15362         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
15364         * minibuffer.el (read-file-name-defaults): New function.
15365         (read-file-name): Reset `minibuffer-default' to nil when
15366         it duplicates initial input `insdef'.
15367         Bind `minibuffer-default-add-function' to lambda that
15368         calls `read-file-name-defaults' in `minibuffer-selected-window'.
15369         (minibuffer-insert-file-name-at-point): New command.
15371         * files.el (file-name-at-point-functions): New defcustom.
15372         (find-file-default): Remove defvar.
15373         (find-file-read-args): Don't use `find-file-default'.
15374         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15375         to `read-file-name'.
15376         (find-file-literally): Use `read-file-name' with
15377         `confirm-nonexistent-file-or-buffer'.
15379         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15381         * dired.el (dired-read-dir-and-switches):
15382         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15383         to `read-file-name'.
15384         (dired-file-name-at-point): New function.
15385         (dired-mode): Add hook `dired-file-name-at-point' to
15386         `file-name-at-point-functions'.
15388 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15390         Really make the *Completions* window soft-dedicated (bug#5030).
15391         * window.el (window--display-buffer-2): Add `dedicated' argument.
15392         (display-buffer): Pass it when needed so the dedicated flag is set
15393         after calling set-window-buffer, which would otherwise reset it.
15395 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15397         * progmodes/meta-mode.el (meta-complete-symbol):
15398         * progmodes/etags.el (complete-tag):
15399         * mail/mailabbrev.el (mail-abbrev-complete-alias):
15400         Use completion-in-region.
15402         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15403         (dabbrev-completion): Use completion-in-region.
15404         (dabbrev--abbrev-at-point): Simplify regexp.
15406         * abbrev.el (abbrev--before-point): Use word-motion functions
15407         if :regexp is not specified (bug#5031).
15409         * subr.el (string-prefix-p): New function.
15411         * man.el (Man-completion-cache): New var.
15412         (Man-completion-table): Use it.
15414         * vc.el (vc-print-log-internal): Make `limit' optional for better
15415         compatibility (e.g. with vc-annotate.el).
15417 2009-11-24  Kevin Ryde  <user42@zip.com.au>
15419         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15420         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
15422         * emacs-lisp/elint.el (elint-add-required-env): Better error message
15423         when .el source file not found or other error.
15425 2009-11-24  Markus Triska  <markus.triska@gmx.at>
15427         * linum.el (linum-update-window): Ignore intangible (bug#4996).
15429 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15431         Handle the [back] button properly (bug#4979).
15432         * descr-text.el (describe-text-properties): Add a `buffer' argument.
15433         Use help-setup-xref, help-buffer, and with-help-window.
15434         (describe-char): Add `buffer' argument.
15435         Pass proper command to help-setup-xref.  Don't meddle with
15436         help-xref-stack-item directly.
15437         (describe-text-category): Use with-help-window and help-buffer.
15439         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15440         for the displayed buffer (bug#4887).
15442         * man.el (Man-completion-table): New function.
15443         (man): Use it.
15445 2009-11-24  David Reitter  <david.reitter@gmail.com>
15447         * vc-git.el (vc-git-registered): Use checkout directory (where
15448         .git is) rather than the file's directory and a relative path spec
15449         to work around a bug in git.
15451 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
15453         Improve handling of processes on remote hosts.
15455         * eshell/esh-util.el (eshell-path-env): New defvar.
15456         (eshell-parse-colon-path): New defun.
15457         (eshell-file-attributes): Use `eshell-parse-colon-path'.
15459         * eshell/esh-ext.el (eshell-search-path):
15460         Use `eshell-parse-colon-path'.
15461         (eshell-remote-command): Remove argument HANDLER.
15462         (eshell-external-command): Check for FTP remote connection.
15464         * eshell/esh-proc.el (eshell-gather-process-output):
15465         Use `file-truename', in order to start also symlinked files.
15466         Apply `start-file-process' instead of `start-process'.
15467         Shorten `command' to the local file name part.
15469         * eshell/em-cmpl.el (eshell-complete-commands-list):
15470         Use `eshell-parse-colon-path'.
15472         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15474         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
15475         to `eshell-directory-change-hook'.
15477 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
15479         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15480         because it could be enabled automatically if view-read-only is non-nil.
15482 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
15484         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15485         made on 2009-11-22.
15487 2009-11-24  Glenn Morris  <rgm@gnu.org>
15489         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15490         deleted variable bookmark-bmenu-bookmark-column.
15492 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15494         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15496 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15498         * net/browse-url.el (browse-url-filename-alist): On Windows, add
15499         two slashes to the "file:" prefix.
15500         (browse-url-file-url): De-munge Cygwin filenames before passing
15501         them to Windows browser.
15502         (browse-url-default-windows-browser): Use call-process.
15504 2009-11-23  Juri Linkov  <juri@jurta.org>
15506         Implement DocView Continuous mode.  (Bug#4896)
15507         * doc-view.el (doc-view-continuous-mode): New defcustom.
15508         (doc-view-mode-map): Bind C-n/<down> to
15509         `doc-view-next-line-or-next-page', C-p/<up> to
15510         `doc-view-previous-line-or-previous-page'.
15511         (doc-view-next-line-or-next-page)
15512         (doc-view-previous-line-or-previous-page): New commands.
15514 2009-11-23  Juri Linkov  <juri@jurta.org>
15516         Implement Isearch in comint input history.  (Bug#3746)
15517         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15518         `isearch-mode-hook'.
15519         (comint-history-isearch): New defcustom.
15520         (comint-history-isearch-backward)
15521         (comint-history-isearch-backward-regexp): New commands.
15522         (comint-history-isearch-message-overlay): New buffer-local variable.
15523         (comint-history-isearch-setup, comint-history-isearch-end)
15524         (comint-goto-input, comint-history-isearch-search)
15525         (comint-history-isearch-message, comint-history-isearch-wrap)
15526         (comint-history-isearch-push-state)
15527         (comint-history-isearch-pop-state): New functions.
15529 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
15531         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15532         return.
15533         (tramp-handle-make-symbolic-link)
15534         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15535         Quote file names.
15536         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15537         (tramp-handle-process-file): Use it.
15539 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15541         * window.el (move-to-window-line-last-op): Remove.
15542         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15544 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
15546         Make M-r mirror the new cycling behavior of C-l.
15547         * window.el (move-to-window-line-last-op): New var.
15548         (move-to-window-line-top-bottom): New command.
15549         (global-map): Bind M-r move-to-window-line-top-bottom.
15551 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
15553         * dired-x.el (dired-guess-shell-alist-default):
15554         Support xz format.  (Bug#4953)
15556 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
15558         * emulation/viper-cmd.el: Use viper-last-command-char instead of
15559         last-command-char/last-command-event.
15560         (viper-prefix-arg-value): Do correct conversion of event-char for
15561         XEmacs.
15563         * emulation/viper-util.el, emulation/viper.el:
15564         Use viper-last-command-char instead of
15565         last-command-char/last-command-event.
15567         * ediff-init.el, ediff-mult.el, ediff-util.el:
15568         Replace last-command-char and last-command-event
15569         with (ediff-last-command-char) everywhere.
15571         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15572         created in fundamental mode.
15574         * ediff.el (ediff-version): Revert the change of interactive-p to
15575         called-interactively-p.
15577 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
15579         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15580         generation from word-movement command names.
15582 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
15584         * cus-start.el (all): Add native condition for font-use-system-font.
15586 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
15588         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15589         Correct the patch from 2009-11-18.  (Bug#3910)
15591 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
15593         * progmodes/subword.el: Rename from lisp/subword.el.
15595         * subword.el: Rename to progmodes/subword.el.
15597         * Makefile.in (ELCFILES): Adapt to subword.el move.
15599 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15600             Stefan Monnier  <monnier@iro.umontreal.ca>
15602         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15603         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15604         (bookmark-bmenu-show-filenames): Use push.
15605         (bookmark-bmenu-hide-filenames): Use local var instead of
15606         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
15607         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15608         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15609         filenames now that the bookmark names are always available.
15611 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15613         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15614         (bookmark-search-pattern): Move and leave unbound.
15615         (bookmark-bmenu-mode-map): Change binding.
15616         (bookmark-read-search-input): Simplify.
15617         Don't use text-char-description.  Don't error on non-char events.
15618         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15619         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15620         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15621         Use a local var for the timer.
15622         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15623         (i.e. bookmark-bmenu-search).
15625 2009-11-21  Glenn Morris  <rgm@gnu.org>
15627         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
15629 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15631         * net/browse-url.el (browse-url-default-windows-browser):
15632         Use cygstart for cygwin.
15634 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
15636         * bookmark.el: Formatting and doc fixes only:
15637         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15638         (bookmark-bmenu-search): Wrap to fit within 80 columns.
15639         Minor grammar and punctuation fixes in doc string.
15640         (bookmark-read-search-input): Adjust to fit within 80 columns.
15642 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15644         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15645         (c-backward-into-nomenclature): Adapt to subword renaming.
15647         * subword.el (subword-forward, subword-backward, subword-mark)
15648         (subword-kill, subword-backward-kill, subword-transpose)
15649         (subword-downcase, subword-upcase, subword-capitalize)
15650         (subword-forward-internal, subword-backward-internal):
15651         Rename from forward-subword, backward-subword, mark-subword,
15652         kill-subword, backward-kill-subword, transpose-subwords,
15653         downcase-subword, upcase-subword, capitalize-subword,
15654         forward-subword-internal, backward-subword-internal.
15656 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15658         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15659         New options.
15660         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15661         New vars.
15662         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15663         (bookmark-bmenu-filter-alist-by-regexp)
15664         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15665         (bookmark-bmenu-search): New command.
15666         (bookmark-bmenu-mode-map): Bind it.
15668 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15670         * progmodes/cc-cmds.el: declare-functioned forward-subword and
15671         backward-subword to quit the byte-compiler.
15673         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15675         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15677         * progmodes/cc-cmds.el (c-update-modeline)
15678         (c-forward-into-nomenclature, c-backward-into-nomenclature):
15679         Refer to subword.el functions instead of cc-subword.el.
15681         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15682         subword.el functions instead of cc-subword.el.
15684         * progmodes/cc-subword.el: Rename to subword.el.
15685         * subword.el: Rename from progmodes/cc-subword.el.
15686         (subword-mode-map): Rename from c-subword-mode-map.
15687         (subword-mode): Rename from c-subword-mode.
15688         (global-subword-mode): New global minor mode.
15689         (forward-subword): Rename from c-forward-subword.
15690         (backward-subword): Rename from c-backward-subword.
15691         (mark-subword): Rename from c-mark-subword.
15692         (kill-subword): Rename from c-kill-subword.
15693         (backward-kill-subword): Rename from c-backward-kill-subword.
15694         (transpose-subwords): Rename from c-tranpose-subword.
15695         (downcase-subword): Rename from c-downcase-subword.
15696         (capitalize-subword): Rename from c-capitalize-subword.
15697         (forward-subword-internal): Rename from c-forward-subword-internal.
15698         (backward-subword-internal): Rename from c-backward-subword-internal.
15700 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
15702         * vc.el (vc-deduce-fileset): Allow non-state changing operations
15703         from a dired buffer.
15704         (vc-dired-deduce-fileset): New function.
15705         (vc-root-diff, vc-print-root-log): Use it.
15707         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15708         nil LIMIT argument to vc-print-log-internal.
15710 2009-11-20  Glenn Morris  <rgm@gnu.org>
15712         * Makefile.in (ELCFILES): Regenerate.
15714 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
15716         * calc/calc.el (calc-set-mode-line):
15717         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15718         (math-format-number): Rename `math-format-complement-signed' to
15719         `math-format-twos-complement'.
15721         * calc/calc-bin.el (math-format-twos-complement): Rename from
15722         math-format-complement-signed.
15723         (calc-radix): Rename `calc-complement-signed-mode' to
15724         `calc-twos-complement-mode'.
15725         (calc-octal-radix, calc-hex-radix): Add an argument for
15726         two's complement.
15728         * calc/calc-embed.el (calc-embedded-mode-vars):
15729         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15731         * calc/calc-ext.el (calc-init-extensions):
15732         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15733         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15735         * calc/calc-units.el (math-build-units-table-buffer):
15736         Let `calc-twos-complement-mode' be nil.
15738         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15739         entries.
15741         * calc/calc-vec.el (calcFunc-vunpack):
15742         * calc/calc-aent.el (calc-do-calc-eval):
15743         * calc/calc-forms.el (math-format-date):
15744         * calc/calc-graph.el (calc-graph-plot):
15745         * calc/calc-math.el (math-use-emacs-fn):
15746         * calc/calccomp.el (math-compose-expr):
15747         Let `calc-twos-complement-mode' be nil.
15749 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15751         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15752         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
15753         * minibuffer.el (completion-in-region-functions): New hook.
15754         (completion-in-region): New function.
15755         * emacs-lisp/lisp.el (lisp-complete-symbol):
15756         * pcomplete.el (pcomplete-std-complete): Use it.
15758 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15760         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15761         (latex-complete-alist): New vars.
15762         (latex-string-prefix-p, latex-complete-bibtex-keys)
15763         (latex-complete-envnames, latex-complete-refkeys)
15764         (latex-complete-data): New functions.
15765         (latex-complete, latex-indent-or-complete): New commands.
15767         * window.el (display-buffer-mark-dedicated): New var.
15768         (display-buffer): Obey it.
15769         * minibuffer.el (minibuffer-completion-help): Use it.
15771         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15773         * filecache.el (file-cache-add-file): Use push and cons.
15774         (file-cache-delete-file-regexp): Use push.
15775         (file-cache-complete): Use completion-in-region.
15777         * simple.el (with-wrapper-hook): Fix thinko.
15779         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15780         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15781         Use with-current-buffer and string-to-number.
15782         (hfy-fallback-colour-values): Use assoc-string.
15783         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15784         (hfy-face-at): Remove unused var `found-face'.
15785         (hfy-compile-stylesheet): Remove unused var `css'.
15786         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15787         and `orig-buffer'.
15788         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15789         Use with-current-buffer.
15790         (hfy-text-p): Use expand-file-name and fewer setq.
15792 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
15794         * htmlfontify.el, hfy-cmap.el: New files.
15796 2009-11-19  Juri Linkov  <juri@jurta.org>
15798         * minibuffer.el (completions-format): New defcustom.
15799         (completion--insert-strings): Implement vertical format.
15801         * simple.el (switch-to-completions): Move point to the first
15802         completion when point was at the beginning of the buffer.
15804 2009-11-19  Juri Linkov  <juri@jurta.org>
15806         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
15808         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15810 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
15812         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15813         (mail-signature): Change default to t.
15814         (mail-from-style): Deprecate `system-default' value.
15815         (mail-insert-from-field): For default value of mail-from-style,
15816         default to `angles' unless `angles' needs quoting and `parens'
15817         does not.
15818         (mail-citation-prefix-regexp): Use citation regexp from
15819         message-mode.
15821 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
15823         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15824         Set variables for computing the prompt for reading password.
15826 2009-11-19  Glenn Morris  <rgm@gnu.org>
15828         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
15830         * textmodes/flyspell.el (sgml-lexical-context): Declare.
15832         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15833         (newsticker-treeview-listwindow-height): Fix custom type.
15835 2009-11-19  Kenichi Handa  <handa@m17n.org>
15837         * descr-text.el (describe-char-padded-string): Compose with TAB
15838         only if there's a font for CH.
15839         (describe-char): Fix the condition for detecting a trivial composition.
15841 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
15843         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15844         more accurate version of the regexp.  (Bug#3910)
15846 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15848         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15850 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
15852         * font-setting.el (font-use-system-font): Declare for byte-compiler.
15853         (font-setting-change-default-font): Fix typo in docstring.
15855 2009-11-18  Alan Mackenzie  <acm@muc.de>
15857         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15859 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15861         * font-setting.el (font-use-system-font): Move ...
15863         * cus-start.el (all): ... to here.
15865 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
15867         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15868         Don't set `ad-return-value' if `ad-do-it' doesn't.
15870         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15871         modification time.
15873 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15875         * menu-bar.el: Put "Use system font" in Option-menu.
15876         (menu-bar-options-save): Add font-use-system-font.
15878         * loadup.el: If feature system-font-setting or font-render-setting is
15879         there, load font-setting.
15881         * Makefile.in (ELCFILES): Add font-settings.el.
15882         * font-setting.el: New file.
15884 2009-11-17  Glenn Morris  <rgm@gnu.org>
15886         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15888         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15889         Preserve point in the list buffer.  (Bug#4939)
15890         Use point-at-eol.
15891         (newsticker--treeview-list-update-highlight)
15892         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15894 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15896         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15897         Remove.
15899         * calc/calc-ext.el (calc-init-extensions): Remove references to
15900         symclip.
15902         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15904         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15905         * calc/calc-help.el (calc-b-prefix-help): Remove references to
15906         `calc-symclip'.
15908 2009-11-16  Kevin Ryde  <user42@zip.com.au>
15910         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15911         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15913         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15914         (lm-keywords-list): Allow comma-only separator like "foo,bar".
15915         Ignore trailing spaces by omit-nulls to split-string (fixing
15916         regression from Emacs 21 due to the incompatible split-string
15917         change).  (Bug #4928.)
15919 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
15921         * vc.el (vc-log-show-limit): Default to 2000.
15922         (vc-print-log-internal): Insert buttons to request more entries
15923         when limiting the output.
15925         * vc-sccs.el (vc-sccs-print-log):
15926         * vc-rcs.el (vc-rcs-print-log):
15927         * vc-cvs.el (vc-cvs-print-log):
15928         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15929         LIMIT is non-nil.
15931 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15933         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15934         error when `tramp-gvfs-dbus-event-vector' is set.
15935         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15937 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15939         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15941 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15943         * net/dbus.el (dbus-unregister-service): New defun.
15944         (dbus-register-property): Register the handlers of
15945         "org.freedesktop.DBus.Properties" for SERVICE.
15946         (dbus-property-handler): Fix docstring.
15948 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15950         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15951         Quote doc string reference in defvaralias as it is not in special form.
15952         (byte-compile-output-docform): Doc fix.
15954 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15956         * calc/calc.el (math-2-word-size, math-half-2-word-size)
15957         (calc-complement-signed-mode): New variables.
15958         (calc-set-mode-line): Add indicator for twos-complements.
15959         (math-format-number): Format twos-complement notation.
15961         * calc/calc-bin.el (calc-word-size): Reset the variables
15962         `math-2-word-size' and `math-half-2-word-size'.
15963         (math-format-complement-signed, math-symclip, calcFunc-symclip)
15964         (calc-symclip): New functions.
15966         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15968         * calc/calc-embed.el (calc-embedded-mode-vars):
15969         Add `calc-complement-signed-mode' to the list of modes.
15971         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15972         (calc-b-oper-keys): Add `calc-symclip' to list.
15974         * calc/calc-ext.el (math-read-number-fancy): Read complement
15975         signed numbers.
15976         (calc-init-extensions): Add binding for `calc-symclip'.
15977         Add autoload for `calcFunc-symclip' and `calc-symclip'.
15979         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15980         `calc-symclip'.
15981         (calc-modes-menu): Add item for twos complement mode.
15983         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15985 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15987         * register.el (jump-to-register, insert-register): Handle Semantic
15988         tags.  From commented-out advice in semantic/senator.el.
15990 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
15992         * vc.el (vc-log-show-limit): New variable.
15993         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
15994         when using a prefix argument.
15995         (vc-print-log-internal): Add new argument LIMIT.
15997         * vc-svn.el (vc-svn-print-log):
15998         * vc-mtn.el (vc-mtn-print-log):
15999         * vc-hg.el (vc-hg-print-log):
16000         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16001         pass it to the log command when set.  Make the BUFFER argument
16002         non-optional.
16004         * vc-sccs.el (vc-sccs-print-log):
16005         * vc-rcs.el (vc-rcs-print-log):
16006         * vc-git.el (vc-git-print-log):
16007         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16008         ignore it.  Make the BUFFER argument non-optional.
16010         * bindings.el (mode-line-buffer-identification): Do not purecopy.
16012 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16014         * dired.el (dired-mode-map): Move encryption items to "Operate"
16015         menu (Bug#4703).
16017         * strokes.el (strokes-update-window-configuration): Make strokes
16018         buffer current before erasing (Bug#4906).
16020 2009-11-15  Juri Linkov  <juri@jurta.org>
16022         * simple.el (set-mark-default-inactive): Add :type, :group
16023         and :version.  (Bug#4876)
16025 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
16027         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16028         (archive-unique-fname): ... here.  (Bug#4929)
16030 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16032         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16033         with a real fix.
16035         * novice.el (disabled-command-function): Add useful args.
16036         Setup the help buffer so that [back] works.
16037         Remove redundant call to help-mode.
16038         (disabled-command-function): Use `case'.
16039         (en/disable-command): New function extracted from enable-command.
16040         (enable-command, disable-command): Use it.
16042 2009-11-14  Glenn Morris  <rgm@gnu.org>
16044         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16045         constants.  (Bug#4913)
16047         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16049 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
16051         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16052         defined in C that have no doc-strings.  (Bug#1063)
16054 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
16056         * cus-edit.el (data, files):
16057         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
16059 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
16061         * simple.el (shell-command): Doc fix (Bug#4891).
16063         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16065 2009-11-14  Glenn Morris  <rgm@gnu.org>
16067         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16068         statements for vc-diff, emerge-quit, and rmail-cease-edit.
16069         If they are already loaded, eval-after-load will do the right thing.
16071         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16072         compiling.
16074         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16076         * simple.el (x-selection-owner-p): Declare.
16077         (read-mail-command): Use custom radio type rather than choice.
16078         (completion-no-auto-exit): Doc fix.
16080         * custom.el (defgroup):
16081         * epg-config.el (epg): Doc fixes.
16083 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
16085         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16086         * international/ccl.el (define-ccl-program): Do not purecopy the
16087         docstring, defconst does it anyway.
16089 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16091         * add-log.el (add-change-log-entry): Avoid displaying the changelog
16092         a second time.
16094         * x-dnd.el (x-dnd-maybe-call-test-function):
16095         * window.el (split-window-vertically):
16096         * whitespace.el (whitespace-help-on):
16097         * vc-rcs.el (vc-rcs-consult-headers):
16098         * userlock.el (ask-user-about-lock-help)
16099         (ask-user-about-supersession-help):
16100         * type-break.el (type-break-force-mode-line-update):
16101         * time-stamp.el (time-stamp-conv-warn):
16102         * terminal.el (te-set-output-log, te-more-break, te-filter)
16103         (te-sentinel, terminal-emulator):
16104         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16105         (term-write-input-ring, term-check-source, term-start-output-log):
16106         (term-display-buffer-line, term-dynamic-list-completions):
16107         (term-ansi-make-term, serial-term):
16108         * subr.el (selective-display):
16109         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16110         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16111         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16112         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16113         (speedbar-remove-localized-speedbar-support)
16114         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16115         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16116         (speedbar-buffers-line-directory):
16117         * simple.el (shell-command-on-region, append-to-buffer)
16118         (prepend-to-buffer):
16119         * shadowfile.el (shadow-save-todo-file):
16120         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16121         (scroll-bar-maybe-set-window-start):
16122         * sb-image.el (speedbar-image-dump):
16123         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16124         (load-save-place-alist-from-file):
16125         * ps-samp.el (ps-print-message-from-summary):
16126         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16127         (ps-background-image, ps-begin-job, ps-do-despool):
16128         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16129         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16130         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16131         (pr-call-process, pr-file-list, pr-interface-save):
16132         * novice.el (disabled-command-function)
16133         (enable-command, disable-command):
16134         * mouse.el (mouse-buffer-menu-alist):
16135         * mouse-copy.el (mouse-kill-preserving-secondary):
16136         * macros.el (kbd-macro-query):
16137         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16138         * informat.el (batch-info-validate):
16139         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16140         * hippie-exp.el (try-expand-dabbrev-visible):
16141         * help-mode.el (help-make-xrefs):
16142         * help-fns.el (describe-variable):
16143         * generic-x.el (bat-generic-mode-run-as-comint):
16144         * finder.el (finder-mouse-select):
16145         * find-dired.el (find-dired-sentinel):
16146         * filesets.el (filesets-file-close):
16147         * files.el (list-directory):
16148         * faces.el (list-faces-display, describe-face):
16149         * facemenu.el (list-colors-display):
16150         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16151         * epg.el (epg--process-filter, epg-cancel):
16152         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16153         (epa--read-signature-type):
16154         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16155         (emerge-file-names):
16156         * ehelp.el (electric-helpify):
16157         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16158         * ediff-vers.el (rcs-ediff-view-revision):
16159         * ediff-util.el (ediff-setup):
16160         * ediff-mult.el (ediff-append-custom-diff):
16161         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16162         (ediff-wordify):
16163         * echistory.el (Electric-command-history-redo-expression):
16164         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16165         * disp-table.el (describe-display-table):
16166         * dired.el (dired-find-buffer-nocreate):
16167         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16168         * dabbrev.el (dabbrev--same-major-mode-p):
16169         * chistory.el (list-command-history):
16170         * apropos.el (apropos-documentation):
16171         * allout.el (allout-obtain-passphrase):
16172         (allout-copy-exposed-to-buffer):
16173         (allout-verify-passphrase): Use with-current-buffer.
16175 2009-11-13  Glenn Morris  <rgm@gnu.org>
16177         * Makefile.in (ELCFILES): Regenerate.
16179 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
16181         * net/dbus.el (dbus-registered-objects-table): Rename from
16182         `dbus-registered-functions-table', because it contains also properties.
16183         (dbus-unregister-object): Unregister also properties.
16184         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16185         Use a timeout of 500 msec, in order to not block.
16186         (dbus-register-property, dbus-property-handler): New defuns.
16188 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16190         * simple.el (minibuffer-default-add-completions): Drop deprecated
16191         4th arg.
16193 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
16195         * textmodes/artist.el (artist-mouse-choose-operation):
16196         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16197         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16198         (artist-compute-up-event-key): New function.
16199         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16201 2009-11-13  Kenichi Handa  <handa@m17n.org>
16203         * language/japan-util.el: Make sure that the value of jisx0208
16204         property is jisx0208 character.
16206 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
16208         * international/mule.el (auto-coding-regexp-alist): Only purecopy
16209         car or each item, not the whole list.
16211 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16213         * minibuffer.el (minibuffer-completion-help):
16214         Use minibuffer-hide-completions.
16216 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
16218         * dired.el (dired-save-positions, dired-restore-positions): New funs.
16219         (dired-revert): Use them (bug#4880).
16221 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16223         * tooltip.el (tooltip-frame-parameters): Undo previous change.
16225 2009-11-12  Juri Linkov  <juri@jurta.org>
16227         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16228         New functions.
16229         (find-file-literally-at-point): Alias of `ffap-literally'.
16231 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16233         * textmodes/ispell.el (ispell-skip-region-alist):
16234         * textmodes/css-mode.el (auto-mode-alist):
16235         * progmodes/compile.el (auto-mode-alist):
16236         * international/mule.el (ctext-non-standard-encodings-alist)
16237         (ctext-non-standard-encodings-regexp):
16238         * simple.el (shell-command-switch, text-read-only):
16239         * replace.el (occur-mode-map):
16240         * paths.el (rmail-file-name):
16241         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16242         * find-file.el (ff-special-constructs):
16243         * files.el (file-name-handler-alist):
16244         * composite.el: Purecopy strings.
16246         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16248 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16250         * widget.el (define-widget): Purecopy the docstring.
16251         * international/mule-cmds.el (charset): Do not purecopy the
16252         docstring here, define-widget does it.
16254         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16255         * textmodes/bibtex-style.el (auto-mode-alist):
16256         * progmodes/inf-lisp.el (inferior-lisp-prompt):
16257         * progmodes/compile.el (compile-command):
16258         * language/korea-util.el (default-korean-keyboard):
16259         * international/mule-conf.el (file-coding-system-alist):
16260         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16261         * tooltip.el (tooltip-frame-parameters):
16262         * newcomment.el (comment-end, comment-padding):
16263         * dired.el (dired-trivial-filenames):
16264         * comint.el (comint-file-name-prefix): Purecopy initial values.
16266 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
16268         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16269         (tramp-advice-minibuffer-electric-tilde): Unload advices via
16270         `tramp-unload'.
16271         (tramp-advice-make-auto-save-file-name)
16272         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16273         after removing the advice.
16275 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16277         * progmodes/grep.el (grep-regexp-alist):
16278         * international/mule-cmds.el (iso-2022-control-alist):
16279         * emacs-lisp/timer.el (timer-duration-words):
16280         * subr.el (version-separator, version-regexp-alist):
16281         * minibuffer.el (completion-styles-alist):
16282         * faces.el (face-attribute-name-alist, list-faces-sample-text):
16283         Change defvars to defconsts.
16285         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16286         * loadup.el ("international/mule-conf"): Load the byte compiled version.
16287         * international/mule-conf.el: Allow to be byte compiled.
16289         * international/mule.el (define-charset): Purecopy props.
16290         (load-with-code-conversion): Purecopy doc string and file name.
16291         (put-charset-property): Purecopy strings.
16292         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16294         * international/mule-cmds.el (register-input-method): Purecopy arguments.
16295         (define-char-code-property): Correctly purecopy the table.
16297         * international/ccl.el (define-ccl-program): Purecopy the docstring.
16299         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16301         * subr.el (add-hook): Purecopy strings.
16302         (eval-after-load): Purecopy load-history-regexp and the form.
16304         * custom.el (custom-declare-group): Purecopy load-file-name.
16306         * subr.el (menu-bar-separator): New defconst.
16307         * net/eudc.el (eudc-tools-menu):
16308         * international/mule-cmds.el (set-coding-system-map)
16309         (mule-menu-keymap):
16310         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16311         * vc-hooks.el (vc-menu-map):
16312         * replace.el (occur-mode-map):
16313         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16314         (menu-bar-edit-menu, menu-bar-goto-menu)
16315         (menu-bar-custom-menu, menu-bar-showhide-menu)
16316         (menu-bar-options-menu, menu-bar-tools-menu)
16317         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16318         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16319         (menu-bar-help-menu):
16320         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16321         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16323         * term/x-win.el (x-gtk-stock-map):
16324         * progmodes/vera-mode.el (auto-mode-alist):
16325         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16326         (inferior-lisp-program, inferior-lisp-load-command):
16327         * progmodes/hideshow.el (hs-special-modes-alist):
16328         * progmodes/gud.el (same-window-regexps):
16329         * progmodes/grep.el (grep-program, find-program, xargs-program):
16330         * net/telnet.el (same-window-regexps):
16331         * net/rlogin.el (same-window-regexps):
16332         * language/ethiopic.el (font-ccl-encoder-alist):
16333         * vc-sccs.el (vc-sccs-master-templates):
16334         * vc-rcs.el (vc-rcs-master-templates):
16335         * subr.el (cl-assertion-failed):
16336         * simple.el (next-error-overlay-arrow-position):
16337         * lpr.el (lpr-command):
16338         * locate.el (locate-ls-subdir-switches):
16339         * info.el (same-window-regexps, info)
16340         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16341         * image-mode.el (image-mode, auto-mode-alist):
16342         * hippie-exp.el (hippie-expand-ignore-buffers):
16343         * format.el (format-alist):
16344         * find-dired.el (find-ls-subdir-switches, find-grep-options)
16345         (find-name-arg):
16346         * facemenu.el (facemenu-keybindings):
16347         * dired.el (dired-listing-switches, dired-chown-program):
16348         * diff.el (diff-switches, diff-command):
16349         * cus-edit.el (same-window-regexps):
16350         * bindings.el (mode-line-mule-info)
16351         (mode-line-buffer-identification): Purecopy strings.
16353 2009-11-11  Juri Linkov  <juri@jurta.org>
16355         * simple.el (dired-get-filename) <declare-function>:
16356         Tell the byte-compiler about dired-get-filename.
16357         (shell-command): In Dired mode, get filename from the current line
16358         as the default value.
16360 2009-11-10  Glenn Morris  <rgm@gnu.org>
16362         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16363         * calendar/holidays.el, progmodes/cperl-mode.el:
16364         Update x-popup-menu declarations.
16366         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16367         (list-load-path-shadows): Use dolist.
16368         (list-load-path-shadows): Use with-current-buffer.
16370 2009-11-10  Juri Linkov  <juri@jurta.org>
16372         * minibuffer.el (read-file-name): Support a list of default values
16373         in `default-filename'.  Use the first file name where only one
16374         element is required.  Doc fix.
16376 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
16378         * net/dbus.el (dbus-unregister-object): Release service, if no
16379         other method is registered for it.
16381 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
16383         * bookmark.el (bookmark-completing-read): Sort bookmark names if
16384         bookmark-sort-flag is non-nil (Bug#4653).
16386 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16388         * emulation/cua-base.el: Add CUA property to some CC mode commands
16389         (Bug#4100).
16391 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16393         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16394         at end of sentence (Bug#4818).
16396 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
16398         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16399         Handle "see declaration of" MSFT statements (Bug#4100).
16401 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
16403         * net/tramp.el (tramp-advice-make-auto-save-file-name)
16404         (tramp-advice-file-expand-wildcards): Unload via
16405         `ad-remove-advice'.
16407         * net/trampver.el: Update release number.
16409 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16411         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16412         `ad-do-it'.
16414 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
16416         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16417         in order to keep context in SELinux.
16419 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16421         * dired-aux.el (dired-query): Place cursor in echo area and allow
16422         C-g.
16424         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16425         menu item if not on a directory (Bug#4701).
16427 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
16429         Sync with Tramp 2.1.17.
16431         * net/tramp.el (tramp-handle-copy-directory): Don't use
16432         `file-remote-p' (due to compatibility).
16434         * net/tramp-compat.el (tramp-compat-copy-directory)
16435         (tramp-compat-delete-directory): New defuns.
16437         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16438         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16439         Use `tramp-compat-delete-directory'.
16441         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16442         (tramp-smb-handle-delete-directory):
16443         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16445         * net/trampver.el: Update release number.
16447 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
16449         * tar-mode.el (tar-copy): Call write-region on the right buffer
16450         (Bug#4857).
16452         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16453         by hand, if necessary (Bug#4878).
16455 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
16457         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16458         align size column (Bug#4839).
16460         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16461         statement.
16463 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16465         * progmodes/ld-script.el (auto-mode-alist):
16466         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16468         * cus-face.el (custom-declare-face): Purecopy face spec.
16470 2009-11-06  Kenichi Handa  <handa@m17n.org>
16472         * international/uni-bidi.el: Re-generated.
16473         * international/uni-category.el: Re-generated.
16474         * international/uni-combining.el: Re-generated.
16475         * international/uni-mirrored.el: Re-generated.
16477 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16479         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16480         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16481         (tex-start-options, slitex-run-command, latex-run-command)
16482         (tex-run-command, tex-directory):
16483         * textmodes/ispell.el (ispell-html-skip-alists)
16484         (ispell-tex-skip-alists, ispell-tex-skip-alists):
16485         * textmodes/fill.el (adaptive-fill-first-line-regexp):
16486         (adaptive-fill-regexp):
16487         * textmodes/dns-mode.el (auto-mode-alist):
16488         * progmodes/python.el (interpreter-mode-alist):
16489         * progmodes/etags.el (tags-compression-info-list):
16490         * progmodes/etags.el (tags-file-name):
16491         * net/browse-url.el (browse-url-galeon-program)
16492         (browse-url-firefox-program):
16493         * mail/sendmail.el (mail-signature-file)
16494         (mail-citation-prefix-regexp):
16495         * international/mule-conf.el (eight-bit):
16496         * international/latexenc.el (latex-inputenc-coding-alist):
16497         * international/fontset.el (x-pixel-size-width-font-regexp):
16498         * emacs-lisp/warnings.el (warning-type-format):
16499         * emacs-lisp/trace.el (trace-buffer):
16500         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16501         (emacs-lisp-mode-map):
16502         * calendar/holidays.el (holiday-solar-holidays)
16503         (holiday-bahai-holidays, holiday-islamic-holidays)
16504         (holiday-christian-holidays, holiday-hebrew-holidays)
16505         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16506         (hebrew-holidays-1, holiday-oriental-holidays)
16507         (holiday-general-holidays):
16508         * x-dnd.el (x-dnd-known-types):
16509         * tool-bar.el (tool-bar):
16510         * startup.el (site-run-file):
16511         * shell.el (shell-dumb-shell-regexp):
16512         * rfn-eshadow.el (file-name-shadow-tty-properties)
16513         (file-name-shadow-properties):
16514         * paths.el (remote-shell-program, news-directory):
16515         * mouse.el ([C-down-mouse-3]):
16516         * menu-bar.el (menu-bar-tools-menu):
16517         * jka-cmpr-hook.el (jka-compr-load-suffixes)
16518         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16519         (jka-compr-compression-info-list):
16520         * isearch.el (search-whitespace-regexp):
16521         * image-file.el (image-file-name-extensions):
16522         * find-dired.el (find-ls-option):
16523         * files.el (directory-listing-before-filename-regexp)
16524         (directory-free-space-args, insert-directory-program)
16525         (list-directory-brief-switches, magic-fallback-mode-alist)
16526         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16527         (automount-dir-prefix):
16528         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16529         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16530         (face-font-registry-alternatives, face-font-registry-alternatives)
16531         (face-font-family-alternatives):
16532         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16533         (facemenu-foreground-menu, facemenu-face-menu):
16534         * epa-hook.el (epa-file-name-regexp):
16535         * dnd.el (dnd-protocol-alist):
16536         * textmodes/rst.el (auto-mode-alist):
16537         * button.el (default-button): Purecopy strings.
16539 2009-11-06  Glenn Morris  <rgm@gnu.org>
16541         * Makefile.in (ELCFILES): Update.
16543 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16545         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16546         * emacs-lisp/levents.el: Move to obsolete/levents.el.
16548         * nxml/xsd-regexp.el (xsdre-gen-categories):
16549         * nxml/xmltok.el (xmltok-parse-entity):
16550         * nxml/rng-parse.el (rng-parse-validate-file):
16551         * nxml/rng-maint.el (rng-format-manual)
16552         (rng-manual-output-force-new-line):
16553         * nxml/rng-loc.el (rng-save-schema-location-1):
16554         * nxml/rng-cmpct.el (rng-c-parse-file):
16555         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16556         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16558 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
16560         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16561         Remove extra save-excursions and make-variable-buffer-local's.
16562         Suggested by Stefan Monnier.
16564         (verilog-getopt-file, verilog-module-inside-filename-p)
16565         (verilog-set-define): Merge GNU 1.35 and repair changes from
16566         switching to using with-current-buffer.
16568         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16569         being treated as a number and confusing AUTORESET.
16570         Reported by Dan Dever.
16572         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16573         Add verilog-auto-ignore-concat to fix backward compatibility with
16574         older verilog-modes.  Reported by Dan Katz.
16576         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16577         containing closing anchors "...$".
16579         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16580         Reported by Wade Smith.
16582         (verilog-batch-execute-func): Comment on function usage.
16584 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
16586         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16587         for labels.
16589         (verilog-label-re, verilog-calc-1): Support proper indent of named
16590         asserts.
16592         (verilog-backward-token, verilog-basic-complete-re)
16593         (verilog-beg-of-statement, verilog-indent-re): Support proper
16594         indent of the assert statement at the beginning of a block of text.
16596         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16597         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16598         tokens as begins.
16600 2009-11-05  Glenn Morris  <rgm@gnu.org>
16602         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16603         Emacs 19.  (Bug#1531)
16604         (byte-compile-fix-header): Update for the above change.
16605         Drop test for epoch::version.
16607         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16608         * cus-dep.el (custom-make-dependencies):
16609         * finder.el (finder-compile-keywords):
16610         Use autoload-rubric's feature argument.
16612         * calendar/diary-lib.el (top-level): Make load behave more like require.
16614         * vc-git.el (vc-git-stash-map): Move definition before use.
16616 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
16618         * custom.el (custom-declare-group): Purecopy standard-value.
16619         (custom-declare-group): Purecopy custom-prefix.
16621         * international/mule.el (load-with-code-conversion):
16622         Call do-after-load-evaluation unconditionally.
16624         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16626 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16628         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16630 2009-11-04  Glenn Morris  <rgm@gnu.org>
16632         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16633         (byte-compile-compatibility): Remove option.
16634         (byte-compile-close-variables, byte-compile-fix-header)
16635         (byte-compile-insert-header, byte-compile-output-docform)
16636         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16637         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16638         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16639         (byte-compile-insert, byte-compile-defun):
16640         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
16641         (byte-defop-compiler19): Remove.
16642         Without byte-compile-compatibility, the 'emacs19-opcode property is not
16643         used by anything.  Replace all calls with byte-defop-compiler.
16645 2009-11-04  Juri Linkov  <juri@jurta.org>
16647         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16648         (menu-bar-options-menu): Don't quote the `prop' arg of
16649         `menu-bar-make-mm-toggle'.
16651 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
16653         * calendar/calendar.el (cal-loaddefs):
16654         * calendar/diary-lib.el (diary-loaddefs):
16655         * calendar/holidays.el (hol-loaddefs):
16656         * eshell/esh-module.el (esh-groups): Load rather than require.
16658 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16660         * calendar/todo-mode.el (todo-add-category): Don't hardcode
16661         point-min==1.
16662         (todo-top-priorities): Only display-buffer when called interactively.
16663         (todo-item-start): Don't save excursion point.
16664         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
16665         (todo-insert-item-here, todo-file-item, todo-remove-item):
16666         Adjust uses of todo-item-start and todo-item-end.
16668         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16669         (autoload-rubric): Don't use any more.
16671         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16672         and only put a prop if it is non-nil.
16674 2009-11-03  Juri Linkov  <juri@jurta.org>
16676         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16677         (menu-bar-options-menu): Fix list quoting (Bug#4429).
16679         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16680         and "Menu" to make top-level menu item visually one unit (like
16681         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16682         multi-word menu items).  Fix :help string for quit-window.
16684 2009-11-03  Glenn Morris  <rgm@gnu.org>
16686         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16687         (byte-compile-file-form-define-abbrev-table)
16688         (byte-compile-file-form-custom-declare-variable)
16689         (byte-compile-variable-ref, byte-compile-defvar):
16690         Whether or not a warning is enabled should only affect whether we issue
16691         the warning, not whether or not we collect the relevant data.
16692         Eg warnings can be turned on and off throughout the course of a file.
16694         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16695         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16697 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16699         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16700         * play/mpuz.el (mpuz-create-buffer):
16701         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16702         (lm-print-y,s,noise, lm-print-w0, lm-init):
16703         * play/gomoku.el (gomoku-prompt-for-move):
16704         * play/fortune.el (fortune-in-buffer):
16705         * play/dissociate.el (dissociated-press):
16706         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16707         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16708         * mail/supercite.el (sc-eref-show):
16709         * mail/smtpmail.el (smtpmail-send-it):
16710         * mail/rmailsum.el (rmail-summary-next-labeled-message)
16711         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16712         (rmail-summary-undelete-many, rmail-summary-rmail-update)
16713         (rmail-summary-goto-msg, rmail-summary-expunge)
16714         (rmail-summary-get-new-mail, rmail-summary-search-backward)
16715         (rmail-summary-add-label, rmail-summary-output-menu)
16716         (rmail-summary-output-body):
16717         * mail/rfc822.el (rfc822-addresses):
16718         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16719         * mail/mailpost.el (post-mail-send-it):
16720         * mail/hashcash.el (hashcash-generate-payment):
16721         * mail/feedmail.el (feedmail-run-the-queue)
16722         (feedmail-queue-send-edit-prompt-help-first)
16723         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16724         (feedmail-deduce-address-list):
16725         * eshell/esh-ext.el (eshell-remote-command):
16726         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16727         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16728         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16729         (viper-save-string-in-file, viper-valid-marker):
16730         * emulation/viper-keym.el (viper-toggle-key):
16731         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16732         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16733         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16734         * emulation/viper-cmd.el (viper-exec-form-in-vi)
16735         (viper-exec-form-in-emacs, viper-brac-function):
16736         * emulation/viper.el (viper-delocalize-var):
16737         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16738         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16739         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16740         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16741         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16742         * emulation/edt.el (edt-electric-helpify):
16743         * emulation/cua-rect.el (cua--rectangle-aux-replace):
16744         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16745         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16746         (cua-indent-to-global-mark-column):
16747         * calendar/diary-lib.el (calendar-mark-1):
16748         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16749         Use with-current-buffer.
16750         * emulation/viper.el (viper-delocalize-var): Use dolist.
16752 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
16754         * comint.el (comint-replace-by-expanded-history-before-point):
16755         Replace !! with the previous input string literally (Bug#1795).
16757 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
16759         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16760         to be made up of whitespace.
16762 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
16764         * minibuffer.el (read-file-name): Don't use file dialogs for
16765         remote directories (Bug#99).
16767 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
16769         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16771 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16773         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16774         instead of deleting the window or frame.
16776 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16778         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16779         Support face colors.
16781         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16782         New function.  Support face colors (Bug#1168).
16783         (tex-common-initialization): Use it.
16785         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16786         mode allows it (Bug#1168).
16788 2009-10-31  Juri Linkov  <juri@jurta.org>
16790         * facemenu.el (list-colors-display): Don't mark buffer as
16791         modified (Bug#3948).
16793 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16795         * international/mule-diag.el (list-character-sets-1):
16796         Minor message fix (Bug#3526).
16798         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16799         Fix face property (Bug#4834).
16800         (etags-list-tags, etags-tags-apropos-additional)
16801         (etags-tags-apropos, tags-select-tags-table): Add follow-link
16802         property.
16804         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16805         items.
16807 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16809         * textmodes/two-column.el (2C-split):
16810         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16811         * textmodes/tex-mode.el (tex-set-buffer-directory):
16812         * textmodes/spell.el (spell-region, spell-string):
16813         * textmodes/reftex.el (reftex-erase-buffer):
16814         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16815         * textmodes/reftex-toc.el (reftex-toc-promote-action):
16816         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16817         (reftex-select-item):
16818         * textmodes/reftex-ref.el (reftex-label-info-update)
16819         (reftex-offer-label-menu):
16820         * textmodes/reftex-index.el (reftex-index-change-entry)
16821         (reftex-index-phrases-info):
16822         * textmodes/reftex-global.el (reftex-create-tags-file)
16823         (reftex-save-all-document-buffers, reftex-ensure-write-access):
16824         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16825         (reftex-view-crossref-from-bibtex):
16826         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16827         (reftex-extract-bib-entries-from-thebibliography)
16828         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16829         * textmodes/refbib.el (r2b-capitalize-title):
16830         (r2b-convert-buffer, r2b-help):
16831         * textmodes/page-ext.el (pages-directory)
16832         (pages-directory-goto-with-mouse):
16833         * textmodes/bibtex.el (bibtex-validate-globally):
16834         * textmodes/bib-mode.el (bib-capitalize-title):
16835         * textmodes/artist.el (artist-clear-buffer, artist-system):
16836         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16837         (local-set-scheme-interaction-buffer, xscheme-process-filter)
16838         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16839         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16840         (xscheme-send-control-g-interrupt, xscheme-start-process)
16841         (xscheme-process-sentinel, xscheme-cd):
16842         * progmodes/verilog-mode.el (verilog-read-always-signals)
16843         (verilog-set-define, verilog-getopt-file)
16844         (verilog-module-inside-filename-p):
16845         * progmodes/sh-script.el:
16846         * progmodes/python.el (python-pdbtrack-get-source-buffer)
16847         (python-pdbtrack-grub-for-buffer, python-execute-file):
16848         * progmodes/octave-inf.el (inferior-octave):
16849         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16850         (idlwave-shell-compile-helper-routines, idlwave-set-local)
16851         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16852         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16853         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16854         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16855         (idlwave-shell-filter, idlwave-shell-examine-highlight)
16856         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16857         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16858         (idlwave-shell-examine-display, idlwave-shell-run-region)
16859         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16860         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16861         * progmodes/idlw-help.el (idlwave-help-get-special-help)
16862         (idlwave-help-get-help-buffer):
16863         * progmodes/gud.el (gud-basic-call, gud-find-class)
16864         (gud-tooltip-activate-mouse-motions-if-enabled):
16865         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16866         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16867         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16868         (ebrowse-tags-next-file):
16869         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16870         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16871         (ebnf-eps-finish-and-write):
16872         * progmodes/cpp.el (cpp-edit-save):
16873         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16874         * progmodes/cc-defs.el (c-emacs-features):
16875         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16876         (antlr-directory-dependencies):
16877         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16878         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16879         (ada-find-any-references, ada-make-filename-from-adaname)
16880         (ada-make-body-gnatstub):
16881         * obsolete/rnews.el (news-list-news-groups):
16882         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16883         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16884         * net/rcirc.el (rcirc-debug):
16885         * net/newst-treeview.el (newsticker--treeview-list-add-item)
16886         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16887         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16888         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16889         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16890         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16891         (newsticker--treeview-list-clear-highlight)
16892         (newsticker--treeview-list-update-highlight)
16893         (newsticker--treeview-list-highlight-start)
16894         (newsticker--treeview-tree-update-highlight)
16895         (newsticker--treeview-get-selected-item)
16896         (newsticker-treeview-mark-list-items-old)
16897         (newsticker--treeview-set-current-node):
16898         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16899         * net/newst-backend.el (newsticker--get-news-by-funcall)
16900         (newsticker--get-news-by-wget, newsticker--image-get)
16901         (newsticker--image-sentinel):
16902         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16903         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16904         (eudc-ph-close-session):
16905         * net/eudc.el (eudc-save-options):
16906         * language/thai-word.el (thai-update-word-table):
16907         * language/japan-util.el (japanese-string-conversion):
16908         * international/titdic-cnv.el (tsang-quick-converter)
16909         (ziranma-converter, ctlau-converter):
16910         * international/mule-cmds.el (describe-language-environment):
16911         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16912         (skkdic-convert-postfix, skkdic-convert-prefix):
16913         (skkdic-convert-okuri-nasi, skkdic-convert):
16914         * emacs-lisp/re-builder.el (reb-update-overlays):
16915         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16916         * emacs-lisp/gulp.el (gulp-send-requests):
16917         * emacs-lisp/find-gc.el (trace-call-tree):
16918         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16919         (eieio-describe-generic):
16920         * emacs-lisp/eieio-base.el (eieio-persistent-read):
16921         * emacs-lisp/edebug.el (edebug-outside-excursion):
16922         * emacs-lisp/debug.el (debugger-make-xrefs):
16923         * emacs-lisp/cust-print.el (custom-prin1-to-string):
16924         * emacs-lisp/chart.el (chart-new-buffer):
16925         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16926         Use with-current-buffer.
16927         * textmodes/artist.el (artist-system): Don't call
16928         copy-sequence on a fresh string.
16929         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16931 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
16933         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16934         is no item to edit.  (Bug#4820)
16935         (todo-top-priorities): Restore point and restore narrowing in Todo
16936         buffer.  (Bug#4820)
16938 2009-10-31  Glenn Morris  <rgm@gnu.org>
16940         * net/ange-ftp.el (top-level): Don't require dired when compiling.
16941         (comint-last-output-start, comint-last-input-start)
16942         (comint-last-input-end): Don't defvar when compiling.
16943         (ange-ftp-process-file): Use bound-and-true-p.
16945         * pcmpl-rpm.el (top-level): Move provide statement to end.
16946         (pcmpl-rpm): Remove unused custom group.
16948         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16950         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16952         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16953         (byte-compile-warnings): Add `constants' as an option.
16954         (byte-compile-callargs-warn, byte-compile-arglist-warn)
16955         (display-call-tree): Update for byte-compile-fdefinition possibly
16956         returning `(macro lambda ...)'.  (Bug#4778)
16957         (byte-compile-variable-ref, byte-compile-setq-default):
16958         Respect `constants' member of byte-compile-warnings.
16960 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16962         * vc-bzr.el (vc-bzr-revision-keywords): New var.
16963         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16964         to "submit:".
16966 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
16968         * textmodes/ispell.el (ispell-skip-region-alist):
16969         * international/mule-conf.el (eight-bit):
16970         * international/fontset.el (font-encoding-alist):
16971         * startup.el (pure-space-overflow-message):
16972         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16973         * paths.el (gnus-nntp-service, rmail-spool-directory)
16974         (term-file-prefix):
16975         * files.el (save-some-buffers-action-alist):
16976         * cmuscheme.el (same-window-buffer-names):
16977         * ielm.el (same-window-buffer-names):
16978         * shell.el (same-window-buffer-names):
16979         * mail/sendmail.el (same-window-buffer-names):
16980         * progmodes/inf-lisp.el (same-window-buffer-names):
16981         * bindings.el (mode-line-client)
16982         (mode-line-column-line-number-mode-map):
16983         * language/tibetan.el (tibetan-precomposition-rule-regexp)
16984         (tibetan-precomposed-regexp): Purecopy string arguments.
16986 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16988         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16989         (calcDigit-nondigit):
16990         * calc/calc-yank.el (calc-copy-to-buffer):
16991         * calc/calc-units.el (calc-invalidate-units-table):
16992         * calc/calc-trail.el (calc-trail-yank):
16993         * calc/calc-store.el (calc-insert-variables):
16994         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16995         * calc/calc-prog.el (calc-read-parse-table):
16996         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16997         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16998         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16999         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17000         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17001         (calc-graph-name, calc-graph-find-command, calc-graph-view)
17002         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17003         * calc/calc-ext.el (calc-realign):
17004         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17005         (calc-embedded-finish-edit, calc-embedded-make-info)
17006         (calc-embedded-finish-command, calc-embedded-stack-change):
17007         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17009         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17010         shell-dynamic-complete-filename in preference to
17011         comint-dynamic-complete-filename.
17013         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17014         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17015         Don't consider whether the display supports colors.
17016         (bookmark-import-new-list): Use dolist.
17017         (bookmark-bmenu-mode-map): Move initialization into declaration.
17018         (bookmark-bmenu-list): Use dolist, simplify.
17019         (bookmark-show-all-annotations): Use save-selected-window and dolist.
17020         (menu-bar-final-items): Use push.
17022 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
17024         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17025         it works on remote files.
17026         (vc-hg-diff): Don't pass any `--cwd' argument.
17028 2009-10-27  Kevin Ryde  <user42@zip.com.au>
17030         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17031         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17032         (Further to Bug#3921).
17034 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
17036         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17037         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17038         calling `tramp-imap-put-file'.  Add file size to the call.
17039         (tramp-imap-get-file-entries): Compute also user name, file size,
17040         and date.
17041         (tramp-imap-handle-insert-directory): Insert uid and gid.
17042         (tramp-imap-handle-file-attributes): Transform uid and gid
17043         according to `id-format'.
17044         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
17045         size in header X-Size.
17047 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
17049         * simple.el (transpose-subr): Give clearer error when the mark
17050         is not set.  (Bug#4807)
17052 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
17054         * net/tramp.el (tramp-perl-file-truename): New defconst.
17055         Perl code contributed by yary <not.com@gmail.com> (tiny change).
17056         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17057         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17058         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17060         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17061         Ignore `dired-call-process'.
17062         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17064 2009-10-26  Julian Scheid  <julians37@gmail.com>
17066         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17067         (tramp-get-remote-readlink): New defun.
17068         (tramp-handle-file-truename): Use it.
17069         (tramp-handle-file-exists-p): Check file-attributes cache, assume
17070         file exists if cache value present.
17071         (tramp-check-cached-permissions): New defun.
17072         (tramp-handle-file-readable-p): Use it.
17073         (tramp-handle-file-writable-p): Likewise.
17074         (tramp-handle-file-executable-p): Likewise.
17075         (tramp-handle-file-name-all-completions): Try using Perl to get
17076         partial completions.  When perl not available, combine `cd' and
17077         `ls' into single remote operation and use shell expansion to get
17078         partial remote directory contents.  Set `file-exists-p' cache for
17079         directory and any files returned by ls.  Change cache handling to
17080         support partial directory contents.  Use error message emitted by
17081         remote `cd' or Perl code for local tramp-error.
17082         (tramp-do-copy-or-rename-file-directly): Avoid separate
17083         tramp-send-command-and-check call.
17084         (tramp-handle-process-file): Merge three remote ops into one.
17085         Do not flush all caches when `process-file-side-effects' is set.
17086         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17087         file-attributes shows uid/gid to be set already.
17089 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
17091         * textmodes/tex-mode.el (tex-dvi-view-command)
17092         (tex-show-queue-command, tex-open-quote):
17093         * progmodes/ruby-mode.el (auto-mode-alist)
17094         (interpreter-mode-alist): Purecopy strings.
17096         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17098         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17099         string for the hook, keymap and abbrev table.
17101         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17103         * x-dnd.el (x-dnd-xdnd-to-action):
17104         * startup.el (fancy-startup-text, fancy-about-text): Change to
17105         defconst from defvar.
17107         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17109         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17110         Purecopy initialization strings.
17112         * mail/sendmail.el (mail-header-separator)
17113         (mail-personal-alias-file):
17114         * mail/rmail.el (rmail-default-dont-reply-to-names)
17115         (rmail-ignored-headers, rmail-retry-ignored-headers)
17116         (rmail-highlighted-headers, rmail-secondary-file-directory)
17117         (rmail-secondary-file-regexp):
17118         * files.el (null-device, file-name-invalid-regexp)
17119         (locate-dominating-stop-dir-regexp)
17120         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17121         (interpreter-mode-alist): Use mapcar instead of mapc.
17123         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17125         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17126         (completion-ignored-extensions):
17127         (debug-ignored-errors): Purecopy strings.
17129 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17131         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17132         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17133         (pcomplete--here): Use push.
17135         * subr.el (all-completions): Declare the 4th arg obsolete.
17137 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17139         * pcomplete.el (pcomplete-unquote-argument-function): New var.
17140         (pcomplete-unquote-argument): New function.
17141         (pcomplete--common-suffix): Always pay attention to case.
17142         (pcomplete--table-subvert): Quote and unquote the text.
17143         (pcomplete--common-quoted-suffix): New function.
17144         (pcomplete-std-complete): Use it and pcomplete-begin.
17146         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17147         we're inside a dedicated or minibuffer window.
17149 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
17151         * bookmark.el: Update documentation, especially documentation
17152         of `bookmark-alist' and of the bookmark file format.
17153         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
17155 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
17157         * mail/emacsbug.el (report-emacs-bug): Clarify that the
17158         keybindings apply to the mail buffer (Bug#4003).  Shrink help
17159         window to buffer.
17161         * whitespace.el (whitespace-mode, whitespace-newline-mode)
17162         (global-whitespace-mode, global-whitespace-newline-mode)
17163         (whitespace-toggle-options, global-whitespace-toggle-options):
17164         Doc fix (Bug#3660).
17166         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17167         of xmltok-start before the end tag was inserted (Bug#2840).
17169         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17170         patterns that are preceded by an open-paren (Bug#1320).
17172 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
17174         * files.el (delete-directory): Delete symlinks to directories with
17175         delete-file (Bug#4739).
17177 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
17179         * vc.el (vc-backend-for-registration): Rename from
17180         vc-get-backend-for-registration.  Update callers.
17182         * international/mule-cmds.el (set-language-info-alist):
17183         Purecopy lang-env.
17184         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17185         (charset): Purecopy the name.
17186         (define-char-code-property): Purecopy string arguments.
17188         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17189         Purecopy string arguments.
17191         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17192         * ediff-hook.el (menu-bar-ediff-menu):
17193         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17194         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17196 2009-10-24  Glenn Morris  <rgm@gnu.org>
17198         * comint.el (comint-dynamic-list-completions):
17199         * term.el (term-dynamic-list-completions): Use choose-completion rather
17200         than obsolete alias mouse-choose-completion.
17202         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17203         file-cache-choose-completion.
17204         (file-cache-choose-completion): Handle an optional event argument.
17205         (file-cache-mouse-choose-completion): Make it an obsolete alias.
17207         * progmodes/octave-mod.el (octave-complete-symbol):
17208         Use choose-completion if mouse-choose-completion is ever removed.
17210         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17211         use.
17213         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17214         compiler.
17216         * vc-hooks.el (vc-responsible-backend): Fix declaration.
17218 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17220         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17221         Ignore `pred' now that we receive one.
17222         Handle test-completion specially.
17224 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17226         * vc.el (vc-responsible-backend): Throw an error if not backend is
17227         found.  Remove the REGISTER argument.  Move the code dealing with
17228         REGISTER ...
17229         (vc-get-backend-for-registration): ... here.  New function.
17230         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17231         of vc-responsible-backend, pass the file name instead of the
17232         directory name.
17234 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17236         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17237         New funs.
17238         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
17239         (pcomplete-comint-setup): Don't modify a global var via
17240         accidental side-effects.
17241         (pcomplete-shell-setup): Adjust call accordingly.
17242         (pcomplete-parse-comint-arguments): Use push.
17244 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
17246         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17247         Allow uncapitalized info node names (Bug#3921).
17249         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17250         to the DEBUG file (Bug#3781).
17252 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
17254         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17255         dictionary entry (Bug#4579).
17257 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
17259         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17260         from `rfn-eshadow-update-overlay-hook' when unloading.
17261         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17262         "rsyncc".  Adjust doc string.
17263         (tramp-temp-buffer-file-name): New buffer-local defvar.
17264         (tramp-handle-insert-file-contents, tramp-handle-write-region):
17265         Keep temporary file when indicated by method ("rsync" and
17266         "rsyncc").
17267         (tramp-handle-write-region): Handle APPEND.
17268         (tramp-delete-temp-file-function): New defun.  Added to
17269         `kill-buffer-hook'.
17271 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
17273         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17275 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17277         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17278         (color-name-rgb-alist, tty-standard-colors)
17279         (tty-color-mode-alist): Change to defconst.
17281         * simple.el (mark-inactive): Purecopy message.
17283         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17284         (global-map, yank-menu):
17285         * textmodes/ispell.el (ispell-menu-map):
17286         * net/eudc.el (eudc-tools-menu):
17287         * international/mule-cmds.el (describe-language-environment-map)
17288         (setup-language-environment-map, set-coding-system-map)
17289         (mule-menu-keymap):
17290         * vc-hooks.el (vc-menu-entry, vc-menu-map):
17291         * replace.el (occur-mode-map):
17292         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17294 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
17296         * calc/calc.el (math-read-number, math-read-number-simple):
17297         Use `save-match-data'.
17299 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17301         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17302         rather than fiddling with global-map bindings, since it should only
17303         affect per-terminal settings.
17304         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17306         * minibuffer.el (completion-table-with-terminator): Allow to specify
17307         the terminator-regexp.
17309         * simple.el (switch-to-completions): Look for *Completions* in other
17310         frames as well.
17312         * pcomplete.el: Allow the use of completion-tables.
17313         (pcomplete-std-complete): New command.
17314         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17315         (pcomplete--here): Use a function for `form' rather than an expression,
17316         so it can be byte-compiled.
17317         (pcomplete-here, pcomplete-here*): Adjust accordingly.
17318         Add edebug declaration.
17319         (pcomplete-show-completions): Remove unused var `curbuf'.
17320         (pcomplete-do-complete, pcomplete-stub):
17321         Don't assume `completions' is a list of strings any more.
17323 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
17325         * find-dired.el (find-name-arg): Fix typo in docstring.
17327 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17329         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17330         (pcmpl-linux-fs-types): Same, and update to new modules layout.
17332         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17333         pcomplete-entries.
17335         * comint.el (comint-read-input-ring, comint-write-input-ring)
17336         (comint-substitute-in-file-name)
17337         (comint-dynamic-complete-as-filename)
17338         (comint-dynamic-simple-complete)
17339         (comint-dynamic-list-filename-completions)
17340         (comint-dynamic-list-completions)
17341         (comint-redirect-results-list-from-process): Minor simplifications.
17343 2009-10-21  Kevin Ryde  <user42@zip.com.au>
17345         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17346         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17347         the first form.  And insert a blank line after ";;; Code" since
17348         that's usual style.  (Bug#4612)
17350         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17352 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17354         * minibuffer.el (completion-table-with-terminator): Properly implement
17355         boundaries, in case `terminator' appears in the suffix.
17356         (completion--embedded-envvar-table): Don't return boundaries if
17357         there's no valid completion.  Simplify.
17358         (completion-file-name-table): New completion table extracted from
17359         completion--file-name-table.
17360         (completion--file-name-table): Use it.
17361         (read-file-name-predicate): Declare obsolete.
17362         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17363         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17364         completion-file-name-table, and use the `pred' argument.
17365         * files.el (locate-file-completion-table): Use the `pred' arg rather
17366         than read-file-name-predicate.
17367         (abbreviate-file-name): Use \` rather than ^ for BOS.
17369 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
17371         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17372         vc-responsible-backend to register, it causes problems.
17374 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17376         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17378 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
17380         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17381         (tramp-smb-handle-file-attributes): Use it.
17382         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17383         (tramp-smb-handle-insert-directory): Use `mapc' rather than
17384         `mapcar'.  Use `tramp-smb-get-stat-capability'.
17385         Add `dired-filename' text properties.
17386         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17387         (tramp-smb-maybe-open-connection): Simplify check for smbclient
17388         version.
17390 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17392         * subr.el (read-key-delay): Reduce to 0.01.
17393         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17394         (bug#4751).
17396 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17398         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17400         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17401         (Info-menu): Remove unused vars `last' and `completions'.
17402         (Info-index-nodes): Remove unused var `node'.
17404         * info.el (Info-complete-menu-item): Use complete-with-action.
17406 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
17408         Make vc-annotate work through copies and renames.
17409         * vc-annotate.el (vc-annotate-extract-revision-at-line):
17410         Return the file name too.
17411         (vc-annotate-revision-at-line)
17412         (vc-annotate-find-revision-at-line)
17413         (vc-annotate-revision-previous-to-line)
17414         (vc-annotate-show-log-revision-at-line): Update to get the file
17415         name from vc-annotate-extract-revision-at-line.
17416         (vc-annotate-show-diff-revision-at-line-internal): Change the
17417         argument to mean whether to show a file diff or not.  Get the file
17418         name from vc-annotate-extract-revision-at-line.
17419         (vc-annotate-show-diff-revision-at-line):
17420         Update vc-annotate-show-diff-revision-at-line call.
17421         (vc-annotate-warp-revision): Add an optional file argument.
17423         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17424         (vc-git-annotate-extract-revision-at-line): Also return the file
17425         name if found.
17427         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17428         command.  Remove unused code.
17429         (vc-hg-annotate-re): Update to match --follow output.
17430         (vc-hg-annotate-extract-revision-at-line): Also return the file
17431         name if found.
17433         * vc.el: Update annotate-extract-revision-at-line documentation.
17435 2009-10-18  Kevin Ryde  <user42@zip.com.au>
17437         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17438         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17440         * net/browse-url.el (browse-url): Identify alist with "consp and
17441         not functionp" and let all other things go down the `apply' leg,
17442         as suggested by Stefan.  (Further to bug#4531.)
17444 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
17446         * minibuffer.el (read-file-name): Check for repeat before putting
17447         a default argument in file-name-history (Bug#4657).
17449         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17450         read syntax (Bug#4737).
17452         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17454 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17456         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17457         (html-tag-alist, html-tag-help): Add descriptions for undocumented
17458         entries and make note of obsolete tags.
17460 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17462         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17464 2009-10-18  Glenn Morris  <rgm@gnu.org>
17466         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17467         grep, so that binary files (eg international/uni-bidi.el) can match.
17468         Remove test for "UnicodeData" files, since it is hopefully unnecessary
17469         now, and in any case the file header format has changed.
17471 2009-10-17  Glenn Morris  <rgm@gnu.org>
17473         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17474         (flyspell-get-word, flyspell-large-region)
17475         (flyspell-auto-correct-previous-word): Doc/error message fixes.
17477 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
17479         * Makefile.in (ELCFILES): Add ede/shell.
17481 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
17483         * term/common-win.el (x-colors): Purecopy it.
17485 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17487         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17488         permissive for when the buffer is empty.
17489         (tar-header-block-tokenize): Decode the username and groupname.
17490         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17492 2009-10-17  Eric Ludlam  <zappo@gnu.org>
17494         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17495         contains multibyte characters, choose first applicable coding
17496         system automatically.
17498 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17500         * international/mule-cmds.el (select-safe-coding-system): If the file
17501         has a coding cookie, use it regardless of any other setting (bug#4712).
17503 2009-10-17  Glenn Morris  <rgm@gnu.org>
17505         * foldout.el (foldout-mouse-swallow-events):
17506         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17508         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17509         (dired-keep-marker-copy, dired-keep-marker-hardlink)
17510         (dired-keep-marker-symlink, dired-dwim-target)
17511         (dired-copy-preserve-time): Do not autoload these defcustoms.
17513         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17514         messages from messing up the file coding.  (Bug#4623)
17516 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
17518         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17519         if no match is found for the current dictionary.  (Bug#4578)
17521         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17522         optional, since that is how it is documented, and this is often called
17523         with a nil argument.  (Bug#4577)
17524         (flyspell-external-point-words, flyspell-auto-correct-word)
17525         (flyspell-correct-word-before-point, flyspell-word-search-forward)
17526         (flyspell-word-search-backward): Remove nil argument in calls to
17527         flyspell-get-word, since it is not needed now.
17529 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
17531         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
17533 2009-10-16  Glenn Morris  <rgm@gnu.org>
17535         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17537 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
17539         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17540         (ange-ftp-file-size): New function.
17541         (ange-ftp-file-attributes): Use it.
17543 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
17545         * net/tramp-smb.el (tramp-smb-version): New defvar.
17546         (tramp-smb-maybe-open-connection): Use it, in order to avoid
17547         repeated checks.
17549 2009-10-16  Glenn Morris  <rgm@gnu.org>
17551         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17552         Maybe copy some custom properties from old to new name.  (Bug#4706)
17554 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
17556         * subr.el (error, sit-for, start-process-shell-command)
17557         (start-file-process-shell-command): Set the calling convention
17558         after the function definition.
17560 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17562         * subr.el (error, sit-for, start-process-shell-command)
17563         (start-file-process-shell-command): Use the new
17564         set-advertised-calling-convention feature.
17566 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
17568         * international/ucs-normalize.el (ucs-normalize-version):
17569         Change to 1.2.
17570         (check-range): Adjust for Unicode 5.2.
17572 2009-10-15  Juri Linkov  <juri@jurta.org>
17574         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17575         to the `menu-item' format.
17577 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
17579         * net/tramp.el (tramp-replace-environment-variables): Do not fail
17580         if the environment variable does not exist.
17582         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17583         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17584         parameter.
17585         (tramp-smb-handle-add-name-to-file)
17586         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17587         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17588         (tramp-smb-handle-file-attributes)
17589         (tramp-smb-do-file-attributes-with-stat)
17590         (tramp-smb-handle-file-local-copy)
17591         (tramp-smb-handle-insert-directory)
17592         (tramp-smb-handle-make-directory)
17593         (tramp-smb-handle-make-directory-internal)
17594         (tramp-smb-handle-make-symbolic-link)
17595         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17596         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17597         (tramp-smb-maybe-open-connection): Apply the changed parameters.
17598         (tramp-smb-read-file-entry): Read Disk names in compressed format.
17599         Handle long file names.
17600         (tramp-smb-get-cifs-capabilities): Check, whether the connection
17601         process is running.
17602         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17603         Read share names with "-g" option.
17605 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
17607         * net/rcirc.el (rcirc-view-log-file): New command.
17608         (rcirc-track-minor-mode-map): Remove C-c ` binding.
17609         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17610         specified.
17612 2009-10-15  Glenn Morris  <rgm@gnu.org>
17614         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17615         from the second command-line argument.
17616         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17617         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17618         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17619         w32-batch-update-autoloads.
17620         * emacs-lisp/autoload.el (autoload-make-program): New variable.
17621         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17623         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17624         the headers cannot be located.  Simplify, subtracting superfluous
17625         save-excursions.
17627 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17629         Replace completion-base-size by completion-base-position to fix bugs
17630         such as (bug#4699).
17631         * simple.el (completion-base-position): New var.
17632         (completion-base-size): Mark as obsolete.
17633         (choose-completion): Make it work for mouse events as well.
17634         Pass the new base-position to choose-completion-string.
17635         (choose-completion-guess-base-position): New function, extracted from
17636         choose-completion-delete-max-match.
17637         (choose-completion-delete-max-match): Use it.  Make obsolete.
17638         (choose-completion-string): Use the new base-position info.
17639         (completion-root-regexp): Delete.
17640         (completion-setup-function): Preserve completion-base-position.
17641         Eliminate obsolete base-size manipulation.
17642         * minibuffer.el (display-completion-list): Don't mess with base-size.
17643         (minibuffer-completion-help): Set completion-base-position instead.
17644         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17645         choose-completion.
17646         * textmodes/bibtex.el (bibtex-complete):
17647         * emacs-lisp/crm.el (crm--choose-completion-string):
17648         Adjust to new calling convention.
17649         * complete.el (partial-completion-mode): Use minibufferp to avoid
17650         bumping into incompatible change to choose-completion-string-functions.
17651         * ido.el (ido-choose-completion-string): Make its calling convention
17652         more permissive.
17653         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17654         base-size manipulation.
17655         (comint-dynamic-list-input-ring): Use dotimes and push.
17656         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17657         fundamental-mode.  Use `or'.
17659 2009-10-14  Juri Linkov  <juri@jurta.org>
17661         * misearch.el (multi-isearch-next-buffer-from-list)
17662         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
17664 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17666         * Makefile.in (compile-onefile): Load `bytecomp' rather than
17667         `bytecomp.el'.
17669         * minibuffer.el (completion-pcm--merge-completions): Make sure the
17670         string we return is all made up of text from the completions rather
17671         than part from the completions and part from the input (bug#4219).
17673         * ido.el (ido-everywhere): Use define-minor-mode.
17675         * buff-menu.el (list-buffers, ctl-x-map):
17676         Mark the entry points with ;;;###autoload cookies.
17678 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
17680         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17681         correctly in the detached head case.
17682         (vc-git-print-log): Remove unused binding.
17684         * vc.el (vc-responsible-backend): When a directory is passed for
17685         for registration create a VC repository if no backend is
17686         responsible for the directory argument.
17687         (vc-deduce-fileset): Tell vc-responsible-backend to register.
17689         * vc.el: Move comments about RCS and SCCS ...
17690         * vc-rcs.el:
17691         * vc-sccs.el: ... here, respectively.
17693 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17695         * minibuffer.el (completion--file-name-table): Return nil if there's
17696         no file completion, even if substitute-in-file-name changed
17697         the string (bug#4708).
17699 2009-10-13  Juri Linkov  <juri@jurta.org>
17701         * files-x.el (read-file-local-variable-value): Don't filter out
17702         minor modes from mode name completion (bug#4664).
17704 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17706         * international/mule-cmds.el (ucs-names): Remove exclusion of
17707         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17709 2009-10-13  Kenichi Handa  <handa@m17n.org>
17711         * international/uni-name.el: Regenerated.
17713 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17715         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
17716         should be automatically buffer-local, but isn't.)
17718 2009-10-12  Sam Steingold  <sds@gnu.org>
17720         * progmodes/compile.el (compilation-next-error-function): Fix the
17721         timestamps if the buffer has been visited before.
17722         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17723         non-anchored patterns, like the perl one (bug#3928).
17725 2009-10-12  Glenn Morris  <rgm@gnu.org>
17727         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17728         Let-bind `size'.
17730 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
17732         * proced.el (proced-unload-function): New function.
17734         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17735         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17736         Doc fix.
17738         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17740 2009-10-11  Juri Linkov  <juri@jurta.org>
17742         * files-x.el (read-file-local-variable-value):
17743         Provide default value only for bound variables (bug#4664).
17745 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
17747         * net/tramp.el (tramp-local-host-p): Function shall return nil for
17748         connection methods like smb.
17750         * net/tramp-cache.el (tramp-flush-connection-property): The hash
17751         can be empty.
17753         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17754         (tramp-smb-file-name-handler-alist): Add handlers for
17755         `add-name-to-file', `make-symbolic-link'.
17756         (tramp-smb-handle-add-name-to-file)
17757         (tramp-smb-do-file-attributes-with-stat)
17758         (tramp-smb-handle-make-symbolic-link)
17759         (tramp-smb-get-cifs-capabilities): New defuns.
17760         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17761         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17762         (tramp-smb-handle-file-local-copy)
17763         (tramp-smb-handle-make-directory-internal)
17764         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17765         The file name syntax depends on cifs capabilities.
17766         (tramp-smb-handle-file-attributes):
17767         Call `tramp-smb-do-file-attributes-with-stat' if possible.
17768         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17769         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17771 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
17773         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17774         (eieio-defclass): Apply deftype handler and setf-method properties
17775         directly.
17776         (eieio-add-new-slot): Avoid union function from cl library.
17777         (eieio--typep): New function.
17778         (eieio-perform-slot-validation): Use it.
17780 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17782         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17783         Update documentation to refer to the variables documented in r1.135.
17784         (Bug#4188)
17786 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17788         * bookmark.el (Info-suffix-list): Remove this unused variable.
17789         (bookmark-current-point): Remove this obsolete variable.
17790         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17791         Adjust for removal of bookmark-current-point.
17793         (bookmarks-already-loaded, bookmark-current-buffer)
17794         (bookmark-yank-point): Document.  (Bug#4188)
17796 2009-10-10  Glenn Morris  <rgm@gnu.org>
17798         * frame.el (frame-height): Doc fix.
17800         * calendar/calendar.el (calendar-split-width-threshold): New option.
17801         (calendar-basic-setup): Use calendar-split-width-threshold.
17803 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
17805         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17806         Ideographic Supplement" range (U+1F200..U+1F2FF).
17808 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17810         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17811         since the list will have been rebuilt anyway.  (Bug#4349)
17813 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17815         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17816         (bookmark-bmenu-execute-deletions): Don't save here, as
17817         bookmark-delete will now do so if necessary.
17818         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17819         (Bug#4348)
17821 2009-10-09  Glenn Morris  <rgm@gnu.org>
17823         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17825 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17827         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17828         (bookmark-jump-other-window): Just invoke bookmark-jump with new
17829         argument now, so the two function's behaviors will match.  (Bug#3645)
17831 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
17833         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17834         (tramp-file-name-real-host, tramp-file-name-port):
17835         Apply `save-match-data'.
17837         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17838         case both directories are remote.
17839         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17840         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17842 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17844         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17846 2009-10-07  Glenn Morris  <rgm@gnu.org>
17848         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17849         of concat.
17851 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17853         * files-x.el (read-file-local-variable): Include some
17854         non-user-variables in the completion table (bug#4664).
17856 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
17858         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17859         message.
17861         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17862         (tramp-smb-file-name-handler-alist): Add handler for
17863         `copy-directory', `expand-file-name', `set-file-modes'.
17864         (tramp-smb-handle-copy-directory)
17865         (tramp-smb-handle-expand-file-name)
17866         (tramp-smb-handle-set-file-modes): New defuns.
17867         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17868         (tramp-smb-handle-file-attributes): Simplify check for retrieving
17869         entry.
17870         (tramp-smb-handle-insert-directory): Don't flush the cache.
17871         (tramp-smb-maybe-open-connection): Check for samba client and
17872         server versions.
17874 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
17876         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17877         to not error out of search for "^lisp=" fails.
17879 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17881         * makefile.w32-in (WINS_UPDATES): New macro.
17882         (custom-deps, finder-data, autoloads): Use it.
17884 2009-10-07  Glenn Morris  <rgm@gnu.org>
17886         * Makefile.in (autoloads): Revert previous change.
17887         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17888         the list of preloaded files passed on the command-line, get
17889         it from src/Makefile.
17891         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17892         show the original buffer rather than a random one.
17894 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
17896         * help.el (describe-no-warranty): Place point in a slightly better
17897         position in the GPLv3 text.
17899 2009-10-06  Sam Steingold  <sds@gnu.org>
17901         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17902         the comm attribute is present before calling regexp-quote.
17904 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
17906         * play/animate.el (animate-string): For good effect, make sure
17907         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17909         * play/animate.el (animate-sequence, animate-birthday-present):
17910         * misc.el (butterfly): Don't set `indent-tabs-mode'.
17912 2009-10-06  Glenn Morris  <rgm@gnu.org>
17914         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17916         * emacs-lisp/autoload.el (autoload-excludes): New variable.
17917         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17918         (batch-update-autoloads): Process a string value of autoload-excludes,
17919         set during the build process.
17920         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
17922         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17923         inside with-parsed...  macro so that `v' is defined.
17925         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17926         * progmodes/fortran.el (fortran-end-of-block)
17927         (fortran-beginning-of-block):
17928         Also push mark in the macro case.
17930         * emerge.el (emerge-show-file-name):
17931         * calc/calc.el (calc-quit):
17932         * calc/calc-misc.el (calc-big-or-small):
17933         * calc/calc-graph.el (calc-graph-view):
17934         * calc/calc-ext.el (calc-reset):
17935         * calendar/calendar.el (calendar-basic-setup):
17936         Use window-full-height-p.
17938         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17939         header we don't understand, don't insert another.  (Bug#4624)
17940         If changing mime charset, insert the new one in the right place.
17942 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
17944         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17945         (cal-tex-cursor-month): Correctly increment the end date for diary and
17946         holiday listing.  (Bug#4626)
17948 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17950         * help-fns.el (describe-function-1): Don't burp if the function is not
17951         a symbol.
17953 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
17955         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17956         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17957         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17958         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17960         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17961         (eieio-default-superclass): Reflow docstrings.
17962         (this, class-option-assoc, defclass, eieio-class-un-autoload)
17963         (eieio-unbind-method-implementations, defmethod)
17964         (eieio-validate-slot-value, eieio-validate-class-slot-value)
17965         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17966         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17967         (eieio-slot-originating-class-p, eieio-slot-name-index)
17968         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17969         (constructor, initialize-instance, no-next-method, object-print)
17970         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17971         Fix typos in docstrings.
17972         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17973         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17974         (next-method-p): Doc fixes.
17975         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17976         Fix typos in error messages.
17977         (eieio-defmethod): Fix typo in description of generic method.
17979         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17980         (eieio-persistent-save-interactive, slot-missing):
17981         Fix typos in docstrings.
17982         (eieio-instance-inheritor-slot-boundp): Doc fix.
17984         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17985         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17987         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17988         (eieio-custom-object-apply-reset):
17989         Fix typos in docstrings and error messages.
17991         * emacs-lisp/eieio-datadebug.el (data-debug-show):
17992         Fix typo in docstring.
17994         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17995         (eieio-browse-tree): Doc fix.
17996         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17997         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17998         Fix typos in docstrings.
18000         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18001         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18002         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18003         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18004         Reflow docstrings.
18006 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
18008         * vc-hg.el (log-view-vc-backend): Declare for compiler.
18009         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18010         Set log-view-vc-backend so that diff can work.
18012         * log-view.el (log-view-diff): Use vc-diff-internal instead of
18013         vc-version-diff.
18014         (vc-diff-internal): Autoload this instead of vc-version-diff.
18016 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
18018         * simple.el (eval-expression): Doc fix.
18020         * progmodes/cwarn.el (cwarn-mode): Doc fix.
18022 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
18024         * files.el (directory-files-no-dot-files-regexp): New defconst.
18025         (delete-directory): Use it.
18026         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
18028         * net/tramp.el (tramp-verbose): Fix docstring.
18029         (tramp-methods): Add recursive option to `tramp-copy-args'.
18030         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
18031         "scp1_old", "scp2_old", "rsync", "rsyncc".
18032         (tramp-default-method): Check also for `auth-source-user-or-password'.
18033         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18034         Add handler for `copy-directory'.
18035         (tramp-handle-copy-directory): New defun.
18036         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18037         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18038         Optimize sent command.
18040 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18042         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18043         window if necessary.
18045         * calendar/calendar.el (calendar-basic-setup): Don't call
18046         switch-to-buffer in a dedicated window.
18048 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
18050         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18051         don't do anything related to relocating, just return nil.
18052         (bookmark-error-no-filename): New error.
18053         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18054         bookmark has no file.  Don't even attempt to handle things that
18055         are not files; the whole point of custom handlers is to keep that
18056         knowledge elsewhere anyway.  Tighten some comments.
18057         (bookmark-file-or-variation-thereof): Remove now-unused function.
18058         (bookmark-location): Doc string fix.
18059         (Bug#4250)
18061 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18063         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18064         don't use a file dialog, because they usually don't know how to read
18065         a directory target from the user.  (Bug#4230)
18066         Also, make sure the prompt can display directories as well as files.
18068 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18070         * bookmark.el (bookmark-set, bookmark-buffer-name):
18071         Improve doc strings.  (Bug#1193)
18073 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18075         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18076         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18077         (bookmark-get-annotation, bookmark-set-annotation)
18078         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18079         (bookmark-set-position, bookmark-get-front-context-string)
18080         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18081         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18082         (bookmark-jump-other-window, bookmark-handle-bookmark)
18083         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18084         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18085         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18086         Improve doc strings to say whether bookmark can be a string or
18087         a record or both, and make other consistency and clarity fixes.
18088         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18089         (bookmark-default-annotation-text, bookmark-yank-word)
18090         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18091         (bookmark-import-new-list, bookmark-maybe-rename)
18092         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18093         (bookmark-bmenu-bookmark): Give these doc strings.
18094         (bookmark-bmenu-check-position): Give this a doc string, but also
18095         add a FIXME comment about how the function may be pointless.
18096         (bookmark-default-handler): Rework doc string and change a
18097         parameter name, to clarify that this takes a bookmark record
18098         not a bookmark name.
18099         (bookmark-set): Change a parameter name to indicate its meaning,
18100         and improve the doc string a bit.
18101         (Bug#4188)
18103 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18105         * bookmark.el (bookmark-alist): Document the new `handler' element
18106         in the param alist.
18107         (bookmark-make-record-function): Adjust documentation for above.
18108         (Bug#4193)
18110 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18112         * info.el (Info-bookmark-make-record): Document this function.
18113         (Info-bookmark-jump): Document with a doc string, not just a comment.
18114         (Bug#4203)
18116 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
18118         * files.el (copy-directory): New defun.
18120         * dired-aux.el (dired-copy-file-recursive): Use it.
18122 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
18124         * files-x.el (modify-dir-local-variable)
18125         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18126         docstrings.
18128         * recentf.el (recentf-unload-function): New function.
18130 2009-10-04  Glenn Morris  <rgm@gnu.org>
18132         * window.el (window-full-height-p): Add doc string.
18134 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
18136         * window.el (window-full-height-p): New function.  (Bug#4543)
18138 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
18140         * vc.el: Remove commented out code.
18141         (vc-derived-from-dir-mode): Remove, unused.
18142         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18144 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
18146         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18147         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
18148         there could be recursive loading when `default-directory' is a
18149         remote file name.  (Bug#4614)
18151 2009-10-03  Glenn Morris  <rgm@gnu.org>
18153         * calendar/calendar.el (calendar-basic-setup): Handle the case where
18154         the frame is wide.
18155         (calendar-generate-window): Test for shrinkability rather than width.
18157         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18158         reusing existing buffers, in case we happen to visit two files with the
18159         same basename.  (Bug#4593)
18161 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18163         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18164         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18165         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18166         subdirs of cedet as well.
18167         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18169 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18171         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18172         Obey advertised-signature-table.
18174         * help-fns.el (help-function-arglist): Don't check
18175         advertised-signature-table.
18176         (describe-function-1): Do it here instead so it also applies to subrs.
18178 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
18180         * simple.el (start-file-process): Say in the doc-string, that file
18181         handlers might not support pty association, if PROGRAM is nil.
18183         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18184         HOST and USER are strings.  They are nil, when there are
18185         incomplete entries in ~/.netrc, for example.
18186         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
18187         root directory ("device busy" error otherwise).
18189         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18190         Flush file properties of created directory.
18192 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18194         * makefile.w32-in (WINS_BASIC): Remove cedet.
18195         (WINS_CEDET): Add cedet.
18196         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18198 2009-10-02  Kevin Ryde  <user42@zip.com.au>
18200         * net/browse-url.el (browse-url): Pass any symbol in
18201         browse-url-browser-function to `apply', since if you've mistakenly put
18202         an unbound symbol then the error is clearer.  (Bug#4531)
18204 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18206         * allout.el (allout-init, allout-back-to-current-heading)
18207         (allout-beginning-of-current-entry, allout-ascend-to-depth)
18208         (allout-ascend, allout-up-current-level, allout-end-of-level)
18209         (allout-previous-visible-heading, allout-forward-current-level)
18210         (allout-backward-current-level, allout-show-children):
18211         * apropos.el (apropos-describe-plist):
18212         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18213         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18214         * completion.el (add-completion, add-permanent-completion):
18215         * descr-text.el (describe-text-category, describe-char):
18216         * desktop.el (desktop-lazy-abort):
18217         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18218         * dired.el (dired-build-subdir-alist):
18219         * ediff.el (ediff-version):
18220         * elide-head.el (elide-head, elide-head-show):
18221         * emerge.el (emerge-version):
18222         * env.el (getenv):
18223         * face-remap.el (variable-pitch-mode):
18224         * faces.el (describe-face):
18225         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18226         (dired-at-point):
18227         * files.el (find-file-existing, auto-save-mode):
18228         * font-lock.el (font-lock-fontify-buffer):
18229         * help-fns.el (describe-function, describe-variable)
18230         (describe-syntax, describe-categories):
18231         * help.el (view-lossage, describe-bindings, describe-key)
18232         (describe-mode):
18233         * hexl.el (hexl-current-address):
18234         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18235         * info.el (Info-goto-emacs-key-command-node):
18236         * log-edit.el (log-edit-insert-cvs-template)
18237         (log-edit-insert-cvs-rcstemplate):
18238         * menu-bar.el (menu-bar-mode):
18239         * mouse.el (mouse-appearance-menu):
18240         * newcomment.el (comment-indent-new-line):
18241         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18242         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18243         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18244         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18245         * recentf.el (recentf-mode):
18246         * savehist.el (savehist-mode, savehist-save):
18247         * shadowfile.el (shadow-copy-files):
18248         * simple.el (kill-ring-save, next-line, previous-line)
18249         (normal-erase-is-backspace-mode):
18250         * strokes.el (strokes-update-window-configuration)
18251         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18252         (strokes-xpm-for-stroke):
18253         * time.el (emacs-uptime, emacs-init-time):
18254         * tutorial.el (tutorial--describe-nonstandard-key)
18255         (tutorial--detailed-help):
18256         * type-break.el (type-break-mode)
18257         (type-break-mode-line-message-mode, type-break-query-mode)
18258         (type-break-guesstimate-keystroke-threshold):
18259         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18260         * version.el (emacs-version):
18261         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18262         * winner.el (winner-mode):
18263         * calendar/timeclock.el (timeclock-in, timeclock-out)
18264         (timeclock-status-string, timeclock-change)
18265         (timeclock-workday-remaining-string)
18266         (timeclock-workday-elapsed-string)
18267         (timeclock-when-to-leave-string):
18268         * calendar/todo-mode.el (todo-add-category):
18269         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18270         * emacs-lisp/autoload.el (update-file-autoloads):
18271         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18272         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18273         (checkdoc-message-text, checkdoc-defun):
18274         * emacs-lisp/debug.el (debugger-list-functions):
18275         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18276         * emacs-lisp/eieio-opt.el (eieio-describe-class)
18277         (eieio-describe-generic):
18278         * emacs-lisp/lisp-mnt.el (lm-synopsis):
18279         * emacs-lisp/shadow.el (list-load-path-shadows):
18280         * emulation/cua-base.el (cua-mode):
18281         * emulation/edt.el (edt-set-scroll-margins):
18282         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18283         (tpu-toggle-regexp, tpu-toggle-search-direction)
18284         (tpu-toggle-rectangle, tpu-toggle-control-keys):
18285         * emulation/tpu-extras.el (tpu-set-scroll-margins):
18286         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18287         (viper-set-parsing-style-toggling-macro)
18288         (viper-set-emacs-state-searchstyle-macros):
18289         * emulation/viper.el (viper-set-hooks):
18290         * eshell/esh-mode.el (eshell-truncate-buffer):
18291         * international/mule-cmds.el (prefer-coding-system)
18292         (describe-input-method, describe-language-environment):
18293         * international/mule-diag.el (list-character-sets)
18294         (describe-character-set, describe-coding-system)
18295         (describe-fontset, list-fontsets, list-input-methods):
18296         * mail/sendmail.el (mail-signature):
18297         * net/ange-ftp.el (ange-ftp-copy-file):
18298         * net/browse-url.el (browse-url):
18299         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18300         * net/quickurl.el (quickurl-add-url):
18301         * net/rcirc.el (names, topic):
18302         * net/xesam.el (xesam-mode):
18303         * play/5x5.el (5x5-new-game):
18304         * play/yow.el (apropos-zippy):
18305         * progmodes/ada-mode.el (ada-mode-version):
18306         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18307         (f90-end-of-block)
18308         (f90-beginning-of-block):
18309         * progmodes/fortran.el (fortran-end-of-block)
18310         (fortran-beginning-of-block):
18311         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18312         * progmodes/python.el (python-describe-symbol, python-shell):
18313         * term/ns-win.el (ns-print-buffer):
18314         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18315         * textmodes/flyspell.el (flyspell-mode-on):
18316         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18317         (pages-directory-for-addresses):
18318         * textmodes/table.el (table-recognize-cell)
18319         (table-query-dimension, table-generate-source)
18320         (table-insert-sequence, table--warn-incompatibility):
18321         * textmodes/tex-mode.el (tex-validate-buffer):
18322         * textmodes/texinfmt.el (texinfmt-version)
18323         (texinfo-format-buffer):
18324         Use `called-interactively-p' instead of `interactive-p'.
18326 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18328         * image-mode.el (image-toggle-display):
18329         * emacs-lisp/elp.el (elp-instrument-function):
18330         * emacs-lisp/advice.el (ad-make-advised-definition):
18331         * emacs-lisp/easy-mmode.el (define-minor-mode):
18332         * net/browse-url.el (browse-url-maybe-new-window):
18333         * progmodes/sh-script.el (sh-learn-buffer-indent):
18334         Pass new argument 'any to `called-interactively-p'.
18336 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
18338         * international/uni-bidi.el:
18339         * international/uni-category.el:
18340         * international/uni-combining.el:
18341         * international/uni-comment.el:
18342         * international/uni-decimal.el:
18343         * international/uni-decomposition.el:
18344         * international/uni-digit.el:
18345         * international/uni-lowercase.el:
18346         * international/uni-mirrored.el:
18347         * international/uni-name.el:
18348         * international/uni-numeric.el:
18349         * international/uni-old-name.el:
18350         * international/uni-titlecase.el:
18351         * international/uni-uppercase.el:
18352         Regenerate from Unicode 5.2.0 data.
18354 2009-10-01  Glenn Morris  <rgm@gnu.org>
18356         * Makefile.in (ELCFILES): Regenerate.
18358 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18360         * subr.el (interactive-p): Mark obsolete.
18361         (called-interactively-p): Make the optional-ness of `kind' obsolete.
18362         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18363         advertised-signature-table for subroutines as well.
18365         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18366         (set-advertised-calling-convention): New function.
18367         (make-obsolete, define-obsolete-function-alias)
18368         (make-obsolete-variable, define-obsolete-variable-alias):
18369         Make the optional-ness of `when' obsolete.
18370         (define-obsolete-face-alias): Make `when' non-optional.
18371         * help-fns.el (help-function-arglist):
18372         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18373         Use advertised-signature-table.
18375 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
18377         * files.el (delete-directory): New defun.  The original function
18378         in fileio.c has been renamed to `delete-directory-internal'.
18380         * dired.el (dired-delete-file): Call `delete-directory' with
18381         RECURSIVE parameter.
18383         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18384         parameter RECURSIVE.  Implementation is missing.
18386         * net/tramp.el (tramp-handle-make-directory): Flush upper
18387         directory's file properties.
18388         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18389         (tramp-handle-dired-recursive-delete-directory): Flush directory
18390         properties after the remove command only.
18392         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18393         Handle optional parameter RECURSIVE.
18395         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18396         Handle optional parameter RECURSIVE.
18398         * net/tramp-smb.el (tramp-smb-errors): Add error message for
18399         connection timeout.
18400         (tramp-smb-handle-delete-directory): Handle optional parameter
18401         RECURSIVE.
18403 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18405         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18406         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18407         (byte-compile-defmacro): Use backquotes.
18409         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18411         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18412         has no associated file.
18413         (vc-resynch-buffer): Use vc-dir-buffers.
18415 2009-10-01  Glenn Morris  <rgm@gnu.org>
18417         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18418         (chart-file-count):
18419         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18420         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18421         * emacs-lisp/eieio-opt.el (eieio-describe-class):
18422         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18423         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18424         (eieio-copy-parents-into-subclass, make-instance, class-children)
18425         (eieio-generic-form):
18427         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18428         match-data.  (Bug#4555).
18430         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18431         rather than parsing it as a regexp.  This relaxes the layout
18432         requirements and makes errors easier to detect.
18433         (check-declare-verify): Check file is regular.
18434         (check-declare-directory): Doc fix.
18435         * subr.el (declare-function): Doc fix.
18437         * ibuffer.el (ibuffer-format-qualifier):
18438         * isearch.el (hi-lock-regexp-okay):
18439         * calc/calc.el (math-zerop):
18440         * mail/uce.el (rmail-msgbeg, rmail-msgend):
18441         * term/w32-win.el (setup-default-fontset, set-fontset-font):
18442         Remove unused declarations.
18444 2009-09-30  Eric Ludlam  <zappo@gnu.org>
18446         * emacs-lisp/eieio.el (boolean-p): Delete.
18448 2009-09-30  Glenn Morris  <rgm@gnu.org>
18450         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18452         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18453         filename is not a string.
18455 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
18457         * files.el (safe-local-eval-forms): Fix typo.
18459 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18461         * vc-hooks.el (vc-dir-buffers): New var.
18462         (vc-state-refresh): New function.
18463         (vc-state): Use it.
18464         (vc-after-save): Always ask the backend to recompute the new state.
18465         Always call vc-dir if necessary, using vc-dir-buffers.
18466         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18467         Use vc-dir-buffers.
18468         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18469         (vc-dir-prepare-status-buffer, vc-dir-update)
18470         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18471         Don't call expand-file-name on default-directory.
18473 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18475         * speedbar.el (speedbar-item-delete):
18476         * calc/calc-prog.el (calc-kbd-if):
18477         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18479         * epa.el (epa-key-list-mode-map):
18480         * hi-lock.el (hi-lock-menu): Fix typos in menus.
18482         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18483         (hs-show-hook): Fix typo in docstring.
18485 2009-09-29  Glenn Morris  <rgm@gnu.org>
18487         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18488         file-name-nondirectory call preventing location of cedet files.
18489         (check-declare-verify): Use literal search rather than re-search.
18490         Add basic defmethod and defclass, and define-overloadable-function.
18492         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18493         Use tramp-compat-file-attributes rather than nonexistent
18494         tramp-compat-handle-file-attributes.
18496         * Makefile.in (lisptagsfiles4): New.
18497         (AUTOGENEL): Add cedet loaddefs files.
18498         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18499         (update-elclist, compile-always, backup-compiled-files)
18500         (bootstrap-clean): Add yet another directory level.
18501         (update-elclist): Use LC_COLLATE rather than COLLATE.
18502         (ELCFILES): Update, via `make update-elclist'.
18504 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18506         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18507         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18508         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18510 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18512         * Makefile.in (lisptagsfiles3): Define.
18513         (TAGS, TAGS-LISP): Use it.
18514         (update-elclist): Add third directory level to look for elc files.
18515         (compile-always): Likewise.
18516         (backup-compiled-files): Likewise.
18517         (bootstrap-clean): Likewise.
18518         (ELCFILES): Update.
18520 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
18522         * Makefile.in (ELCFILES): Add CEDET files.
18524 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
18526         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18528         * net/tramp.el (top): Require tramp-imap.
18530         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18531         Use `tramp-compat-handle-file-attributes'.
18533 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
18535         * net/tramp-imap.el: New package.
18537 2009-09-28  Eric Ludlam  <zappo@gnu.org>
18539         * emacs-lisp/chart.el:
18540         * emacs-lisp/eieio-base.el:
18541         * emacs-lisp/eieio-comp.el:
18542         * emacs-lisp/eieio-custom.el:
18543         * emacs-lisp/eieio-datadebug.el:
18544         * emacs-lisp/eieio-opt.el:
18545         * emacs-lisp/eieio-speedbar.el:
18546         * emacs-lisp/eieio.el: New files.
18548 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18550         * whitespace.el (whitespace-trailing-regexp)
18551         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18552         Fix doc string.
18554 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
18556         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18557         menu.
18559         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18560         menu-bar-ediff-menu.
18562         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18563         define-overloadable-function.
18565         * progmodes/autoconf.el: Provide autoconf as well, so that this
18566         file can be `require'd.
18568         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18570         * emacs-lisp/autoload.el (generated-autoload-feature)
18571         (generated-autoload-load-name): New vars.
18572         (autoload-rubric, autoload-generate-file-autoloads): Use them.
18573         (make-autoload): Recognize define-overloadable-function and
18574         defclass forms (for EIEIO).
18576         * Makefile.in (update-subdirs): Exclude cedet directory.
18578 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
18580         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
18582         * faces.el: Default light-background background for region face to
18583         ns_selection_color under NS.
18585 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
18587         * net/imap-hash.el: New library, see NEWS.
18589         * Makefile.in (ELCFILES): Add imap-hash.el.
18591 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18593         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18594         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18595         * help-macro.el (make-help-screen): Avoid using an ambiguous function
18596         definition where the docstring could be taken for the return value.
18598 2009-09-26  Glenn Morris  <rgm@gnu.org>
18600         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18601         Add option to only show images below a certain size.
18602         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18603         save-excursion calls.
18605 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
18607         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18608         subdirectories) and eieio.
18610 2009-09-26  Alan Mackenzie  <acm@muc.de>
18612         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18613         Correct buggy bracketing.  (Bug#4289)
18615         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18616         character constants (as case labels).  (Bug#4289)
18618 2009-09-25  Juri Linkov  <juri@jurta.org>
18620         * files.el (safe-local-eval-forms): Allow time-stamp in
18621         before-save-hook (Bug#4554).
18623 2009-09-25  Drew Adams  <drew.adams@oracle.com>
18625         * menu-bar.el (list-buffers-directory): Doc fix.
18627 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18629         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18630         Try and avoid copying twice the same paragraph.
18631         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18632         Remove save-excursion.
18633         (log-edit-changelog-entry): Do it here instead.
18635 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
18637         * bs.el (bs--get-file-name): Use `list-buffers-directory'
18638         when available, instead of hardcoding mode names.  Doc fix.
18640         * menu-bar.el (list-buffers-directory): Add docstring.
18641         Make automatically buffer-local.
18643         * dired.el (dired-mode):
18644         * files.el (cd-absolute):
18645         * pcvs.el (cvs-temp-buffer):
18646         * pcvs-util.el (cvs-get-buffer-create):
18647         * shell.el (shell-mode):
18648         * vc-dir.el (vc-dir-mode):
18649         Don't make `list-buffers-directory' buffer local.
18651 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
18653         * comint.el (comint-exec, comint-run, make-comint):
18654         Doc fixes (Bug#4542).
18656 2009-09-25  Glenn Morris  <rgm@gnu.org>
18658         * mail/rmailmm.el (rmail-mime): New custom group.
18659         Move all defcustoms in this file into this group.
18660         (rmail-mime-media-type-handlers-alist): Revert previous change.
18661         (rmail-mime-show-images): New option.
18662         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18663         references to it, since it wasn't actually used for anything.
18664         (rmail-mime-insert-image): New function.
18665         (rmail-mime-image): Use rmail-mime-insert-image.
18666         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18667         obey the value of `rmail-mime-show-images' option.  Print the size of
18668         attachments.
18670 2009-09-25  David Engster  <deng@randomsample.de>
18672         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
18674 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18676         * whitespace.el: Does not highlight trailing spaces While point is
18677         at end of line.  Does not highligt spaces at beginning of buffer
18678         while point is at beginning of buffer.  Does not highlight spaces
18679         at end of buffer while point is at end of buffer.  (Bug#4177)
18680         New version 12.0.
18681         (whitespace-display-mappings): Adjust initialization.
18682         (whitespace-point, whitespace-font-lock-refontify): New vars.
18683         (whitespace-color-on, whitespace-color-off): Adjust code.
18684         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18685         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18686         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18688 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
18690         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18692         * textmodes/sgml-mode.el: Remove xml-mode alias.
18694         * files.el (auto-mode-alist, conf-mode-maybe)
18695         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18697 2009-09-24  Alan Mackenzie  <acm@muc.de>
18699         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18700         c-forward-conditionals, but it doesn't move point and doesn't set
18701         the mark.
18702         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18703         (c-down-conditional-with-else, c-backward-conditional)
18704         (c-forward-conditional): Refactor to use c-scan-conditionals.
18706 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18708         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18709         (help-default-arg-highlight): Remove.
18710         (help-highlight-arg): New function.
18711         (help-do-arg-highlight): Use it.
18712         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
18714 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18716         * term.el (term-set-scroll-region, term-handle-ansi-escape):
18717         Undo last change, which didn't fix the problem and introduced others.
18719 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
18721         * progmodes/gdb-mi.el: Don't require speedbar.
18722         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18724 2009-09-24  Glenn Morris  <rgm@gnu.org>
18726         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18728         * term/ns-win.el (ns-reg-to-script): Define for compiler.
18730         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18731         there is no newline after the final mime boundary.  (Bug#4539)
18732         Move markers on insertion so that any buttons inserted don't end up in
18733         the next part of a multipart message.
18734         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
18735         (rmail-mime-bulk-handler): Optionally handle images.
18736         (rmail-mime-image): New button action.
18737         (rmail-mime-image-handler): New function.
18738         (rmail-mime-mode): New mode.
18739         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
18741 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18743         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18744         than just dropping elements from it (bug#4504).
18746         * term.el (term-set-scroll-region): Don't move cursor any more.
18747         (term-handle-ansi-escape): Call term-goto here instead.
18748         Suggested by Ivan Kanis <apple@kanis.eu>.
18750         * term.el: Require CL.
18751         (term-ansi-reset): New function.
18752         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18753         (term-handle-colors-array): Simplify.
18755 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18757         * allout.el (allout-overlay-interior-modification-handler)
18758         (allout-obtain-passphrase):
18759         * epa-file.el (epa-file-write-region):
18760         * ps-print.el (ps-begin-job):
18761         * vc-hooks.el (vc-toggle-read-only):
18762         * vc-rcs.el (vc-rcs-rollback):
18763         * vc-sccs.el (vc-sccs-rollback):
18764         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18765         (vc-version-diff, vc-revert, vc-rollback):
18766         * wdired.el (wdired-check-kill-buffer):
18767         * emacs-lisp/authors.el (authors):
18768         * net/socks.el (socks-open-connection):
18769         * net/zeroconf.el (zeroconf-service-add-hook):
18770         * obsolete/vc-mcvs.el (vc-mcvs-register):
18771         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18772         (gdb-select-frame):
18773         * progmodes/grep.el (lgrep, rgrep):
18774         * progmodes/idlw-help.el (idlwave-help-check-locations)
18775         (idlwave-help-html-link, idlwave-help-assistant-open-link):
18776         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18777         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18778         (reftex-toc-rename-label): Fix typos in error messages.
18780         * dired-aux.el (dired-do-shell-command): Reflow docstring.
18781         (dired-copy-how-to-fn): Doc fix.
18782         (dired-files-attributes, dired-read-shell-command):
18783         Fix typos in docstrings.
18785         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18786         (dired-x-find-file-other-window): Reflow docstrings.
18787         (dired-omit-marker-char, dired-read-shell-command)
18788         (dired-x-submit-report): Fix typos in docstrings.
18790         * shell.el (shell-mode-hook):
18791         * view.el (View-scroll-line-forward):
18792         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18793         Fix typos in docstrings.
18795         * net/dig.el (dig-invoke): Fix typo in docstring.
18796         (query-dig): Reflow docstring.
18798         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18799         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18800         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18801         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18802         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18803         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18804         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18805         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18806         (idlwave-completion-map, idlwave-current-indent)
18807         (idlwave-custom-ampersand-surround, idlwave-customize)
18808         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18809         (idlwave-define-abbrev, idlwave-determine-class-special)
18810         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18811         (idlwave-end-block-reg, idlwave-end-of-statement)
18812         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18813         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18814         (idlwave-explicit-class-listed, idlwave-file-header)
18815         (idlwave-fill-paragraph, idlwave-find-class-definition)
18816         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18817         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18818         (idlwave-in-quote, idlwave-indent-action-table)
18819         (idlwave-indent-expand-table, idlwave-indent-line)
18820         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18821         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18822         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18823         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18824         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18825         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18826         (idlwave-outlawed-buffers, idlwave-popup-select)
18827         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18828         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18829         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18830         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18831         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18832         (idlwave-statement-type, idlwave-struct-skip)
18833         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18834         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18835         (idlwave-what-module-find-class): Fix typos in docstrings.
18836         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18837         (idlwave-calculate-cont-indent, idlwave-expand-equal)
18838         (idlwave-find-module, idlwave-find-structure-definition)
18839         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18840         (idlwave-list-load-path-shadows, idlwave-next-statement)
18841         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18842         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18843         (idlwave-template): Reflow docstrings.
18845         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18846         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18847         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18848         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18849         (idlwave-shell-display-line, idlwave-shell-display-wframe)
18850         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18851         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18852         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18853         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18854         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18855         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18856         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18857         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18858         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18859         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18860         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18861         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18862         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18863         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18864         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18865         Fix typos in docstrings.
18866         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18867         (idlwave-shell-hide-output, idlwave-shell-mode)
18868         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18869         Reflow docstrings.
18871         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18873 2009-09-24  Ivan Kanis  <apple@kanis.eu>
18875         * term.el (term-bold-attribute): New var.
18876         (term-handle-colors-array): Use it.
18878 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
18880         * progmodes/gdb-mi.el (gdb-version): New variable.
18881         (gdb-non-stop-handler): Set gdb-version.
18882         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18883         Condition "--thread" option on gdb-version.
18884         (gdb-invalidate-threads): Remove unused argument.
18886 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18888         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18889         to looking-back to avoid ridiculous slow down in large files (bug#4511).
18891 2009-09-23  Glenn Morris  <rgm@gnu.org>
18893         * mail/rmail.el (rmail-reply): Don't try to add a References header when
18894         replying to mail without References or Message-Id.  (Bug#4525)
18896 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
18898         * term/ns-win.el (ns-reg-to-script): New variable.
18900 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
18902         * epg.el (epg-wait-for-status): Preserve existing 'error results.
18904 2009-09-22  Sam Steingold  <sds@gnu.org>
18906         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18907         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18908         to 1 because hg returns status 1 when nothing is found.
18909         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18911 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18913         * textmodes/fill.el: Convert to utf-8 encoding.
18914         (fill-french-nobreak-p): Remove redundant » and « inherited from our
18915         pre-Unicode days.
18917         * add-log.el (change-log-fill-forward-paragraph): New function.
18918         (change-log-mode): Use it so fill-region DTRT.
18919         Set fill-indent-according-to-mode here rather than in
18920         change-log-fill-paragraph.
18921         (change-log-fill-paragraph): Remove.
18923 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
18925         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18926         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
18928 2009-09-22  Glenn Morris  <rgm@gnu.org>
18930         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18931         the scroll-bar scroll the calendar window rather than the buffer.
18933         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18934         commands that move point (as opposed to scrolling).
18936         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18938         * emacs-lisp/elint.el (elint): New custom group.
18939         (elint-log-buffer): Make it a defcustom.
18940         (elint-scan-preloaded, elint-ignored-warnings)
18941         (elint-directory-skip-re): New options.
18942         (elint-builtin-variables): Doc fix.
18943         (elint-preloaded-env): New variable.
18944         (elint-unknown-builtin-args): Add an entry for encode-time.
18945         (elint-extra-errors): Make it a variable rather than a constant.
18946         (elint-preloaded-skip-re): New constant.
18947         (elint-directory): Skip files matching elint-directory-skip-re.
18948         (elint-features): New variable, local to linted buffers.
18949         (elint-update-env): Initialize elint-features.  Possibly add
18950         elint-preloaded-env to the buffer's environment.
18951         (elint-get-top-forms): Bind elint-current-pos, for log messages.
18952         Skip quoted forms.
18953         (elint-init-form): New function, extracted from elint-init-env.
18954         Make non-list forms a warning rather than an error.
18955         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
18956         easy-menu-define, put that adds an error-condition, and provide.
18957         When requiring cl, also require cl-macs.  Really require cl, to handle
18958         some cl macros.  Store required libraries in the list elint-features,
18959         so as not to re-load them.  Treat cc-require like require.
18960         (elint-init-env): Call elint-init-form to do the work.
18961         Handle eval-and-compile and such like.
18962         (elint-add-required-env): Do not clear messages.
18963         (elint-special-forms): Add handlers for function, defalias, if, when,
18964         unless, and, or.
18965         (elint-form): Add optional argument to ignore elint-special-forms,
18966         useful to prevent recursive calls from handlers.  Doc fix.
18967         Respect elint-ignored-warnings.
18968         (elint-form): Respect elint-ignored-warnings.
18969         (elint-bound-variable, elint-bound-function): New variables.
18970         (elint-unbound-variable): Respect elint-bound-variable.
18971         (elint-get-args): Respect elint-bound-function.
18972         (elint-check-cond-form): Add some simple handling for (f)boundp and
18973         featurep tests.
18974         (elint-check-defalias-form): New handler.
18975         (elint-check-let-form): Make an empty let a warning rather than an
18976         error.
18977         (elint-check-setq-form): Make an empty setq a warning rather than an
18978         error.  Respect elint-ignored-warnings.
18979         (elint-check-defvar-form): Accept null doc-strings.
18980         (elint-check-conditional-form): New handler.  Does some simple-minded
18981         checking of featurep and (f)boundp tests.
18982         (elint-put-function-args): New function.
18983         (elint-initialize): Use elint-scan-doc-file rather than
18984         elint-find-builtin-variables.  Use elint-put-function-args.
18985         Possibly scan preloaded-file-list.
18986         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18987         extend to handle functions as well.
18989 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
18991         * linum.el (linum-delete-overlays, linum-update-window):
18992         Do not modify the right margin.  (Bug#3971)
18994 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
18996         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18997         Use nxml-mode instead of xml-mode.
18999 2009-09-21  Kevin Ryde  <user42@zip.com.au>
19001         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
19003 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19005         * net/dig.el (dig-mode): Use define-derived-mode.
19007 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
19009         * vc-dispatcher.el (vc-do-command): Return the process object in
19010         the asynchronous case.  Use when instead of if.  Do not run
19011         vc-exec-after to display a message if not enabled.  (Bug#4463)
19013         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19014         properties to the stash strings.
19015         (vc-git-stash-list): Return a list of strings.
19016         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19017         (vc-git-stash-show-at-point): New functions.
19018         (vc-git-stash-map): New keymap.
19020         * register.el (ctl-x-r-map): Define the keys here instead of
19021         using autoload.
19023 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
19025         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19026         list, to workaround performance problem (bug#4485).
19028 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
19030         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19032 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
19034         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19035         Document that this option is not recommended to use.
19037 2009-09-19  Glenn Morris  <rgm@gnu.org>
19039         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19040         variable `var'.
19042         * calc/calc-alg.el (var):
19043         * calc/calcalg2.el (var): Define for compiler.
19045 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
19047         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19048         Doc fix (Bug#3932).
19050         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19052         * time-stamp.el (time-stamp-month-dd-yyyy)
19053         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19054         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19055         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19056         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19057         Remove functions that have been obsolete since 1995 (Bug#4436).
19059         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19060         indent buffer only if called interactively (Bug#4452).
19062 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
19063             Eli Zaretskii  <eliz@gnu.org>
19065         This fixes bug#4197 (merged to bug#865, though not identical).
19066         * server.el (server-auth-dir): Add docstring note about FAT32.
19067         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19068         but warn against using them.
19070 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
19072         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19073         older GDB where there is no has_more field.
19075 2009-09-19  Glenn Morris  <rgm@gnu.org>
19077         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19079 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
19081         * files.el (auto-mode-alist): Change default for XML files to nXML
19082         mode (Bug#4169).
19084 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
19086         * server.el (server-ensure-safe-dir): Pass 'integer
19087         to `file-attributes', as suggested.
19089 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19091         * dired-aux.el (dired-query-alist): Remove spurious backslash.
19092         (dired-query): Use read-key.
19094 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
19096         * cus-start.el (ns-use-qd-smoothing): Remove.
19098 2009-09-18  Glenn Morris  <rgm@gnu.org>
19100         * allout.el (top-level): Remove unnecessary progn.
19102         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19104         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19105         definition of abbrev table.
19107         * speedbar.el (speedbar-track-mouse):
19108         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19109         * net/eudc.el (eudc-expand-inline):
19110         * net/newst-backend.el (newsticker--cache-read-feed):
19111         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19112         condition-case handlers.
19114 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
19116         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19117         (gdb-var-list): Add an element for has_more field.
19118         (gdb-non-stop-handler): Enable pretty printing for STL containers.
19119         (gdb-var-create-handler, gdb-var-list-children-handler-1)
19120         (gdb-var-update-handler-1): Parse output of dynamic variable
19121         objects (STL containers).
19122         (gdb-var-delete-1): Pass var1 as an explicit second argument.
19123         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
19125         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19126         gdb-var-list.
19127         (gud-speedbar-buttons): Make node expandable if expression "has more"
19128         children.
19130 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
19132         * startup.el (emacs-quick-startup): Remove variable and all uses.
19133         (command-line): Set `inhibit-x-resources' instead.
19134         (command-line-1): Use `inhibit-x-resources' instead.
19136 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
19138         * subr.el: Fix last change to avoid using the `unless' macro,
19139         which breaks bootstrapping.
19141 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19143         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19144         extended definitions, in case we reload subr.el after having
19145         loaded CL.
19146         (eval-next-after-load): Mark as obsolete.
19148 2009-09-17  Juri Linkov  <juri@jurta.org>
19150         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19151         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19152         (menu-bar-showhide-menu, menu-bar-tools-menu)
19153         (menu-bar-describe-menu, menu-bar-help-menu)
19154         (minibuffer-local-completion-map, minibuffer-local-map):
19155         Fix list quoting.
19157 2009-09-17  Glenn Morris  <rgm@gnu.org>
19159         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19160         arguments, whether or not it has a handler.
19162         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19164         * simple.el (hard-newline): Give it a doc-string.
19166         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19167         (lisp-mode-syntax-table): Give them doc-strings.
19169 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
19171         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19172         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19173         (menu-bar-options-menu, menu-bar-showhide-menu)
19174         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19175         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19176         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19177         (menu-bar-options-menu, menu-bar-tools-menu)
19178         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19179         (menu-bar-help-menu):
19180         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19181         string arguments.
19183         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19184         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19185         calls for the menu names and :help.
19187 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19189         * mouse.el (minor-mode-menu-from-indicator): Pay attention
19190         to :minor-mode-function (bug#4455).
19192 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19194         * startup.el (command-line): Initialize the window-system after
19195         processing the command-line.
19197         * textmodes/page.el (what-page): Make sure we don't inf-loop if
19198         page-delimiter matches the empty string.
19200 2009-09-16  Glenn Morris  <rgm@gnu.org>
19202         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19203         byte-compile-not-obsolete-var.  It's a list now.
19204         (byte-compile-not-obsolete-funcs): New variable.
19205         (byte-compile-warn-obsolete): Don't warn about functions if they are in
19206         byte-compile-not-obsolete-funcs.
19207         (byte-compile-variable-ref, byte-compile-defvar): Update for
19208         byte-compile-not-obsolete-vars name-change and list nature.
19209         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19210         and variables behind (f)boundp tests.
19211         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19213 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19215         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19217 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19219         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19220         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19221         Don't autoload.
19223 2009-09-15  Stephen Eglen  <stephen@gnu.org>
19225         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19226         the virtual-buffers, use the name of the buffer specified by
19227         find-file-noselect, as the match may be a symlink.  (This was a
19228         problem if the target and the symlink had different names.)
19230 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19232         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19234         * desktop.el (desktop-path): Check user-emacs-directory.
19236         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19238         * loadup.el: Use after-load-functions to GC after loading each file.
19239         Remove the explicit GC calls that used to be sprinkled around.
19241         * subr.el (after-load-functions): New hook.
19242         (do-after-load-evaluation): Run it.  Use string-match-p to detect
19243         `obsolete' packages, rather than painfully extracting the relevant
19244         directory name.
19246 2009-09-15  Glenn Morris  <rgm@gnu.org>
19248         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19249         free variable `doc'.
19251         * dired.el (dired-mode-map): Add menu entry for async shell command.
19253         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19254         variables, also consider the .elc files, since the .el files are
19255         normally gzipped (subsequent code locates the .el.gz from the .elc).
19257         * calc/calc-prog.el (arglist): Define for compiler.
19259         * calendar/diary-lib.el (diary-display-function): Change the default to
19260         fancy display.
19261         (body): Define for compiler.
19263         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19264         (byte-compile-file-form, byte-compile-lambda)
19265         (byte-compile-top-level-body, byte-compile-form)
19266         (byte-compile-variable-ref, byte-compile-setq)
19267         (byte-compile-setq-default, byte-compile-body)
19268         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19269         (batch-byte-compile): Give some more local variables with common names
19270         a "bytecomp-" prefix to avoid masking warnings about free variables.
19272         * startup.el (command-line-1): Give local variables with common names a
19273         distinguishing prefix, so as not to hide free variable warnings during
19274         bootstrap.
19276         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19277         clever and add a suffix to make a unique name, just let the user decide
19278         whether or not to overwrite it.  If the input is a directory, write the
19279         default filename to that directory.  (Bug#4388)
19280         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19281         is a filename-as-a-directory.
19283 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19285         * textmodes/page.el (what-page): Don't move to beginning of line.
19286         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19288 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19290         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19292 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
19294         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19295         * help.el (help-for-help-internal): Add purecopy calls for text.
19297         * vc.el (top): print-log method now takes an optional SHORTLOG
19298         argument.  Add a new method: root.
19299         (vc-root-diff, vc-print-root-log): New functions.
19300         (vc-log-short-style): New variable.
19301         (vc-print-log-internal): Add support for showing short logs.
19303         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19304         vc-print-root-log and vc-print-root-diff.
19306         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19307         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19308         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19309         short logs.
19311         * vc-cvs.el (vc-cvs-print-log):
19312         * vc-mtn.el (vc-mtn-print-log):
19313         * vc-rcs.el (vc-rcs-print-log):
19314         * vc-sccs.el (vc-sccs-print-log):
19315         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19316         that is ignored for now.
19318         * vc-mtn.el (vc-mtn-annotate-command):
19319         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19321 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19323         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19324         to function-key-map, and give them ascii-character property.
19325         * term/x-win.el (x-alternatives-map):
19326         * term/ns-win.el (ns-alternatives-map):
19327         * term/internal.el (msdos-key-remapping-map):
19328         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19330 2009-09-14  Glenn Morris  <rgm@gnu.org>
19332         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19333         temp-buffers (2009-09-12).
19335 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19337         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19338         the new read-key function.
19340 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19342         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19343         is defined (Bug#4405).
19345 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
19347         * recentf.el (recentf-cleanup): Use a hash table to find
19348         duplicates (Bug#4407).
19350 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
19352         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19353         kp-0 to ascii equivalents (Bug#4325).
19355 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19357         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19359         * eshell/em-hist.el:
19360         * eshell/em-dirs.el (eshell-complete-user-reference):
19361         Declare pcomplete functions and variables to avoid compiler warnings.
19363 2009-09-13  Leo Liu  <sdl.web@gmail.com>  (tiny change)
19365         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19366         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19367         * eshell/em-alias.el (eshell-aliases-file):
19368         * eshell/em-hist.el (eshell-history-file-name):
19369         Use expand-file-name instead of concat to make file names (Bug#4308).
19371 2009-09-13  Glenn Morris  <rgm@gnu.org>
19373         * ediff-merg.el (ediff-do-merge):
19374         * filesets.el (filesets-run-cmd):
19375         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19376         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19377         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19378         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19379         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19380         Replace empty `let's with `progn'.
19382 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19384         * mail/sendmail.el (send-mail-function):
19385         * tooltip.el (tooltip-mode):
19386         * simple.el (transient-mark-mode):
19387         * rfn-eshadow.el (file-name-shadow-mode):
19388         * frame.el (blink-cursor-mode):
19389         * font-core.el (global-font-lock-mode):
19390         * files.el (temporary-file-directory)
19391         (small-temporary-file-directory, auto-save-file-name-transforms):
19392         * epa-hook.el (auto-encryption-mode):
19393         * composite.el (global-auto-composition-mode):
19394         Use custom-initialize-delay.
19395         * startup.el (command-line): Don't explicitly call
19396         custom-reevaluate-setting for all the above vars.
19397         * custom.el (custom-initialize-safe-set)
19398         (custom-initialize-safe-default): Delete.
19400 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19402         * term/x-win.el (x-initialize-window-system):
19403         * term/w32-win.el (w32-initialize-window-system):
19404         * term/ns-win.el (ns-initialize-window-system): Don't call
19405         mouse-wheel-mode since it's enabled globally by default already.
19407         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19408         actually define the variable, but only silences the byte-compiler.
19409         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19410         before looking it up.
19411         (mouse-wheel-scroll-amount): Also reset the bindings if this value
19412         is changed.
19414 2009-09-12  Glenn Morris  <rgm@gnu.org>
19416         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19417         1000.
19418         (elint-add-required-env): Don't beep on error.
19419         (elint-forms): In case of error, return ENV unchanged.
19420         (elint-init-env): Skip non-list forms.
19421         (elint-log): Handle unknown file positions.
19423 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
19425         * epg.el (epg-make-context): Add autoload cookie.
19426         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19427         (epg-decrypt-string, epg-start-verify, epg-verify-file)
19428         (epg-verify-string, epg-start-sign, epg-sign-file)
19429         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19430         (epg-encrypt-string, epg-start-export-keys)
19431         (epg-export-keys-to-file, epg-export-keys-to-string)
19432         (epg-start-import-keys, epg-import-keys-from-file)
19433         (epg-import-keys-from-string, epg-start-receive-keys)
19434         (epg-receive-keys, epg-import-keys-from-server)
19435         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19436         (epg-sign-keys, epg-start-generate-key)
19437         (epg-generate-key-from-file, epg-generate-key-from-string):
19438         Remove autoload cookie.
19440 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
19442         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19443         reevaluation of trash-directory.
19445         * mwheel.el: Fix last change.
19446         (mouse-wheel-mode): New defvar.
19447         (mouse-wheel-mode): Remove autoload cookie.
19449 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19451         * mwheel.el (mwheel-installed-bindings): New var.
19452         (mouse-wheel-mode): Use it, so as to make sure we really remove all
19453         the bindings we set last time.  Use custom-initialize-delay.
19454         * loadup.el: Load mwheel after term/*-win.el.
19455         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19456         and mouse-wheel-up-event now that their first evaluation is done
19457         sufficiently late to be correct.
19459         * startup.el (tutorial-directory): Make it a defcustom.
19460         Use custom-initialize-delay rather than eval-at-startup to set it.
19461         * image.el (image-load-path): Make it a defcustom.
19462         Use custom-initialize-delay rather than eval-at-startup to set it.
19463         * subr.el (eval-at-startup): Remove.
19464         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19466         * subr.el (do-after-load-evaluation): Warn the user after loading an
19467         obsolete package.
19469 2009-09-12  Glenn Morris  <rgm@gnu.org>
19471         * proced.el (proced-mark-alt): Remove alias.
19472         (proced-mode-map): Remove proced-mark-alt.
19474         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19475         Elint file and directory.  Remove initialization entry.
19477         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19478         commands.
19479         (elint-current-buffer): Set mode-line-process.
19480         (elint-init-env): Handle define-derived-mode.
19481         Fix declare-function with unspecified arglist.  Guard against odd
19482         defalias statements (eg iso-insert's 8859-1-map).
19483         (elint-add-required-env): Use a temp buffer.
19484         (elint-form): Just print the function/macro name, not the whole form.
19485         Return env unchanged if we fail to parse a macro.
19486         (elint-forms): Guard against parse errors.
19487         (elint-output): New function, to handle batch mode.
19488         (elint-log-message): Add optional argument.  Use elint-output.
19489         (elint-set-mode-line): New function.
19491 2009-09-12  Andreas Politz  <politza@fh-trier.de>
19493         * emacs-lisp/elp.el (elp-not-profilable): Add more
19494         functions (Bug#4233).
19496 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
19498         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19499         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19501 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19503         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19504         (gdb-var-list-children): Use json parsing.
19506 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
19508         * progmodes/js.el (js--proper-indentation): Handle the case where
19509         char-before is null.  Reported by Deniz Dogan.
19511 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19513         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19515 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
19517         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19518         (epg-digest-algorithm-alist): Add SHA224.
19519         (epg-context-set-passphrase-callback)
19520         (epg-context-set-progress-callback): Add description about
19521         callback function.
19523 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19525         * custom.el (custom-delayed-init-variables): New var.
19526         (custom-initialize-delay): New function.
19527         * startup.el (command-line): "Re"evaluate all vars in
19528         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
19529         explicitly any more.
19530         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19531         to avoid creating a ~/.emacs.d at build-time (bug#4347).
19533         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19535 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19537         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19538         (gdb-var-update-handler): Use json parsing.
19540 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19542         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19543         decode annotated text, regardless of language environment.  (Bug#2741)
19545 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19547         * Makefile.in (autoloads): Make rmail.el writable as well.
19549 2009-09-11  Glenn Morris  <rgm@gnu.org>
19551         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19552         loaddefs.el.
19553         * dired.el: Regenerate with extracted autoloads.
19554         * Makefile.in (autoloads): Make dired.el writable.
19556         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19557         * ibuffer.el: Regenerate with extracted autoloads.
19558         * Makefile.in (autoloads): Make ibuffer.el writable.
19560         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19561         * version.el (emacs-copyright, emacs-major-version)
19562         (emacs-minor-version): Reformat doc-strings for make-docfile.
19564         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19565         functions and variables, since they must be stuff specific to some other
19566         platform.
19567         (apropos-print): Make mouse-click message less specific about button.
19569         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19570         that records where a macro was defined.
19571         * help-fns.el (describe-function-1): Mention if a function has a
19572         compiler-macro.
19573         * help-mode.el (help-function-cmacro): New button.
19575         * locate.el (top-level): Always require dired.
19576         (locate-mode-map): Initialize inside the defvar.
19578         * net/ange-ftp.el (dired-compress-file): Declare.
19579         (ange-ftp-dired-compress-file): Add doc string.
19581         * term/ns-win.el (x-display-name, x-setup-function-keys):
19582         Unify doc-strings with X versions.
19584 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19586         * emulation/crisp.el (crisp-mode-map): Move initialization
19587         into declaration.
19588         (crisp-mode): Use define-minor-mode.
19590         * progmodes/xscheme.el (xscheme-evaluation-commands):
19591         Put a :advertised-binding property rather than using
19592         advertised-xscheme-send-previous-expression.
19593         (advertised-xscheme-send-previous-expression): Declare obsolete.
19594         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19595         `advertised-undo'.
19596         (crisp-mode): Add corresponding bindings to
19597         undo's :advertised-binding instead.
19598         * dired.el (dired-mode-map): Put a :advertised-binding property rather
19599         than using dired-advertised-find-file.
19600         (dired-advertised-find-file):
19601         * simple.el (advertised-undo):
19602         * wid-edit.el (advertised-widget-backward): Declare obsolete.
19603         (widget-keymap): Put a :advertised-binding property rather
19604         than using advertised-widget-backward.
19605         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19606         than using advertised-undo.
19607         * tutorial.el (tutorial--default-keys): Adjust accordingly.
19609 2009-09-10  Simon South  <ssouth@slowcomputing.org>
19611         * progmodes/delphi.el (delphi-tab): Indent region when Transient
19612         Mark mode is enabled and region is active; otherwise indent or
19613         insert TAB as usual.
19614         (delphi-mode): Update description of TAB-key binding.
19616 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19618         * subr.el (define-key-rebound-commands): Mark obsolete.
19619         * startup.el (precompute-menubar-bindings): Remove.
19620         (normal-top-level): Remove obsolete code that tried to precompute
19621         menubar bindings.
19622         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19623         define-key-rebound-commands and precompute-menubar-bindings.
19625 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
19627         * net/imap.el (imap-interactive-login): Better messages.
19628         (imap-open): Fix bug with renamed buffer on reconnect.
19629         (imap-authenticate): Add buffer-local imap-last-authenticator variable
19630         for easier debugging and cleaner code.  On successful (guessed based on
19631         server capabilities) secondary authentication, set imap-state
19632         correctly.
19633         (imap-last-authenticator): Define imap-last-authenticator as a variable
19634         to avoid warnings.
19636 2009-09-10  Glenn Morris  <rgm@gnu.org>
19638         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19640         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19641         (byte-compile-file-form-autoload): Don't warn about unknown functions
19642         where the autoload statement comes after the use.
19643         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19644         that any handlers inside the body (eg require) are in turn respected.
19646         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19647         effects.
19649         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19650         and syntax and abbrev tables basic docs, if they don't have any.
19652         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19654         * international/mule-cmds.el (top-level): Require cl when compiling.
19655         (view-hello-file): Use default-value rather than
19656         default-enable-multibyte-characters.
19658         * progmodes/fortran.el: Move all safe and risky properties into the
19659         defcustoms.
19661         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19662         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19663         * mail/undigest.el:
19664         Put autoloads in rmail.el rather than loaddefs.el.
19665         * mail/rmail.el: Regenerate with extracted autoloads.
19667         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19668         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19670 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
19672         Reported in thread for Bug#4375.
19673         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19674         "-data-evaluate-expression" instead of print.
19675         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19676         (gdb-tooltip-print): Parse output from above MI command.
19677         (gdb): Revert 2009-08-11 change.  User should detach inferior
19678         manually.
19680         Remove the word "separate" from IO functions as inferior
19681         output is now never displayed in the GUD buffer.
19683 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
19685         * startup.el (command-line-normalize-file-name): On Windows and
19686         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19688 2009-09-10  Juri Linkov  <juri@jurta.org>
19690         * isearch.el (isearch-text-char-description): Propertize escape
19691         character sequences with the `escape-glyph' face.  (Bug#4344)
19693         * simple.el (shell-command): Set asynchronous process filter to
19694         `comint-output-filter'.  (Bug#4343)
19696         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19697         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
19698         the list.  Move "asm" to the bottom.
19699         (grep-find-ignored-directories): Add `choice' with nil value
19700         to empty the list easily.
19701         (grep-find-ignored-files): New option.
19702         (grep-files-history): Set to nil by default instead of '("ch" "el").
19703         (grep-compute-defaults): Add "<X>" to `grep-template'.
19704         (grep-read-files): Bind new local variables `default-alias' and
19705         `default-extension'.  Use a list of default values for the file prompt.
19706         (lgrep): Add `--exclude=' command line options composed from
19707         `grep-find-ignored-files'.
19708         (rgrep): Add `-name' command line options composed from
19709         `grep-find-ignored-files'.  (Bug#4301)
19711 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19713         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19714         (bug#4368).
19716 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
19718         * calendar/time-date.el (autoload):
19719         Expand define-obsolete-function-alias into defalias and make-obsolete
19720         for old Emacsen that Gnus supports.
19721         (with-no-warnings): Define it for old Emacsen.
19722         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19723         is available.
19724         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19725         float-time is available; suppress compile warning for time-to-seconds.
19727 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
19729         * net/imap.el (imap-message-map): Docstring fix.
19731 2009-09-09  Glenn Morris  <rgm@gnu.org>
19733         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19734         line numbers too.  (Bug#4374)
19736 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19738         * smerge-mode.el (smerge-remove-props, smerge-refine):
19739         Use with-silent-modifications (bug#4342).
19741         * subr.el (with-silent-modifications): New macro.
19743 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
19745         * files.el (top-level): Require `cl' when compiling.
19747 2009-09-07  Glenn Morris  <rgm@gnu.org>
19749         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19751         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19752         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
19754 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
19756         * vc-git.el (vc-git-annotate-command): Use separator to parse
19757         arguments correctly.
19759 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
19761         * proced.el (proced-mode): Doc fix.
19763 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
19765         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19766         lstat fails.
19767         (tramp-do-file-attributes-with-ls): Check for file existence at
19768         remote end.
19769         (tramp-do-file-attributes-with-stat): Likewise.
19770         (tramp-convert-file-attributes): Return nil when attr is nil.
19772 2009-09-05  Glenn Morris  <rgm@gnu.org>
19774         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19775         properties to this button.
19776         (diary-fancy-display): Don't extend the button to the final newline.
19777         (diary-fancy-display-mode): Continue to define "q" as a local key.
19779         * calendar/cal-china.el (holiday-chinese): Make it slightly more
19780         efficient.
19782         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19784         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19785         (byte-compile-dest-file-function): New option.
19786         (byte-compile-dest-file): Doc fix.
19787         Obey byte-compile-dest-file-function.
19788         (byte-compile-cl-file-p): New function.
19789         (byte-compile-eval): Only suppress noruntime warnings about cl functions
19790         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
19791         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19792         than for file being previously loaded.
19793         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19794         (byte-compile-file-form-require): Handle the case where requiring a file
19795         indirectly causes CL to be loaded.
19797 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19799         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19800         before killing the old buffer, since by the time `kill-buffer' is
19801         run so many buffer variables have been set to nil that it may not
19802         behave as expected.  (Bug#4061)
19804 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19806         * files.el (find-alternate-file): If the old buffer is modified
19807         and visiting a file, behave similarly to `kill-buffer' when
19808         killing it, thus reverting to the pre-1.878 behavior; see
19809         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19810         for discussion.  Also, consult `buffer-file-name' as a variable
19811         not as a function, for consistency with the rest of the code.
19813 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
19815         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19816         also when adding a new directory.
19818         * net/tramp-compat.el (tramp-compat-line-beginning-position):
19819         New defun.
19821 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19823         * files.el (locate-file-completion-table): Make it provide boundary
19824         information, so partial-completion works better.
19826 2009-09-04  Leo Liu  <sdl.web@gmail.com>  (tiny change)
19828         * mail/footnote.el (Footnote-text-under-cursor):
19829         Check footnote-text-marker-alist before using it (bug#4324).
19831 2009-09-04  Glenn Morris  <rgm@gnu.org>
19833         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19834         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19835         * play/solitaire.el, play/tetris.el:
19836         Remove leading * from defcustom and defface docs.
19838         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19839         necessary.
19840         (diary-fancy-overriding-map): New variable.
19841         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19842         Use view-mode.
19844         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19845         goto-line.
19847 2009-09-03  Glenn Morris  <rgm@gnu.org>
19849         * arc-mode.el (archive-mode):
19850         * dos-fns.el (set-default-process-coding-system):
19851         * man.el (Man-getpage-in-background):
19852         * menu-bar.el (menu-bar-describe-menu):
19853         * server.el (server-process-filter):
19854         * startup.el (command-line):
19855         * tar-mode.el (tar-header-block-tokenize, tar-extract):
19856         * w32-fns.el (set-default-process-coding-system):
19857         * x-dnd.el (x-dnd-handle-file-name):
19858         * international/mule-cmds.el (mule-menu-keymap)
19859         (set-default-coding-systems, language-info-alist, set-language-info)
19860         (set-language-environment, standard-display-european-internal)
19861         (set-locale-environment):
19862         * international/mule-diag.el (mule-diag):
19863         * mail/emacsbug.el (report-emacs-bug):
19864         * mail/rmail.el (rmail-mode):
19865         * mail/sendmail.el (mail-setup):
19866         Use default-value rather than default-enable-multibyte-characters.
19868         * progmodes/f90.el: Move all safe properties into the defcustoms.
19869         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19871         * calendar/appt.el (appt-check):
19872         * calendar/diary-lib.el (diary-set-header, diary-live-p)
19873         (diary-check-diary-file, diary-list-entries)
19874         (diary-include-other-diary-files, diary-simple-display)
19875         (diary-fancy-display, diary-print-entries)
19876         (diary-mark-included-diary-files, diary-make-entry):
19877         Don't call substitute-in-file-name on diary-file.
19879 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
19880             Stefan Monnier  <monnier@iro.umontreal.ca>
19882         * mail/footnote.el (footnote-prefix): Make it a defcustom.
19883         (footnote-mode-map): Move initialization into the declaration.
19884         (footnote-minor-mode-map): Define it rather than changing global-map.
19885         (footnote-mode): Use define-minor-mode.
19887 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
19889         * net/tramp.el (tramp-handle-file-attributes-with-ls)
19890         (tramp-do-file-attributes-with-perl)
19891         (tramp-do-file-attributes-with-stat): Rename from
19892         `tramp-handle-file-attributes-with-*'.
19893         (tramp-handle-file-attributes): Use them.
19894         (tramp-do-directory-files-and-attributes-with-perl)
19895         (tramp-do-directory-files-and-attributes-with-stat): Rename from
19896         `tramp-handle-directory-files-and-attributes-with-*'.
19897         (tramp-handle-directory-files-and-attributes): Use them.
19898         (tramp-method-out-of-band-p): Additional parameter SIZE.
19899         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19900         (tramp-handle-write-region): Use it.
19901         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19902         (tramp-handle-vc-registered): Check, whether the first run did
19903         return files to be tested.
19904         (tramp-advice-make-auto-save-file-name): Do not call directly
19905         `tramp-handle-make-auto-save-file-name', because this would bypass
19906         the locking mechanism.
19908         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19909         (file-remote-p, process-file, start-file-process, set-file-times)
19910         (tramp-compat-file-attributes): Compatibility functions shall not
19911         call directly `tramp-handle-*', because this would bypass the
19912         locking mechanism.
19913         (tramp-compat-number-sequence): New defun.
19915 2009-09-02  Glenn Morris  <rgm@gnu.org>
19917         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19918         alias for float-time.
19919         (time-to-number-of-days): In Emacs, use float-time.
19920         * net/newst-backend.el (time-add): Suppress warnings from compat
19921         function.
19922         * time.el (emacs-uptime, emacs-init-time):
19923         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19924         Use float-time rather than time-to-seconds.
19926         * minibuffer.el (completion-initials-expand): Fix typo.
19928         * faces.el (modeline, modeline-inactive, modeline-highlight)
19929         (modeline-buffer-id):
19930         * info.el (info-menu-5): Mark these face aliases as obsolete.
19932 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19934         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19935         space ...
19936         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19937         no "--thread" option.
19938         (gdb-stopped): Don't print "Switched to thread" message when it is
19939         unchanged.
19941 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19943         * minibuffer.el (completion-try-completion)
19944         (completion-all-completions): Remove ill-defined (and
19945         mistakenly installed and luckily never used nor documented)
19946         `completion-styles' property.
19947         (completion-initials-expand, completion-initials-all-completions)
19948         (completion-initials-try-completion): New functions.
19949         (completion-styles-alist): Add doc to each entry.
19950         Add new `initials' entry.
19952 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19954         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19955         MI command -var-evaluate-expression.
19956         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19957         and tweak for case of string child.
19958         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19960 2009-09-01  Glenn Morris  <rgm@gnu.org>
19962         * add-log.el (change-log-date-face, change-log-name-face)
19963         (change-log-email-face, change-log-file-face, change-log-list-face)
19964         (change-log-conditionals-face, change-log-function-face)
19965         (change-log-acknowledgement-face):
19966         * cus-edit.el (custom-invalid-face, custom-rogue-face)
19967         (custom-modified-face, custom-set-face, custom-changed-face)
19968         (custom-saved-face, custom-button-face, custom-button-pressed-face)
19969         (custom-documentation-face, custom-state-face, custom-comment-face)
19970         (custom-comment-tag-face, custom-variable-tag-face)
19971         (custom-variable-button-face, custom-face-tag-face)
19972         (custom-group-tag-face-1, custom-group-tag-face):
19973         * diff-mode.el (diff-header-face, diff-file-header-face)
19974         (diff-index-face, diff-hunk-header-face, diff-removed-face)
19975         (diff-added-face, diff-changed-face, diff-function-face)
19976         (diff-context-face, diff-nonexistent-face):
19977         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19978         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19979         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19980         (Info-title-4-face):
19981         * isearch.el (isearch-lazy-highlight-face):
19982         * log-view.el (log-view-file-face, log-view-message-face):
19983         * paren.el (show-paren-match-face, show-paren-mismatch-face):
19984         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19985         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19986         (cvs-msg-face):
19987         * smerge-mode.el (smerge-mine-face, smerge-other-face)
19988         (smerge-base-face, smerge-markers-face):
19989         * wid-edit.el (widget-documentation-face, widget-button-face)
19990         (widget-field-face, widget-single-line-field-face)
19991         (widget-inactive-face, widget-button-pressed-face):
19992         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19993         (woman-addition-face):
19994         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19995         (eshell-ls-executable-face, eshell-ls-readonly-face)
19996         (eshell-ls-unreadable-face, eshell-ls-special-face)
19997         (eshell-ls-missing-face, eshell-ls-archive-face)
19998         (eshell-ls-backup-face, eshell-ls-product-face)
19999         (eshell-ls-clutter-face):
20000         * eshell/em-prompt.el (eshell-prompt-face):
20001         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20002         * obsolete/old-whitespace.el (whitespace-highlight-face):
20003         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20004         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20005         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20006         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20007         (antlr-font-lock-literal-face):
20008         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20009         (ebrowse-root-class-face, ebrowse-file-name-face)
20010         (ebrowse-default-face, ebrowse-member-attribute-face)
20011         (ebrowse-member-class-face, ebrowse-progress-face):
20012         * progmodes/make-mode.el (makefile-space-face):
20013         * progmodes/sh-script.el (sh-heredoc-face):
20014         * textmodes/flyspell.el (flyspell-incorrect-face)
20015         (flyspell-duplicate-face):
20016         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20017         * textmodes/texinfo.el (texinfo-heading-face):
20018         Mark face aliases with "-face" suffix as obsolete.
20020         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20021         compiler.
20023         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20024         (eudc-bob-sound-menu): Use defvar rather than defconst, since
20025         easy-menu-define wants to modify these.
20027         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20029         * net/browse-url.el (browse-url-file-url):
20030         * term/internal.el (dos-codepage-setup):
20031         Use default-value rather than default-enable-multibyte-characters.
20033         * progmodes/etags.el (etags-goto-tag-location):
20034         * progmodes/flymake.el (flymake-highlight-line)
20035         (flymake-goto-file-and-line, flymake-goto-line):
20036         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20037         (gdb-goto-breakpoint):
20038         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20039         * progmodes/python.el (python-find-function)
20040         (python-pdbtrack-track-stack-file):
20041         * progmodes/verilog-mode.el (verilog-surelint-off):
20042         * term/ns-win.el (ns-open-file-select-line):
20043         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20044         Use forward-line rather than goto-line.
20046         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20047         * textmodes/reftex-index.el (reftex-display-index):
20048         * textmodes/reftex-ref.el (reftex-offer-label-menu):
20049         * textmodes/reftex-toc.el (reftex-toc):
20050         Remove unnecessary bindings of default-major-mode (all are followed by
20051         major-mode check and possible mode switch).
20053 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20055         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20056         Handle watchpoints (bug#4282).
20057         (def-gdb-thread-buffer-command): Enable thread to be selected by
20058         clicking without selecting threads buffer first.
20059         (gdb-current-context-command): Use selected frame so that "up",
20060         "down" etc work in the GUD buffer.
20061         (gdb-update): Find selected frame before rendering stack buffer.
20062         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20064 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20066         * progmodes/sym-comp.el (displayed-completions): Remove.
20067         (symbol-complete): Use minibuffer-complete.
20069 2009-08-31  Glenn Morris  <rgm@gnu.org>
20071         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20073         * apropos.el (apropos-symbols-internal):
20074         Handle (obsolete) face aliases.
20076         * faces.el (describe-face): Adjust the output format to be more like
20077         describe-variable, and to mention (obsolete) face aliases.
20078         Adjust the whitespace so that help-setup-xref works.
20080         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20081         * calendar/diary-lib.el (diary-button-face):
20082         Mark these face aliases as obsolete.
20084         * calendar/calendar.el (calendar-today): Doc fix.
20086 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20088         * progmodes/gdb-mi.el (gdb-control-all-threads)
20089         (gdb-control-current-thread): Force tool bar update.
20090         (gdb-non-stop-handler): New function.
20091         (gdb-init-1): Use it to test if non-stop mode is supported.
20092         Remove unused gdbmi buffer type.
20094 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
20096         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20097         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
20099 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
20101         * comint.el (comint-exec-1): Check command is non-null first.
20102         Part of gdb-mi.el change (2009-08-28).
20104 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20106         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20108 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
20110         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20111         instead of `dolist' to avoid a recursive require when bootstrapping.
20113 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20115         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20117         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20119         * net/imap.el (imap-send-command): Simplify.
20120         (imap-wait-for-tag): point-max -> buffer-size.
20122         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20124         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20125         with constant argument.
20127         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20129         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20131         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20132         Change default, since most of our files don't have a history.
20133         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20134         the user.
20136         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20137         Add comint-run.
20139         * calc/calc.el: Improve commenting convention.
20140         (calc-digit-map, toplevel): Simplify.
20142         * comint.el (comint-insert-input): Be careful to only set point if we
20143         don't delegate to some other command.
20145         * proced.el (proced-signal-list): Make it an alist.
20146         (proced-grammar-alist): Capitalize names.
20147         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20148         Disable undo manually and make it read-only.
20149         Use completion-annotate-function.
20151         * minibuffer.el (minibuffer-message): If the current buffer is not
20152         a minibuffer, insert the message in the echo area rather than at the
20153         end of the buffer.
20154         (completion-annotate-function): New variable.
20155         (minibuffer-completion-help): Use it.
20156         (completion--embedded-envvar-table): Environment vars are
20157         always case-sensitive.
20159 2009-08-30  Glenn Morris  <rgm@gnu.org>
20161         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20162         from fortran-current-defun.
20163         (fortran-beginning-of-subprogram): Be more precise about finding the
20164         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
20165         (fortran-end-of-subprogram): Simplify.
20166         (fortran-current-defun): Use fortran-start-prog-re.
20168 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
20170         * subr.el (do-after-load-evaluation): Simplify.
20172 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
20174         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20176         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
20177         (vc-rcs-print-log): Use it.
20179         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20181 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20183         * paths.el (abbrev-file-name): Move to abbrev.el.
20184         * abbrev.el (abbrev-file-name): Move from paths.el.
20185         Obey user-emacs-directory.
20186         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20187         user-emacs-directory.
20188         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20189         abbrev-file-name and calc-settings-file any more.
20190         * startup.el (command-line): Recompute abbrev-file-name and
20191         abbreviated-home-dir.
20192         (normal-no-mouse-startup-screen): Improve the generic code and get rid
20193         of the special code for when C-h bindings haven't been changed.
20194         (display-startup-echo-area-message): Use with-current-buffer.
20195         (command-line-1): Use a list of strings, rather than a list of lists
20196         of strings for longopts.
20198         * files.el (get-free-disk-space): Use / for default-directory.
20200         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20201         Use with-current-buffer.
20203         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20204         Recognize immutable variables like most-positive-fixnum.
20205         (byte-compile-setq-default): Check and warn if trying to assign
20206         to an immutable variable, or a non-variable.
20208         * progmodes/cc-vars.el (c-comment-continuation-stars):
20209         * progmodes/cc-engine.el (c-looking-at-bos):
20210         * progmodes/cc-cmds.el (c-toggle-auto-state)
20211         (c-forward-into-nomenclature, c-backward-into-nomenclature)
20212         (c-comment-line-break-function): Add version of obsolescence.
20214 2009-08-28  Juri Linkov  <juri@jurta.org>
20216         * files.el (magic-fallback-mode-alist): Add ZIP magic number
20217         associated with `archive-mode'.
20219         * image.el (image-type-header-regexps): Use only JPEG magic number
20220         to determine JPEG images, and don't use `image-jpeg-p' because
20221         Emacs can display non-JFIF non-Exif JPEG images.
20223 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20225         * arc-mode.el (archive-mode):
20226         * emacs-lisp/re-builder.el (re-builder-unload-function):
20227         Protect against the default value of `major-mode' being nil.
20229 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20231         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20232         Fix typos in docstrings.
20234         * progmodes/js.el (js--macro-decl-re): Doc fix.
20235         (js--plain-method-re, js--split-name): Refloc docstring.
20236         (js--class-styles, js--make-merged-item, js--splice-into-items):
20237         Fix typos in docstrings; reflow docstrings.
20238         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20239         (js--variable-decl-matcher, js--inside-pitem-p)
20240         (js--parse-state-at-point, js--get-all-known-symbols)
20241         (js--symbol-history, js-find-symbol, js--js-references)
20242         (js--moz-interactor, js--js-encode-value, js--read-tab):
20243         Fix typos in docstrings.
20245 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20247         * textmodes/reftex.el (reftex-get-file-buffer-force):
20248         * progmodes/verilog-mode.el (verilog-batch-execute-func):
20249         * emulation/viper.el (viper-go-away, viper-set-hooks):
20250         * emacs-lisp/re-builder.el (re-builder-unload-function):
20251         * emacs-lisp/bytecomp.el (byte-compile-file):
20252         * ses.el (ses-unload-function):
20253         * hexl.el (hexl-find-file):
20254         * files.el (normal-mode):
20255         * ehelp.el (with-electric-help):
20256         * autoinsert.el (auto-insert-alist):
20257         * arc-mode.el (archive-mode):
20258         Use (default-value 'major-mode) instead of default-major-mode.
20260         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20261         * international/mule.el (load-with-code-conversion):
20262         * emacs-lisp/debug.el (debug):
20263         * ediff-vers.el (ediff-rcs-get-output-buffer):
20264         * dired.el (dired-internal-noselect): Don't let-bind
20265         default-major-mode around code that doesn't use it.
20266         E.g. buffer creation via get-buffer-create doesn't use it.
20268 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
20270         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20271         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20272         when writing the temp file.  Otherwise, epa-file gets confused.
20273         (tramp-register-file-name-handlers): Make it a defun.  Move also
20274         `epa-file-handler' to the front of `file-name-handler-alist'.
20276 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20278         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20279         start right after a ^M.
20280         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20281         (tramp-completion-file-name-regexp-separate)
20282         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20283         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20284         Don't modify last-coding-system-used by accident.
20285         (tramp-completion-file-name-handler): Apply the checks here,
20286         instead during registration.
20287         (tramp-register-file-name-handlers): Rename from
20288         `tramp-register-file-name-handler'.  Register both
20289         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20290         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
20292 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
20294         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20295         Remove variable ...
20296         (gdb-init-1, gdb-display-separate-io-buffer)
20297         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20298         references to it.
20299         (gdb-inferior-io-mode): Use make-comint-in-buffer.
20300         (gdb-inferior-filter): Use comint-output-filter to stop
20301         echoing and remove ^M characters.
20303 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20305         * emulation/viper-init.el (viper-restore-cursor-type):
20306         * emulation/cua-base.el (cua--update-indications):
20307         Replace default-cursor-type with (default-value 'cursor-type).
20309         * mail/sendmail.el (mail-recover-1):
20310         * international/mule-diag.el (describe-current-coding-system-briefly)
20311         (describe-current-coding-system):
20312         * international/mule-cmds.el (select-safe-coding-system)
20313         (select-message-coding-system)
20314         (set-language-environment-coding-systems, set-locale-environment):
20315         * hexl.el (hexl-insert-multibyte-char):
20316         * dos-w32.el (find-buffer-file-type-coding-system):
20317         * simple.el (what-cursor-position):
20318         Replace uses of default-buffer-file-coding-system
20319         with (default-value 'buffer-file-coding-system).
20321         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20322         Replace uses of default-cursor-in-non-selected-windows
20323         with (default-value 'cursor-in-non-selected-windows).
20324         Use with-current-buffer.
20326         * mail/feedmail.el: Use CL macros.
20327         (feedmail-run-the-queue, feedmail-send-it-immediately):
20328         * dos-w32.el (find-buffer-file-type): Replace uses of
20329         default-buffer-file-type with (default-value 'buffer-file-type).
20331 2009-08-28  Glenn Morris  <rgm@gnu.org>
20333         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20334         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20335         Use default-value of major-mode rather than default-major-mode.
20337 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20339         * Makefile.in (update-elcfiles): Report left over elc files.
20341         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20342         expand-file-name and with-current-buffer.
20343         (mail-get-names, mail-directory): Use with-current-buffer.
20345         * vc.el (vc-read-revision): New function.
20346         (vc-version-diff, vc-merge): Use it.
20348 2009-08-27  Sam Steingold  <sds@gnu.org>
20350         * simple.el (kill-do-not-save-duplicates): New user option.
20351         (kill-new): When it is non-nil, and the new string is the same as
20352         the latest kill, set replace to t to avoid duplicates in kill-ring.
20354 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
20356         * net/tramp.el (tramp-handle-process-file): Do not flush all
20357         caches when `process-file-side-effects' is set.
20358         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20359         instead of `tramp-find-file-exists-command'.
20360         Unset `process-file-side-effects'.
20362 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
20364         * net/tramp.el (tramp-methods): New method "rsyncc".
20365         (top): Add completion function for "rsyncc".
20366         (tramp-message-show-message): New defvar.
20367         (tramp-message, tramp-error): Use it.
20368         (tramp-do-copy-or-rename-file-directly): Extend check for direct
20369         remote copying.
20370         (tramp-do-copy-or-rename-file-out-of-band): Handle new
20371         `tramp-methods' entry `copy-env' of "rsyncc".
20372         (tramp-vc-registered-read-file-names): New defconst.
20373         (tramp-vc-registered-file-names): New defvar.
20374         (tramp-handle-vc-registered): Implement optimization strategy.
20375         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20376         (tramp-vc-file-name-handler): New defun.
20377         (tramp-get-ls-command, tramp-get-test-command)
20378         (tramp-get-file-exists-command, tramp-get-remote-ln)
20379         (tramp-get-remote-perl, tramp-get-remote-stat)
20380         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20382         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20383         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
20384         timestamps.
20385         (tramp-get-file-property): Check for timestamps in
20386         `tramp-cache-inhibit-cache'.
20387         (tramp-set-file-property): Write timestamp.
20389 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20391         * language/japan-util.el (japanese-symbol-table): Add entries for
20392         cp932-2-byte.
20394         * international/characters.el: Add category `j' to cp932-2-byte.
20396 2009-08-27  Kenichi Handa  <handa@m17n.org>
20398         * international/fontset.el (build-default-fontset-data): New macro.
20399         (setup-default-fontset): Use build-default-fontset-data for CJK,
20400         tibetan, ethiopic, and ipa.
20402 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20404         * cus-start.el (default-major-mode): Customize `major-mode' instead.
20405         (enable-multibyte-characters): Not customizable any more.
20407         * subr.el (default-mode-line-format, default-header-line-format)
20408         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20409         (default-direction-reversed, default-truncate-lines)
20410         (default-left-margin, default-tab-width, default-case-fold-search)
20411         (default-left-margin-width, default-right-margin-width)
20412         (default-left-fringe-width, default-right-fringe-width)
20413         (default-fringes-outside-margins, default-scroll-bar-width)
20414         (default-vertical-scroll-bar, default-indicate-empty-lines)
20415         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20416         (default-fringe-cursor-alist, default-scroll-up-aggressively)
20417         (default-scroll-down-aggressively, default-fill-column)
20418         (default-cursor-type, default-buffer-file-type)
20419         (default-cursor-in-non-selected-windows)
20420         (default-buffer-file-coding-system, default-major-mode)
20421         (default-enable-multibyte-characters): Mark as obsolete.
20423 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
20425         * vc-dir.el (vc-dir-update): Remove debug helper.
20427         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20429 2009-08-26  Sam Steingold  <sds@gnu.org>
20431         * simple.el (save-interprogram-paste-before-kill): New user option.
20432         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20433         save the interprogram-paste into kill-ring before overriding it
20434         with the Emacs kill.
20436 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20438         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20439         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20440         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20441         and move to vc-rcs.el.
20442         (vc-default-next-revision): Rename to vc-rcs-next-revision and
20443         move to vc-rcs.el.
20444         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20445         (vc-rcs-update-changelog): Remove.
20446         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20447         and move to vc-rcs.el.
20449         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20450         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20451         renaming.
20452         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20453         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20454         vc.el, renamed to be RCS specific.
20456         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20457         New functions.
20458         (vc-cvs-update-changelog): Move here from vc.el.
20460         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20461         New functions.
20463 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20465         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20467 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20469         * vc-git.el (vc-git-register): Use "git add" for directories.
20470         (vc-git-stash, vc-git-stash-show): New functions.
20471         (vc-git-extra-menu-map): Bind them.
20473         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20474         directory correctly in case the item is a directory itself.
20476         * vc.el: Document the desired behavior for reverted files in the
20477         `added' state.
20478         (vc-default-prettify-state-info): Remove function, unused.
20480         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20482 2009-08-26  Glenn Morris  <rgm@gnu.org>
20484         * bindings.el (standard-mode-line-format): Reposition dashes in
20485         which-func entry.  (Bug#4217)
20487         * files.el (enable-local-variables, enable-local-eval)
20488         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20489         the defcustoms.
20490         (auto-mode-alist, ignored-local-variables)
20491         (save-some-buffers-action-alist): Move risky declarations to the
20492         definitions.
20493         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20494         (font-lock-defaults, format-alist, imenu--index-alist)
20495         (imenu-generic-expression, input-method-alist, minor-mode-alist)
20496         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20497         (mode-line-modified, mode-line-mule-info, mode-line-position)
20498         (mode-line-process, mode-line-remote, outline-level)
20499         (parse-time-rules, rmail-output-file-alist)
20500         (special-display-buffer-names, vc-mode):
20501         Move risky declarations to the relevant files.
20502         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20503         (mode-line-modified, mode-line-process, mode-line-position)
20504         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20505         * font-core.el (font-lock-defaults):
20506         * format.el (format-alist):
20507         * vc-hooks.el (vc-mode):
20508         * window.el (special-display-buffer-names):
20509         * international/mule-cmds.el (input-method-alist):
20510         Define riskiness here (dumped file) rather than in files.el.
20511         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20512         * imenu.el (imenu-generic-expression, imenu--index-alist):
20513         * outline.el (outline-level):
20514         * time.el (display-time-string):
20515         * calendar/parse-time.el (parse-time-rules):
20516         * mail/rmailout.el (rmail-output-file-alist):
20517         Autoload riskiness here, rather than placing in files.el.
20519 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
20521         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20523 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
20525         * simple.el (process-file-side-effects): New defvar.
20527         * dired-aux.el (dired-show-file-type):
20528         * vc.el (vc-diff-internal):
20529         * vc-arch.el (vc-arch-diff):
20530         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20531         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20532         * vc-git.el (vc-git-registered, vc-git-working-revision)
20533         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20534         (vc-git--empty-db-p):
20535         * vc-hooks.el (vc-user-login-name):
20536         * vc-svn.el (vc-svn-registered, vc-svn-state)
20537         (vc-svn-dir-extra-headers, vc-svn-find-revision):
20538         * progmodes/grep.el (grep-probe): Let-bind
20539         `process-file-side-effects' with nil.
20541         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20543         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20544         daemon.  Replace ping by checking for running service for bluez
20545         and zeroconf.  (Bug#4239)
20547 2009-08-25  Kevin Ryde  <user42@zip.com.au>
20549         * net/dig.el (dig): Add autoload cookie.
20551 2009-08-25  Glenn Morris  <rgm@gnu.org>
20553         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20554         load-history for absolute file-names.
20555         (byte-compile-file-form-require): Warn about use of the cl package.
20557         * format.el (format-alist): Doc fix.
20559         * play/bubbles.el (top-level): Don't require cl at run-time.
20561         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20562         run-time cl).
20564 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
20566         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20567         from cl package.
20568         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20570 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
20572         * calc/calc-alg.el (math-trig-rewrite)
20573         (math-hyperbolic-trig-rewrite): New functions.
20574         (calc-simplify): Simplify trig functions when asked.
20576 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20578         * diff-mode.el (diff-find-source-location): Avoid goto-line.
20580 2009-08-24  Kenichi Handa  <handa@m17n.org>
20582         * language/ind-util.el (mapthread): Delete it.
20583         (combinatorial): New function.
20584         (indian--puthash-cv): Use combinatorial instead of mapthread.
20586 2009-08-22  Kevin Ryde  <user42@zip.com.au>
20588         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20589         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20590         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20591         Clarify docstring that the value is strings not symbols.
20592         (checkdoc-list-of-strings-p): New function.
20594 2009-08-22  Glenn Morris  <rgm@gnu.org>
20596         * files.el (auto-mode-alist):
20597         * hippie-exp.el (he-concat-directory-file-name):
20598         * lpr.el (lpr-windows-system, printer-name):
20599         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20600         * ps-print.el (ps-windows-system):
20601         * startup.el (command-line):
20602         * emulation/viper-ex.el (viper-glob-function):
20603         * international/mule-cmds.el (set-language-environment-coding-systems):
20604         * net/ange-ftp.el (ange-ftp-write-region):
20605         * obsolete/fast-lock.el (fast-lock-cache-name):
20606         Remove code for defunct system-types emx, macos, mswindows, next-mach,
20607         unisoft-unix, vax-vms, win32, w32.
20609         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20610         given name if the pattern is not more specific.
20612         * calendar/lunar.el (lunar-phase-names): New option.
20613         (lunar-phase): Doc fix.
20614         (lunar-cycles-per-year): New constant.
20615         (lunar-index): New function.
20616         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20617         (lunar-phase-name): Use lunar-phase-names.
20618         (calendar-lunar-phases): Use format.
20619         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20621         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20622         Copy imenu-example--name-and-position function here for own use.
20623         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20625         * bs.el (bs--redisplay):
20626         * cus-edit.el (custom-redraw):
20627         * ibuffer.el (ibuffer-bury-buffer):
20628         * server.el (server-goto-line-column):
20629         * startup.el (command-line-1):
20630         * strokes.el (strokes-xpm-for-stroke):
20631         * term.el (term-display-buffer-line):
20632         * view.el (View-goto-line):
20633         * calc/calc.el (calc-do, calc-trail-buffer):
20634         * play/gamegrid.el (gamegrid-add-score-insecure):
20635         * progmodes/ada-mode.el (ada-compile-goto-error):
20636         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20637         (ebrowse-select-1st-to-9nth):
20638         * progmodes/cperl-mode.el (cperl-time-fontification):
20639         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20640         * progmodes/gud.el (gud-display-line):
20641         (idlwave-shell-display-line):
20642         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20643         * progmodes/make-mode.el (makefile-browser-toggle):
20644         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20645         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20646         * textmodes/picture.el (picture-draw-rectangle):
20647         * textmodes/reftex-index.el (reftex-index-goto-letter):
20648         (reftex-select-jump-to-previous):
20649         * textmodes/reftex-sel.el (reftex-find-start-point)
20650         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20651         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20652         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20653         * textmodes/tex-mode.el (tex-compilation-parse-errors):
20654         * textmodes/two-column.el (2C-associated-buffer):
20655         Use forward-line rather than goto-line.
20657         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20658         goto-line.
20660         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20661         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20662         (quick-check-list-to-regexp): Declare.
20664         * progmodes/make-mode.el (makefile-browser-insert-selection):
20665         Use goto-char rather than goto-line.
20667         * progmodes/prolog.el (compilation-error-regexp-alist)
20668         (compilation-forget-errors): Declare.
20670 2009-08-22  Juri Linkov  <juri@jurta.org>
20672         * progmodes/grep.el (lgrep, rgrep): At the beginning
20673         set `dir' to `default-directory' unless `dir' is a non-nil
20674         readable directory.  (Bug#4052)
20675         (lgrep, rgrep): Change a weird way to report an error
20676         from using `read-string' to using `error'.
20677         Instead of using interactive arguments in the function body,
20678         add new argument `confirm'.
20680 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20682         * textmodes/remember.el (remember-buffer):
20683         * progmodes/cperl-mode.el (cperl-vc-header-alist):
20684         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20685         (icalendar-extract-ical-from-buffer):
20686         * net/newst-treeview.el (newsticker-groups-filename):
20687         * net/newst-backend.el (newsticker-cache-filename):
20688         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20689         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20690         (speedbar-add-ignored-path-regexp, speedbar-line-path)
20691         (speedbar-buffers-line-path, speedbar-path-line)
20692         (speedbar-buffers-line-path):
20693         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20694         (epg-sign-keys):
20695         * epa.el (epa-display-verify-result):
20696         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20698 2009-08-21  Glenn Morris  <rgm@gnu.org>
20700         * progmodes/js.el (inferior-moz-process): Fix declaration.
20702         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20704         * obsolete/rnewspost.el (news-mail-reply):
20705         Use goto-char rather than goto-line.
20707         * term/ns-win.el (ns-open-file-select-line):
20708         Use line-beginning-position rather than goto-line.
20710         * apropos.el (apropos-command):
20711         * ehelp.el (electric-helpify):
20712         * printing.el (pr-show-setup):
20713         * strokes.el (strokes-help):
20714         * tutorial.el (tutorial--describe-nonstandard-key)
20715         (tutorial--detailed-help):
20716         * woman.el (woman-mini-help, woman-display-extended-fonts):
20717         * calc/calc-help.el (calc-describe-key):
20718         * emulation/edt.el (edt-electric-helpify):
20719         * international/mule-diag.el (mule-diag):
20720         * play/yow.el (apropos-zippy):
20721         * progmodes/python.el (python-describe-symbol):
20722         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20723         * textmodes/table.el (*table--cell-describe-mode)
20724         (*table--cell-describe-bindings):
20725         Use help-print-return-message rather than the now obsolete alias.
20727         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20728         (calendar-cursor-to-visible-date):
20729         * play/5x5.el (5x5-position-cursor):
20730         * play/decipher.el (decipher):
20731         * play/gomoku.el (gomoku-goto-xy):
20732         * play/landmark.el (lm-goto-xy):
20733         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20734         (mpuz-paint-digit):
20735         Use forward-line, not goto-line.
20737         * mail/rmail.el (rmail-obsolete): Delete custom group.
20738         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20739         (rmail-remote-password, rmail-remote-password-required):
20740         Remove unneeded :set-after and :set properties.
20742 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
20744         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20746 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
20748         * loadup.el: Remove leftover macos code.
20750         * vc-git.el (vc-git-annotate-command): Run asynchronously.
20751         Explicitly pass the date format to git blame so that user local
20752         so that the output format can be parsed.
20754 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
20756         * net/dbus.el (top): Don't check for (getenv
20757         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
20759 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
20761         * log-edit.el (log-edit-strip-single-file-name): New var.
20762         (log-edit-insert-changelog): Use it.  Bug#3571.
20764 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20766         * subr.el (read-passwd): Use read-key so keypad keys work as well.
20767         Bug#3287.
20769         * help.el (help-print-return-message): Rename from
20770         print-help-return-message.
20772         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20773         cvs-mode-map parent hack.
20774         (log-view-mode): Derive from special-mode.
20776         * linum.el (linum-mode): window-size-change-functions is redundant.
20777         Adapt to new window-configuration-change-hook behavior.
20778         (linum-after-size, linum-after-config): Remove.
20780         * imenu.el (imenu-example--name-and-position)
20781         (imenu-example--lisp-extract-index-name)
20782         (imenu-example--create-lisp-index, imenu-example--create-c-index):
20783         Mark as obsolete.
20785         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20786         (inferior-prolog-mode): Use it.
20787         (inferior-prolog-load-file): Reset list of errors.
20789 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20791         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20793         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20795 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
20797         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20798         is running already.
20800 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20802         * subr.el (listify-key-sequence-1): Use normal syntax since those
20803         integers are nowadays always represented by the same (positive) number
20804         on all platforms.
20805         (read-key-empty-map): New const.
20806         (read-key-delay): New var.
20807         (read-key): New function.
20808         (force-mode-line-update): Use with-current-buffer.
20809         (locate-user-emacs-file): Don't forget to abbreviate the file name.
20810         (start-process-shell-command, start-file-process-shell-command):
20811         Discourage the use of command-args.
20813 2009-08-19  Glenn Morris  <rgm@gnu.org>
20815         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20817 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20819         * simple.el (choose-completion-string): Don't rely on
20820         minibuffer-completing-file-name and ad-hoc checks to decide whether
20821         to continue completion or not.
20823         * minibuffer.el (minibuffer-hide-completions): New function.
20824         (completion--do-completion): Use it.
20825         (completions-annotations): New face.
20826         (completion--insert-strings): Use it.
20827         (completion-pcm--delim-wild-regex): Add docstring.
20828         (completion-pcm--string->pattern): Add support for 0-width delimiters
20829         in completion-pcm--delim-wild-regex.
20831 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20833         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20834         Remove unused var `buffer-modified-p'.
20836         * minibuffer.el (completion--do-completion): Move point for the #b001
20837         case as well (bug#4176).
20838         (minibuffer-complete, minibuffer-complete-word): Don't move point.
20840 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
20842         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
20843         and :session buses.
20845 2009-08-18  Kenichi Handa  <handa@m17n.org>
20847         * international/ucs-normalize.el (ucs-normalize-version):
20848         Change to 1.1.
20849         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20850         (utf-8-hfs): Make it perform normalization on encoding too.
20852         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
20853         (sentence-end-without-space): Delete duplicated chars.
20854         (sentence-end-base): Likewise.
20856         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
20857         (html-mode): Delete duplicated chars from sentence-end-base.
20859         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
20860         (texinfo-mode): Delete duplicated chars from sentence-end-base.
20862 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
20864         * files.el (hack-one-local-variable): If the mode function is for
20865         a minor mode, pass it an argument (Bug#4148).
20867 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
20869         * net/tramp.el (tramp-register-completion-file-name-handler):
20870         Check also for (member 'partial-completion completion-styles).
20872 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20874         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20875         abbrev (Bug#3943).
20877 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
20879         * progmodes/cperl-mode.el: Merge upstream 6.2.
20880         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20881         (cperl-forward-re): Check cperl-brace-recursing.
20882         (cperl-highlight-charclass): New function.
20883         (cperl-find-pods-heres): Use it.
20884         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20885         (cperl-beautify-regexp-piece): Fix column calculation.
20886         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20887         (cperl-beautify-level): Don't process entire regexp.
20888         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20889         calling man.
20890         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20891         (cperl-init-faces): Build a list in the normal way.
20893 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20895         * calendar/parse-time.el (parse-time-string-chars): Save match
20896         data.
20898 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20900         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20901         (sql-product): Use it.
20902         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20903         (sql-set-product): Add completion.
20904         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20905         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20906         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20907         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20908         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20909         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20910         (sql-highlight-db2-keywords): Remove.
20911         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20912         (sql-highlight-product): Use derived-mode-p.
20913         (sql-set-sqli-buffer): Use with-current-buffer.
20914         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20915         Simplify.
20917         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20919         * term.el: Fix commenting convention, turn comments into docstrings.
20921 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20923         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20925 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
20927         * calendar/parse-time.el (parse-time-string-chars): Compute using
20928         character classes, to handle non-ascii characters (Bug#3190).
20930 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20932         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20933         another heredoc if the user adds another < (Bug#3226).
20935         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20936         Don't initialize based on window-system (Bug#4124).
20938         * facemenu.el (facemenu-read-color): Use a completion function
20939         that accepts any defined color, such as RGB triplets (Bug#3677).
20941         * files.el (get-free-disk-space): Change fallback default
20942         directory to /.  Expand DIR argument before switching to fallback.
20943         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20945 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20947         * files.el (load-library): Doc fix.
20949 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
20951         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20952         (viper-if-string): Redefine C-s in the minibuffer to insert the last
20953         incremental search string.
20955         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20956         XEmacs.
20958         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20959         (ediff-merge-region-is-non-clash)
20960         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20961         Also check if the job is really a merge job.
20963         * ediff.el (ediff-current-file): New function.
20965 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20967         * progmodes/js.el: Edit docstrings throughout to follow Emacs
20968         conventions.
20969         (js-insert-and-indent): Delete function.
20970         (js-mode-map): Don't bind keys to js-insert-and-indent.
20971         (js-beginning-of-defun): Rename from js--beginning-of-defun.
20972         (js-end-of-defun): Rename from js--end-of-defun.
20973         (js-auto-indent-flag): Delete variable.
20975 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
20977         * progmodes/js.el: Remove proclaim statement.
20978         Defvar which-func-imenu-joiner-function to silence compiler.
20980         * files.el (auto-mode-alist): Use js-mode for .js files.
20982         * progmodes/js2-mode.el: Remove file.
20984         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20986         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20988         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20990 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
20991             Karl Landstrom  <karl.landstrom@brgeight.se>
20993         * progmodes/js.el: New file.
20995 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
20997         * timezone.el (timezone-parse-date): Add ability to understand ISO
20998         basic format (minimal separators) dates in addition to the
20999         already-supported extended format dates.
21001 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
21003         * international/ucs-normalize.el: Add a `coding' file variable.
21005         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21007 2009-08-14  Sam Steingold  <sds@gnu.org>
21009         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21011 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
21013         * faces.el (help-argument-name): Define it here instead of
21014         help-fns.el, because in daemon mode help-fns.el may be loaded when
21015         faces are still uninitialized (Bug#1078).
21017         * help-fns.el (help-argument-name): Move defface to faces.el.
21019 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
21021         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21022         create buffer with a pty but no process so that GDB can make the
21023         inferior the controlling process.
21025 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
21027         * international/ucs-normalize.el: New file.
21029 2009-08-13  Richard Stallman  <rms@gnu.org>
21031         * mail/rmail.el (rmail-get-attr-names):
21032         Accept an attribute header that is too short.
21034         * mail/rmail.el (rmail-forget-messages):
21035         Ignore nil elt in rmail-message-vector.  Use dotimes.
21037         * progmodes/compile.el (compilation-goto-locus):
21038         Use next-error-move-function.
21040         * simple.el (next-error-move-function): New variable.
21042 2009-08-12  Juri Linkov  <juri@jurta.org>
21044         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21045         always non-nil.  (Bug#4052)
21047         * replace.el (read-regexp): Return empty string when
21048         `default-value' is nil.
21049         (keep-lines-read-args): Don't use empty string as the
21050         default value for `read-regexp'.  (Bug#2495)
21052 2009-08-12  Juri Linkov  <juri@jurta.org>
21054         * international/mule-cmds.el (ucs-insert): Change arguments
21055         from `arg' to `character', `count', `inherit' to be the same
21056         as in `insert-char'.  Doc fix.  (Bug#4039)
21058         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21060 2009-08-12  Juri Linkov  <juri@jurta.org>
21062         * files-x.el: New file.
21064         * files.el: Move code that deals with adding/deleting
21065         file/directory-local variables to files-x.el.
21067         * Makefile.in (ELCFILES): Add files-x.elc.
21069 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
21071         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21072         to use `goto-line'.
21073         (gdb-place-breakpoints, gdb-get-location): Rewritten without
21074         `goto-line'.
21075         (gdb-invalidate-disassembly): Do not refresh upon receiving
21076         'update signal.  Instead, update all disassembly buffers only after
21077         threads list.
21078         (gdb): Send -target-detach when buffer is killed (Bug#3794).
21079         (gdb-starting): Move -data-list-register-names...
21080         (gdb-stopped): ...here so it's sent when first thread stops.
21081         (gdb-registers-handler-custom): Do nothing if register names are
21082         unknown yet.
21084         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21085         from `gdb-mi.el' to avoid extra tangling.
21087         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21088         change which breaks `gud-def' definitions used in `gdb'.
21089         (gdb-update-gud-running): No extra fuss for updating frame number.
21091 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
21093         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21094         (describe-language-environment-map, setup-language-environment-map)
21095         (set-coding-system-map): Move initialization into declaration.
21096         (set-language-info-alist): Last arg to define-key-after can be skipped.
21098         * international/quail.el (quail-completion-1): Simplify.
21099         (quail-define-rules): Use slightly more compact code.
21100         (quail-insert-decode-map): Propertize keys, compact columns.
21102         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21103         Add goto-line.
21105 2009-08-10  Miles Bader  <miles@gnu.org>
21107         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21108         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21109         (js2-instance-member, js2-private-member, js2-private-function-call)
21110         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21111         (js2-magic-paren, js2-external-variable):
21112         Remove "-face" suffix from face names.
21113         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21114         (js2-highlight-undeclared-vars, js2-peek-token)
21115         (js2-parse-function-params, js2-mode-show-errors)
21116         (js2-mode-show-warnings, js2-make-magic-delimiter)
21117         (js2-mode-highlight-magic-parens): Update to use new face names.
21119 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
21121         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21122         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
21124 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
21126         * subr.el: Provide hashtable-print-readable.
21128         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21129         hs-c-like-adjust-block-beginning.
21130         (hs-hide-block-at-point): Stop hiding at the beginning of
21131         hs-block-end-regexp (Bug#700).
21133 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
21135         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21136         a macro.
21137         (gdb-registers-handler-custom): Do not fail when register names
21138         are unavailable.
21140 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21142         * progmodes/gdb-mi.el (gdb-control-all-threads)
21143         (gdb-control-current-thread): Interactive setters for
21144         `gdb-gud-control-all-threads' to use in menu.
21145         (gdb-show-run-p): Show «Go» when process is not active.
21146         (gud-tool-bar-map): Add non-stop/A,T indicator.
21147         Uses gud/thread.xpm and gud/all.xpm.
21149 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
21151         * net/net-utils.el (net-utils-font-lock-keywords): New var.
21152         (nslookup-font-lock-keywords): Make it a variable.
21153         (net-utils-mode): New mode for viewing diagnostic network output.
21154         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21155         (net-utils-run-simple): New function.
21156         (ifconfig, iwconfig, netstat, arp, route): Use it.
21158 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21160         * progmodes/gdb-mi.el (gdb-read-memory-custom)
21161         (gdb-memory-set-address, def-gdb-set-positive-number)
21162         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21163         after changing settings.
21164         (gdb-invalidate-disassembly): Update when first shown.
21165         (gdb-edit-locals-value): Fix.
21166         (gdb-registers-handler-custom): Print registers in right order and
21167         allow changing register values (only for current thread yet).
21168         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21169         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21170         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21171         (gdb-locals-handler-custom, gdb-registers-handler-custom):
21172         Thread info in mode name.
21173         (gdb-registers-mode-map): TAB to switch to locals.
21175 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
21177         * mail/rmail.el (rmail-add-mbox-headers)
21178         (rmail-set-message-counters-counter): Search for
21179         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
21181 2009-08-08  Glenn Morris  <rgm@gnu.org>
21183         * Makefile.in (ELCFILES): Update.
21185 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21187         * mail/sendmail.el (mail-yank-original):
21188         Set buffer-file-coding-system from the one used by the message whose
21189         text is yanked.
21191         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21192         to "windows" when "pgnuplot" is used.
21193         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21194         Don't call accept-process-output if "pgnuplot" is used.
21195         (calc-graph-init): Don't send -display and -geometry to
21196         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
21197         running "pgnuplot -V" with shell-command-to-string.
21199         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21200         the default.
21202 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21204         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21205         org/org-latex.elc.
21207 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
21209         * vc-dispatcher.el (vc-resynch-window): Update comment.
21211         * term.el (term-handle-ansi-escape): Add comments with the
21212         terminfo capabilities implemented.
21214 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
21216         * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21217         (gdb-var-create-handler): Rewritten using JSON parser.
21218         (gdb-propertize-header): Move earlier.
21219         (gdb-set-header): Remove to avoid duplication.
21220         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21221         Refresh disassembly buffers only after threads list have been
21222         update.
21223         (gdb-threads-header, gdb-registers-header): Per-buffer header line
21224         variables.
21226 2009-08-04  Juri Linkov  <juri@jurta.org>
21228         * files.el: Commands to add/delete file/directory-local variables.
21229         (read-file-local-variable, read-file-local-variable-value)
21230         (read-file-local-variable-mode, modify-file-local-variable)
21231         (modify-file-local-variable-prop-line)
21232         (modify-dir-local-variable): New functions.
21233         (add-file-local-variable, delete-file-local-variable)
21234         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21235         (add-dir-local-variable, delete-dir-local-variable)
21236         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21237         (copy-dir-locals-to-file-locals-prop-line): New commands.
21239 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
21241         * abbrev.el (insert-abbrev-table-description): Prettify output.
21242         Suggested by Karl Chen.
21244 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
21246         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21247         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21248         (gdb-overlay-arrow-position, gdb-thread-position)
21249         (gdb-disassembly-position): Declare variables.
21250         (gdb-wait-for-pending): Function now.
21251         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21252         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21253         compilation goes smoothly.
21254         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21255         (gdb-non-stop-setting): New customization setting which replaces
21256         `gdb-non-stop' so changing it doesn't break active GDB session.
21257         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21258         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21259         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21260         (gdb-show-threads-by-default): New customization options.
21261         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21262         routines.
21263         (gdb-get-buffer-create): Send buffers update signal when they are
21264         created.
21265         (gdb-invalidate-locals, gdb-invalidate-registers)
21266         (gdb-invalidate-breakpoints)
21267         (gdb-invalidate-threads, gdb-invalidate-disassembly)
21268         (gdb-invalidate-memory): Accept update signal.
21269         (gdb-current-context-command): Use --frame option.
21270         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21271         Implement `gdb-frame-number' selection logic.
21272         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21273         whether to show GUD toolbar buttons.
21274         (gdb-thread-exited): Unselect current thread when it exits.
21275         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21276         (gdb-mark-line): Routine which sets overlay arrow or inverses
21277         video on fringeless displays.
21278         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21279         to build aligned columns of data in GDB buffers and set text
21280         properties line-by-line.
21281         (gdb-invalidate-breakpoints)
21282         (gdb-breakpoints-list-handler-custom)
21283         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21284         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21285         (gdb-registers-handler-custom): Align data columns.
21286         (gdb-locals-handler-custom): Now prints data like in variable
21287         declarations.
21288         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21289         Remove confusing buttons.
21290         (gdb-invalidate-threads): Append --frame.
21291         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21292         between breakpoints/threads buffers.
21293         (gdb-set-window-buffer): Now can ignore dedicated windows.
21294         (gdb-propertize-header): Use `gdb-set-window-buffer'.
21295         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21296         (def-gdb-thread-buffer-gud-command): Replaces
21297         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21298         for fine thread control.
21299         (gdb-preempt-existing-or-display-buffer): New function used to
21300         display bound buffers without breaking window layout.
21301         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21302         (gdb-select-frame): New version of `gdb-frames-select' which now
21303         sets `gdb-frame-number' so commands may use --frame option instead
21304         of inner debugger state.
21305         (gdb-frame-handler): Do not set `gdb-frame-number'.
21306         (gdb-threads-mode-map): Select threads with mouse.
21308         * progmodes/gud.el (gdb-gud-context-call): Declare function to
21309         avoid compilation warning.
21310         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21311         `gdb-show-stop-p`.
21313         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21314         Argument `key' renamed to `buffer-type'.
21315         (gdb-current-context-buffer-name): Do not add thread info to
21316         buffer name when no thread is selected.
21317         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21318         command (bug 3794).
21319         (gdb-thread-selected): Handle `=thread-selected' notification.
21320         (gdb-wait-for-pending): New macro to deal with congestion problems.
21321         (gdb-breakpoints-list-handler-custom): Don't fail on pending
21322         breakpoints.
21323         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21324         This fixes problem similar to one described in bug 3947.
21325         (gud-menu-map): More menu items.
21326         (gdb-init-1): Reset `gdb-thread-number' to nil.
21328         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21329         non-stop settings.
21331         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21332         (gdb-current-context-command): Do not append --thread if
21333         `gdb-thread-number' is nil.
21334         (gdb-running-threads-count, gdb-stopped-threads-count):
21335         New variables.
21336         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21337         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21338         New customization options.
21339         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21340         GUD commands.
21341         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21342         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21343         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21344         set `gdb-thread-number' and update `gud-running' properly.
21345         (gdb-running): Update threads list when new threads appear.
21346         (gdb-stopped): Support non-stop operation and new thread switching
21347         logic.
21348         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21349         (gdb-json-partial-output): New set of JSON routines.
21350         (def-gdb-auto-update-trigger): New `signal-list' optional
21351         argument.
21352         (gdb-thread-list-handler-custom): Update `gud-running',
21353         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21354         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21355         (gdb-continue-thread, gdb-step-thread): New commands for fine
21356         thread execution control.
21357         (gud-menu-map): New menu items to switch non-stop options.
21358         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21359         (gdb-send): Mimic RET properly (bug 3794).
21361         * progmodes/gdb-mi.el (gdb-rules-name-maker)
21362         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21363         gdb-buffer-rules.
21364         (def-gdb-auto-update-handler): New nopreserve optional argument.
21365         (gdb-stack-list-frames-custom): Print stack from top to bottom.
21367         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21368         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21369         (gdb-parent-mode): New mode to derive other GDB modes from.
21370         (gdb-display-disassembly-for-thread)
21371         (gdb-frame-disassembly-for-thread): New commands for threads
21372         buffer.
21374         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21375         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21376         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21377         (gdb-update): We now store all GDB buffers in a list so that they
21378         can be updated by traversing a list instead of calling invalidate
21379         triggers explicitly.
21380         (def-gdb-trigger-and-handler): New macro to define trigger-handler
21381         pair for GDB buffer.
21382         (gdb-stack-buffer-name): Add thread information.
21383         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21384         handle pending triggers.
21385         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21386         (def-gdb-thread-buffer-simple-command)
21387         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21388         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21389         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21390         New commands which show buffers bound to thread.
21391         (gdb-stack-list-locals-regexp): Remove unused regexp.
21393         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21394         (gdb-locals-buffer-name, gdb-registers-buffer-name)
21395         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21396         to (gud-comint-buffer) in *-buffer-name functions
21397         because (gdb-get-target-string) already does that.
21398         (gdb-locals-handler-custom, gdb-registers-handler-custom)
21399         (gdb-changed-registers-handler): Rewritten without regexps.
21401         * progmodes/gdb-mi.el: Basic thread selection support.
21402         (gdb-thread-number): New variable.
21403         (gdb-current-context-command): New macro which adds --thread
21404         option to command.
21405         (gdb-threads-mode-map): Select thread with SPC.
21406         (gdb-thread-list-handler-custom): Mark current thread with overlay
21407         arrow.  Synchronize GDB thread and Emacs thread.
21408         (gdb-select-thread): New command which selects current thread.
21409         (gdb-invalidate-frames, gdb-invalidate-locals)
21410         (gdb-invalidate-registers): Use --thread option.
21412 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
21414         * net/tramp.el (top): Make check for tramp-gvfs loading more
21415         robust.  (Bug#3977)
21416         (tramp-handle-insert-file-contents): `unwind-protect' must be
21417         inside `with-parsed-tramp-file-name'.
21419         * net/tramp-gvfs.el (top): Remove superfluous message when loading
21420         fails.
21422 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
21424         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21425         directory if CLASSPATH is not set.
21427 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
21429         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21430         New defconst.
21431         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
21433 2009-08-02  Kevin Ryde  <user42@zip.com.au>
21435         * net/newst-backend.el (newsticker--raw-url-list-defaults):
21436         Update freshmeat link.  Delete newsforge.com as it seems gone.
21438 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21440         * select.el (x-set-selection): Doc fix (Bug#4021).
21442         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21444         * help-fns.el (describe-variable): Treat list return values from
21445         dir-locals-find-file properly (Bug#4005).
21447 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
21449         * net/tramp.el (tramp-debug-message): Print also microseconds.
21451 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
21453         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21454         or END is non-nil.
21455         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21456         (tramp-get-debug-buffer): Change `outline-regexp' according to new
21457         format.
21459         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21460         (tramp-get-file-property): Use it.
21462         * autorevert.el (auto-revert-handler):
21463         Allow `auto-revert-tail-mode' for remote files.
21465 2009-08-02  Jason Rumney  <jasonr@gnu.org>
21467         * minibuffer.el (read-file-name): Treat confirm options to
21468         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
21470 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21472         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21473         (font-lock-variable-name-face, font-lock-constant-face):
21474         Darken the colors for light backgrounds.
21476 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
21478         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21479         month names.  (Bug#3987)
21481 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
21483         * simple.el (line-move-finish): Pass whole number to
21484         line-move-to-column.
21485         (line-move-visual): Perform hscroll to the recorded position.
21487 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
21489         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21491 2009-07-29  Alan Mackenzie  <acm@muc.de>
21493         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21495 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
21497         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21498         (gdb-place-breakpoints): Use full path when setting breakpoints.
21500 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
21502         * calc/calc.el (calc-mode-map): Add keybinding for
21503         `calc-transpose-lines'.
21505 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
21507         * calc/calc-misc.el (calc-transpose-lines): New function.
21509 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
21511         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21512         Simplify check for out-of-band methods.
21513         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21514         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
21516 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
21518         * vc-git.el (vc-git-checkin): Fix typo.
21520 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
21522         * progmodes/js2-mode.el: New file.
21524 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
21526         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21527         (gud-menu-map): Adjust tooltip accordingly.
21529 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
21531         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21532         (vc-bzr-log-view-mode): Adjust log-view-file-re.
21534         * add-log.el (change-log-mode-map): Add a menu.
21536 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
21538         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21539         function returns nil.
21540         (dbus-handle-event): Handle special return value :ignore.
21541         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21543 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
21545         * view.el (view-mode-enable): Don't define Helper-return-blurb if
21546         it's not needed.
21548 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
21550         Fix Bug#3888:
21552         * w32-vars.el (x-select-enable-clipboard): Doc fix.
21554         * term/pc-win.el (x-display-name, x-colors)
21555         (x-select-enable-clipboard, x-select-text): Doc fix.
21557         * term/common-win.el (x-display-name, x-colors): Doc fix.
21559         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21560         (xw-defined-colors): Doc fix.
21562         * w32-fns.el (x-select-text, x-setup-function-keys)
21563         (x-get-selection, x-set-selection): Doc fix.
21565         * term/x-win.el (x-select-text, x-setup-function-keys)
21566         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21568         * select.el (x-set-selection): Doc fix.
21570 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
21572         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21573         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
21574         "IsNSSSupportAvailable" method is not available.
21575         Reported by Steve Youngs <steve@sxemacs.org>.
21577 2009-07-24  Kenichi Handa  <handa@m17n.org>
21579         * international/characters.el: Fix setting of category ?C, ?|, ?K,
21580         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
21581         (build-unicode-category-table): Fix range checks.
21583 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
21585         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21586         the buffer we try to sync is current when calling
21587         vc-resynch-buffer.
21589         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21590         not show up to date files.
21592 2009-07-24  Glenn Morris  <rgm@gnu.org>
21594         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21595         Add autoload cookies.  If necessary, initialize.
21596         (elint-log): Handle non-file buffers.
21597         (elint-initialize): Add optional argument to reinitialize.
21598         (elint-find-builtin-variables): Save excursion.
21600 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
21602         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21603         for Lint.
21605 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
21607         * vc.el (vc-print-log-internal): New function, split out from ...
21608         (vc-print-log): ... here.
21609         (vc-dir-move-to-goal-column): Declare.
21611         * vc-git.el (vc-git-add-signoff): New variable.
21612         (vc-git-checkin): Use it.
21613         (vc-git-toggle-signoff): New function.
21614         (vc-git-extra-menu-map): Bind it to menu.
21615         (vc-git--run-command-string): Accept a nil FILE argument.
21616         (vc-git-stash-list): New function.
21617         (vc-git-dir-extra-headers): Use it.
21619 2009-07-23  Glenn Morris  <rgm@gnu.org>
21621         * help-fns.el (describe-variable): Describe ignored and risky local
21622         variables in a similar way to that in which we describe safe ones.
21624         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21625         (byte-compile-output-file-form, byte-compile-output-docform)
21626         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21627         Give some more local variables with common names a "bytecomp-" prefix,
21628         so as not to shadow things during compilation.
21629         * emacs-lisp/cl-macs.el (load-time-value)
21630         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21631         `outbuffer' to `bytecomp-outbuffer'.
21633         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21634         since the next two variables cover them automatically now.
21635         (elint-builtin-variables, elint-autoloaded-variables): New.
21636         (elint-unknown-builtin-args): Remove all members, since they can be
21637         parsed automatically now.
21638         (elint-extra-errors): New.
21639         (elint-env-add-env, elint-env-add-macro): Use cadr.
21640         (elint-current-buffer): Use or.  Change final message.
21641         (elint-get-top-forms): Use line-end-position.
21642         (elint-init-env): Use cadr.  Handle autoload, declare-function,
21643         and defalias.
21644         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
21645         (regexp-assoc): Remove unused function.
21646         (elint-top-form): Set elint-current-pos, to record the start of the
21647         top-level form, for compilation-mode.
21648         (elint-form): Trap errors in macro expansion.  Use dolist.
21649         (elint-unbound-variable): Use elint-builtin-variables and
21650         elint-autoloaded-variables.
21651         (elint-get-args): Use cadr, or.
21652         (elint-check-cond-form): Use dolist, cadr.
21653         (elint-check-condition-case-form): Doc fix.  Use cadr.
21654         Use elint-extra-errors.
21655         (elint-log): New function.
21656         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21657         Distinguish errors and warnings.
21658         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
21659         Use a bytecomp-style format.
21660         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
21661         (elint-get-log-buffer): Use compilation mode.  Disable undo.
21662         Don't truncate lines.
21663         (elint-initialize): Set builtin and autoloaded variable lists.
21664         Only process elint-unknown-builtin-args if non-nil.
21665         (elint-find-builtin-variables, elint-find-autoloaded-variables):
21666         New functions.
21667         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
21669 2009-07-22  Kevin Ryde  <user42@zip.com.au>
21671         * net/newst-backend.el (newsticker--parse-atom-1.0)
21672         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21673         (newsticker--parse-rss-1.0):
21674         * progmodes/idlwave.el (idlwave-mode):
21675         * progmodes/idlw-shell.el (idlwave-shell-mode):
21676         * progmodes/vera-mode.el (vera-mode):
21677         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21678         * progmodes/vhdl-mode.el (vhdl-mode):
21679         * textmodes/table.el (table-generate-source)
21680         (table--warn-incompatibility):
21681         Hyperlink urls in docstrings with URL `...'.
21683 2009-07-22  Glenn Morris  <rgm@gnu.org>
21685         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21686         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21687         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21688         Remove leading * from defcustom docs.
21690         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
21692         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21693         defcustom doc.
21694         (list-load-path-shadows): Optionally, just return shadows as a string.
21696         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21698 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
21700         * mail/rmailedit.el (rmail-edit-mode):
21701         Use auto-save-include-big-deletions.
21703         * mail/rmail.el (rmail-variables):
21704         Use auto-save-include-big-deletions.
21706         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21707         changes.
21709 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
21711         * calc/calc.el (calc-undo-length): New variable.
21712         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21714 2009-07-21  Richard Stallman  <rms@gnu.org>
21716         * files.el (auto-save-mode): Handle buffer-save-size = -2
21717         for toggling mode.
21719 2009-07-21  Glenn Morris  <rgm@gnu.org>
21721         * textmodes/ispell.el (ispell-looking-back): Update declaration.
21723         * calendar/todo-mode.el (calendar-current-date): Update declaration.
21725         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21726         silence compiler.  Instead...
21727         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21728         (ps-print-ensure-fontified): Update for above function name changes.
21730         * printing.el (pr-mh-get-msg-num, pr-mh-show)
21731         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21732         silence compiler.  Instead...
21733         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21734         (mh-show-buffer): Only define for compiler.
21735         (pr-mh-current-message): Update for above function name changes.
21737         * files.el (abort-if-file-too-large): Explicitly pass `filename'
21738         as an argument.
21739         (find-file-noselect, insert-file-1): Update for above change.
21741         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21743         * mail/mailclient.el (mailclient-send-it): Fix message.
21745         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21746         (edebug-eval): Check cl-debug-env is bound.
21747         (print-level, print-circle): Don't redefine built-in variables.
21749         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21750         (custom-print-vectors): Remove old comments from doc.
21752         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21753         (emerge-version): Make the variable an obsolete alias for the
21754         emacs-version variable.  Make the function obsolete.
21755         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21756         Emerge options, rather than merging in into the main Options menu.
21757         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
21758         and auto advance modes.  Disable edit/fast items when not relevant.
21760 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
21762         * term/vt420.el (terminal-init-vt420): Fix typo.
21764 2009-07-20  Sam Steingold  <sds@gnu.org>
21766         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21767         variable (removed from compile.el on 2004-03-11).
21769 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
21771         * files.el (hack-local-variables-filter): Fix last change.
21773 2009-07-19  Juri Linkov  <juri@jurta.org>
21775         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21776         (dir-local-variables-alist): New buffer-local variable.
21777         (hack-local-variables-filter): If variable is not dir-local,
21778         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21779         because file-local overrides dir-local.
21780         (c-postprocess-file-styles) <declare-function>:
21781         Remove obsolete declaration.
21782         (hack-dir-local-variables): Add dir-local variable/value pair to
21783         `dir-local-variables-alist' and remove duplicates.  Doc fix.
21785         * help-fns.el (describe-variable): Add information about
21786         file-local and dir-local variables.
21788 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
21790         * files.el (hack-local-variables-filter): Rewrite.
21792 2009-07-19  Glenn Morris  <rgm@gnu.org>
21794         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21795         Silence compiler by only defining on XEmacs.
21797         * international/mule.el (auto-coding-regexp-alist): Only match
21798         BABYL... at the start of buffer, not of lines.  (Bug#3790)
21800         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21801         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
21802         (cal-menu-context-mouse-menu): Doc fix.
21804         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21806         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
21808 2009-07-18  Juri Linkov  <juri@jurta.org>
21810         * info.el: Virtual Info keyword finder.
21811         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21812         (Info-finder-file): New variable.
21813         (Info-finder-find-file): New function.
21814         (finder-known-keywords, finder-package-info)
21815         (find-library-name, lm-commentary): Use defvar and
21816         declare-function to silence compiler warnings.
21817         (Info-finder-find-node): New function.
21818         (info-finder): New command.
21820         * subr.el (process-kill-buffer-query-function): New function.
21821         (add-hook)<kill-buffer-query-functions>: Add hook
21822         `process-kill-buffer-query-function'.
21824 2009-07-18  Alan Mackenzie  <acm@muc.de>
21826         * progmodes/cc-mode.el (c-before-hack-hook)
21827         (c-postprocess-file-styles): Give invocation of `c-set-style'
21828         DONT-OVERRIDE parameter of t.  Already set style variables will
21829         thus not be overridden by style settings given by `c-file-syle'.
21831         * files.el (hack-local-variables-filter): Remove entries with
21832         duplicate keys from `file-local-variables-alist'.
21834 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21836         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21837         x-set-selection if display-selections-p returns nil for the
21838         current frame.
21840 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
21842         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21844 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21846         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21847         Accept nil in addition to a regexp.
21848         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21849         Accept nil in addition to a regexp.
21850         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21851         buffers that have an associated file.  Handle nil values of
21852         desktop-buffers-not-to-save and desktop-files-not-to-save.
21853         (Bug#3833)
21855         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21856         (x-disown-selection-internal): New functions.
21858 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
21860         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21861         warning.
21862         (gdb-breakpoints-header): Move forward to avoid compiler warning.
21863         (gdb-make-header-line-mouse-map): Remove duplicate definition.
21865 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
21867         * simple.el (set-mark): Revert last change.
21869 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
21871         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21872         rendering of pngs is not possible instead of messaging a long
21873         description.
21875 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
21877         * w32-fns.el (x-selection-owner-p): New function.
21879         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21880         (mouse-yank-at-click, mouse-yank-primary):
21881         If select-active-regions is non-nil, deactivate the mark before
21882         insertion.
21884         * simple.el (deactivate-mark, set-mark): Only save selection if we
21885         own it.
21887 2009-07-17  Kenichi Handa  <handa@m17n.org>
21889         * case-table.el (describe-buffer-case-table): Fix for the case
21890         that KEY is a cons.
21892 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
21894         * vc-rcs.el (vc-rcs-find-file-hook):
21895         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21897 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
21899         * net/tramp.el (tramp-wait-for-output): Handle the case when
21900         commands do not return a newline but a null byte before the shell
21901         prompt.  (Bug#3858)
21903 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21905         * term/ns-win.el (ns-set-alpha): Don't declare.
21906         (ns-set-background-alpha): Remove function.
21908 2009-07-16  Kevin Ryde  <user42@zip.com.au>
21910         * emacs-lisp/copyright.el (copyright-update): Save match-data across
21911         y-or-n-p, for safety.
21913 2009-07-16  Richard Stallman  <rms@gnu.org>
21915         * files.el (auto-save-mode): If buffer-saved-size is -2,
21916         don't clobber it.
21918         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21919         (rmail-retry-ignored-headers): Add more uninteresting fields.
21921 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
21923         * net/rcirc.el (rcirc): Use history variables.
21924         (rcirc-server-name-history, rcirc-nick-name-history)
21925         (rcirc-server-port-history): New variables.
21927 2009-07-15  Kenichi Handa  <handa@m17n.org>
21929         * international/mule-cmds.el (set-language-environment-charset):
21930         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21931         ignore them.
21933         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21934         Delete unibyte-display.
21936 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21938         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21940 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21942         * simple.el (deactivate-mark): Optional argument FORCE.
21943         (set-mark): Use deactivate-mark.
21945         * info.el (Info-search): No need to check transient-mark-mode
21946         before calling deactivate-mark.
21948         * select.el (x-set-selection): Doc fix.
21949         (x-valid-simple-selection-p): Allow buffer values.
21950         (xselect--selection-bounds): Handle buffer values.
21951         Suggested by David De La Harpe Golden.
21953         * mouse.el (mouse-set-region, mouse-drag-track):
21954         Call copy-region-as-kill before setting the mark, to let
21955         select-active-regions work.
21957 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
21959         * simple.el (deactivate-mark): If select-active-regions is
21960         non-nil, copy the selection data into a string.
21961         (activate-mark): If select-active-regions is non-nil, set the
21962         selection to the current buffer.
21963         (set-mark): Update selection if select-active-regions is non-nil.
21965         * select.el (x-valid-simple-selection-p): Allow buffer values.
21967 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21969         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21970         and more featureful message-mode.
21972 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
21974         * select.el (x-set-selection): Doc fix.
21975         (x-valid-simple-selection-p): Disallow selection data consisting
21976         of a list or cons of integers, since that is not used.
21977         (xselect--selection-bounds, xselect--int-to-cons): New functions.
21978         (xselect-convert-to-string, xselect-convert-to-length)
21979         (xselect-convert-to-filename, xselect-convert-to-charpos)
21980         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21982 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
21984         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21985         output in -break-info command (Emacs bug #3794).
21987 2009-07-14  Glenn Morris  <rgm@gnu.org>
21989         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21990         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21991         (edebug-print-length, edebug-print-level, edebug-print-circle)
21992         (edebug-sit-for-seconds, edebug-view-outside)
21993         (edebug-bounce-point, edebug-set-global-break-condition)
21994         (edebug-Go-nonstop-mode, edebug-trace-mode)
21995         (edebug-Trace-fast-mode, edebug-continue-mode)
21996         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21997         (edebug-visit-eval-list): Doc fixes.
21999         * subr.el (def-edebug-spec): Doc fix.
22001 2009-07-14  Kenichi Handa  <handa@m17n.org>
22003         * international/characters.el: Fix setting of category ?C.
22005 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
22007         * term/ns-win.el (x-select-font): defalias x-select-font to
22008         ns-popup-font-panel instead of generate-fontset-menu.
22010 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
22012         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
22014 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
22016         * arc-mode.el (archive-find-type): Allow for a PK00 string before
22017         the PK\003\004 header (Bug#3770).
22019 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
22021         * pcomplete.el (pcomplete-comint-setup): Check for
22022         shell-dynamic-complete-filename too.
22024 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
22026         * simple.el (temporary-goal-column): Change the value for
22027         line-move-visual to a cons cell.
22028         (line-move-visual): Record or set the window hscroll, if
22029         necessary (Bug#3494).
22030         (line-move-1): Handle cons value of temporary-goal-column.
22032 2009-07-11  Kenichi Handa  <handa@m17n.org>
22034         * international/mule-diag.el (describe-character-set): Don't show
22035         width.
22037 2009-07-10  Sam Steingold  <sds@gnu.org>
22039         * progmodes/compile.el (compilation-mode-font-lock-keywords):
22040         Omake sometimes indents the errors it prints, so allow all
22041         regexps to start with spaces.
22043 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
22045         * cus-edit.el (customize-changed-options-previous-release):
22046         Bump value to 22.1.  (Bug#3804)
22048 2009-07-08  Sam Steingold  <sds@gnu.org>
22050         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22051         to be a cons cell (test . ignored-directory) to selectively ignore
22052         some directories depending on the location of the search.
22054 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
22056         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22057         remote user is root, on the local host.
22058         (tramp-local-host-p): Either the local user or the remote user
22059         must be root.  (Bug#3771)
22061 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22063         * progmodes/gdb-mi.el (gdb): Remove description of
22064         gdb-use-separate-io-buffer.
22065         (menu): Don't allow toggling of or enable
22066         gdb-use-separate-io-buffer from menubar.
22068 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
22070         * mail/unrmail.el (unrmail): Make sure the message ends with two
22071         newlines (Bug#3769).
22073 2009-07-08  Glenn Morris  <rgm@gnu.org>
22075         * calendar/calendar.el (calendar-current-date): Rework previous change.
22077 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
22079         * calendar/calendar.el (calendar-current-date):
22080         Add an optional argument giving an offset from today.
22082 2009-07-08  Glenn Morris  <rgm@gnu.org>
22084         * tutorial.el (tutorial--describe-nonstandard-key):
22085         Adjust the message for when a key has been unbound.
22086         (help-with-tutorial): Hide the arch-tag.
22088 2009-07-08  Kenichi Handa  <handa@m17n.org>
22090         * international/fontset.el (setup-default-fontset): For each
22091         script, append (not set) font-specs.
22093         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22094         docstring.
22096 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22098         * progmodes/gdb-mi.el (gdb-init-1): Move sending
22099         -data-list-register-names to ...
22100         (gdb-starting): ... here because GDB 7.0 requires execution to
22101         have started when using this MI command.
22102         (gdb-set-header): New function to distinguish select and
22103         unselected tabs in gdb buffers.
22104         (gdb-propertize-header): New macro that uses gdb-set-header.
22105         (gdb-breakpoints-header, gdb-locals-header): Use it.
22106         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22108 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
22110         * Makefile.in (ELCFILES): Remove fadr.elc.
22112 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
22114         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22115         may contain frame information, so `string-match' should be used.
22116         (gdb-update): Disassembly is invalidated through
22117         `gdb-get-selected-frame'.
22118         (gdb-pad-string): New function to pad string with spaces.
22119         (gdb-invalidate-disassembly): Invalidate only if the buffer
22120         exists.
22121         (gdb-disassembly-handler-custom): Column alignment.
22122         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22123         placing new ones.
22124         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22125         end of line, too.
22126         (gdb-frame-handler): Match convention to for disassembly buffer
22127         mode name.
22128         (gdb-stack-list-frames-handler): Rewritten without regexps.
22129         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22130         not highlight breakpoints without line information.
22131         (gdb-input): Add trailing newline to command.
22133         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22134         buffer properly.
22135         (gdb-breakpoints-list-handler-custom): Replacement for
22136         `gdb-break-list-handler'.  Using real parser instead of regexps
22137         now.
22138         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22139         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22140         to place breakpoints.
22141         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22142         functions.
22143         (gdb-disassembly-handler-custom): Show overlay arrow.
22144         (gdb-disassembly-place-breakpoints): Show breakpoints in
22145         disassembly buffer.
22146         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22147         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22148         instead of parsing breakpoints buffer.  Fixed old menu references
22149         in `gud-menu-map'.
22151         * fadr.el: Remove.
22153         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22154         (gdb-memory-address): New variable which holds top address of
22155         memory page shown in memory buffer.
22156         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22157         New customization variables.
22158         New functions:
22159         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22160         display the memory buffer.
22161         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22162         buffer display parameters.
22163         (def-gdb-memory-format, gdb-memory-format-binary)
22164         (gdb-memory-format-octal, gdb-memory-format-unsigned)
22165         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22166         Functions for setting memory buffer format.
22167         (gdb-memory-unit-word, gdb-memory-unit-halfword)
22168         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22169         unit size used in memory buffer.
22170         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22171         Switch to next/previous page of memory buffer.
22172         Now using (bindat-get-field) instead of fadr functions.
22174 2009-07-07  Sam Steingold  <sds@gnu.org>
22176         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22177         non-top-level files.
22179 2009-07-07  Kenichi Handa  <handa@m17n.org>
22181         * international/mule-cmds.el (reset-language-environment):
22182         Put the highset priority to the charset iso-8859-1.
22184 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22186         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22187         to the end of the line when locating the block (Bug#700).
22189 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
22191         * net/tramp.el (tramp-handle-write-region): Flush file properties
22192         in case of short track.
22194 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
22196         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22197         Coded custom representation of verilog error regular expressions
22198         to work with Emacs-22's new format.
22199         (verilog-error-regexp-xemacs-alist): Coded custom representation
22200         of verilog error regular expressions to work with XEmacs format.
22201         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22202         error recognition into XEmacs.
22203         (verilog-error-regexp-add-emacs): Hook routine to install verilog
22204         error recognition into Emacs-22.
22206 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22208         * woman.el: Remove stand-alone closing parentheses.
22209         (woman-file-name, woman2-format-paragraphs)
22210         (woman-leave-blank-lines): Code cleanup.
22211         (woman-use-own-frame): Change default to nil.
22212         (woman-italic, woman-bold, woman-unknown, woman-addition):
22213         Change defaults to inherit from default faces.
22214         (woman2-process-escapes): Consume the newline after a stand-alone
22215         filler character (Bug#3651).
22217 2009-07-06  Glenn Morris  <rgm@gnu.org>
22219         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22220         (top-level): Move provide to the end.
22221         (ffap): Remove defunct URL from custom group.
22223         * subr.el (eval-after-load): Doc fix.
22225 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
22227         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22228         `calc-embedded-word' is called twice.
22230 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22232         * files.el (find-alternate-file-other-window, find-alternate-file):
22233         Obey confirm-nonexistent-file-or-buffer.
22235 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
22237         * dired-aux.el (dired-show-file-type): Handle remote files.
22239 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
22241         * desktop.el (desktop-globals-to-save):
22242         Add file-name-history (Bug#2750).
22244 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
22246         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22248 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
22250         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22251         property on entire argument since this is what eshell-lisp-command
22252         expects.
22254 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
22256         * net/tramp-gvfs.el (tramp-gvfs-methods)
22257         (tramp-gvfs-zeroconf-domain)
22258         (tramp-bluez-discover-devices-timeout): Add version flag.
22259         (tramp-gvfs-handler-mounted-unmounted)
22260         (tramp-gvfs-connection-mounted-p): Polish handling of
22261         incompatibilities between GVFS 0.2 and 1.0.
22263 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
22265         * cus-start.el (all): Add make-pointer-invisible.
22267 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
22269         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22270         formatted correctly.
22272 2009-07-02  Juri Linkov  <juri@jurta.org>
22274         * info.el: Virtual Info files and nodes.
22275         (Info-virtual-files, Info-virtual-nodes): New variables.
22276         (Info-current-node-virtual): New variable.
22277         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22278         New functions.
22279         (Info-file-supports-index-cookies): Use Info-virtual-file-p
22280         to check for a virtual file instead of checking a fixed list
22281         of node names.
22282         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22283         instead of ad-hoc processing of "dir" and (apropos history toc).
22284         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22285         instead of ad-hoc processing of "dir" and (apropos history toc).
22286         Reread a file when moving from a virtual node.
22287         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22288         (Info-directory-toc-nodes, Info-directory-find-file)
22289         (Info-directory-find-node): New functions.
22290         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22291         (Info-history): Move part of code to
22292         `Info-history-find-node'.
22293         (Info-history-toc-nodes, Info-history-find-file)
22294         (Info-history-find-node): New functions.
22295         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22296         (Info-toc): Move part of code to `Info-toc-find-node'.
22297         (Info-toc-find-node): New function.
22298         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
22299         the current Info file name to references because now the node
22300         "*TOC*" belongs to the same Info manual.
22301         (Info-toc-build): Rename from `Info-build-toc'.
22302         (Info-toc-nodes): Rename input argument `file' to `filename'.
22303         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22304         instead of ad-hoc processing of ("dir" apropos history toc).
22305         (Info-index-nodes): Use Info-virtual-file-p
22306         to check for a virtual file instead of checking a fixed list
22307         of node names.
22308         (Info-index-node): Add check for `Info-current-node-virtual'.
22309         Raise `save-match-data' higher up the tree to contain
22310         `search-forward' too (bug fix).
22311         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22312         (Info-virtual-index-nodes): New variable.
22313         (Info-virtual-index-find-node, Info-virtual-index): New functions.
22314         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22315         (Info-apropos-file, Info-apropos-nodes): New variables.
22316         (Info-apropos-toc-nodes, Info-apropos-find-file)
22317         (Info-apropos-find-node, Info-apropos-matches): New functions.
22318         (info-apropos): Move part of code to `Info-apropos-find-node' and
22319         `Info-apropos-matches'.
22320         (Info-mode-map): Bind "I" to `Info-virtual-index'.
22321         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22322         for a virtual file instead of checking a fixed list of node names.
22324         * simple.el (async-shell-command): New command.
22326         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22328         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22329         instead of `mount-info'.
22331 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
22333         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22334         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22336 2009-07-02  Kenichi Handa  <handa@m17n.org>
22338         * international/mule.el (set-keyboard-coding-system): Force *-unix
22339         coding-system to avoid eol conversion.
22341 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
22343         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22344         Add handler for `process-file', `shell-command' and
22345         `start-file-process'.
22346         (tramp-gvfs-handle-shell-command)
22347         (tramp-gvfs-handle-start-file-process)
22348         (tramp-gvfs-handle-process-file): New defuns.
22349         (tramp-synce-list-devices): Simplify check for existence of property.
22351 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
22353         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22355 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
22357         * language/korean.el (set-language-info-alist): Add korean-cp949,
22358         cp949 to spec.
22360 2009-07-01  Kenichi Handa  <handa@m17n.org>
22362         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22364         * international/encoded-kb.el: Deleted.
22366         * international/mule.el (set-keyboard-coding-system): Perform the
22367         necessary setup here instead of calling encoded-kbd-setup-display.
22369 2009-07-01  Glenn Morris  <rgm@gnu.org>
22371         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22373 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
22375         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
22377 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
22379         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22380         Handle also the 'rename case, when setting file modes.  (Bug#3712)
22381         (tramp-default-file-modes): Remove execute permissions.
22383         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22384         (top): Add a default for "synce" in `tramp-default-user-alist'.
22385         Add completion function for "synce" method.
22386         (tramp-hal-service, tramp-hal-path-manager)
22387         (tramp-hal-interface-manager, tramp-hal-interface-device):
22388         New defconst.
22389         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22390         (tramp-synce-list-devices, tramp-synce-parse-device-names):
22391         New defuns.
22393         * net/trampver.el: Update release number.
22395 2009-06-30  Kenichi Handa  <handa@m17n.org>
22397         * international/fontset.el (setup-default-fontset): Add CJK fonts
22398         for symbols and the other miscellaneous characters.
22400         * language/korea-util.el (setup-korean-environment-internal):
22401         Make char-width-table suitable for Korean environments.
22402         (exit-korean-environment): Cancel above.
22404         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22405         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22406         setup-function to make char-width-table suitable for respective
22407         environments, and an exit-function to cancel that.
22409         * language/japan-util.el (setup-japanese-environment-internal):
22410         Call use-cjk-char-width-table with arg `ja_JP'.
22412         * international/characters.el (cjk-char-width-table): Delete it.
22413         (cjk-char-width-table-list): New variable.
22414         (use-cjk-char-width-table): New arg local-name.
22415         (use-default-char-width-table): Fix for the case that Emacs is
22416         already using the default char-width-table.
22418 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
22420         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22421         modes mandatory.  (Bug#3712)
22423 2009-06-29  Alan Mackenzie  <acm@muc.de>
22425         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22426         correction between the visible width of TABs and their number of bytes.
22428 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
22430         * server.el (server-buffer-done): Prevent kill-buffer from
22431         prompting by clearing the buffer modification flag (Bug#3696).
22433 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
22435         * progmodes/verilog-mode.el (verilog-beg-of-statement)
22436         (verilog-endcomment-reason-re): Support unique case and priority case.
22437         (verilog-basic-complete-re): Support localparam lineup.
22438         (verilog-beg-of-statement-1): Fix for robustness, unique case.
22439         (verilog-set-auto-endcomments): Fix for unique case, always_comb
22440         commenting.
22441         (verilog-leap-to-case-head): Now support *nested* unique &
22442         priority case statements.
22443         (verilog-auto-lineup): Make just declarations the default (as it
22444         had been).
22445         (verilog-leap-to-case-head): Support priority/unique case statements.
22446         (verilog-auto-lineup): Rework to give users radio buttons to
22447         select the various styles of automatic lineup.
22448         (verilog-error-regexp-alist): Rework to support the XEmacs style
22449         of error regular expressions from compilers, lint tools &
22450         simulators.  Note that GNU Emacs has made it impossible for a mode
22451         to load such things.
22452         (electric-verilog-terminate-line, verilog-indent-declaration)
22453         (verilog-auto-wiure): Rework for radio button selection of
22454         auto-lineup selection of specification of auto lineup.
22455         (verilog-beg-of-statement-1): Redesign to support proper operation
22456         in additional code, based on testing with auto-lineup.
22457         (verilog-calculate-indent, assignments & declarations)
22458         (verilog-backward-token): Enhance to support auto-lineup of
22459         assignments & declarations.
22460         (verilog-in-directive-p, verilog-at-struct-p): New function for
22461         easy test of whether we are.
22462         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22463         to support safe execution at almost anyline.
22464         (verilog-calc-1): Properly support indenting deep inside generate
22465         blocks.
22466         (verilog-init-font): Remove definition & use of verilog-init-font,
22467         as it is redundant with font-lock-defaults.
22468         (verilog-mode): Alter the definition of verilog-font-lock-defaults
22469         to avoid circular calls if syntax-ppss is a function (as is the
22470         case now in 22.x GNU Emacs) as that function would sometimes call
22471         itself, leading to (nearly) infinite recursion.
22472         (verilog-ovm-begin-re, verilog-ovm-end-re)
22473         (verilog-ovm-statement-re, verilog-leap-to-head)
22474         (verilog-backward-token): Add support for OVM macros.  Some are
22475         complete statements, and others open and close scopes like begin
22476         and end.
22477         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22478         (verilog-defun-level-generate-only-re): Really fix the defun-list
22479         compilation issue.
22480         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22481         coverpoint, constraint and cross statements.
22482         (verilog-defun-level-list, verilog-generate-defun-level-list)
22483         (verilog-all-defun-level-list): Redo these specifications - it is
22484         too hard to support eval-when compile aggregation of lists also
22485         built at when-compile time.
22486         (verilog-defun-level-list): Place defconsts of variables used in
22487         building regular expressions which are built in eval-when-compile
22488         bodies in the same eval-when-compile body to facilitate compile
22489         without load.
22490         (verilog-beg-block-re-ordered): Support indenting
22491         virtual/protected tasks and functions.
22492         (verilog-defun-level-list, verilog-in-generate-region-p)
22493         (verilog-backward-ws&directives, verilog-calc-1): Speed up
22494         indentation of some module items (generate items).
22495         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22496         across virtual/protected tasks and functions.
22498 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
22500         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22501         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
22502         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22503         in concatenations.  Reported by Yishay Belkind.
22504         (verilog-auto-ascii-enum): Support one-hot state machines in
22505         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
22506         (verilog-auto-inst, verilog-auto-inst-port): Include interface
22507         modport in AUTOINST and add vl-modport for users.
22508         Reported by David Rogoff.
22509         (verilog-auto-inout-module, verilog-auto-inst)
22510         (verilog-decls-get-interfaces, verilog-insert-definition)
22511         (verilog-insert-one-definition, verilog-read-decls)
22512         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22513         (verilog-sig-modport, verilog-signals-combine-bus)
22514         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22515         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22516         Suggested by David Rogoff.
22517         (verilog-repair-open-comma): Fix non-insertion of comma when
22518         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
22519         (verilog-make-width-expression): Simplify [A-1:0] expression
22520         widths to just {A{1'b0}}.
22521         (verilog-mode): Cleanup checkdoc warnings.
22522         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22523         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22524         inputs/outputs or data type.  Suggested by Vasu Kandadi.
22525         (next-error-last-buffer): Fix byte-compiler warning.
22526         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22527         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22528         or shell command text during AUTO expansion.  Suggested by Tad Truex.
22529         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22530         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22531         Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22532         in AUTOINOUT.  Reported by Matthew Lovell.
22533         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22534         causing use of <= assignments.  Reported by Alex Reed.
22535         (verilog-read-decls): Fix triand, trior, wand, wor to be
22536         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
22537         (verilog-extended-complete-re): Support import "DPI-C" functions.
22538         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22539         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
22540         (verilog-insert-date, verilog-insert-year)
22541         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22542         Windows systems.  Reported by Michael Potts.
22543         (verilog-read-module-name): Fix AUTOINST when the child module
22544         declaration's name is a tick define.  Reported by Elliot Mednick.
22545         (verilog-read-decls): Fix V2K parameter bit subscripts getting
22546         passed to next parameter's definition.  Reported by Bruce T.
22547         (verilog-read-decls): Fix detecting "parameter int" when using
22548         AUTOINSTPARAM.  Reported by Bruce T.
22549         (verilog-goto-defun): Fix goto not finding modules unless first
22550         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
22551         (verilog-mode): Expand -f flag arguments on entry to mode so
22552         verilog-goto-defun will work.  Reported by Lawrence Butcher.
22553         (verilog-getopt): Expand environment variables in -f file
22554         arguments.  Suggested by Lawrence Butcher.
22555         (verilog-set-define): Fix "Symbol's value as variable is void"
22556         when reading enumerations.
22557         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22558         Suggested by Stephen Peltan.
22559         (verilog-read-defines): Fix reading of enumerations in include
22560         files.  Reported by Steve Peltan.
22562 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22564         * files.el (trash-directory): Fix defcustom type.
22566 2009-06-28  Juri Linkov  <juri@jurta.org>
22568         * help-fns.el (describe-function-1): Correctly locate adviced
22569         functions in hyperlink (Bug#2438).
22571 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
22573         * files.el (trash-directory): Change default to nil.
22574         (move-file-to-trash): If trash-directory is nil and
22575         system-move-file-to-trash is unbound, perform freedesktop-style
22576         trashing.
22578 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22580         * files.el (move-file-to-trash): Add freedesktop trash
22581         support (Bug#973).
22583 2009-06-28  Glenn Morris  <rgm@gnu.org>
22585         * autorevert.el (global-auto-revert-non-file-buffers)
22586         (global-auto-revert-mode): Doc fixes.
22588 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
22590         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22592 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
22594         * faces.el (x-handle-named-frame-geometry): Ensure that we have
22595         opened an X connection before calling x-get-resource (Bug#3194).
22597         * play/doctor.el: Remove reference to obsolete website.
22598         (make-doctor-variables): Correct grammar mistake (Bug#2633).
22600 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
22602         Remove find-file-not-found-hook VC method.  (Bug#2757)
22603         * vc-hooks.el (vc-file-not-found-hook)
22604         (vc-default-find-file-not-found-hook): Remove functions.
22605         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22606         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22607         * vc.el:
22608         * vc-hg.el:
22609         * vc-git.el: Do not mention find-file-not-found-hook VC method.
22611 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
22613         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22614         compatibility function for `looking-back'.
22616         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22617         Use `ispell-looking-back'.
22619 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
22621         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22622         rather than `filename'.
22624 2009-06-23  Miles Bader  <miles@gnu.org>
22626         * face-remap.el (text-scale-set): New function.
22628 2009-06-23  Glenn Morris  <rgm@gnu.org>
22630         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22632         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22634         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22636         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22638         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22639         Simplify Persian conditionals.
22641         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22642         variable `filename'.
22644         * comint.el (comint-insert-input): Doc fix.
22646         * Makefile.in (ELCFILES): Fix typo in previous change.
22648 2009-06-23  Miles Bader  <miles@gnu.org>
22650         * cus-start.el: Add entry for `recenter-redisplay'.
22652 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22654         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22655         Add an optional argument for the backend, use it instead of
22656         calling vc-backend.
22657         (vc-mode-line): Add an optional argument for the backend.
22658         Pass the backend to vc-state and vc-working-revision.  Move code for
22659         special handling for vc-state being a buffer to ...
22661         * vc-rcs.el (vc-rcs-find-file-hook):
22662         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
22664         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22665         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22666         vc-stay-local-p and vc-mode-line calls.
22668         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22669         (vc-cvs-diff, vc-cvs-annotate-command)
22670         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22671         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22672         vc-mode-line calls.
22674         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22675         direct comparison.
22676         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22677         backend when calling vc-mode-line.
22678         (vc-register): Do not create a closure for calling the vc register
22679         function, call it directly.  No longer obey vc-initial-comment.
22681 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22683         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22684         to make it obvious item can be clicked.
22686         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22688 2009-06-23  Kenichi Handa  <handa@m17n.org>
22690         * language/korea-util.el (korean-key-bindings): Change the binding
22691         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
22692         same command.
22694 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
22696         Sync with Tramp 2.1.16.
22698         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22700         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
22701         when a loading of a package fails.  Completion function for rsync
22702         is `tramp-completion-function-alist-ssh'.
22703         (all): Replace all calls of `split-string' and
22704         `tramp-split-string' by `tramp-compat-split-string'.
22705         (tramp-default-method): Use `tramp-compat-process-running-p'.
22706         (tramp-default-proxies-alist): Allow also Lisp forms.
22707         (tramp-remote-path): Add choice "Private Directories".
22708         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22709         (tramp-domain-regexp): Allow also "-", "_" and ".".
22710         (tramp-end-of-output): Remove newlines, and add "$" at the end.
22711         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22712         (tramp-debug-message): Insert header line in debug buffer.
22713         (tramp-handle-directory-files-and-attributes-with-stat):
22714         Care about filenames with spaces, or starting with "-".
22715         (tramp-handle-dired-uncache): New defun.
22716         (tramp-handle-insert-directory): Don't flush the directory from
22717         cache, this is handled by `dired-uncache' now.
22718         (tramp-handle-insert-file-contents): Improve error handling.
22719         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22720         Quote `tramp-end-of-output'.
22721         (tramp-action-password): Improve trace message.
22722         (tramp-check-for-regexp): Both echoes must be present, before removing.
22723         (tramp-open-connection-setup-interactive-shell): Trace coding system.
22724         (tramp-compute-multi-hops): Eval cons cells of
22725         `tramp-default-proxies-alist'.
22726         (tramp-maybe-open-connection): Use the same command pattern for
22727         first hop and further hops.
22728         (tramp-wait-for-output): Remove handling of newlines.
22729         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22730         (tramp-split-string): Remove function.  It is handled in
22731         tramp-compat now.
22733         * net/tramp-cmds.el (tramp-bug):
22734         Recommend `tramp-cleanup-all-connections' in the bug mail.
22736         * net/tramp-compat.el (tramp-compat-split-string)
22737         (tramp-compat-process-running-p): New defuns.
22739         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22740         for `dired-uncache'.
22742         * net/tramp-gvfs.el: New package.
22744         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22745         Add handler for `dired-uncache'.
22746         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22748         * net/trampver.el: Update release number.  Make version check fit
22749         for SXEmacs 22.
22751 2009-06-22  Jim Meyering  <meyering@redhat.com>
22753         Automatically handle .xz suffix (XZ-compressed files), too.
22754         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22755         XZ is the successor to LZMA: <http://tukaani.org/xz/>
22757 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
22758             Nick Roberts  <nickrob@snap.net.nz>
22760         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22761         repository (http://sphinx.net.ru/hg/gdb-mi/).
22763 2009-06-22  Glenn Morris  <rgm@gnu.org>
22765         * files.el (dir-locals-collect-mode-variables): Allow for any number of
22766         `mode' and `eval' entries.  (Bug#3430)
22768         * Makefile.in (ELCFILES): Add fadr.elc.
22770         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22771         differing behavior of \n and ^ in strings.  (Bug#3385)
22773         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22775         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22776         property.
22777         (lisp-indent-function): Make it a defcustom.
22779 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
22781         * progmodes/gdb-ui.el: Replace with ...
22782         * progmodes/gdb-mi.el: ... this file.
22783         * progmodes/gud.el: Modify for gdb-mi.el.
22785 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
22787         * fadr.el: New file.
22789 See ChangeLog.14 for earlier changes.
22791 ;; Local Variables:
22792 ;; coding: utf-8
22793 ;; End:
22795   Copyright (C) 2009-2014 Free Software Foundation, Inc.
22797   This file is part of GNU Emacs.
22799   GNU Emacs is free software: you can redistribute it and/or modify
22800   it under the terms of the GNU General Public License as published by
22801   the Free Software Foundation, either version 3 of the License, or
22802   (at your option) any later version.
22804   GNU Emacs is distributed in the hope that it will be useful,
22805   but WITHOUT ANY WARRANTY; without even the implied warranty of
22806   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22807   GNU General Public License for more details.
22809   You should have received a copy of the GNU General Public License
22810   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.